Mario Zechner
7a786d88aa
fix(coding-agent): resolve models.json auth per request closes #1835
2026-03-27 00:47:40 +01:00
Sam
2b1fc90cd7
feat(coding-agent): Add sessionDir support in settings.json ( #2598 )
...
Users can now set sessionDir in global or project settings.json instead
of passing --session-dir on every invocation. CLI flag takes precedence,
then settings.json, then extension hooks.
Closes #2429
Co-authored-by: Sam Collins <81678+smcllns@users.noreply.github.com >
Co-authored-by: Mario Zechner <badlogicgames@gmail.com >
2026-03-26 00:03:36 +01:00
Mario Zechner
d38ad0cd6b
fix(coding-agent): preserve file mutation queue ordering
2026-03-25 23:05:04 +01:00
Mario Zechner
648e96a611
chore(coding-agent): add startup phase timings
2026-03-25 23:05:03 +01:00
Mario Zechner
a949490f29
fix(coding-agent): respect export theme backgrounds closes #2565
2026-03-24 21:27:19 +01:00
Mario Zechner
13b771e591
fix(coding-agent): reduce git update fetch noise closes #2548
2026-03-24 03:23:00 +01:00
Mario Zechner
835296b1d7
fix(coding-agent): expose rpc context usage closes #2550
2026-03-24 03:08:51 +01:00
Mario Zechner
a8a58ff26b
fix(coding-agent): disambiguate duplicate slash commands, fixes #1061
2026-03-23 02:33:52 +01:00
Mario Zechner
4e5af01d73
fix(coding-agent): unify source provenance, closes #1734
2026-03-23 02:02:42 +01:00
Mario Zechner
d501b9ca26
fix(coding-agent): attach source info to resources and commands, fixes #1734
2026-03-23 00:52:55 +01:00
Mario Zechner
a78882d8b8
fix(coding-agent): enforce safe auto-resized image limits closes #2055
2026-03-22 21:48:34 +01:00
Mario Zechner
f1fe49a641
fix(coding-agent): reserve stdout in print and json mode closes #2482
2026-03-22 21:21:29 +01:00
Mario Zechner
74073e5227
fix(coding-agent): skip no-op git package reinstalls
...
closes #2503
2026-03-22 19:19:47 +01:00
Mario Zechner
235b247f1f
fix(coding-agent): built-in tools work like extension tools
...
Export readToolDefinition / createReadToolDefinition and the equivalent built-in ToolDefinition APIs from @mariozechner/pi-coding-agent.
2026-03-22 04:20:38 +01:00
Mario Zechner
eda1082d4b
fix(coding-agent): update project npm packages
...
closes #2459
2026-03-20 19:36:06 +01:00
Mario Zechner
47ea28b584
fix(coding-agent): export ToolCallEventResult closes #2458
2026-03-20 12:54:33 +01:00
Mario Zechner
6c8ac01947
fix(coding-agent): respect agentDir for sdk session paths closes #2457
2026-03-20 12:12:18 +01:00
简简简简
8705fbee54
fix(models): align minimax and zai defaults ( #2445 )
...
Update the coding-agent default model picks for ZAI, Cerebras,
and MiniMax so new sessions prefer the current model lineup.
Add the missing MiniMax-M2.1-highspeed direct provider entries
and normalize MiniMax Anthropic-compatible context limits so the
catalog matches the provider's supported model set.
2026-03-20 10:00:57 +01:00
Mario Zechner
e3fee7a511
fix(keybindings): migrate to namespaced ids closes #2391
2026-03-20 01:55:30 +01:00
Mario Zechner
74a46fc7ea
fix(coding-agent): queue file mutations across edit and write
...
closes #2327
2026-03-20 01:55:30 +01:00
Petr Baudis
8a0529ed9d
fix(coding-agent): resolve waitForRetry() race when auto-retry produces tool calls ( #2440 )
...
When auto-retry fires after a retryable error (e.g. overloaded_error) and the
retry response includes tool_use, session.prompt() returned prematurely because
_resolveRetry() was called on the first successful message_end — while the
agent loop was still executing tools via the fire-and-forget agent.continue().
This caused callers to observe isStreaming=true after prompt() returned, and
follow-up session.prompt() calls threw 'Agent is already processing'. The
tool execution results were silently lost.
Fix: move _resolveRetry() from the message_end handler to the agent_end
handler. The _retryAttempt counter reset stays on message_end (preventing
accumulation across LLM calls within a turn), but the promise that unblocks
waitForRetry() now only resolves when the full agent loop completes.
2026-03-20 00:33:17 +01:00
Dillon Mulroy
fe535333fe
feat(coding-agent): add resizable share sidebar ( #2435 )
2026-03-19 23:31:53 +01:00
Mario Zechner
e0f85a3b5e
fix(coding-agent): avoid blocking footer branch refresh and isolate invalid extension provider registrations closes #2418 closes #2431
2026-03-19 21:40:55 +01:00
Duncan Ogilvie
25b185f398
fix(coding-agent): fix windows hanging when descendants inherit stdout/stderr handles ( #2389 )
2026-03-19 08:34:52 +01:00
Helmut Januschka
fd385ecf06
feat(coding-agent): add JSONL export/import for sessions ( #2356 )
...
fixes #2274
2026-03-18 22:37:11 +01:00
PriNova
f704ee7255
fix(ai): use OpenRouter reasoning payload ( #2298 )
...
* fix(ai): use OpenRouter reasoning payload
* fix(coding-agent): stop updating packages on startup closes #1963
* fix(ai): add openrouter thinkingFormat compat
---------
Co-authored-by: Mario Zechner <badlogicgames@gmail.com >
2026-03-18 11:23:27 +01:00
Mario Zechner
8a8e2a8049
docs(agent): update steering docs for deferred tool execution closes #2330
2026-03-18 03:49:30 +01:00
Mario Zechner
f951d45000
fix(coding-agent): stop updating packages on startup closes #1963
2026-03-18 03:26:46 +01:00
Mario Zechner
2becbbdff3
fix(coding-agent): refresh active model after provider updates closes #2291
2026-03-18 01:12:11 +01:00
Mario Zechner
9651e4114d
feat(coding-agent): expose local bash operations closes #2299
2026-03-18 00:41:57 +01:00
Mario Zechner
7eb55b08cf
fix(coding-agent): reload keybindings on /reload closes #2309
2026-03-17 23:59:45 +01:00
Mario Zechner
d914d1c199
fix(coding-agent): handle z.ai network_error closes #2313
2026-03-17 22:34:49 +01:00
Aliou Diallo
18d90b5c48
fix(coding-agent): handle empty session titles and session info metadata ( #2304 )
...
* fix(coding-agent): handle empty session titles in tree
* fix(coding-agent): ignore session info in summaries
* docs: update changelog for PR #2304
2026-03-17 16:22:04 +01:00
Aaron Soules
2d05e87281
fix(coding-agent): handle reftable footer branch detection ( #2300 )
...
* fix(coding-agent): handle reftable footer branch detection
- Fall back to git commands when HEAD contains refs/heads/.invalid
- Treat unresolved .invalid as detached instead of showing literal .invalid
- Watch reftable directory for branch change updates
- Resolve commonGitDir for worktree setups
fixes #2123
* fix(coding-agent): improve reftable branch detection and reduce false-positive rerenders
- Re-resolve branch on watcher events instead of invalidating cache;
only notify listeners when the branch string actually changed
- Add regression tests: regular repo fast path (no spawnSync), nested
cwd upward walk, unchanged-branch reftable churn suppression
2026-03-17 15:33:33 +01:00
Mario Zechner
7817e9b227
fix(coding-agent): make prompt snippets opt in closes #2285
2026-03-17 12:44:16 +01:00
Mario Zechner
8e3bb4ff55
fix(coding-agent): retry provider returned error closes #2264
2026-03-17 12:43:20 +01:00
Mario Zechner
700bcf3455
fix(coding-agent): normalize fuzzy edit matching and run touched tests closes #2044
2026-03-15 19:15:38 +01:00
Mario Zechner
b752a6e0a1
fix(coding-agent): handle slash-delimited /model refs closes #2174
2026-03-15 16:41:06 +01:00
badlogic
4f81c3c28d
fix(coding-agent,tui): stabilize windows shell/path handling
...
fixes #1775
fixes #1769
2026-03-14 05:36:21 +01:00
Mario Zechner
03ad7ecee7
fix(ai): add qwen-chat-template compat mode closes #2020
2026-03-14 05:20:27 +01:00
Mario Zechner
bdf2419ac3
fix(coding-agent): honor provider compat in models.json closes #2062
2026-03-14 04:55:03 +01:00
badlogic
671798d67f
fix(coding-agent): normalize prompt cwd for bash-safe windows paths closes #2080
2026-03-14 04:48:52 +01:00
Mario Zechner
7ddaf150d6
fix(coding-agent): support configurable npm wrapper command closes #2072
2026-03-14 04:38:01 +01:00
Mario Zechner
a8e3c829fa
fix(coding-agent): stop skill recursion at root closes #2075
2026-03-14 04:18:28 +01:00
Mario Zechner
63ac2df24d
fix(coding-agent): sync tool hooks with agent event processing closes #2113
2026-03-14 03:10:04 +01:00
Haoyu Zha
f04d9bc428
feat(session-manager): allow supplying custom session ID in newSession() ( #2130 )
...
* feat(session-manager): allow supplying custom session ID in newSession()
Add optional `id` field to `NewSessionOptions`. When provided, this ID
is used as the session ID instead of generating a random UUID. Existing
callers are unaffected since the field is optional and falls back to
`randomUUID()`.
Closes #2097
* test(session-manager): add tests for custom session ID in newSession()
Verify that newSession() uses the provided id when supplied, falls back
to randomUUID() when omitted, and includes the custom id in the session
header.
2026-03-14 01:34:48 +01:00
Mario Zechner
4b9e6006fa
fix(coding-agent): keep only ISO date in system prompt closes #2131
2026-03-13 21:07:03 +01:00
KangYu
2501a053e0
fix(coding-agent): match server_error and internal_error in retry regex ( #2117 )
...
The _isRetryableError() regex used literal spaces ("server error",
"internal error") but Codex SSE error events use underscores
("server_error"). Change to .? so both space and underscore (and
direct concatenation) are matched, enabling automatic retry on
transient Codex SSE errors.
fixes #2091
2026-03-13 18:51:04 +01:00
Mario Zechner
80d79eefc3
fix(coding-agent): prefer explicit -e extensions closes #1896
2026-03-08 00:34:31 +01:00
Mario Zechner
787f351ab7
feat(coding-agent): refine session_directory hook closes #1729
2026-03-08 00:19:35 +01:00