Skip to content

Latest commit

 

History

History
42 lines (29 loc) · 4.82 KB

README.md

File metadata and controls

42 lines (29 loc) · 4.82 KB

Documentation

The root README and package READMEs describe current installation and usage. The V1 guide retains instructions for OpenCode V1, including the frozen releases whose package READMEs now describe V2. Contributor checks, release procedures, and Testing in OpenCode (trying a local build in your own setup) live in CONTRIBUTING.md.

Map

Document Status What it is
v1-plugins.md Active V1 install, pinning, and compatibility: frozen versus still-moving packages, opencode.json / tui.json config, and the V2 boundary.
migration-guide-1.15.md Scoped snapshot 1.15 Effect-native migration notes. Historical reference; kept as is.
plugin-system-1.15.md Scoped snapshot 1.15 internals deep dive (EventV2, Zod bridge, WithInstance removal). Historical reference; kept as is.
opencode-system-prompt-guide.md V1 reference How OpenCode V1 assembles its system prompt and where the experimental.chat.system.transform hook fits. Background for output-styles 1.x and prompt-inheritance contributors.
opencode-v2-plugin-runtime.md Plugin-author reference What a V2 plugin can rely on: process model, context.client and options, the host-served SDK (and why server plugins keep a required peer before OpenCode 2.0.25), the cli.json tuple trap, entry resolution, combined server + TUI packages, and OpenTUI test setup. Verified live or source-checked against OpenCode 2.1.4.
opencode-plugin-ipc-and-os-patterns.md Plugin-author reference IPC and cross-platform patterns learned from building these plugins, with V1 and V2 startup examples.
output-styles/claude-output-styles.md Upstream reference Snapshot of Claude Code output-style docs. Background for the output-styles plugin, not a statement of this repo's behavior.
output-styles/v2-port-findings.md Package note What we verified about Claude Code output styles and OpenCode V2 while porting output-styles.
auto-advisor/findings.md Package note OpenCode 2.2.x behavior the auto-advisor design rests on (2.2.0, rechecked on 2.2.5, the minimum): host Decision calls and errors, when entries land, tail delivery per protocol, retries, plus a re-verify recipe.
ram-monitor/post-mortem-v1.0.0.md Historical package note What broke and what fixed it during ram-monitor 1.0.0 stabilization (V1; the config and session-discovery approach it describes was replaced in 2.1.0).
adversarial-review/codex-comparison.md Package note Prompt-structure comparison between the official Codex plugin and this repo's review plugin.

Generated prompt sources

packages/opencode-agent-prompt-inheritance/src/prompt/*.txt are synced from upstream anomalyco/opencode (packages/opencode/src/session/prompt/, nine files). The sync:prompts script and the Sync OpenCode Prompts workflow fetch them and open PRs. Treat the copies as generated: do not hand-edit them outside the sync.

The V1 prompt-sync workflow stays on. A V2 port is TBD; no V2 release is available or promised.

Bundled skill references

.agents/skills/ bundles reference material for contributors and agents (bun, biome, opentui, opentui-design). Each skill owns its SKILL.md and references/ directory. Leave the contents alone and do not reformat them.

Provenance notes ship with the skill where they exist. The Biome skill carries its own LICENSE.txt and changelog. Do not invent ownership or license claims for the rest.

Conventions

Where each kind of content goes:

  • Root README: what each plugin is, the generic V2 install steps, and the Compatibility table, which is the one place that lists every plugin's minimum OpenCode version.
  • Package README: everything a user of that plugin needs: install (with its minimum version), usage, configuration, behavior notes, and troubleshooting. New READMEs start from README-template.md.
  • Package AGENTS.md: internals, verification notes, and test details for contributors.
  • docs/: plugin-author references, per-package research and findings, and dated snapshots. Not install or usage steps, except the V1 guide.

Dated documents retain their scope banners and existing paths. Prefer links to current installation instructions rather than copying them; the V1 guide is the explicit compatibility reference for frozen releases. Update navigation and inbound links together if documents move.