Skip to content

Phase 1 — Fleet opencode plugins: dual v1+v2 port (auto-question, supervisor, session-search/notes, profiles, DCP) #1177

Open

Description

@jflowers

Umbrella: #797
Phase: 1 — Plugin port (parallel with #714)

Goal

Port the opencode plugins the gh-hud agent fleet loads to dual v1+v2 form ({ ...Plugin.define({ id, setup }), server() }), the same pattern #714 uses for the uf plugins. Fleet machines can't move to v2 for dogfooding (#806) until these load and behave under v2: without auto-question, unattended dispatch stops working.

Scope

Plugin Repo How the fleet loads it Priority
auto-question jflowers/opencode-auto-question npm, exact pin in opencode.jsonc first: unattended dispatch depends on it
supervisor jflowers/opencode-supervisor (npm opencode-agent-supervisor) npm, exact pin in opencode.jsonc high
session-search jflowers/opencode-session-search from checkout medium
session-notes jflowers/opencode-session-notes from checkout medium
profile-switcher jflowers/opencode-profiles (npm @jflowers/opencode-profile-switcher) npm low; has a TUI part, so also check v2's TUI plugin story
dynamic-context-pruning Opencode-DCP/opencode-dynamic-context-pruning from checkout third-party: track upstream v2 support, don't fork
herdr opencode integration herdr (herdr integration; installs ~/.config/opencode/plugins/herdr-agent-state.js and a TUI session plugin via tui.jsonc, integration version 13) installed and overwritten by herdr blocker, third-party: reports working/blocked/done to herdr, which gh-hud uses to finish TUI dispatches and drain machines in fleet rollouts. Track upstream v2 support.
  • One short-lived branch and PR per repo. Each repo keeps working on v1 with every release.
  • Verify under v2 in the v2 container, CI, or the dedicated v2 user (ocv2), never in a v1 user's environment (see the umbrella's "Tooling environment").
  • Add a v2 CI job to each repo we own (all but DCP and herdr) so both majors stay green.
  • Bump the pins in the dotfiles opencode.jsonc through the normal fleet rollout.

Done when

Every plugin above loads and passes its tests under both v1 and v2, with the same published version pinned fleet-wide; DCP and the herdr integration either support v2 upstream or have a documented decision (for DCP: drop / disable for v2 users; herdr's has no substitute, so it blocks #806).

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

    enhancementopencode-v2-migration

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions