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 @@ -62,7 +62,7 @@
},
"dependencies": {
"@agentclientprotocol/sdk": "^0.22.1",
"@openai/codex": "^0.137.0",
"@openai/codex": "^0.139.0",
"diff": "^8.0.3",
"open": "^11.0.0",
"vscode-jsonrpc": "^8.2.1"
Expand Down
1 change: 1 addition & 0 deletions src/CodexEventHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ export class CodexEventHandler {
case "hook/started":
case "hook/completed":
case "turn/diff/updated":
case "turn/moderationMetadata":
case "item/commandExecution/terminalInteraction":
case "item/fileChange/outputDelta":
case "item/fileChange/patchUpdated":
Expand Down
10 changes: 5 additions & 5 deletions src/__tests__/CodexACPAgent/CodexAcpClient.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -340,19 +340,19 @@ describe('ACP server test', { timeout: 40_000 }, () => {

mockFixture.sendServerNotification({
method: "mcpServer/startupStatus/updated",
params: { name: "alpha", status: "starting", error: null }
params: { threadId: "thread-id", name: "alpha", status: "starting", error: null }
});
mockFixture.sendServerNotification({
method: "mcpServer/startupStatus/updated",
params: { name: "beta", status: "starting", error: null }
params: { threadId: "thread-id", name: "beta", status: "starting", error: null }
});
mockFixture.sendServerNotification({
method: "mcpServer/startupStatus/updated",
params: { name: "alpha", status: "ready", error: null }
params: { threadId: "thread-id", name: "alpha", status: "ready", error: null }
});
mockFixture.sendServerNotification({
method: "mcpServer/startupStatus/updated",
params: { name: "beta", status: "ready", error: null }
params: { threadId: "thread-id", name: "beta", status: "ready", error: null }
});

const startup = await startupPromise;
Expand Down Expand Up @@ -403,7 +403,7 @@ describe('ACP server test', { timeout: 40_000 }, () => {

mockFixture.sendServerNotification({
method: "mcpServer/startupStatus/updated",
params: { name: "broken-mcp", status: "failed", error: "boom" }
params: { threadId: "thread-id", name: "broken-mcp", status: "failed", error: "boom" }
});

await vi.waitFor(() => {
Expand Down
2 changes: 1 addition & 1 deletion src/__tests__/CodexACPAgent/load-session.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ describe("CodexACPAgent - loadSession", () => {

fixture.sendServerNotification({
method: "mcpServer/startupStatus/updated",
params: { name: "broken-mcp", status: "failed", error: "boom" }
params: { threadId: "session-1", name: "broken-mcp", status: "failed", error: "boom" }
});

await loadPromise;
Expand Down
5 changes: 5 additions & 0 deletions src/app-server/AgentMessageInputContent.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// GENERATED CODE! DO NOT MODIFY BY HAND!

// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.

export type AgentMessageInputContent = { "type": "encrypted_content", encrypted_content: string, };
2 changes: 1 addition & 1 deletion src/app-server/AuthMode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
/**
* Authentication mode for OpenAI-backed providers.
*/
export type AuthMode = "apikey" | "chatgpt" | "chatgptAuthTokens" | "agentIdentity";
export type AuthMode = "apikey" | "chatgpt" | "chatgptAuthTokens" | "agentIdentity" | "personalAccessToken";
Loading
Loading