forked from anomalyco/opencode
-
Notifications
You must be signed in to change notification settings - Fork 3
Merge shuvcode-dev: upstream sync v1.1.8 + bug fixes + upgrade fix #286
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
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
The attach command now always passes client's cwd to the server via x-opencode-directory header. This was a fork-specific enhancement that regressed during upstream merge (PR anomalyco#7150, commit dee0226). Ensures file autocomplete, theme discovery, and exports use the client's directory when attaching to a remote server, not the server's launch dir. Fixes #283
- Remove Bun.build() bundling for npm plugins in BunProc.install() - Import plugins directly from node_modules like upstream does - This preserves __dirname-relative asset paths in OAuth plugins - Local file:// plugins still use bundleLocalPlugin() for compatibility Fixes OAuth plugin failures: - opencode-openai-codex-auth - opencode-antigravity-auth - Any plugin using readFileSync(__dirname + '/path/to/asset') Root cause: Bundling with Bun.build() changed __dirname resolution from node_modules/pkg/ to ~/.cache/opencode/bundled/, breaking asset paths.
Cherry-picked from upstream a5edf3a. Fixes missing parent-child message references when cloning sessions.
…anomalyco#7429) Cherry-picked from upstream 07dc1f8. Fixes model search filtering and prevents deprecated models from appearing in lists.
…ion (anomalyco#5957) Cherry-picked from upstream 8e3ab4a. Plugins with the same name are deduplicated with priority: local > project > global.
…3d4d06) Cherry-picked from upstream 0433d4d. Kept our enhanced layout.tsx with review pane width/state management.
Cherry-picked from upstream ec82861.
Cherry-picked from upstream 44297ff.
…ork) Reverts ff3ffd4. Upstream's session context has reviewPanel/terminal properties that our fork doesn't use - we handle this via layout.tsx instead.
- Add PACKAGE_NAME constant for shuvcode npm package - Update npm/bun/pnpm install commands to use shuvcode package - Use shuv.ai install script for curl upgrades - Check Latitudes-Dev/shuvcode GitHub releases instead of upstream - Update USER_AGENT to show shuvcode - Update tips.ts references to shuvcode and shuv.ai - Document upgrade customization in fork-features.json to prevent regression
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
This PR merges the shuvcode-dev branch into integration, containing upstream sync to v1.1.8 along with several bug fixes and enhancements specific to the fork.
Changes
Bug Fixes
Features
UI Improvements
Reverts
Upgrade Fix Details
The v1.1.7 upstream merge overwrote fork-specific upgrade logic:
PACKAGE_NAME = "shuvcode"constantshuvcodepackagehttps://shuv.ai/installscriptLatitudes-Dev/shuvcodeshuvcode/...Files Changed
Breaking Changes
None
Testing
shuvcode upgradecorrectly checks Latitudes-Dev/shuvcode releases