diff --git a/README.md b/README.md index f7132a5c..c72000ca 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![CI](https://github.com/Codestz/opencode-cockpit/actions/workflows/ci.yml/badge.svg)](https://github.com/Codestz/opencode-cockpit/actions/workflows/ci.yml) [![npm](https://img.shields.io/npm/v/opencode-cockpit?color=%23cb3837&label=opencode-cockpit)](https://www.npmjs.com/package/opencode-cockpit) -[![Docs](https://img.shields.io/badge/docs-codestz.github.io-9d7cd8)](https://codestz.github.io/opencode-cockpit/) +[![Docs](https://img.shields.io/badge/docs-cockpit.codestz.dev-9d7cd8)](https://cockpit.codestz.dev/) [![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE) **Your agent, on instruments.** Cockpit adds what [OpenCode](https://opencode.ai) doesn't ship with: @@ -13,7 +13,7 @@ everything each conversation made. *Drawn by Cockpit's own renderers, the same code that runs in your terminal: a test run failing and passing in the background, subagents at work, the PR landing in Trail, the context filling. Every -bay, live, is on the [site](https://codestz.github.io/opencode-cockpit/).* +bay, live, is on the [site](https://cockpit.codestz.dev/).* ## Install @@ -49,17 +49,17 @@ has something. | Bay | What it gives you | Key or command | Docs | | --- | --- | --- | --- | -| **Trail** | What every conversation shipped — PRs, tickets, deploys — and which one shipped it | `ctrl+x f` · `/trail` | [Trail](https://codestz.github.io/opencode-cockpit/trail/overview/) | -| **Shell** | Terminals that outlive the turn; the agent waits on a port or a pattern, you watch | `ctrl+x o` panel · `ctrl+x j` console | [Shell](https://codestz.github.io/opencode-cockpit/shell/overview/) | -| **Subagents** | Every helper in the sidebar with what it's doing now, and its whole run one key away | `ctrl+x d` | [Subagents](https://codestz.github.io/opencode-cockpit/subagents/overview/) | -| **Review** | Review changes like a pull request: notes on lines, which the agent reads and resolves | `ctrl+x v` | [Review](https://codestz.github.io/opencode-cockpit/review/overview/) | -| **Status** | How full the context is, where the tokens went, what changed, what it costs | `/status-setup` | [Status](https://codestz.github.io/opencode-cockpit/status/overview/) | -| **Trust** | Approve the same command three times and Trust answers it for you | `ctrl+x p` · `/trust` | [Trust](https://codestz.github.io/opencode-cockpit/trust/overview/) | -| **Updater** | Every plugin you have: what runs, what is published, and an update you pick | `/plugins-update` | [Updater](https://codestz.github.io/opencode-cockpit/updater/overview/) | +| **Trail** | What every conversation shipped — PRs, tickets, deploys — and which one shipped it | `ctrl+x f` · `/trail` | [Trail](https://cockpit.codestz.dev/trail/overview/) | +| **Shell** | Terminals that outlive the turn; the agent waits on a port or a pattern, you watch | `ctrl+x o` panel · `ctrl+x j` console | [Shell](https://cockpit.codestz.dev/shell/overview/) | +| **Subagents** | Every helper in the sidebar with what it's doing now, and its whole run one key away | `ctrl+x d` | [Subagents](https://cockpit.codestz.dev/subagents/overview/) | +| **Review** | Review changes like a pull request: notes on lines, which the agent reads and resolves | `ctrl+x v` | [Review](https://cockpit.codestz.dev/review/overview/) | +| **Status** | How full the context is, where the tokens went, what changed, what it costs | `/status-setup` | [Status](https://cockpit.codestz.dev/status/overview/) | +| **Trust** | Approve the same command three times and Trust answers it for you | `ctrl+x p` · `/trust` | [Trust](https://cockpit.codestz.dev/trust/overview/) | +| **Updater** | Every plugin you have: what runs, what is published, and an update you pick | `/plugins-update` | [Updater](https://cockpit.codestz.dev/updater/overview/) | Every key is the same on OpenCode 1 and 2, and none of them is one of OpenCode's own. Each bay is also published on its own, as `@opencode-cockpit/` — see -[Install](https://codestz.github.io/opencode-cockpit/start/install/). +[Install](https://cockpit.codestz.dev/start/install/). ## Set up in one sentence @@ -67,7 +67,7 @@ Install, restart, then type `/cockpit-setup`. The agent reads your settings, asks only what matters — which bays show, in what order, how quiet when empty — and writes the smallest correct file. Every setting is in the -[Configuration](https://codestz.github.io/opencode-cockpit/configuration/) reference. +[Configuration](https://cockpit.codestz.dev/configuration/) reference. ## Something wrong? @@ -76,17 +76,17 @@ npx opencode-cockpit@latest doctor ``` It checks OpenCode, its config, Cockpit's logs and the daemon, and prints the fix for anything -wrong. [Troubleshooting](https://codestz.github.io/opencode-cockpit/help/troubleshooting/) covers the +wrong. [Troubleshooting](https://cockpit.codestz.dev/help/troubleshooting/) covers the rest. ## Links -- [Documentation](https://codestz.github.io/opencode-cockpit/) — start with - [What Cockpit is](https://codestz.github.io/opencode-cockpit/start/what-cockpit-is/) -- [OpenCode 1 and 2](https://codestz.github.io/opencode-cockpit/start/opencode-versions/) — what +- [Documentation](https://cockpit.codestz.dev/) — start with + [What Cockpit is](https://cockpit.codestz.dev/start/what-cockpit-is/) +- [OpenCode 1 and 2](https://cockpit.codestz.dev/start/opencode-versions/) — what differs between the two - [Changelog](CHANGELOG.md) -- [Troubleshooting](https://codestz.github.io/opencode-cockpit/help/troubleshooting/) +- [Troubleshooting](https://cockpit.codestz.dev/help/troubleshooting/) - [Contributing](CONTRIBUTING.md) ## Contributing diff --git a/packages/client/README.md b/packages/client/README.md index 501dcb38..c6d3832d 100644 --- a/packages/client/README.md +++ b/packages/client/README.md @@ -137,7 +137,7 @@ Bun ≥ 1.3.5. macOS and Linux. ## More -[Architecture](https://codestz.github.io/opencode-cockpit/platform/architecture/) · +[Architecture](https://cockpit.codestz.dev/platform/architecture/) · [Daemon](../daemon) · [Protocol](../protocol) · [Repository](https://github.com/Codestz/opencode-cockpit) diff --git a/packages/daemon/README.md b/packages/daemon/README.md index b305894a..c587a1e2 100644 --- a/packages/daemon/README.md +++ b/packages/daemon/README.md @@ -125,7 +125,7 @@ Bun ≥ 1.3.5 — OpenCode's embedded runtime qualifies, so no separate install. ## More -[Architecture](https://codestz.github.io/opencode-cockpit/platform/architecture/) · +[Architecture](https://cockpit.codestz.dev/platform/architecture/) · [Repository](https://github.com/Codestz/opencode-cockpit) · [Contributing](https://github.com/Codestz/opencode-cockpit/blob/main/CONTRIBUTING.md) diff --git a/packages/opencode/README.md b/packages/opencode/README.md index 81e328e6..f926b93b 100644 --- a/packages/opencode/README.md +++ b/packages/opencode/README.md @@ -7,7 +7,7 @@ **Superpowers for [OpenCode](https://opencode.ai) — take all of them, or just the one you need.** -**[Documentation →](https://codestz.github.io/opencode-cockpit/)** · [Install](https://codestz.github.io/opencode-cockpit/start/install/) · [Shell](https://codestz.github.io/opencode-cockpit/shell/overview/) · [Configuration](https://codestz.github.io/opencode-cockpit/configuration/) · [Changelog](https://github.com/Codestz/opencode-cockpit/blob/main/CHANGELOG.md) +**[Documentation →](https://cockpit.codestz.dev/)** · [Install](https://cockpit.codestz.dev/start/install/) · [Shell](https://cockpit.codestz.dev/shell/overview/) · [Configuration](https://cockpit.codestz.dev/configuration/) · [Changelog](https://github.com/Codestz/opencode-cockpit/blob/main/CHANGELOG.md) Coding agents are stuck in a one-command-at-a-time world: they run something, wait for it to finish, and paste the whole log back into their context. Cockpit gives your agent the things a @@ -17,7 +17,7 @@ without drowning in it — and gives *you* a live view of all of it, inside Open ![One OpenCode session with Cockpit: background tests failing then passing, subagents at work, the PR landing in Trail, the context filling](https://raw.githubusercontent.com/Codestz/opencode-cockpit/main/media/hero.gif) *Drawn by Cockpit's own renderers, the same code that runs in your terminal. Every bay, live, is on -the [site](https://codestz.github.io/opencode-cockpit/).* +the [site](https://cockpit.codestz.dev/).* ## Features @@ -197,7 +197,7 @@ npx opencode-cockpit@latest doctor ``` checks OpenCode, its config, Cockpit's logs and the daemon, and prints the fix for anything wrong — -on OpenCode 1 and 2, and when Cockpit will not load at all ([what it checks](https://codestz.github.io/opencode-cockpit/help/doctor/)). +on OpenCode 1 and 2, and when Cockpit will not load at all ([what it checks](https://cockpit.codestz.dev/help/doctor/)). Everything Cockpit does inside OpenCode goes to one file — which OpenCode loaded which bay, and every error with its stack: @@ -206,8 +206,8 @@ error with its stack: tail -50 ~/.cache/opencode-cockpit/cockpit.log ``` -`COCKPIT_DEBUG=1 opencode` adds the detail. [Troubleshooting](https://codestz.github.io/opencode-cockpit/help/troubleshooting/) covers -the failures people hit and what to attach to an issue; [OpenCode 1 and 2](https://codestz.github.io/opencode-cockpit/start/opencode-versions/) +`COCKPIT_DEBUG=1 opencode` adds the detail. [Troubleshooting](https://cockpit.codestz.dev/help/troubleshooting/) covers +the failures people hit and what to attach to an issue; [OpenCode 1 and 2](https://cockpit.codestz.dev/start/opencode-versions/) covers what differs between the two. ## How it works diff --git a/packages/opencode/package.json b/packages/opencode/package.json index faefe9f7..912eb7f9 100644 --- a/packages/opencode/package.json +++ b/packages/opencode/package.json @@ -10,7 +10,7 @@ "url": "git+https://github.com/Codestz/opencode-cockpit.git", "directory": "packages/opencode" }, - "homepage": "https://github.com/Codestz/opencode-cockpit#readme", + "homepage": "https://cockpit.codestz.dev/", "bugs": { "url": "https://github.com/Codestz/opencode-cockpit/issues" }, diff --git a/packages/protocol/README.md b/packages/protocol/README.md index fd4cd576..f5286c88 100644 --- a/packages/protocol/README.md +++ b/packages/protocol/README.md @@ -81,7 +81,7 @@ Bun ≥ 1.3.5 or Node ≥ 20 for the schemas alone. Runs anywhere zod runs. ## More -[Architecture](https://codestz.github.io/opencode-cockpit/platform/architecture/) · +[Architecture](https://cockpit.codestz.dev/platform/architecture/) · [Daemon](../daemon) · [Client](../client) · [Repository](https://github.com/Codestz/opencode-cockpit) diff --git a/packages/review/README.md b/packages/review/README.md index 774f09c5..87f5d6f7 100644 --- a/packages/review/README.md +++ b/packages/review/README.md @@ -137,7 +137,7 @@ All optional, in the `review` section of `~/.config/opencode-cockpit/config.json | `enabled` | `true` | `false` turns Review off, its agent tools and guidance too; so does `features.review: false` | A value Review does not know is the default and a `!` row in the pane naming the ones it does. Every -bay's settings are on [Configuration](https://codestz.github.io/opencode-cockpit/configuration/). +bay's settings are on [Configuration](https://cockpit.codestz.dev/configuration/). ## Notes @@ -157,7 +157,7 @@ npx opencode-cockpit@latest doctor ``` checks OpenCode, its config, Cockpit's logs and the daemon, and prints the fix for anything wrong — -on OpenCode 1 and 2, and when Cockpit will not load at all ([what it checks](https://codestz.github.io/opencode-cockpit/help/doctor/)). +on OpenCode 1 and 2, and when Cockpit will not load at all ([what it checks](https://cockpit.codestz.dev/help/doctor/)). Everything Cockpit does inside OpenCode goes to one file — which OpenCode loaded which bay, and every error with its stack: @@ -166,6 +166,6 @@ error with its stack: tail -50 ~/.cache/opencode-cockpit/cockpit.log ``` -`COCKPIT_DEBUG=1 opencode` adds the detail. [Troubleshooting](https://codestz.github.io/opencode-cockpit/help/troubleshooting/) covers -the failures people hit and what to attach to an issue; [OpenCode 1 and 2](https://codestz.github.io/opencode-cockpit/start/opencode-versions/) +`COCKPIT_DEBUG=1 opencode` adds the detail. [Troubleshooting](https://cockpit.codestz.dev/help/troubleshooting/) covers +the failures people hit and what to attach to an issue; [OpenCode 1 and 2](https://cockpit.codestz.dev/start/opencode-versions/) covers what differs between the two. diff --git a/packages/review/package.json b/packages/review/package.json index a2e15dff..d6460429 100644 --- a/packages/review/package.json +++ b/packages/review/package.json @@ -10,7 +10,7 @@ "url": "git+https://github.com/Codestz/opencode-cockpit.git", "directory": "packages/review" }, - "homepage": "https://github.com/Codestz/opencode-cockpit#readme", + "homepage": "https://cockpit.codestz.dev/review/overview/", "bugs": { "url": "https://github.com/Codestz/opencode-cockpit/issues" }, diff --git a/packages/shell/README.md b/packages/shell/README.md index 5ac020ad..dc205d85 100644 --- a/packages/shell/README.md +++ b/packages/shell/README.md @@ -1,11 +1,11 @@ # @opencode-cockpit/shell **Bay 01 of [Cockpit](https://github.com/Codestz/opencode-cockpit).** -[Docs →](https://codestz.github.io/opencode-cockpit/shell/overview/) · -[Agent tools](https://codestz.github.io/opencode-cockpit/shell/tools/) · -[Watching health](https://codestz.github.io/opencode-cockpit/shell/watching/) · -[Panel and keys](https://codestz.github.io/opencode-cockpit/shell/interface/) · -[Configuration](https://codestz.github.io/opencode-cockpit/configuration/) +[Docs →](https://cockpit.codestz.dev/shell/overview/) · +[Agent tools](https://cockpit.codestz.dev/shell/tools/) · +[Watching health](https://cockpit.codestz.dev/shell/watching/) · +[Panel and keys](https://cockpit.codestz.dev/shell/interface/) · +[Configuration](https://cockpit.codestz.dev/configuration/) [![npm](https://img.shields.io/npm/v/@opencode-cockpit/shell)](https://www.npmjs.com/package/@opencode-cockpit/shell) @@ -254,7 +254,7 @@ place: interface settings on an entry must be in `tui.json`, agent settings in ` | Warning: "Shell is configured twice" | Remove either `opencode-cockpit` or `@opencode-cockpit/shell` from `opencode.json` (and `tui.json` on OpenCode 1) | | Panel says the daemon runs older code | `/shells-restart-daemon` once your shells are done | -More in [Troubleshooting](https://codestz.github.io/opencode-cockpit/help/troubleshooting/). +More in [Troubleshooting](https://cockpit.codestz.dev/help/troubleshooting/). ## How it works diff --git a/packages/shell/package.json b/packages/shell/package.json index 376ed831..d6fbcc5f 100644 --- a/packages/shell/package.json +++ b/packages/shell/package.json @@ -10,7 +10,7 @@ "url": "git+https://github.com/Codestz/opencode-cockpit.git", "directory": "packages/shell" }, - "homepage": "https://github.com/Codestz/opencode-cockpit#readme", + "homepage": "https://cockpit.codestz.dev/shell/overview/", "bugs": { "url": "https://github.com/Codestz/opencode-cockpit/issues" }, diff --git a/packages/status/README.md b/packages/status/README.md index ad2ef726..959e516e 100644 --- a/packages/status/README.md +++ b/packages/status/README.md @@ -329,7 +329,7 @@ bunx @opencode-cockpit/status preview --module examples/gallery.ts --state worki It is a terminal, not a browser — no DOM, no images, no borders. What there is: truecolor foreground and background, bold, dim, and alignment. See -[What you can draw](https://codestz.github.io/opencode-cockpit/status/drawing/). +[What you can draw](https://cockpit.codestz.dev/status/drawing/). ## Your own segments, in TypeScript @@ -451,7 +451,7 @@ npx opencode-cockpit@latest doctor ``` checks OpenCode, its config, Cockpit's logs and the daemon, and prints the fix for anything wrong — -on OpenCode 1 and 2, and when Cockpit will not load at all ([what it checks](https://codestz.github.io/opencode-cockpit/help/doctor/)). +on OpenCode 1 and 2, and when Cockpit will not load at all ([what it checks](https://cockpit.codestz.dev/help/doctor/)). Everything Cockpit does inside OpenCode goes to one file — which OpenCode loaded which bay, and every error with its stack: @@ -460,8 +460,8 @@ error with its stack: tail -50 ~/.cache/opencode-cockpit/cockpit.log ``` -`COCKPIT_DEBUG=1 opencode` adds the detail. [Troubleshooting](https://codestz.github.io/opencode-cockpit/help/troubleshooting/) covers -the failures people hit and what to attach to an issue; [OpenCode 1 and 2](https://codestz.github.io/opencode-cockpit/start/opencode-versions/) +`COCKPIT_DEBUG=1 opencode` adds the detail. [Troubleshooting](https://cockpit.codestz.dev/help/troubleshooting/) covers +the failures people hit and what to attach to an issue; [OpenCode 1 and 2](https://cockpit.codestz.dev/start/opencode-versions/) covers what differs between the two. ## Requirements diff --git a/packages/status/package.json b/packages/status/package.json index 968051ec..5428b3d2 100644 --- a/packages/status/package.json +++ b/packages/status/package.json @@ -10,7 +10,7 @@ "url": "git+https://github.com/Codestz/opencode-cockpit.git", "directory": "packages/status" }, - "homepage": "https://github.com/Codestz/opencode-cockpit#readme", + "homepage": "https://cockpit.codestz.dev/status/overview/", "bugs": { "url": "https://github.com/Codestz/opencode-cockpit/issues" }, diff --git a/packages/subagents/README.md b/packages/subagents/README.md index 878176a3..27bc2eb9 100644 --- a/packages/subagents/README.md +++ b/packages/subagents/README.md @@ -136,7 +136,7 @@ npx opencode-cockpit@latest doctor ``` checks OpenCode, its config, Cockpit's logs and the daemon, and prints the fix for anything wrong — -on OpenCode 1 and 2, and when Cockpit will not load at all ([what it checks](https://codestz.github.io/opencode-cockpit/help/doctor/)). +on OpenCode 1 and 2, and when Cockpit will not load at all ([what it checks](https://cockpit.codestz.dev/help/doctor/)). Everything Cockpit does inside OpenCode goes to one file — which OpenCode loaded which bay, and every error with its stack: @@ -145,6 +145,6 @@ error with its stack: tail -50 ~/.cache/opencode-cockpit/cockpit.log ``` -`COCKPIT_DEBUG=1 opencode` adds the detail. [Troubleshooting](https://codestz.github.io/opencode-cockpit/help/troubleshooting/) covers -the failures people hit and what to attach to an issue; [OpenCode 1 and 2](https://codestz.github.io/opencode-cockpit/start/opencode-versions/) +`COCKPIT_DEBUG=1 opencode` adds the detail. [Troubleshooting](https://cockpit.codestz.dev/help/troubleshooting/) covers +the failures people hit and what to attach to an issue; [OpenCode 1 and 2](https://cockpit.codestz.dev/start/opencode-versions/) covers what differs between the two. diff --git a/packages/subagents/package.json b/packages/subagents/package.json index 2125d38b..caa67d9b 100644 --- a/packages/subagents/package.json +++ b/packages/subagents/package.json @@ -10,7 +10,7 @@ "url": "git+https://github.com/Codestz/opencode-cockpit.git", "directory": "packages/subagents" }, - "homepage": "https://github.com/Codestz/opencode-cockpit#readme", + "homepage": "https://cockpit.codestz.dev/subagents/overview/", "bugs": { "url": "https://github.com/Codestz/opencode-cockpit/issues" }, diff --git a/packages/trail/package.json b/packages/trail/package.json index 89679f55..6313c010 100644 --- a/packages/trail/package.json +++ b/packages/trail/package.json @@ -10,7 +10,7 @@ "url": "git+https://github.com/Codestz/opencode-cockpit.git", "directory": "packages/trail" }, - "homepage": "https://github.com/Codestz/opencode-cockpit#readme", + "homepage": "https://cockpit.codestz.dev/trail/overview/", "bugs": { "url": "https://github.com/Codestz/opencode-cockpit/issues" }, diff --git a/packages/trust/README.md b/packages/trust/README.md index a66bb268..36cd7ec7 100644 --- a/packages/trust/README.md +++ b/packages/trust/README.md @@ -216,7 +216,7 @@ In the bundle's entry (`"trust": { … }`), this package's own, or the `trust` s Where the block sits is the top-level `"sidebar"` list's to say — Trust last by default; a `trust.sidebarOrder` from before 0.9 is no longer read, and is a `!` row in the block until `/cockpit-setup` removes it. A setting Trust cannot use (`"threshold": "3"`) is a `!` row too. See -[Configuration](https://codestz.github.io/opencode-cockpit/configuration/). +[Configuration](https://cockpit.codestz.dev/configuration/). The ledger lives outside the project, in `~/.local/share/opencode-cockpit/trust/-/events.ndjson` (`$COCKPIT_HOME` or @@ -240,7 +240,7 @@ npx opencode-cockpit@latest doctor ``` checks OpenCode, its config, Cockpit's logs and the daemon, and prints the fix for anything wrong -([what it checks](https://codestz.github.io/opencode-cockpit/help/doctor/)). +([what it checks](https://cockpit.codestz.dev/help/doctor/)). ```sh tail -50 ~/.cache/opencode-cockpit/cockpit.log diff --git a/packages/trust/package.json b/packages/trust/package.json index e5ce96ea..c5fb4fa1 100644 --- a/packages/trust/package.json +++ b/packages/trust/package.json @@ -10,7 +10,7 @@ "url": "git+https://github.com/Codestz/opencode-cockpit.git", "directory": "packages/trust" }, - "homepage": "https://github.com/Codestz/opencode-cockpit#readme", + "homepage": "https://cockpit.codestz.dev/trust/overview/", "bugs": { "url": "https://github.com/Codestz/opencode-cockpit/issues" }, diff --git a/packages/updater/README.md b/packages/updater/README.md index 14bb4cd6..c86eb828 100644 --- a/packages/updater/README.md +++ b/packages/updater/README.md @@ -93,7 +93,7 @@ npx opencode-cockpit@latest doctor ``` checks OpenCode, its config, Cockpit's logs and the daemon, and prints the fix for anything wrong — -on OpenCode 1 and 2, and when Cockpit will not load at all ([what it checks](https://codestz.github.io/opencode-cockpit/help/doctor/)). +on OpenCode 1 and 2, and when Cockpit will not load at all ([what it checks](https://cockpit.codestz.dev/help/doctor/)). Everything Cockpit does inside OpenCode goes to one file — which OpenCode loaded which bay, and every error with its stack: @@ -102,6 +102,6 @@ error with its stack: tail -50 ~/.cache/opencode-cockpit/cockpit.log ``` -`COCKPIT_DEBUG=1 opencode` adds the detail. [Troubleshooting](https://codestz.github.io/opencode-cockpit/help/troubleshooting/) covers -the failures people hit and what to attach to an issue; [OpenCode 1 and 2](https://codestz.github.io/opencode-cockpit/start/opencode-versions/) +`COCKPIT_DEBUG=1 opencode` adds the detail. [Troubleshooting](https://cockpit.codestz.dev/help/troubleshooting/) covers +the failures people hit and what to attach to an issue; [OpenCode 1 and 2](https://cockpit.codestz.dev/start/opencode-versions/) covers what differs between the two. diff --git a/packages/updater/package.json b/packages/updater/package.json index df544a85..215584b7 100644 --- a/packages/updater/package.json +++ b/packages/updater/package.json @@ -10,7 +10,7 @@ "url": "git+https://github.com/Codestz/opencode-cockpit.git", "directory": "packages/updater" }, - "homepage": "https://github.com/Codestz/opencode-cockpit#readme", + "homepage": "https://cockpit.codestz.dev/updater/overview/", "bugs": { "url": "https://github.com/Codestz/opencode-cockpit/issues" }, diff --git a/packages/updater/src/doctor/run.ts b/packages/updater/src/doctor/run.ts index 4790c84e..424727dd 100644 --- a/packages/updater/src/doctor/run.ts +++ b/packages/updater/src/doctor/run.ts @@ -48,7 +48,7 @@ function render(checks: readonly Check[], color: boolean): string { : [failed && paint("31", `${failed} to fix`), warned && paint("33", `${warned} to look at`)] .filter(Boolean) .join(", "), - paint("90", "Stuck? https://codestz.github.io/opencode-cockpit/help/troubleshooting/"), + paint("90", "Stuck? https://cockpit.codestz.dev/help/troubleshooting/"), "", ) return out.join("\n") diff --git a/site/README.md b/site/README.md index 0ea1871f..f3670d5d 100644 --- a/site/README.md +++ b/site/README.md @@ -1,7 +1,7 @@ # site The public site and documentation, published to - by `.github/workflows/site.yml`. + by `.github/workflows/site.yml`. ```sh bun install diff --git a/site/astro.config.mjs b/site/astro.config.mjs index 99d71c11..acfd5782 100644 --- a/site/astro.config.mjs +++ b/site/astro.config.mjs @@ -3,12 +3,12 @@ import starlight from "@astrojs/starlight" import { defineConfig } from "astro/config" /** - * Published to GitHub Pages under a repository path, so every internal link has to go through - * Astro's `base`. Colours, type and spacing live in src/styles/tokens.css — nothing here. + * Published to GitHub Pages at cockpit.codestz.dev, at the root: no base path, so a link is just its + * path. The old address (codestz.github.io/opencode-cockpit) redirects here, path and all. + * Colours, type and spacing live in src/styles/tokens.css — nothing here. */ export default defineConfig({ - site: "https://codestz.github.io", - base: "/opencode-cockpit", + site: "https://cockpit.codestz.dev", trailingSlash: "always", integrations: [ starlight({ @@ -19,7 +19,7 @@ export default defineConfig({ lastUpdated: true, favicon: "/favicon.svg", head: [ - { tag: "meta", attrs: { property: "og:image", content: "https://codestz.github.io/opencode-cockpit/og.png" } }, + { tag: "meta", attrs: { property: "og:image", content: "https://cockpit.codestz.dev/og.png" } }, { tag: "meta", attrs: { name: "twitter:card", content: "summary_large_image" } }, ], customCss: ["./src/styles/tokens.css", "./src/styles/starlight.css"], diff --git a/site/scripts/gifs.ts b/site/scripts/gifs.ts index 8fd13c16..290e0c6d 100644 --- a/site/scripts/gifs.ts +++ b/site/scripts/gifs.ts @@ -61,7 +61,7 @@ async function capture(browser: Awaited>, gif const scratch = mkdtempSync(join(tmpdir(), `cockpit-${gif.name}-`)) try { const page = await browser.newPage({ viewport: { width: 1440, height: 900 }, deviceScaleFactor: 2 }) - await page.goto(`http://localhost:${PORT}/opencode-cockpit/${gif.page}`, { waitUntil: "networkidle" }) + await page.goto(`http://localhost:${PORT}/${gif.page}`, { waitUntil: "networkidle" }) // the window alone: no nav over it, no labels beside it, the pointer nowhere near it await page.evaluate((selector) => { document.documentElement.style.scrollBehavior = "auto" diff --git a/site/src/content/docs/configuration.md b/site/src/content/docs/configuration.md index a240fde6..724d58d6 100644 --- a/site/src/content/docs/configuration.md +++ b/site/src/content/docs/configuration.md @@ -120,7 +120,7 @@ order the packages are listed in `cli.json`**, so list them in the order you wan ## status The Status bay. The rest of it — segments, lines, modules — is under -[Segments and layout](/opencode-cockpit/status/configuration/). +[Segments and layout](/status/configuration/). | Key | | Default | | --- | --- | --- | @@ -135,7 +135,7 @@ The Status bay. The rest of it — segments, lines, modules — is under ## subagents -See [Subagents](/opencode-cockpit/subagents/overview/#settings). +See [Subagents](/subagents/overview/#settings). | Key | | Default | | --- | --- | --- | @@ -204,11 +204,11 @@ starts however you last left it. ## trail Nothing beyond the shared keys. Its block is on by default, and `ctrl+x f` (`cockpit.trail.open`) -opens `/trail`. See [Trail](/opencode-cockpit/trail/overview/#settings). +opens `/trail`. See [Trail](/trail/overview/#settings). ## trust -See [Trust](/opencode-cockpit/trust/overview/#settings). +See [Trust](/trust/overview/#settings). | Key | | Default | | --- | --- | --- | @@ -220,7 +220,7 @@ Its block is off by default: `"sidebar": true` shows it, and the palette flips i ## review -No sidebar block. See [Panel and keys](/opencode-cockpit/review/interface/#settings). +No sidebar block. See [Panel and keys](/review/interface/#settings). | Key | | Default | | --- | --- | --- | @@ -229,7 +229,7 @@ No sidebar block. See [Panel and keys](/opencode-cockpit/review/interface/#setti ## updater -See [Updater](/opencode-cockpit/updater/overview/). +See [Updater](/updater/overview/). | Key | | Default | | --- | --- | --- | @@ -239,7 +239,7 @@ See [Updater](/opencode-cockpit/updater/overview/). 0.9 gave every bay the same shape, so some names changed. **The old ones are not read.** Each one a file still carries is drawn as a `!` row in its bay's block, printed by -[doctor](/opencode-cockpit/help/doctor/), and fixed first by `/cockpit-setup`: +[doctor](/help/doctor/), and fixed first by `/cockpit-setup`: ``` ! settings: "statusline" is no longer read — run /cockpit-setup diff --git a/site/src/content/docs/help/doctor.md b/site/src/content/docs/help/doctor.md index e7e53dee..dae30c7f 100644 --- a/site/src/content/docs/help/doctor.md +++ b/site/src/content/docs/help/doctor.md @@ -100,4 +100,4 @@ for a dotfiles script or CI. Doctor checks that statusline modules exist, not that they load; it does not yet know which cached copy of a plugin OpenCode loaded; and it runs from a terminal, not from inside OpenCode — though inside OpenCode, `cockpit_settings` gives the agent the same settings notices. -[Troubleshooting](/opencode-cockpit/help/troubleshooting/) covers the rest. +[Troubleshooting](/help/troubleshooting/) covers the rest. diff --git a/site/src/content/docs/help/troubleshooting.md b/site/src/content/docs/help/troubleshooting.md index 5d495ff3..61939f26 100644 --- a/site/src/content/docs/help/troubleshooting.md +++ b/site/src/content/docs/help/troubleshooting.md @@ -11,7 +11,7 @@ npx opencode-cockpit@latest doctor It checks OpenCode, its config, what Cockpit logged, the daemon and the tools it needs, and prints the fix for anything wrong — even when Cockpit will not load at all. What it checks is in -[Doctor](/opencode-cockpit/help/doctor/). +[Doctor](/help/doctor/). ## Where to look first @@ -64,7 +64,7 @@ the newest release, then restart: Edit the entry you have rather than running `opencode plugin add` beside it: `add` writes a second entry under `"plugins"` and leaves the old one, and two copies of a bay mean one of them stands down. -Which version runs where is in [OpenCode 1 and 2](/opencode-cockpit/start/opencode-versions/). +Which version runs where is in [OpenCode 1 and 2](/start/opencode-versions/). ## Tools fail with "did not start" @@ -106,7 +106,7 @@ full-screen console and the Review pane see-through before 0.6. Update. ## An agent starts shells without asking, on OpenCode 2 Known: OpenCode 2 gives a plugin tool no documented way to ask for permission, so `shell_start` is -not held by your `bash` rules there. We are working on making it ask, as it does on OpenCode 1. See [what differs](/opencode-cockpit/start/opencode-versions/#what-differs-on-opencode-2). +not held by your `bash` rules there. We are working on making it ask, as it does on OpenCode 1. See [what differs](/start/opencode-versions/#what-differs-on-opencode-2). ## The panel says the daemon runs older code diff --git a/site/src/content/docs/platform/bays.md b/site/src/content/docs/platform/bays.md index f6a0acfb..43cf4ecd 100644 --- a/site/src/content/docs/platform/bays.md +++ b/site/src/content/docs/platform/bays.md @@ -9,7 +9,7 @@ a switch in config. They share everything underneath. ## Shell — available Background terminals with a real PTY. Eight agent tools, 34 watch presets, three views of every -shell, log search, limits and log files. See [Shell](/opencode-cockpit/shell/overview/). +shell, log search, limits and log files. See [Shell](/shell/overview/). ```sh opencode plugin @opencode-cockpit/shell@0.9.0 --global --force @@ -20,7 +20,7 @@ opencode plugin @opencode-cockpit/shell@0.9.0 --global --force A table of live session state in the sidebar, or a line of it under the conversation. Twenty-three segments, two surfaces, and three ways to configure it — including running the statusline script you already wrote for Claude Code, colours and all. See -[Statusline](/opencode-cockpit/status/overview/). +[Statusline](/status/overview/). ```sh opencode plugin @opencode-cockpit/status@0.9.0 --global --force @@ -30,7 +30,7 @@ opencode plugin @opencode-cockpit/status@0.9.0 --global --force A pull request in the terminal: the diff where the work happened, comments on the lines they are about, and an agent that can read them, answer them and mark them resolved. A resolve is checked -against the file before it counts. See [Review](/opencode-cockpit/review/overview/). +against the file before it counts. See [Review](/review/overview/). ```sh opencode plugin @opencode-cockpit/review@0.9.0 --global --force @@ -42,7 +42,7 @@ Every plugin you have installed — not just this one — with what is really ru config says and what is published. An update pins an exact version through OpenCode's own `opencode plugin`, removes the stale cache and reads every file back, because OpenCode resolves a spec once and `@latest` never moves again. From a shell, on any version: -`npx opencode-cockpit@latest update`. See [Updater](/opencode-cockpit/updater/overview/). +`npx opencode-cockpit@latest update`. See [Updater](/updater/overview/). ```sh opencode plugin @opencode-cockpit/updater@0.9.0 --global --force @@ -53,7 +53,7 @@ opencode plugin @opencode-cockpit/updater@0.9.0 --global --force Every subagent of the conversation in the sidebar with what it is doing now, its whole run a click away in a pane, and a message away with `m`. Follow-ups continue the subagent that did the work instead of starting a new one, and the main agent can list, read and wait on its subagents. See -[Subagents](/opencode-cockpit/subagents/overview/). +[Subagents](/subagents/overview/). ```sh opencode plugin @opencode-cockpit/subagents@0.9.0 --global --force @@ -64,7 +64,7 @@ opencode plugin @opencode-cockpit/subagents@0.9.0 --global --force What a conversation made: the pull requests, tickets, pages and deploys the agent created or changed, recorded by the agent with `trail_add`, kept per conversation, grouped by the ticket they were for, and one click from the page. `/trail` says which conversation made what, across the project. No -setup. See [Trail](/opencode-cockpit/trail/overview/). +setup. See [Trail](/trail/overview/). ```sh opencode plugin @opencode-cockpit/trail@0.9.0 --global --force @@ -75,7 +75,7 @@ opencode plugin @opencode-cockpit/trail@0.9.0 --global --force Permissions that learn. Approve the exact same command three times in a row and Trust answers OpenCode's prompt for you from then on, and records every answer; dangerous commands cost more, and a rule you wrote to be asked is never answered. `/trust` shows what it has learned. See -[Trust](/opencode-cockpit/trust/overview/). +[Trust](/trust/overview/). ```sh opencode plugin @opencode-cockpit/trust@0.9.0 --global --force @@ -84,7 +84,7 @@ opencode plugin @opencode-cockpit/trust@0.9.0 --global --force ## Doctor — available `npx opencode-cockpit@latest doctor` checks your setup on OpenCode 1 and 2 and prints the fix for -anything wrong, even when Cockpit will not load. See [Doctor](/opencode-cockpit/help/doctor/). +anything wrong, even when Cockpit will not load. See [Doctor](/help/doctor/). ## The open bay diff --git a/site/src/content/docs/review/interface.md b/site/src/content/docs/review/interface.md index 4911a6e5..b37a1f64 100644 --- a/site/src/content/docs/review/interface.md +++ b/site/src/content/docs/review/interface.md @@ -34,7 +34,7 @@ All optional, in the `review` section of `~/.config/opencode-cockpit/config.json | `enabled` | `false` switches Review off; so does `features.review: false` | A value Review does not know (`"variant": "left"`) is the default and a `!` row in the pane naming -the ones it does. See [Configuration](/opencode-cockpit/configuration/). +the ones it does. See [Configuration](/configuration/). The keys *inside* the panel are not configurable. They are a closed set that only exists while the panel is open, and the panel gives them straight back when it closes. diff --git a/site/src/content/docs/shell/tools.md b/site/src/content/docs/shell/tools.md index 4ae8843b..14f86f5b 100644 --- a/site/src/content/docs/shell/tools.md +++ b/site/src/content/docs/shell/tools.md @@ -41,12 +41,12 @@ Types into a shell — text, or named keys (`enter`, `up`, `ctrl+c`) for REPLs a ## shell_watch -Attaches or changes a watcher. See [Watching health](/opencode-cockpit/shell/watching/). +Attaches or changes a watcher. See [Watching health](/shell/watching/). ## shell_list Finds the right shell: filter by `query`, `status`, `session` or `kind`, including -[kinds you defined yourself](/opencode-cockpit/configuration/). +[kinds you defined yourself](/configuration/). ## shell_stop · shell_restart diff --git a/site/src/content/docs/start/first-session.mdx b/site/src/content/docs/start/first-session.mdx index a49eb4c5..c876dab9 100644 --- a/site/src/content/docs/start/first-session.mdx +++ b/site/src/content/docs/start/first-session.mdx @@ -10,7 +10,7 @@ terminal — playing a sample session. ## Set it up in one sentence -After [installing](/opencode-cockpit/start/install/) and restarting OpenCode, type: +After [installing](/start/install/) and restarting OpenCode, type: > /cockpit-setup @@ -20,7 +20,7 @@ The agent reads what is installed and what your settings say, fixes anything fro and then asks only what is left: which blocks the sidebar shows, in what order, and whether an empty one stays. It writes the smallest file that does it and reads it back. Run it again whenever you want a change — or just ask: *"make my sidebar quieter"*, *"move trail above subagents"*. Every setting it -can write is in [Configuration](/opencode-cockpit/configuration/). +can write is in [Configuration](/configuration/). ## Ask for something long-running diff --git a/site/src/content/docs/start/install.md b/site/src/content/docs/start/install.md index 1ff5261a..237d7a73 100644 --- a/site/src/content/docs/start/install.md +++ b/site/src/content/docs/start/install.md @@ -4,7 +4,7 @@ description: Two commands, both config files, and what happens on first run. --- Requires **OpenCode 1.18+ or 2.0.15+** on macOS or Linux — one package runs on both. Which version -you have, and what differs, is in [OpenCode 1 and 2](/opencode-cockpit/start/opencode-versions/). +you have, and what differs, is in [OpenCode 1 and 2](/start/opencode-versions/). ## Everything @@ -36,7 +36,7 @@ OpenCode 2 runs the agent side in a background service that loads plugins once, keeps running when you close OpenCode. Until it restarts, the windows draw the new Cockpit while the agent keeps the old one's tools and skills. A window says so when it sees it — one toast, `Cockpit was updated — OpenCode's background service still runs the old one. Run: opencode service restart` — and -[doctor](/opencode-cockpit/help/doctor/)'s Service check says the same from a terminal. Cockpit never +[doctor](/help/doctor/)'s Service check says the same from a terminal. Cockpit never restarts the service for you: that would cut every open window. ## A single bay @@ -78,7 +78,7 @@ Everything works with no configuration. To choose what shows, type `/cockpit-set "make my sidebar quieter". The agent reads what is installed and set now, fixes any name from before 0.9, and writes `~/.config/opencode-cockpit/config.json` with you: which bays show, in the sidebar or at the bottom, in what order, quiet or present when empty. Then, if you want, it tunes Cockpit to how -you work — see [Configuration](/opencode-cockpit/configuration/#the-easy-way-cockpit-setup). +you work — see [Configuration](/configuration/#the-easy-way-cockpit-setup). ## What happens on first run diff --git a/site/src/content/docs/start/opencode-versions.md b/site/src/content/docs/start/opencode-versions.md index c99d632d..5da3f663 100644 --- a/site/src/content/docs/start/opencode-versions.md +++ b/site/src/content/docs/start/opencode-versions.md @@ -81,7 +81,7 @@ what you will notice: | **Updating** | `/plugins-update`, or `npx opencode-cockpit@latest update` | change the version in `opencode.json`, then `opencode service restart`; Cockpit's updater edits OpenCode 1's files only | | **The agent side** | loads with each window | runs in a background service that keeps the Cockpit it started with until `opencode service restart` — a window toasts when it is older, and doctor's Service check says so | | **Status's `diagnostics`** | MCP servers and language servers | MCP servers only — v2 does not expose language servers to plugins | -| **OpenCode's own sidebar blocks** | Context, MCP, LSP, Todo, Files, Footer — off in `tui.json` under `plugin_enabled` | Context, MCP, Footer — off in `cli.json` as `-opencode.sidebar.` in `plugins` ([ids](/opencode-cockpit/configuration/#opencodes-own-sidebar-blocks)) | +| **OpenCode's own sidebar blocks** | Context, MCP, LSP, Todo, Files, Footer — off in `tui.json` under `plugin_enabled` | Context, MCP, Footer — off in `cli.json` as `-opencode.sidebar.` in `plugins` ([ids](/configuration/#opencodes-own-sidebar-blocks)) | | **Colours** | the theme | the same theme, except the subtle border grey, one shade lighter | :::caution[The permission difference] diff --git a/site/src/content/docs/start/what-cockpit-is.md b/site/src/content/docs/start/what-cockpit-is.md index 4af6d05e..874d68e8 100644 --- a/site/src/content/docs/start/what-cockpit-is.md +++ b/site/src/content/docs/start/what-cockpit-is.md @@ -13,13 +13,13 @@ OpenCode is an excellent terminal agent flying without instruments. Cockpit is t | Bay | Your agent gains | You gain | | --- | --- | --- | -| **[Shell](/opencode-cockpit/shell/overview/)** | Terminals that keep running — it starts them, waits for "ready", reads the part that matters | A live panel of every process, with health it reports itself | -| **[Statusline](/opencode-cockpit/status/overview/)** | A skill to design the line with you | The session at a glance: how full the context is, where the tokens went, what changed, how long | -| **[Review](/opencode-cockpit/review/overview/)** | Comments it can read, answer and resolve — a resolve is checked against the file | The diff where the work happened, with notes on the lines they are about | -| **[Updater](/opencode-cockpit/updater/overview/)** | — | Every plugin you have: what is really running, what is published, and an update checked against disk | -| **[Subagents](/opencode-cockpit/subagents/overview/)** | Follow-ups that continue the subagent that did the work; tools to list, read and wait on its subagents | Every subagent in the sidebar with what it is doing now, its whole run in a pane, and a message away | -| **[Trail](/opencode-cockpit/trail/overview/)** | Tools to record the PRs, tickets and pages it creates or changes, and to say which conversation made one | What a conversation made, in the sidebar, one click from the page | -| **[Trust](/opencode-cockpit/trust/overview/)** | — | Permissions that learn: the exact same command approved three times is answered for you, and every answer is recorded | +| **[Shell](/shell/overview/)** | Terminals that keep running — it starts them, waits for "ready", reads the part that matters | A live panel of every process, with health it reports itself | +| **[Statusline](/status/overview/)** | A skill to design the line with you | The session at a glance: how full the context is, where the tokens went, what changed, how long | +| **[Review](/review/overview/)** | Comments it can read, answer and resolve — a resolve is checked against the file | The diff where the work happened, with notes on the lines they are about | +| **[Updater](/updater/overview/)** | — | Every plugin you have: what is really running, what is published, and an update checked against disk | +| **[Subagents](/subagents/overview/)** | Follow-ups that continue the subagent that did the work; tools to list, read and wait on its subagents | Every subagent in the sidebar with what it is doing now, its whole run in a pane, and a message away | +| **[Trail](/trail/overview/)** | Tools to record the PRs, tickets and pages it creates or changes, and to say which conversation made one | What a conversation made, in the sidebar, one click from the page | +| **[Trust](/trust/overview/)** | — | Permissions that learn: the exact same command approved three times is answered for you, and every answer is recorded | Every one of them can be set up by asking: `/cockpit-setup` has the agent read what is installed and write the config with you. @@ -28,7 +28,7 @@ Each is its own npm package with a switch in config. Take the suite or a single is the same daemon, the same config file and the same keys, so moving between them changes nothing you have already set up. -**[Doctor](/opencode-cockpit/help/doctor/)** comes with them: `npx opencode-cockpit@latest doctor` +**[Doctor](/help/doctor/)** comes with them: `npx opencode-cockpit@latest doctor` checks your setup and says how to fix it. ## Why a platform and not two plugins @@ -52,7 +52,7 @@ On OpenCode 1, agent plugins are configured in `opencode.json` and interface plu Without help, every setting has to be written twice. Cockpit reads **one file**, merging global → project → plugin entry, and hands the result to both -halves. See [Configuration](/opencode-cockpit/configuration/). +halves. See [Configuration](/configuration/). ## Real estate in the interface @@ -78,7 +78,7 @@ and the interface slots are identical either way. } ``` -One section per bay, read by both halves of each; [Configuration](/opencode-cockpit/configuration/) +One section per bay, read by both halves of each; [Configuration](/configuration/) has every key, or type `/cockpit-setup` and the agent writes it with you. -Next: [Install](/opencode-cockpit/start/install/). +Next: [Install](/start/install/). diff --git a/site/src/content/docs/status/commands.md b/site/src/content/docs/status/commands.md index 4a4421b7..2c3c3f68 100644 --- a/site/src/content/docs/status/commands.md +++ b/site/src/content/docs/status/commands.md @@ -77,5 +77,5 @@ Claude Code statuslines print one row per `echo`. Every row is kept; pick one wi For anything with a CLI that the bay does not know about: a cluster context, a ticket number, a deploy state — or your proxy's real spend, which is better than any locally multiplied estimate. -For anything that needs the session, write [a module](/opencode-cockpit/status/modules/) instead. +For anything that needs the session, write [a module](/status/modules/) instead. It runs in-process, needs no subprocess, and is typed. diff --git a/site/src/content/docs/status/configuration.md b/site/src/content/docs/status/configuration.md index 4cbdd065..51ef15be 100644 --- a/site/src/content/docs/status/configuration.md +++ b/site/src/content/docs/status/configuration.md @@ -6,7 +6,7 @@ description: Every built-in segment, the surfaces they sit on, and how a line su Settings live in the `status` section of `~/.config/opencode-cockpit/config.json` for every project, and of `/.cockpit.json` for one. Comments and trailing commas are fine. The keys every bay shares, the sidebar order and the names from before 0.9 are on -[Configuration](/opencode-cockpit/configuration/). +[Configuration](/configuration/). ## Presets @@ -302,4 +302,4 @@ The top-level `"sidebar"` list says, for every bay at once — Status first by d That puts the table under the shells. It has no effect on the bottom surface, where there is nothing to share the row with. A `sidebarOrder` in the `status` section is no longer read; it is a `!` row -pointing here. See [Configuration](/opencode-cockpit/configuration/#the-sidebar-order). +pointing here. See [Configuration](/configuration/#the-sidebar-order). diff --git a/site/src/content/docs/status/overview.mdx b/site/src/content/docs/status/overview.mdx index 9bcc51a0..4c46915f 100644 --- a/site/src/content/docs/status/overview.mdx +++ b/site/src/content/docs/status/overview.mdx @@ -32,10 +32,10 @@ not saved anywhere yet (`"against": "branch"` counts the whole branch instead). the bar; the turn's own clock does not, OpenCode already shows one. Every number gets a word, in a fixed column so the figures line up; colour is a level (calm, then the warning, then the error), never a label. A row with nothing to say is not drawn: `write` with no cache writes, `spend` and -`avail` with no proxy writing a budget ([Proxies](/opencode-cockpit/status/proxies/)), +`avail` with no proxy writing a budget ([Proxies](/status/proxies/)), `diagnostics` while every MCP and language server is healthy (`! name` in red when one breaks). It sits beside OpenCode's own Context block; to keep only one, see -[Replacing OpenCode's own sidebar blocks](/opencode-cockpit/status/configuration/#replacing-opencodes-own-sidebar-blocks). +[Replacing OpenCode's own sidebar blocks](/status/configuration/#replacing-opencodes-own-sidebar-blocks). ### At the bottom instead @@ -81,7 +81,7 @@ in both places. This matters most behind a proxy, where the model catalogue knows neither prices nor a context window. A confident `$0.00` reads as "this was free"; an absent segment reads as what it is. -See [Proxies](/opencode-cockpit/status/proxies/). +See [Proxies](/status/proxies/). ## Two surfaces @@ -112,7 +112,7 @@ have given to a bay you actually operate would be charging you for the privilege | Command | Does | | --- | --- | | `/status-setup` | The agent sets your line up with you, with the `status-setup` skill that ships with Status: a preset to start from, the segments, the sidebar or the bottom, and the preview before it is called done | -| `/cockpit-setup` | The same for every bay at once: which show, where, in what order — see [Configuration](/opencode-cockpit/configuration/) | +| `/cockpit-setup` | The same for every bay at once: which show, where, in what order — see [Configuration](/configuration/) | `/status-setup` asks the agent rather than opening a panel, because the useful next step is usually "change this for me". The skill reads what is written now with `cockpit_settings`, so it knows what @@ -124,11 +124,11 @@ and says the new name. Use the first that fits. -1. **[Declarative segments](/opencode-cockpit/status/configuration/)** in `config.json` or +1. **[Declarative segments](/status/configuration/)** in `config.json` or `.cockpit.json`. No code, no subprocess. -2. **[Your own TypeScript](/opencode-cockpit/status/modules/)**, for a segment that has to read the +2. **[Your own TypeScript](/status/modules/)**, for a segment that has to read the session and decide — or remember what it saw a minute ago. -3. **[A shell command](/opencode-cockpit/status/commands/)**, fed the same JSON Claude Code's +3. **[A shell command](/status/commands/)**, fed the same JSON Claude Code's `statusLine` hook sends, so a script you already wrote works unchanged. ## Install diff --git a/site/src/content/docs/status/proxies.md b/site/src/content/docs/status/proxies.md index f4d806f2..2af58c72 100644 --- a/site/src/content/docs/status/proxies.md +++ b/site/src/content/docs/status/proxies.md @@ -45,7 +45,7 @@ stop checking a number you have learned to trust. LiteLLM reports the real cost of a response and tracks team and key budgets. A locally multiplied estimate cannot match that. Read the real figure with a -[command segment](/opencode-cockpit/status/commands/): +[command segment](/status/commands/): ```jsonc { @@ -74,7 +74,7 @@ will we, with no change here. If you delegate heavily and want to be sure, the check takes a minute: run a turn that spawns a subagent, then compare the `cost` segment against the sum you would expect. If it is short, the host is not rolling child sessions up, and a -[command segment](/opencode-cockpit/status/commands/) against your proxy's own spend endpoint is +[command segment](/status/commands/) against your proxy's own spend endpoint is the number to trust — it counts every request whoever made it. ## What is never available diff --git a/site/src/content/docs/subagents/overview.md b/site/src/content/docs/subagents/overview.md index 442f80b5..d62e243b 100644 --- a/site/src/content/docs/subagents/overview.md +++ b/site/src/content/docs/subagents/overview.md @@ -45,7 +45,7 @@ fold into a count past `sidebarRows`, and leave after `hideFinishedAfterMinutes` none yet the block says so — its heading and `none yet` — unless `hideWhenEmpty` is on. The sidebar reads status, subagents, shells, trail, trust, top to bottom — `"sidebar"` in -[Cockpit's config](/opencode-cockpit/configuration/#the-sidebar-order) reorders it. +[Cockpit's config](/configuration/#the-sidebar-order) reorders it. ## The pane @@ -181,7 +181,7 @@ In the `subagents` section of `~/.config/opencode-cockpit/config.json`, or a pro Where the block sits is the top-level `"sidebar"` list's to say. The names from before 0.9 — `hideFinishedAfter`, `hideNestedAfter`, `sidebarOrder` — are no longer read: the block shows a `!` row naming the new one, and `/cockpit-setup` fixes it. See -[Configuration](/opencode-cockpit/configuration/). +[Configuration](/configuration/). ## Known limits diff --git a/site/src/content/docs/trail/overview.mdx b/site/src/content/docs/trail/overview.mdx index 5e943997..6b479e0f 100644 --- a/site/src/content/docs/trail/overview.mdx +++ b/site/src/content/docs/trail/overview.mdx @@ -103,13 +103,13 @@ agent still knows after a long conversation is compacted. ``` `enabled` and `keybinds` work as in every bay; the block's place is the top-level `"sidebar"` list's -to say. See [Configuration](/opencode-cockpit/configuration/). +to say. See [Configuration](/configuration/). ## Team conventions Optional. A few lines in your `AGENTS.md` shape what gets recorded — they do not make it happen. `/cockpit-setup`'s second phase offers your ticket prefix, read from your branch names and commits, -and writes it there for you ([how](/opencode-cockpit/configuration/#the-easy-way-cockpit-setup)); or +and writes it there for you ([how](/configuration/#the-easy-way-cockpit-setup)); or by hand: ```md diff --git a/site/src/content/docs/trust/overview.mdx b/site/src/content/docs/trust/overview.mdx index ff07ad78..c6624d09 100644 --- a/site/src/content/docs/trust/overview.mdx +++ b/site/src/content/docs/trust/overview.mdx @@ -274,7 +274,7 @@ In the bundle's entry (`"trust": { … }`), the package's own, or the `trust` se Where the block sits is the top-level `"sidebar"` list's to say — Trust last by default; a `trust.sidebarOrder` from before 0.9 is no longer read. See -[Configuration](/opencode-cockpit/configuration/#the-sidebar-order). +[Configuration](/configuration/#the-sidebar-order). ## Where it keeps what it learned diff --git a/site/src/content/docs/updater/overview.mdx b/site/src/content/docs/updater/overview.mdx index c2b2ff46..e8fe74fb 100644 --- a/site/src/content/docs/updater/overview.mdx +++ b/site/src/content/docs/updater/overview.mdx @@ -86,7 +86,7 @@ The Updater edits OpenCode 1's files only. On OpenCode 2, `/plugins-update` says change the version in your `opencode.json` plugin entry, run `opencode service restart`, and restart OpenCode. The restart matters — OpenCode 2's background service loads plugins once, when it starts, and keeps the old agent side until it restarts. `npx opencode-cockpit@latest update` says the same -when it finishes on a machine with OpenCode 2, and [doctor](/opencode-cockpit/help/doctor/) warns +when it finishes on a machine with OpenCode 2, and [doctor](/help/doctor/) warns when the service still runs an older Cockpit. ## Where it will not reach