feat: expose codex thread action capabilities
This commit is contained in:
@@ -114,6 +114,15 @@ test("codex app-server discovery includes governance and MCP summaries without l
|
||||
latestTurnStatus: "running",
|
||||
latestTurnUpdatedAt: "2026-06-03T08:21:00.000Z",
|
||||
});
|
||||
assert.deepEqual(metadata.threadActionSummary, {
|
||||
actionCount: 11,
|
||||
lifecycleActionCount: 5,
|
||||
metadataActionCount: 2,
|
||||
liveTurnActionCount: 2,
|
||||
shellActionAvailable: true,
|
||||
userInitiatedOnly: true,
|
||||
labels: ["归档", "恢复", "分叉", "压缩", "回滚", "改名", "元数据", "活跃干预", "中断", "Shell", "取消订阅"],
|
||||
});
|
||||
|
||||
const serialized = JSON.stringify(metadata);
|
||||
assert.equal(serialized.includes("sk-secret-should-not-leak"), false);
|
||||
|
||||
Reference in New Issue
Block a user