@openclaw/gateway-protocol 2026.9.5 → 2026.9.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.
Files changed (36) hide show
  1. package/README.md +12 -0
  2. package/dist/client-info.d.mts +3 -1
  3. package/dist/client-info.mjs +4 -2
  4. package/dist/connect-error-details.d.mts +4 -3
  5. package/dist/connect-error-details.mjs +13 -16
  6. package/dist/frame-guards.d.mts +2 -2
  7. package/dist/frame-guards.mjs +4 -4
  8. package/dist/{frames-X2k-UkK8.d.mts → frames-ICrB58JF.d.mts} +54 -11
  9. package/dist/{gateway-error-details-Djlwga0B.d.mts → gateway-error-details-BH1DM8mu.d.mts} +467 -384
  10. package/dist/gateway-error-details.d.mts +2 -2
  11. package/dist/gateway-error-details.mjs +7 -6
  12. package/dist/index.d.mts +3774 -2694
  13. package/dist/index.mjs +191 -114
  14. package/dist/{protocol-value-normalization-DfM01tqg.mjs → protocol-value-normalization-Oati9UF1.mjs} +1 -1
  15. package/dist/{record-coerce-BVp8Dr-B.mjs → record-coerce-DVQGe6I0.mjs} +1 -1
  16. package/dist/restart-unavailable.d.mts +3 -1
  17. package/dist/restart-unavailable.mjs +4 -2
  18. package/dist/{schema-modules-CsQIRdwb.d.mts → schema-modules-CRgBq9O3.d.mts} +10619 -8499
  19. package/dist/schema.d.mts +10 -9
  20. package/dist/schema.mjs +97 -28
  21. package/dist/{server-capabilities-Gfkxm7Ho.mjs → server-capabilities-BnyAklc1.mjs} +7 -1
  22. package/dist/startup-unavailable.d.mts +1 -1
  23. package/dist/startup-unavailable.mjs +1 -1
  24. package/dist/{string-coerce-BJ6bjzdv.mjs → string-coerce-BSD-wsXs.mjs} +1 -1
  25. package/dist/system-agent-context.d.mts +8 -1
  26. package/dist/system-agent-context.mjs +56 -6
  27. package/dist/theme-_hQKgfH-.mjs +278 -0
  28. package/dist/theme-s6T9Ck6Z.d.mts +86 -0
  29. package/dist/theme.d.mts +2 -0
  30. package/dist/theme.mjs +2 -0
  31. package/dist/{tools-catalog-CF4aqT9l.mjs → tools-catalog-pKZZLiUu.mjs} +2810 -1982
  32. package/dist/{version-COV9CEyr.d.mts → version-BL42XeI-.d.mts} +1 -1
  33. package/dist/version.d.mts +1 -1
  34. package/dist/version.mjs +1 -1
  35. package/package.json +8 -3
  36. package/protocol.schema.json +28424 -17074
@@ -1,4 +1,4 @@
1
- //#region src/version.d.ts
1
+ //#region packages/gateway-protocol/src/version.d.ts
2
2
  /** Current gateway protocol version emitted by modern clients and servers. */
3
3
  declare const PROTOCOL_VERSION: 4;
4
4
  /** Lowest general client protocol version accepted by the gateway. */
@@ -1,2 +1,2 @@
1
- import { i as PROTOCOL_VERSION, n as MIN_NODE_PROTOCOL_VERSION, r as MIN_PROBE_PROTOCOL_VERSION, t as MIN_CLIENT_PROTOCOL_VERSION } from "./version-COV9CEyr.mjs";
1
+ import { i as PROTOCOL_VERSION, n as MIN_NODE_PROTOCOL_VERSION, r as MIN_PROBE_PROTOCOL_VERSION, t as MIN_CLIENT_PROTOCOL_VERSION } from "./version-BL42XeI-.mjs";
2
2
  export { MIN_CLIENT_PROTOCOL_VERSION, MIN_NODE_PROTOCOL_VERSION, MIN_PROBE_PROTOCOL_VERSION, PROTOCOL_VERSION };
package/dist/version.mjs CHANGED
@@ -1,4 +1,4 @@
1
- //#region src/version.ts
1
+ //#region packages/gateway-protocol/src/version.ts
2
2
  /** Current gateway protocol version emitted by modern clients and servers. */
3
3
  const PROTOCOL_VERSION = 4;
4
4
  /** Lowest general client protocol version accepted by the gateway. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openclaw/gateway-protocol",
3
- "version": "2026.9.5",
3
+ "version": "2026.9.7",
4
4
  "description": "Typed schemas and runtime validators for the OpenClaw Gateway WebSocket protocol",
5
5
  "keywords": [
6
6
  "gateway",
@@ -77,6 +77,11 @@
77
77
  "import": "./dist/system-agent-context.mjs",
78
78
  "default": "./dist/system-agent-context.mjs"
79
79
  },
80
+ "./theme": {
81
+ "types": "./dist/theme.d.mts",
82
+ "import": "./dist/theme.mjs",
83
+ "default": "./dist/theme.mjs"
84
+ },
80
85
  "./version": {
81
86
  "types": "./dist/version.d.mts",
82
87
  "import": "./dist/version.mjs",
@@ -84,7 +89,7 @@
84
89
  }
85
90
  },
86
91
  "dependencies": {
87
- "typebox": "1.3.30"
92
+ "typebox": "1.3.34"
88
93
  },
89
94
  "devDependencies": {
90
95
  "@openclaw/normalization-core": "0.0.0-private"
@@ -101,6 +106,6 @@
101
106
  }
102
107
  },
103
108
  "scripts": {
104
- "build": "tsdown src/index.ts src/client-info.ts src/connect-error-details.ts src/frame-guards.ts src/gateway-error-details.ts src/restart-unavailable.ts src/schema.ts src/startup-unavailable.ts src/version.ts src/system-agent-context.ts --no-config --platform node --format esm --dts --out-dir dist --clean && node --import tsx ../../scripts/check-protocol-registry-types.mts"
109
+ "build": "node --import ../../scripts/tsx.mjs ../../scripts/build-workspace-package.mts gateway-protocol && node --import tsx ../../scripts/check-protocol-registry-types.mts"
105
110
  }
106
111
  }