Commit Graph
100 Commits
Author SHA1 Message Date
Mario Zechner 479eedd46f Release v0.52.12 2026-02-13 23:42:49 +01:00
Mario Zechner a26a9cfabd feat: add configurable transport and codex websocket session caching 2026-02-13 23:41:49 +01:00
Mario Zechner 9537919a49 Release v0.52.11 2026-02-13 21:58:59 +01:00
Mario Zechner 130c23e6c7 chore(models): add MiniMax M2.5 entries across providers 2026-02-13 21:57:21 +01:00
Mario Zechner bd040072d3 Cleanup 2026-02-12 22:56:33 +01:00
Mario Zechner d0543d3c18 Add [Unreleased] section for next cycle 2026-02-12 22:19:30 +01:00
Mario Zechner 2668a1125d Release v0.52.10 2026-02-12 22:18:43 +01:00
Mario Zechner 460b891470 chore(changelog): audit unreleased entries since v0.52.9 2026-02-12 22:17:24 +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 31f765ff1b fix(tui): scope @ fuzzy search to path prefixes\n\ncloses #1423 2026-02-12 21:26:47 +01:00
Mario Zechner ed0cfcbda2 fix(ai): tolerate malformed trailing tool-call JSON in OpenAI streams closes #1424 2026-02-12 21:09:42 +01:00
Mario Zechner 2a29a82464 fix(web-ui): make model selector search case-insensitive (fixes #1443) 2026-02-12 20:50:39 +01:00
Mario Zechner fb83307092 feat(ai): add gpt-5.3-codex-spark model definition
Added to both OpenAI API and OpenAI Codex (ChatGPT OAuth) providers.
128k context window, text-only, research preview with zero cost.
Not yet functional via pi, may become available in the next few hours or days.
2026-02-12 20:49:03 +01:00
Mario Zechner ce2ba29333 fix(coding-agent): clear extension terminal input listeners on reset
closes #1293
2026-02-12 20:45:33 +01:00
Mario Zechner 6da488a5aa docs(coding-agent): add #1375 changelog entry and extension event docs fixes #1375 2026-02-12 20:34:24 +01:00
Mario Zechner 4793f7c92d fix(coding-agent): make resolveCliModel sync, update docs and changelog 2026-02-12 19:04:51 +01:00
Mario Zechner 7ccf809a5d chore(ai): add changelog entry for copilot claude messages routing 2026-02-12 18:53:04 +01:00
Mario Zechner 7eb969ddb1 fix(coding-agent): show unknown context usage after compaction, fix multi-compaction boundary
After compaction, context token count is unknown until the next LLM
response. Instead of showing stale pre-compaction values or heuristic
estimates, the footer now shows ?/200k.

ContextUsage.tokens and ContextUsage.percent are now number | null
(breaking change). Removed usageTokens, trailingTokens, lastUsageIndex
from ContextUsage (internal details).

Also fixed _checkCompaction() using .find() (first compaction) instead
of getLatestCompactionEntry() (latest), which caused incorrect overflow
detection with multiple compactions.

Closes #1382
2026-02-12 18:35:09 +01:00
Mario Zechner 1e88c5e463 feat(ai): add generic metadata field to StreamOptions, closes #1384
Add metadata?: Record<string, unknown> to StreamOptions so providers
can extract fields they understand. Anthropic provider extracts user_id
for abuse tracking and rate limiting. Other providers ignore it.

Based on #1384 by @7Sageer, reworked to use a generic type instead of
Anthropic-specific typing on the base interface.
2026-02-12 17:39:03 +01:00
Mario Zechner fdcd9ab783 Add [Unreleased] section for next cycle 2026-02-09 00:17:28 +01:00
Mario Zechner cc3eaee560 Release v0.52.9 2026-02-09 00:16:45 +01:00
Mario Zechner c26505c55d chore(changelog): audit unreleased entries before patch release 2026-02-09 00:15:55 +01:00
Mario Zechner f405018d51 docs(coding-agent): add custom provider example references 2026-02-09 00:02:47 +01:00
Mario Zechner c85050bb30 docs(coding-agent): add changelog entry for local extension path parsing fix 2026-02-08 23:52:53 +01:00
Mario Zechner 88ac5ca1d9 fix(coding-agent): treat dot-prefixed extension paths as local 2026-02-08 23:52:23 +01:00
Mario Zechner ed9255d3bd ai: update Antigravity system instruction to compact version, fix flaky tool test
- Replace verbose ANTIGRAVITY_SYSTEM_INSTRUCTION with compact version from CLIProxyAPI
- Replace bridgePrompt override with [ignore] wrapper pattern
- Switch Antigravity Gemini test model from gemini-3-flash to gemini-3-pro-high
- Rename calculator tool to math_operation (gemini-3-pro ignores schema for 'calculator')

closes #1415
2026-02-08 23:37:09 +01:00
Mario Zechner b95ae431ca Remove OlivierBarbier from APPROVED_CONTRIBUTORS 2026-02-08 23:14:23 +01:00
Mario Zechner 5b36cacaf3 feat(coding-agent): add -ne, -ns, -np aliases for --no-extensions, --no-skills, --no-prompt-templates 2026-02-08 23:02:01 +01:00
Mario Zechner afb7e5ed4c feat(coding-agent): show tool input schema in /export HTML
Include tool parameter names, types, descriptions in a collapsible
section under each tool in the export HTML. Also adds parameters to
pi.getAllTools() return value.

closes #1407, closes #1416
2026-02-08 22:58:46 +01:00
Mario Zechner 83931c53fd docs(coding-agent): add changelog entry for rg startup download 2026-02-08 22:58:01 +01:00
Mario Zechner a6cd254471 fix(coding-agent): ensure rg is downloaded at startup alongside fd
rg was only downloaded lazily when the grep tool was invoked, but the
LLM often uses rg directly via the bash tool. Ensure both fd and rg
are downloaded at startup so they are available in PATH for all tools.

fixes #1348
2026-02-08 22:56:28 +01:00
Mario Zechner 5d361f4719 chore: audit and update changelog entries for v0.52.8..HEAD 2026-02-08 22:50:53 +01:00
Mario Zechner 1caadb2e2a fix(ai): use parametersJsonSchema for Google tool declarations, revert Antigravity opus model
- Use parametersJsonSchema instead of parameters for Gemini tool declarations
  to support full JSON Schema (anyOf, oneOf, const, etc.)
- Keep legacy parameters field for Claude models on Cloud Code Assist, where
  the API translates parameters into Anthropic's input_schema
- Revert claude-opus-4-6-thinking back to claude-opus-4-5-thinking (model
  doesn't exist on the Antigravity endpoint)

fixes #1398
2026-02-08 15:53:17 +01:00
Mario Zechner 82caf064e0 fix(coding-agent): use tar instead of unzip for .zip extraction on Windows
Windows does not ship with unzip, causing fd/rg download to fail on
first run in PowerShell. Use tar (bsdtar, available on Windows 10+)
for both .tar.gz and .zip extraction. Also adds proper error checking
on the extraction result.

fixes #1348
2026-02-08 15:53:17 +01:00
Mario Zechner e1b56c1d28 feat(coding-agent): add ctx.reload and reload-runtime example closes #1371 2026-02-08 15:34:47 +01:00
Mario Zechner 2c3f624348 fix(ai): correct opencode context windows for Claude Sonnet 4/4.5
fixes #1383
2026-02-08 14:35:07 +01:00
Mario Zechner d58d2c2da1 Add [Unreleased] section for next cycle 2026-02-07 17:51:07 +01:00
Mario Zechner f06d31ae41 Release v0.52.8 2026-02-07 17:50:24 +01:00
Mario Zechner f1335e9c50 docs: add missing changelog entries for commits since v0.52.7 2026-02-07 17:49:30 +01:00
Mario Zechner 310da43042 fix(coding-agent): refresh temporary git extension caches on cache hits 2026-02-06 22:01:49 +01:00
Mario Zechner 92fdb53c10 fix(coding-agent): run extension shutdown via clean TUI shutdown path 2026-02-06 21:37:35 +01:00
Mario Zechner d39faa72d3 Add [Unreleased] section for next cycle 2026-02-06 19:20:32 +01:00
Mario Zechner 4eb15a9d11 Release v0.52.7 2026-02-06 19:19:46 +01:00
Mario Zechner 4238b07b4e Merge branch 'pr-1332-fixups'
# Conflicts:
#	packages/ai/CHANGELOG.md
2026-02-06 19:18:38 +01:00
Mario Zechner 6b2d8a77b2 (chore) Changelog update 2026-02-06 19:16:35 +01:00
Mario Zechner c855a77c58 docs(coding-agent): add unreleased new features summary 2026-02-06 19:15:26 +01:00
Mario Zechner 76a6a74517 feat(coding-agent): merge custom models with built-ins by id 2026-02-06 19:15:26 +01:00
Mario Zechner ddd5a65c7e fix(coding-agent): handle compromised auth lock without crashing
closes #1322
2026-02-06 19:15:26 +01:00
Mario Zechner e9749f3067 docs(coding-agent): add unreleased new features summary 2026-02-06 19:14:27 +01:00
Mario Zechner c35be6605c feat(coding-agent): merge custom models with built-ins by id 2026-02-06 19:11:38 +01:00
Mario Zechner 98efcb30a9 fix(coding-agent): handle compromised auth lock without crashing
closes #1322
2026-02-06 19:01:53 +01:00
Mario Zechner dc22b0efd4 chore(prompts): require independent issue analysis 2026-02-06 19:01:35 +01:00
Mario Zechner 2f1ab3641f fix(coding-agent): document modelOverrides and harden override merging fixes #1062 2026-02-06 18:54:29 +01:00
Mario Zechner 6f897c3673 fix(coding-agent): document modelOverrides and harden override merging fixes #1062 2026-02-06 18:53:54 +01:00
Mario Zechner f5b9eeb514 fix(ai): clamp minimal reasoning for gpt-5.3-codex (fixes #1334) 2026-02-06 18:45:08 +01:00
Mario Zechner b0a8d79844 fix(ai): guard google oauth node http imports for browser bundlers closes #1330 2026-02-06 18:44:57 +01:00
Mario Zechner 0232c44064 fix(ai,coding-agent): re-export typebox symbols and align docs closes #1338 2026-02-06 18:34:25 +01:00
Mario Zechner fe6f4d3a9d fix(coding-agent): respect quietStartup on /reload while keeping diagnostics (fixes #1336) 2026-02-06 18:30:53 +01:00
Mario Zechner b170341b14 Closes #1328, initialize auto completion list at a later point in time 2026-02-06 13:16:39 +01:00
Mario Zechner 6822691a81 fix(coding-agent): tighten session_before emit typing and test env filtering 2026-02-06 11:59:25 +01:00
Mario Zechner 2668326e05 fix(coding-agent): chain tool_result extension patches
fixes #1280
2026-02-06 11:49:08 +01:00
Mario Zechner 961d3aacbc docs: fix test command path for vitest via tsx 2026-02-06 11:38:11 +01:00
Mario Zechner b050c582a1 fix(agent,coding-agent): resume queued messages after auto-compaction 2026-02-06 11:36:19 +01:00
Mario Zechner 703ee26625 refactor(coding-agent): narrow ExtensionRunner emit event type 2026-02-06 11:23:24 +01:00
Mario Zechner a40bf5fbd5 fix(ai): move AWS_BEDROCK_SKIP_AUTH inside Node.js environment check
The process.env access was outside the typeof process check, which
would throw in browser environments. Moved inside the Node.js/Bun
block for consistency with other env var access.

Also added changelog entry for #1320 and improved docs clarity.
2026-02-06 10:45:20 +01:00
Mario Zechner dc407749ee Merge pull request #1323 from markusylisiurunen/fix/bedrock-opus-4-6-thinking
Handle Bedrock Opus 4.6 adaptive thinking and interleaved beta
2026-02-06 10:37:03 +01:00
Mario Zechner d1fce2ba1d fix(ai): disable OpenAI Responses storage by default (closes #1308) 2026-02-06 01:24:37 +01:00
Mario Zechner 4c91c803ff fix(coding-agent): remove extra spacer before tool executions 2026-02-06 01:11:50 +01:00
Mario Zechner abf96f33e5 Add [Unreleased] section for next cycle 2026-02-06 00:26:38 +01:00
Mario Zechner 5fd6542e04 Release v0.52.6 2026-02-06 00:25:54 +01:00
Mario Zechner 2d70b8bc0f chore(coding-agent): classify /exit removal as breaking change in changelog fixes #1303 fixes #1304 2026-02-06 00:25:01 +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 8792ee2a66 fix(coding-agent): add /quit autocomplete and remove /exit fixes #1303 2026-02-06 00:16:56 +01:00
Mario Zechner 9ce0007945 Add [Unreleased] section for next cycle 2026-02-05 22:59:18 +01:00
Mario Zechner 9b3ecd3033 Release v0.52.5 2026-02-05 22:58:35 +01:00
Mario Zechner ee53b53689 fix(ai): enable xhigh for anthropic opus 4.6 2026-02-05 22:57:43 +01:00
Mario Zechner 9494fa8d3f Add [Unreleased] section for next cycle 2026-02-05 22:33:51 +01:00
Mario Zechner f57e82fe2d Release v0.52.4 2026-02-05 22:33:10 +01:00
Mario Zechner 5f5cd080b9 fix(coding-agent): respect package.json pi.extensions manifest in settings extensions paths
collectAutoExtensionEntries now checks if the directory itself has a
package.json with pi.extensions (or index.ts) before scanning children.
This fixes duplicate extension loading when a manifest-aware directory
is specified directly in settings.json extensions array.

Fixes #1274
2026-02-05 22:32:12 +01:00
Mario Zechner d27df1afa4 Add [Unreleased] section for next cycle 2026-02-05 22:29:24 +01:00
Mario Zechner 7310bcf192 Release v0.52.3 2026-02-05 22:28:42 +01:00
Mario Zechner c3aef01075 chore: update unreleased changelog entries 2026-02-05 22:27:52 +01:00
Mario Zechner c07277b9ac fix(ai): set opus 4.6 context window to 200k 2026-02-05 22:25:26 +01:00
Mario Zechner 712d0c6ada fix(ai,coding-agent): fix Bedrock Opus 4.6 model IDs, cache pricing, and add EU profile
- Remove :0 suffix from Opus 4.6 Bedrock model IDs (not valid for this model)
- Fix us/eu Opus 4.6 cache pricing (0.5/6.25 instead of 1.5/18.75)
- Add missing eu.anthropic.claude-opus-4-6-v1 inference profile
- Fix coding-agent default Bedrock model ID to match catalog
2026-02-05 22:21:22 +01:00
Mario Zechner 62385e2230 docs: forbid git commit --no-verify in agent rules 2026-02-05 22:00:30 +01:00
Mario Zechner f33844fe37 fix(coding-agent): handle git @ref parsing edge cases and pinned update tests refs #1299 2026-02-05 21:56:57 +01:00
Mario Zechner 8abcb35c62 chore(coding-agent): add unreleased changelog entry for git host fallback 2026-02-05 21:43:46 +01:00
Mario Zechner 61fe132946 fix(coding-agent): stabilize pinned git parsing and model default test 2026-02-05 21:43:27 +01:00
Mario Zechner 5a30e16305 fix(coding-agent): fallback parse git URLs for unknown hosts 2026-02-05 21:40:36 +01:00
Mario Zechner 898ad73d8a Add [Unreleased] section for next cycle 2026-02-05 21:21:19 +01:00
Mario Zechner caf4e189af Release v0.52.2 2026-02-05 21:20:36 +01:00
Mario Zechner 028fff13ab feat(coding-agent): update default models to Opus 4.6 and GPT-5.3 Codex
- anthropic: claude-opus-4-5 → claude-opus-4-6
- openai-codex: gpt-5.2-codex → gpt-5.3-codex
- amazon-bedrock: us.anthropic.claude-opus-4-20250514-v1:0 → us.anthropic.claude-opus-4-6-v1:0
- vercel-ai-gateway: anthropic/claude-opus-4.5 → anthropic/claude-opus-4-6
- opencode: claude-opus-4-5 → claude-opus-4-6
2026-02-05 21:19:46 +01:00
Mario Zechner 45f9d3aa21 Add [Unreleased] section for next cycle 2026-02-05 21:16:01 +01:00
Mario Zechner 7f42e8a996 Release v0.52.1 2026-02-05 21:15:17 +01:00
Mario Zechner 4c4d787b1a feat(ai): add adaptive thinking support for Claude Opus 4.6
- Add adaptive thinking mode (type: 'adaptive') for Opus 4.6+
- Add effort parameter ('low', 'medium', 'high', 'max') for adaptive thinking
- thinkingEnabled now auto-detects: adaptive for 4.6+, budget-based for older
- streamSimple/completeSimple map ThinkingLevel to effort levels for Opus 4.6
- Add tests for Opus 4.6 adaptive thinking and GPT-5.3 Codex
- Update @anthropic-ai/sdk to 0.73.0
- Update @aws-sdk/client-bedrock-runtime to 3.983.0
- Update @google/genai to 1.40.0
- Remove fast-xml-parser override (no longer needed)
2026-02-05 21:14:11 +01:00
Mario Zechner b07b72ba2b feat(ai): add xhigh thinking level support for gpt-5.3 models 2026-02-05 20:54:57 +01:00
Mario Zechner c4726e7c05 Add [Unreleased] section for next cycle 2026-02-05 20:42:38 +01:00
Mario Zechner 150fdf36a7 Release v0.52.0 2026-02-05 20:41:56 +01:00
Mario Zechner 8fca53c566 docs(coding-agent): add Opus 4.6 and GPT-5.3 Codex to New Features 2026-02-05 20:39:34 +01:00
Mario Zechner b94c17885d feat(ai): add Claude Opus 4.6 and GPT-5.3 Codex models 2026-02-05 20:34:56 +01:00