Commit Graph

2717 Commits

Author SHA1 Message Date
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
Doug Masiero
363214bd32 fix(coding-agent): guard undici install under Bun
fixes #4657
2026-05-17 21:58:27 -04:00
Mario Zechner
93b2e7fae7 Add [Unreleased] section for next cycle 2026-05-18 02:01:57 +02:00
Mario Zechner
73a61654af Release v0.75.1 2026-05-18 02:01:03 +02:00
Mario Zechner
f1218fa8aa chore: audit unreleased changelogs 2026-05-18 02:00:07 +02: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
7f3c340dc6 Add [Unreleased] section for next cycle 2026-05-17 21:03:41 +02:00
Mario Zechner
12f5c00cc1 Release v0.75.0 2026-05-17 21:02:49 +02:00
Mario Zechner
d5ebc973d0 chore: audit unreleased changelog entries 2026-05-17 21:01:03 +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
2c708492e3 Release v0.74.1 2026-05-17 01:35:45 +02:00
Mario Zechner
72104d88f9 docs: audit unreleased changelogs 2026-05-17 01:29:35 +02:00
Mario Zechner
e26fbb3d46 fix(coding-agent): route global fetch through undici dispatcher closes #4519 2026-05-17 01:26:05 +02:00
Mario Zechner
bfd6535f7b fix(coding-agent): update clipboard native package
closes #4492
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
943236c9e6 Merge pull request #4567 from julien-c/fix/extensions-docs-notify-type
docs(coding-agent): fix invalid notify type in extensions example
2026-05-16 22:52:31 +02:00
Aliou Diallo
b9ae2590f5 docs(coding-agent): document overflow normalization for custom providers
Adds a Context Overflow Errors subsection to custom-provider.md showing how a custom provider extension can rewrite unrecognized overflow errors via a message_end handler so pi's native compact-and-retry path triggers. Includes guard rails for provider scoping, idempotency, and avoiding rate-limit phrases.
2026-05-16 01:50:12 +02:00
Julien Chaumond
656bd2cadf docs(coding-agent): fix invalid notify type in extensions example
The notify() API only accepts "info" | "warning" | "error" — "success"
was a copy-paste error in the example.

Co-Authored-By: julien-agent <Agents+cyolo@huggingface.co>
2026-05-15 20:23:34 +02:00
Mario Zechner
7ddc7dd1ec fix(coding-agent): space interactive errors
closes #4510
2026-05-15 01:10:56 +02:00
Mario Zechner
3ca474b15b fix(coding-agent): fix Termux docs code fence
closes #4503
2026-05-15 01:02:36 +02:00
Mario Zechner
0b54c87e24 fix(release): finalize Windows ARM64 binary support
closes #4410
2026-05-14 22:44:28 +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
2b895e20cd Merge pull request #4391 from yzhg1983/fix/sdk-example-session-dispose
fix(coding-agent): dispose SDK example sessions
2026-05-12 23:50:08 +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
Armin Ronacher
64882c6a51 chore(deps): remove unused dependencies (#4453) 2026-05-12 23:35:41 +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