Commit Graph

3335 Commits

Author SHA1 Message Date
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
Duncan Ogilvie
80f527ec22 feat(coding-agent): add startup profiling scripts for tui/rpc (#2497) 2026-03-21 20:46:00 +01:00
Mario Zechner
f90647ea8e fix(coding-agent): disable cli-highlight auto-detection for languageless code blocks
cli-highlight's auto-detection misidentifies prose as AppleScript,
LiveCodeServer, etc., coloring random English words (if, but, and, the,
that, is) as keywords. This happens when code blocks have no language
specified: fenced blocks without a language tag, indented code blocks,
or unclosed fences during streaming.

Skip auto-detection entirely and apply plain mdCodeBlock styling instead.
2026-03-21 10:46:01 +01:00
Mario Zechner
77db2e4c18 fix(tui): stream truncateToWidth for large strings closes #2447 2026-03-21 10:06:29 +01:00
Mario Zechner
78833dfcbc chore(ai): format openai completions test 2026-03-21 09:16:49 +01:00
Mario Zechner
60358dc493 Merge remote-tracking branch 'origin/main' 2026-03-20 20:16:07 +01:00
Mario Zechner
a84fd4e3cf Add [Unreleased] section for next cycle 2026-03-20 20:15:24 +01:00
Mario Zechner
b63a4abed2 Release v0.61.1 2026-03-20 20:14:36 +01:00
Mario Zechner
3d5465001f chore: update unreleased changelog entries 2026-03-20 20:13:36 +01:00
Cheng-Zi-Qing
7e2689ac18 packages/ai: ignore null chunks in openai-completions streams (#2466) 2026-03-20 20:01:28 +01:00
Mario Zechner
eda1082d4b fix(coding-agent): update project npm packages
closes #2459
2026-03-20 19:36:06 +01:00
Mario Zechner
16937947be fix(tui): skip Termux height redraws closes #2467 2026-03-20 19:35:50 +01:00
Mario Zechner
6b83bf4b59 docs: enable OSS weekend 2026-03-20 19:12:42 +01:00
Ziphyrien
7c92bb8151 fix(subagent): reuse current pi invocation for child agents closes #2464 (#2465) 2026-03-20 17:12:24 +01:00
Mario Zechner
47ea28b584 fix(coding-agent): export ToolCallEventResult closes #2458 2026-03-20 12:54:33 +01:00
Mario Zechner
6de8a2570b fix(tui): stop evicting unrelated default keybindings closes #2455 2026-03-20 12:54:20 +01:00
Mario Zechner
6c8ac01947 fix(coding-agent): respect agentDir for sdk session paths closes #2457 2026-03-20 12:12:18 +01:00
Mario Zechner
653b63a870 chore: add wrap-it prompt template 2026-03-20 11:56:15 +01:00
Mario Zechner
75fc6d088d fix(coding-agent): keep suspend resume alive on fg closes #2454 2026-03-20 11:56:15 +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
c2a42e3215 Add [Unreleased] section for next cycle 2026-03-20 02:09:43 +01:00
Mario Zechner
1cb697cff8 Release v0.61.0 2026-03-20 02:08:56 +01:00
Mario Zechner
a2baeb9a9d docs(changelog): audit unreleased entries 2026-03-20 02:04:22 +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
Mario Zechner
527c2af5e7 chore(ai): normalize MiMo V2 Pro model name 2026-03-20 01:55:30 +01:00
Mario Zechner
21ef72e9ce fix(coding-agent): protect rpc stdout fixes #2388 2026-03-20 01:55:30 +01:00
github-actions[bot]
3ee46ed8c5 chore: approve contributor zmberber 2026-03-19 23:38:08 +00: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
Sviatoslav Abakumov
970774ec3c fix(coding-agent): /model shows stale scoped models (#2408)
After updating models.json, the scoped model selector still shows the
old values when opened. Switching to the "all" scope, however, shows
updated model definitions.
2026-03-19 23:40:07 +01:00
Dillon Mulroy
fe535333fe feat(coding-agent): add resizable share sidebar (#2435) 2026-03-19 23:31:53 +01:00
Mario Zechner
0d7c81ec9e fix(ai): skip AJV validation in restricted runtimes closes #2395 2026-03-19 22:51:12 +01:00
Mario Zechner
31c7406a56 fix(coding-agent): suppress process warnings in CLI closes #2404 2026-03-19 22:21:48 +01:00
Mario Zechner
ac5e0ef76e Updated models 2026-03-19 22:13:27 +01:00
Mario Zechner
a6337dc709 fix(coding-agent): show bash tool elapsed time at bottom closes #2406 2026-03-19 22:13:27 +01:00
Mario Zechner
241141dd82 docs(prompts): add inprogress labeling instructions 2026-03-19 22:13:27 +01:00
github-actions[bot]
1e30cc8124 chore: approve contributor dmmulroy 2026-03-19 20:55:15 +00:00
Mario Zechner
3ad1152e30 chore: close theme watcher issues
closes #2417
closes #2003
2026-03-19 21:54:08 +01:00
Mario Zechner
3620adb3e2 fix(coding-agent): reload custom themes from disk watcher\n\ncloses #2417\ncloses #2003 2026-03-19 21:53:05 +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
Mario Zechner
dc1ceb4dd0 fix(web-ui): align README architecture diagram closes #2425 2026-03-19 21:21:38 +01:00
Fero
d026879ccc Update Discord invite link in issue template (#2432) 2026-03-19 21:14:47 +01:00
github-actions[bot]
2dfec8022a chore: approve contributor smcllns 2026-03-19 19:39:03 +00: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
Mario Zechner
ff1ea12324 fix(ai): ignore placeholder vertex api keys closes #2335 2026-03-18 22:51:14 +01:00
Mario Zechner
ce15f40769 fix(coding-agent): use native clipboard text copy on desktop closes #2347 2026-03-18 22:42:02 +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
Mario Zechner
ce095e2846 fix(coding-agent): make tests keybinding-agnostic
Reset global editor keybindings to defaults in beforeEach for
session-selector-rename and tree-selector tests. Pass
KeybindingsManager.inMemory() to SessionSelectorComponent in tests
to avoid reading user keybindings.json.

Closes #2360
2026-03-18 16:53:25 +01:00
Burak Varlı
d7befef90e fix(coding-agent): use setBedrockProviderModule in Bun entrypoint closes #2349 (#2350)
`registerApiProvider()` gets wiped by `resetApiProviders()` during
session reload, replacing the Bun-bundled Bedrock provider with the
opaque lazy loader that cannot resolve inside the binary.
`setBedrockProviderModule()` sets an override that survives resets.
2026-03-18 16:41:45 +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