Commit Graph
2892 Commits
Author SHA1 Message Date
mom e10a831e56 fix(coding-agent): use ModelRegistry in custom-compaction example (fixes #1387) 2026-02-08 12:49:34 +00: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 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
Kao FélixandGitHub 6a3d6fe944 feat(tui, coding-agent): add pasteToEditor to ExtensionUIContext (#1351)
Add pasteToEditor(text) method that pastes text into the editor via
bracketed paste sequences, triggering paste handling (including collapse
for large content). Unlike setEditorText which directly replaces content,
pasteToEditor routes through handleInput on the active editor component.

- Add pasteToEditor to ExtensionUIContext interface
- Add handleInput to EditorComponent interface (was missing, all
  concrete implementations already had it)
- Implement in interactive mode via bracketed paste sequence
- Add fallback in RPC mode (delegates to setEditorText)
- Document in extensions.md
2026-02-07 15:55:08 +01:00
Sviatoslav AbakumovandGitHub 828c40cf68 Fix the issue of aborting retries when an extension customizes the editor (#1364)
* fix(coding-agent): update test model from opus-4-5 to opus-4-6

* fix(coding-agent): delegate onEscape/onCtrlD/onPasteImage to defaultEditor

When an extension provides a custom editor via setEditorComponent(),
onEscape, onCtrlD, and onPasteImage were copied by value from
defaultEditor. Later, when retry/compaction/branch-summary temporarily
swapped defaultEditor.onEscape to an abort handler, the custom editor
still held the stale reference, so pressing Escape during retry did
nothing.

Use closures that delegate to defaultEditor at call time, matching the
pattern from f1b1d54 which fixed the same issue for onExtensionShortcut.
2026-02-07 15:50:01 +01:00
PriNovaandGitHub 08e88f1036 fix(antigravity): fixes the tests for antigravitiy opus (#1369)
* feat(antigravity): update model costs and tokens, migrate compaction tests to Claude 4.6

- Update model costs for various models in `models.generated.ts` to reflect the latest pricing.
- Update maxTokens for certain models.
- Migrate compaction tests from `claude-opus-4-5-thinking` to `claude-opus-4-6-thinking` in `compaction-thinking-model.test.ts`.

* fix: remove unnecessary peer dependencies in package-lock.json

This commit removes the `peer: true` flag from several dependencies in `package-lock.json`. These dependencies (lit, tailwind-merge, tailwindcss, picomatch, @tailwindcss/typescript, vite, picomatch) do not need to be explicitly marked as peer dependencies in this context, as they are already managed as regular dependencies. Removing the `peer: true` flag simplifies the dependency graph and avoids potential conflicts during installation.
2026-02-07 15:49:30 +01:00
Sviatoslav AbakumovandGitHub 3cf5e23c0d fix(coding-agent): propagate autocomplete to custom editors (#1372)
setupAutocomplete only sets the provider on defaultEditor. When an
extension customizes the editor via setEditorComponent during
session_start, the custom editor is created before setupAutocomplete
runs, so it never receives the autocomplete provider. This breaks forced
file suggestions, slash commands, and all other completions.

Set the provider on the active editor too when it differs from the
default, covering initial load, reload, and settings changes.
2026-02-07 15:48:18 +01:00
Sviatoslav AbakumovandGitHub 4c2d78f6cb Add the kill ring and undo features to the Input component (#1373)
* feat(tui): extract KillRing and UndoStack, add to Input

Extract kill ring and undo logic from Editor into reusable classes:

- KillRing: ring buffer with accumulation for consecutive kills
- UndoStack<S>: generic stack with clone-on-push semantics

Refactor Editor to use both classes. Add kill ring (kill/yank/
yank-pop), undo with coalescing, and deleteWordForward to Input.

* feat(tui): extract handleBackspace() and handleForwardDelete()
2026-02-07 15:47:27 +01:00
github-actions[bot] da282f9e97 chore: approve contributor sumeet 2026-02-07 14:43:50 +00:00
github-actions[bot] 228e35aa61 chore: approve contributor MatthieuBizien 2026-02-07 14:41:33 +00:00
github-actions[bot] 4c582becf1 chore: approve contributor 7Sageer 2026-02-07 14:36:40 +00:00
3fb33da429 feat(ai): add openrouter "auto" model alias (#1361)
Add a manually inserted "auto" model entry for OpenRouter alongside
the existing "openrouter/auto" entry, allowing users to select the
auto-routing model with a shorter identifier.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 15:35:21 +01:00
FeroandGitHub 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
calvin-hpnetandGitHub 2ae668823c feat(antigravity): replace Claude Opus 4.5 with 4.6 (#1345)
Claude Opus 4.5 has been replaced by Claude Opus 4.6 on the
Antigravity (Google Cloud Code Assist) platform.

- Update model definition in generate-models.ts
- Update generated models output
2026-02-07 03:28:54 +01:00
github-actions[bot] 6a10a82b36 chore: approve contributor NateSmyth 2026-02-06 21:13:47 +00: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
Markus YlisiurunenandGitHub 5c87303b7f add test cases for interleaved thinking on Bedrock (#1340) 2026-02-06 21:15:59 +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 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
Charles CooperandMario Zechner 2cd55b2d35 feat(coding-agent): support per-model overrides in models.json
Add modelOverrides field to provider config that allows customizing
individual built-in models without replacing the entire provider.

Example:
  {
    "providers": {
      "openrouter": {
        "modelOverrides": {
          "anthropic/claude-sonnet-4": {
            "compat": { "openRouterRouting": { "only": ["amazon-bedrock"] } }
          }
        }
      }
    }
  }

Overrides are deep-merged with built-in model definitions. Supports:
- name, reasoning, input, contextWindow, maxTokens
- Partial cost overrides (e.g. only change input cost)
- headers (merged with existing)
- compat settings (merged with existing)

Works alongside baseUrl overrides on the same provider.

closes #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
xu0o0andGitHub e9f94ba6c3 feat: better cache support in bedrock (#1326) 2026-02-06 18:05:46 +01:00
Charles Cooper bd646eece3 feat(coding-agent): support per-model overrides in models.json
Add modelOverrides field to provider config that allows customizing
individual built-in models without replacing the entire provider.

Example:
  {
    "providers": {
      "openrouter": {
        "modelOverrides": {
          "anthropic/claude-sonnet-4": {
            "compat": { "openRouterRouting": { "only": ["amazon-bedrock"] } }
          }
        }
      }
    }
  }

Overrides are deep-merged with built-in model definitions. Supports:
- name, reasoning, input, contextWindow, maxTokens
- Partial cost overrides (e.g. only change input cost)
- headers (merged with existing)
- compat settings (merged with existing)

Works alongside baseUrl overrides on the same provider.

closes #1062
2026-02-06 15:35:00 +00: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
Dustin SpicuzzaandGitHub df527fb988 fix(ai): provide mechanism to connect to unauthenticated bedrock proxies (#1320)
fixes #1309
2026-02-06 10:44:28 +01:00
Mario ZechnerandGitHub 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
Markus Ylisiurunen d3d3ef4155 fix(ai): handle bedrock opus 4.6 adaptive thinking and interleaved beta 2026-02-06 10:27:13 +02:00
Mario Zechner d1fce2ba1d fix(ai): disable OpenAI Responses storage by default (closes #1308) 2026-02-06 01:24:37 +01:00