Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 28 additions & 28 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
},
"dependencies": {
"@agentclientprotocol/sdk": "^1.5.0",
"@openai/codex": "^0.156.1",
"@openai/codex": "^0.157.0",
"diff": "^9.0.0",
"open": "^11.0.1",
"vscode-jsonrpc": "^9.0.1",
Expand Down
3 changes: 3 additions & 0 deletions src/CodexEventHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -645,6 +645,9 @@ export class CodexEventHandler {
case "thread/attachment/updated":
// Persisted attachment metadata has no ACP session update counterpart.
return null;
case "account/gatewayOAuth/changed":
// Gateway login state is account-scoped and has no ACP session update counterpart.
return null;
// ignored events
case "thread/deleted":
case "thread/reverted":
Expand Down
2 changes: 2 additions & 0 deletions src/__tests__/CodexACPAgent/CodexAcpClient.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3532,6 +3532,7 @@ describe('ACP server test', { timeout: 40_000 }, () => {
name: "fs",
runtimeStatus: null,
pluginId: null,
httpOrigin: null,
serverInfo: null,
serverCapabilities: null,
toolsError: null,
Expand All @@ -3544,6 +3545,7 @@ describe('ACP server test', { timeout: 40_000 }, () => {
name: "browser",
runtimeStatus: null,
pluginId: null,
httpOrigin: null,
serverInfo: null,
serverCapabilities: null,
toolsError: null,
Expand Down
2 changes: 1 addition & 1 deletion src/app-server/ClientRequest.ts

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions src/app-server/InitializeCapabilities.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ import type { JsonValue } from "./serde_json/JsonValue";
* Client-declared capabilities negotiated during initialize.
*/
export type InitializeCapabilities = {
/**
* Use explicit gateway OAuth login instead of automatic browser authorization.
* Applies to this app-server's gateway runtime; later connections cannot undo it.
*/
explicitGatewayOauth?: boolean,
/**
* Opt into receiving experimental API methods and fields.
*/
Expand Down
Loading
Loading