Commit graph

20452 commits

Author SHA1 Message Date
Filip Hejmowski
2e873bc40b test(app): serve the built e2e app with a Bun static server
vite preview checks the case of every requested file on case-insensitive
file systems (Windows, macOS) with a synchronous readdir of its parent
directory. The fixture build has about 3100 files in dist/_assets, so each
of the roughly 150 asset requests per page load blocks the one server
that every worker shares. That matches the CI traces, where Windows asset
waits and first navigations grow with the number of tests running.

e2e/utils/serve.ts serves dist with Bun instead and keeps vite preview's
routing rules: files resolve only inside dist, a malformed escape is a
404, and index.html is the fallback only for GET or HEAD requests whose
Accept is missing, empty, text/html or */*, never for /favicon.ico. A
missing script fetched as JavaScript or an API request asking for JSON
still gets a 404. Bun fails on a busy port like --strictPort did, and
reuseExistingServer and the dev-mode command are unchanged.

The performance configs keep vite preview so their baselines stay
comparable.
2026-10-15 22:11:30 +02:00
Filip Hejmowski
4f0ee179fa test(app): block service workers and record video on first retry in e2e
Most app e2e tests let the production build register its PWA service
worker, which then precaches the whole 35 MB build from the shared preview
server while the test runs. No app e2e spec depends on the worker, and
e2e/service-worker keeps that coverage under its own config, so block it
in the shared config. The 11 per-file blocks are now redundant; they are
left alone to keep this change to one file.

retain-on-failure records and encodes a video for every test only to drop
it when the test passes. In CI, record it on the first retry instead,
next to the trace; first-attempt failures still keep their screenshot and
error context. Local runs have no retries, so they keep retain-on-failure.

The performance, uncapped, timeline-stability and projection configs
spread this config and now block service workers too. CI runs none of
them.
2026-10-15 22:11:30 +02:00
Filip Hejmowski
0cd2e829af fix(app): close mobile drawers dismissed while opening
@corvu/drawer 0.2.4 starts its opening transition two frames after it opens. A dismissal before then slid the drawer open while it was closed. A dismissal in that frame started no transition, or cancelled it, so the transitionend that finishes a close never arrived, leaving focus trapped and body pointer-events disabled. Patch it to skip the late opening step once closed, and to finish a close when no transition is running.

Also stop non-fullscreen story pages from scrolling by 32px inside Storybook's padding. Wait for web fonts before the composer overflow story measures the toolbar. Add composer tests that dismiss the variant drawer before and as it starts opening; both fail without the patch.

The overflow story also waits for focus to return to the add button after Escape before measuring, so the menu focus restore cannot land between select-all and Delete.
2026-10-15 22:11:29 +02:00
Filip Hejmowski
9f5ce4674a fix(app): keep timeline anchoring when a scroll settles
TanStack resets isScrolling on a 150ms timer that reports the offset
captured at the last scroll event. If the virtualizer wrote scrollTop
after that event (prepend anchoring or size compensation) and the
browser had not yet dispatched the write's own scroll event, the timer
put the old offset back. The next size compensation was then computed
from it and undid the write, so the transcript jumped to the top of a
newly loaded page or skipped rows while scrolling up.

When a scroll settles, the reconnect-aware offset observer now reports
the element's live scrollTop. Detached elements keep the event offset.
2026-10-15 22:11:29 +02:00
Filip Hejmowski
2573244805 fix(app): stop video double clicks from also entering native fullscreen
Chromium's media controls answer the second click of a double click with a
native fullscreen request for the <video>. The same double click opens the
in-window theatre. Where fullscreen is granted (Chrome, Playwright), the
fullscreened video covers the theatre backdrop, so a backdrop click no longer
closes it. That is the cause of the flaky review.spec.ts video theatre test.

controlslist="nofullscreen" would also remove Chromium's click-to-play,
which it only offers on videos that can go fullscreen. Instead, the video is
held as an open popover while the controls handle a multi-click, and released
before the next frame renders. The fullscreen element ready check refuses an
open popover, so only the fullscreen request fails. Chromium's play/pause
bookkeeping is unchanged. Desktop already denies the fullscreen permission,
so nothing changes there.

The e2e test now also checks that a single click still starts playback, and
that nothing went native fullscreen by the end of the flow.
2026-10-15 22:11:29 +02:00
Filip Hejmowski
dbf5e655df test(app): check the first code layout instead of the code font's status
Chromium recreates every CSS-connected FontFace as "unloaded" whenever a
lazily loaded stylesheet with @layer rules becomes active ahead of a sheet
that is already applied. The route's settings and text-input CSS chunks do
this when they finish out of order, which is common on Windows runners. The
downloaded font file is kept, so the first code that lays out still uses
IBM Plex Mono, but the face's status stays "unloaded" and polling
document.fonts.check() timed out.

Wait for document.fonts.ready, then mount one <code> and check once that
its first layout already has the font loaded. A preload that only downloads
the file still fails, because that first layout reports "loading".
2026-10-15 22:11:29 +02:00
Filip Hejmowski
78558202c0 ci: run the test suites of the 11 packages turbo skipped
turbo.json defines a test task per package and no generic one, so the
test scripts of client, gui-extensions, http-recorder, merman, plugin,
plugin-browser, script, sdk, simulation, theme and util never ran in CI
(119 test files). Register them like the other suites.
2026-10-15 22:11:29 +02:00
Filip Hejmowski
25facb9dfe test: fix the suites CI never ran
These suites had no turbo test task, so they rotted unnoticed.

- client: update tests for intended API changes (session.view idle is a
  DateTime, interrupt's continue became resume, new API groups, the
  Effect service no longer imports protocol), and assert the service
  shutdown per platform since Windows cannot catch SIGTERM.
- http-recorder: run the record-mode WebSocket test with CI unset;
  CI=true forces replay mode and the test waited forever for "open".
- util: reset the retry test's socket after the request arrives instead
  of racing the client's write; set TEMP for the child on Windows and
  compare with the native realpath; exclude colocated tests from the
  build, which compiled them into dist where bun test ran them twice.
- sdk: update two tests for intended behaviour changes, keeping the
  unknown-session error on the HTTP transport.
- merman: hold the established layout families to their original
  ceilings and give decision-loops its own, drop the wall-clock
  assertion, and run the cheap label distance check before the clearance
  check (same output, half the audit CPU).
2026-10-15 22:11:29 +02:00
Filip Hejmowski
4003f64688 fix(server): wait for plugins before answering a web search
websearch.query resolved the provider without waiting for the Location's
plugins to activate, so the first query on a cold Location failed with
websearch_provider_not_found for a provider a plugin was about to
register. It now waits like the model and generate handlers do, bounded
by the same 5s activation wait. websearch.providers stays non-blocking.
2026-10-15 21:37:00 +02:00
Filip Hejmowski
7dbe56078b test(tui): wait for filter focus and highlighting before matching frames
command-selection typed into the variant dialog before its filter had
focus (DialogSelect focuses on a 1ms timer). Markdown text is drawn only
after the tree-sitter worker replies, which can take longer than the 20
frames waitForFrame allows on a busy runner. Wait for focus, and add
waitForHighlightedFrame to wait for pending highlights inside the
predicate.
2026-10-15 20:25:32 +02:00
Filip Hejmowski
bc65cbe961 fix(ui): stop closed dialogs from blocking shortcuts
The dialog stack keeps a closing dialog for 100ms before disposing it,
and useDialog().active kept returning it, so the global shortcut handler
dropped every shortcut in that window. Reopening the command palette
right after closing it did nothing. active now returns the top dialog
that has not started closing, the same rule the focus trap already uses.
2026-10-15 20:25:31 +02:00
Filip Hejmowski
56782638cb test(app): fix four racy e2e tests
- whats-new: What's New opens as a modal 500ms after the changelog
  response and hides #root, so on Windows start() often looked for the
  Settings button after it was hidden. The dialog tests hold the
  changelog route until Home has been checked.
- subagent-child-navigation: the parent title was measured while the
  loading header could still be swapped for the timeline header, so it
  sometimes measured a detached heading (left 0). Wait for the timeline
  row first.
- session-summary: the tooltip was hovered during the timeline's first
  mount, whose final scroll closes it. Wait for the rows to be revealed.
- tabs: page.clock.pauseAt(new Date()) raced the still-running page
  clock ("Cannot fast-forward to the past"). Install at an explicit time
  and pause at a fixed offset from it.
2026-10-15 20:25:29 +02:00
Filip Hejmowski
9fe5766435 chore(ci): install with the isolated linker on Windows
Windows CI installed with --linker hoisted to work around
oven-sh/bun#28147, where an isolated install re-applied a patched
dependency per peer variant and failed with EPERM while hardlinking. That
issue was fixed in July, and a full test run on Windows with the isolated
linker installs and passes. The install step drops from about 95s to
about 36s on each Windows job.
2026-10-15 15:12:45 +02:00
Filip Hejmowski
77b8f1dfc7 fix(ci): hash every test task's workspace closure and cache Turbo on Windows
A test task's hash only covered its direct dependencies' build tasks. tui
and script have no build task, so core, codemode, plugin-browser and ui
never reached cli#test's hash, and Linux replayed cached cli test passes
from the runner's remote cache for commits that changed core. Every test
task now also depends on a transit task, which runs nothing but folds the
whole workspace closure into its hash. The root package.json is a global
dependency, so a Bun upgrade through packageManager invalidates results.

Windows unit jobs had no Turbo cache at all. Restore one keyed by week on
Windows, save it from pushes to dev, and skip it on manual runs.
2026-10-15 14:57:16 +02:00
Filip Hejmowski
3a0a231d84 chore(ci): skip the bun dependency cache on Windows
On the Windows runners, restoring the ~720 MB bun cache spends about 37s
extracting it with tar onto NTFS, and the warm install still takes about
64s. A cold install without the cache is faster than restore plus warm
install in every paired run we sampled, so Windows skips the restore and
the save. Linux keeps the cache.
2026-10-15 13:18:32 +02:00
Filip Hejmowski
5c4079a926 chore(ci): shard app e2e tests and run component tests in their own leg
Split each OS's e2e job into three legs: two Playwright shards of the app
e2e suite and one leg for the session UI and app component tests. The
service worker suite reads the production build, so it runs on shard 2
after the e2e step that builds it.

Keep "e2e (linux)" and "e2e (windows)" as the names of small aggregator
jobs, since the branch rules require them. They pass only when every leg
passed, or when e2e was not needed, and fail if the affected job failed.
2026-10-15 13:17:40 +02:00
Filip Hejmowski
e004ec3f57 chore(ci): run build smoke tests in parallel with unit tests
Move the compiled-service and Node build smoke steps out of the unit job
into a parallel build job. They took about 2.5 minutes after the tests on
each OS and do not depend on anything the tests produce.

Remove the Turbo actions/cache steps. They cached node_modules/.cache/turbo,
which Turbo 2 never writes (its local cache is .turbo/cache), so they never
restored or saved anything. On Windows, hashing the cache key still cost
about 30 seconds before and after the tests.

Check out two commits on pull requests instead of the full history. The
affected-package diff only needs the merge commit and its first parent.
2026-10-15 13:16:38 +02:00
Filip Hejmowski
c3ceabf01c fix(storybook): resolve solid-query under the hoisted linker
The Storybook Vite config aliased @tanstack/solid-query to
packages/app/node_modules/@tanstack/solid-query. That path only exists with
bun's isolated linker. Windows CI installs with --linker hoisted, so Vite
returned 404 for every module importing solid-query and the app component
tests timed out on Windows.

Dedupe the package instead; Storybook declares it, so it resolves to one copy
under both linkers and both runtimes.

Also run the e2e job for Storybook-only changes. No app package depends on
Storybook, so those PRs skipped every component test and reported green.
2026-10-15 13:16:03 +02:00
Jack
4397ee44d0
docs(console): add DeepSeek V4.1 Flash Free (#55636)
Some checks are pending
deploy-files / deploy (push) Waiting to run
deploy-update / deploy (push) Waiting to run
deploy-www / deploy (push) Waiting to run
deploy / deploy (push) Waiting to run
2026-10-15 15:23:29 +08:00
Aiden Cline
b47c6802da
fix(ai): accept null Responses function call namespace (#55631)
Co-authored-by: kksingh000 <kkandsingh000@gmail.com>
2026-10-15 02:13:14 -05:00
Aiden Cline
ae8d59f8b5
fix(core): fit compaction output limit to the request actually sent (#55613) 2026-10-15 01:57:46 -05:00
opencode-agent[bot]
7ced591c3c chore: update nix node_modules hashes 2026-10-15 06:51:13 +00:00
Aiden Cline
b55f220a17
fix(core): treat *.localhost as loopback for MCP OAuth token endpoints (#55627) 2026-10-15 01:39:46 -05:00
Kyrylo
fbf5f164d9
fix(core): skip MCP list calls for unadvertised capabilities (#55474)
Co-authored-by: tsehla42 <tsehla42@users.noreply.github.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-10-15 01:26:12 -05:00
Don Bowman
3aa26f1676
fix(core): advertise the spec-shaped MCP elicitation capability (#53196)
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-10-15 01:19:35 -05:00
Aiden Cline
a8fc567c5c
chore(core): redact params in database query errors (#55621) 2026-10-15 01:04:07 -05:00
Aiden Cline
7b5f1bd9e1
fix(core): skip codemode query for MCP servers that reject it (#55618)
Some checks are pending
check / typecheck (push) Waiting to run
deploy-files / deploy (push) Waiting to run
deploy-www / deploy (push) Waiting to run
deploy / deploy (push) Waiting to run
nix-eval / nix-eval (push) Waiting to run
publish / version (push) Waiting to run
publish / build-cli (push) Blocked by required conditions
publish / sign-cli-macos (push) Blocked by required conditions
publish / build-node-app-archive (push) Blocked by required conditions
publish / build-node-cli (map[bun_install_flags:--cpu=* host:blacksmith-4vcpu-windows-2025 target:windows-arm64]) (push) Blocked by required conditions
publish / build-node-cli (map[host:blacksmith-4vcpu-ubuntu-2404 target:linux-x64]) (push) Blocked by required conditions
publish / build-node-cli (map[host:blacksmith-4vcpu-ubuntu-2404-arm target:linux-arm64]) (push) Blocked by required conditions
publish / build-node-cli (map[host:blacksmith-4vcpu-windows-2025 target:windows-x64]) (push) Blocked by required conditions
publish / build-node-cli (map[host:macos-26 target:darwin-arm64]) (push) Blocked by required conditions
publish / sign-cli-windows (push) Blocked by required conditions
publish / build-electron (map[bun_install_flags:--cpu=* host:windows-2025 platform_flag:--win --arm64 target:aarch64-pc-windows-msvc]) (push) Blocked by required conditions
publish / build-electron (map[bun_install_flags:--os=darwin --cpu=arm64 host:macos-26 platform_flag:--mac --arm64 target:aarch64-apple-darwin]) (push) Blocked by required conditions
publish / build-electron (map[bun_install_flags:--os=darwin --cpu=x64 host:macos-26-intel platform_flag:--mac --x64 target:x86_64-apple-darwin]) (push) Blocked by required conditions
publish / build-electron (map[host:blacksmith-4vcpu-ubuntu-2404 platform_flag:--linux target:x86_64-unknown-linux-gnu]) (push) Blocked by required conditions
publish / build-electron (map[host:blacksmith-4vcpu-ubuntu-2404-arm platform_flag:--linux --arm64 target:aarch64-unknown-linux-gnu]) (push) Blocked by required conditions
publish / build-electron (map[host:blacksmith-4vcpu-windows-2025 platform_flag:--win target:x86_64-pc-windows-msvc]) (push) Blocked by required conditions
publish / publish (push) Blocked by required conditions
publish / notify-discord-v2 (push) Blocked by required conditions
storybook / storybook build (push) Waiting to run
test / unit (windows) (push) Waiting to run
test / affected packages (push) Waiting to run
test / unit (linux) (push) Waiting to run
test / e2e (linux) (push) Blocked by required conditions
test / e2e (windows) (push) Blocked by required conditions
2026-10-15 00:50:11 -05:00
opencode-agent[bot]
bdf4793286
feat(app): show voice delegations from the iOS app as Voice messages (#54426) 2026-10-15 13:23:12 +08:00
Luke Parker
37df62f4a1
fix(session-ui): show webfetch URL while the fetch runs (#55590) 2026-10-15 12:24:18 +10:00
Aiden Cline
d099d2cb2a
fix(cli): poll install download progress instead of tracing bytes (#55586) 2026-10-14 20:57:03 -05:00
Aiden Cline
97c201931c
fix(www): serve install script from dev branch (#55587) 2026-10-14 20:37:54 -05:00
Luca Barbato
328f74c213
fix(mcp): pass tool input as permission metadata (#51062)
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
2026-10-14 18:52:52 -05:00
Aiden Cline
32b1a1bf85
test(core): run MCP lifecycle tests against an in-process server (#55568) 2026-10-14 18:50:26 -05:00
Luke Parker
2ae7ec8a16
fix(app): keep project settings open when the project folder is missing (#55553) 2026-10-15 09:40:43 +10:00
Aiden Cline
ccd3aa787a
fix(schema): publish config schema that accepts V1 and V2 shapes (#55524) 2026-10-14 18:09:31 -05:00
Aiden Cline
e05cc4a18d
docs(plugin): document permission assert and fix session rules example (#55526) 2026-10-14 18:08:45 -05:00
Luke Parker
3943b84ef0
fix(cli): default the Windows service to port 45278 (#55547) 2026-10-15 08:41:49 +10:00
Filip
1e63a3bb73
fix(core): load configured instructions (#55539)
Co-authored-by: vegerot <5297725+vegerot@users.noreply.github.com>
2026-10-15 00:34:17 +02:00
vprdev
7291f3e07a
fix(console): keep API route handlers out of route modules (#55541)
Some checks are pending
check / typecheck (push) Waiting to run
deploy-files / deploy (push) Waiting to run
deploy-www / deploy (push) Waiting to run
deploy / deploy (push) Waiting to run
nix-eval / nix-eval (push) Waiting to run
publish / version (push) Waiting to run
publish / build-cli (push) Blocked by required conditions
publish / sign-cli-macos (push) Blocked by required conditions
publish / build-node-app-archive (push) Blocked by required conditions
publish / build-node-cli (map[bun_install_flags:--cpu=* host:blacksmith-4vcpu-windows-2025 target:windows-arm64]) (push) Blocked by required conditions
publish / build-node-cli (map[host:blacksmith-4vcpu-ubuntu-2404 target:linux-x64]) (push) Blocked by required conditions
publish / build-node-cli (map[host:blacksmith-4vcpu-ubuntu-2404-arm target:linux-arm64]) (push) Blocked by required conditions
publish / build-node-cli (map[host:blacksmith-4vcpu-windows-2025 target:windows-x64]) (push) Blocked by required conditions
publish / build-node-cli (map[host:macos-26 target:darwin-arm64]) (push) Blocked by required conditions
publish / sign-cli-windows (push) Blocked by required conditions
publish / build-electron (map[bun_install_flags:--cpu=* host:windows-2025 platform_flag:--win --arm64 target:aarch64-pc-windows-msvc]) (push) Blocked by required conditions
publish / build-electron (map[bun_install_flags:--os=darwin --cpu=arm64 host:macos-26 platform_flag:--mac --arm64 target:aarch64-apple-darwin]) (push) Blocked by required conditions
publish / build-electron (map[bun_install_flags:--os=darwin --cpu=x64 host:macos-26-intel platform_flag:--mac --x64 target:x86_64-apple-darwin]) (push) Blocked by required conditions
publish / build-electron (map[host:blacksmith-4vcpu-ubuntu-2404 platform_flag:--linux target:x86_64-unknown-linux-gnu]) (push) Blocked by required conditions
publish / build-electron (map[host:blacksmith-4vcpu-ubuntu-2404-arm platform_flag:--linux --arm64 target:aarch64-unknown-linux-gnu]) (push) Blocked by required conditions
publish / build-electron (map[host:blacksmith-4vcpu-windows-2025 platform_flag:--win target:x86_64-pc-windows-msvc]) (push) Blocked by required conditions
publish / publish (push) Blocked by required conditions
publish / notify-discord-v2 (push) Blocked by required conditions
test / affected packages (push) Waiting to run
test / unit (linux) (push) Waiting to run
test / unit (windows) (push) Waiting to run
test / e2e (linux) (push) Blocked by required conditions
test / e2e (windows) (push) Blocked by required conditions
2026-10-14 14:41:00 -07:00
opencode-agent[bot]
13afea6a1a
docs(console): correct Cat Jam Free privacy on Go page (#55499)
Co-authored-by: Tarquinen <78942835+Tarquinen@users.noreply.github.com>
2026-10-14 14:00:46 -05:00
James Long
8ffbcc2c81
fix(tui): tidy docked diff panel spacing (#55467) 2026-10-14 13:12:43 -04:00
opencode-agent[bot]
35bb8e44ef
fix(core): treat empty configured provider and model names as omitted (#55465)
Co-authored-by: rekram1-node <rekram1-node@users.noreply.github.com>
2026-10-14 11:29:44 -05:00
opencode-agent[bot]
0ccfe69ff3
docs(console): list Cat Jam Free unavailable regions (#55466)
Some checks are pending
deploy-files / deploy (push) Waiting to run
deploy-update / deploy (push) Waiting to run
deploy-www / deploy (push) Waiting to run
deploy / deploy (push) Waiting to run
Co-authored-by: dc85 <83497+dc85@users.noreply.github.com>
2026-10-14 09:28:55 -07:00
Stefan Avram
07c0ff5914
feat(console): enrich Salesforce leads with Console account status (#54387) 2026-10-14 12:28:23 -04:00
James Long
fe1717b309
fix(tui): put the diff side panel behind an experiment (#55456) 2026-10-14 12:16:18 -04:00
Aiden Cline
943dc005f7
fix(vscode): use the sst/opencode repository URL for Marketplace publishing (#55463) 2026-10-14 11:04:25 -05:00
Aiden Cline
cddf1dd3e9
docs: document top-level policies in Console API response (#55461) 2026-10-14 10:55:52 -05:00
James Long
b474b84259
fix(tui): use the action disabled token for inactive key hints (#55452) 2026-10-14 11:28:46 -04:00
James Long
c0d41d2b26
feat(tui): render diffs in plugin panel slots (#47152) 2026-10-14 11:26:36 -04:00
Filip
c458ad72d3
fix(core): substitute empty for missing config file references (#55388) 2026-10-14 16:35:25 +02:00