clikcode 1.0.1 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +147 -10
- package/dist/ai-router-runtime.cjs +166 -117
- package/dist/cli.js +93965 -57886
- package/dist/computer-tools.js +24206 -0
- package/dist/harness-catalog.cjs +78 -95
- package/dist/index.js +1 -1
- package/dist/libclikcode-compat-x64.dylib +0 -0
- package/package.json +7 -1
package/dist/harness-catalog.cjs
CHANGED
|
@@ -51,6 +51,7 @@ __export(catalog_exports, {
|
|
|
51
51
|
modelProvider: () => modelProvider,
|
|
52
52
|
modelSelectorArgv: () => modelSelectorArgv,
|
|
53
53
|
nativeHarnessTurnArgv: () => nativeHarnessTurnArgv,
|
|
54
|
+
permissionModeRefusedHere: () => permissionModeRefusedHere,
|
|
54
55
|
promptExceedsArgvLimit: () => promptExceedsArgvLimit,
|
|
55
56
|
registerCustomHarnesses: () => registerCustomHarnesses,
|
|
56
57
|
splitHarnessModel: () => splitHarnessModel,
|
|
@@ -267,7 +268,7 @@ var HARNESS_INSTALLERS = {
|
|
|
267
268
|
}
|
|
268
269
|
};
|
|
269
270
|
var CATALOG_HARNESSES = [
|
|
270
|
-
{ command: "claude", modelStrategy: "claude-table", quotaProbe: true, nativeStateDir: ".claude", modelCatalogFiles: ["settings.json"], capabilities: { childActivity: true, thinking: true, plan: true, usage: true, toolOutput: true, backgroundAgents: true, backgroundTerminals: true, workflows: true }, provider: "anthropic", displayName: "Claude Code", titleSource: "vendor", defaultModel: "opus", tier: "primary", transport: "acp", acp: { binary: "claude-agent-acp", npmPackage: "@agentclientprotocol/claude-agent-acp@0.84.0", argv: [], inheritCliOptions: false, listsModels: false, effortConfigId: "effort", planModeId: "plan", sharedSessions: true }, integration: "structured", parser: "claude-stream-json", memoryFile: "CLAUDE.md", nativeSlashPassthrough: true, customCommandDirs: [".claude/commands", "~/.claude/commands"], effortValues: ["low", "medium", "high", "xhigh", "max"], localAuth: ["api-key", "oauth", "vendor-cli"], binary: "claude", authFiles: [{ path: "${CLAUDE_CONFIG_DIR:-~/.claude}/.credentials.json" }], authEnv: ["ANTHROPIC_API_KEY"], npmPackage: "@anthropic-ai/claude-code", loginArgv: ["auth", "login"], statusArgv: ["auth", "status"], logoutArgv: ["auth", "logout"], modelArgvPrefix: ["--model"], effortArgvPrefix: ["--effort"], permissionModes: ["ask", "bypass", "auto"], permissions: { ask: { argv: ["--permission-mode", "manual", "--permission-prompts", "none"], acpModeId: "default" }, bypass: { argv: ["--permission-mode", "bypassPermissions", "--permission-prompts", "none", "--allow-dangerously-skip-permissions"], acpModeId: "bypassPermissions" }, auto: { argv: ["--permission-mode", "auto", "--permission-prompts", "none"], acpModeId: "auto" } }, turnEnv: { CLAUDE_CODE_ENABLE_TODO_TOOLS: "1" }, profileEnv: "CLAUDE_CONFIG_DIR", turn: { startArgv: ["-p", "--verbose", "--input-format", "stream-json", "--output-format", "stream-json", "--include-partial-messages"], createIdPrefix: ["--session-id"], resumeIdPrefix: ["--resume"], promptInput: "stdin", stdinFormat: "stream-json", stdinArgv: [], output: "json-lines", responseFields: ["result"] }, session: { idKind: "uuid", createIdPrefix: ["--session-id"], resumeIdPrefix: ["--resume"] } },
|
|
271
|
+
{ command: "claude", modelStrategy: "claude-table", quotaProbe: true, nativeStateDir: ".claude", modelCatalogFiles: ["settings.json"], subagents: { read: "transcript", steer: "relay" }, capabilities: { childActivity: true, thinking: true, plan: true, usage: true, toolOutput: true, backgroundAgents: true, backgroundTerminals: true, workflows: true }, provider: "anthropic", displayName: "Claude Code", titleSource: "vendor", defaultModel: "opus", tier: "primary", transport: "acp", acp: { binary: "claude-agent-acp", npmPackage: "@agentclientprotocol/claude-agent-acp@0.84.0", argv: [], inheritCliOptions: false, listsModels: false, effortConfigId: "effort", planModeId: "plan", sharedSessions: true }, integration: "structured", parser: "claude-stream-json", memoryFile: "CLAUDE.md", nativeSlashPassthrough: true, customCommandDirs: [".claude/commands", "~/.claude/commands"], effortValues: ["low", "medium", "high", "xhigh", "max"], localAuth: ["api-key", "oauth", "vendor-cli"], binary: "claude", authFiles: [{ path: "${CLAUDE_CONFIG_DIR:-~/.claude}/.credentials.json" }], authEnv: ["ANTHROPIC_API_KEY"], npmPackage: "@anthropic-ai/claude-code", loginArgv: ["auth", "login"], loginSteps: [{ when: "Login successful. Press Enter to continue", send: "{enter}" }], statusArgv: ["auth", "status"], logoutArgv: ["auth", "logout"], modelArgvPrefix: ["--model"], effortArgvPrefix: ["--effort"], bypassRefusedAsRoot: true, permissionModes: ["ask", "bypass", "auto"], permissions: { ask: { argv: ["--permission-mode", "manual", "--permission-prompts", "none"], acpModeId: "default" }, bypass: { argv: ["--permission-mode", "bypassPermissions", "--permission-prompts", "none", "--allow-dangerously-skip-permissions"], acpModeId: "bypassPermissions" }, auto: { argv: ["--permission-mode", "auto", "--permission-prompts", "none"], acpModeId: "auto" } }, turnEnv: { CLAUDE_CODE_ENABLE_TODO_TOOLS: "1" }, profileEnv: "CLAUDE_CONFIG_DIR", turn: { startArgv: ["-p", "--verbose", "--input-format", "stream-json", "--output-format", "stream-json", "--include-partial-messages"], createIdPrefix: ["--session-id"], resumeIdPrefix: ["--resume"], promptInput: "stdin", stdinFormat: "stream-json", stdinArgv: [], output: "json-lines", responseFields: ["result"] }, session: { idKind: "uuid", createIdPrefix: ["--session-id"], resumeIdPrefix: ["--resume"] } },
|
|
271
272
|
// Grok Build speaks Claude Code's stream-json shape exactly -- verified live
|
|
272
273
|
// against `grok -p --output-format streaming-messages-json`, whose first
|
|
273
274
|
// line is {"type":"system","subtype":"init","session_id":…} and whose last
|
|
@@ -277,7 +278,7 @@ var CATALOG_HARNESSES = [
|
|
|
277
278
|
// It publishes no quota window (errors are balance-based: HTTP 402).
|
|
278
279
|
// grok 1.0.50 --reasoning-effort accepts none|minimal|low|medium|high|xhigh|max (its own parse error); the session's
|
|
279
280
|
// reasoning_effort configOption narrows this static fallback per model.
|
|
280
|
-
{ command: "grok", claudeImports: { file: ".grok/config.toml", section: "compat.claude" }, quitsOnDeadMcpServer: true, quotaProbe: true, capabilities: { childActivity: false, thinking: true, plan: false, usage: true, toolOutput: true, backgroundAgents: false, backgroundTerminals: false, workflows: false }, freePlan: { listed: true }, provider: "xai", displayName: "Grok Build", tier: "primary", transport: "acp", acp: { argv: ["agent", "stdio"], inheritCliOptions: false, effortConfigId: "reasoning_effort", sharedSessions: true, promptImages: false }, integration: "structured", parser: "claude-stream-json", memoryFile: "AGENTS.md", nativeSlashPassthrough: false, effortValues: ["minimal", "low", "medium", "high", "xhigh", "max"], localAuth: ["api-key", "oauth", "vendor-cli"], binary: "grok", npmPackage: "@xai-official/grok", authFiles: [{ path: "~/.grok/auth.json" }], authEnv: ["XAI_API_KEY"], loginArgv: ["login"], logoutArgv: ["logout"], modelArgvPrefix: ["--model"], modelDiscoveryArgv: ["models"], workspaceArgvPrefix: ["--cwd"], effortArgvPrefix: ["--reasoning-effort"], permissionModes: ["ask", "bypass", "auto"], permissionArgv: { ask: { argv: ["--permission-mode", "default"] }, bypass: { argv: ["--permission-mode", "bypassPermissions"] }, auto: { argv: ["--permission-mode", "auto"] } }, turn: { startArgv: ["--output-format", "streaming-messages-json", "--include-partial-messages"], createIdPrefix: ["--session-id"], resumeIdPrefix: ["--resume"], promptArgvPrefix: ["-p"], output: "json-lines", responseFields: ["result"] }, session: { idKind: "uuid", createIdPrefix: ["--session-id"], resumeIdPrefix: ["--resume"] } },
|
|
281
|
+
{ command: "grok", claudeImports: { file: ".grok/config.toml", section: "compat.claude" }, quitsOnDeadMcpServer: true, quotaProbe: true, subagents: { read: "none", steer: "none" }, capabilities: { childActivity: false, thinking: true, plan: false, usage: true, toolOutput: true, backgroundAgents: false, backgroundTerminals: false, workflows: false }, freePlan: { listed: true }, provider: "xai", displayName: "Grok Build", tier: "primary", transport: "acp", acp: { argv: ["agent", "stdio"], inheritCliOptions: false, effortConfigId: "reasoning_effort", sharedSessions: true, promptImages: false }, integration: "structured", parser: "claude-stream-json", memoryFile: "AGENTS.md", nativeSlashPassthrough: false, effortValues: ["minimal", "low", "medium", "high", "xhigh", "max"], localAuth: ["api-key", "oauth", "vendor-cli"], binary: "grok", npmPackage: "@xai-official/grok", authFiles: [{ path: "~/.grok/auth.json" }], authEnv: ["XAI_API_KEY"], loginArgv: ["login"], logoutArgv: ["logout"], modelArgvPrefix: ["--model"], modelDiscoveryArgv: ["models"], workspaceArgvPrefix: ["--cwd"], effortArgvPrefix: ["--reasoning-effort"], permissionModes: ["ask", "bypass", "auto"], permissionArgv: { ask: { argv: ["--permission-mode", "default"] }, bypass: { argv: ["--permission-mode", "bypassPermissions"] }, auto: { argv: ["--permission-mode", "auto"] } }, turn: { startArgv: ["--output-format", "streaming-messages-json", "--include-partial-messages"], createIdPrefix: ["--session-id"], resumeIdPrefix: ["--resume"], promptArgvPrefix: ["-p"], output: "json-lines", responseFields: ["result"] }, session: { idKind: "uuid", createIdPrefix: ["--session-id"], resumeIdPrefix: ["--resume"] } },
|
|
281
282
|
// Restored and re-checked against gemini 0.60.0 on a real install, not the
|
|
282
283
|
// entry this replaces. What changed: --acp is the flag now (the old
|
|
283
284
|
// --experimental-acp is deprecated), -r/--resume takes "latest" or an index
|
|
@@ -302,9 +303,9 @@ var CATALOG_HARNESSES = [
|
|
|
302
303
|
// project" AND is reset to its first message on disk -- which is why
|
|
303
304
|
// those stay on the CLI (session nativeTransport) and the thread writer pins
|
|
304
305
|
// its threads there.
|
|
305
|
-
{ command: "gemini", quotaProbe: { none: "quota shows only in the interactive /stats screen; `gemini --help` has no non-interactive usage command" }, capabilities: { childActivity: false, thinking: true, plan: false, usage: true, toolOutput: true, backgroundAgents: false, backgroundTerminals: false, workflows: false }, loginAccountChoose: ["Sign in with Google", "Yes"], provider: "google", displayName: "Gemini CLI", tier: "primary", transport: "acp", integration: "structured", parser: "claude-stream-json", memoryFile: "GEMINI.md", nativeSlashPassthrough: false, customCommandDirs: [".gemini/commands", "~/.gemini/commands"], acp: { argv: ["--acp"], listsModels: true }, normalizedPermissionOptionIds: ["approval-mode"], localAuth: ["api-key", "oauth", "vendor-cli"], binary: "gemini", npmPackage: "@google/gemini-cli", authFiles: [{ path: "${GEMINI_CLI_HOME:-~}/.gemini/oauth_creds.json" }], authEnv: ["GEMINI_API_KEY"], loginArgv: ["--skip-trust"], loginSteps: [{ when: "Type your message", send: "/quit{enter}" }], loginKeyRoutes: providerKeyRoutes([], { google: "Use Gemini API Key" }), modelArgvPrefix: ["--model"], workspaceArgvPrefix: ["--include-directories"], permissionModes: ["ask", "bypass", "auto"], permissionArgv: { ask: { argv: ["--approval-mode", "default"] }, bypass: { argv: ["--approval-mode", "yolo"] }, auto: { argv: ["--approval-mode", "auto_edit"] } }, profileEnv: "GEMINI_CLI_HOME", turn: { startArgv: ["--skip-trust", "--output-format", "stream-json"], createIdPrefix: ["--session-id"], resumeIdPrefix: ["--resume"], promptArgvPrefix: ["--prompt"], output: "json-lines", responseFields: ["response", "result", "text", "content"] }, session: { idKind: "uuid", createIdPrefix: ["--session-id"], resumeIdPrefix: ["--resume"] } },
|
|
306
|
-
{ command: "codex", modelStrategy: "codex-cache", quotaProbe: true, nativeStateDir: ".codex", modelCatalogFiles: ["config.toml", "models_cache.json"], capabilities: { childActivity: true, thinking: true, plan: true, usage: true, toolOutput: true, backgroundAgents: false, backgroundTerminals: true, workflows: false }, freePlan: { listed: true }, loginKeyStdinArgv: ["login", "--with-api-key"], provider: "openai", displayName: "Codex", tier: "primary", transport: "codex-app-server", integration: "native", parser: "codex-items", memoryFile: "AGENTS.md", nativeSlashPassthrough: false, nativeOperations: ["compact", "turn-policy", "model-list", "thread-list"], customCommandDirs: ["~/.codex/prompts"], effortValues: ["low", "medium", "high", "xhigh", "max", "ultra"], localAuth: ["api-key", "oauth", "vendor-cli"], binary: "codex", authFiles: [{ path: "${CODEX_HOME:-~/.codex}/auth.json" }], authEnv: ["OPENAI_API_KEY"], npmPackage: "@openai/codex", loginRemoteArgv: ["login", "--device-auth"], loginArgv: ["login"], statusArgv: ["login", "status"], logoutArgv: ["logout"], modelArgvPrefix: ["--model"], workspaceArgvPrefix: ["--cd"], effortArgvPrefix: ["--config"], effortConfigKey: "model_reasoning_effort", permissionModes: ["ask", "bypass", "auto"], permissionArgv: { ask: { argv: ["--sandbox", "workspace-write", "--ask-for-approval", "on-request"], placement: "root" }, bypass: { argv: ["--sandbox", "danger-full-access", "--ask-for-approval", "never"], placement: "root" }, auto: { argv: ["--approve-for-me"], placement: "root" } }, imageArgvPrefix: ["--image"], profileEnv: "CODEX_HOME", turn: { startArgv: ["exec", "--json", "--skip-git-repo-check"], resumeArgv: ["exec", "resume"], resumeIdSuffix: ["--json", "--skip-git-repo-check"], promptInput: "stdin", output: "json-lines", responseFields: ["text"], resumeSupportsWorkspaceSelector: false }, session: { resumeIdPrefix: ["resume"] } },
|
|
307
|
-
{ ...OPENCODE_FAMILY, command: "opencode", quotaProbe: { none: "`opencode stats` is local token/cost history, not an allowance; no account quota read" }, capabilities: { childActivity: false, thinking: true, plan: false, usage: true, toolOutput: true, backgroundAgents: false, backgroundTerminals: false, workflows: false }, provider: "opencode", displayName: "OpenCode", tier: "primary", binary: "opencode", npmPackage: "opencode-ai", signInOptional: true },
|
|
306
|
+
{ command: "gemini", quotaProbe: { none: "quota shows only in the interactive /stats screen; `gemini --help` has no non-interactive usage command" }, subagents: { read: "none", steer: "none" }, capabilities: { childActivity: false, thinking: true, plan: false, usage: true, toolOutput: true, backgroundAgents: false, backgroundTerminals: false, workflows: false }, loginAccountChoose: ["Sign in with Google", "Yes"], provider: "google", displayName: "Gemini CLI", tier: "primary", transport: "acp", integration: "structured", parser: "claude-stream-json", memoryFile: "GEMINI.md", nativeSlashPassthrough: false, customCommandDirs: [".gemini/commands", "~/.gemini/commands"], acp: { argv: ["--acp"], listsModels: true }, normalizedPermissionOptionIds: ["approval-mode"], localAuth: ["api-key", "oauth", "vendor-cli"], binary: "gemini", npmPackage: "@google/gemini-cli", authFiles: [{ path: "${GEMINI_CLI_HOME:-~}/.gemini/oauth_creds.json" }], authEnv: ["GEMINI_API_KEY"], loginArgv: ["--skip-trust"], loginSteps: [{ when: "Type your message", send: "/quit{enter}" }], loginKeyRoutes: providerKeyRoutes([], { google: "Use Gemini API Key" }), modelArgvPrefix: ["--model"], workspaceArgvPrefix: ["--include-directories"], permissionModes: ["ask", "bypass", "auto"], permissionArgv: { ask: { argv: ["--approval-mode", "default"] }, bypass: { argv: ["--approval-mode", "yolo"] }, auto: { argv: ["--approval-mode", "auto_edit"] } }, profileEnv: "GEMINI_CLI_HOME", turn: { startArgv: ["--skip-trust", "--output-format", "stream-json"], createIdPrefix: ["--session-id"], resumeIdPrefix: ["--resume"], promptArgvPrefix: ["--prompt"], output: "json-lines", responseFields: ["response", "result", "text", "content"] }, session: { idKind: "uuid", createIdPrefix: ["--session-id"], resumeIdPrefix: ["--resume"] } },
|
|
307
|
+
{ command: "codex", modelStrategy: "codex-cache", quotaProbe: true, nativeStateDir: ".codex", modelCatalogFiles: ["config.toml", "models_cache.json"], subagents: { read: "thread", steer: "none" }, capabilities: { childActivity: true, thinking: true, plan: true, usage: true, toolOutput: true, backgroundAgents: false, backgroundTerminals: true, workflows: false }, freePlan: { listed: true }, loginKeyStdinArgv: ["login", "--with-api-key"], provider: "openai", displayName: "Codex", tier: "primary", transport: "codex-app-server", integration: "native", parser: "codex-items", memoryFile: "AGENTS.md", nativeSlashPassthrough: false, nativeOperations: ["compact", "turn-policy", "model-list", "thread-list"], customCommandDirs: ["~/.codex/prompts"], effortValues: ["low", "medium", "high", "xhigh", "max", "ultra"], localAuth: ["api-key", "oauth", "vendor-cli"], binary: "codex", authFiles: [{ path: "${CODEX_HOME:-~/.codex}/auth.json" }], authEnv: ["OPENAI_API_KEY"], npmPackage: "@openai/codex", loginRemoteArgv: ["login", "--device-auth"], loginArgv: ["login"], statusArgv: ["login", "status"], logoutArgv: ["logout"], modelArgvPrefix: ["--model"], workspaceArgvPrefix: ["--cd"], effortArgvPrefix: ["--config"], effortConfigKey: "model_reasoning_effort", permissionModes: ["ask", "bypass", "auto"], permissionArgv: { ask: { argv: ["--sandbox", "workspace-write", "--ask-for-approval", "on-request"], placement: "root" }, bypass: { argv: ["--sandbox", "danger-full-access", "--ask-for-approval", "never"], placement: "root" }, auto: { argv: ["--approve-for-me"], placement: "root" } }, imageArgvPrefix: ["--image"], profileEnv: "CODEX_HOME", turn: { startArgv: ["exec", "--json", "--skip-git-repo-check"], resumeArgv: ["exec", "resume"], resumeIdSuffix: ["--json", "--skip-git-repo-check"], promptInput: "stdin", output: "json-lines", responseFields: ["text"], resumeSupportsWorkspaceSelector: false }, session: { resumeIdPrefix: ["resume"] } },
|
|
308
|
+
{ ...OPENCODE_FAMILY, command: "opencode", quotaProbe: { none: "`opencode stats` is local token/cost history, not an allowance; no account quota read" }, subagents: { read: "none", steer: "none" }, capabilities: { childActivity: false, thinking: true, plan: false, usage: true, toolOutput: true, backgroundAgents: false, backgroundTerminals: false, workflows: false }, provider: "opencode", displayName: "OpenCode", tier: "primary", binary: "opencode", npmPackage: "opencode-ai", signInOptional: true },
|
|
308
309
|
// No logoutArgv: Copilot signs out only with /logout inside its own chat
|
|
309
310
|
// (1.0.91: `copilot logout` exits 1, "Invalid command format"), and its
|
|
310
311
|
// token is in the system credential store, so ClikCode can remove the
|
|
@@ -314,8 +315,8 @@ var CATALOG_HARNESSES = [
|
|
|
314
315
|
// Shared sessions (1.0.91, 2026-10-05): a `-p --session-id` thread loads
|
|
315
316
|
// over ACP with its history, and `--session-id` on an ACP thread continues
|
|
316
317
|
// it; each recalled a word the other was told.
|
|
317
|
-
{ command: "copilot", modelStrategy: "copilot-server", quotaProbe: true, modelsDevCatalog: true, capabilities: { childActivity: false, thinking: false, plan: false, usage: false, toolOutput: true, backgroundAgents: false, backgroundTerminals: false, workflows: false }, freePlan: { listed: true }, provider: "github-copilot", displayName: "GitHub Copilot", planMode: { option: "plan", value: true }, tier: "primary", transport: "acp", integration: "structured", parser: "text", memoryFile: "AGENTS.md", nativeSlashPassthrough: false, acp: { argv: ["--acp", "--stdio"], effortArgvPrefix: ["--effort"], sharedSessions: true, probeDisableMcpPrefix: ["--disable-mcp-server"] }, effortValues: ["none", "minimal", "low", "medium", "high", "xhigh", "max"], retiredOptionIds: ["allow-all"], replyErrorPatterns: COPILOT_REPLY_ERRORS, localAuth: ["oauth", "vendor-cli"], binary: "copilot", npmPackage: "@github/copilot", loginRemoteArgv: ["login", "--device-code"], loginArgv: ["login"], authFiles: [{ path: "${COPILOT_HOME:-~/.copilot}/config.json", contains: '"loggedInUsers": [\n' }], modelArgvPrefix: ["--model"], workspaceArgvPrefix: ["-C"], permissionModes: ["ask", "bypass"], permissionArgv: { ask: { argv: [] }, bypass: { argv: ["--allow-all"] } }, imageArgvPrefix: ["--attachment"], profileEnv: "COPILOT_HOME", turn: { startArgv: ["-s"], createIdPrefix: ["--session-id"], resumeIdPrefix: ["--session-id"], promptArgvPrefix: ["-p"], output: "text" }, session: { idKind: "uuid", createIdPrefix: ["--session-id"], resumeIdPrefix: ["--session-id"] } },
|
|
318
|
-
{ command: "aider", modelStrategy: "aider-providers", quotaProbe: { none: "no account or quota concept; it only sends requests to whatever provider key is set" }, capabilities: { childActivity: false, thinking: false, plan: false, usage: true, toolOutput: false, backgroundAgents: false, backgroundTerminals: false, workflows: false }, freePlan: { suffix: ":free" }, loginAccountChoose: ["Yes"], provider: "aider", displayName: "Aider", tier: "more", transport: "text-cli", integration: "compatibility", parser: "aider", memoryFile: "CONVENTIONS.md", nativeSlashPassthrough: false, localAuth: ["api-key", "vendor-cli"], binary: "aider", installer: HARNESS_INSTALLERS.aider, loginArgv: ["--no-git", "--exit"], authFiles: [{ path: "~/.aider/oauth-keys.env" }], authEnv: ["OPENROUTER_API_KEY", "ANTHROPIC_API_KEY", "DEEPSEEK_API_KEY", "OPENAI_API_KEY", "GEMINI_API_KEY", "VERTEXAI_PROJECT"], modelArgvPrefix: ["--model"], permissionModes: ["bypass"], permissionArgv: { bypass: { argv: ["--yes-always"] } }, imageArgvPrefix: ["--file"], turn: { startArgv: ["--no-show-model-warnings", "--no-check-update", "--no-show-release-notes", "--no-analytics", "--no-pretty", "--no-fancy-input", "--no-detect-urls"], createIdPrefix: ["--chat-history-file"], resumeIdPrefix: ["--chat-history-file"], resumeIdSuffix: ["--restore-chat-history"], promptArgvPrefix: ["--message"], output: "text", outsideRepoArgv: ["--no-git"] }, session: { idKind: "history-file", createIdPrefix: ["--chat-history-file"], resumeIdPrefix: ["--chat-history-file"] } },
|
|
318
|
+
{ command: "copilot", modelStrategy: "copilot-server", quotaProbe: true, modelsDevCatalog: true, subagents: { read: "none", steer: "none" }, capabilities: { childActivity: false, thinking: false, plan: false, usage: false, toolOutput: true, backgroundAgents: false, backgroundTerminals: false, workflows: false }, freePlan: { listed: true }, provider: "github-copilot", displayName: "GitHub Copilot", planMode: { option: "plan", value: true }, tier: "primary", transport: "acp", integration: "structured", parser: "text", memoryFile: "AGENTS.md", nativeSlashPassthrough: false, acp: { argv: ["--acp", "--stdio"], effortArgvPrefix: ["--effort"], sharedSessions: true, probeDisableMcpPrefix: ["--disable-mcp-server"] }, effortValues: ["none", "minimal", "low", "medium", "high", "xhigh", "max"], retiredOptionIds: ["allow-all"], replyErrorPatterns: COPILOT_REPLY_ERRORS, localAuth: ["oauth", "vendor-cli"], binary: "copilot", npmPackage: "@github/copilot", loginRemoteArgv: ["login", "--device-code"], loginArgv: ["login", "--device-code"], authFiles: [{ path: "${COPILOT_HOME:-~/.copilot}/config.json", contains: '"loggedInUsers": [\n' }], modelArgvPrefix: ["--model"], workspaceArgvPrefix: ["-C"], permissionModes: ["ask", "bypass"], permissionArgv: { ask: { argv: [] }, bypass: { argv: ["--allow-all"] } }, imageArgvPrefix: ["--attachment"], profileEnv: "COPILOT_HOME", turn: { startArgv: ["-s"], createIdPrefix: ["--session-id"], resumeIdPrefix: ["--session-id"], promptArgvPrefix: ["-p"], output: "text" }, session: { idKind: "uuid", createIdPrefix: ["--session-id"], resumeIdPrefix: ["--session-id"] } },
|
|
319
|
+
{ command: "aider", modelStrategy: "aider-providers", quotaProbe: { none: "no account or quota concept; it only sends requests to whatever provider key is set" }, subagents: { read: "none", steer: "none" }, capabilities: { childActivity: false, thinking: false, plan: false, usage: true, toolOutput: false, backgroundAgents: false, backgroundTerminals: false, workflows: false }, freePlan: { suffix: ":free" }, loginAccountChoose: ["Yes"], provider: "aider", displayName: "Aider", tier: "more", transport: "text-cli", integration: "compatibility", parser: "aider", memoryFile: "CONVENTIONS.md", nativeSlashPassthrough: false, localAuth: ["api-key", "vendor-cli"], binary: "aider", installer: HARNESS_INSTALLERS.aider, loginArgv: ["--no-git", "--exit"], authFiles: [{ path: "~/.aider/oauth-keys.env" }], authEnv: ["OPENROUTER_API_KEY", "ANTHROPIC_API_KEY", "DEEPSEEK_API_KEY", "OPENAI_API_KEY", "GEMINI_API_KEY", "VERTEXAI_PROJECT"], modelArgvPrefix: ["--model"], permissionModes: ["bypass"], permissionArgv: { bypass: { argv: ["--yes-always"] } }, imageArgvPrefix: ["--file"], turn: { startArgv: ["--no-show-model-warnings", "--no-check-update", "--no-show-release-notes", "--no-analytics", "--no-pretty", "--no-fancy-input", "--no-detect-urls"], createIdPrefix: ["--chat-history-file"], resumeIdPrefix: ["--chat-history-file"], resumeIdSuffix: ["--restore-chat-history"], promptArgvPrefix: ["--message"], output: "text", outsideRepoArgv: ["--no-git"] }, session: { idKind: "history-file", createIdPrefix: ["--chat-history-file"], resumeIdPrefix: ["--chat-history-file"] } },
|
|
319
320
|
// Goose effort is the ACP session option `thinking_effort`; its values are
|
|
320
321
|
// read from the session (effort-choices.ts). effortValues, the fallback, are
|
|
321
322
|
// the levels its own `goose configure` prompt offers (off/low/medium/high/max).
|
|
@@ -325,6 +326,7 @@ var CATALOG_HARNESSES = [
|
|
|
325
326
|
quotaProbe: { none: "`goose --help` has no usage, account or quota subcommand" },
|
|
326
327
|
modelsDevCatalog: true,
|
|
327
328
|
modelCatalogHomeFiles: [".config/goose/config.yaml", ".config/goose/secrets.yaml"],
|
|
329
|
+
subagents: { read: "none", steer: "none" },
|
|
328
330
|
capabilities: { childActivity: false, thinking: true, plan: false, usage: true, toolOutput: true, backgroundAgents: false, backgroundTerminals: false, workflows: false },
|
|
329
331
|
freePlan: { suffix: ":free" },
|
|
330
332
|
provider: "goose",
|
|
@@ -369,79 +371,26 @@ var CATALOG_HARNESSES = [
|
|
|
369
371
|
turn: { startArgv: ["run", "--output-format", "stream-json"], createIdPrefix: ["--name"], resumeIdPrefix: ["--resume", "--session-id"], promptArgvPrefix: ["--text"], output: "json-lines", responseFields: ["text", "content", "response"], statelessProviders: ["claude-code"] },
|
|
370
372
|
session: { idKind: "uuid", idByName: true, createIdPrefix: ["--name"], resumeIdPrefix: ["session", "--resume", "--session-id"], discoverArgv: ["session", "list", "--format", "json"], discoverFormat: "json", discoverAllFolders: true }
|
|
371
373
|
},
|
|
372
|
-
// Amp's
|
|
373
|
-
//
|
|
374
|
-
//
|
|
375
|
-
|
|
376
|
-
//
|
|
377
|
-
|
|
378
|
-
//
|
|
379
|
-
//
|
|
380
|
-
//
|
|
381
|
-
//
|
|
382
|
-
//
|
|
383
|
-
//
|
|
384
|
-
//
|
|
385
|
-
//
|
|
386
|
-
|
|
387
|
-
// used for Gemini CLI for exactly this reason: it still routes through
|
|
388
|
-
// ClikCode's suspend/resume handoff into agy's own interactive session
|
|
389
|
-
// rather than being skipped entirely for lacking a real login argv.
|
|
390
|
-
// Genuinely NOT verified: the JSON field names inside a stream-json
|
|
391
|
-
// event carrying the final response text, and whether a conversation id
|
|
392
|
-
// reliably comes back in that output at all -- Antigravity's own issue
|
|
393
|
-
// tracker (google-antigravity/antigravity-cli#7) was, as of this
|
|
394
|
-
// research, still requesting that a per-conversation id be emitted at
|
|
395
|
-
// all, meaning --conversation-based resume may not work reliably yet.
|
|
396
|
-
// responseFields here matches the same best-effort convention already
|
|
397
|
-
// used for other harnesses with an unconfirmed inner schema (Pi, Kilo
|
|
398
|
-
// Code) rather than a fabricated certainty.
|
|
399
|
-
// loginArgv runs a minimal real print-mode turn rather than launching agy
|
|
400
|
-
// bare: bare agy needs its own bubbletea TUI, which requires a real
|
|
401
|
-
// /dev/tty and never returns on its own once open (confirmed live: a
|
|
402
|
-
// proper login flow, but the wrong shape for a broker that hands off and
|
|
403
|
-
// gets control back automatically). --print, by contrast, opens the same
|
|
404
|
-
// OAuth browser flow when unauthenticated and returns control the moment
|
|
405
|
-
// that completes -- confirmed live: it triggered the real browser OAuth
|
|
406
|
-
// prompt with no TTY at all in a plain piped shell, not just under a
|
|
407
|
-
// pty. The one real cost: unlike Claude/Codex's dedicated login
|
|
408
|
-
// subcommands, this is a genuine (trivial) turn, not a free auth-only
|
|
409
|
-
// call, since agy has no login-only command in its own CLI surface.
|
|
410
|
-
// profileEnv: 'HOME' -- confirmed live: agy resolves its entire config
|
|
411
|
-
// Effort is NOT an independent dimension here, which is why this entry
|
|
412
|
-
// declares no effortValues and no effortArgvPrefix even though `agy --help`
|
|
413
|
-
// lists --effort. Antigravity encodes effort in the MODEL ID -- its own
|
|
414
|
-
// `agy models` prints gemini-3.8-flash-high / -medium / -low,
|
|
415
|
-
// gemini-3.1-pro-high / -low, gpt-oss-120b-medium -- and the CLI rejects any
|
|
416
|
-
// combination that is not consistent with that. Verified live against agy
|
|
417
|
-
// 1.2.7 on a real authenticated account:
|
|
418
|
-
// --model claude-opus-4-6-thinking --effort medium
|
|
419
|
-
// -> "--effort is not supported for model claude-opus-4-6-thinking"
|
|
420
|
-
// --model gpt-oss-120b-medium --effort high
|
|
421
|
-
// -> "--model gpt-oss-120b-medium conflicts with --effort=high"
|
|
422
|
-
// --model claude-opus-4-6-thinking (no --effort)
|
|
423
|
-
// -> SUCCESS
|
|
424
|
-
// Declaring the flag made ClikCode send it on every turn, so EVERY
|
|
425
|
-
// antigravity turn failed on every account -- and because the failure
|
|
426
|
-
// looked like the account's fault, failover then walked the whole account
|
|
427
|
-
// list failing identically. Choosing effort means choosing the model.
|
|
428
|
-
// tree (~/.gemini/antigravity-cli/, credentials included) from $HOME, the
|
|
429
|
-
// same way it would with a real home directory, so redirecting HOME per
|
|
430
|
-
// account is a real isolation mechanism here, not a guess -- verified
|
|
431
|
-
// `agy models` runs cleanly under a freshly isolated HOME. This is what
|
|
432
|
-
// makes "add a new/different account" actually work: a fresh, empty HOME
|
|
433
|
-
// (keyring cut off by profileExtraEnv) has no credential to reuse.
|
|
434
|
-
// Sign-in is bare `agy` (1.2.17): its "Select login method" screen, then a
|
|
435
|
-
// Google link and a code field. `agy -p /help` used to be the login, but a
|
|
436
|
-
// turn now runs signed out ("You are not logged into Antigravity", answered
|
|
437
|
-
// anyway), so it signed nothing in. The token file it writes ends the
|
|
438
|
-
// sign-in; the first-run screens are answered (data sharing unticked).
|
|
439
|
-
{ command: "antigravity", quotaProbe: true, capabilities: { childActivity: false, thinking: false, plan: false, usage: true, toolOutput: false, backgroundAgents: false, backgroundTerminals: false, workflows: false }, freePlan: { listed: true }, provider: "antigravity", displayName: "Antigravity CLI", planMode: { option: "mode", value: "plan" }, tier: "primary", transport: "structured-cli", integration: "structured", parser: "antigravity", memoryFile: "AGENTS.md", nativeSlashPassthrough: false, profileEnvPassthrough: HOME_REDIRECT_ENV_PASSTHROUGH, profileExtraEnv: { DBUS_SESSION_BUS_ADDRESS: "unix:path=/nonexistent", XDG_RUNTIME_DIR: "{profile}/runtime" }, apiKeySettings: { path: "~/.gemini/antigravity-cli/settings.json", set: { modelProvider: "gemini" } }, localAuth: ["api-key", "oauth", "vendor-cli"], binary: "agy", installer: HARNESS_INSTALLERS.antigravity, loginArgv: [], loginSteps: [{ when: "Choose your color scheme", send: "{enter}" }, { when: "Terms of Service & Data Use", send: "{enter}{down}{right}{enter}" }, { when: "Do you trust the contents of this project", send: "{enter}" }, { when: "Select login method", send: "{enter}" }, { when: "paste the authorization code below", ask: { prompt: "Paste the code from the Google page" } }], authFiles: [{ path: "~/.gemini/antigravity-cli/antigravity-oauth-token" }], modelArgvPrefix: ["--model"], modelDiscoveryArgv: ["models"], permissionModes: ["ask", "bypass"], permissionArgv: { ask: { argv: [] }, bypass: { argv: ["--dangerously-skip-permissions"] } }, profileEnv: "HOME", turn: { startArgv: ["--output-format", "stream-json"], promptArgvPrefix: ["-p"], resumeIdPrefix: ["--conversation"], output: "json-lines", responseFields: ["text", "result", "response"] }, session: { resumeIdPrefix: ["--conversation"] } },
|
|
374
|
+
// Amp's native JSON stdin and safe steering passed a live turn on 2026-10-25.
|
|
375
|
+
// Input closes after the main reply and background agents settle; the final
|
|
376
|
+
// result follows EOF. It shares Claude-shaped output, not Claude's lifecycle.
|
|
377
|
+
{ command: "amp", keyIdentityArgv: ["usage"], quotaProbe: true, subagents: { read: "frames", steer: "none" }, capabilities: { childActivity: true, thinking: true, plan: true, usage: true, toolOutput: true, backgroundAgents: true, backgroundTerminals: false, workflows: false }, provider: "amp", displayName: "Amp", tier: "more", transport: "structured-cli", integration: "structured", parser: "claude-stream-json", memoryFile: "AGENTS.md", nativeSlashPassthrough: false, localAuth: ["api-key", "oauth", "vendor-cli"], binary: "amp", npmPackage: "@ampcode/cli", authFiles: [{ path: "${XDG_DATA_HOME:-~/.local/share}/amp/secrets.json", contains: "apiKey@" }], authEnv: ["AMP_API_KEY"], loginArgv: ["login"], versionArgv: ["version"], turn: { startArgv: ["--execute", "--stream-json", "--stream-json-input", "--no-archive-after-execute"], resumeArgv: ["threads", "continue"], resumeIdSuffix: ["--execute", "--stream-json", "--stream-json-input", "--no-archive-after-execute"], promptInput: "stdin", stdinFormat: "amp-json", stdinArgv: [], output: "json-lines", responseFields: ["result"], mcpConfigArgv: ["--mcp-config"] }, session: { resumeIdPrefix: ["threads", "continue"] } },
|
|
378
|
+
// agy 1.4.12 exposes ACP through `agy acp`. Its subcommand accepts
|
|
379
|
+
// permission flags but not the print-mode --model/--mode switches; model
|
|
380
|
+
// and mode selection use the session protocol. Keep the native parser
|
|
381
|
+
// for image fallback. Both directions of scripts/verify-shared-sessions.mjs
|
|
382
|
+
// passed on 1.4.12: ACP resumes CLI history and CLI resumes ACP history.
|
|
383
|
+
// Bare agy remains the interactive OAuth login;
|
|
384
|
+
// print mode can answer signed out and cannot establish authentication.
|
|
385
|
+
// Each account redirects HOME and disables keyring reuse. ACP publishes
|
|
386
|
+
// its own model IDs and thought_level options; CLI IDs encode effort.
|
|
387
|
+
// No independent CLI --effort flag is sent.
|
|
388
|
+
{ command: "antigravity", quotaProbe: true, subagents: { read: "none", steer: "none" }, capabilities: { childActivity: false, thinking: true, plan: false, usage: true, toolOutput: true, backgroundAgents: false, backgroundTerminals: false, workflows: false }, freePlan: { listed: true }, provider: "antigravity", displayName: "Antigravity CLI", tier: "primary", transport: "acp", acp: { argv: ["acp"], inheritCliOptions: false, listsModels: true, liveModelList: false, sharedSessions: true, pinCliFallback: true, effortConfigId: "thought_level", permissionArgv: { bypass: ["--dangerously-skip-permissions"] } }, integration: "structured", parser: "antigravity", effortValues: ["low", "medium", "high"], memoryFile: "AGENTS.md", nativeSlashPassthrough: false, profileEnvPassthrough: HOME_REDIRECT_ENV_PASSTHROUGH, profileExtraEnv: { DBUS_SESSION_BUS_ADDRESS: "unix:path=/nonexistent", XDG_RUNTIME_DIR: "{profile}/runtime" }, apiKeySettings: { path: "~/.gemini/antigravity-cli/settings.json", set: { modelProvider: "gemini" } }, localAuth: ["api-key", "oauth", "vendor-cli"], binary: "agy", installer: HARNESS_INSTALLERS.antigravity, loginArgv: [], loginSteps: [{ when: "Choose your color scheme", send: "{enter}" }, { when: "Terms of Service & Data Use", send: "{enter}{down}{right}{enter}" }, { when: "Do you trust the contents of this project", send: "{enter}" }, { when: "Select login method", send: "{enter}" }, { when: "paste the authorization code below", ask: { prompt: "Paste the code from the Google page" } }], authFiles: [{ path: "~/.gemini/antigravity-cli/antigravity-oauth-token", jsonFields: ["token.access_token", "token.refresh_token"] }], modelDiscoveryArgv: ["models"], modelArgvPrefix: ["--model"], permissionModes: ["ask", "bypass"], permissionArgv: { ask: { argv: [] }, bypass: { argv: ["--dangerously-skip-permissions"] } }, profileEnv: "HOME", turn: { startArgv: ["--output-format", "stream-json"], promptArgvPrefix: ["-p"], resumeIdPrefix: ["--conversation"], output: "json-lines", responseFields: ["text", "result", "response"] }, session: { resumeIdPrefix: ["--conversation"] } },
|
|
440
389
|
// Pi signs in only inside its own session (`/login`); `pi auth` just prints
|
|
441
390
|
// or checks credentials. The steps type /login, its method/provider menus
|
|
442
391
|
// and key field are read on ClikCode's screen, and Ctrl+D leaves once it
|
|
443
392
|
// says the credentials are saved (verified 2026-10-03, pi 0.87 signed out).
|
|
444
|
-
{ command: "pi", modelListFormat: "pi-table", quotaProbe: { none: "`pi auth` only prints or checks credentials; no usage read" }, capabilities: { childActivity: false, thinking: true, plan: false, usage: true, toolOutput: true, backgroundAgents: false, backgroundTerminals: false, workflows: false }, freePlan: { suffix: ":free" }, provider: "pi", displayName: "Pi Coding Agent", tier: "more", transport: "structured-cli", integration: "structured", parser: "pi-json", memoryFile: "AGENTS.md", nativeSlashPassthrough: false, effortValues: ["off", "minimal", "low", "medium", "high", "xhigh", "max"], localAuth: ["api-key", "oauth", "vendor-cli"], loginArgv: [], binary: "pi", npmPackage: "@earendil-works/pi-coding-agent", loginSteps: [{ when: "/login to log into a provider", send: "/login{enter}" }, { when: "Credentials saved to", send: "{ctrl-d}" }], loginKeyRoutes: providerKeyRoutes(["Sign in with an API key"], { ...SHARED_PROVIDER_MENU_LABELS, google: "Google", fireworks: "Fireworks", "moonshot-cn": "Moonshot AI CN", minimax: "MiniMax", together: "Together" }), authFiles: [{ path: "${PI_CODING_AGENT_DIR:-~/.pi/agent}/auth.json", contains: '"type"' }], modelDiscoveryArgv: ["--list-models"], modelProviderSeparator: "/", modelArgvPrefix: ["--model"], effortArgvPrefix: ["--thinking"], imageArgvPrefix: ["@"], imageArgvStyle: "concatenated", profileEnv: "PI_CODING_AGENT_DIR", turn: { startArgv: ["
|
|
393
|
+
{ command: "pi", modelListFormat: "pi-table", quotaProbe: { none: "`pi auth` only prints or checks credentials; no usage read" }, subagents: { read: "none", steer: "none" }, capabilities: { childActivity: false, thinking: true, plan: false, usage: true, toolOutput: true, backgroundAgents: false, backgroundTerminals: false, workflows: false }, freePlan: { suffix: ":free" }, provider: "pi", displayName: "Pi Coding Agent", tier: "more", transport: "structured-cli", integration: "structured", parser: "pi-json", memoryFile: "AGENTS.md", nativeSlashPassthrough: false, effortValues: ["off", "minimal", "low", "medium", "high", "xhigh", "max"], localAuth: ["api-key", "oauth", "vendor-cli"], loginArgv: [], binary: "pi", npmPackage: "@earendil-works/pi-coding-agent", loginSteps: [{ when: "/login to log into a provider", send: "/login{enter}" }, { when: "Credentials saved to", send: "{ctrl-d}" }], loginKeyRoutes: providerKeyRoutes(["Sign in with an API key"], { ...SHARED_PROVIDER_MENU_LABELS, google: "Google", fireworks: "Fireworks", "moonshot-cn": "Moonshot AI CN", minimax: "MiniMax", together: "Together" }), authFiles: [{ path: "${PI_CODING_AGENT_DIR:-~/.pi/agent}/auth.json", contains: '"type"' }], modelDiscoveryArgv: ["--list-models"], modelProviderSeparator: "/", modelArgvPrefix: ["--model"], effortArgvPrefix: ["--thinking"], imageArgvPrefix: ["@"], imageArgvStyle: "concatenated", profileEnv: "PI_CODING_AGENT_DIR", turn: { startArgv: ["--mode", "rpc"], createIdPrefix: ["--session-id"], resumeIdPrefix: ["--session"], promptInput: "stdin", stdinFormat: "pi-rpc", stdinArgv: [], output: "json-lines", responseFields: ["text", "content"], extensionArgv: ["-e"] }, session: { idKind: "uuid", createIdPrefix: ["--session-id"], resumeIdPrefix: ["--session"] } },
|
|
445
394
|
// Checked against droid 0.223.0: `droid exec` takes -m/--model,
|
|
446
395
|
// -r/--reasoning-effort, --cwd, -s/--session-id, --auto low|medium|high and
|
|
447
396
|
// --skip-permissions-unsafe, all as declared here. Two things were missing:
|
|
@@ -453,13 +402,13 @@ var CATALOG_HARNESSES = [
|
|
|
453
402
|
// from JSON-RPC requests", so ACP is launched bare. Run signed in under vendor-sandbox 2026-10-10, session/new gave modes normal|spec|auto-low|auto-medium|
|
|
454
403
|
// auto-high (= ask, plan, `--auto low|medium|high`) and config options autonomy_level and reasoning_effort ("options depend on the selected model"; this
|
|
455
404
|
// model: none..max). effortValues is that union; the session's own list narrows it per model once the picker reads it (see report, effort-choices.ts).
|
|
456
|
-
{ command: "droid", quotaProbe: { none: "`droid --help` and `droid exec --help` list no usage or quota command" }, capabilities: { childActivity: false, thinking: false, plan: false, usage: false, toolOutput: true, backgroundAgents: false, backgroundTerminals: false, workflows: false }, provider: "factory", displayName: "Factory Droid", planMode: { option: "spec-mode", value: true }, tier: "more", transport: "acp", integration: "structured", parser: "generic-json", memoryFile: "AGENTS.md", nativeSlashPassthrough: false, acp: { argv: ["exec", "--output-format", "acp"], inheritCliOptions: false, listsModels: true, effortConfigId: "reasoning_effort", planModeId: "spec" }, effortValues: ["none", "low", "medium", "high", "xhigh", "max"], localAuth: ["api-key", "oauth", "vendor-cli"], binary: "droid", npmPackage: "droid", loginArgv: [], loginSteps: [{ when: "Please login with your Factory account", send: "{enter}" }], authFiles: [{ path: "${FACTORY_HOME_OVERRIDE:-~/.factory}/auth.v2.file" }, { path: "${FACTORY_HOME_OVERRIDE:-~/.factory}/auth.v2.key" }, { path: "${FACTORY_HOME_OVERRIDE:-~/.factory}/auth.v2.keyring" }, { path: "${FACTORY_HOME_OVERRIDE:-~/.factory}/auth.encrypted" }], authEnv: ["FACTORY_API_KEY"], modelArgvPrefix: ["--model"], workspaceArgvPrefix: ["--cwd"], effortArgvPrefix: ["--reasoning-effort"], permissionModes: ["ask", "bypass", "auto"], permissions: { ask: { argv: [], acpModeId: "normal" }, bypass: { argv: ["--skip-permissions-unsafe"], acpModeId: "auto-high" }, auto: { argv: ["--auto", "low"], acpModeId: "auto-low" } }, turn: { startArgv: ["exec", "--output-format", "stream-json"], resumeIdPrefix: ["--session-id"], output: "json-lines", responseFields: ["result", "response", "text"] }, session: { resumeIdPrefix: ["--session-id"] } },
|
|
405
|
+
{ command: "droid", quotaProbe: { none: "`droid --help` and `droid exec --help` list no usage or quota command" }, subagents: { read: "none", steer: "none" }, capabilities: { childActivity: false, thinking: false, plan: false, usage: false, toolOutput: true, backgroundAgents: false, backgroundTerminals: false, workflows: false }, provider: "factory", displayName: "Factory Droid", planMode: { option: "spec-mode", value: true }, tier: "more", transport: "acp", integration: "structured", parser: "generic-json", memoryFile: "AGENTS.md", nativeSlashPassthrough: false, acp: { argv: ["exec", "--output-format", "acp"], inheritCliOptions: false, listsModels: true, effortConfigId: "reasoning_effort", planModeId: "spec" }, effortValues: ["none", "low", "medium", "high", "xhigh", "max"], localAuth: ["api-key", "oauth", "vendor-cli"], binary: "droid", npmPackage: "droid", loginArgv: [], loginSteps: [{ when: "Please login with your Factory account", send: "{enter}" }], authFiles: [{ path: "${FACTORY_HOME_OVERRIDE:-~/.factory}/auth.v2.file" }, { path: "${FACTORY_HOME_OVERRIDE:-~/.factory}/auth.v2.key" }, { path: "${FACTORY_HOME_OVERRIDE:-~/.factory}/auth.v2.keyring" }, { path: "${FACTORY_HOME_OVERRIDE:-~/.factory}/auth.encrypted" }], authEnv: ["FACTORY_API_KEY"], modelArgvPrefix: ["--model"], workspaceArgvPrefix: ["--cwd"], effortArgvPrefix: ["--reasoning-effort"], permissionModes: ["ask", "bypass", "auto"], permissions: { ask: { argv: [], acpModeId: "normal" }, bypass: { argv: ["--skip-permissions-unsafe"], acpModeId: "auto-high" }, auto: { argv: ["--auto", "low"], acpModeId: "auto-low" } }, turn: { startArgv: ["exec", "--output-format", "stream-json"], resumeIdPrefix: ["--session-id"], output: "json-lines", responseFields: ["result", "response", "text"] }, session: { resumeIdPrefix: ["--session-id"] } },
|
|
457
406
|
// Checked against a real install (`curl -fsSL https://cli.kiro.dev/install`):
|
|
458
407
|
// chat takes --model, --effort, -r/--resume, --resume-id, -a/--trust-all-tools
|
|
459
408
|
// and --output-format stream-json ("JSON Lines on stdout", which implies
|
|
460
409
|
// --no-interactive). Everything here was already right except --model,
|
|
461
410
|
// which the CLI has and this entry did not.
|
|
462
|
-
{ command: "kiro", quotaProbe: true, capabilities: { childActivity: false, thinking: false, plan: false, usage: true, toolOutput: true, backgroundAgents: false, backgroundTerminals: false, workflows: false }, freePlan: { listed: true }, provider: "kiro", displayName: "Kiro CLI", tier: "more", transport: "acp", integration: "structured", parser: "generic-json", memoryFile: "AGENTS.md", nativeSlashPassthrough: false, acp: { argv: ["acp"], optionPlacement: "after" }, effortValues: ["low", "medium", "high", "xhigh", "max"], localAuth: ["api-key", "oauth", "vendor-cli"], loginRemoteArgv: ["login", "--license", "free", "--use-device-flow"], loginArgv: ["login"], logoutArgv: ["logout"], statusArgv: ["whoami"], binary: "kiro-cli", authFiles: [{ path: "~/.local/share/kiro-cli/data.sqlite3", contains: "kirocli:social:token" }, { path: "~/.local/share/kiro-cli/data.sqlite3", contains: "kirocli:odic:token" }], installer: HARNESS_INSTALLERS.kiro, modelArgvPrefix: ["--model"], effortArgvPrefix: ["--effort"], permissionModes: ["ask", "bypass"], permissionArgv: { ask: { argv: [] }, bypass: { argv: ["--trust-all-tools"] } }, turn: { promptGuard: "double-dash", startArgv: ["chat", "--no-interactive", "--agent-engine", "v3", "--output-format", "stream-json"], resumeIdPrefix: ["--resume-id"], output: "json-lines", responseFields: ["text", "content", "result"] }, session: { resumeIdPrefix: ["chat", "--resume-id"], discoverArgv: ["chat", "--list-sessions", "--format", "json"], discoverFormat: "json" } },
|
|
411
|
+
{ command: "kiro", quotaProbe: true, subagents: { read: "none", steer: "none" }, capabilities: { childActivity: false, thinking: false, plan: false, usage: true, toolOutput: true, backgroundAgents: false, backgroundTerminals: false, workflows: false }, freePlan: { listed: true }, provider: "kiro", displayName: "Kiro CLI", tier: "more", transport: "acp", integration: "structured", parser: "generic-json", memoryFile: "AGENTS.md", nativeSlashPassthrough: false, acp: { argv: ["acp"], optionPlacement: "after" }, effortValues: ["low", "medium", "high", "xhigh", "max"], localAuth: ["api-key", "oauth", "vendor-cli"], loginRemoteArgv: ["login", "--license", "free", "--use-device-flow"], loginArgv: ["login"], logoutArgv: ["logout"], statusArgv: ["whoami"], binary: "kiro-cli", authFiles: [{ path: "~/.local/share/kiro-cli/data.sqlite3", contains: "kirocli:social:token" }, { path: "~/.local/share/kiro-cli/data.sqlite3", contains: "kirocli:odic:token" }], installer: HARNESS_INSTALLERS.kiro, modelArgvPrefix: ["--model"], effortArgvPrefix: ["--effort"], permissionModes: ["ask", "bypass"], permissionArgv: { ask: { argv: [] }, bypass: { argv: ["--trust-all-tools"] } }, turn: { promptGuard: "double-dash", startArgv: ["chat", "--no-interactive", "--agent-engine", "v3", "--output-format", "stream-json"], resumeIdPrefix: ["--resume-id"], output: "json-lines", responseFields: ["text", "content", "result"] }, session: { resumeIdPrefix: ["chat", "--resume-id"], discoverArgv: ["chat", "--list-sessions", "--format", "json"], discoverFormat: "json" } },
|
|
463
412
|
// Sign-in (2026-10-03, real qwen 0.24 signed out): its provider menus and
|
|
464
413
|
// key/model boxes are read on ClikCode's screen; once configured it sits in
|
|
465
414
|
// its chat, which the step quits.
|
|
@@ -479,7 +428,7 @@ var CATALOG_HARNESSES = [
|
|
|
479
428
|
// Qwen 0.25.0 ACP, read from chunks/acpAgent (buildModesData/buildConfigOptions) and run signed in under vendor-sandbox 2026-10-10: session/new
|
|
480
429
|
// config options are mode (plan|default|auto-edit|auto|yolo = --approval-mode), model, and reasoning_effort (category thought_level; per-model: this
|
|
481
430
|
// account's model offered only none/default). ClikCode's ask/auto/bypass are default/auto/yolo; plan is the session mode `plan`.
|
|
482
|
-
{ command: "qwen", quotaProbe: { none: "`qwen --help` has no usage or quota command (Qwen OAuth is discontinued)" }, capabilities: { childActivity: true, thinking: true, plan: true, usage: true, toolOutput: true, backgroundAgents: false, backgroundTerminals: false, workflows: false }, provider: "qwen", displayName: "Qwen Code", tier: "more", npmPackage: "@qwen-code/qwen-code", transport: "acp", integration: "structured", parser: "claude-stream-json", memoryFile: "QWEN.md", nativeSlashPassthrough: false, customCommandDirs: [".qwen/commands", "~/.qwen/commands"], acp: { argv: ["--acp"], probeArgv: ["--allowed-mcp-server-names", "clikcode-probe-none"], effortConfigId: "reasoning_effort", planModeId: "plan" }, effortValues: ["none", "low", "medium", "high", "xhigh", "max"], normalizedPermissionOptionIds: ["approval-mode"], localAuth: ["vendor-cli"], binary: "qwen", loginArgv: [], loginKeyRoutes: [{ url: "https://dashscope-us.aliyuncs.com/compatible-mode/v1/chat/completions", choose: ["Alibaba ModelStudio", "Standard API Key", "US (Virginia)"] }, { url: "https://dashscope-intl.aliyuncs.com/compatible-mode/v1/chat/completions", choose: ["Alibaba ModelStudio", "Standard API Key", "Singapore"] }, { url: "https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions", choose: ["Alibaba ModelStudio", "Standard API Key", "China (Beijing)"] }, { url: "https://cn-hongkong.dashscope.aliyuncs.com/compatible-mode/v1/chat/completions", choose: ["Alibaba ModelStudio", "Standard API Key", "China (Hong Kong)"] }, { url: "https://coding-intl.dashscope.aliyuncs.com/v1/chat/completions", choose: ["Alibaba ModelStudio", "Coding Plan", "Singapore"] }, { url: "https://coding.dashscope.aliyuncs.com/v1/chat/completions", choose: ["Alibaba ModelStudio", "Coding Plan", "China (Beijing)"] }, { url: "https://token-plan.ap-southeast-1.maas.aliyuncs.com/compatible-mode/v1/chat/completions", choose: ["Alibaba ModelStudio", "Token Plan", "Singapore"] }, { url: "https://token-plan.cn-beijing.maas.aliyuncs.com/compatible-mode/v1/chat/completions", choose: ["Alibaba ModelStudio", "Token Plan", "China (Beijing)"] }], loginSteps: [{ when: "Enter model IDs directly", send: "{enter}" }, { when: "Type your message", send: "/quit{enter}" }], authFiles: [{ path: "${QWEN_HOME:-~/.qwen}/settings.json", contains: '"selectedType"' }], modelArgvPrefix: ["--model"], permissionModes: ["ask", "bypass", "auto"], permissions: { ask: { argv: ["--approval-mode", "default"], acpModeId: "default" }, bypass: { argv: ["--approval-mode", "yolo"], acpModeId: "yolo" }, auto: { argv: ["--approval-mode", "auto"], acpModeId: "auto" } }, profileEnv: "QWEN_HOME", turn: { startArgv: ["-p", "--output-format", "stream-json", "--include-partial-messages"], createIdPrefix: ["--session-id"], resumeIdPrefix: ["--resume"], output: "json-lines", responseFields: ["result", "response", "text"] }, session: { idKind: "uuid", createIdPrefix: ["--session-id"], resumeIdPrefix: ["--resume"], discoverArgv: ["sessions", "list", "--json"], discoverFormat: "json-lines" } },
|
|
431
|
+
{ command: "qwen", quotaProbe: { none: "`qwen --help` has no usage or quota command (Qwen OAuth is discontinued)" }, subagents: { read: "frames", steer: "none" }, capabilities: { childActivity: true, thinking: true, plan: true, usage: true, toolOutput: true, backgroundAgents: false, backgroundTerminals: false, workflows: false }, provider: "qwen", displayName: "Qwen Code", tier: "more", npmPackage: "@qwen-code/qwen-code", transport: "acp", integration: "structured", parser: "claude-stream-json", memoryFile: "QWEN.md", nativeSlashPassthrough: false, customCommandDirs: [".qwen/commands", "~/.qwen/commands"], acp: { argv: ["--acp"], probeArgv: ["--allowed-mcp-server-names", "clikcode-probe-none"], effortConfigId: "reasoning_effort", planModeId: "plan" }, effortValues: ["none", "low", "medium", "high", "xhigh", "max"], normalizedPermissionOptionIds: ["approval-mode"], localAuth: ["vendor-cli"], binary: "qwen", loginArgv: [], loginKeyRoutes: [{ url: "https://dashscope-us.aliyuncs.com/compatible-mode/v1/chat/completions", choose: ["Alibaba ModelStudio", "Standard API Key", "US (Virginia)"] }, { url: "https://dashscope-intl.aliyuncs.com/compatible-mode/v1/chat/completions", choose: ["Alibaba ModelStudio", "Standard API Key", "Singapore"] }, { url: "https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions", choose: ["Alibaba ModelStudio", "Standard API Key", "China (Beijing)"] }, { url: "https://cn-hongkong.dashscope.aliyuncs.com/compatible-mode/v1/chat/completions", choose: ["Alibaba ModelStudio", "Standard API Key", "China (Hong Kong)"] }, { url: "https://coding-intl.dashscope.aliyuncs.com/v1/chat/completions", choose: ["Alibaba ModelStudio", "Coding Plan", "Singapore"] }, { url: "https://coding.dashscope.aliyuncs.com/v1/chat/completions", choose: ["Alibaba ModelStudio", "Coding Plan", "China (Beijing)"] }, { url: "https://token-plan.ap-southeast-1.maas.aliyuncs.com/compatible-mode/v1/chat/completions", choose: ["Alibaba ModelStudio", "Token Plan", "Singapore"] }, { url: "https://token-plan.cn-beijing.maas.aliyuncs.com/compatible-mode/v1/chat/completions", choose: ["Alibaba ModelStudio", "Token Plan", "China (Beijing)"] }], loginSteps: [{ when: "Enter model IDs directly", send: "{enter}" }, { when: "Type your message", send: "/quit{enter}" }], authFiles: [{ path: "${QWEN_HOME:-~/.qwen}/settings.json", contains: '"selectedType"' }], modelArgvPrefix: ["--model"], permissionModes: ["ask", "bypass", "auto"], permissions: { ask: { argv: ["--approval-mode", "default"], acpModeId: "default" }, bypass: { argv: ["--approval-mode", "yolo"], acpModeId: "yolo" }, auto: { argv: ["--approval-mode", "auto"], acpModeId: "auto" } }, profileEnv: "QWEN_HOME", turn: { startArgv: ["-p", "--output-format", "stream-json", "--include-partial-messages"], createIdPrefix: ["--session-id"], resumeIdPrefix: ["--resume"], output: "json-lines", responseFields: ["result", "response", "text"] }, session: { idKind: "uuid", createIdPrefix: ["--session-id"], resumeIdPrefix: ["--resume"], discoverArgv: ["sessions", "list", "--json"], discoverFormat: "json-lines" } },
|
|
483
432
|
// CLINE_SESSION_BACKEND_MODE=local runs the session inside the ACP child.
|
|
484
433
|
// Left on `auto`, the first prompt starts a `--cline-hub-daemon` (~200 MB,
|
|
485
434
|
// its own process group) that outlives the chat, and ClikCode's sandboxed
|
|
@@ -488,9 +437,9 @@ var CATALOG_HARNESSES = [
|
|
|
488
437
|
// Cline 3.0.70 ACP, run signed in under vendor-sandbox 2026-10-10: session/new `modes` are plan|act (act is the default; plan = no file changes, set
|
|
489
438
|
// with session/set_mode -> {} and mirrored in config option `mode`), plus boolean config option `auto_approve`. Its modes are NOT permission levels,
|
|
490
439
|
// so ask and bypass both map to `act` (which also leaves plan when Plan mode turns off); bypass is `--auto-approve true` at launch. It publishes no effort option.
|
|
491
|
-
{ command: "cline", quotaProbe: true, capabilities: { childActivity: false, thinking: true, plan: false, usage: true, toolOutput: true, backgroundAgents: false, backgroundTerminals: false, workflows: false }, freePlan: { suffix: ":free" }, provider: "cline", displayName: "Cline CLI", planMode: { option: "plan", value: true }, tier: "more", transport: "acp", integration: "structured", parser: "cline-json", memoryFile: "AGENTS.md", nativeSlashPassthrough: false, acp: { argv: ["--acp"], listsModels: true, planModeId: "plan", usageFile: { path: "~/.cline/data/sessions/{id}/{id}.json", field: ["metadata", "usage"] } }, effortValues: ["none", "low", "medium", "high", "xhigh"], normalizedPermissionOptionIds: ["auto-approve"], localAuth: ["api-key", "oauth", "vendor-cli"], binary: "cline", npmPackage: "cline", authFiles: [{ path: "~/.cline/data/settings/providers.json", contains: '"auth"' }, { path: "~/.cline/data/settings/providers.json", contains: '"apiKey"' }], loginArgv: ["auth"], loginAccountChoose: ["Sign in with Cline"], loginKeyRoutes: providerKeyRoutes(["Bring your own provider"], SHARED_PROVIDER_MENU_LABELS), modelArgvPrefix: ["--model"], workspaceArgvPrefix: ["--cwd"], effortArgvPrefix: ["--thinking"], permissionModes: ["ask", "bypass"], permissions: { ask: { argv: ["--auto-approve", "false"], acpModeId: "act" }, bypass: { argv: ["--auto-approve", "true"], acpModeId: "act" } }, turn: { startArgv: ["--json"], resumeIdPrefix: ["--id"], output: "json-lines", responseFields: ["text", "content", "result"] }, turnEnv: { CLINE_SESSION_BACKEND_MODE: "local" }, session: { resumeIdPrefix: ["--id"] } },
|
|
492
|
-
{ ...OPENCODE_FORK_BASE, command: "kilo", quotaProbe: true, capabilities: { childActivity: false, thinking: true, plan: false, usage: true, toolOutput: true, backgroundAgents: false, backgroundTerminals: false, workflows: false }, freePlan: { suffix: ":free" }, loginAccountChoose: ["Kilo Gateway"], provider: "kilo", displayName: "Kilo Code CLI", tier: "more", binary: "kilo", authFiles: [{ path: "${XDG_DATA_HOME:-~/.local/share}/kilo/auth.json", contains: '"type"' }], npmPackage: "@kilocode/cli", permissionModes: ["ask", "auto"], permissionArgv: { ask: { argv: [] }, auto: { argv: ["--auto"] } }, permissionEnv: { ask: { KILO_PERMISSION: '{"edit":"ask","bash":"ask"}' } } },
|
|
493
|
-
{ command: "cursor", quotaProbe: true, capabilities: { childActivity: true, thinking: true, plan: true, usage: true, toolOutput: true, backgroundAgents: false, backgroundTerminals: false, workflows: false }, provider: "cursor", displayName: "Cursor Agent", planMode: { option: "mode", value: "plan" }, tier: "primary", transport: "acp", acp: { argv: ["acp"], inheritCliOptions: false, listsModels: true, planModeId: "plan" }, integration: "structured", parser: "cursor-stream-json", memoryFile: "AGENTS.md", nativeSlashPassthrough: false, customCommandDirs: [".cursor/commands", "~/.cursor/commands"], normalizedPermissionOptionIds: ["auto-review", "force"], replyErrorPatterns: CURSOR_REPLY_ERRORS, localAuth: ["api-key", "oauth", "vendor-cli"], binary: "cursor-agent", authFiles: [{ path: "~/.config/cursor/auth.json", contains: '"accessToken"' }], installer: HARNESS_INSTALLERS.cursor, loginArgv: ["login"], statusArgv: ["status", "--format", "json"], logoutArgv: ["logout"], modelArgvPrefix: ["--model"], workspaceArgvPrefix: ["--workspace"], permissionModes: ["ask", "bypass", "auto"], permissionArgv: { ask: { argv: [] }, bypass: { argv: ["--force"] }, auto: { argv: ["--auto-review"] } }, turn: { promptGuard: "double-dash", startArgv: ["-p", "--output-format", "stream-json", "--stream-partial-output"], resumeIdPrefix: ["--resume"], output: "json-lines", responseFields: ["result", "response", "text"] }, session: { createSessionArgv: ["create-chat"], resumeIdPrefix: ["--resume"] } },
|
|
440
|
+
{ command: "cline", quotaProbe: true, subagents: { read: "none", steer: "none" }, capabilities: { childActivity: false, thinking: true, plan: false, usage: true, toolOutput: true, backgroundAgents: false, backgroundTerminals: false, workflows: false }, freePlan: { suffix: ":free" }, provider: "cline", displayName: "Cline CLI", planMode: { option: "plan", value: true }, tier: "more", transport: "acp", integration: "structured", parser: "cline-json", memoryFile: "AGENTS.md", nativeSlashPassthrough: false, acp: { argv: ["--acp"], listsModels: true, planModeId: "plan", usageFile: { path: "~/.cline/data/sessions/{id}/{id}.json", field: ["metadata", "usage"] } }, effortValues: ["none", "low", "medium", "high", "xhigh"], normalizedPermissionOptionIds: ["auto-approve"], localAuth: ["api-key", "oauth", "vendor-cli"], binary: "cline", npmPackage: "cline", authFiles: [{ path: "~/.cline/data/settings/providers.json", contains: '"auth"' }, { path: "~/.cline/data/settings/providers.json", contains: '"apiKey"' }], loginArgv: ["auth"], loginAccountChoose: ["Sign in with Cline"], loginKeyRoutes: providerKeyRoutes(["Bring your own provider"], SHARED_PROVIDER_MENU_LABELS), modelArgvPrefix: ["--model"], workspaceArgvPrefix: ["--cwd"], effortArgvPrefix: ["--thinking"], permissionModes: ["ask", "bypass"], permissions: { ask: { argv: ["--auto-approve", "false"], acpModeId: "act" }, bypass: { argv: ["--auto-approve", "true"], acpModeId: "act" } }, turn: { startArgv: ["--json"], resumeIdPrefix: ["--id"], output: "json-lines", responseFields: ["text", "content", "result"] }, turnEnv: { CLINE_SESSION_BACKEND_MODE: "local" }, session: { resumeIdPrefix: ["--id"] } },
|
|
441
|
+
{ ...OPENCODE_FORK_BASE, command: "kilo", quotaProbe: true, subagents: { read: "none", steer: "none" }, capabilities: { childActivity: false, thinking: true, plan: false, usage: true, toolOutput: true, backgroundAgents: false, backgroundTerminals: false, workflows: false }, freePlan: { suffix: ":free" }, loginAccountChoose: ["Kilo Gateway"], provider: "kilo", displayName: "Kilo Code CLI", tier: "more", binary: "kilo", authFiles: [{ path: "${XDG_DATA_HOME:-~/.local/share}/kilo/auth.json", contains: '"type"' }], npmPackage: "@kilocode/cli", permissionModes: ["ask", "auto"], permissionArgv: { ask: { argv: [] }, auto: { argv: ["--auto"] } }, permissionEnv: { ask: { KILO_PERMISSION: '{"edit":"ask","bash":"ask"}' } } },
|
|
442
|
+
{ command: "cursor", quotaProbe: true, subagents: { read: "frames", steer: "none" }, capabilities: { childActivity: true, thinking: true, plan: true, usage: true, toolOutput: true, backgroundAgents: false, backgroundTerminals: false, workflows: false }, provider: "cursor", displayName: "Cursor Agent", planMode: { option: "mode", value: "plan" }, tier: "primary", transport: "acp", acp: { argv: ["acp"], inheritCliOptions: false, listsModels: true, planModeId: "plan" }, integration: "structured", parser: "cursor-stream-json", memoryFile: "AGENTS.md", nativeSlashPassthrough: false, customCommandDirs: [".cursor/commands", "~/.cursor/commands"], normalizedPermissionOptionIds: ["auto-review", "force"], replyErrorPatterns: CURSOR_REPLY_ERRORS, localAuth: ["api-key", "oauth", "vendor-cli"], binary: "cursor-agent", authFiles: [{ path: "~/.config/cursor/auth.json", contains: '"accessToken"' }], installer: HARNESS_INSTALLERS.cursor, loginArgv: ["login"], statusArgv: ["status", "--format", "json"], logoutArgv: ["logout"], modelArgvPrefix: ["--model"], workspaceArgvPrefix: ["--workspace"], permissionModes: ["ask", "bypass", "auto"], permissionArgv: { ask: { argv: [] }, bypass: { argv: ["--force"] }, auto: { argv: ["--auto-review"] } }, turn: { promptGuard: "double-dash", startArgv: ["-p", "--output-format", "stream-json", "--stream-partial-output"], resumeIdPrefix: ["--resume"], output: "json-lines", responseFields: ["result", "response", "text"] }, session: { createSessionArgv: ["create-chat"], resumeIdPrefix: ["--resume"] } },
|
|
494
443
|
// Hermes 0.20.5, read from hermes_cli/main.py (cmd_acp) and acp_adapter/{server,session}.py: `hermes acp` takes only --accept-hooks/--check/--setup,
|
|
495
444
|
// and cmd_acp never reads the top-level --model/--provider/--reasoning, so they are not passed (inheritCliOptions false). The model is chosen with
|
|
496
445
|
// session/set_model over the `provider:model` list session/new publishes. ACP has NO effort control: _make_agent builds AIAgent with no
|
|
@@ -507,7 +456,7 @@ var CATALOG_HARNESSES = [
|
|
|
507
456
|
// (it prints a notice and exits 0), so signing in is `hermes model`, and a
|
|
508
457
|
// single provider is `hermes auth add <provider>`, which picks OAuth or an
|
|
509
458
|
// API key for that provider itself.
|
|
510
|
-
{ command: "hermes", modelStrategy: "hermes-inventory", quotaProbe: true, nativeStateDir: ".hermes", effortHelpArgv: ["chat", "--help"], modelCatalogFiles: ["config.yaml", "provider_models_cache.json", "auth.json", ".env"], capabilities: { childActivity: false, thinking: false, plan: false, usage: true, toolOutput: true, backgroundAgents: false, backgroundTerminals: false, workflows: false }, freePlan: { suffix: ":free" }, loginAccountChoose: ["Nous Portal"], provider: "nous", displayName: "Hermes", tier: "more", transport: "acp", integration: "structured", parser: "text", memoryFile: "AGENTS.md", nativeSlashPassthrough: false, acp: { argv: ["acp"], inheritCliOptions: false, permissionArgv: { bypass: ["--yolo"] }, listsModels: false, usageTotals: "session" }, effortValues: ["none", "minimal", "low", "medium", "high", "xhigh", "max", "ultra"], normalizedPermissionOptionIds: ["yolo"], localAuth: ["api-key", "oauth", "vendor-cli"], binary: "hermes", installer: HARNESS_INSTALLERS.hermes, loginArgv: ["model"], loginKeyRoutes: providerKeyRoutes([], {
|
|
459
|
+
{ command: "hermes", modelStrategy: "hermes-inventory", quotaProbe: true, nativeStateDir: ".hermes", effortHelpArgv: ["chat", "--help"], modelCatalogFiles: ["config.yaml", "provider_models_cache.json", "auth.json", ".env"], subagents: { read: "none", steer: "none" }, capabilities: { childActivity: false, thinking: false, plan: false, usage: true, toolOutput: true, backgroundAgents: false, backgroundTerminals: false, workflows: false }, freePlan: { suffix: ":free" }, loginAccountChoose: ["Nous Portal"], provider: "nous", displayName: "Hermes", tier: "more", transport: "acp", integration: "structured", parser: "text", memoryFile: "AGENTS.md", nativeSlashPassthrough: false, acp: { argv: ["acp"], inheritCliOptions: false, permissionArgv: { bypass: ["--yolo"] }, listsModels: false, usageTotals: "session" }, effortValues: ["none", "minimal", "low", "medium", "high", "xhigh", "max", "ultra"], normalizedPermissionOptionIds: ["yolo"], localAuth: ["api-key", "oauth", "vendor-cli"], binary: "hermes", installer: HARNESS_INSTALLERS.hermes, loginArgv: ["model"], loginKeyRoutes: providerKeyRoutes([], {
|
|
511
460
|
anthropic: ["Anthropic", "Anthropic API key"],
|
|
512
461
|
openrouter: "OpenRouter",
|
|
513
462
|
openai: ["OpenAI", "OpenAI API"],
|
|
@@ -537,6 +486,7 @@ var CATALOG_HARNESSES = [
|
|
|
537
486
|
quotaProbe: { none: "`openclaw status --usage` prints provider usage snapshots, but its JSON shape could not be observed signed out, so no parser is written against it" },
|
|
538
487
|
nativeStateDir: ".openclaw",
|
|
539
488
|
modelCatalogFiles: ["openclaw.json", "agents/main/agent/openclaw-agent.sqlite"],
|
|
489
|
+
subagents: { read: "none", steer: "none" },
|
|
540
490
|
capabilities: { childActivity: false, thinking: false, plan: false, usage: true, toolOutput: false, backgroundAgents: false, backgroundTerminals: false, workflows: false },
|
|
541
491
|
provider: "openclaw",
|
|
542
492
|
displayName: "OpenClaw",
|
|
@@ -587,7 +537,7 @@ var CATALOG_HARNESSES = [
|
|
|
587
537
|
// shares the CLI's session files, but offers and accepts only Command
|
|
588
538
|
// Code's gateway models -- a BYOK model (`mock/mock-model` from
|
|
589
539
|
// providers.json) is "Unknown model" over ACP, while the CLI runs it.
|
|
590
|
-
{ command: "command", eventDialect: "command-code", quotaProbe: true, capabilities: { childActivity: false, thinking: false, plan: false, usage: false, toolOutput: true, backgroundAgents: false, backgroundTerminals: false, workflows: false }, provider: "command-code", displayName: "Command Code", planMode: { option: "plan", value: true }, tier: "more", transport: "acp", integration: "structured", parser: "generic-json", memoryFile: "AGENTS.md", nativeSlashPassthrough: false, acp: COMMAND_CODE_ACP, effortValues: ["off", "low", "medium", "high", "xhigh", "max"], profileEnvPassthrough: HOME_REDIRECT_ENV_PASSTHROUGH, localAuth: ["api-key", "oauth", "vendor-cli"], binary: "cmdc", authFiles: [{ path: "~/.commandcode/auth.json", contains: '"apiKey"' }], npmPackage: "command-code", loginArgv: ["login"], statusArgv: ["status"], logoutArgv: ["logout"], modelArgvPrefix: ["--model"], modelDiscoveryArgv: ["--list-models"], effortArgvPrefix: ["--effort"], permissionModes: ["ask", "bypass", "auto"], permissions: { ask: { argv: ["--permission-mode", "standard"], acpModeId: "default" }, bypass: { argv: ["--yolo"], acpModeId: "bypass" }, auto: { argv: ["--permission-mode", "auto-accept"], acpModeId: "auto-accept" } }, profileEnv: "HOME", turn: { startArgv: ["--print", "--output-format", "json", "--skip-onboarding", "--no-auto-update"], resumeIdPrefix: ["--resume"], output: "json-lines", responseFields: ["result", "response", "text"] }, session: { resumeIdPrefix: ["--resume"] } },
|
|
540
|
+
{ command: "command", eventDialect: "command-code", quotaProbe: true, subagents: { read: "none", steer: "none" }, capabilities: { childActivity: false, thinking: false, plan: false, usage: false, toolOutput: true, backgroundAgents: false, backgroundTerminals: false, workflows: false }, provider: "command-code", displayName: "Command Code", planMode: { option: "plan", value: true }, tier: "more", transport: "acp", integration: "structured", parser: "generic-json", memoryFile: "AGENTS.md", nativeSlashPassthrough: false, acp: COMMAND_CODE_ACP, effortValues: ["off", "low", "medium", "high", "xhigh", "max"], profileEnvPassthrough: HOME_REDIRECT_ENV_PASSTHROUGH, localAuth: ["api-key", "oauth", "vendor-cli"], binary: "cmdc", authFiles: [{ path: "~/.commandcode/auth.json", contains: '"apiKey"' }], npmPackage: "command-code", loginArgv: ["login"], statusArgv: ["status"], logoutArgv: ["logout"], modelArgvPrefix: ["--model"], modelDiscoveryArgv: ["--list-models"], effortArgvPrefix: ["--effort"], permissionModes: ["ask", "bypass", "auto"], permissions: { ask: { argv: ["--permission-mode", "standard"], acpModeId: "default" }, bypass: { argv: ["--yolo"], acpModeId: "bypass" }, auto: { argv: ["--permission-mode", "auto-accept"], acpModeId: "auto-accept" } }, profileEnv: "HOME", turn: { startArgv: ["--print", "--output-format", "json", "--skip-onboarding", "--no-auto-update"], resumeIdPrefix: ["--resume"], output: "json-lines", responseFields: ["result", "response", "text"] }, session: { resumeIdPrefix: ["--resume"] } },
|
|
591
541
|
// ---- Added from vendor documentation; none of these binaries was available
|
|
592
542
|
// to run live, so every one-shot contract below is `experimental` and only
|
|
593
543
|
// flags the vendor documents are declared. No session selectors are claimed:
|
|
@@ -610,7 +560,7 @@ var CATALOG_HARNESSES = [
|
|
|
610
560
|
// Its sign-in is two files: `login` writes the provider (and where its OAuth
|
|
611
561
|
// token lives) into config.toml, and the token into credentials/. Either
|
|
612
562
|
// alone is not a sign-in -- "no provider configured" without the first.
|
|
613
|
-
{ command: "kimi", quotaProbe: true, capabilities: { childActivity: false, thinking: true, plan: true, usage: true, toolOutput: true, backgroundAgents: false, backgroundTerminals: false, workflows: false }, provider: "kimi", displayName: "Kimi CLI", tier: "more", transport: "acp", integration: "structured", parser: "generic-json", memoryFile: "AGENTS.md", nativeSlashPassthrough: false, acp: { argv: ["acp"], inheritCliOptions: false, effortConfigId: "thinking", planModeId: "plan" }, planMode: { option: "plan", value: true }, effortValues: ["low", "high", "max"], experimental: true, localAuth: ["api-key", "oauth", "vendor-cli"], binary: "kimi", npmPackage: "@moonshot-ai/kimi-code", authFiles: [{ path: "${KIMI_CODE_HOME:-~/.kimi-code}/credentials/" }, { path: "${KIMI_CODE_HOME:-~/.kimi-code}/config.toml", contains: "[providers." }], authEnv: ["KIMI_API_KEY"], loginArgv: ["login", "--region", "global"], modelArgvPrefix: ["--model"], permissionModes: ["ask", "bypass", "auto"], permissions: { ask: { argv: [], acpModeId: "default" }, bypass: { argv: ["--auto"], acpModeId: "auto" }, auto: { argv: ["--yolo"], acpModeId: "yolo" } }, turn: { startArgv: ["--output-format", "stream-json"], promptArgvPrefix: ["--prompt"], output: "json-lines", responseFields: ["text", "content", "response", "result"] }, session: { resumeIdPrefix: ["--session"] } },
|
|
563
|
+
{ command: "kimi", quotaProbe: true, subagents: { read: "none", steer: "none" }, capabilities: { childActivity: false, thinking: true, plan: true, usage: true, toolOutput: true, backgroundAgents: false, backgroundTerminals: false, workflows: false }, provider: "kimi", displayName: "Kimi CLI", tier: "more", transport: "acp", integration: "structured", parser: "generic-json", memoryFile: "AGENTS.md", nativeSlashPassthrough: false, acp: { argv: ["acp"], inheritCliOptions: false, effortConfigId: "thinking", planModeId: "plan" }, planMode: { option: "plan", value: true }, effortValues: ["low", "high", "max"], experimental: true, localAuth: ["api-key", "oauth", "vendor-cli"], binary: "kimi", npmPackage: "@moonshot-ai/kimi-code", authFiles: [{ path: "${KIMI_CODE_HOME:-~/.kimi-code}/credentials/" }, { path: "${KIMI_CODE_HOME:-~/.kimi-code}/config.toml", contains: "[providers." }], authEnv: ["KIMI_API_KEY"], loginArgv: ["login", "--region", "global"], modelArgvPrefix: ["--model"], permissionModes: ["ask", "bypass", "auto"], permissions: { ask: { argv: [], acpModeId: "default" }, bypass: { argv: ["--auto"], acpModeId: "auto" }, auto: { argv: ["--yolo"], acpModeId: "yolo" } }, turn: { startArgv: ["--output-format", "stream-json"], promptArgvPrefix: ["--prompt"], output: "json-lines", responseFields: ["text", "content", "response", "result"] }, session: { resumeIdPrefix: ["--session"] } },
|
|
614
564
|
// Augment Auggie: `--print` with `--output-format json` returns one JSON
|
|
615
565
|
// document; `--acp` is documented. The JSON field holding the answer is not
|
|
616
566
|
// confirmed, so responseFields is the usual best-effort list.
|
|
@@ -627,7 +577,7 @@ var CATALOG_HARNESSES = [
|
|
|
627
577
|
// same session_id and appended its request to that `<id>.json` as the
|
|
628
578
|
// second exchange (one file, chatHistory 1 -> 2) -- the file is the history
|
|
629
579
|
// auggie sends. The account was out of usage, so the model's recall is unproved.
|
|
630
|
-
{ command: "auggie", quotaProbe: true, capabilities: { childActivity: false, thinking: true, plan: true, usage: true, toolOutput: true, backgroundAgents: false, backgroundTerminals: false, workflows: false }, provider: "augment", displayName: "Augment Auggie", replyErrorPatterns: AUGGIE_REPLY_ERRORS, planMode: { option: "ask", value: true }, tier: "more", transport: "acp", integration: "structured", parser: "generic-json", memoryFile: "AGENTS.md", nativeSlashPassthrough: false, customCommandDirs: [".augment/commands", "~/.augment/commands"], acp: { argv: ["--acp"] }, experimental: true, localAuth: ["oauth", "vendor-cli"], binary: "auggie", npmPackage: "@augmentcode/auggie", statusArgv: ["account", "status"], loginArgv: ["login", "--headless"], logoutArgv: ["logout"], modelDiscoveryArgv: ["model", "list"], modelArgvPrefix: ["--model"], workspaceArgvPrefix: ["--workspace-root"], effortValues: ["low", "medium", "high"], effortArgvPrefix: ["--reasoning-effort"], effortUnsupportedModels: ["^haiku4\\.5$"], imageArgvPrefix: ["--image"], turn: { startArgv: ["--print", "--output-format", "json"], resumeIdPrefix: ["--resume"], output: "json", responseFields: ["result", "response", "text"], quotaSignals: ["You have run out of usage for", "run out of usage"] }, session: { resumeIdPrefix: ["--resume"] } },
|
|
580
|
+
{ command: "auggie", quotaProbe: true, subagents: { read: "none", steer: "none" }, capabilities: { childActivity: false, thinking: true, plan: true, usage: true, toolOutput: true, backgroundAgents: false, backgroundTerminals: false, workflows: false }, provider: "augment", displayName: "Augment Auggie", replyErrorPatterns: AUGGIE_REPLY_ERRORS, planMode: { option: "ask", value: true }, tier: "more", transport: "acp", integration: "structured", parser: "generic-json", memoryFile: "AGENTS.md", nativeSlashPassthrough: false, customCommandDirs: [".augment/commands", "~/.augment/commands"], acp: { argv: ["--acp"] }, experimental: true, localAuth: ["oauth", "vendor-cli"], binary: "auggie", npmPackage: "@augmentcode/auggie", statusArgv: ["account", "status"], loginArgv: ["login", "--headless"], logoutArgv: ["logout"], modelDiscoveryArgv: ["model", "list"], modelArgvPrefix: ["--model"], workspaceArgvPrefix: ["--workspace-root"], effortValues: ["low", "medium", "high"], effortArgvPrefix: ["--reasoning-effort"], effortUnsupportedModels: ["^haiku4\\.5$"], imageArgvPrefix: ["--image"], turn: { startArgv: ["--print", "--output-format", "json"], resumeIdPrefix: ["--resume"], output: "json", responseFields: ["result", "response", "text"], quotaSignals: ["You have run out of usage for", "run out of usage"] }, session: { resumeIdPrefix: ["--resume"] } },
|
|
631
581
|
// Mistral Vibe ships ACP as a SEPARATE executable, `vibe-acp`, with no argv.
|
|
632
582
|
// `vibe --prompt` is its documented programmatic mode (plain text).
|
|
633
583
|
// Read from mistral-vibe on a real install (pip/uv, not npm, so there is no
|
|
@@ -639,7 +589,7 @@ var CATALOG_HARNESSES = [
|
|
|
639
589
|
// Sign-in (2026-10-03, real vibe signed out): the steps pass its animated
|
|
640
590
|
// welcome and theme screens; its method cards, provider choice, browser link
|
|
641
591
|
// and titled key field are read on ClikCode's screen.
|
|
642
|
-
{ command: "vibe", quotaProbe: true, nativeStateDir: ".vibe", modelCatalogFiles: ["config.toml"], capabilities: { childActivity: false, thinking: false, plan: false, usage: true, toolOutput: true, backgroundAgents: false, backgroundTerminals: false, workflows: false }, loginAccountChoose: ["Launch browser"], provider: "mistral-vibe", displayName: "Mistral Vibe", tier: "more", transport: "acp", integration: "structured", parser: "generic-json", memoryFile: "AGENTS.md", nativeSlashPassthrough: false, acp: { binary: "vibe-acp", argv: [], listsModels: true, usageTotals: "session", cumulativeChunks: true }, experimental: true, localAuth: ["api-key", "vendor-cli"], binary: "vibe", installer: HARNESS_INSTALLERS.vibe, loginArgv: ["--setup"], loginKeyRoutes: providerKeyRoutes([], { mistral: "Use an API key" }), loginSteps: [{ when: "Where do you sign in?", send: "{enter}" }, { when: "Welcome to Mistral Vibe - Let", send: "{enter}" }, { when: "Select your preferred theme", send: "{enter}" }], authFiles: [{ path: "${VIBE_HOME:-~/.vibe}/.env", contains: "MISTRAL_API_KEY=", removeLine: true }], authEnv: ["MISTRAL_API_KEY"], profileEnv: "VIBE_HOME", modelArgvPrefix: [], workspaceArgvPrefix: ["--workdir"], permissionModes: ["ask", "bypass", "auto"], permissionArgv: { ask: { argv: ["--agent", "ask"] }, bypass: { argv: ["--auto-approve"] }, auto: { argv: ["--smart-approve"] } }, turn: { startArgv: ["--output", "streaming"], promptArgvPrefix: ["--prompt"], output: "json-lines", responseFields: ["text", "content", "response", "result"] }, session: { resumeIdPrefix: ["--resume"] } },
|
|
592
|
+
{ command: "vibe", quotaProbe: true, nativeStateDir: ".vibe", modelCatalogFiles: ["config.toml"], subagents: { read: "none", steer: "none" }, capabilities: { childActivity: false, thinking: false, plan: false, usage: true, toolOutput: true, backgroundAgents: false, backgroundTerminals: false, workflows: false }, loginAccountChoose: ["Launch browser"], provider: "mistral-vibe", displayName: "Mistral Vibe", tier: "more", transport: "acp", integration: "structured", parser: "generic-json", memoryFile: "AGENTS.md", nativeSlashPassthrough: false, acp: { binary: "vibe-acp", argv: [], listsModels: true, usageTotals: "session", cumulativeChunks: true }, experimental: true, localAuth: ["api-key", "vendor-cli"], binary: "vibe", installer: HARNESS_INSTALLERS.vibe, loginArgv: ["--setup"], loginKeyRoutes: providerKeyRoutes([], { mistral: "Use an API key" }), loginSteps: [{ when: "Where do you sign in?", send: "{enter}" }, { when: "Welcome to Mistral Vibe - Let", send: "{enter}" }, { when: "Select your preferred theme", send: "{enter}" }], authFiles: [{ path: "${VIBE_HOME:-~/.vibe}/.env", contains: "MISTRAL_API_KEY=", removeLine: true }], authEnv: ["MISTRAL_API_KEY"], profileEnv: "VIBE_HOME", modelArgvPrefix: [], workspaceArgvPrefix: ["--workdir"], permissionModes: ["ask", "bypass", "auto"], permissionArgv: { ask: { argv: ["--agent", "ask"] }, bypass: { argv: ["--auto-approve"] }, auto: { argv: ["--smart-approve"] } }, turn: { startArgv: ["--output", "streaming"], promptArgvPrefix: ["--prompt"], output: "json-lines", responseFields: ["text", "content", "response", "result"] }, session: { resumeIdPrefix: ["--resume"] } },
|
|
643
593
|
// OpenHands CLI: `openhands acp` is documented; headless is `--headless`
|
|
644
594
|
// with the task in `-t`. Its JSON event mode is left undeclared.
|
|
645
595
|
// Checked against the real CLI (OpenHands SDK v1.21.0, `uv tool install
|
|
@@ -654,7 +604,7 @@ var CATALOG_HARNESSES = [
|
|
|
654
604
|
// auto-approves by definition ("no UI output, auto-approve actions"), so an
|
|
655
605
|
// `ask` mode on this path would be a promise the CLI cannot keep. The ACP
|
|
656
606
|
// path above is the one that can actually prompt.
|
|
657
|
-
{ command: "openhands", quotaProbe: { none: "`openhands --help` has no usage command; cloud billing is on the web only" }, capabilities: { childActivity: false, thinking: false, plan: false, usage: true, toolOutput: true, backgroundAgents: false, backgroundTerminals: false, workflows: false }, provider: "openhands", displayName: "OpenHands CLI", tier: "more", transport: "acp", integration: "structured", parser: "generic-json", memoryFile: "AGENTS.md", nativeSlashPassthrough: false, acp: { argv: ["acp"] }, experimental: true, localAuth: ["api-key", "vendor-cli"], binary: "openhands", installer: HARNESS_INSTALLERS.openhands, authFiles: [{ path: "${OPENHANDS_PERSISTENCE_DIR:-~/.openhands}/cloud/api_key.txt" }, { path: "${OPENHANDS_PERSISTENCE_DIR:-~/.openhands}/agent_settings.json", contains: "api_key" }], authEnv: ["LLM_API_KEY"], loginArgv: ["login"], logoutArgv: ["logout"], permissionModes: ["bypass", "auto"], permissionArgv: { bypass: { argv: ["--always-approve"] }, auto: { argv: ["--llm-approve"] } }, turn: { startArgv: ["--headless", "--json"], promptArgvPrefix: ["-t"], output: "json-lines", responseFields: ["text", "content", "response", "result"] }, session: { resumeIdPrefix: ["--resume"] } },
|
|
607
|
+
{ command: "openhands", quotaProbe: { none: "`openhands --help` has no usage command; cloud billing is on the web only" }, subagents: { read: "none", steer: "none" }, capabilities: { childActivity: false, thinking: false, plan: false, usage: true, toolOutput: true, backgroundAgents: false, backgroundTerminals: false, workflows: false }, provider: "openhands", displayName: "OpenHands CLI", tier: "more", transport: "acp", integration: "structured", parser: "generic-json", memoryFile: "AGENTS.md", nativeSlashPassthrough: false, acp: { argv: ["acp"] }, experimental: true, localAuth: ["api-key", "vendor-cli"], binary: "openhands", installer: HARNESS_INSTALLERS.openhands, authFiles: [{ path: "${OPENHANDS_PERSISTENCE_DIR:-~/.openhands}/cloud/api_key.txt" }, { path: "${OPENHANDS_PERSISTENCE_DIR:-~/.openhands}/agent_settings.json", contains: "api_key" }], authEnv: ["LLM_API_KEY"], loginArgv: ["login"], logoutArgv: ["logout"], permissionModes: ["bypass", "auto"], permissionArgv: { bypass: { argv: ["--always-approve"] }, auto: { argv: ["--llm-approve"] } }, turn: { startArgv: ["--headless", "--json"], promptArgvPrefix: ["-t"], output: "json-lines", responseFields: ["text", "content", "response", "result"] }, session: { resumeIdPrefix: ["--resume"] } },
|
|
658
608
|
// Continue CLI: `cn -p` is the documented headless mode and prints the final
|
|
659
609
|
// answer as text. No ACP mode is declared because none is documented.
|
|
660
610
|
// Flags read from `cn --help` on a real install: -p/--print for headless,
|
|
@@ -665,7 +615,7 @@ var CATALOG_HARNESSES = [
|
|
|
665
615
|
// fails at the one moment it matters.
|
|
666
616
|
// cn 1.5.47 has no model selector: `--model <slug>` ADDS a hub model (owner/package), so a
|
|
667
617
|
// plain model id is not passed; the model comes from the assistant's config.yaml / --config.
|
|
668
|
-
{ command: "cn", quotaProbe: { none: "`cn --help` has no usage, status or quota command" }, capabilities: { childActivity: false, thinking: false, plan: false, usage: false, toolOutput: false, backgroundAgents: false, backgroundTerminals: false, workflows: false }, provider: "continue", displayName: "Continue", tier: "more", transport: "text-cli", integration: "compatibility", parser: "text", memoryFile: "AGENTS.md", nativeSlashPassthrough: false, experimental: true, localAuth: ["api-key", "oauth", "vendor-cli"], binary: "cn", npmPackage: "@continuedev/cli", loginArgv: [], authFiles: [{ path: "${CONTINUE_GLOBAL_DIR:-~/.continue}/config.yaml", contains: "apiKey:" }], authEnv: ["ANTHROPIC_API_KEY"], planMode: { option: "readonly", value: true }, permissionModes: ["ask", "bypass"], permissionArgv: { ask: { argv: [] }, bypass: { argv: ["--auto"] } }, turn: { startArgv: [], promptArgvPrefix: ["-p"], output: "text" } },
|
|
618
|
+
{ command: "cn", quotaProbe: { none: "`cn --help` has no usage, status or quota command" }, subagents: { read: "none", steer: "none" }, capabilities: { childActivity: false, thinking: false, plan: false, usage: false, toolOutput: false, backgroundAgents: false, backgroundTerminals: false, workflows: false }, provider: "continue", displayName: "Continue", tier: "more", transport: "text-cli", integration: "compatibility", parser: "text", memoryFile: "AGENTS.md", nativeSlashPassthrough: false, experimental: true, localAuth: ["api-key", "oauth", "vendor-cli"], binary: "cn", npmPackage: "@continuedev/cli", loginArgv: [], authFiles: [{ path: "${CONTINUE_GLOBAL_DIR:-~/.continue}/config.yaml", contains: "apiKey:" }], authEnv: ["ANTHROPIC_API_KEY"], planMode: { option: "readonly", value: true }, permissionModes: ["ask", "bypass"], permissionArgv: { ask: { argv: [] }, bypass: { argv: ["--auto"] } }, turn: { stateless: true, startArgv: [], promptArgvPrefix: ["-p"], output: "text" } },
|
|
669
619
|
// ACP entrypoints checked against each vendor's own source. Devin CLI and
|
|
670
620
|
// MiniMax Code also have session stores and native-thread writers, and
|
|
671
621
|
// their failover carry was verified live on 2026-10-05: Devin with signed-in
|
|
@@ -678,6 +628,7 @@ var CATALOG_HARNESSES = [
|
|
|
678
628
|
{
|
|
679
629
|
command: "dcode",
|
|
680
630
|
quotaProbe: { none: "`dcode --help` / `dcode auth` list provider keys only, no quota read" },
|
|
631
|
+
subagents: { read: "none", steer: "none" },
|
|
681
632
|
capabilities: { childActivity: false, thinking: false, plan: false, usage: false, toolOutput: true, backgroundAgents: false, backgroundTerminals: false, workflows: false },
|
|
682
633
|
provider: "deepagents-code",
|
|
683
634
|
displayName: "Deep Agents Code",
|
|
@@ -705,15 +656,15 @@ var CATALOG_HARNESSES = [
|
|
|
705
656
|
// devin 3000.11.3 session/new: starts in `accept-edits` (workspace edits auto-approved) and offers
|
|
706
657
|
// modes accept-edits|smart|ask|plan|bypass (configOptions id `mode`, category `mode`). `ask` is its
|
|
707
658
|
// read-only Q&A mode, the strict end of ClikCode's ask.
|
|
708
|
-
{ command: "devin", quotaProbe: true, capabilities: { childActivity: false, thinking: false, plan: false, usage: false, toolOutput: true, backgroundAgents: false, backgroundTerminals: false, workflows: false }, freePlan: { listed: true }, loginAccountChoose: ["Log in with browser"], provider: "devin", displayName: "Devin CLI", tier: "more", transport: "acp", integration: "structured", parser: "text", memoryFile: "AGENTS.md", nativeSlashPassthrough: false, acp: { argv: ["acp"], optionPlacement: "after", permissionModeIds: { ask: "ask", auto: "smart", bypass: "bypass" }, planModeId: "plan" }, permissionModes: ["ask", "auto", "bypass"], localAuth: ["oauth", "api-key", "vendor-cli"], binary: "devin", authFiles: [{ path: "${XDG_DATA_HOME:-~/.local/share}/devin/credentials.toml", contains: "api_key" }], installer: HARNESS_INSTALLERS.devin, loginArgv: ["auth", "login"], statusArgv: ["auth", "status"], logoutArgv: ["auth", "logout"], authEnv: ["WINDSURF_API_KEY"], modelArgvPrefix: ["--model"] },
|
|
659
|
+
{ command: "devin", quotaProbe: true, subagents: { read: "none", steer: "none" }, capabilities: { childActivity: false, thinking: false, plan: false, usage: false, toolOutput: true, backgroundAgents: false, backgroundTerminals: false, workflows: false }, freePlan: { listed: true }, loginAccountChoose: ["Log in with browser"], provider: "devin", displayName: "Devin CLI", tier: "more", transport: "acp", integration: "structured", parser: "text", memoryFile: "AGENTS.md", nativeSlashPassthrough: false, acp: { argv: ["acp"], optionPlacement: "after", permissionModeIds: { ask: "ask", auto: "smart", bypass: "bypass" }, planModeId: "plan" }, permissionModes: ["ask", "auto", "bypass"], localAuth: ["oauth", "api-key", "vendor-cli"], binary: "devin", authFiles: [{ path: "${XDG_DATA_HOME:-~/.local/share}/devin/credentials.toml", contains: "api_key" }], installer: HARNESS_INSTALLERS.devin, loginArgv: ["auth", "login"], statusArgv: ["auth", "status"], logoutArgv: ["auth", "logout"], authEnv: ["WINDSURF_API_KEY"], modelArgvPrefix: ["--model"] },
|
|
709
660
|
// junie 26.9.22 initialize (vendor-sandbox, 2026-10-11): `_meta.steering.supported: true`. Checked 2026-10-12: it does NOT answer `_session/steering`
|
|
710
661
|
// as claude-agent-acp does (idle, with `promptRequired`, it answers `startedNewTurn`), so `acp.steering: false` keeps ClikCode from steering it. session/new (signed in): modes default|plan, config
|
|
711
662
|
// options mode, model, effort (low|medium|high), brave_mode (brave-auto|on|off) -- brave_mode is a config option, not a mode id, so no permission mapping.
|
|
712
|
-
{ command: "junie", quotaProbe: { none: "`junie --help` has no usage or quota command" }, capabilities: { childActivity: false, thinking: false, plan: false, usage: false, toolOutput: true, backgroundAgents: false, backgroundTerminals: false, workflows: false }, provider: "junie", displayName: "Junie CLI", tier: "experimental", transport: "acp", integration: "structured", parser: "text", memoryFile: "AGENTS.md", nativeSlashPassthrough: false, experimental: true, acp: { argv: ["--acp", "true"], effortConfigId: "effort", planModeId: "plan", steering: false }, localAuth: ["oauth", "api-key", "vendor-cli"], binary: "junie", authFiles: [{ path: "~/.junie/secure_credentials.json", contains: "jb-account-stored" }], installer: HARNESS_INSTALLERS.junie, loginArgv: [], authEnv: ["JUNIE_API_KEY", "ANTHROPIC_API_KEY", "OPENAI_API_KEY"], modelArgvPrefix: ["--model"], effortArgvPrefix: ["--effort"], effortValues: ["low", "medium", "high"] },
|
|
663
|
+
{ command: "junie", quotaProbe: { none: "`junie --help` has no usage or quota command" }, subagents: { read: "none", steer: "none" }, capabilities: { childActivity: false, thinking: false, plan: false, usage: false, toolOutput: true, backgroundAgents: false, backgroundTerminals: false, workflows: false }, provider: "junie", displayName: "Junie CLI", tier: "experimental", transport: "acp", integration: "structured", parser: "text", memoryFile: "AGENTS.md", nativeSlashPassthrough: false, experimental: true, acp: { argv: ["--acp", "true"], effortConfigId: "effort", planModeId: "plan", steering: false }, localAuth: ["oauth", "api-key", "vendor-cli"], binary: "junie", authFiles: [{ path: "~/.junie/secure_credentials.json", contains: "jb-account-stored" }], installer: HARNESS_INSTALLERS.junie, loginArgv: [], authEnv: ["JUNIE_API_KEY", "ANTHROPIC_API_KEY", "OPENAI_API_KEY"], modelArgvPrefix: ["--model"], effortArgvPrefix: ["--effort"], effortValues: ["low", "medium", "high"] },
|
|
713
664
|
// Sign-in evidence: the OAuth record `mcode login` writes under
|
|
714
665
|
// ~/.minimax/auth/prod/<region>/<client>/auth.json (vendor-identity.ts
|
|
715
666
|
// reads the same record for the account's email).
|
|
716
|
-
{ command: "mcode", quotaProbe: { none: "`mcode --help` could not be run under the sandbox (it writes ~/.minimax-code); no usage command known" }, capabilities: { childActivity: false, thinking: false, plan: false, usage: false, toolOutput: true, backgroundAgents: false, backgroundTerminals: false, workflows: false }, provider: "minimax-code", displayName: "MiniMax Code", tier: "experimental", transport: "acp", integration: "structured", parser: "text", memoryFile: "AGENTS.md", nativeSlashPassthrough: false, experimental: true, acp: { argv: ["acp"] }, localAuth: ["oauth", "api-key", "vendor-cli"], binary: "mcode", installer: HARNESS_INSTALLERS.mcode, loginArgv: ["login", "--region", "global"], logoutArgv: ["logout"], authFiles: [{ path: "~/.minimax/auth/prod/*/*/auth.json", contains: '"accessToken"' }], authEnv: ["MCODE_PROVIDER_API_KEY"] }
|
|
667
|
+
{ command: "mcode", quotaProbe: { none: "`mcode --help` could not be run under the sandbox (it writes ~/.minimax-code); no usage command known" }, subagents: { read: "none", steer: "none" }, capabilities: { childActivity: false, thinking: false, plan: false, usage: false, toolOutput: true, backgroundAgents: false, backgroundTerminals: false, workflows: false }, provider: "minimax-code", displayName: "MiniMax Code", tier: "experimental", transport: "acp", integration: "structured", parser: "text", memoryFile: "AGENTS.md", nativeSlashPassthrough: false, experimental: true, acp: { argv: ["acp"] }, localAuth: ["oauth", "api-key", "vendor-cli"], binary: "mcode", installer: HARNESS_INSTALLERS.mcode, loginArgv: ["login", "--region", "global"], logoutArgv: ["logout"], authFiles: [{ path: "~/.minimax/auth/prod/*/*/auth.json", contains: '"accessToken"' }], authEnv: ["MCODE_PROVIDER_API_KEY"] }
|
|
717
668
|
];
|
|
718
669
|
var SANDBOX_TURN = '`clikcode send --harness <h> "Reply with the single word PONG"` under scripts/vendor-sandbox.mjs --auth <h>';
|
|
719
670
|
var LIVE_CHECKS = {
|
|
@@ -961,7 +912,7 @@ var AI_LOCAL_HARNESS_CAPABILITIES = {
|
|
|
961
912
|
flag("disable-skills", "Disable skills", "Disable slash-command and skill expansion", "tools", ["--disable-slash-commands"])
|
|
962
913
|
],
|
|
963
914
|
managers: {
|
|
964
|
-
mcp: { label: "MCP servers", listArgv: ["mcp", "list"], manageArgv: ["mcp"] },
|
|
915
|
+
mcp: { label: "MCP servers", serverFiles: [{ homeRelative: [".gemini", "config", "mcp_config.json"], format: "json", key: ["mcpServers"], dialect: "mcp-servers" }], listArgv: ["mcp", "list"], manageArgv: ["mcp"] },
|
|
965
916
|
plugins: { label: "Plugins", listArgv: ["plugin", "list"], manageArgv: ["plugin"] },
|
|
966
917
|
agents: { label: "Agents", listArgv: ["agents"], manageArgv: ["agents"] }
|
|
967
918
|
},
|
|
@@ -1130,7 +1081,33 @@ var AI_LOCAL_HARNESS_CAPABILITIES = {
|
|
|
1130
1081
|
value("add-dir", "Additional directories", "Additional working directories for file access", "context", ["--add-dir"], "path-list", { argvStyle: "repeat" }),
|
|
1131
1082
|
flag("worktree", "Managed worktree", "Run inside a Git worktree under $VIBE_HOME/worktrees", "session", ["--worktree"], { requiresNewSession: true })
|
|
1132
1083
|
],
|
|
1133
|
-
managers: { mcp: { label: "MCP servers", manageArgv: ["mcp"] } }
|
|
1084
|
+
managers: { mcp: { label: "MCP servers", serverFiles: [{ homeRelative: [".vibe", "config.toml"], rootRelative: ["config.toml"], rootEnv: "VIBE_HOME", format: "toml", key: ["mcp_servers"], dialect: "mcp-servers" }], manageArgv: ["mcp"] } }
|
|
1085
|
+
},
|
|
1086
|
+
dcode: {
|
|
1087
|
+
options: [],
|
|
1088
|
+
managers: { mcp: { label: "MCP servers", serverFiles: [
|
|
1089
|
+
{ homeRelative: [".deepagents", ".mcp.json"], format: "json", key: ["mcpServers"], dialect: "mcp-servers" },
|
|
1090
|
+
{ projectRelative: [".deepagents", ".mcp.json"], format: "json", key: ["mcpServers"], dialect: "mcp-servers" }
|
|
1091
|
+
] } }
|
|
1092
|
+
},
|
|
1093
|
+
junie: {
|
|
1094
|
+
options: [],
|
|
1095
|
+
managers: { mcp: { label: "MCP servers", serverFiles: [
|
|
1096
|
+
{ homeRelative: [".junie", "mcp", "mcp.json"], format: "json", key: ["mcpServers"], dialect: "mcp-servers" },
|
|
1097
|
+
{ projectRelative: [".junie", "mcp", "mcp.json"], format: "json", key: ["mcpServers"], dialect: "mcp-servers" }
|
|
1098
|
+
] } }
|
|
1099
|
+
},
|
|
1100
|
+
devin: {
|
|
1101
|
+
options: [],
|
|
1102
|
+
managers: { mcp: { label: "MCP servers", serverFiles: [
|
|
1103
|
+
{ homeRelative: [".config", "devin", "mcp_config.json"], format: "json", key: ["mcpServers"], dialect: "mcp-servers" },
|
|
1104
|
+
{ projectRelative: [".devin", "mcp_config.json"], format: "json", key: ["mcpServers"], dialect: "mcp-servers" },
|
|
1105
|
+
{ projectRelative: [".devin", "mcp_config.local.json"], format: "json", key: ["mcpServers"], dialect: "mcp-servers" }
|
|
1106
|
+
] } }
|
|
1107
|
+
},
|
|
1108
|
+
mcode: {
|
|
1109
|
+
options: [],
|
|
1110
|
+
managers: { mcp: { label: "MCP servers", serverFiles: [{ projectRelative: [".mcp.json"], format: "json", key: ["mcpServers"], dialect: "mcp-servers" }] } }
|
|
1134
1111
|
},
|
|
1135
1112
|
// `openclaw agent` (2026.9.6). --agent, --session-id/--session-key,
|
|
1136
1113
|
// --model, --thinking and --message are the turn itself; delivery flags
|
|
@@ -1350,7 +1327,7 @@ function nativeHarnessTurnArgv(harness, input) {
|
|
|
1350
1327
|
const carriesProvider = Boolean(input.model && harness.modelProviderArgvPrefix && splitHarnessModel(harness, input.model));
|
|
1351
1328
|
const { provider: _provider, ...withoutProvider } = input.options ?? {};
|
|
1352
1329
|
appendDeclaredHarnessOptions(argv, harness, carriesProvider ? withoutProvider : input.options, resumed);
|
|
1353
|
-
if (harness.imageArgvPrefix) for (const image of input.images ?? []) {
|
|
1330
|
+
if (harness.imageArgvPrefix && harness.turn.stdinFormat !== "pi-rpc") for (const image of input.images ?? []) {
|
|
1354
1331
|
if (harness.imageArgvStyle === "concatenated") {
|
|
1355
1332
|
const prefix = harness.imageArgvPrefix.join("");
|
|
1356
1333
|
argv.push(`${prefix}${image}`);
|
|
@@ -1463,8 +1440,13 @@ function harnessSupportsEffort(harness) {
|
|
|
1463
1440
|
function harnessSupportsModelSelection(harness) {
|
|
1464
1441
|
return harness.modelArgvPrefix !== void 0 || Boolean(harness.acp && harness.acp.listsModels !== false);
|
|
1465
1442
|
}
|
|
1443
|
+
function permissionModeRefusedHere(harness, mode) {
|
|
1444
|
+
if (mode !== "bypass" || !harness.bypassRefusedAsRoot || typeof process === "undefined") return false;
|
|
1445
|
+
return process.getuid?.() === 0 && !process.env.IS_SANDBOX;
|
|
1446
|
+
}
|
|
1466
1447
|
function harnessSupportsPermissionMode(harness, mode) {
|
|
1467
1448
|
if (!harness.permissionModes?.includes(mode)) return false;
|
|
1449
|
+
if (permissionModeRefusedHere(harness, mode)) return false;
|
|
1468
1450
|
return Boolean(harness.permissionArgv?.[mode] ?? harness.permissionEnv?.[mode] ?? harness.acp?.permissionModeIds?.[mode]);
|
|
1469
1451
|
}
|
|
1470
1452
|
function harnessSupportsImages(harness) {
|
|
@@ -2008,6 +1990,7 @@ function getAiProvider(id) {
|
|
|
2008
1990
|
modelProvider,
|
|
2009
1991
|
modelSelectorArgv,
|
|
2010
1992
|
nativeHarnessTurnArgv,
|
|
1993
|
+
permissionModeRefusedHere,
|
|
2011
1994
|
promptExceedsArgvLimit,
|
|
2012
1995
|
registerCustomHarnesses,
|
|
2013
1996
|
splitHarnessModel,
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
// ClikCode (program
|
|
2
|
+
// ClikCode (program 92c56e05ff732e39). Written by scripts/build.mjs; the program is cli.js.
|
|
3
3
|
import module from 'node:module';
|
|
4
4
|
import { homedir } from 'node:os';
|
|
5
5
|
import { join } from 'node:path';
|
|
Binary file
|