@openclaw/gateway-protocol 2026.10.10 → 2026.11.5-beta.1

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.
Files changed (36) hide show
  1. package/CHANGELOG.md +17 -10
  2. package/README.md +10 -2
  3. package/dist/.source-module-urls/5712ecf2b505e1ffe07307c66aedeadc7e26051742412d27b27f0c2a96ba2443.json +1 -0
  4. package/dist/catalog-9MCHFQAi.mjs +23363 -0
  5. package/dist/client-info.d.mts +10 -1
  6. package/dist/client-info.mjs +14 -9
  7. package/dist/connect-error-details.d.mts +2 -1
  8. package/dist/connect-error-details.mjs +5 -7
  9. package/dist/frame-guards.d.mts +2 -1
  10. package/dist/frame-guards.mjs +4 -6
  11. package/dist/{frames-B2TMmFj0.d.mts → frames-hPoAoltM.d.mts} +18 -61
  12. package/dist/gateway-error-details-BEVjnoxj.d.mts +236 -0
  13. package/dist/gateway-error-details.d.mts +2 -2
  14. package/dist/gateway-error-details.mjs +7 -5
  15. package/dist/index.d.mts +7299 -6516
  16. package/dist/index.mjs +715 -545
  17. package/dist/number-coercion-C3Y6DVez.mjs +9 -0
  18. package/dist/{schema-modules-DW32XyHU.d.mts → schema-modules-Bdsmijdn.d.mts} +3584 -776
  19. package/dist/schema.d.mts +7 -5
  20. package/dist/schema.mjs +105 -60
  21. package/dist/server-capabilities-CYIhEfgo.d.mts +55 -0
  22. package/dist/{server-capabilities-DRQ3mUjT.mjs → server-capabilities-DA3Gf1Rp.mjs} +3 -0
  23. package/dist/session-row-deltas.d.mts +21 -0
  24. package/dist/session-row-deltas.mjs +8 -0
  25. package/dist/startup-unavailable.d.mts +4 -1
  26. package/dist/startup-unavailable.mjs +3 -1
  27. package/dist/system-agent-context.d.mts +2 -1
  28. package/dist/{theme-BshtYPJX.mjs → theme-DRGRYAgn.mjs} +1 -1
  29. package/dist/theme.d.mts +1 -1
  30. package/dist/theme.mjs +1 -2
  31. package/dist/themes-GZs9U79C.d.mts +293 -0
  32. package/package.json +7 -2
  33. package/protocol.schema.json +36143 -26364
  34. package/dist/catalog-CvlasvS_.mjs +0 -16820
  35. package/dist/gateway-error-details-BqRYhh5h.d.mts +0 -1489
  36. package/dist/theme-dtBTRSNj.d.mts +0 -109
