webclaw/crates
Jacob Magar cc1617a3a9 fix(gemini-cli): correct CLI invocation to match gemini v0.36 interface
The previous implementation used wrong flags (-p without value, --json,
--max-output-tokens) that don't exist in the real gemini CLI.

Correct invocation:
- Pass prompt as -p STRING value (not via stdin)
- Use --output-format json to get structured {response, stats} output
- Add --yolo to suppress interactive confirmation prompts
- Remove nonexistent --json and --max-output-tokens flags
- Parse `.response` field from JSON output, skipping MCP noise lines
- Extend timeout from 30s to 60s (agentic CLI is slower than raw API)

Smoke tested end-to-end: stdin HTML → summarize and --extract-json
both produce correct output via Gemini CLI.
2026-04-11 12:16:21 -04:00
..
noxa-cli feat: derive Deserialize on OutputFormat, Browser, PdfModeArg 2026-04-11 12:13:25 -04:00
noxa-core chore: rebrand webclaw to noxa 2026-04-11 00:10:38 -04:00
noxa-fetch chore: rebrand webclaw to noxa 2026-04-11 00:10:38 -04:00
noxa-llm fix(gemini-cli): correct CLI invocation to match gemini v0.36 interface 2026-04-11 12:16:21 -04:00
noxa-mcp feat(noxa-9fw.2): make gemini cli the primary llm backend 2026-04-11 07:32:24 -04:00
noxa-pdf chore: rebrand webclaw to noxa 2026-04-11 00:10:38 -04:00