Commit Graph

1517 Commits

Author SHA1 Message Date
Mario Zechner
c685b27369 fix(coding-agent): mark retrying agent end events 2026-05-19 10:33:16 +02:00
Mario Zechner
32bcdc9739 fix(coding-agent): simplify agent session settlement 2026-05-19 09:53:20 +02:00
Armin Ronacher
29b3417a7a fix(windows): hide bash helper consoles
closes #4699
2026-05-18 23:21:22 +02:00
Mario Zechner
7670563374 Merge pull request #4664 from yzhg1983/fix/share-tool-sidebar-navigation
fix(coding-agent): scroll shared tool entries to rendered tool calls
2026-05-18 22:21:41 +02:00
Mario Zechner
aad8cf6600 Merge pull request #4709 from herrnel/fix/apply-explicit-fences-to-default-prompt
Fix(coding-agent) Updated default prompt to also use xml boundaries instead of ## for clearer file seperation.
2026-05-18 22:21:01 +02:00
Armin Ronacher
dafcf61a34 fix: align theme truecolor detection 2026-05-18 21:56:48 +02:00
Armin Ronacher
f10cf57e96 feat(coding-agent): improve terminal theme detection 2026-05-18 18:28:08 +02:00
Armin Ronacher
479024603e fix(coding-agent): set explicit theme text colors 2026-05-18 18:04:55 +02:00
Nelson Herrera
7577d3b8d5 Updated the default system prompt to also use xml boundaries instead of using ## so that agents are less likely to ingest a prompt with unclear boundaries. 2026-05-18 08:54:16 -07:00
Mario Zechner
967fb4d8b9 fix(coding-agent): disable undici http2
Fixes #4681. Fixes #4682.
2026-05-18 11:57:51 +02:00
Mario Zechner
64150668b8 fix(coding-agent): use cross-spawn for Windows shims
closes #4665
2026-05-18 11:30:41 +02:00
Mario Zechner
ddb0f69a2f Merge branch 'main' into fix-bun-undici-install-clean 2026-05-18 10:13:16 +02:00
Armin Ronacher
a294cdafd9 fix(coding-agent): unblock Windows external editor
closes #4612
2026-05-18 09:49:24 +02:00
Armin Ronacher
c65177370b fix(coding-agent): allow Windows pnpm self-update
closes #4157
2026-05-18 09:14:12 +02:00
Armin Ronacher
96cad24a07 fix(coding-agent): detect pnpm v11 self-update installs
closes #4647
2026-05-18 08:56:24 +02:00
Armin Ronacher
89b64d9dd5 fix(coding-agent): avoid Windows self-update native locks
closes #4157
2026-05-18 08:39:07 +02:00
Michael Yu
64248840f8 fix(coding-agent): scroll shared tool entries to rendered tool calls 2026-05-18 10:43:21 +08:00
Doug Masiero
363214bd32 fix(coding-agent): guard undici install under Bun
fixes #4657
2026-05-17 21:58:27 -04:00
Mario Zechner
085230373f fix(coding-agent): align undici fetch globals
closes #4650

closes #4652

closes #4653
2026-05-18 01:56:14 +02:00
Mario Zechner
730f2f1046 Merge pull request #4243 from samjonester/samjonester/config-selector-dynamic-height
config selector: scale maxVisible to terminal height
2026-05-18 01:20:11 +02:00
Armin Ronacher
6b872be2b9 fix(coding-agent): spawn Windows npm shims directly
closes #4623
2026-05-18 00:21:37 +02:00
Mario Zechner
238d7530fe Merge branch 'main' into stream-fn-in-compaction 2026-05-17 20:59:53 +02:00
Mario Zechner
8e6913711a Merge pull request #4541 from herrnel/fix/explicit-fences
Fix(coding-agent) Updated system-prompt.ts to use xml boundaries
2026-05-17 20:55:46 +02:00
Mario Zechner
c9e7049212 fix(coding-agent): remove global fetch override closes #4619 2026-05-17 20:52:06 +02:00
Armin Ronacher
6f931797ca fix(coding-agent): install npm packages in managed root closes #4587 2026-05-17 20:48:00 +02:00
Nelson Herrera
e2fd651eb9 Updated system-prompt.ts to use xml boundaries during system and context file merging rather than using ## so that agents are less likely to ingest a prompt with inconsistent boundaries. 2026-05-16 19:59:42 -07:00
Armin Ronacher
35f807cfaf fix(coding-agent): route compaction through streamFn
closes #4484
2026-05-17 01:57:03 +02:00
Mario Zechner
e26fbb3d46 fix(coding-agent): route global fetch through undici dispatcher closes #4519 2026-05-17 01:26:05 +02:00
Armin Ronacher
27a193070d fix(coding-agent): resolve pnpm global packages
Fixes #4501
2026-05-17 00:09:11 +02:00
Mario Zechner
43d3cdd48a fix(coding-agent): use configured model scope cycle hint closes #4508 2026-05-17 00:03:03 +02:00
Mario Zechner
7afd80d788 fix(coding-agent): pin fd for macos x64
closes #4559
2026-05-16 23:39:35 +02:00
Mario Zechner
5d31e70b8a fix(coding-agent): allow skill names to differ from directories
closes #4534
2026-05-16 23:38:46 +02:00
Mario Zechner
d0fe8570e9 fix(coding-agent): parse multiline prompt template args
closes #4553
2026-05-16 23:36:25 +02:00
Mario Zechner
758004d1bb fix(coding-agent): cap resume session metadata loads
closes #4583

