feat(agent): add local Codex Skill management and invocation

This commit is contained in:
yu
2026-08-05 02:45:21 +08:00
parent 335467ec0d
commit 6cea52302b
13 changed files with 1108 additions and 39 deletions
+1 -1
View File
@@ -202,7 +202,7 @@ test("new clients receive the current Codex state and later updates", (t) => {
t.after(() => client.close());
const hello = client.event("hello");
assert.equal(field(hello, "protocolVersion"), 3);
assert.equal(field(hello, "protocolVersion"), 4);
assert.deepEqual(field(hello, "workspace"), { activeThreadId: "thread-2" });
assert.deepEqual(field(hello, "codex"), { busy: true, threadId: "thread-2", turnId: "turn-1" });
assert.deepEqual(field(hello, "pendingApprovals"), [{ requestId: "approval-1", threadId: "thread-2" }]);