@oh-my-pi/pi-wire 18.13.1 → 18.13.3

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
@@ -2,6 +2,16 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [18.13.3] - 2026-10-28
6
+
7
+ ### Changed
8
+
9
+ - Updated Bun engine requirement to ≥1.4.4
10
+
11
+ ### Removed
12
+
13
+ - Removed `TspPalette` definition and `t` verb from the protocol specification
14
+
5
15
  ## [18.12.3] - 2026-10-19
6
16
 
7
17
  ### Added
@@ -26,7 +26,7 @@ export declare const TSP_DEFAULT_APC_LIMIT = 65536;
26
26
  /** Unacknowledged frames a sender may have in flight unless the hello reply says otherwise. */
27
27
  export declare const TSP_DEFAULT_CREDITS = 2;
28
28
  /** One-letter message verb. */
29
- export type TspVerb = "q" | "o" | "f" | "b" | "t" | "x" | "r" | "e";
29
+ export type TspVerb = "q" | "o" | "f" | "b" | "x" | "r" | "e";
30
30
  /** Every component kind in the v1 vocabulary. */
31
31
  export declare const TSP_KINDS: readonly ["col", "row", "card", "section", "rule", "spacer", "text", "md", "code", "diff", "ansi", "math", "image", "media", "kv", "table", "tree", "badge", "kbd", "icon", "spinner", "shimmer", "elapsed", "progress", "rate", "list", "item", "tabs", "editor", "input", "status", "seg", "overlay", "toast", "rows", "picker", "prefs", "tool", "checklist", "agent", "chart", "meter", "effort"];
32
32
  export type TspKind = (typeof TSP_KINDS)[number];
@@ -990,23 +990,6 @@ export interface TspClose {
990
990
  /** Keep `main` in scrollback (true) or remove the surface (false). */
991
991
  keep: boolean;
992
992
  }
993
- /**
994
- * Verb `t`: the program's resolved theme for a surface, sent after `o` and
995
- * before its first `f`, and again whenever the theme or variant changes.
996
- * Each variant maps token names to `#rrggbb`; tokens left at the terminal
997
- * default are omitted. A program with one variant sends only that one.
998
- */
999
- export interface TspPalette {
1000
- /** Surface id. */
1001
- sf: string;
1002
- dark?: Readonly<Record<string, string>>;
1003
- light?: Readonly<Record<string, string>>;
1004
- /** Theme names behind each variant. */
1005
- name?: {
1006
- dark?: string;
1007
- light?: string;
1008
- };
1009
- }
1010
993
  /** Verb `q`. */
1011
994
  export type TspQuery = {
1012
995
  q: "hello";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
3
  "name": "@oh-my-pi/pi-wire",
4
- "version": "18.13.1",
4
+ "version": "18.13.3",
5
5
  "description": "Shared wire protocol types for omp packages",
6
6
  "homepage": "https://omp.sh",
7
7
  "author": {
@@ -36,7 +36,7 @@
36
36
  "@types/bun": "^1.3.14"
37
37
  },
38
38
  "engines": {
39
- "bun": ">=1.3.14"
39
+ "bun": ">=1.4.4"
40
40
  },
41
41
  "files": [
42
42
  "src",
package/src/tsp.ts CHANGED
@@ -28,7 +28,7 @@ export const TSP_DEFAULT_APC_LIMIT = 65_536;
28
28
  export const TSP_DEFAULT_CREDITS = 2;
29
29
 
30
30
  /** One-letter message verb. */
31
- export type TspVerb = "q" | "o" | "f" | "b" | "t" | "x" | "r" | "e";
31
+ export type TspVerb = "q" | "o" | "f" | "b" | "x" | "r" | "e";
32
32
 
33
33
  // ═══════════════════════════════════════════════════════════════════════════
34
34
  // Vocabulary
@@ -969,21 +969,6 @@ export interface TspClose {
969
969
  keep: boolean;
970
970
  }
971
971
 
972
- /**
973
- * Verb `t`: the program's resolved theme for a surface, sent after `o` and
974
- * before its first `f`, and again whenever the theme or variant changes.
975
- * Each variant maps token names to `#rrggbb`; tokens left at the terminal
976
- * default are omitted. A program with one variant sends only that one.
977
- */
978
- export interface TspPalette {
979
- /** Surface id. */
980
- sf: string;
981
- dark?: Readonly<Record<string, string>>;
982
- light?: Readonly<Record<string, string>>;
983
- /** Theme names behind each variant. */
984
- name?: { dark?: string; light?: string };
985
- }
986
-
987
972
  /** Verb `q`. */
988
973
  export type TspQuery =
989
974
  | { q: "hello"; v: readonly number[]; app: string; ver?: string; features?: readonly string[] }