13 Commits
Author SHA1 Message Date
yilv 1cd38aeb80 fix(ai): update tests to current built-in model catalog ids
The shipped provider catalogs moved to the newer model generation while the
tests still referenced delisted ids, which broke ModelId type checking and
the metadata assertions: Xiaomi mimo-v2.5-pro -> mimo-v2.6-pro, Together and
Baseten moonshotai/Kimi-K2.6 -> Kimi-K3, Together deepseek-ai/DeepSeek-V4-Pro
-> DeepSeek-V4-Pro-0813 and MiniMaxAI/MiniMax-M2.7 -> MiniMax-M3, GitHub
Copilot gpt-5-mini -> gpt-5.4-nano, gpt-5.5 -> gpt-5.6-sol and claude-opus-4.7
-> claude-opus-4.8, OpenRouter anthropic/claude-sonnet-4 -> 4.6 and
deepseek/deepseek-r1 -> deepseek-r1-0528, NVIDIA Nemotron 3 Super -> 3.5 Super
VL.

Metadata expectations follow the new catalog entries. The OpenCode Go
thinking-payload tests move to deepseek-v4-pro because opencode-go kimi-k3 no
longer uses the deepseek thinking format, the reasoning-replay test updates
its synthetic message model id because transformMessages only keeps thinking
blocks for the same model, and the opencode-go kimi-k3 cache-retention entry
is dropped because that model now supports long cache retention.
2026-10-26 20:20:23 +08:00
yilv 485efdb9c3 feat(coding-agent): guide subagent batch results with an explicit proceed-or-wait decision
When a parallel subagent batch returns mixed results and background receipts,
the tool guidelines and receipt text now tell the main agent to decide first:
continue with the next phase of work if the finished results already answer
what it needs, otherwise end the turn waiting for the pending answers instead
of duplicating or preempting the pending subagents' work.
2026-10-26 20:20:02 +08:00
yilv 5d7704f040 feat(coding-agent,ai): custom subagent models, tool binary caching/hints, opencode-go google generative ai, and model selector layout 2026-10-23 16:53:57 +08:00
yilv 1307b087e2 fix(coding-agent): stop questionnaire from entering plan mode prematurely
Only submit_plan enters the planning phase; asking questions never
locks writes. Rewrite plan prompt with complex/small criteria,
widen planning shell allowlist to verification commands, and update
tests and docs.
2026-10-05 10:27:45 +08:00
yilv c1724a2af9 fix(ai): clarify Xiaomi Token Plan provider region names
Rename the three Xiaomi Token Plan providers from abbreviated region
codes to full region names (e.g. "Xiaomi Token Plan AMS" to
"Xiaomi Token Plan (Europe)") so users can tell the endpoints apart.
2026-10-03 09:19:26 +08:00
yilv 07a7844337 fix(coding-agent): attach clipboard images pasted into the prompt
Clipboard image paste (Ctrl+V, Alt+V on Windows) writes the image to a
temp file and inserts its path into the editor, but the path text was
sent as plain text without attaching the image. Resolve pasted image
paths back into image attachments when the prompt is submitted, across
normal, steer, followUp, and queued message paths.
2026-10-03 09:19:17 +08:00
yilv e6f8d92ba1 feat(coding-agent): models.dev enrichment, paged usage panel, and shipped-model metadata fixes
Adds runtime models.dev enrichment for discovered provider models, keeps
shipped baseline metadata over stored catalog overlays, and turns the
/usage panel into a paged per-day table (app.usage.pageUp/pageDown).
Also updates docs, README, and changelogs.
2026-09-27 14:41:38 +08:00
yilv c7a7d13a2d feat(coding-agent): built-in plan mode with questionnaire and submit_plan tools
Replaces the plan-mode example extension. Plan mode blocks edits and
non-read-only shell commands until a plan is approved, asks clarifying
questions with the questionnaire tool, and syncs a footer status while
planning. Excluding submit_plan opts out of the workflow.
2026-09-27 14:41:21 +08:00
yilv f34127d13f fix(coding-agent): reserve subagent status line prefix width to stop terminal width crash 2026-09-27 14:23:48 +08:00
yilv 0a03e72748 fix(ai): update test model IDs and regenerate image models
- Replace non-existent model IDs in tests (deepseek-v4-flash-0731, glm-5p2, kimi-k2p6, etc.)
- Update expected compat and thinking level values for regenerated models
- Add type narrowing for AnthropicMessagesCompat property access
- Regenerate image-models.generated.ts with latest OpenRouter data
2026-09-27 08:44:07 +08:00
yilv 8fb928a6ad feat(coding-agent): case-insensitive model ID matching for models.dev
- Add case-insensitive lookup for model IDs in buildModelsDevParams
- Match cached model IDs case-insensitively in loadModelsDevIndex
- Add tests for case-insensitive matching
2026-09-27 08:43:48 +08:00
yilv afd040d492 feat(coding-agent): background subagent hand-off, transcript viewer, custom provider login
- Add a fullscreen subagent transcript viewer: app.subagents.open (enter) shows the child's conversation, thinking, tool calls, and results; follows the run live and keeps the newest 200 messages.
- Detach still-running parallel subagent calls when a sibling finishes in interactive mode; they return a receipt and deliver their answer as a [subagent] message.
- Add an Add custom provider option to /login that writes a provider to models.json and stores its API key through the normal login flow.
2026-09-24 19:42:52 +08:00
yilv e6fe6669ca feat: initial commit 2026-09-22 19:15:35 +08:00