Repository navigation
fix(tangent): start sessions with the bundle the workspace names - #3123
Merged
Merged
Conversation
🎩 PreviewA preview build has been created at: |
This was referenced Dec 3, 2026
Merged
maxy-shpfy
approved these changes
Dec 3, 2026
Sessions always used the `tangle` agent bundle, so a workspace backed by a Tangent shell with another bundle (the open-source shell ships `tangle-oss`) couldn't start one. A workspace can now name its bundle as `tangentBundleId` in its data, next to `tangentBaseUrl`, and `tangle` stays the default. The "bundle not installed" message names the bundle and says where to change it. The resolver, hook and context changes match #3099. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
camielvs
force-pushed
the
fix/workspace-tangent-bundle-id
branch
from
December 3, 2026 16:53
e55a78a to
9a27122
Compare
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.
Intent
Let each workspace choose which Tangent agent bundle its project chats use, so a Tangent shell that installs its bundle under a different name still works, without rebuilding the app.
Current behavior
The app always starts Tangent sessions with the
tanglebundle. The open-source Tangent shell ships its bundle astangle-oss, so on a local open-source setup every session fails to start with "doesn't have the "tangle" agent bundle installed". The only fix today is changing the app's code.What changes
tangentBundleIdin its data, next to the existingtangentBaseUrl. Sessions in that workspace's projects start with that bundle.tangle, so existing workspaces behave as before.tangentBundleIdin the workspace's data.The resolver, hook and context changes are the bundle-id part of #3099, taken as is so the two don't diverge.
Deployment impact: none. No build variables change, and workspaces without
tangentBundleIdget the same bundle as today.How to test
Needs a backend with the Projects API, a Tangent shell, and the Projects and Tangent beta flags on.
tangentBundleIdand start a Tangent chat. The session starts with thetanglebundle, as before.tangle-ossinstalled, start a chat in that same workspace. The error now says the shell doesn't have the "tangle" bundle and to settangentBundleIdin the workspace's data.{"tangentBundleId": "tangle-oss"}(for example through the backend's API docs), reload, and start a chat. The session starts withtangle-oss.Checked: the Tangent test suite (799 tests), typecheck and eslint pass. On a from-scratch open-source install (with #3122, tangent-shell #242/#243 and the
neurips-2026backend, whose seeded workspace setstangentBundleId: "tangle-oss"), a chat started with thetangle-ossbundle. Step 2's error message is covered by a unit test, not checked in the UI.Related Issue and Pull requests
pnpm oss:devnamestangle-osson the workspace it createstangletangent-shell#244 (renaming the open-source bundle), closed in favor of workspace configType of Change
Line Breakdown
Checklist
🤖 Generated with Claude Code