mirror of
https://github.com/openai/codex.git
synced 2026-04-26 15:45:02 +00:00
[app-server] add new RawResponseItem v2 event (#8152)
``codex/event/raw_response_item` (v1) -> `rawResponseItem/completed`
(v1).
test client log:
````
< {
< "method": "codex/event/raw_response_item",
< "params": {
< "conversationId": "019b29f7-b089-7140-a535-3fe681562c15",
< "id": "0",
< "msg": {
< "item": {
< "arguments": "{\"command\":\"sed -n '1,160p' Cargo.toml\",\"workdir\":\"/Users/celia/code/codex/codex-rs\"}",
< "call_id": "call_DrqbdB2jPxezPWc19YVEEt3h",
< "name": "shell_command",
< "type": "function_call"
< },
< "type": "raw_response_item"
< }
< }
< }
< {
< "method": "rawResponseItem/completed",
< "params": {
< "item": {
< "arguments": "{\"command\":\"sed -n '1,160p' Cargo.toml\",\"workdir\":\"/Users/celia/code/codex/codex-rs\"}",
< "call_id": "call_DrqbdB2jPxezPWc19YVEEt3h",
< "name": "shell_command",
< "type": "function_call"
< },
< "threadId": "019b29f7-b089-7140-a535-3fe681562c15",
< "turnId": "0"
< }
< }
```
This commit is contained in:
@@ -525,6 +525,8 @@ server_notification_definitions! {
|
||||
TurnPlanUpdated => "turn/plan/updated" (v2::TurnPlanUpdatedNotification),
|
||||
ItemStarted => "item/started" (v2::ItemStartedNotification),
|
||||
ItemCompleted => "item/completed" (v2::ItemCompletedNotification),
|
||||
/// This event is internal-only. Used by Codex Cloud.
|
||||
RawResponseItemCompleted => "rawResponseItem/completed" (v2::RawResponseItemCompletedNotification),
|
||||
AgentMessageDelta => "item/agentMessage/delta" (v2::AgentMessageDeltaNotification),
|
||||
CommandExecutionOutputDelta => "item/commandExecution/outputDelta" (v2::CommandExecutionOutputDeltaNotification),
|
||||
TerminalInteraction => "item/commandExecution/terminalInteraction" (v2::TerminalInteractionNotification),
|
||||
|
||||
Reference in New Issue
Block a user