@@ -1,109 +0,0 @@
1
- //#region packages/gateway-protocol/src/theme-ids.d.ts
2
- /** Lightweight theme identifiers used while browser preferences boot. */
3
- declare const BUILTIN_THEME_IDS: readonly ["claw", "knot", "dash", "absolutely", "tide", "beacon", "phosphor", "crt", "manuscript", "rose", "miami"];
4
- type BuiltinThemeId = (typeof BUILTIN_THEME_IDS)[number];
5
- type ThemeId = BuiltinThemeId | `${string}/${string}`;
6
- type ThemeMode = "system" | "light" | "dark";
7
- declare const THEME_LOCAL_ID_MAX_LENGTH = 64;
8
- declare const THEME_LOCAL_ID_PATTERN: RegExp;
9
- declare function isBuiltinThemeId(value: unknown): value is BuiltinThemeId;
10
- declare function isThemeId(value: unknown): value is ThemeId;
11
- declare function normalizeThemeMode(value: unknown): ThemeMode | undefined;
12
- //#endregion
13
- //#region packages/gateway-protocol/src/theme.d.ts
14
- /** Portable theme data shared by profile preferences, plugins, and the Control UI. */
15
- type ThemeColorMode = "light" | "dark";
16
- declare const THEME_COLOR_KEYS: readonly ["background", "foreground", "card", "card-foreground", "popover", "popover-foreground", "primary", "primary-foreground", "secondary", "secondary-foreground", "muted", "muted-foreground", "accent", "accent-foreground", "destructive", "destructive-foreground", "border", "input", "ring"];
17
- declare const THEME_FONT_KEYS: readonly ["font-sans", "font-mono"];
18
- declare const THEME_MASCOT_VALUES: readonly ["claw", "none"];
19
- type ThemeMascot = (typeof THEME_MASCOT_VALUES)[number];
20
- declare const THEME_BRAND_ICON_IDS: readonly ["claw", "mark"];
21
- declare const THEME_WORKING_INDICATOR_VALUES: readonly ["claw", "dots", "brand", "none"];
22
- type ThemeWorkingIndicator = (typeof THEME_WORKING_INDICATOR_VALUES)[number];
23
- declare const THEME_BRAND_NAME_MAX_LENGTH = 80;
24
- declare const THEME_CRITTER_IDS: readonly ["penguin", "fedora"];
25
- type ThemeCritterId = (typeof THEME_CRITTER_IDS)[number];
26
- declare function isThemeCritterId(value: unknown): value is ThemeCritterId;
27
- declare const THEME_AVATAR_HAT_IDS: readonly ["fedora", "crown", "santa", "party", "pumpkin"];
28
- type ThemeAvatarHatId = (typeof THEME_AVATAR_HAT_IDS)[number];
29
- declare function isThemeAvatarHatId(value: unknown): value is ThemeAvatarHatId;
30
- declare const THEME_ARTWORK_ID_PATTERN: RegExp;
31
- declare const THEME_WORKING_PHRASES_MAX = 24;
32
- declare const THEME_WORKING_PHRASE_MAX_LENGTH = 24;
33
- declare const MAX_THEME_DEFINITION_BYTES = 4096;
34
- declare const THEME_NAME_MAX_LENGTH = 80;
35
- declare const THEME_DESCRIPTION_MAX_LENGTH = 320;
36
- declare const THEME_TOKEN_MAX_LENGTH = 120;
37
- type ThemePalette = Record<(typeof THEME_COLOR_KEYS)[number], string> & Partial<Record<(typeof THEME_FONT_KEYS)[number], string>>;
38
- type ThemeDefinition = {
39
- name: string;
40
- description: string;
41
- mascot?: ThemeMascot;
42
- brandName?: string;
43
- brandIcon?: string;
44
- workingIndicator?: ThemeWorkingIndicator;
45
- lobsterdex?: boolean;
46
- communityLinks?: boolean;
47
- workingPhrases?: string[];
48
- critters?: string[];
49
- avatarHat?: string;
50
- light?: ThemePalette;
51
- dark?: ThemePalette;
52
- };
53
- type ThemeArtwork = {
54
- icons?: Record<string, {
55
- url: string;
56
- }>;
57
- hats?: Record<string, {
58
- url: string;
59
- }>;
60
- critters?: Record<string, {
61
- url: string;
62
- title?: string;
63
- crossMs?: number;
64
- }>;
65
- };
66
- type ThemeDescriptor = {
67
- id: ThemeId;
68
- name: string;
69
- description: string;
70
- source: "builtin" | "plugin" | "user";
71
- modes: ThemeColorMode[];
72
- pluginId?: string;
73
- mascot?: ThemeMascot;
74
- brandName?: string;
75
- brandIcon?: string;
76
- workingIndicator?: ThemeWorkingIndicator;
77
- lobsterdex?: boolean;
78
- communityLinks?: boolean;
79
- workingPhrases?: readonly string[];
80
- critters?: readonly string[];
81
- avatarHat?: string;
82
- artwork?: ThemeArtwork;
83
- };
84
- type ThemeCatalogEntry = ThemeDescriptor & {
85
- definition?: ThemeDefinition;
86
- };
87
- type ThemeBranding = {
88
- mascot: ThemeMascot;
89
- brandName: string;
90
- brandIcon: string;
91
- workingIndicator: ThemeWorkingIndicator;
92
- lobsterdex: boolean;
93
- communityLinks: boolean;
94
- workingPhrases?: readonly string[];
95
- critters: readonly string[];
96
- avatarHat?: string;
97
- artwork?: ThemeArtwork;
98
- };
99
- declare function resolveThemeBranding(source: Pick<ThemeDescriptor, "mascot" | "brandName" | "brandIcon" | "workingIndicator" | "lobsterdex" | "communityLinks" | "workingPhrases" | "critters" | "avatarHat" | "artwork"> | undefined): ThemeBranding;
100
- declare const BUILTIN_THEMES: readonly ThemeDescriptor[];
101
- /** Rejects executable CSS and incomplete palettes before they reach storage or a stylesheet. */
102
- declare function normalizeThemeDefinition(input: unknown, options?: {
103
- iconIds?: readonly string[];
104
- hatIds?: readonly string[];
105
- critterIds?: readonly string[];
106
- }): ThemeDefinition;
107
- declare function parseThemeDefinition(value: unknown): ThemeDefinition | null;
108
- //#endregion
109
- export { normalizeThemeDefinition as A, isThemeId as B, ThemeDefinition as C, ThemeWorkingIndicator as D, ThemePalette as E, THEME_LOCAL_ID_MAX_LENGTH as F, THEME_LOCAL_ID_PATTERN as I, ThemeId as L, resolveThemeBranding as M, BUILTIN_THEME_IDS as N, isThemeAvatarHatId as O, BuiltinThemeId as P, ThemeMode as R, ThemeCritterId as S, ThemeMascot as T, normalizeThemeMode as V, ThemeArtwork as _, THEME_BRAND_ICON_IDS as a, ThemeCatalogEntry as b, THEME_CRITTER_IDS as c, THEME_MASCOT_VALUES as d, THEME_NAME_MAX_LENGTH as f, THEME_WORKING_PHRASE_MAX_LENGTH as g, THEME_WORKING_PHRASES_MAX as h, THEME_AVATAR_HAT_IDS as i, parseThemeDefinition as j, isThemeCritterId as k, THEME_DESCRIPTION_MAX_LENGTH as l, THEME_WORKING_INDICATOR_VALUES as m, MAX_THEME_DEFINITION_BYTES as n, THEME_BRAND_NAME_MAX_LENGTH as o, THEME_TOKEN_MAX_LENGTH as p, THEME_ARTWORK_ID_PATTERN as r, THEME_COLOR_KEYS as s, BUILTIN_THEMES as t, THEME_FONT_KEYS as u, ThemeAvatarHatId as v, ThemeDescriptor as w, ThemeColorMode as x, ThemeBranding as y, isBuiltinThemeId as z };