Sync with Opencode 1.3.17#21238
Closed
NicholasDominici wants to merge 79 commits intoanomalyco:devfrom
Closed
Conversation
Implements Feature 1 from ROADMAP.md - Native Desktop Control. - Install @nut-tree-fork/nut-js for desktop automation - Create new desktop.ts tool with support for screenshots, mouse movement, clicking, and typing - Add tool description in desktop.txt - Register DesktopTool in the tool registry
Feature 1: Native Desktop Control (Computer Use Tool)
Feature 2: Headless Browser Automation (WebBrowserTool)
- Add SQLite tables for user preferences, project architecture rules, and API keys - Create MemoryRepo service with CRUD operations for all three data types - Add proper indexes for efficient querying - Generate Drizzle migration for session_memory feature - Add comprehensive tests for memory functionality This implements Feature 4 from ROADMAP.md for persisting user preferences, project architecture rules, and API keys across different terminal sessions.
- Add SQLite tables for user preferences, project architecture rules, and API keys - Create MemoryRepo service with CRUD operations for all three data types - Add proper indexes for efficient querying - Generate Drizzle migration for session_memory feature - Add comprehensive tests for memory functionality This implements Feature 4 from ROADMAP.md for persisting user preferences, project architecture rules, and API keys across different terminal sessions.
Feature 3: Dynamic Agent Swarms (SpawnMultiAgentTool)
Feature 4: Long-Term Semantic Memory (SessionMemory)
Feature 5: Strict Zod-Based Permission Gates (PermissionRouter)
docs: Add Claude Code parity roadmap
fix: restore Bun CLI builds with chromium-bidi
Add transitive @nut-tree-fork dependencies (libnut, libnut-darwin, shared) to package.json so native .node bindings resolve correctly at runtime. Improve error handling in desktop.ts to surface the actual underlying error instead of a generic message, making debugging easier.
fix: resolve native addon dependencies for Desktop tool
The Desktop tool failed to load @nut-tree-fork/nut-js when running from a compiled Bun binary because the bindings package couldn't resolve the native addon from the virtual /$bunfs path. Changes: - Add desktop.runtime.ts helper that imports nut-js from real filesystem - Update desktop.ts to delegate to helper when running from /$bunfs - Update build.ts to emit desktop.runtime.mjs next to the binary - Add regression test for compiled vs source runtime resolution Fixes module resolution for native dependencies in compiled binaries.
The screen.capture() and captureRegion() methods don't write to the path we expect - they return the actual saved path. The code was trying to read from a temp file path that never had the screenshot data. Fix: Use grab()/grabRegion() which return Image objects, then call toPNG() to get the buffer directly. This eliminates temp file issues. Also removes unused imports (os, fs/promises) and tempFile() function.
fix: use grab/grabRegion for screenshots
…erride_skill_and_remove_chromium-bidi_dependency docs: Add local opencode override skill and remove chromium-bidi dependency
…tools feat: add worktree sandbox tools
### Issue for this PR Closes # ### Type of change - [ ] Bug fix - [ ] New feature - [ ] Refactor / code improvement - [ ] Documentation ### What does this PR do? Please provide a description of the issue, the changes you made to fix it, and why they work. It is expected that you understand why your changes work and if you do not understand why at least say as much so a maintainer knows how much to value the PR. **If you paste a large clearly AI generated description here your PR may be IGNORED or CLOSED!** ### How did you verify your code works? ### Screenshots / recordings _If this is a UI change, please include a screenshot or recording._ ### Checklist - [ ] I have tested my changes locally - [ ] I have not included unrelated changes in this PR _If you do not follow this template your PR will be automatically rejected._
### Issue for this PR Closes # ### Type of change - [ ] Bug fix - [ ] New feature - [ ] Refactor / code improvement - [ ] Documentation ### What does this PR do? Please provide a description of the issue, the changes you made to fix it, and why they work. It is expected that you understand why your changes work and if you do not understand why at least say as much so a maintainer knows how much to value the PR. **If you paste a large clearly AI generated description here your PR may be IGNORED or CLOSED!** ### How did you verify your code works? ### Screenshots / recordings _If this is a UI change, please include a screenshot or recording._ ### Checklist - [ ] I have tested my changes locally - [ ] I have not included unrelated changes in this PR _If you do not follow this template your PR will be automatically rejected._
### Issue for this PR Closes # ### Type of change - [ ] Bug fix - [ ] New feature - [ ] Refactor / code improvement - [ ] Documentation ### What does this PR do? Please provide a description of the issue, the changes you made to fix it, and why they work. It is expected that you understand why your changes work and if you do not understand why at least say as much so a maintainer knows how much to value the PR. **If you paste a large clearly AI generated description here your PR may be IGNORED or CLOSED!** ### How did you verify your code works? ### Screenshots / recordings _If this is a UI change, please include a screenshot or recording._ ### Checklist - [ ] I have tested my changes locally - [ ] I have not included unrelated changes in this PR _If you do not follow this template your PR will be automatically rejected._
### Issue for this PR Closes # ### Type of change - [ ] Bug fix - [ ] New feature - [ ] Refactor / code improvement - [ ] Documentation ### What does this PR do? Please provide a description of the issue, the changes you made to fix it, and why they work. It is expected that you understand why your changes work and if you do not understand why at least say as much so a maintainer knows how much to value the PR. **If you paste a large clearly AI generated description here your PR may be IGNORED or CLOSED!** ### How did you verify your code works? ### Screenshots / recordings _If this is a UI change, please include a screenshot or recording._ ### Checklist - [ ] I have tested my changes locally - [ ] I have not included unrelated changes in this PR _If you do not follow this template your PR will be automatically rejected._
### Issue for this PR Closes # ### Type of change - [ ] Bug fix - [ ] New feature - [ ] Refactor / code improvement - [ ] Documentation ### What does this PR do? Please provide a description of the issue, the changes you made to fix it, and why they work. It is expected that you understand why your changes work and if you do not understand why at least say as much so a maintainer knows how much to value the PR. **If you paste a large clearly AI generated description here your PR may be IGNORED or CLOSED!** ### How did you verify your code works? ### Screenshots / recordings _If this is a UI change, please include a screenshot or recording._ ### Checklist - [ ] I have tested my changes locally - [ ] I have not included unrelated changes in this PR _If you do not follow this template your PR will be automatically rejected._
…schedules feat: add one-shot trigger schedules
…s_from_tui feat: browse remote sessions from tui
…kill_and_global_session_listing feat: add opencode-memory skill and global session listing
…ort_and_webhook_triggers feat: add workspace ID support and webhook triggers
…emote_control_and_trigger_management feat: add mobile-friendly remote control and trigger management
…ner_with_custom_implementation feat: replace external spinner with custom implementation
Contributor
|
Hey! Your PR title Please update it to start with one of:
Where See CONTRIBUTING.md for details. |
Contributor
|
This PR doesn't fully meet our contributing guidelines and PR template. What needs to be fixed:
Please edit this PR description to address the above within 2 hours, or it will be automatically closed. If you believe this was flagged incorrectly, please let a maintainer know. |
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.
Issue for this PR
Closes #
Type of change
What does this PR do?
Please provide a description of the issue, the changes you made to fix it, and why they work. It is expected that you understand why your changes work and if you do not understand why at least say as much so a maintainer knows how much to value the PR.
If you paste a large clearly AI generated description here your PR may be IGNORED or CLOSED!
How did you verify your code works?
Screenshots / recordings
If this is a UI change, please include a screenshot or recording.
Checklist
If you do not follow this template your PR will be automatically rejected.