oc-flight-deck 0.20.6 → 0.20.7
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 +6 -0
- package/dist/tui/index.js +0 -3
- package/package.json +2 -2
- package/src/tui/rows.ts +5 -6
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.20.7] - 2026-10-30
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- `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.
|
|
15
|
+
|
|
10
16
|
## [0.20.6] - 2026-10-29
|
|
11
17
|
|
|
12
18
|
### 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.
|
|
3
|
+
"version": "0.20.7",
|
|
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,7 +60,7 @@
|
|
|
60
60
|
"access": "public"
|
|
61
61
|
},
|
|
62
62
|
"devDependencies": {
|
|
63
|
-
"@opencode/plugin": "2.2.
|
|
63
|
+
"@opencode/plugin": "2.2.2",
|
|
64
64
|
"@opentui/core": "0.7.0",
|
|
65
65
|
"@opentui/solid": "0.7.0",
|
|
66
66
|
"@types/bun": "^1.4.2",
|
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
|
|
31
|
-
//
|
|
32
|
-
//
|
|
33
|
-
// way the other non-ASCII glyphs
|
|
34
|
-
|
|
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
|
}
|