Skip to content

Opencode support? #68

Closed
Closed

Description

@Bulat-Gumerov

Current scope (maintainer, 2026-10-16, revised)

Eric's rule (#203): a read-only lane means the read-only settings pstack passes to the CLI. The operator's host, account, repository and organization configuration applies as they set it up; pstack adds no refusal, guard or account check because of it, and the catalog notes disclose what it can do. This replaces the earlier containment items, which asked to refuse managed, remote and project configuration.

The PR (#202) restores the adapter from 08556cd: a read-only lane on opencode/deepseek-v4.1-flash-free (OpenCode Zen, needs no key) with pstack's own lane settings (a run-owned config with a read-only permission set, --pure, --agent build, --title, the project-config and external-skill switches), stored logins as the user has them, and no pre-launch guard or .opencode/ refusal. The catalog notes say what still loads: managed and macOS managed-preferences configuration, remote configuration from a well-known login or console organization, a home or repository .opencode/ plugin, and anything else OpenCode 1.19.1 reads, and that these can add tools, servers or routing to a lane.

Original request

Add support for [OpenCode](https://opencode.ai/) as a coding agent in open-pstack, allowing users to use OpenCode through the same workflows and interfaces as the existing supported agents. The integration should detect the opencode CLI, provide the necessary configuration and invocation logic, handle missing installations with a clear error, preserve existing integrations, and include basic documentation and tests for the new support.

Activity

  1. ericlitman commented on Oct 1, 2026

    @ericlitman
    Owner

    Maintainer decision (2026-10-01): OpenCode is supported as an external helper provider through the runner, not as a third parent harness. It waits on the registry design in #103. Prior art: simonbloom's OpenCode GLM adapter and live Sol + GLM proof, described on #33.

  2. Repository owner deleted a comment from mast-factory on Oct 2, 2026
  3. ericlitman commented on Oct 16, 2026

    @ericlitman
    Owner

    Work on this started today (2026-10-15).

    First I'm recording what OpenCode actually prints when it runs without a terminal, on a Mac where it's installed and logged in. Then I'll build the adapter the same way as the Devin one (PR #183), and test it for real from both Claude Code and Codex before it merges. If OpenCode can't run unattended, I'll say so here with the recordings.

  4. added a commit that references this issue on Oct 16, 2026
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions