marcbloech
9dcde1e3fa
add cognitive services implementation ( #3799 )
2026-04-27 18:38:03 +02:00
Armin Ronacher
dcf2651631
feat(coding-agent): Add built-in update command ( #3680 )
2026-04-25 13:09:33 +02:00
Mario Zechner
6580dae400
feat(coding-agent): allow hiding working loader
...
closes #3674
2026-04-24 23:17:43 +02:00
Armin Ronacher
02e694b580
doc: pi can read its own docs
2026-04-24 22:25:47 +02:00
Armin Ronacher
35eae2578c
doc: Add documentation index
2026-04-24 18:09:27 +02:00
Mario Zechner
c06750410a
fix(ai,coding-agent): expose provider timeout/retry controls closes #3627
2026-04-24 13:33:00 +02:00
Mario Zechner
1e33492525
fix(coding-agent): harden clipboard copy
...
closes #3639
2026-04-24 12:55:58 +02:00
Mario Zechner
ebbc67df5d
docs(coding-agent): fix extension flag lookup docs
...
closes #3614
2026-04-24 11:41:51 +02:00
Mario Zechner
4cd4cfd98e
fix(ai): support long cache retention compat
...
closes #3543
2026-04-23 23:43:34 +02:00
Mario Zechner
ffa0f31239
fix(ai): support Anthropic eager tool streaming compat
...
closes #3575
2026-04-23 23:12:45 +02:00
Mario Zechner
8700ac1f0e
fix(coding-agent): support custom npmCommand for git deps
...
closes #3604
2026-04-23 22:32:32 +02:00
Mario Zechner
f0cf8a59d2
fix(coding-agent): handle stale extension contexts
...
fixes #3606
2026-04-23 22:07:13 +02:00
Mario Zechner
e38647f376
fix(coding-agent): restore builtin-only tool disabling
...
closes #3592
2026-04-23 21:36:16 +02:00
Armin Ronacher
010e9acfe9
feat(coding-agent): add searchable auth provider login flow ( #3572 )
2026-04-23 13:42:09 +02:00
Mario Zechner
3dacaa8ed9
fix(coding-agent,tui): drop typebox compiler shim and fix progress
2026-04-22 21:12:20 +02:00
Mario Zechner
8234ebf9ee
feat(coding-agent,tui): add stacked autocomplete providers closes #2983
2026-04-22 15:44:08 +02:00
Mario Zechner
4e919868f6
fix(coding-agent): chain system prompt in before_agent_start closes #3539
2026-04-22 14:58:17 +02:00
Mario Zechner
0e5b6e54f0
docs(coding-agent): add terminating structured output example closes #3525
2026-04-22 14:27:03 +02:00
Mario Zechner
1cc303d053
fix(coding-agent): add replacement-session callbacks closes #2860
2026-04-22 12:13:54 +02:00
Armin Ronacher
df84e3d22f
feat(branding): corporate said we're professionals
2026-04-22 11:04:56 +02:00
Mario Zechner
0bb0a58466
feat(ai): add Fireworks provider support closes #3519
2026-04-22 01:09:11 +02:00
Mario Zechner
97a38bf652
fix(coding-agent): configure inline tool image width
...
closes #3508
2026-04-22 00:56:01 +02:00
Mario Zechner
60290b0d75
fix(coding-agent): expand ~ in sessionDir
...
closes #3514
2026-04-22 00:21:57 +02:00
Mario Zechner
759d551527
fix(agent): emit parallel tool completion eagerly\n\ncloses #3503
2026-04-22 00:15:56 +02:00
Aliou Diallo
01ec6e2e7f
docs(coding-agent): fix promptGuidelines examples to name tools explicitly ( #3489 )
...
promptGuidelines bullets are appended flat to the Guidelines section
with no tool name prefix. Using 'Use this tool when...' is ambiguous
because the LLM cannot tell which tool 'this' refers to. Updated docs
and examples to use explicit tool names instead.
2026-04-21 13:07:42 +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
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
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
ed89480f20
docs(coding-agent): document async extension factories closes #3469
2026-04-20 22:02:03 +02:00
Mario Zechner
3054fd7a3b
fix(ai,coding-agent): support anthropic-style cache control for openai compatibles closes #3392
2026-04-20 17:12:05 +02:00
Mario Zechner
74139c3f66
feat(coding-agent): add configurable working indicator closes #3413
2026-04-20 16:28:39 +02:00
Marek Pazik
d4e2e563ae
feat(coding-agent): make scoped models and tree filter shortcuts configurable ( #3343 )
...
- Add app.models.{save,enableAll,clearAll,toggleProvider,reorderUp,reorderDown}
- Add app.tree.filter.{default,noTools,userOnly,labeledOnly,all,cycleForward,cycleBackward}
- Migrate scoped-models-selector cancel to tui.select.cancel
- Prefer reserved actions on key collision in extension shortcut conflict check
2026-04-20 14:35:30 +02:00
Mario Zechner
d554409b1f
fix(coding-agent): split /clone from /fork UX
...
closes #2962
2026-04-20 14:33:32 +02:00
Mario Zechner
ef1fcfcec2
fix(coding-agent): omit devDependencies when installing packages ( fixes #3009 )
2026-04-17 01:21:31 +02:00
Andrés Vinueza
aa25726ebf
feat(coding-agent,tui): support argument-hint frontmatter in prompt templates ( #2780 )
...
* feat(coding-agent,tui): support argument-hint frontmatter in prompt templates
Parse argument-hint from prompt template frontmatter and display it
in the autocomplete dropdown description, matching Claude Code's
convention for custom commands.
Frontmatter format:
---
description: Code review
argument-hint: "[file | #PR | PR-URL]"
---
The hint renders in the description column of the autocomplete list:
review [file | #PR | PR-URL] — Code review
Closes #2761
* docs(coding-agent,tui): add argument-hint documentation, tests, and built-in hints
- Document argument-hint frontmatter in prompt-templates.md with <required>/[optional] convention
- Add argument-hint to built-in prompts: pr, is, wr
- Expand tests: required/optional hints, missing hints, empty hints, special characters
- Add changelog entries for coding-agent and tui
2026-04-16 23:02:35 +02:00
Mario Zechner
d131fcd4ba
feat(coding-agent): add after_provider_response hook closes #3128
2026-04-16 20:28:08 +02:00
Armin Ronacher
5b84152b17
revert(tui): temporarily undo Zellij Kitty-query bypass
...
This reverts 3929e0c181 .
The Zellij-specific Kitty-query skip regresses Shift+Enter newline handling in Zellij. Restoring the previous behavior for now while we work on a safer fix that preserves both Alt and modified Enter handling.\n\nContext: https://github.com/badlogic/pi-mono/issues/3259
2026-04-16 20:00:54 +02:00
Mario Zechner
624a7f794f
fix(coding-agent): handle ctrl+z on windows closes #3191
2026-04-16 12:33:47 +02:00
Mario Zechner
f7cd613ee4
fix(coding-agent): stabilize edit diff previews closes #3134
2026-04-15 23:11:50 +02:00
Mario Zechner
441c12956a
fix(coding-agent): emit rpc prompt response after preflight closes #3049
2026-04-15 22:09:17 +02:00
Armin Ronacher
c623ada3e2
doc: fix another bad code block
2026-04-15 18:44:49 +02:00
Mario Zechner
3929e0c181
fix(tui): skip Kitty query inside Zellij\n\nfixes #3163
2026-04-15 18:43:37 +02:00
Armin Ronacher
9c1e6ef6d3
docs(coding-agent): fix nested code fences in skills docs
2026-04-15 18:40:37 +02:00
Mario Zechner
5d440b055c
fix(coding-agent): fire session shutdown on TERM and HUP closes #3212
2026-04-15 16:37:19 +02:00
Mario Zechner
7371c30c0a
feat(coding-agent): add install telemetry ping controls
2026-04-14 00:21:13 +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
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
d98b563165
docs: add switchSession to ExtensionCommandContext in extensions.md
...
fixes #2735
2026-04-01 23:51:22 +02:00