Commit Graph
3417 Commits
Author SHA1 Message Date
Mario Zechner 350d17d1f3 Merge branch 'main' of https://github.com/badlogic/pi-mono 2026-03-29 21:09:04 +02:00
Mario Zechner ef6af5ebbd feat(ai,coding-agent): add faux provider and ModelRegistry factories 2026-03-29 21:08:50 +02:00
Mario Zechner b5f425ad15 feat(agent,coding-agent): add prepareArguments hook for pre-validation argument preparation
Add AgentTool.prepareArguments and ToolDefinition.prepareArguments hook
that runs before schema validation in the agent loop. This lets tools
silently accept legacy argument shapes from resumed old sessions without
polluting the public schema.

The built-in edit tool uses this to fold legacy top-level oldText/newText
into edits[] when resuming sessions that predate the edits-only schema.

- AgentTool/ToolDefinition: typed prepareArguments returning Static<TParameters>
- agent-loop: prepareToolCallArguments() runs before validateToolArguments()
- edit tool: prepareEditArguments folds legacy fields, validateEditInput is strict
- Documented in extensions.md with edit-tool example
2026-03-29 21:06:22 +02:00
Mario Zechner fa890e3f94 docs: update AGENTS instructions 2026-03-29 19:38:48 +02:00
Mario Zechner 7e1dd8880c fix(coding-agent): restore extension input source semantics 2026-03-29 19:28:04 +02:00
Duncan OgilvieandGitHub 1ee0d28d7b fix(coding-agent): properly queue extension messages (#2674) 2026-03-29 19:23:40 +02:00
FeroandGitHub 170c66072d fix(monorepo): resolve pi-ai subpaths to source files (#2625) 2026-03-29 17:27:27 +02:00
warrenandGitHub e6a302b935 docs(coding-agent): clarify repeated compaction boundary behavior (#2662) 2026-03-29 17:03:56 +02:00
Mario Zechner 49c0d860a4 fix(tui): stop swallowing escape during cell size detection closes #2661 2026-03-29 13:22:23 +02:00
Mario Zechner 567249e8b4 Add [Unreleased] section for next cycle 2026-03-29 13:14:04 +02:00
Mario Zechner 41039e8de7 Release v0.63.2 v0.63.2 2026-03-29 13:14:04 +02:00
warrenandGitHub 77d8700b21 docs(coding-agent): clarify sandbox example alternative to bash override (#2663) 2026-03-29 13:10:19 +02:00
Mario Zechner fdfe6226aa docs(coding-agent): audit unreleased changelog entries closes #2639 2026-03-29 13:09:04 +02:00
Mario Zechner 0f9db44aff fix(coding-agent): avoid full redraw on large edit results closes #2664 2026-03-29 13:00:46 +02:00
Mario Zechner 7d4faa080d fix: expose abort signal to extensions closes #2660 2026-03-28 22:25:06 +01:00
Mario Zechner e773527b3a fix(coding-agent): simplify edit tool input closes #2639 2026-03-28 22:10:34 +01:00
Mario Zechner 576e5e1a2f fix(tui): align attachment debounce test 2026-03-27 11:17:20 +01:00
Mario Zechner ec1cf54ada Add [Unreleased] section for next cycle 2026-03-27 04:15:02 +01:00
Mario Zechner d9727c4478 Release v0.63.1 v0.63.1 2026-03-27 04:14:13 +01:00
Mario Zechner 8fba9e9223 docs(changelog): audit unreleased entries 2026-03-27 04:12:34 +01:00
Mario Zechner 46f5b798f9 chore(coding-agent): remove unused compaction import 2026-03-27 04:11:43 +01:00
Mario Zechner 7fe7081745 fix(coding-agent): document mutable tool_call input closes #2611 2026-03-27 04:01:20 +01:00
Mario Zechner f456a7a4db fix(coding-agent): restore compaction summary and dedupe edit errors 2026-03-27 04:00:21 +01:00
Mario Zechner a0734bd162 fix(coding-agent): tighten skill discovery and edit diffs closes #2603 2026-03-27 03:48:28 +01:00
Mario Zechner eeace79715 fix(coding-agent): preserve kept messages across repeated compaction closes #2608 2026-03-27 03:36:57 +01:00
Mario Zechner 161ad18287 fix(coding-agent): unify compaction UI events closes #2617 2026-03-27 03:14:24 +01:00
Mario Zechner 1ba899f6a6 fix(coding-agent): honor custom renderers for built-in tool overrides closes #2595 2026-03-27 03:10:13 +01:00
Mario Zechner bc8eb74b82 fix(ai): detect Ollama overflow errors closes #2626 2026-03-27 02:50:22 +01:00
Gordon HuiandGitHub 17625cc8a2 feat(ai): add google-vertex gemini-3.1-pro-preview-customtools (#2610) 2026-03-27 02:45:58 +01:00
Mario Zechner 72a8fcca93 docs: enable OSS weekend 2026-03-27 02:31:57 +01:00
Mario Zechner e24a61ef01 Add [Unreleased] section for next cycle 2026-03-27 02:31:10 +01:00
Mario Zechner 83c8682779 Release v0.63.0 v0.63.0 2026-03-27 02:30:20 +01:00
Mario Zechner d56941073d docs(changelog): audit unreleased entries 2026-03-27 02:29:06 +01:00
Mario Zechner 20a57e7599 feat(coding-agent): support multi-edit in edit tool 2026-03-27 02:21:09 +01:00
Mario Zechner 10a02d461b chore(ai): update generated models 2026-03-27 00:47:40 +01:00
Mario Zechner 7a786d88aa fix(coding-agent): resolve models.json auth per request closes #1835 2026-03-27 00:47:40 +01:00
FeroandGitHub fb10d9aef9 chore(coding-agent): add startup onboarding hint (#2620) 2026-03-26 15:44:56 +01:00
Mario Zechner 0406b41a46 fix(tui): keep @ autocomplete responsive in large trees closes #1278 2026-03-26 15:43:51 +01:00
Mario Zechner 56e27fef1d chore: make pi-test.sh runnable from any directory 2026-03-26 15:43:42 +01:00
Mario Zechner cb4e4d8c9a fix(tui): reset viewport state after shrink 2026-03-26 10:40:10 +01:00
Mario Zechner 7e94d36a44 fix(coding-agent): add follow-up docs, changelog, and precedence tests closes #2429 2026-03-26 00:28:30 +01:00
Mario Zechner 76f6f8cb8b fix(coding-agent,ai): restore main syntax and apply biome formatting 2026-03-26 00:12:26 +01:00
2b1fc90cd7 feat(coding-agent): Add sessionDir support in settings.json (#2598)
Users can now set sessionDir in global or project settings.json instead
of passing --session-dir on every invocation. CLI flag takes precedence,
then settings.json, then extension hooks.

Closes #2429

Co-authored-by: Sam Collins <81678+smcllns@users.noreply.github.com>
Co-authored-by: Mario Zechner <badlogicgames@gmail.com>
2026-03-26 00:03:36 +01:00
Mario Zechner d38ad0cd6b fix(coding-agent): preserve file mutation queue ordering 2026-03-25 23:05:04 +01:00
Mario Zechner dcc569c09b chore(coding-agent): emit startup benchmark metrics 2026-03-25 23:05:04 +01:00
Mario Zechner 7aeb684b72 chore(coding-agent): refine startup profiling tooling 2026-03-25 23:05:04 +01:00
Mario Zechner 648e96a611 chore(coding-agent): add startup phase timings 2026-03-25 23:05:03 +01:00
Mario Zechner 6dc43d6dd1 fix(ai): prune deprecated direct minimax models 2026-03-25 22:44:32 +01:00
Mario Zechner 14dedf8a9b test(tui): remove stale slash autocomplete chaining case 2026-03-25 22:30:25 +01:00
Mario Zechner 1dbe61b06f test(coding-agent): use valid PNG fixture for read tool 2026-03-25 22:22:48 +01:00