Skip to content

Commit e26fe30

Browse files
Update codex to 0.141.0 (#211)
* Update codex to 0.141.0 * Fix types and tests after Codex update --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 2e94b2b commit e26fe30

29 files changed

Lines changed: 170 additions & 65 deletions

package-lock.json

Lines changed: 28 additions & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
},
6363
"dependencies": {
6464
"@agentclientprotocol/sdk": "^0.25.1",
65-
"@openai/codex": "^0.140.0",
65+
"@openai/codex": "^0.141.0",
6666
"diff": "^8.0.3",
6767
"open": "^11.0.0",
6868
"vscode-jsonrpc": "^8.2.1"

src/CodexAcpServer.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -866,6 +866,7 @@ export class CodexAcpServer implements acp.Agent {
866866
return this.createUserMessageUpdates(item);
867867
case "hookPrompt":
868868
case "subAgentActivity":
869+
case "sleep":
869870
return [];
870871
case "agentMessage":
871872
return [{

src/CodexEventHandler.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,7 @@ export class CodexEventHandler {
354354
return createImageGenerationStartUpdate(event.item);
355355
case "collabAgentToolCall":
356356
case "subAgentActivity":
357+
case "sleep":
357358
case "userMessage":
358359
case "hookPrompt":
359360
case "agentMessage":
@@ -409,6 +410,7 @@ export class CodexEventHandler {
409410
//ignored types
410411
case "collabAgentToolCall":
411412
case "subAgentActivity":
413+
case "sleep":
412414
case "userMessage":
413415
case "hookPrompt":
414416
case "agentMessage":

src/app-server/ApiPathString.ts

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
// GENERATED CODE! DO NOT MODIFY BY HAND!
2+
3+
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
4+
5+
/**
6+
* A UTF-8 path for preserving raw path compatibility at the app-server API
7+
* boundary while Codex migrates to [`PathUri`].
8+
*
9+
* Supports storing arbitrary strings read from the API and converting to and
10+
* from [`PathUri`] using an explicitly selected native path convention.
11+
*
12+
* When converting from [`PathUri`], "native" refers to the supplied
13+
* [`PathConvention`], which may be foreign to the operating system running
14+
* this process. The inner string is private so path-producing code must convert
15+
* from [`AbsolutePathBuf`] or use [`Self::from_path_uri`] instead of bypassing
16+
* the intended conversion boundary. Non-UTF-8 paths are converted to UTF-8
17+
* lossily because this API value is serialized as a JSON string.
18+
*
19+
* Deserialization accepts any UTF-8 string without interpreting or validating
20+
* it. That unrestricted construction path is intentionally available only to
21+
* serde: Codex-internal code cannot construct this type directly from a raw
22+
* `String` and is instead encouraged to convert through [`PathUri`] or
23+
* [`AbsolutePathBuf`]. Relative path text remains valid until an operation
24+
* such as [`Self::to_path_uri`] requires an absolute path.
25+
*/
26+
export type ApiPathString = string;

0 commit comments

Comments
 (0)