Wire the PatchUpdated events through app_server#18289
Conversation
…onses api. This is to enable clients to show progress during file writes. This does not work with apply_patch in function call mode, since that required adding streaming json parsing.
…s-apply-patch-events
…pply-patch-streaming-app-server
…s-apply-patch-events
…pply-patch-streaming-app-server
…pply-patch-streaming-app-server
…pply-patch-streaming-app-server
…pply-patch-streaming-app-server
…s-apply-patch-events
…s-apply-patch-events
…pply-patch-streaming-app-server
…pply-patch-streaming-app-server
…onses api. This is to enable clients to show progress during file writes. This does not work with apply_patch in function call mode, since that required adding streaming json parsing.
…pply-patch-streaming-app-server # Conflicts: # codex-rs/apply-patch/src/parser.rs # codex-rs/core/src/codex.rs # codex-rs/core/tests/suite/apply_patch_cli.rs
💡 Codex Review
codex/codex-rs/core/src/codex/turn.rs Lines 1964 to 1968 in 65663cf The diff consumer is only created for ℹ️ About Codex in GitHubCodex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback". |
…eaming-app-server # Conflicts: # codex-rs/app-server-protocol/schema/typescript/ServerNotification.ts
…eaming-app-server
…eaming-app-server
| /// Emitted when an item is updated. | ||
| #[serde(rename = "item.updated")] | ||
| ItemUpdated(ItemUpdatedEvent), | ||
| /// Emitted when the model starts streaming input for an item. |
There was a problem hiding this comment.
I would revert all exec changes. We don't actively add APIs to it.
pakrym-oai
left a comment
There was a problem hiding this comment.
Let's not touch exec
…eaming-app-server # Conflicts: # codex-rs/app-server-protocol/schema/typescript/ServerNotification.ts
…eaming-app-server
|
Removed exec changes and added 500ms buffering of events. |
Wires patch_updated events through app_server. These events are parsed and streamed while apply_patch is being written by the model. The eventual goal is to use this to display better progress indicators in the codex app.