sync: upstream v1.17.8 (8716c4309 on dev)#99
Merged
Conversation
Co-authored-by: Aiden Cline <aidenpcline@gmail.com>
This reverts commit 9258e8c.
…scroll jumps (#32331)
… (#32052) Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Co-authored-by: jquense <jquense@ramp.com> Co-authored-by: Aiden Cline <aidenpcline@gmail.com> Co-authored-by: Aiden Cline <63023139+rekram1-node@users.noreply.github.com>
Merge anomalyco/opencode dev release point v1.17.8 (8716c43). 157 commits across v1.17.1-v1.17.8. Conflicts resolved: package.json (kept name, took 1.17.8), bun.lock (regenerated), customize-opencode.md (re-deleted), agent.ts (whitelist + referenceDirs), mcp/index.ts (createClient + bcode client name), 2 test files (upstream LayerNode wiring). Typecheck 13/13.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Brings
anomalyco/opencodeup to v1.17.8 (8716c4309ondev). 157 upstream commits since6c6ed68b5(v1.17.0), spanning v1.17.1–v1.17.8. Patch-level window — no sweeping directory-rename refactors.Main upstream themes pulled in:
build server from layer nodes(#32086), raw-filesystem content serving (#31911).Conflicts resolved
bun.lockbun installagainst our workspace.packages/opencode/package.json@browser-use/browsercode-corename, took version1.17.8.packages/core/src/plugin/skill/customize-opencode.mdpackages/opencode/src/agent/agent.tsreferenceDirswhitelist — both feedwhitelistedDirs.packages/opencode/src/mcp/index.tscreateClient(directory)helper at both call sites; moved the BrowserCodename: "bcode"client identity into that single helper (divergence reduced from twonew Clientcalls to one line; gains upstream client-roots capability).packages/opencode/test/session/snapshot-tool-race.test.tsLayerNodegraph wiring (ourmakeHttphelper was the old upstream style).packages/opencode/test/tool/registry.test.tsLayerNodewiring (ourregistryLayerhelper was the old style). FetchUse is satisfied byToolRegistry.node's own layer, not test wiring.Step 3a (re-delete upstream-only workflows): no-op this window — no
.github/workflowsmodify/delete, nothing reintroduced.Verification
bun install: clean.bun run typecheck: 13/13 packages passed (~15s).packages/opencode/test/tool/registry.test.tslocally: 12/12 pass — confirmsFetchUseresolves throughToolRegistry.nodeunder upstream's LayerNode wiring (validates the test-file resolution above).packages/opencode/test/session/snapshot-tool-race.test.tsfails on a local Windows shell/path artifact (upstream test uses Unixecho 'x' > <path>with a backslash Windows path passed to a bash-style shell) — not a sync regression; agent CI is Linux.Yellow-zone audit
Upstream touched 9 BrowserCode-modified files this window; all customizations verified preserved/re-applied:
core/src/v1/config/config.ts—fetch_useconfig option preserved alongside upstream's newreferences/deprecated-referencefields.config/config.ts— bcode config filenames +bcode.shschema URL.agent.ts,mcp/index.ts— resolved by hand (see conflicts).plugin/index.ts— Laminar plugin +pluginShutdownHooks.provider/provider.ts— bcode attribution headers (X-BILLING-INVOKE-ORIGINstays removed per fork policy; confirmed not a new upstream addition).tui/app.tsx— BrowserCode terminal titles +docs.openbrowsercode link.tui/routes/session/index.tsx—browser_executeTUI display component.AGENTS.md— kept BrowserCode fork guidance + upstream notes (no stray markers).UPSTREAM.md sync log updated with this row.
Summary by cubic
Sync to upstream v1.17.8 to pull MCP hardening, v2 session APIs, and several app UX improvements. Updates our forked customizations, resolves conflicts, and bumps the app to 1.17.8.
New Features
@pierre/trees,/new-sessiondraft flow and tabs, titlebar tab fades, and visibility settings on web.Refactors
LayerNode.serverSDK(),serverSync(),sdk());SDKProviderreturns a memoized directory-scoped SDK.message.part.deltaevents; initialize text delta accumulation from the current part text.referencesinopencode.jsonc(keeps deprecatedreferencecompatibility).AGENTS.md.@tanstack/solid-virtual; upgradeshikito4.x,@pierre/diffsto1.2.10, andopentui-spinnerto0.0.7; regeneratebun.lockand Nix hashes.Written for commit 7675d76. Summary will update on new commits.