Skip to content

Sync with Opencode 1.3.17#21238

Closed
NicholasDominici wants to merge 79 commits intoanomalyco:devfrom
jairad26:dev
Closed

Sync with Opencode 1.3.17#21238
NicholasDominici wants to merge 79 commits intoanomalyco:devfrom
jairad26:dev

Conversation

@NicholasDominici
Copy link
Copy Markdown

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.

Jai Radhakrishnan and others added 30 commits March 31, 2026 09:21
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
jairad26 and others added 23 commits March 31, 2026 20:05
### 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
@github-actions github-actions bot added needs:title needs:compliance This means the issue will auto-close after 2 hours. labels Apr 6, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 6, 2026

Hey! Your PR title Sync with Opencode 1.3.17 doesn't follow conventional commit format.

Please update it to start with one of:

  • feat: or feat(scope): new feature
  • fix: or fix(scope): bug fix
  • docs: or docs(scope): documentation changes
  • chore: or chore(scope): maintenance tasks
  • refactor: or refactor(scope): code refactoring
  • test: or test(scope): adding or updating tests

Where scope is the package name (e.g., app, desktop, opencode).

See CONTRIBUTING.md for details.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 6, 2026

This PR doesn't fully meet our contributing guidelines and PR template.

What needs to be fixed:

  • No "Type of change" checkbox is checked. Please select at least one.
  • No issue referenced. Please add Closes #<number> linking to the relevant issue.
  • "How did you verify your code works?" section is empty. Please explain how you tested.
  • Not all checklist items are checked. Please confirm you have tested locally and have not included unrelated changes.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs:compliance This means the issue will auto-close after 2 hours. needs:title

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants