@av-pi-studio/protocol 0.0.93 → 0.0.95

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.
@@ -10,7 +10,11 @@ import { z } from "zod";
10
10
  *
11
11
  * Uses `Uint8Array` (not Node `Buffer`) so the codec runs in browser/RN as well as Node.
12
12
  */
13
- /** Terminal frame opcodes. `Restore` value is TODO(verify) against the live codec. */
13
+ /**
14
+ * Terminal frame opcodes. `Restore` (0x05) carries a reflowable-tier snapshot — a serialization of
15
+ * the daemon's screen model, not raw bytes — for a subscription that negotiated the reflowable
16
+ * restore mode (`terminals.md` § Restore / snapshot tier 2, sprint-053/task-004/005).
17
+ */
14
18
  export declare const TerminalOpcode: {
15
19
  readonly Output: 1;
16
20
  readonly Input: 2;
@@ -10,7 +10,11 @@ import { z } from "zod";
10
10
  *
11
11
  * Uses `Uint8Array` (not Node `Buffer`) so the codec runs in browser/RN as well as Node.
12
12
  */
13
- /** Terminal frame opcodes. `Restore` value is TODO(verify) against the live codec. */
13
+ /**
14
+ * Terminal frame opcodes. `Restore` (0x05) carries a reflowable-tier snapshot — a serialization of
15
+ * the daemon's screen model, not raw bytes — for a subscription that negotiated the reflowable
16
+ * restore mode (`terminals.md` § Restore / snapshot tier 2, sprint-053/task-004/005).
17
+ */
14
18
  export const TerminalOpcode = {
15
19
  Output: 0x01,
16
20
  Input: 0x02,
@@ -35,6 +35,7 @@ export declare const SERVER_FEATURES: {
35
35
  readonly checkoutRefresh: "checkoutRefresh";
36
36
  readonly extensionPacks: "extensionPacks";
37
37
  readonly providerAuth: "providerAuth";
38
+ readonly extensionUi: "extensionUi";
38
39
  };
39
40
  export type ServerFeatureKey = keyof typeof SERVER_FEATURES;
40
41
  export type ServerFeature = (typeof SERVER_FEATURES)[ServerFeatureKey];
@@ -39,6 +39,7 @@ export const SERVER_FEATURES = {
39
39
  checkoutRefresh: "checkoutRefresh",
40
40
  extensionPacks: "extensionPacks",
41
41
  providerAuth: "providerAuth",
42
+ extensionUi: "extensionUi",
42
43
  };
43
44
  /**
44
45
  * COMPAT annotations for each server feature flag (version added + removal date). The removal dates
@@ -70,6 +71,8 @@ export const SERVER_FEATURE_COMPAT = {
70
71
  extensionPacks: COMPAT({ name: "extensionPacks", addedIn: "0.0.0", removeBy: "TBD" }),
71
72
  // COMPAT(providerAuth): added 0.0.0, remove by TBD
72
73
  providerAuth: COMPAT({ name: "providerAuth", addedIn: "0.0.0", removeBy: "TBD" }),
74
+ // COMPAT(extensionUi): added 0.0.0, remove by TBD
75
+ extensionUi: COMPAT({ name: "extensionUi", addedIn: "0.0.0", removeBy: "TBD" }),
73
76
  };
74
77
  /**
75
78
  * Returns true only if `flag` is advertised by `caps`. Used at serialization time to gate new wire