oc-flight-deck 0.20.6 → 0.21.0

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
@@ -7,6 +7,22 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.21.0] - 2026-10-31
11
+
12
+ ### Changed
13
+
14
+ - The `@opencode/plugin` development pin is `2.2.4`, exact rather than a caret or `latest`: the fixture requires a concrete version, and the types and the build read exactly one SDK. No source change and no peer-range change: `@opencode/plugin` stays `>=2.1.1 <3`.
15
+
16
+ ### Breaking, relative to 0.20.7
17
+
18
+ - `@opentui/core` and `@opentui/solid` peer ranges are `>=0.8.0`, up from `>=0.6.6`. A host below 0.8.0 is outside the declared range.
19
+
20
+ ## [0.20.7] - 2026-10-30
21
+
22
+ ### Changed
23
+
24
+ - `cost` and `total` no longer prefix an estimated figure with `~`. An estimated figure is still catalog-priced rather than a recorded charge; only its mark is gone, because the mark cost more width than the distinction earned. The `≥` floor mark stays: it says the figure counts only the history the host still holds.
25
+
10
26
  ## [0.20.6] - 2026-10-29
11
27
 
12
28
  ### Changed
package/dist/tui/index.js CHANGED
@@ -792,11 +792,8 @@ function skeletonValue(field, layout) {
792
792
 
793
793
  // src/tui/rows.ts
794
794
  var SPINNER = ["\u280B", "\u2819", "\u2839", "\u2838", "\u283C", "\u2834", "\u2826", "\u2827", "\u2807", "\u280F"];
795
- var ESTIMATE_MARK = "~";
796
795
  var FLOOR_MARK = String.fromCharCode(8805);
797
796
  function feeMark(kind) {
798
- if (kind === "estimated")
799
- return ESTIMATE_MARK;
800
797
  if (kind === "bounded")
801
798
  return FLOOR_MARK;
802
799
  return "";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oc-flight-deck",
3
- "version": "0.20.6",
3
+ "version": "0.21.0",
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",
@@ -60,9 +60,9 @@
60
60
  "access": "public"
61
61
  },
62
62
  "devDependencies": {
63
- "@opencode/plugin": "2.2.1",
64
- "@opentui/core": "0.7.0",
65
- "@opentui/solid": "0.7.0",
63
+ "@opencode/plugin": "2.2.4",
64
+ "@opentui/core": "^0.8.0",
65
+ "@opentui/solid": "^0.8.0",
66
66
  "@types/bun": "^1.4.2",
67
67
  "solid-js": "1.9.12",
68
68
  "string-width": "7.2.0",
@@ -70,8 +70,8 @@
70
70
  },
71
71
  "peerDependencies": {
72
72
  "@opencode/plugin": ">=2.1.1 <3",
73
- "@opentui/core": ">=0.6.6",
74
- "@opentui/solid": ">=0.6.6",
73
+ "@opentui/core": ">=0.8.0",
74
+ "@opentui/solid": ">=0.8.0",
75
75
  "solid-js": ">=1.9.0"
76
76
  },
77
77
  "peerDependenciesMeta": {
package/src/tui/rows.ts CHANGED
@@ -27,16 +27,15 @@ import {
27
27
  const SPINNER = ["⠋", "⠙", "⠹", "⠸", "⠼", "⠴", "⠦", "⠧", "⠇", "⠏"] as const;
28
28
 
29
29
  // How a money figure introduces itself. A bare figure is the host's recorded
30
- // charge. `~` says at least one part of it was priced from the model catalog
31
- // rather than charged, and the floor mark says it counts only the history the
32
- // host still holds. Built from code points so this file stays ASCII, the same
33
- // way the other non-ASCII glyphs here are.
34
- const ESTIMATE_MARK = "~";
30
+ // charge or a catalog price — the rail does not mark an estimate, because the
31
+ // mark cost more width than the distinction earned. The floor mark stays: it
32
+ // says the figure counts only the history the host still holds. Built from a
33
+ // code point so this file stays ASCII, the same way the other non-ASCII glyphs
34
+ // here are.
35
35
  const FLOOR_MARK = String.fromCharCode(0x2265);
36
36
 
37
37
  /** The mark a money figure carries, from the strength of its claim. */
38
38
  function feeMark(kind: unknown): string {
39
- if (kind === "estimated") return ESTIMATE_MARK;
40
39
  if (kind === "bounded") return FLOOR_MARK;
41
40
  return "";
42
41
  }