diff --git a/codex-rs/app-server/README.md b/codex-rs/app-server/README.md index 37e820c36c..5ada340492 100644 --- a/codex-rs/app-server/README.md +++ b/codex-rs/app-server/README.md @@ -115,10 +115,7 @@ Example with notification opt-out: }, "capabilities": { "experimentalApi": true, - "optOutNotificationMethods": [ - "thread/started", - "item/agentMessage/delta" - ] + "optOutNotificationMethods": ["thread/started", "item/agentMessage/delta"] } } } @@ -306,10 +303,13 @@ When `nextCursor` is `null`, you’ve reached the final page. - `thread/start`, `thread/fork`, and detached review threads do not emit a separate initial `thread/status/changed`; their `thread/started` notification already carries the current `thread.status`. ```json -{ "method": "thread/status/changed", "params": { +{ + "method": "thread/status/changed", + "params": { "threadId": "thr_123", "status": { "type": "active", "activeFlags": [] } -} } + } +} ``` ### Example: Unsubscribe from a loaded thread @@ -987,10 +987,7 @@ The built-in `request_permissions` tool sends an `item/permissions/requestApprov "reason": "Select a workspace root", "permissions": { "fileSystem": { - "write": [ - "/Users/me/project", - "/Users/me/shared" - ] + "write": ["/Users/me/project", "/Users/me/shared"] } } } @@ -1006,9 +1003,7 @@ The client responds with `result.permissions`, which should be the granted subse "scope": "session", "permissions": { "fileSystem": { - "write": [ - "/Users/me/project" - ] + "write": ["/Users/me/project"] } } }