Skip to content

[Bug]: Can not open a folder -> Opencode throws an error when executing opencode service status #669

Description

@mkleint-magari

App Variant

Electron

Operating System & Version

macOS Tahoe 26.2 (ARM)

Issue Summary

[Bug]: Can not open a folder -> Opencode throws an error when executing opencode service status

Steps to Reproduce

i can not start a workspace (i guess). as soon as i successfully point to my opencode binary and want to either "open a folder" or "clone a repository", it displays an error popup showing a message Host OpenCode service status failed: code 1: Command failed: /Users/mkleint-daparto/.local/bin/opencode service status followed by opencode usage-info.

it is a fresh installation on my macbook. not sure if electron or other wrapper. did i miss a setup step or something?

Expected Behavior

when i connect to my opencode-binary and open a folder, i expect codeNomad to start my workspace correctly

Logs & Screenshots

`OpenCode konnte nicht gestartet werden
OpenCode konnte diesen Arbeitsbereich nicht starten. Überprüfen Sie die Fehlerausgabe unten oder Ihre OpenCode-Einstellungen.

Binärpfad

/Users/mkleint-daparto/.local/bin/opencode

Fehlerausgabe

Host OpenCode service status failed: code 1: Command failed: /Users/mkleint-daparto/.local/bin/opencode service status
⠀ ▄
█▀▀█ █▀▀█ █▀▀█ █▀▀▄ █▀▀▀ █▀▀█ █▀▀█ █▀▀█
█ █ █ █ █▀▀▀ █ █ █ █ █ █ █ █▀▀▀
▀▀▀▀ █▀▀▀ ▀▀▀▀ ▀ ▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀ ▀▀▀▀

Commands:
opencode completion generate shell completion script
opencode acp start ACP (Agent Client Protocol) server
opencode mcp manage MCP (Model Context Protocol) servers
opencode [project] start opencode tui [default]
opencode attach attach to a running opencode server
opencode run [message..] run opencode with a message
opencode debug debugging and troubleshooting tools
opencode providers manage AI providers and credentials [aliases: auth]
opencode agent manage agents
opencode upgrade [target] upgrade opencode to the latest or a specific version
opencode uninstall unins...`

Additional Context

No response

Activity

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

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions