oc-flight-deck 0.20.1 → 0.20.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.20.2] - 2026-10-22
4
+
5
+ - Version bump for the monorepo release; no runtime change.
6
+ - npm is the only documented install route; the git and local-clone routes were removed from the docs.
7
+
3
8
  All notable changes to this project are documented in this file.
4
9
 
5
10
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
package/INSTALL.md ADDED
@@ -0,0 +1,15 @@
1
+ # Install - oc-flight-deck
2
+
3
+ Compatible with opencode 2.1.1.
4
+
5
+ One route: the npm registry. Plugin entries are bare strings in the `plugins` array of `opencode.jsonc`.
6
+
7
+ ```jsonc
8
+ { "plugins": ["oc-flight-deck"] }
9
+ ```
10
+
11
+ Use the package name (`"oc-flight-deck"`): it resolves through npm and honours the package's `exports`. A local directory path will not work — OpenCode looks for `index.js`/`index.ts` at the directory root, ignores `exports`, and drops the entry silently (no load, no error, no log line). This is a real limitation, not a supported route.
12
+
13
+ The bare name tracks the newest release; append `@<version>` to pin an exact published version. The npm tarball ships the compiled `dist/` (the `prepublishOnly` step builds it before packing), so the registry entry always has a working entry point. Restart OpenCode after editing the config.
14
+
15
+ The TUI half has no direct observation surface in this build; verify it by its visible effect (the sidebar rendering).
package/README.md CHANGED
@@ -9,7 +9,7 @@
9
9
  Add the entry to the `plugins` array in your `opencode.jsonc`, then restart OpenCode:
10
10
 
11
11
  ```json
12
- { "plugins": ["oc-flight-deck@git+https://github.com/nathwn12/oc-flight-deck.git"] }
12
+ { "plugins": ["oc-flight-deck"] }
13
13
  ```
14
14
 
15
15
  The panel renders beside your next open session with defaults and no config file.
@@ -18,18 +18,18 @@ You need OpenCode `2.1.1` already installed, on Node 22+ or Bun 1.4+.
18
18
  ### Or let your AI install it
19
19
 
20
20
  ```text
21
- Install the oc-flight-deck plugin: add "oc-flight-deck@git+https://github.com/nathwn12/oc-flight-deck.git" to the plugins array in my opencode.jsonc, restart OpenCode, then open a session and confirm the telemetry panel renders in the sidebar. Report which of the default rows you see: status, agent, model, cost, project, tokens, cache, context, perms, elapsed, tps.
21
+ Install the oc-flight-deck plugin: add "oc-flight-deck" to the plugins array in my opencode.jsonc, restart OpenCode, then open a session and confirm the telemetry panel renders in the sidebar. Report which of the default rows you see: status, agent, model, cost, project, tokens, cache, context, perms, elapsed, tps.
22
22
  ```
23
23
 
24
24
  ### Offline or pinned
25
25
 
26
- The registry is the slow track: tagged releases only.
26
+ The registry is the only install route: tagged releases only.
27
27
 
28
28
  ```json
29
- { "plugins": ["oc-flight-deck@latest"] }
29
+ { "plugins": ["oc-flight-deck"] }
30
30
  ```
31
31
 
32
- The git entry is the fast track and follows the default branch at install. To fix a commit, append `#<full sha>` to the git entry.
32
+ The bare name tracks the newest release and never names a version that does not exist between a bump and its publish. To pin an exact published version, append `@<version>`; the pin then stays put.
33
33
 
34
34
  ## Use it
35
35
 
@@ -209,15 +209,15 @@ Watchdog on for long runs:
209
209
 
210
210
  ## Links
211
211
 
212
- - Repository: https://github.com/nathwn12/oc-flight-deck
212
+ - Source: https://github.com/nathwn12/oc-collections/tree/main/packages/oc-flight-deck — the npm package remains individually installable.
213
213
  - Package: https://www.npmjs.com/package/oc-flight-deck
214
- - Issues: https://github.com/nathwn12/oc-flight-deck/issues
214
+ - Issues: https://github.com/nathwn12/oc-collections/issues
215
215
  - OpenCode V2 plugin API: https://opencode.ai/v2/docs/build/plugins/cli
216
216
  - Example config: [flight-deck.example.jsonc](flight-deck.example.jsonc)
217
217
  - Config schema: [flight-deck.schema.json](flight-deck.schema.json)
218
- - Local install routes: [INSTALL.md](INSTALL.md)
218
+ - Install: [INSTALL.md](INSTALL.md)
219
219
  - Changelog: [CHANGELOG.md](CHANGELOG.md)
220
- - Releases: https://github.com/nathwn12/oc-flight-deck/releases
220
+ - Releases: https://github.com/nathwn12/oc-collections/releases
221
221
  - Licence: MIT, see [LICENSE](LICENSE)
222
222
 
223
223
  <!-- nathwn12 house footer: identical in every repo. Do not edit. -->
@@ -0,0 +1,7 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
2
+ <rect x="16" y="16" width="480" height="480" rx="112" fill="#0B0F14"/>
3
+ <path d="M146,280 A110,110 0 0 1 366,280 L318,280 A62,62 0 0 0 194,280 Z" fill="#4DD4E8"/>
4
+ <polygon points="238,267 322,186 274,293" fill="#4DD4E8"/>
5
+ <circle cx="256" cy="280" r="34" fill="#EEF3F6"/>
6
+ <rect x="136" y="336" width="240" height="44" rx="22" fill="#4DD4E8"/>
7
+ </svg>
@@ -0,0 +1,7 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
2
+ <style>html,body{margin:0;padding:0}svg{display:block;width:100vw;height:100vh}</style>
3
+ <!-- Direction A: "cursor-n" — rounded lowercase n + terminal block cursor, near-black ground -->
4
+ <rect x="16" y="16" width="480" height="480" rx="112" fill="#0B0F14"/>
5
+ <path d="M136 384 L136 264 C136 196 180 164 234 164 C288 164 328 198 328 264 L328 384 L264 384 L264 270 C264 242 250 230 234 230 C218 230 200 242 200 270 L200 384 Z" fill="#EEF3F6"/>
6
+ <rect x="352" y="312" width="52" height="72" rx="8" fill="#4DD4E8"/>
7
+ </svg>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oc-flight-deck",
3
- "version": "0.20.1",
3
+ "version": "0.20.2",
4
4
  "description": "Live OpenCode V2 session telemetry — agent, model, branch, cost, tokens, cache hit rate and context usage in your sidebar.",
5
5
  "keywords": [
6
6
  "opencode",
@@ -16,12 +16,11 @@
16
16
  "author": "nathwn12",
17
17
  "repository": {
18
18
  "type": "git",
19
- "url": "git+https://github.com/nathwn12/oc-flight-deck.git"
20
- },
21
- "homepage": "https://github.com/nathwn12/oc-flight-deck#readme",
22
- "bugs": {
23
- "url": "https://github.com/nathwn12/oc-flight-deck/issues"
19
+ "url": "git+https://github.com/nathwn12/oc-collections.git",
20
+ "directory": "packages/oc-flight-deck"
24
21
  },
22
+ "homepage": "https://github.com/nathwn12/oc-collections/tree/main/packages/oc-flight-deck",
23
+ "bugs": "https://github.com/nathwn12/oc-collections/issues",
25
24
  "type": "module",
26
25
  "exports": {
27
26
  ".": {
@@ -40,7 +39,9 @@
40
39
  "flight-deck.schema.json",
41
40
  "README.md",
42
41
  "LICENSE",
43
- "CHANGELOG.md"
42
+ "CHANGELOG.md",
43
+ "INSTALL.md",
44
+ "assets"
44
45
  ],
45
46
  "engines": {
46
47
  "node": ">=22",