Skip to content
Open
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
86 changes: 28 additions & 58 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 @@ -65,7 +65,7 @@
},
"dependencies": {
"@agentclientprotocol/sdk": "^1.4.0",
"@openai/codex": "^0.148.0",
"@openai/codex": "^0.149.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 @@ -510,6 +510,8 @@ export class CodexEventHandler {
case "thread/deleted":
case "thread/reverted":
case "thread/queue/changed":
case "project/changed":
case "thread/project/updated":
case "thread/environment/connected":
case "thread/environment/disconnected":
case "command/exec/outputDelta":
Expand All @@ -519,6 +521,7 @@ export class CodexEventHandler {
case "turn/moderationMetadata":
case "item/fileChange/outputDelta":
case "item/fileChange/patchUpdated":
case "autoApprovalReview/strictReviewRequired":
case "account/updated":
case "fs/changed":
case "mcpServer/startupStatus/updated":
Expand Down
1 change: 1 addition & 0 deletions src/__tests__/AgentFileChangeReport.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ function completedReport(value: unknown): Turn {
text: JSON.stringify(value),
phase: "final_answer",
memoryCitation: null,
delivery: null,
}],
itemsView: "full",
status: "completed",
Expand Down
2 changes: 2 additions & 0 deletions src/__tests__/CodexACPAgent/agent-file-change-report.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ describe("agent file-change report lifecycle", () => {
}),
phase: "final_answer",
memoryCitation: null,
delivery: null,
}], "full"),
]));
const unsubscribe = vi.spyOn(appServer, "threadUnsubscribe")
Expand Down Expand Up @@ -513,6 +514,7 @@ describe("agent file-change report lifecycle", () => {
text: "not JSON",
phase: "final_answer",
memoryCitation: null,
delivery: null,
}], "full"),
]));
vi.spyOn(appServer, "threadUnsubscribe").mockResolvedValue({status: "unsubscribed"});
Expand Down
2 changes: 2 additions & 0 deletions src/__tests__/CodexACPAgent/agent-message-events.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ describe("CodexEventHandler - agent message events", () => {
text: "",
phase: "commentary",
memoryCitation: null,
delivery: null,
},
},
},
Expand All @@ -62,6 +63,7 @@ describe("CodexEventHandler - agent message events", () => {
text: "",
phase: "final_answer",
memoryCitation: null,
delivery: null,
},
},
},
Expand Down
5 changes: 5 additions & 0 deletions src/__tests__/CodexACPAgent/list-sessions.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ describe("CodexACPAgent - list sessions", () => {
cliVersion: "0.0.0",
section: null,
sectionEnteredAt: null,
projectId: null,
source: "cli",
agentNickname: null,
agentRole: null,
Expand All @@ -55,6 +56,7 @@ describe("CodexACPAgent - list sessions", () => {
cliVersion: "0.0.0",
section: null,
sectionEnteredAt: null,
projectId: null,
source: "cli",
agentNickname: null,
agentRole: null,
Expand Down Expand Up @@ -119,6 +121,7 @@ describe("CodexACPAgent - list sessions", () => {
cliVersion: "0.0.0",
section: null,
sectionEnteredAt: null,
projectId: null,
source: "cli",
agentNickname: null,
agentRole: null,
Expand Down Expand Up @@ -185,6 +188,7 @@ describe("CodexACPAgent - list sessions", () => {
cliVersion: "0.0.0",
section: null,
sectionEnteredAt: null,
projectId: null,
source: "cli",
agentNickname: null,
agentRole: null,
Expand Down Expand Up @@ -264,6 +268,7 @@ describe("CodexACPAgent - list sessions", () => {
cliVersion: "0.0.0",
section: null,
sectionEnteredAt: null,
projectId: null,
source: "cli",
agentNickname: null,
agentRole: null,
Expand Down
6 changes: 6 additions & 0 deletions src/__tests__/CodexACPAgent/load-session.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ describe("CodexACPAgent - loadSession", () => {
cliVersion: "0.0.0",
section: null,
sectionEnteredAt: null,
projectId: null,
source: "cli",
agentNickname: null,
agentRole: null,
Expand Down Expand Up @@ -96,6 +97,7 @@ describe("CodexACPAgent - loadSession", () => {
text: "Hello!",
phase: null,
memoryCitation: null,
delivery: null,
},
{
type: "reasoning",
Expand Down Expand Up @@ -292,6 +294,7 @@ describe("CodexACPAgent - loadSession", () => {
cliVersion: "0.0.0",
section: null,
sectionEnteredAt: null,
projectId: null,
source: "cli",
agentNickname: null,
agentRole: null,
Expand Down Expand Up @@ -505,6 +508,7 @@ describe("CodexACPAgent - loadSession", () => {
cliVersion: "0.139.0",
section: null,
sectionEnteredAt: null,
projectId: null,
source: "vscode",
agentNickname: null,
agentRole: null,
Expand Down Expand Up @@ -543,6 +547,7 @@ describe("CodexACPAgent - loadSession", () => {
text: "The directory contains README.md and src.",
phase: null,
memoryCitation: null,
delivery: null,
},
],
},
Expand Down Expand Up @@ -640,6 +645,7 @@ describe("CodexACPAgent - loadSession", () => {
cliVersion: "0.0.0",
section: null,
sectionEnteredAt: null,
projectId: null,
source: "cli",
agentNickname: null,
agentRole: null,
Expand Down
2 changes: 1 addition & 1 deletion src/app-server/PlanType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

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

export type PlanType = "free" | "go" | "plus" | "pro" | "prolite" | "team" | "self_serve_business_prolite" | "self_serve_business_usage_based" | "business" | "ent26" | "enterprise_cbp_automation" | "enterprise_cbp_usage_based" | "enterprise" | "edu" | "unknown";
export type PlanType = "free" | "go" | "plus" | "pro" | "prolite" | "team" | "self_serve_business_prolite" | "self_serve_business_usage_based" | "business" | "ent26" | "enterprise_cbp_automation" | "enterprise_cbp_usage_based" | "enterprise" | "edu" | "edu_plus" | "edu_pro" | "unknown";
Loading
Loading