@openclaw/gateway-protocol 2026.7.2-beta.4 → 2026.7.2-beta.6
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/frame-guards.d.mts +1 -1
- package/dist/{frames-DEn_IEne.d.mts → frames-BPnee-QV.d.mts} +2 -0
- package/dist/{gateway-error-details-CsX7mtLy.d.mts → gateway-error-details-Btc09cgL.d.mts} +1 -2
- package/dist/gateway-error-details.d.mts +1 -1
- package/dist/gateway-error-details.mjs +1 -2
- package/dist/index.d.mts +623 -503
- package/dist/index.mjs +27 -5
- package/dist/schema-modules-CmFCHg8X.d.mts +14006 -0
- package/dist/schema.d.mts +10242 -4
- package/dist/schema.mjs +763 -2
- package/dist/{schema-jN_1K-NS.mjs → worktrees-nxd_-Snb.mjs} +6257 -6537
- package/package.json +1 -2
- package/protocol.schema.json +4449 -373
- package/dist/schema-BERXGeoi.d.mts +0 -22723
- package/npm-shrinkwrap.json +0 -25
package/dist/frame-guards.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as EventFrame, c as GatewayFrame, f as RequestFrame, m as ResponseFrame, r as ErrorShape, t as ConnectParams, u as HelloOk } from "./frames-
|
|
1
|
+
import { a as EventFrame, c as GatewayFrame, f as RequestFrame, m as ResponseFrame, r as ErrorShape, t as ConnectParams, u as HelloOk } from "./frames-BPnee-QV.mjs";
|
|
2
2
|
|
|
3
3
|
//#region src/frame-guards.d.ts
|
|
4
4
|
declare function isGatewayEventFrame(value: unknown): value is EventFrame;
|
|
@@ -275,6 +275,7 @@ declare const RequestFrameSchema: Type.TObject<{
|
|
|
275
275
|
id: Type.TString;
|
|
276
276
|
method: Type.TString;
|
|
277
277
|
params: Type.TOptional<Type.TUnknown>;
|
|
278
|
+
traceparent: Type.TOptional<Type.TString>;
|
|
278
279
|
}>;
|
|
279
280
|
/** Server response frame envelope paired with a prior request id. */
|
|
280
281
|
declare const ResponseFrameSchema: Type.TObject<{
|
|
@@ -306,6 +307,7 @@ declare const GatewayFrameSchema: Type.TUnion<[Type.TObject<{
|
|
|
306
307
|
id: Type.TString;
|
|
307
308
|
method: Type.TString;
|
|
308
309
|
params: Type.TOptional<Type.TUnknown>;
|
|
310
|
+
traceparent: Type.TOptional<Type.TString>;
|
|
309
311
|
}>, Type.TObject<{
|
|
310
312
|
type: Type.TLiteral<"res">;
|
|
311
313
|
id: Type.TString;
|
|
@@ -15,8 +15,7 @@ type ErrorCode = (typeof ErrorCodes)[keyof typeof ErrorCodes];
|
|
|
15
15
|
declare const GatewayErrorDetailCodes: {
|
|
16
16
|
readonly MISSING_SCOPE: "MISSING_SCOPE";
|
|
17
17
|
readonly MCP_APP_VIEW_EXPIRED: "MCP_APP_VIEW_EXPIRED";
|
|
18
|
-
readonly
|
|
19
|
-
readonly SESSION_OBSERVER_UNAVAILABLE: "SESSION_OBSERVER_UNAVAILABLE";
|
|
18
|
+
readonly SESSION_COMPANION_BUSY: "SESSION_COMPANION_BUSY";
|
|
20
19
|
readonly UNKNOWN_AGENT_ID: "UNKNOWN_AGENT_ID";
|
|
21
20
|
readonly WIZARD_NOT_FOUND: "WIZARD_NOT_FOUND";
|
|
22
21
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as McpAppViewExpiredErrorDetails, c as WizardNotFoundErrorDetails, d as readMissingScopeErrorDetails, i as GatewayErrorDetails, l as isMcpAppViewExpiredError, n as ErrorCodes, o as MissingScopeErrorDetails, r as GatewayErrorDetailCodes, s as UnknownAgentIdErrorDetails, t as ErrorCode, u as readMissingScopeError } from "./gateway-error-details-
|
|
1
|
+
import { a as McpAppViewExpiredErrorDetails, c as WizardNotFoundErrorDetails, d as readMissingScopeErrorDetails, i as GatewayErrorDetails, l as isMcpAppViewExpiredError, n as ErrorCodes, o as MissingScopeErrorDetails, r as GatewayErrorDetailCodes, s as UnknownAgentIdErrorDetails, t as ErrorCode, u as readMissingScopeError } from "./gateway-error-details-Btc09cgL.mjs";
|
|
2
2
|
export { ErrorCode, ErrorCodes, GatewayErrorDetailCodes, GatewayErrorDetails, McpAppViewExpiredErrorDetails, MissingScopeErrorDetails, UnknownAgentIdErrorDetails, WizardNotFoundErrorDetails, isMcpAppViewExpiredError, readMissingScopeError, readMissingScopeErrorDetails };
|
|
@@ -20,8 +20,7 @@ const ErrorCodes = {
|
|
|
20
20
|
const GatewayErrorDetailCodes = {
|
|
21
21
|
MISSING_SCOPE: "MISSING_SCOPE",
|
|
22
22
|
MCP_APP_VIEW_EXPIRED: "MCP_APP_VIEW_EXPIRED",
|
|
23
|
-
|
|
24
|
-
SESSION_OBSERVER_UNAVAILABLE: "SESSION_OBSERVER_UNAVAILABLE",
|
|
23
|
+
SESSION_COMPANION_BUSY: "SESSION_COMPANION_BUSY",
|
|
25
24
|
UNKNOWN_AGENT_ID: "UNKNOWN_AGENT_ID",
|
|
26
25
|
WIZARD_NOT_FOUND: "WIZARD_NOT_FOUND"
|
|
27
26
|
};
|