@openclaw/gateway-protocol 2026.9.2 → 2026.9.4
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/dist/client-info.d.mts +1 -0
- package/dist/client-info.mjs +4 -6
- package/dist/connect-error-details.d.mts +1 -11
- package/dist/connect-error-details.mjs +44 -39
- package/dist/frame-guards.d.mts +1 -1
- package/dist/frame-guards.mjs +1 -1
- package/dist/{frames-8A7sw44F.d.mts → frames-B3ABtpZk.d.mts} +2 -0
- package/dist/{gateway-error-details-qdj19LIh.d.mts → gateway-error-details-DVeCF9AS.d.mts} +3 -1
- package/dist/gateway-error-details.d.mts +2 -2
- package/dist/gateway-error-details.mjs +3 -1
- package/dist/index.d.mts +198 -22
- package/dist/index.mjs +26 -17
- package/dist/protocol-value-normalization-DfM01tqg.mjs +7 -0
- package/dist/restart-unavailable.d.mts +2 -0
- package/dist/restart-unavailable.mjs +10 -3
- package/dist/{schema-modules-CYD2e-5u.d.mts → schema-modules-Cs1brqQv.d.mts} +1503 -311
- package/dist/schema.d.mts +1054 -122
- package/dist/schema.mjs +28 -3
- package/dist/string-coerce-BJ6bjzdv.mjs +21 -0
- package/dist/{transcripts-DiXCa8Z2.mjs → worktrees-CRLE3hce.mjs} +875 -219
- package/package.json +1 -1
- package/protocol.schema.json +6223 -1070
- package/dist/protocol-value-normalization-DcAoxLUs.mjs +0 -12
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
//#region src/protocol-value-normalization.ts
|
|
2
|
-
/** Checks string presence without changing wire-significant whitespace. */
|
|
3
|
-
function isNonEmptyProtocolString(value) {
|
|
4
|
-
return typeof value === "string" && value.length > 0;
|
|
5
|
-
}
|
|
6
|
-
/** Trims an optional untrusted string and rejects empty results. */
|
|
7
|
-
function normalizeOptionalProtocolString(value) {
|
|
8
|
-
if (typeof value !== "string") return;
|
|
9
|
-
return value.trim() || void 0;
|
|
10
|
-
}
|
|
11
|
-
//#endregion
|
|
12
|
-
export { normalizeOptionalProtocolString as n, isNonEmptyProtocolString as t };
|