@openclaw/gateway-protocol 2026.9.6 → 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 +4 -0
  2. package/dist/client-info.d.mts +2 -1
  3. package/dist/client-info.mjs +3 -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-DrA9fYYy.d.mts → frames-ICrB58JF.d.mts} +32 -11
  9. package/dist/{gateway-error-details-B0Ms-xqB.d.mts → gateway-error-details-BH1DM8mu.d.mts} +462 -385
  10. package/dist/gateway-error-details.d.mts +1 -1
  11. package/dist/gateway-error-details.mjs +6 -6
  12. package/dist/index.d.mts +3210 -2803
  13. package/dist/index.mjs +40 -110
  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-CClcdadz.d.mts → schema-modules-CRgBq9O3.d.mts} +2759 -1911
  19. package/dist/schema.d.mts +10 -9
  20. package/dist/schema.mjs +50 -21
  21. package/dist/{server-capabilities-CBMEqI9z.mjs → server-capabilities-BnyAklc1.mjs} +6 -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 +1 -1
  26. package/dist/system-agent-context.mjs +8 -7
  27. package/dist/{theme-DEbDprgp.mjs → theme-_hQKgfH-.mjs} +2 -2
  28. package/dist/{theme-C4mhgADx.d.mts → theme-s6T9Ck6Z.d.mts} +2 -2
  29. package/dist/theme.d.mts +1 -1
  30. package/dist/theme.mjs +1 -1
  31. package/dist/{tools-catalog-CRxZFldZ.mjs → tools-catalog-pKZZLiUu.mjs} +1046 -768
  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 +3 -3
  36. package/protocol.schema.json +8776 -4444
@@ -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.6",
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",
@@ -89,7 +89,7 @@
89
89
  }
90
90
  },
91
91
  "dependencies": {
92
- "typebox": "1.3.30"
92
+ "typebox": "1.3.34"
93
93
  },
94
94
  "devDependencies": {
95
95
  "@openclaw/normalization-core": "0.0.0-private"
@@ -106,6 +106,6 @@
106
106
  }
107
107
  },
108
108
  "scripts": {
109
- "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 src/theme.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"
110
110
  }
111
111
  }