Skip to content

Commit 3d42ee4

Browse files
committed
Merge origin/main — keep #878 always-post semantics, await per ratchet
2 parents f47af27 + 1ceb4e6 commit 3d42ee4

287 files changed

Lines changed: 13839 additions & 1518 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.changeset/itchy-moles-thank.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"zoo-code": patch
3+
---
4+
5+
Fix bedrock DNS resolution when behind corporate proxy

.github/actions/setup-node-pnpm/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ inputs:
66
node-version:
77
description: "Node.js version to use"
88
required: false
9-
default: "20.20.2"
9+
default: "22.23.1"
1010
pnpm-version:
1111
description: "pnpm version to use"
1212
required: false

.github/pull_request_template.md

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,35 @@ Detail the steps to test your changes. This helps reviewers verify your work.
3838
- [ ] **Scope**: My changes are focused on the linked issue (one major feature/fix per PR).
3939
- [ ] **Self-Review**: I have performed a thorough self-review of my code.
4040
- [ ] **Testing**: New and/or updated tests have been added to cover my changes (if applicable).
41+
- [ ] **Visual Snapshot** (UI changes only): If a user would notice this change at a glance (layout, theme tokens, brand elements, empty/error states), I've added or updated a `*.visual.tsx` snapshot in `webview-ui/`. See `webview-ui/AGENTS.md` → "When a UI change needs a snapshot".
4142
- [ ] **Documentation Impact**: I have considered if my changes require documentation updates (see "Documentation Updates" section below).
4243
- [ ] **Contribution Guidelines**: I have read and agree to the [Contributor Guidelines](/CONTRIBUTING.md).
4344

44-
### Screenshots / Videos
45+
### Visual Snapshots
4546

4647
<!--
47-
For UI changes, please provide before-and-after screenshots or a short video of the *actual results*.
48-
This greatly helps in understanding the visual impact of your changes.
48+
For UI changes to static rendered state, the primary artifact is a committed
49+
Playwright CT snapshot (`*.visual.tsx` in `webview-ui/`) — that baseline
50+
becomes durable regression coverage for the surface. See
51+
`webview-ui/AGENTS.md` for what deserves a snapshot.
52+
53+
Before/after screenshots pasted here are welcome as a review aid but are not a
54+
substitute for the committed baseline. If a snapshot is possible, prefer the
55+
snapshot.
56+
-->
57+
58+
### Videos (interaction / animation only)
59+
60+
<!--
61+
Snapshots cannot capture motion or multi-step flows. Attach a short screen
62+
recording here when reviewers need to see:
63+
- A new interactive flow (dropdown, form, dialog progression)
64+
- Animation, transition, or timing behavior
65+
- A regression that only manifests during interaction
66+
67+
Videos are a review aid, not regression coverage. If the *result* of the
68+
interaction has a distinct rendered state worth protecting, still commit a
69+
`*.visual.tsx` snapshot of that end-state alongside the video.
4970
-->
5071

5172
### Documentation Updates

