Repository navigation
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: needs maintainer review before merge. What this changesClassifies three existing inference preflight guards as expected CLI errors so JSON-mode stderr shows their recovery instructions. Example: Run
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep this PR open: it provides a focused, correct fix for misleading inference diagnostics that remain on current main; no actionable findings remain, and exact-head CI is running. Priority: P2 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe inference CLI validates fetch availability and embedding flags before execution, then forwards errors through the shared command wrapper to the root renderer, which owns stderr diagnostics and JSON failure envelopes. flowchart TD
A[Inference CLI arguments] --> B[Web and embedding preflight guards]
B --> C[Expected CLI error]
C --> D[Shared command wrapper]
D --> E[Root failure renderer]
E --> F[JSON stdout]
E --> G[Actionable stderr]
Technical reviewBest possible solution: Keep the existing preflight guards and classify their failures through the shared expected-error helper and root renderer. Do we have a high-confidence way to reproduce the issue? Current main still throws ordinary Errors at all three guards, which the shared JSON-mode path renders generically; supplied baseline/candidate CLI receipts confirm the failure without executing target code during this review. Is this the best way to solve the issue? This is the smallest complete fix: known preflight failures must retain their existing remedies on stderr, and producer-side classification satisfies that invariant without changing rendering, provider execution or arbitrary runtime failures. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 89ee0bd382d1. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource +2, Tests -1. Total +1 across 4 files. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. Review metrics
LabelsLabel changes:
Label justifications:
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment HistoryReviewed November 15, 2026, 11:55 AM ET / 16:55 UTC (Revision 3). |
|
@clawsweeper re-review Updated head |
|
🦞👀 Re-review progress:
|
|
Validated head All final checks ran on the host through ocx. The merge-base diff contains only the two capability owners and two existing test files; no package manifest, lockfile, workspace, npmrc, scripts, patches or hooks changed. Runtime proof used an isolated HOME/profile and synthetic configuration, with no provider credentials, Gateway or model. Before / afterBaseline vitest-source: the same source: the real CLI ran these three preflights once per side, each in text and JSON mode (six cases per side). Commands use the current registered With Candidate stderr contained exactly the existing message: Controls passed for every case: exit 1 on both sides; JSON stdout byte-identical; text-mode stdout/stderr byte-identical; configuration bytes unchanged. Example unchanged JSON: {"ok":false,"error":{"type":"cli_error","message":"web.fetch is disabled. Set tools.web.fetch.enabled=true to enable it."}}No provider requestA passive runtime preload recorded calls to fetch, HTTP(S), socket-connect, DNS and Undici request APIs, forwarding calls to their original implementations without changing responses or injecting errors. It loaded in the CLI and its Node children. A real loopback HTTP positive control returned One candidate setup attempt was stopped before CLI execution because placing the observation option in ocx's own environment changed its dependency-cache key. Observation was moved into the runtime launcher, after dependency preparation; the final source matrix passed against the normal shared install. No product code changed for that correction. Packaging and test consolidationfull: Matching test typecheck ( Removed the new 132-line standalone fixture. The existing aggregate now covers all fetch-availability branches, and its existing embedding helper covers the conflict. Existing embedding success, cleanup-failure and cancellation cases remain. The removed raw-error duplication belongs to the unchanged shared error renderer/forwarder. Whole-PR deltas: production +5/-3, tests +20/-21 (net -1), four files, no allocation record. No new message text. Worktrunk/commit hooks were disabled and packing skipped lifecycle scripts. The abandoned ocx dependency-setup attempt did run unchanged dependency lifecycle scripts on the host; no Git or Worktrunk hooks ran. No live vendor API, successful live inference or fresh dependency-install behavior is claimed. |
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
Landed in a403492. Thanks @Leon-SK668. |
|
Thanks @obviyus for folding the regressions into the existing suite and validating the real CLI path. |
…law#199639) fix(cli): report infer preflight errors through the expected-error path `openclaw infer ... --json` threw plain errors for three checks that run before any request (web fetch disabled, a pinned web fetch provider that is unavailable, and an embedding `--provider` that conflicts with the provider in `--model`), so `--json` stderr showed the generic failure plus the Doctor hint instead of the existing message. The three checks now use the expected-error path with the same messages, following openclaw#198662. No new text. Evidence: host, isolated config, no network or provider credentials. Source CLI with --json and in text mode: `infer web fetch --url https://example.invalid` with web fetch disabled, `infer web fetch --url ... --provider nosuch`, and `infer embedding create --provider openai --model voyage/x --text hi`. Base prints the generic failure and Doctor hint, this change prints the existing message; text mode, JSON stdout and exit codes are identical, and neither side made a network call (positive control confirmed the watcher). Vitest-source: four cases fail on base, 118 pass here; typecheck, full build and packed smoke pass. Receipts: openclaw#199639 (comment). Thanks @Leon-SK668. Co-authored-by: Ayaan Zaidi <[email protected]>
What Problem This Solves
Current maintainer validation on
08483cd947f1950648f332975bb11392e228634f: before/after receipts. All three CLI preflights preserve stdout, text-mode diagnostics and exit codes, with zero observed network API calls. The aggregate passed 118 tests; baseline had four intended failures. Matching test types, full DTS build and offline packed-entry smoke passed. Both original contributor commits are retained.Fixes:
infer --jsondirects operators to Doctor instead of showing the existing reason when web fetching is disabled, a pinned fetch provider is unavailable, or embedding provider/model flags conflict.Why This Change Was Made
Classify three owner-produced preflight guards with the existing expected-error helper, covering both default and pinned fetch branches together. Execution, provider results and arbitrary provider failures retain their current owners and classifications.
Existing-solutions preflight: reuse the established helper and root renderer, as in the merged capability inspection remedy. No new formatting layer. The active query/document-input and per-call fetch-budget proposals concern separate capabilities; their inspected diffs retain these ordinary-error guards.
User Impact
User impact: stderr names the setting or flag to correct. JSON stdout, messages, exit1, provider selection and successful inference semantics retain their existing behavior. No configuration/defaults, protocol/schema, dependency or migration changes.
Scope: 4 files. Production +5/-3 (net +2); tests +20/-21 (net -1). Preflight regressions are consolidated into the existing capability aggregate and embedding support; the new standalone fixture was removed. No generated/lock files or allocation record.
Evidence
Current-head validation and complete stream/network receipts: #199639 (comment)
Historical contributor evidence on 7d0c4ae (retained for provenance)
48b92409887ac4e7b8c67883918a3fee2d9250c9at 2026-11-15T14:07:06.086Z; GREEN7d0c4aed09d9f9eaa30b4d07dd680479686a8c0cat 2026-11-15T15:24:03.532Z.infer list --jsonandinfer web providers --jsoncontrols exit0; isolated config bytes remain unchanged after every command. The frozen native driver only exercises local preflight/catalog paths.OPENCLAW_VITEST_RUNTIME=node node scripts/run-vitest.mjs src/cli/capability-cli.test.ts src/cli/capability-cli/preflight-errors.test.ts src/cli/failure-output.test.ts src/cli/failure-output.contention.test.ts --maxWorkers=1 --reporter=dot: 149 passed, exit0,255.46s wrapper across2shards. This includes the complete capability aggregate, the six focused preflight/identity cases and both root-renderer files.tsgo, typedoxlint,oxfmtandgit diff --checkpass. Exact-head nativenode --import ./scripts/tsx.mjs scripts/build-all.mts sourcePerformancebuild passes in234.2s, not a full release/package check.An early focused test attempt exceeded its120s deadline during one-time subprocess compilation. The existing collection-time preparation import moves that setup before test deadlines; timeouts/assertions were not relaxed.
Native baseline48b924 and branch base7d7d86bb have identical touched/shared/root-renderer blobs. The final followup changes tests only; complete native proof was nevertheless rebuilt and rerun on the published candidate above.
Not tested: successful live web/embedding calls, vendor APIs, installed upgrades, macOS/Windows, full release packaging or upstream CI. No live-inference or Codex-runtime claim is made.
Exact-head proof receipt
Captured native before/after readback
{ "before": { "status": "PASS", "phase": "red", "head": "48b92409887ac4e7b8c67883918a3fee2d9250c9", "buildCommit": "48b92409887ac4e7b8c67883918a3fee2d9250c9", "node": "v24.22.1", "capturedAt": "2026-11-15T14:07:06.086Z", "driverSha256": "3b890e8c81d0d86316790db13128413eaa0dfff4272a205ca823aab481abe1c1", "observations": [ { "args": [ "infer", "web", "fetch", "--url", "https://example.invalid", "--json" ], "exit": 1, "stdout": "{\n \"ok\": false,\n \"error\": {\n \"type\": \"cli_error\",\n \"message\": \"web.fetch is disabled. Set tools.web.fetch.enabled=true to enable it.\"\n }\n}\n", "stderr": "[openclaw] The CLI command failed.\n[openclaw] For help, run `openclaw doctor`.\n", "hasActionableStderr": false }, { "args": [ "infer", "web", "fetch", "--url", "https://example.invalid", "--provider", "unavailable-proof-provider", "--json" ], "exit": 1, "stdout": "{\n \"ok\": false,\n \"error\": {\n \"type\": \"cli_error\",\n \"message\": \"web.fetch is disabled. Set tools.web.fetch.enabled=true to enable it.\"\n }\n}\n", "stderr": "[openclaw] The CLI command failed.\n[openclaw] For help, run `openclaw doctor`.\n", "hasActionableStderr": false }, { "args": [ "infer", "web", "fetch", "--url", "https://example.invalid", "--provider", "unavailable-proof-provider", "--json" ], "exit": 1, "stdout": "{\n \"ok\": false,\n \"error\": {\n \"type\": \"cli_error\",\n \"message\": \"web.fetch provider \\\"unavailable-proof-provider\\\" is not available; check it with `openclaw infer web providers`.\"\n }\n}\n", "stderr": "[openclaw] The CLI command failed.\n[openclaw] For help, run `openclaw doctor`.\n", "hasActionableStderr": false }, { "args": [ "infer", "embedding", "create", "--text", "probe", "--provider", "proof-a", "--model", "proof-b/model", "--json" ], "exit": 1, "stdout": "{\n \"ok\": false,\n \"error\": {\n \"type\": \"cli_error\",\n \"message\": \"Embedding --provider \\\"proof-a\\\" must match the provider \\\"proof-b\\\" in --model. Model ids that contain a slash need the provider prefix, for example --model proof-a/<model id>.\"\n }\n}\n", "stderr": "[openclaw] The CLI command failed.\n[openclaw] For help, run `openclaw doctor`.\n", "hasActionableStderr": false }, { "args": [ "infer", "list", "--json" ], "exit": 0, "stdout": "[\n {\n \"id\": \"model.run\",\n \"transports\": [\n \"local\",\n \"gateway\"\n ],\n \"description\": \"Run a one-shot inference turn through the selected model provider.\"\n },\n {\n \"id\": \"model.list\",\n \"transports\": [\n \"local\"\n ],\n \"description\": \"List known models from the model catalog.\"\n },\n {\n \"id\": \"model.inspect\",\n \"transports\": [\n \"local\"\n ],\n \"description\": \"Inspect one model catalog entry.\"\n },\n {\n \"id\": \"model.providers\",\n \"transports\": [\n \"local\"\n ],\n \"description\": \"List model providers discovered from the catalog.\"\n },\n {\n \"id\": \"model.auth.login\",\n \"transports\": [\n \"local\"\n ],\n \"description\": \"Run the existing provider auth login flow.\"\n },\n {\n \"id\": \"model.auth.logout\",\n \"transports\": [\n \"local\"\n ],\n \"description\": \"Remove saved auth profiles for one provider.\"\n },\n {\n \"id\": \"model.auth.status\",\n \"transports\": [\n \"local\"\n ],\n \"description\": \"Show configured model auth state.\"\n },\n {\n \"id\": \"image.generate\",\n \"transports\": [\n \"local\"\n ],\n \"description\": \"Generate raster images with configured image providers.\"\n },\n {\n \"id\": \"image.edit\",\n \"transports\": [\n \"local\"\n ],\n \"description\": \"Generate edited images from one or more input files.\"\n },\n {\n \"id\": \"image.describe\",\n \"transports\": [\n \"local\"\n ],\n \"description\": \"Describe one image file through media-understanding providers.\"\n },\n {\n \"id\": \"image.describe-many\",\n \"transports\": [\n \"local\"\n ],\n \"description\": \"Describe multiple image files independently.\"\n },\n {\n \"id\": \"image.providers\",\n \"transports\": [\n \"local\"\n ],\n \"description\": \"List image generation providers.\"\n },\n {\n \"id\": \"audio.transcribe\",\n \"transports\": [\n \"local\"\n ],\n \"description\": \"Transcribe one audio file.\"\n },\n {\n \"id\": \"audio.providers\",\n \"transports\": [\n \"local\"\n ],\n \"description\": \"List audio transcription providers.\"\n },\n {\n \"id\": \"tts.convert\",\n \"transports\": [\n \"local\",\n \"gateway\"\n ],\n \"description\": \"Convert text to speech.\"\n },\n {\n \"id\": \"tts.voices\",\n \"transports\": [\n \"local\"\n ],\n \"description\": \"List voices for a speech provider.\"\n },\n {\n \"id\": \"tts.providers\",\n \"transports\": [\n \"local\",\n \"gateway\"\n ],\n \"description\": \"List speech providers.\"\n },\n {\n \"id\": \"tts.personas\",\n \"transports\": [\n \"local\",\n \"gateway\"\n ],\n \"description\": \"List TTS personas.\"\n },\n {\n \"id\": \"tts.status\",\n \"transports\": [\n \"gateway\"\n ],\n \"description\": \"Show gateway-managed TTS state.\"\n },\n {\n \"id\": \"tts.enable\",\n \"transports\": [\n \"local\",\n \"gateway\"\n ],\n \"description\": \"Enable TTS in prefs.\"\n },\n {\n \"id\": \"tts.disable\",\n \"transports\": [\n \"local\",\n \"gateway\"\n ],\n \"description\": \"Disable TTS in prefs.\"\n },\n {\n \"id\": \"tts.set-provider\",\n \"transports\": [\n \"local\",\n \"gateway\"\n ],\n \"description\": \"Set the active TTS provider.\"\n },\n {\n \"id\": \"tts.set-persona\",\n \"transports\": [\n \"local\",\n \"gateway\"\n ],\n \"description\": \"Set the active TTS persona.\"\n },\n {\n \"id\": \"video.generate\",\n \"transports\": [\n \"local\"\n ],\n \"description\": \"Generate video files with configured video providers.\"\n },\n {\n \"id\": \"video.describe\",\n \"transports\": [\n \"local\"\n ],\n \"description\": \"Describe one video file through media-understanding providers.\"\n },\n {\n \"id\": \"video.providers\",\n \"transports\": [\n \"local\"\n ],\n \"description\": \"List video generation and description providers.\"\n },\n {\n \"id\": \"web.search\",\n \"transports\": [\n \"local\"\n ],\n \"description\": \"Run provider-backed web search.\"\n },\n {\n \"id\": \"web.fetch\",\n \"transports\": [\n \"local\"\n ],\n \"description\": \"Fetch URL content directly or through a selected web fetch provider.\"\n },\n {\n \"id\": \"web.providers\",\n \"transports\": [\n \"local\"\n ],\n \"description\": \"List web search and fetch providers.\"\n },\n {\n \"id\": \"embedding.create\",\n \"transports\": [\n \"local\"\n ],\n \"description\": \"Create embeddings through embedding providers.\"\n },\n {\n \"id\": \"embedding.providers\",\n \"transports\": [\n \"local\"\n ],\n \"description\": \"List embedding providers.\"\n }\n]\n", "stderr": "" }, { "args": [ "infer", "web", "providers", "--json" ], "exit": 0, "stdout": "{\n \"search\": [\n {\n \"available\": true,\n \"configured\": false,\n \"selected\": false,\n \"id\": \"brave\",\n \"envVars\": [\n \"BRAVE_API_KEY\"\n ]\n },\n {\n \"available\": true,\n \"configured\": false,\n \"selected\": false,\n \"id\": \"clawrouter\",\n \"envVars\": [\n \"CLAWROUTER_API_KEY\"\n ]\n },\n {\n \"available\": true,\n \"configured\": true,\n \"selected\": false,\n \"id\": \"codex\",\n \"envVars\": []\n },\n {\n \"available\": true,\n \"configured\": false,\n \"selected\": false,\n \"id\": \"deepseek\",\n \"envVars\": [\n \"DEEPSEEK_API_KEY\"\n ]\n },\n {\n \"available\": true,\n \"configured\": true,\n \"selected\": false,\n \"id\": \"duckduckgo\",\n \"envVars\": []\n },\n {\n \"available\": true,\n \"configured\": false,\n \"selected\": false,\n \"id\": \"exa\",\n \"envVars\": [\n \"EXA_API_KEY\"\n ]\n },\n {\n \"available\": true,\n \"configured\": true,\n \"selected\": false,\n \"id\": \"firecrawl-free\",\n \"envVars\": []\n },\n {\n \"available\": true,\n \"configured\": false,\n \"selected\": false,\n \"id\": \"firecrawl\",\n \"envVars\": [\n \"FIRECRAWL_API_KEY\"\n ]\n },\n {\n \"available\": true,\n \"configured\": false,\n \"selected\": false,\n \"id\": \"gemini\",\n \"envVars\": [\n \"GEMINI_API_KEY\"\n ]\n },\n {\n \"available\": true,\n \"configured\": false,\n \"selected\": false,\n \"id\": \"minimax\",\n \"envVars\": [\n \"MINIMAX_CODE_PLAN_KEY\",\n \"MINIMAX_CODING_API_KEY\",\n \"MINIMAX_OAUTH_TOKEN\",\n \"MINIMAX_API_KEY\"\n ]\n },\n {\n \"available\": true,\n \"configured\": false,\n \"selected\": false,\n \"id\": \"kimi\",\n \"envVars\": [\n \"KIMI_API_KEY\",\n \"MOONSHOT_API_KEY\"\n ]\n },\n {\n \"available\": true,\n \"configured\": true,\n \"selected\": false,\n \"id\": \"ollama\",\n \"envVars\": []\n },\n {\n \"available\": true,\n \"configured\": true,\n \"selected\": false,\n \"id\": \"parallel-free\",\n \"envVars\": []\n },\n {\n \"available\": true,\n \"configured\": false,\n \"selected\": false,\n \"id\": \"parallel\",\n \"envVars\": [\n \"PARALLEL_API_KEY\"\n ]\n },\n {\n \"available\": true,\n \"configured\": false,\n \"selected\": false,\n \"id\": \"perplexity\",\n \"envVars\": [\n \"PERPLEXITY_API_KEY\",\n \"OPENROUTER_API_KEY\"\n ]\n },\n {\n \"available\": true,\n \"configured\": true,\n \"selected\": false,\n \"id\": \"qa-lab-search\",\n \"envVars\": []\n },\n {\n \"available\": true,\n \"configured\": false,\n \"selected\": false,\n \"id\": \"searxng\",\n \"envVars\": [\n \"SEARXNG_BASE_URL\"\n ]\n },\n {\n \"available\": true,\n \"configured\": false,\n \"selected\": false,\n \"id\": \"tavily\",\n \"envVars\": [\n \"TAVILY_API_KEY\"\n ]\n },\n {\n \"available\": true,\n \"configured\": false,\n \"selected\": false,\n \"id\": \"grok\",\n \"envVars\": [\n \"XAI_API_KEY\"\n ]\n }\n ],\n \"fetch\": [\n {\n \"available\": true,\n \"configured\": true,\n \"selected\": false,\n \"id\": \"firecrawl\",\n \"envVars\": [\n \"FIRECRAWL_API_KEY\"\n ]\n }\n ]\n}\n", "stderr": "" } ], "configUnchangedByCommands": true, "limitations": "Isolated Linux CLI preflight and provider inspection only. No successful inference, live provider, network request or upgrade behavior is claimed." }, "after": { "status": "PASS", "phase": "green", "head": "7d0c4aed09d9f9eaa30b4d07dd680479686a8c0c", "buildCommit": "7d0c4aed09d9f9eaa30b4d07dd680479686a8c0c", "node": "v24.22.1", "capturedAt": "2026-11-15T15:24:03.532Z", "driverSha256": "3b890e8c81d0d86316790db13128413eaa0dfff4272a205ca823aab481abe1c1", "observations": [ { "args": [ "infer", "web", "fetch", "--url", "https://example.invalid", "--json" ], "exit": 1, "stdout": "{\n \"ok\": false,\n \"error\": {\n \"type\": \"cli_error\",\n \"message\": \"web.fetch is disabled. Set tools.web.fetch.enabled=true to enable it.\"\n }\n}\n", "stderr": "web.fetch is disabled. Set tools.web.fetch.enabled=true to enable it.\n", "hasActionableStderr": true }, { "args": [ "infer", "web", "fetch", "--url", "https://example.invalid", "--provider", "unavailable-proof-provider", "--json" ], "exit": 1, "stdout": "{\n \"ok\": false,\n \"error\": {\n \"type\": \"cli_error\",\n \"message\": \"web.fetch is disabled. Set tools.web.fetch.enabled=true to enable it.\"\n }\n}\n", "stderr": "web.fetch is disabled. Set tools.web.fetch.enabled=true to enable it.\n", "hasActionableStderr": true }, { "args": [ "infer", "web", "fetch", "--url", "https://example.invalid", "--provider", "unavailable-proof-provider", "--json" ], "exit": 1, "stdout": "{\n \"ok\": false,\n \"error\": {\n \"type\": \"cli_error\",\n \"message\": \"web.fetch provider \\\"unavailable-proof-provider\\\" is not available; check it with `openclaw infer web providers`.\"\n }\n}\n", "stderr": "web.fetch provider \"unavailable-proof-provider\" is not available; check it with `openclaw infer web providers`.\n", "hasActionableStderr": true }, { "args": [ "infer", "embedding", "create", "--text", "probe", "--provider", "proof-a", "--model", "proof-b/model", "--json" ], "exit": 1, "stdout": "{\n \"ok\": false,\n \"error\": {\n \"type\": \"cli_error\",\n \"message\": \"Embedding --provider \\\"proof-a\\\" must match the provider \\\"proof-b\\\" in --model. Model ids that contain a slash need the provider prefix, for example --model proof-a/<model id>.\"\n }\n}\n", "stderr": "Embedding --provider \"proof-a\" must match the provider \"proof-b\" in --model. Model ids that contain a slash need the provider prefix, for example --model proof-a/<model id>.\n", "hasActionableStderr": true }, { "args": [ "infer", "list", "--json" ], "exit": 0, "stdout": "[\n {\n \"id\": \"model.run\",\n \"transports\": [\n \"local\",\n \"gateway\"\n ],\n \"description\": \"Run a one-shot inference turn through the selected model provider.\"\n },\n {\n \"id\": \"model.list\",\n \"transports\": [\n \"local\"\n ],\n \"description\": \"List known models from the model catalog.\"\n },\n {\n \"id\": \"model.inspect\",\n \"transports\": [\n \"local\"\n ],\n \"description\": \"Inspect one model catalog entry.\"\n },\n {\n \"id\": \"model.providers\",\n \"transports\": [\n \"local\"\n ],\n \"description\": \"List model providers discovered from the catalog.\"\n },\n {\n \"id\": \"model.auth.login\",\n \"transports\": [\n \"local\"\n ],\n \"description\": \"Run the existing provider auth login flow.\"\n },\n {\n \"id\": \"model.auth.logout\",\n \"transports\": [\n \"local\"\n ],\n \"description\": \"Remove saved auth profiles for one provider.\"\n },\n {\n \"id\": \"model.auth.status\",\n \"transports\": [\n \"local\"\n ],\n \"description\": \"Show configured model auth state.\"\n },\n {\n \"id\": \"image.generate\",\n \"transports\": [\n \"local\"\n ],\n \"description\": \"Generate raster images with configured image providers.\"\n },\n {\n \"id\": \"image.edit\",\n \"transports\": [\n \"local\"\n ],\n \"description\": \"Generate edited images from one or more input files.\"\n },\n {\n \"id\": \"image.describe\",\n \"transports\": [\n \"local\"\n ],\n \"description\": \"Describe one image file through media-understanding providers.\"\n },\n {\n \"id\": \"image.describe-many\",\n \"transports\": [\n \"local\"\n ],\n \"description\": \"Describe multiple image files independently.\"\n },\n {\n \"id\": \"image.providers\",\n \"transports\": [\n \"local\"\n ],\n \"description\": \"List image generation providers.\"\n },\n {\n \"id\": \"audio.transcribe\",\n \"transports\": [\n \"local\"\n ],\n \"description\": \"Transcribe one audio file.\"\n },\n {\n \"id\": \"audio.providers\",\n \"transports\": [\n \"local\"\n ],\n \"description\": \"List audio transcription providers.\"\n },\n {\n \"id\": \"tts.convert\",\n \"transports\": [\n \"local\",\n \"gateway\"\n ],\n \"description\": \"Convert text to speech.\"\n },\n {\n \"id\": \"tts.voices\",\n \"transports\": [\n \"local\"\n ],\n \"description\": \"List voices for a speech provider.\"\n },\n {\n \"id\": \"tts.providers\",\n \"transports\": [\n \"local\",\n \"gateway\"\n ],\n \"description\": \"List speech providers.\"\n },\n {\n \"id\": \"tts.personas\",\n \"transports\": [\n \"local\",\n \"gateway\"\n ],\n \"description\": \"List TTS personas.\"\n },\n {\n \"id\": \"tts.status\",\n \"transports\": [\n \"gateway\"\n ],\n \"description\": \"Show gateway-managed TTS state.\"\n },\n {\n \"id\": \"tts.enable\",\n \"transports\": [\n \"local\",\n \"gateway\"\n ],\n \"description\": \"Enable TTS in prefs.\"\n },\n {\n \"id\": \"tts.disable\",\n \"transports\": [\n \"local\",\n \"gateway\"\n ],\n \"description\": \"Disable TTS in prefs.\"\n },\n {\n \"id\": \"tts.set-provider\",\n \"transports\": [\n \"local\",\n \"gateway\"\n ],\n \"description\": \"Set the active TTS provider.\"\n },\n {\n \"id\": \"tts.set-persona\",\n \"transports\": [\n \"local\",\n \"gateway\"\n ],\n \"description\": \"Set the active TTS persona.\"\n },\n {\n \"id\": \"video.generate\",\n \"transports\": [\n \"local\"\n ],\n \"description\": \"Generate video files with configured video providers.\"\n },\n {\n \"id\": \"video.describe\",\n \"transports\": [\n \"local\"\n ],\n \"description\": \"Describe one video file through media-understanding providers.\"\n },\n {\n \"id\": \"video.providers\",\n \"transports\": [\n \"local\"\n ],\n \"description\": \"List video generation and description providers.\"\n },\n {\n \"id\": \"web.search\",\n \"transports\": [\n \"local\"\n ],\n \"description\": \"Run provider-backed web search.\"\n },\n {\n \"id\": \"web.fetch\",\n \"transports\": [\n \"local\"\n ],\n \"description\": \"Fetch URL content directly or through a selected web fetch provider.\"\n },\n {\n \"id\": \"web.providers\",\n \"transports\": [\n \"local\"\n ],\n \"description\": \"List web search and fetch providers.\"\n },\n {\n \"id\": \"embedding.create\",\n \"transports\": [\n \"local\"\n ],\n \"description\": \"Create embeddings through embedding providers.\"\n },\n {\n \"id\": \"embedding.providers\",\n \"transports\": [\n \"local\"\n ],\n \"description\": \"List embedding providers.\"\n }\n]\n", "stderr": "" }, { "args": [ "infer", "web", "providers", "--json" ], "exit": 0, "stdout": "{\n \"search\": [\n {\n \"available\": true,\n \"configured\": false,\n \"selected\": false,\n \"id\": \"brave\",\n \"envVars\": [\n \"BRAVE_API_KEY\"\n ]\n },\n {\n \"available\": true,\n \"configured\": false,\n \"selected\": false,\n \"id\": \"clawrouter\",\n \"envVars\": [\n \"CLAWROUTER_API_KEY\"\n ]\n },\n {\n \"available\": true,\n \"configured\": true,\n \"selected\": false,\n \"id\": \"codex\",\n \"envVars\": []\n },\n {\n \"available\": true,\n \"configured\": false,\n \"selected\": false,\n \"id\": \"deepseek\",\n \"envVars\": [\n \"DEEPSEEK_API_KEY\"\n ]\n },\n {\n \"available\": true,\n \"configured\": true,\n \"selected\": false,\n \"id\": \"duckduckgo\",\n \"envVars\": []\n },\n {\n \"available\": true,\n \"configured\": false,\n \"selected\": false,\n \"id\": \"exa\",\n \"envVars\": [\n \"EXA_API_KEY\"\n ]\n },\n {\n \"available\": true,\n \"configured\": true,\n \"selected\": false,\n \"id\": \"firecrawl-free\",\n \"envVars\": []\n },\n {\n \"available\": true,\n \"configured\": false,\n \"selected\": false,\n \"id\": \"firecrawl\",\n \"envVars\": [\n \"FIRECRAWL_API_KEY\"\n ]\n },\n {\n \"available\": true,\n \"configured\": false,\n \"selected\": false,\n \"id\": \"gemini\",\n \"envVars\": [\n \"GEMINI_API_KEY\"\n ]\n },\n {\n \"available\": true,\n \"configured\": false,\n \"selected\": false,\n \"id\": \"minimax\",\n \"envVars\": [\n \"MINIMAX_CODE_PLAN_KEY\",\n \"MINIMAX_CODING_API_KEY\",\n \"MINIMAX_OAUTH_TOKEN\",\n \"MINIMAX_API_KEY\"\n ]\n },\n {\n \"available\": true,\n \"configured\": false,\n \"selected\": false,\n \"id\": \"kimi\",\n \"envVars\": [\n \"KIMI_API_KEY\",\n \"MOONSHOT_API_KEY\"\n ]\n },\n {\n \"available\": true,\n \"configured\": true,\n \"selected\": false,\n \"id\": \"ollama\",\n \"envVars\": []\n },\n {\n \"available\": true,\n \"configured\": true,\n \"selected\": false,\n \"id\": \"parallel-free\",\n \"envVars\": []\n },\n {\n \"available\": true,\n \"configured\": false,\n \"selected\": false,\n \"id\": \"parallel\",\n \"envVars\": [\n \"PARALLEL_API_KEY\"\n ]\n },\n {\n \"available\": true,\n \"configured\": false,\n \"selected\": false,\n \"id\": \"perplexity\",\n \"envVars\": [\n \"PERPLEXITY_API_KEY\",\n \"OPENROUTER_API_KEY\"\n ]\n },\n {\n \"available\": true,\n \"configured\": true,\n \"selected\": false,\n \"id\": \"qa-lab-search\",\n \"envVars\": []\n },\n {\n \"available\": true,\n \"configured\": false,\n \"selected\": false,\n \"id\": \"searxng\",\n \"envVars\": [\n \"SEARXNG_BASE_URL\"\n ]\n },\n {\n \"available\": true,\n \"configured\": false,\n \"selected\": false,\n \"id\": \"tavily\",\n \"envVars\": [\n \"TAVILY_API_KEY\"\n ]\n },\n {\n \"available\": true,\n \"configured\": false,\n \"selected\": false,\n \"id\": \"grok\",\n \"envVars\": [\n \"XAI_API_KEY\"\n ]\n }\n ],\n \"fetch\": [\n {\n \"available\": true,\n \"configured\": true,\n \"selected\": false,\n \"id\": \"firecrawl\",\n \"envVars\": [\n \"FIRECRAWL_API_KEY\"\n ]\n }\n ]\n}\n", "stderr": "" } ], "configUnchangedByCommands": true, "limitations": "Isolated Linux CLI preflight and provider inspection only. No successful inference, live provider, network request or upgrade behavior is claimed." } }Complete frozen native proof driver
Use the supported Node runtime and independently built checkouts:
node community-infer-native-proof-20261115.mjs CHECKOUT redorgreen.AI-assisted implementation and author audit. Independent model review was waived by the contributor; no independent-review claim. No sanitized agent transcript is attached because available local logs mix unrelated/private authentication context. Complete reproducible proof and captured readback are provided above.
Merge Risk
Two-way door: reverting this classification change restores prior diagnostics. Provider selection, execution, successful outputs, configuration and persistent state are unchanged. Blast radius is limited to these existing inference preflight failures.