Skip to content

[BUG] Unable to start DCG when using Zoo Code in Remote Explorer connection #1603

Description

@atoomnetmarc

Describe the bug
When running with DCG enabled in a remote explorer connection:
Error executing command:
Unable to start DCG: spawn /home/marc/.vscode-server/data/User/globalStorage/zoocodeorganization.zoo-code/destructive-command-guard/dcg ENOENT

To Reproduce
Steps to reproduce the behavior:

  1. open a remote explorer connection to another linux machine
  2. install zoo code extension remote
  3. let an llm run a command
  4. observe 'Unable to start DCG'

Expected behavior
A working DCG that allows executing most commands. Or when destructive let the user decide.

What version of zoo are you running
3.82.0

Additional context

  "error": {
    "timestamp": "2026-09-11T12:09:53.874Z",
    "version": "3.82.0",
    "provider": "openrouter",
    "model": "z-ai/glm-5.3-flash",
    "details": "Error executing command:\nUnable to start DCG: spawn /home/marc/.vscode-server/data/User/globalStorage/zoocodeorganization.zoo-code/destructive-command-guard/dcg ENOENT"
  },

The dcg binary is available and working on the remote host:

/home/marc/.vscode-server/data/User/globalStorage/zoocodeorganization.zoo-code/destructive-command-guard/dcg -V
0.7.7

  ╭─────────────────────────────────────────╮
  │  🛡  Destructive Command Guard               │
  │     dcg v0.7.7                           │
  │                                         │
  │  Built: 2026-07-29                   │
  │  Rustc: 1.98.0-nightly                      │
  │  Target: x86_64-unknown-linux-musl         │
  │                                         │
  │  Protecting your code from destructive ops  │
  ╰─────────────────────────────────────────╯

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions