Armin Ronacher
3e9f717445
fix(coding-agent): make config env references explicit
...
closes #5095
2026-05-28 11:58:38 +02:00
Armin Ronacher
ae9450dc51
chore(ts): use source import extensions
2026-05-20 00:04:03 +02:00
Mario Zechner
3e5ad67e0f
chore: migrate pi packages to earendil works scope
2026-05-07 15:59:42 +02:00
Mario Zechner
5a4e22ea44
fix(coding-agent): remove process-cwd tool singletons and use tool-name allowlists
...
- switch SDK/CLI tool selection to name-based allowlists
- apply allowlists across built-in, extension, and SDK tools
- remove ambient process.cwd defaults from core tooling and resource helpers
- update tests, examples, and TUI callers for explicit cwd plumbing
- add regression coverage for extension tool filtering
closes #3452
closes #2835
2026-04-20 22:05:28 +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
22870ae0c2
chore: remove deprecation comment from getToolsDir, add changelog entry for #470
2026-01-05 20:26:48 +01:00
Jake
0a736e858d
fix: move managed binaries to bin/ and ignore hidden files in migration check
2026-01-06 07:52:49 +13:00
Carlos Gutierrez
d9e0604183
Ignore Windows binaries in tools/ ( #458 )
...
Co-authored-by: root <root@WIN11.localdomain >
2026-01-05 06:22:34 +01:00
Mario Zechner
91cca23d23
Add migration for commands->prompts, warn about deprecated hooks/tools dirs
...
- Auto-migrate commands/ to prompts/ on startup
- Warn if hooks/ or tools/ directories contain custom extensions
- Show deprecation warnings in interactive mode with keypress to continue
- Update CHANGELOG and docs with full migration guide
2026-01-05 02:41:08 +01:00
Mario Zechner
cb6310e159
Add automatic session migration for v0.30.0 bug
...
- Create migrations.ts with consolidated migrations
- Move auth migration from AuthStorage.migrateLegacy() to migrations.ts
- Add migrateSessionsFromAgentRoot() to fix misplaced sessions
- Sessions in ~/.pi/agent/*.jsonl are auto-migrated on startup
fixes #320
2025-12-26 03:24:49 +01:00