Armin Ronacher
9600ded922
revert: fix rpc stdout backpressure
...
This reverts commit d0d1d8edca .
2026-05-24 11:50:53 +02:00
Armin Ronacher
d0d1d8edca
fix(rpc): respect stdout backpressure
...
closes #4897
2026-05-24 11:28:02 +02:00
Armin Ronacher
c100620bf4
fix(coding-agent): Clean up Path Handling ( #4873 )
2026-05-22 11:25:15 +02:00
Armin Ronacher
ae9450dc51
chore(ts): use source import extensions
2026-05-20 00:04:03 +02:00
Mario Zechner
b944827623
fix(agent): stop tool preflight after extension abort
...
closes #4276
2026-05-19 13:10:03 +02:00
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
35f807cfaf
fix(coding-agent): route compaction through streamFn
...
closes #4484
2026-05-17 01:57:03 +02:00
Mario Zechner
5ac874c849
fix(coding-agent): retry Anthropic message_stop stream endings
...
closes #4433
2026-05-12 23:25:15 +02:00
Mario Zechner
3e5ad67e0f
chore: migrate pi packages to earendil works scope
2026-05-07 15:59:42 +02:00
Mario Zechner
23420012ab
fix(coding-agent): decouple codex session cleanup
2026-05-04 00:45:56 +02:00
Armin Ronacher
5fa277b320
fix(coding-agent): close codex websocket sessions
...
Fixes #4103
2026-05-03 23:25:56 +02:00
Armin Ronacher
370fdae6fa
fix(ai): fall back from codex websocket to sse ( #4133 )
2026-05-03 22:51:42 +02:00
Mario Zechner
80f06d3636
feat: add model thinking level metadata
...
closes #3208
2026-05-02 01:21:06 +02:00
Mario Zechner
95ae590279
fix(coding-agent): refresh thinking border from extensions
...
closes #3888
2026-04-30 22:50:00 +02:00
Mario Zechner
40c6eabb8f
feat(coding-agent): allow message_end replacements
...
closes #3982
2026-04-30 21:24:36 +02:00
Mario Zechner
c19e64a444
fix(coding-agent): refresh title after extension session rename
...
closes #3686
2026-04-25 17:20:26 +02:00
Mario Zechner
a363b668ac
fix(coding-agent): clear tree navigation compaction state
...
closes #3688
2026-04-25 17:03:09 +02:00
Mario Zechner
bffb760f4f
fix(coding-agent): improve auth setup warnings
2026-04-24 00:55:27 +02:00
Mario Zechner
f0cf8a59d2
fix(coding-agent): handle stale extension contexts
...
fixes #3606
2026-04-23 22:07:13 +02:00
Mario Zechner
2394f3a987
fix(coding-agent): retry Bedrock http2 no-response errors closes #3594
2026-04-23 21:36:51 +02:00
Mario Zechner
1cc303d053
fix(coding-agent): add replacement-session callbacks closes #2860
2026-04-22 12:13:54 +02:00
Mario Zechner
14ad636fb5
fix(coding-agent): initialize system prompt options lazily
2026-04-20 23:22:21 +02:00
Mario Zechner
12d7161884
fix(coding-agent): add session_shutdown reasons closes #2863
2026-04-20 23:11:08 +02:00
Douglas Stephen
1891b9ac01
feat: Expose BuildSystemPromptOptions on before-agent-start event. ( #3473 )
...
Resolves : #3463
2026-04-20 23:06:47 +02:00
Mario Zechner
c40efa9bab
fix(coding-agent): resolve shell config from session settings
...
Stop shell resolution from consulting ambient process.cwd() during bash execution and use the active session's shellPath setting instead.
closes #3452
2026-04-20 22:32:11 +02:00
Mario Zechner
27c1544839
fix(coding-agent): use tool-name allowlists and remove cwd-bound singletons
...
- treat tools as a global allowlist across built-in, extension, and SDK tools
- remove process-cwd singleton tool usage from SDK and CLI paths
- add regression coverage for extension tool filtering
closes #3452
closes #2835
2026-04-20 22:05:28 +02:00
Mario Zechner
2f4f283cc2
fix(ai,coding-agent): preserve non-vision image placeholders closes #3429
2026-04-20 16:52:27 +02:00
Mario Zechner
da6a81d398
fix(coding-agent): reuse session thinking for compaction closes #3438
2026-04-20 15:09:50 +02:00
Mario Zechner
c15e4d4913
fix(coding-agent): retry connection lost errors
...
closes #3317
2026-04-17 16:45:05 +02:00
Mario Zechner
e9808b5854
fix(coding-agent): restore afterToolCall error overrides closes #3051
2026-04-17 01:49:34 +02:00
Mario Zechner
441c12956a
fix(coding-agent): emit rpc prompt response after preflight closes #3049
2026-04-15 22:09:17 +02:00
Mario Zechner
f10cce9435
fix(coding-agent): retry ended-without stream errors closes #2892
2026-04-08 02:06:59 +02:00
Mario Zechner
9f9277ccdd
refactor(coding-agent): replace AgentSessionRuntimeHost with closure-based AgentSessionRuntime
...
- Replace AgentSessionRuntimeHost and bootstrap abstractions with AgentSessionRuntime
- Runtime creation is now closure-based via CreateAgentSessionRuntimeFactory
- Factory closes over process-global fixed inputs, recreates cwd-bound services per effective cwd
- Session config (model, thinking, tools, scoped models) re-resolved per target cwd
- CLI resource paths resolved once at startup as absolute paths
- Swap lifecycle: teardown old, create next, apply next (hard fail on creation error)
- Unified diagnostics model (info/warning/error) for args, services, session resolution, resources
- No logging or process exits inside creation/parsing logic
- Removed session_directory support
- Removed session_switch and session_fork extension events (use session_start with reason)
- Moved package/config CLI to package-manager-cli.ts
- Fixed theme init for --resume session picker
- Fixed flaky reftable footer test (content-based polling)
- Fixed silent drop of unknown single-dash CLI flags
- Added error diagnostics for missing explicit CLI resource paths
- Updated SDK docs, examples, plans, exports, tests, changelog
fixes #2753
2026-04-03 20:14:12 +02:00
Mario Zechner
d86122cbd3
refactor(coding-agent): add runtime host for session switching closes #2024
2026-03-31 13:49:57 +02:00
Mario Zechner
21863d4ec7
fix(coding-agent): wait for retried runs to settle
2026-03-30 15:51:59 +02:00
Mario Zechner
cbe1a8b732
fix(agent): simplify state API and update consumers fixes #2633
2026-03-30 12:43:34 +02:00
Mario Zechner
7e1dd8880c
fix(coding-agent): restore extension input source semantics
2026-03-29 19:28:04 +02:00
Duncan Ogilvie
1ee0d28d7b
fix(coding-agent): properly queue extension messages ( #2674 )
2026-03-29 19:23:40 +02:00
Mario Zechner
7d4faa080d
fix: expose abort signal to extensions closes #2660
2026-03-28 22:25:06 +01:00
Mario Zechner
161ad18287
fix(coding-agent): unify compaction UI events closes #2617
2026-03-27 03:14:24 +01:00
Mario Zechner
7a786d88aa
fix(coding-agent): resolve models.json auth per request closes #1835
2026-03-27 00:47:40 +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
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
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
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
8a8e2a8049
docs(agent): update steering docs for deferred tool execution closes #2330
2026-03-18 03:49:30 +01:00