Skip to content

Contract

The same five lines as the README, in full: what Charts is for, where its concerns end, what it publishes and consumes, and how it reaches people.

For

Charts is for OpenCode agents and the people who work with them. It draws publication-grade charts, maps, tables, diagrams and dashboards from a spec, a chart document or workspace files. Its output is deterministic SVG, PNG, GIF or offline HTML, written under outputs/charts/ (or the configured outDir) in the session's workspace.

Not for

Charts does not publish, host or share what it draws, and it is not the contract a plugin implements. artifacts publishes and shares a page, dashboard or app, and plugin-contract holds the manifest, the permissions, the errors and the conformance kit that Charts implements. Charts reads no network service, holds no account and declares no provider or MCP server.

Publishes

A release is the GitHub Release v0.0.3, created by .github/workflows/release.yml from a tag on master that names the version in package.json. It carries three files:

  • we-the-rebel-alliance-charts-plugin-0.0.3.tgz: the packed @we-the-rebel-alliance/charts-plugin 0.0.3 package from npm pack. Its capabilities manifest is schema version 1, and its host API supports OpenCode >=2.4.1 <2.5.0, tested on 2.4.1.
  • conformance.json: the plugin-kit check --json report for that manifest.
  • SHA256SUMS: the SHA-256 checksums of the other two files.

Nothing is published to npm. The documentation site is built from docs/ and published to GitHub Pages on a push to master.

Consumes

Charts takes plugin-contract v0.1.1 as a development dependency: its manifest, register and conformance kit. package-lock.json pins it to commit a6d5e94509995a05c24724564a5beebfc176fad0, and its code is bundled into dist/ at build time.

The OpenCode host API is 2.4.1, @opencode/plugin and @opencode/sdk, at exact versions and with their lockfile integrity. The manifest supports >=2.4.1 <2.5.0, and the host suite runs on 2.4.1. OpenCode supplies @opencode/plugin at runtime; @opencode/sdk runs the host tests.

Its chart engines and other third-party packages are at the exact versions in package.json, bundled into dist/ at build time, and their licences are recorded in NOTICE and THIRD_PARTY_NOTICES.md. There is no vendor API and no MCP server, and nothing is fetched at runtime.

Run by

Charts reaches people two ways. A person installs it in their own OpenCode from a release tag. The managed host runs it at the release deploy pins: v0.0.8, in envs/prod.yaml and envs/staging.yaml, through the product's curated pin. The pin stays on v0.0.8 until it moves to this repository's 0.0.0 line (app#8745).