closes #4591
2026-05-16 23:08:12 +02:00
Mario Zechner
7ddc7dd1ec fix(coding-agent): space interactive errors
closes #4510
2026-05-15 01:10:56 +02:00
Armin Ronacher
c00f1cf130 fix(agent): correct uuidv7 sequence handling 2026-05-13 15:53:53 +02:00
Armin Ronacher
8bf2bfab58 fix(coding-agent): align stripAnsi with strip-ansi 2026-05-13 15:52:33 +02:00
Armin Ronacher
e0b5d27af2 chore(deps): replace cli-highlight (#4468) 2026-05-13 12:19:45 +02:00
Armin Ronacher
2829146dde chore(deps): Kill small dependencies (#4467) 2026-05-13 10:44:56 +02:00
Mario Zechner
6ff6dc6278 Merge pull request #4383 from maximilianzuern/docs/fixToolConfig
fix(coding-agent) docs: update tool configuration API in SDK docs
2026-05-13 00:16:50 +02:00
Mario Zechner
5998b57958 Merge pull request #4426 from ofa1/fix/restore-tty-on-uncaught-exception
fix(coding-agent): restore terminal on uncaught exception
2026-05-12 23:48:28 +02:00
Mario Zechner
24e370fde5 Merge remote-tracking branch 'origin/main' 2026-05-12 23:35:17 +02:00
Mario Zechner
d62c416cfd fix(coding-agent): allow tool expansion during extension confirms
closes #4429
2026-05-12 23:34:57 +02:00
Mario Zechner
5ac874c849 fix(coding-agent): retry Anthropic message_stop stream endings
closes #4433
2026-05-12 23:25:15 +02:00
Omair Ahmed
9d84e28692 fix(coding-agent): restore terminal on uncaught exception
When an uncaught exception fires in interactive mode, the process dies with
stdin still in raw mode and the cursor hidden, leaving the user with a
"borked" terminal that needs `stty sane && reset` to recover. The most
common trigger is an extension's async ChildProcess `exit` callback that
throws (e.g. from accessing a stale ctx after session replacement), but
this affects any uncaught throw from anywhere in pi.

Add an uncaughtException handler in registerSignalHandlers that calls
ui.stop() before exiting, mirroring the existing emergencyTerminalExit
pattern. The handler is registered with prependListener and tracked in
signalCleanupHandlers, so it is removed on graceful shutdown the same way
the other handlers are.

Unlike emergencyTerminalExit (used for SIGHUP / dead-terminal EIO), the
terminal is still alive on uncaughtException, so we run the normal
ui.stop() to restore cooked mode, the cursor, bracketed paste mode, and
Kitty / modifyOtherKeys sequences.
2026-05-11 16:27:27 -04:00
Armin Ronacher
3d9e14d748 fix(compaction): clamp summary output tokens
Fixes #4390.
2026-05-11 16:36:27 +02:00
Maximilian
c3ce1d33d4 fix tool config in example in sdk.ts 2026-05-10 23:32:15 +02:00
Mario Zechner
f8d0fa67dc fix(coding-agent): share theme across package scopes
closes #4333
2026-05-10 18:13:16 +02:00
Armin Ronacher
76131673d3 docs(coding-agent): update theme schema URLs 2026-05-09 23:03:58 +02:00
Mario Zechner
7adb8e7634 feat(ai): add Together AI provider 2026-05-08 16:44:18 +02:00