Commit Graph

2341 Commits

Author SHA1 Message Date
Sviatoslav Abakumov 3166dae728 fix(coding-agent): flush queued messages after tree navigation (#3091)
Messages sent during branch summarization are added to the compaction
queue but never flushed when summarization ends. The user sees the
message in the steering queue and has to manually dequeue and resend it.

The fix is to flush the compaction queue after successful tree
navigation, matching the existing behavior of auto-compaction and
`/compact`. If the user jumps to a user message, the queued message is
sent as a prompt, and the jumped-to text is placed in the editor.
2026-04-13 11:03:01 +02:00
Aadish Verma 4f7fc9de7e fix: bump antigravity User-Agent header version (#2901)
resolves #2815

Co-authored-by: Mario Zechner <badlogicgames@gmail.com>
2026-04-09 03:10:05 +02:00
Zeremonienmeister Berber Aab f05f4e8a5f Add all OpenRouter provider routing fields to OpenRouterRouting (#2904)
The OpenRouterRouting interface only had only and order, but the runtime
passes the entire object as-is to the OpenRouter API's provider field.
This means all other fields worked at runtime but had no TypeScript
type-checking, no autocomplete, and no config validation.

This adds all fields from the OpenRouter provider selection API
(https://openrouter.ai/docs/guides/routing/provider-selection):
allow_fallbacks, require_parameters, data_collection, zdr,
enforce_distillable_text, ignore, quantizations, sort, max_price,
preferred_min_throughput, preferred_max_latency.

Also fixes the models.md documentation which had an invalid fallbacks
field in the example (not part of the OpenRouter API), replaces it with
a comprehensive example showing all available fields, and clarifies that
openRouterRouting is sent as-is in the provider field.
2026-04-09 03:08:45 +02:00
Aadish Verma ee2483cd34 fix: update google provider to handle gemma 4 thinking levels and route between MINIMAL and HIGH (#2903)
resolves #2812

Co-authored-by: Mario Zechner <badlogicgames@gmail.com>
2026-04-09 03:08:00 +02:00
Mario Zechner 61015830ed feat(coding-agent): set PI_CODING_AGENT=true env var at startup
closes #2868
2026-04-09 03:03:19 +02:00
Paul Harrison 82ecc1300f Update sandbox extension configuration instructions (#2915)
The current sandbox extension instructions state the glob configuration file must exist at `~/.pi/agent/sandbox.json` whereas it actually must exist at  `~/.pi/agent/extensions/sandbox.json` to be picked up.
2026-04-09 02:39:50 +02:00
Mario Zechner 2cf2a8528e Add [Unreleased] section for next cycle 2026-04-09 01:01:16 +02:00
Mario Zechner f3780d7004 Release v0.66.1 2026-04-09 01:00:19 +02:00
Mario Zechner cca5a3a1a4 fix(coding-agent): hide Earendil startup notice 2026-04-09 00:53:19 +02:00
Mario Zechner a99aee3360 Add [Unreleased] section for next cycle 2026-04-08 18:57:08 +02:00
Mario Zechner 918cc09dd6 Release v0.66.0 2026-04-08 18:56:20 +02:00
Mario Zechner 70fb83fcff docs(coding-agent): update unreleased changelog 2026-04-08 18:51:54 +02:00
Mario Zechner 96916f2cad fix(coding-agent): warn on Anthropic subscription auth 2026-04-08 18:46:40 +02:00
Mario Zechner 6d2d03dcc9 fix(coding-agent): add earendil startup announcement 2026-04-08 11:13:40 +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 377eca9684 fix(ai,coding-agent): use node:readline import prefix for Deno compatibility
closes #2885
2026-04-08 01:59:34 +02:00
Mario Zechner 773f91f40a docs: add OSS session sharing call to action 2026-04-06 16:51:20 +02:00
Mario Zechner 0ff00ad4e3 Add [Unreleased] section for next cycle 2026-04-06 02:05:48 +02:00
Mario Zechner 573eb91c78 Release v0.65.2 2026-04-06 02:04:58 +02:00
Mario Zechner 78d4625a48 Add [Unreleased] section for next cycle 2026-04-06 00:26:57 +02:00
Mario Zechner 4171cf0dbb Release v0.65.1 2026-04-06 00:26:06 +02:00
Mario Zechner db31c16b65 docs(coding-agent): audit unreleased changelog entries 2026-04-06 00:25:21 +02:00
Mario Zechner 52d16d5a31 fix(coding-agent): persist bash output on line truncation closes #2852 2026-04-05 23:28:49 +02:00
Mario Zechner 0c98d5a54a fix(coding-agent): remove stale /exit docs closes #2850 2026-04-05 23:06:47 +02:00
Mario Zechner 080af6fc06 fix(coding-agent): handle missing session cwd 2026-04-05 21:24:32 +02:00
Aliou Diallo 127547f2b3 fix(coding-agent): preserve json mode for piped stdin (#2848) 2026-04-05 21:02:18 +02:00
Aliou Diallo 71e4436932 fix(coding-agent): handle git/npm extension paths in CLI resolution (#2845) 2026-04-05 18:42:14 +02:00
Otto Jongerius 02c2a3e54b fix: quote $RESX and $RESY in doom build script (SC2086) (#2817) 2026-04-05 01:07:34 +02:00
Mario Zechner a7acef92a7 fix(coding-agent): resource collision precedence, user/project skills override package skills
Sort resolved resources by precedence rank (project settings > project auto >
user settings > user auto > package) so first-wins collision logic produces
correct results. Also reorder CLI paths to prepend instead of append.

fixes #2781
2026-04-04 21:28:38 +02:00
Mario Zechner fbd35a4660 Renamed test 2026-04-04 21:07:08 +02:00
Mario Zechner 5e5eeb9603 fix(coding-agent): handle async fs.watch error events in theme watcher
closes #2791
2026-04-04 20:51:34 +02:00
Mario Zechner 72a43dc063 fix(coding-agent): forward RpcClient subprocess stderr to parent in real-time
fixes #2805
2026-04-04 12:41:09 +02:00
Mario Zechner 84d134061f Add [Unreleased] section for next cycle 2026-04-03 20:32:11 +02:00
Mario Zechner 8c1831bd5c Release v0.65.0 2026-04-03 20:31:19 +02:00
Mario Zechner fccdac9a1f docs: audit and complete changelog entries for unreleased changes 2026-04-03 20:28:12 +02:00
Mario Zechner f2f79dab9a chore(coding-agent): remove dead main-package-command.ts (replaced by package-manager-cli.ts) 2026-04-03 20:15:40 +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 042066b982 docs: refine OSS weekend banner messaging 2026-04-02 11:17:42 +02:00
Mario Zechner 71f3e50a16 fix: update OSS weekend gating and messaging 2026-04-02 11:15:19 +02:00
Mario Zechner 617f1870f8 fix(coding-agent): reuse initial resource loader on startup closes #2766 2026-04-02 11:06:08 +02:00
Mario Zechner d98b563165 docs: add switchSession to ExtensionCommandContext in extensions.md
fixes #2735
2026-04-01 23:51:22 +02:00
Mario Zechner e2f29b0523 add(coding-agent): add defineTool helper closes #2746 2026-04-01 23:07:14 +02:00
Mario Zechner 746f770b10 test(coding-agent): add session lifecycle characterization suite 2026-04-01 22:59:49 +02:00
Mario Zechner 957f21cea8 test(coding-agent): add queue characterization coverage 2026-04-01 14:31:02 +02:00
Mario Zechner a1e107897d fix(tui): await async slash command completions closes #2719 2026-03-31 14:41:50 +02:00
Mario Zechner 5ce0d15b66 fix(coding-agent): resolve theme export variables closes #2707 2026-03-31 14:41:50 +02:00
Mario Zechner d86122cbd3 refactor(coding-agent): add runtime host for session switching closes #2024 2026-03-31 13:49:57 +02:00
warren 0c64c1ce07 docs(coding-agent): clarify /tree active branch ordering (#2695) 2026-03-30 17:07:31 +02:00
Mario Zechner dab6c7e312 docs(coding-agent): add changelog entry for #2691 2026-03-30 16:05:35 +02:00
warren 84d2b51a2e feat(coding-agent): add label timestamps to the session tree (#2691) 2026-03-30 15:56:37 +02:00