feat: expose codex thread action capabilities

This commit is contained in:
AI Bot
2026-06-03 11:14:12 +08:00
parent 0071dec860
commit b0526215c5
12 changed files with 113 additions and 6 deletions

View File

@@ -107,8 +107,17 @@ function buildSupportMatrix({ helpText, methods }) {
wsAuth: /--ws-auth/.test(helpText),
threadInjectItems: methodSet.has("thread/inject_items"),
threadRollback: methodSet.has("thread/rollback"),
threadArchive: methodSet.has("thread/archive"),
threadUnarchive: methodSet.has("thread/unarchive"),
threadFork: methodSet.has("thread/fork"),
threadCompactStart: methodSet.has("thread/compact/start"),
threadNameSet: methodSet.has("thread/name/set"),
threadMetadataUpdate: methodSet.has("thread/metadata/update"),
threadShellCommand: methodSet.has("thread/shellCommand"),
threadUnsubscribe: methodSet.has("thread/unsubscribe"),
threadGoal: methodSet.has("thread/goal/set") || methodSet.has("thread/goal/get"),
turnSteer: methodSet.has("turn/steer"),
turnInterrupt: methodSet.has("turn/interrupt"),
commandExec: methodSet.has("command/exec"),
realtimeThread: methods.some((method) => method.startsWith("thread/realtime/")),
modelList: methodSet.has("model/list"),