[Bug]: Unable to locate Codex CLI binaries. Ensure @openai/codex is installed with optional dependencies.
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
Research direction
Reproduce the GPT-agent flow on Windows 11 and start from the server's agent startup error and the logged cp/rm failures. Trace how the Codex CLI binaries are located and how checkpoint commands run; done means the agent starts without binary-location or shell-command errors and the Polyscope menu option is addressed.
Written by the indexing model from the issue text.
Description
Platform
Windows
Operating system version
Windows 11
System architecture
Intel (x86)
PolyScope Version
latest
Bug description
Codex on windows is unable to find binaries, and there is no option to set the path to use.
There is also no Polyscope option in the menubar.
Steps to reproduce
- Set agent to GPT
- Type anything
Relevant log output
[server:err] 'cp' is not recognized as an internal or external command,
[server:err] operable program or batch file.
[server:err] 'rm' is not recognized as an internal or external command,
[server:err] operable program or batch file.
[server:err] [checkpoint] failed to save: 143 | `;H.enqueue(L.encode(D))}async handleGetRequest(H){if(!H.headers.get("accept")?.includes("text/event-stream"))return this.createJsonErrorResponse(406,-32000,"Not Acceptable: Client must accept text/event-stream");let A=this.validateSession(H);if(A)return A;let $=this.validateProtocolVersion(H);if($)return $;if(this._eventStore){let U=H.headers.get("last-event-id");if(U)return this.replayEvents(U)}if(this._streamMapping.get(this._standaloneSseStreamId)!==void 0)return this.createJsonErrorResponse(409,-32000,"Conflict: Only one SSE stream is allowed per session");let I=new TextEncoder,D,M=new ReadableStream({start:(U)=>{D=U},cancel:()=>{this._streamMapping.delete(this._standaloneSseStreamId)}}),E={"Content-Type":"text/event-stream","Cache-Control":"no-cache, no-transform",Connection:"keep-alive"};if(this.sessionId!==void 0)E["mcp-session-id"]=this.sessionId;return this._streamMapping.set(this._standaloneSseStreamId,{controller:D,encoder:I,cleanup:()=>{this._streamMapping.delete(this._standaloneSseStreamId);try{
[server:err] 'cp' is not recognized as an internal or external command,
[server:err] operable program or batch file.
[server:err] signal: null,
[server:err] status: 1,
[server:err] output: [ null, "", "'cp' is not recognized as an internal or external command,\r\noperable program or batch file.\r\n" ],
[server:err] pid: 44632,
[server:err] stdout: "",
[server:err] stderr: "'cp' is not recognized as an internal or external command,\r\noperable program or batch file.\r\n",
[server:err] at genericNodeError (node:child_process:1010:22)
[server:err] at checkExecSyncError (node:child_process:470:27)
[server:err] at execSync (node:child_process:278:31)
[server:err] at N5H (B:/~BUN/root/polyscope-server-x86_64-pc-windows-msvc.exe:148:1606)
[server:err] at B:/~BUN/root/polyscope-server-x86_64-pc-windows-msvc.exe:220:5564
[server:err] at processTicksAndRejections (native:7:39)
[server] [agent] start error: Unable to locate Codex CLI binaries. Ensure @openai/codex is installed with optional dependencies.
- Dominant language
- No language data
- Stars
- 20
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from beyondcode/polyscope-community
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
beyondcode/polyscope-community#198 · 1 comment · 1 reaction ·
-
Difficulty 4/5 3-5 days Newbie friendliness 52/100
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 35/100
beyondcode/polyscope-community#189 · 1 comment · 2 reactions ·
All issues in beyondcode/polyscope-community
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
manaflow-ai/cmux#13763 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
ScoopInstaller/Nonportable#639 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
hykilpikonna/hyfetch#545 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100