Mario Zechner
43d3cdd48a
fix(coding-agent): use configured model scope cycle hint closes #4508
2026-05-17 00:03:03 +02:00
Mario Zechner
3e5ad67e0f
chore: migrate pi packages to earendil works scope
2026-05-07 15:59:42 +02:00
Mario Zechner
80f06d3636
feat: add model thinking level metadata
...
closes #3208
2026-05-02 01:21:06 +02:00
Mario Zechner
8191d59c17
feat(coding-agent): support session dir env
...
closes #4027
2026-04-30 21:37:53 +02:00
Mario Zechner
bffb760f4f
fix(coding-agent): improve auth setup warnings
2026-04-24 00:55:27 +02:00
Mario Zechner
3fb2d11ce5
fix(coding-agent): honor no-tools in service sessions
...
fixes #3592
2026-04-23 21:36:16 +02:00
Mario Zechner
e38647f376
fix(coding-agent): restore builtin-only tool disabling
...
closes #3592
2026-04-23 21:36:16 +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
e189b23964
feat(coding-agent): add --no-context-files flag
...
closes #3253
2026-04-16 10:59:32 +02:00
Mat
dcb1f422c4
feat(coding-agent): accept inline extension factories in main() ( #3099 )
2026-04-14 20:26:07 +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
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
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
617f1870f8
fix(coding-agent): reuse initial resource loader on startup closes #2766
2026-04-02 11:06:08 +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
ef6af5ebbd
feat(ai,coding-agent): add faux provider and ModelRegistry factories
2026-03-29 21:08:50 +02:00
Mario Zechner
76f6f8cb8b
fix(coding-agent,ai): restore main syntax and apply biome formatting
2026-03-26 00:12:26 +01:00
Sam
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
648e96a611
chore(coding-agent): add startup phase timings
2026-03-25 23:05:03 +01:00
Mario Zechner
ebe437081e
fix(coding-agent): emit session_shutdown in print mode closes #2576
2026-03-24 23:50:47 +01:00
Mario Zechner
f1fe49a641
fix(coding-agent): reserve stdout in print and json mode closes #2482
2026-03-22 21:21:29 +01:00
Duncan Ogilvie
80f527ec22
feat(coding-agent): add startup profiling scripts for tui/rpc ( #2497 )
2026-03-21 20:46:00 +01:00
Mario Zechner
e3fee7a511
fix(keybindings): migrate to namespaced ids closes #2391
2026-03-20 01:55:30 +01:00
Mario Zechner
e0f85a3b5e
fix(coding-agent): avoid blocking footer branch refresh and isolate invalid extension provider registrations closes #2418 closes #2431
2026-03-19 21:40:55 +01:00
Mario Zechner
1a9185d3cb
feat(coding-agent): add --fork session flag closes #2290
2026-03-18 01:09:23 +01:00
Mario Zechner
bbd8392ef9
fix(coding-agent): merge piped stdin into initial prompt closes #2315
2026-03-17 22:25:35 +01:00
Mario Zechner
c3fc724887
fix(coding-agent): add uninstall alias
...
closes #2051
2026-03-14 05:44:47 +01:00
Mario Zechner
787f351ab7
feat(coding-agent): refine session_directory hook closes #1729
2026-03-08 00:19:35 +01:00
Helmut Januschka
7df89066d9
feat(coding-agent): add session_directory extension event
...
Adds a session_directory extension event that fires before session manager
creation, allowing extensions to customize the session directory path based
on cwd, git branch, or other context.
- Extensions can return a custom sessionDir in the event handler
- CLI --session-dir flag takes precedence over extension-provided paths
- If multiple extensions return a sessionDir, the last one wins
- Enables implementing branch-based sessions as an extension instead of core feature
This provides the extension point needed to implement git branch-based
session directories without adding the complexity to core.
Closes #1729
2026-03-08 00:19:35 +01:00
Mario Zechner
e64cd15c25
fix(coding-agent): preserve session thinking for scoped model cycling
...
closes #1789
2026-03-04 19:51:55 +01:00
Matteo Collina
757d36a41b
fix(coding-agent): add offline startup mode and network timeouts ( #1631 )
2026-02-25 19:44:49 +01:00
Mario Zechner
2977c14917
refactor(coding-agent): move auth storage to backend abstraction
2026-02-17 19:57:21 +01:00
Mario Zechner
de2736bad0
refactor(coding-agent): improve settings storage semantics and error handling
2026-02-17 00:08:32 +01:00
Mario Zechner
0adce69b3b
fix(coding-agent): tighten git source parsing and local path normalization ( fixes #1426 )
2026-02-12 21:28:06 +01:00
Mario Zechner
4793f7c92d
fix(coding-agent): make resolveCliModel sync, update docs and changelog
2026-02-12 19:04:51 +01:00
Armin Ronacher
56342258e1
fix(coding-agent): honor --model selection, thinking, and --api-key
2026-02-12 18:58:45 +01:00
Fero
f9161c4d4e
fix(coding-agent): add package subcommand help and friendly errors ( #1347 )
...
* fix(coding-agent): add package subcommand help and friendly errors
* refactor(coding-agent): simplify package command parsing and dispatch
* fix(coding-agent): add plain git URL examples to install help
2026-02-07 03:30:28 +01:00
Mario Zechner
6b0f1fefdb
fix(coding-agent): centralize package source normalization and local path parsing fixes #1304
2026-02-06 00:20:52 +01:00
Mario Zechner
6c741cbd46
Merge pull request #1285 from ferologics/exit-early
...
fix(coding-agent): exit early for help/version/export/list-models (fixes #1277 )
2026-02-05 17:42:08 +01:00
ferologics
5c41e5d0cd
fix(coding-agent): exit early for help/version/export/list-models ( fixes #1277 )
2026-02-05 17:18:10 +01:00
Markus Ekholm
fba9a8aece
feat(coding-agent): add SSH URL support for git packages
...
Use hosted-git-info library for robust parsing of SSH URLs (git@host:path
and ssh://) in addition to HTTPS. SSH and HTTPS URLs for the same repo
are now properly deduplicated.
2026-02-05 16:48:10 +01:00
Mario Zechner
b1c2c95f23
fix(coding-agent): normalize local package removal paths ( fixes #1243 )
2026-02-04 12:56:00 +01:00
Mario Zechner
2f5235b966
fix(coding-agent): support local install paths relative to settings files closes #1216
2026-02-03 12:58:34 +01:00
Mario Zechner
a373dce747
fix(coding-agent): improve thinking defaults in footer
2026-01-29 00:33:45 +01:00
Mario Zechner
150128fd2c
feat(coding-agent): add pi config TUI to manage resources
...
Adds a new 'pi config' command with a TUI to list and toggle package
resources (extensions, skills, prompts, themes).
- Displays resources grouped by source (packages, user, project)
- Subgroups by resource type (Extensions, Skills, Prompts, Themes)
- Toggle enabled/disabled state with space
- Filter resources by typing
- Supports +pattern for force-include, !pattern for exclude
- Properly reads exclusion patterns from settings.json
fixes #938
2026-01-25 03:12:21 +01:00
Mario Zechner
7a5cfdaed0
fix: apply extension provider registrations before model resolution
...
- Extensions register providers via pendingProviderRegistrations
- These were only applied in bindCore() during AgentSession creation
- But model resolution in main.ts happens before session creation
- Fix: apply pending registrations immediately after loading extensions
- Also fix gitlab-duo to pass Authorization header instead of apiKey
2026-01-25 00:13:20 +01:00
Mario Zechner
3256d3c083
refactor(oauth): add provider registry
2026-01-24 23:15:11 +01:00
Mario Zechner
725d6bbf35
feat(coding-agent): refine resource metadata and display
2026-01-24 02:46:08 +01:00