Skip to content

wid4t/opencode-acp-tracking

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Opencode ACP Tracking

OpenCode ACP works great inside Zed. But if you prefer prompting in the OpenCode CLI and only use Zed for reviewing diffs, this plugin is for you.

opencode-acp-tracking keeps your CLI workflow intact and shows the resulting changes in Zed with native diff highlighting. That makes it easy to review, approve, or reject changes with confidence.

Screenshot showing Opencode ACP Tracking workflow

Installation

Edit opencode.json (OpenCode config):

{ 
  "$schema": "https://opencode.ai/config.json",
  "permission": {
    "edit": "ask"
  },
  "plugin": ["@widat/opencode-acp-tracking"]
}

Then run:

opencode

Wait until it finishes with no errors.

Edit setting.json (Zed config):

{
  "agent_servers": {
    "Opencode Tracking": {
      "type": "custom",
      "command": "C:/Program Files/nodejs/node.exe",
      "args": [
        "C:/Users/[change_me]/.cache/opencode/node_modules/@widat/opencode-acp-tracking/dist/zed/agent.js"
      ]
    }
  }
}

Open Opencode Tracking from the External Agent panel. Wait until you see the message: Message Opencode Tracking - @ to include context. For test this plugin, do not prompt from the Zed thread. This is only a bridge connection.

Test by running prompts directly in the OpenCode CLI.

This project is for education only. Use at your own risk.

Changelog

0.1.0

  • Fix issue false tracking
  • Fix logging flow

0.0.9

  • Fix issue double tracking

0.0.8

  • Fix issue false tracking

0.0.7

  • Auto detect agent server is running.

0.0.6

  • Read opencode.json configuration to understand permission settings.
  • Support permission.edit with allow or ask.
  • If permission config is missing, treat ask as allow.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published