.github/workflows/code-qa.yml

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -135,25 +135,32 @@ jobs:
135135
# lanes for behavioral confidence, but duplicating coverage uploads
136136
# there mostly adds Codecov overhead without changing pass/fail
137137
# behavior.
138-
# Coverage is uploaded in three separate steps so each LCOV gets the
138+
# Coverage is uploaded in separate steps so each LCOV gets the
139139
# correct flag set. Codecov double-counts overlapping lines when a
140140
# single upload carries multiple flags whose paths overlap, so the
141-
# two core lanes (which both cover packages/core/src/**) must be
142-
# uploaded individually with their own lane flag.
141+
# core lanes and webview lane must be uploaded individually with
142+
# their own flag.
143143
# See https://docs.codecov.com/docs/flags
144144
- name: Upload non-core coverage to Codecov
145145
if: matrix.upload-coverage
146146
uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4
147147
with:
148148
files: >-
149149
src/coverage/lcov.info,
150-
webview-ui/coverage/lcov.info,
151150
packages/cloud/coverage/lcov.info,
152151
packages/telemetry/coverage/lcov.info,
153152
apps/cli/coverage/lcov.info
154153
disable_search: true
155154
flags: ${{ matrix.codecov-flag }}
156155
token: ${{ secrets.CODECOV_TOKEN }}
156+
- name: Upload webview JSDOM coverage to Codecov
157+
if: matrix.upload-coverage
158+
uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4
159+
with:
160+
files: webview-ui/coverage/lcov.info
161+
disable_search: true
162+
flags: webview-ui
163+
token: ${{ secrets.CODECOV_TOKEN }}
157164
- name: Upload core unit coverage to Codecov
158165
if: matrix.upload-coverage
159166
uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
name: Webview Visual Regression
2+
3+
on:
4+
workflow_dispatch:
5+
pull_request:
6+
types: [opened, reopened, ready_for_review, synchronize]
7+
paths:
8+
- "webview-ui/**"
9+
- "src/shared/**"
10+
- "package.json"
11+
- "pnpm-lock.yaml"
12+
- ".github/workflows/visual-regression.yml"
13+
merge_group:
14+
types: [checks_requested]
15+
16+
concurrency:
17+
group: ${{ github.workflow }}-${{ github.ref }}
18+
cancel-in-progress: true
19+
20+
permissions:
21+
contents: read
22+
23+
jobs:
24+
webview-visual:
25+
runs-on: ubuntu-latest
26+
timeout-minutes: 10
27+
container:
28+
image: mcr.microsoft.com/playwright:v1.60.0-noble@sha256:9bd26ad900bb5e0f4dee75839e957a89ae89c2b7ab1e76050e559790e946b948
29+
options: --ipc=host
30+
steps:
31+
- name: Checkout code
32+
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
33+
with:
34+
persist-credentials: false
35+
- name: Setup Node.js and pnpm
36+
uses: ./.github/actions/setup-node-pnpm
37+
with:
38+
install-args: "--frozen-lockfile"
39+
- name: Run webview visual tests
40+
run: pnpm --filter @roo-code/vscode-webview test:visual
41+
- name: Upload visual test coverage to Codecov
42+
if: always()
43+
uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238 # v4
44+
with:
45+
files: webview-ui/coverage-ct/lcov.info
46+
disable_search: true
47+
flags: webview-ui-ct
48+
token: ${{ secrets.CODECOV_TOKEN }}
49+
- name: Upload visual test artifacts
50+
if: failure()
51+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4
52+
with:
53+
name: webview-visual-regression
54+
path: |
55+
webview-ui/playwright-report
56+
webview-ui/test-results
57+
if-no-files-found: ignore

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20.20.2
1+
22.23.1

.tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
pnpm 10.8.1
2-
nodejs 20.20.2
2+
nodejs 22.23.1

CHANGELOG.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,32 @@
11
# Zoo Code Changelog
22

3+
## [3.72.0]
4+
5+
### Minor Changes
6+
7+
- Add the Moonshot provider with live model discovery, streaming, model metadata, and a model picker (PR #857 by @grizmin)
8+
- Add the Kimi Code provider with OAuth device-flow authentication (PR #945 by @taltas)
9+
- Add Claude Opus 5 support across all providers (PR #1010 by @app/zoomote)
10+
- Add Kimi K3 to the Moonshot and OpenCode Go providers (#932 by @navedmerchant, PR #996 by @app/zoomote)
11+
- Add Gemini 3.6 Flash model support (PR #975 by @app/zoomote)
12+
- Add MiniMax-M3 model support (#888 by @RayWinter0816, PR #946 by @app/zoomote)
13+
- Add a safe way to abandon interrupted subtasks by severing stale parent-child links and surfacing delegation status (#559 by @edelauna, PR #935 by @edelauna)
14+
- Add Dart support to codebase indexing (#940 by @WebMad, PR #941 by @WebMad)
15+
- Fix codebase indexing for plain-text files (#931 by @tool-buddy, PR #938 by @WebMad)
16+
- Enable image input for DeepSeek V4 models (#964 by @grizmin, PR #963 by @grizmin)
17+
- Fix ChatGPT OAuth requests for GPT-5.6 Luna being rejected by the Codex backend (PR #889 by @taltas)
18+
- Preserve `reasoning_content` for known reasoning model families when using LiteLLM (#891 by @daewoongoh, PR #899 by @daewoongoh)
19+
- Fix task-history cache invalidation races by routing `invalidate()` and `invalidateAll()` through the task-history lock (#698 by @edelauna, PR #912 by @morgan-coded)
20+
- Fix Settings mode changes by synchronizing the local `cachedState` editing buffer (#914 by @easonLiangWorldedtech, PR #925 by @easonLiangWorldedtech)
21+
- Dismiss the welcome screen after successful Zoo Gateway sign-in (#961 by @JohnCanty, PR #962 by @JamesRobert20)
22+
- Add `CompletePromptOptions` to the `completePrompt` API so callers can configure prompt completion (#615 by @edelauna, PR #901 by @easonLiangWorldedtech)
23+
- Centralize provider identifiers into canonical shared types (#951 by @WebMad, PR #952 by @WebMad)
24+
- Refactor provider categories to use canonical provider identifiers (PR #989 by @WebMad)
25+
- Remove obsolete MCP server-creation translations (#895 by @edelauna, PR #943 by @WebMad)
26+
- Add regression coverage for resuming interrupted subtasks (#566 by @myk1yt, PR #911 by @edelauna)
27+
- Upload coverage reports as GitHub Actions artifacts to simplify CI debugging (PR #939 by @app/zoomote)
28+
- Update `esbuild-wasm` to v0.28.1 (PR #829 by @app/renovate)
29+
330
## [3.70.0]
431

532
### Minor Changes

README.md

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,15 @@
3535
You can find a quick guide for migrating from Roo Code to Zoo Code in the [Roo→Zoo migration guide](https://docs.zoocode.dev/roo-to-zoo-migration). We plan to try and help users as they transition over, we have our [Reddit](https://www.reddit.com/r/ZooCode) and [Discord](https://discord.gg/VxfP4Vx3gX)
3636
for this exact support, so if you are having problems or if you have question, jump on and ask.
3737

38-
## What's New in v3.70.0
38+
## What's New in v3.72.0
3939

40-
- **OpenAI GPT-5.6 family**`Sol`, `Terra`, and `Luna` are now available across both the OpenAI Codex and OpenAI Native provider paths.
41-
- **Grok 4.5 support**xAI's new flagship model, plus a reasoning-effort format fix that also benefits Grok 4 Mini.
42-
- **Kenari provider support**a first-class, OpenAI-compatible AI gateway billed in Rupiah covering Claude, GPT, DeepSeek, GLM, Kimi and more.
43-
- Surface the context-compaction button and context window progress bar in the collapsed task header.
44-
- Fix: terminal output loss and premature task completion on cold terminals.
45-
- Fix: image attach for Zoo Gateway and Vercel AI Gateway models now follows live vision-capability tags instead of a static allowlist.
46-
- Dependency and tooling updates.
40+
- **Moonshot and Kimi Code providers**discover Moonshot models dynamically or sign in to Kimi Code through its OAuth device flow.
41+
- **Latest model support**use Claude Opus 5 across providers, plus Kimi K3, Gemini 3.6 Flash, and MiniMax-M3.
42+
- **Improved subtask workflows**abandon interrupted subtasks cleanly, with safer task-history invalidation and better resume coverage.
43+
- **Expanded codebase indexing** — index Dart and plain-text files.
44+
- **Provider reliability** — fixes for GPT-5.6 Luna with ChatGPT OAuth, LiteLLM reasoning content, and DeepSeek V4 image input.
45+
- **Smoother setup and settings** — improved Zoo Gateway sign-in and mode-switch behavior.
46+
- API, provider-type, dependency, localization, and CI improvements.
4747

4848
<details>
4949
<summary>🌐 Available languages</summary>
@@ -66,8 +66,7 @@ for this exact support, so if you are having problems or if you have question, j
6666
- [Tiếng Việt](locales/vi/README.md)
6767
- [简体中文](locales/zh-CN/README.md)
6868
- [繁體中文](locales/zh-TW/README.md)
69-
- ...
70-
</details>
69+
</details>
7170

7271
---
7372

apps/cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"@roo-code/config-eslint": "workspace:^",
4242
"@trpc/server": "^11.18.0",
4343
"@roo-code/config-typescript": "workspace:^",
44-
"@types/node": "20.19.43",
44+
"@types/node": "22.20.1",
4545
"@types/react": "18.3.31",
4646
"@vitest/coverage-v8": "4.1.9",
4747
"ink-testing-library": "4.0.0",

0 commit comments

Comments
 (0)