@openclaw/gateway-protocol 2026.8.1-beta.3 → 2026.8.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.
- package/CHANGELOG.md +111 -17
- package/dist/client-info.d.mts +34 -23
- package/dist/client-info.mjs +2 -1
- package/dist/connect-error-details.d.mts +20 -21
- package/dist/frame-guards.d.mts +4 -5
- package/dist/{frames-BKvowx_k.d.mts → frames-CAy_vx4s.d.mts} +15 -14
- package/dist/{gateway-error-details-DR-CyzeW.d.mts → gateway-error-details-GvUeus2z.d.mts} +20 -8
- package/dist/gateway-error-details.d.mts +2 -2
- package/dist/gateway-error-details.mjs +2 -1
- package/dist/index.d.mts +1329 -440
- package/dist/index.mjs +75 -5
- package/dist/restart-unavailable.d.mts +8 -0
- package/dist/restart-unavailable.mjs +13 -0
- package/dist/{schema-modules-CriS_x5c.d.mts → schema-modules-Ci4vzz1h.d.mts} +4527 -835
- package/dist/schema.d.mts +3163 -44
- package/dist/schema.mjs +38 -2
- package/dist/startup-unavailable.d.mts +9 -10
- package/dist/{worktrees-D1V7ClOO.mjs → worktrees-DGAMd4T8.mjs} +1033 -159
- package/package.json +8 -3
- package/protocol.schema.json +22491 -1589
|
@@ -115,6 +115,7 @@ const UnknownAgentIdErrorDetailsSchema = closedObject({
|
|
|
115
115
|
code: Type.Literal(GatewayErrorDetailCodes.UNKNOWN_AGENT_ID),
|
|
116
116
|
agentId: NonEmptyString
|
|
117
117
|
});
|
|
118
|
+
const SetupAdmissionBusyErrorDetailsSchema = closedObject({ code: Type.Literal(GatewayErrorDetailCodes.SETUP_ADMISSION_BUSY) });
|
|
118
119
|
const WizardNotFoundErrorDetailsSchema = closedObject({ code: Type.Literal(GatewayErrorDetailCodes.WIZARD_NOT_FOUND) });
|
|
119
120
|
const ProjectCloneErrorDetailsSchema = closedObject({
|
|
120
121
|
code: Type.Literal(GatewayErrorDetailCodes.PROJECT_CLONE_FAILED),
|
|
@@ -143,7 +144,8 @@ const GatewayErrorDetailsSchema = Type.Union([
|
|
|
143
144
|
SkillProposalRevisionChangedErrorDetailsSchema,
|
|
144
145
|
ProjectCloneErrorDetailsSchema,
|
|
145
146
|
UnknownAgentIdErrorDetailsSchema,
|
|
146
|
-
WizardNotFoundErrorDetailsSchema
|
|
147
|
+
WizardNotFoundErrorDetailsSchema,
|
|
148
|
+
SetupAdmissionBusyErrorDetailsSchema
|
|
147
149
|
]);
|
|
148
150
|
/** Builds the canonical gateway error payload while preserving optional retry metadata. */
|
|
149
151
|
function errorShape(code, message, opts) {
|
|
@@ -262,6 +264,7 @@ const WORKER_PUBLIC_INGRESS_PATH = "/__openclaw__/worker";
|
|
|
262
264
|
const WORKER_PROTOCOL_MAX_IDENTIFIER_LENGTH = 256;
|
|
263
265
|
const WORKER_PROTOCOL_MAX_FRAME_ID_LENGTH = 128;
|
|
264
266
|
const WORKER_PROTOCOL_MAX_PAYLOAD_BYTES = 64 * 1024;
|
|
267
|
+
const WORKER_PROTOCOL_MAX_MEDIA_PAYLOAD_BYTES = 25 * 1024 * 1024;
|
|
265
268
|
const WorkerIdentifierSchema = Type.String({
|
|
266
269
|
minLength: 1,
|
|
267
270
|
maxLength: 256,
|
|
@@ -359,6 +362,31 @@ const LiveSequenceSchema = Type.Integer({
|
|
|
359
362
|
maximum: Number.MAX_SAFE_INTEGER
|
|
360
363
|
});
|
|
361
364
|
//#endregion
|
|
365
|
+
//#region src/schema/worker-computer.ts
|
|
366
|
+
const WORKER_COMPUTER_PROTOCOL_FEATURE = "worker-computer-v1";
|
|
367
|
+
const WorkerComputerParamsSchema = closedObject({
|
|
368
|
+
command: Type.Enum(["screen.snapshot", "computer.act"], { type: "string" }),
|
|
369
|
+
paramsJson: Type.String({
|
|
370
|
+
minLength: 2,
|
|
371
|
+
maxLength: WORKER_PROTOCOL_MAX_PAYLOAD_BYTES
|
|
372
|
+
}),
|
|
373
|
+
timeoutMs: Type.Optional(Type.Integer({
|
|
374
|
+
minimum: 1,
|
|
375
|
+
maximum: 12e4
|
|
376
|
+
})),
|
|
377
|
+
idempotencyKey: Type.Optional(WorkerIdentifierSchema)
|
|
378
|
+
});
|
|
379
|
+
const WorkerComputerResultSchema = closedObject({ resultJson: Type.String({
|
|
380
|
+
minLength: 2,
|
|
381
|
+
maxLength: WORKER_PROTOCOL_MAX_MEDIA_PAYLOAD_BYTES
|
|
382
|
+
}) });
|
|
383
|
+
const WorkerComputerResponseFrameSchema = Type.Union([closedObject({
|
|
384
|
+
type: Type.Literal("res"),
|
|
385
|
+
id: WorkerFrameIdSchema,
|
|
386
|
+
ok: Type.Literal(true),
|
|
387
|
+
payload: WorkerComputerResultSchema
|
|
388
|
+
}), WorkerErrorResponseFrameSchema]);
|
|
389
|
+
//#endregion
|
|
362
390
|
//#region src/schema/worker-admission.ts
|
|
363
391
|
const WORKER_RPC_SET_VERSION = 1;
|
|
364
392
|
const WORKER_BUNDLE_PREWARM_VERSION = 1;
|
|
@@ -369,7 +397,9 @@ const WORKER_PROTOCOL_METHODS = [
|
|
|
369
397
|
"worker.live-event",
|
|
370
398
|
"worker.sessions.spawn",
|
|
371
399
|
"worker.sessions.send",
|
|
372
|
-
"worker.github.publish"
|
|
400
|
+
"worker.github.publish",
|
|
401
|
+
"worker.portal",
|
|
402
|
+
"worker.computer"
|
|
373
403
|
];
|
|
374
404
|
const WORKER_TRANSCRIPT_COMMIT_PROTOCOL_FEATURE = "worker-transcript-commit-v1";
|
|
375
405
|
const WORKER_LIVE_EVENT_PROTOCOL_FEATURE = "worker-live-event-v1";
|
|
@@ -377,6 +407,7 @@ const WORKER_LAUNCH_V2_PROTOCOL_FEATURE = "worker-launch-v2";
|
|
|
377
407
|
const WORKER_EXECUTION_CONTEXT_PROTOCOL_FEATURE = "worker-execution-context-v2";
|
|
378
408
|
const WORKER_SESSION_TOOLS_PROTOCOL_FEATURE = "worker-session-tools-v1";
|
|
379
409
|
const WORKER_GITHUB_PUBLICATION_PROTOCOL_FEATURE = "worker-github-publication-v1";
|
|
410
|
+
const WORKER_PORTAL_PROTOCOL_FEATURE = "worker-portal-v1";
|
|
380
411
|
const WORKER_PROTOCOL_FEATURES = [
|
|
381
412
|
"worker-heartbeat-v1",
|
|
382
413
|
WORKER_TRANSCRIPT_COMMIT_PROTOCOL_FEATURE,
|
|
@@ -384,6 +415,8 @@ const WORKER_PROTOCOL_FEATURES = [
|
|
|
384
415
|
WORKER_EXECUTION_CONTEXT_PROTOCOL_FEATURE,
|
|
385
416
|
WORKER_SESSION_TOOLS_PROTOCOL_FEATURE,
|
|
386
417
|
WORKER_GITHUB_PUBLICATION_PROTOCOL_FEATURE,
|
|
418
|
+
WORKER_PORTAL_PROTOCOL_FEATURE,
|
|
419
|
+
WORKER_COMPUTER_PROTOCOL_FEATURE,
|
|
387
420
|
"worker-inference-v1"
|
|
388
421
|
];
|
|
389
422
|
const WORKER_PROTOCOL_MAX_METHOD_LENGTH = 64;
|
|
@@ -573,28 +606,45 @@ const WorkerGitHubPublishParamsSchema = closedObject({
|
|
|
573
606
|
title: Type.Optional(GitHubPublicationTitleSchema),
|
|
574
607
|
body: Type.Optional(GitHubPublicationBodySchema)
|
|
575
608
|
});
|
|
609
|
+
const WorkerPortalParamsSchema = closedObject({
|
|
610
|
+
toolCallId: WorkerSessionToolCallIdSchema,
|
|
611
|
+
action: Type.Union([
|
|
612
|
+
Type.Literal("open"),
|
|
613
|
+
Type.Literal("list"),
|
|
614
|
+
Type.Literal("close")
|
|
615
|
+
]),
|
|
616
|
+
port: Type.Optional(Type.Integer({
|
|
617
|
+
minimum: 1,
|
|
618
|
+
maximum: 65535
|
|
619
|
+
})),
|
|
620
|
+
title: Type.Optional(Type.String({
|
|
621
|
+
minLength: 1,
|
|
622
|
+
maxLength: 256
|
|
623
|
+
})),
|
|
624
|
+
description: Type.Optional(Type.String({ maxLength: WORKER_SESSION_TOOL_MAX_TEXT_LENGTH })),
|
|
625
|
+
path: Type.Optional(Type.String({
|
|
626
|
+
maxLength: 1024,
|
|
627
|
+
pattern: "^/"
|
|
628
|
+
})),
|
|
629
|
+
id: Type.Optional(Type.String({
|
|
630
|
+
minLength: 1,
|
|
631
|
+
maxLength: 256
|
|
632
|
+
}))
|
|
633
|
+
});
|
|
576
634
|
const WorkerSessionToolResultSchema = closedObject({ resultJson: Type.String({
|
|
577
635
|
minLength: 2,
|
|
578
636
|
maxLength: WORKER_PROTOCOL_MAX_PAYLOAD_BYTES
|
|
579
637
|
}) });
|
|
580
|
-
const
|
|
581
|
-
type: Type.Literal("res"),
|
|
582
|
-
id: WorkerFrameIdSchema,
|
|
583
|
-
ok: Type.Literal(true),
|
|
584
|
-
payload: WorkerSessionToolResultSchema
|
|
585
|
-
}), WorkerErrorResponseFrameSchema]);
|
|
586
|
-
const WorkerSessionsSendResponseFrameSchema = Type.Union([closedObject({
|
|
587
|
-
type: Type.Literal("res"),
|
|
588
|
-
id: WorkerFrameIdSchema,
|
|
589
|
-
ok: Type.Literal(true),
|
|
590
|
-
payload: WorkerSessionToolResultSchema
|
|
591
|
-
}), WorkerErrorResponseFrameSchema]);
|
|
592
|
-
const WorkerGitHubPublishResponseFrameSchema = Type.Union([closedObject({
|
|
638
|
+
const WorkerSessionToolResponseFrameSchema = Type.Union([closedObject({
|
|
593
639
|
type: Type.Literal("res"),
|
|
594
640
|
id: WorkerFrameIdSchema,
|
|
595
641
|
ok: Type.Literal(true),
|
|
596
642
|
payload: WorkerSessionToolResultSchema
|
|
597
643
|
}), WorkerErrorResponseFrameSchema]);
|
|
644
|
+
const WorkerSessionsSpawnResponseFrameSchema = WorkerSessionToolResponseFrameSchema;
|
|
645
|
+
const WorkerSessionsSendResponseFrameSchema = WorkerSessionToolResponseFrameSchema;
|
|
646
|
+
const WorkerGitHubPublishResponseFrameSchema = WorkerSessionToolResponseFrameSchema;
|
|
647
|
+
const WorkerPortalResponseFrameSchema = WorkerSessionToolResponseFrameSchema;
|
|
598
648
|
const WorkerTranscriptTextContentSchema = closedObject({
|
|
599
649
|
type: Type.Literal("text"),
|
|
600
650
|
text: Type.String({ maxLength: WORKER_PROTOCOL_MAX_PAYLOAD_BYTES }),
|
|
@@ -616,7 +666,7 @@ const WorkerTranscriptImageContentSchema = closedObject({
|
|
|
616
666
|
type: Type.Literal("image"),
|
|
617
667
|
data: Type.String({
|
|
618
668
|
minLength: 1,
|
|
619
|
-
maxLength:
|
|
669
|
+
maxLength: WORKER_PROTOCOL_MAX_MEDIA_PAYLOAD_BYTES
|
|
620
670
|
}),
|
|
621
671
|
mimeType: Type.String({
|
|
622
672
|
minLength: 1,
|
|
@@ -1026,6 +1076,20 @@ const SESSION_AGENT_ATTENTION_ICON_IDS = [
|
|
|
1026
1076
|
"lock",
|
|
1027
1077
|
"hourglass"
|
|
1028
1078
|
];
|
|
1079
|
+
const SESSION_COLOR_IDS = [
|
|
1080
|
+
"red",
|
|
1081
|
+
"blue",
|
|
1082
|
+
"green",
|
|
1083
|
+
"yellow",
|
|
1084
|
+
"purple",
|
|
1085
|
+
"orange",
|
|
1086
|
+
"pink",
|
|
1087
|
+
"cyan"
|
|
1088
|
+
];
|
|
1089
|
+
function normalizeSessionColorValue(value) {
|
|
1090
|
+
const normalized = value.trim().toLowerCase();
|
|
1091
|
+
return SESSION_COLOR_IDS.find((id) => id === normalized) ?? null;
|
|
1092
|
+
}
|
|
1029
1093
|
const SESSION_ICON_GLYPH_IDS = [
|
|
1030
1094
|
"braces",
|
|
1031
1095
|
"book",
|
|
@@ -1201,6 +1265,114 @@ const PluginsListResultSchema = closedObject({
|
|
|
1201
1265
|
diagnostics: Type.Array(Type.Unknown()),
|
|
1202
1266
|
mutationAllowed: Type.Boolean()
|
|
1203
1267
|
});
|
|
1268
|
+
/** Request payload for inspecting one plugin's declared capability surface. */
|
|
1269
|
+
const PluginsInspectParamsSchema = closedObject({ pluginId: NonEmptyString });
|
|
1270
|
+
/** Effective operator hook-policy grant with optional explicit config value. */
|
|
1271
|
+
const PluginHookGrantSchema = closedObject({
|
|
1272
|
+
/** Effective policy after origin defaults and operator config. */
|
|
1273
|
+
effective: Type.Boolean(),
|
|
1274
|
+
/** Present only when plugins.entries.<id>.hooks sets the flag explicitly. */
|
|
1275
|
+
configured: Type.Optional(Type.Boolean())
|
|
1276
|
+
});
|
|
1277
|
+
/** Install provenance and pinned artifact integrity for one plugin. */
|
|
1278
|
+
const PluginInspectSourceSchema = closedObject({
|
|
1279
|
+
kind: Type.Union([
|
|
1280
|
+
Type.Literal("bundled"),
|
|
1281
|
+
Type.Literal("clawhub"),
|
|
1282
|
+
Type.Literal("npm"),
|
|
1283
|
+
Type.Literal("git"),
|
|
1284
|
+
Type.Literal("path"),
|
|
1285
|
+
Type.Literal("archive"),
|
|
1286
|
+
Type.Literal("marketplace"),
|
|
1287
|
+
Type.Literal("official-catalog")
|
|
1288
|
+
]),
|
|
1289
|
+
spec: Type.Optional(NonEmptyString),
|
|
1290
|
+
packageName: Type.Optional(NonEmptyString),
|
|
1291
|
+
/** Pinned artifact integrity recorded at install (npm SSRI, sha-256, or git commit). */
|
|
1292
|
+
integrity: Type.Optional(NonEmptyString),
|
|
1293
|
+
integrityKind: Type.Optional(Type.Union([
|
|
1294
|
+
Type.Literal("ssri"),
|
|
1295
|
+
Type.Literal("sha256"),
|
|
1296
|
+
Type.Literal("git-commit")
|
|
1297
|
+
]))
|
|
1298
|
+
});
|
|
1299
|
+
/** Manifest-declared capability surface in enumerable terms. All arrays sorted. */
|
|
1300
|
+
const PluginDeclaredSurfaceSchema = closedObject({
|
|
1301
|
+
channels: Type.Array(NonEmptyString),
|
|
1302
|
+
providers: Type.Array(NonEmptyString),
|
|
1303
|
+
tools: Type.Array(NonEmptyString),
|
|
1304
|
+
/** Manifest contract families and identifiers, rendered as `family: id`. */
|
|
1305
|
+
contracts: Type.Array(NonEmptyString),
|
|
1306
|
+
/** Bundle-format hook names; code plugins register hooks at runtime and list nothing here. */
|
|
1307
|
+
hooks: Type.Array(NonEmptyString),
|
|
1308
|
+
mcpServers: Type.Array(NonEmptyString),
|
|
1309
|
+
cliCommands: Type.Array(NonEmptyString),
|
|
1310
|
+
cliBackends: Type.Array(NonEmptyString),
|
|
1311
|
+
skills: Type.Array(NonEmptyString),
|
|
1312
|
+
/** Dot paths from configContracts.dangerousFlags. */
|
|
1313
|
+
dangerousConfigFlags: Type.Array(NonEmptyString)
|
|
1314
|
+
});
|
|
1315
|
+
/** Operator-granted capability flags with effective values. */
|
|
1316
|
+
const PluginOperatorGrantsSchema = closedObject({
|
|
1317
|
+
hooks: closedObject({
|
|
1318
|
+
allowPromptInjection: PluginHookGrantSchema,
|
|
1319
|
+
allowConversationAccess: PluginHookGrantSchema
|
|
1320
|
+
}),
|
|
1321
|
+
llm: Type.Optional(closedObject({
|
|
1322
|
+
allowModelOverride: Type.Optional(Type.Boolean()),
|
|
1323
|
+
allowedModels: Type.Optional(Type.Array(NonEmptyString)),
|
|
1324
|
+
allowedCompletionModels: Type.Optional(Type.Array(NonEmptyString)),
|
|
1325
|
+
allowAuthProfileOverride: Type.Optional(Type.Boolean()),
|
|
1326
|
+
allowAgentIdOverride: Type.Optional(Type.Boolean())
|
|
1327
|
+
})),
|
|
1328
|
+
subagent: Type.Optional(closedObject({
|
|
1329
|
+
allowModelOverride: Type.Optional(Type.Boolean()),
|
|
1330
|
+
allowedModels: Type.Optional(Type.Array(NonEmptyString))
|
|
1331
|
+
}))
|
|
1332
|
+
});
|
|
1333
|
+
/** Persisted ClawHub per-release trust verdict from the install record. */
|
|
1334
|
+
const PluginInstallTrustSchema = closedObject({
|
|
1335
|
+
disposition: Type.Union([
|
|
1336
|
+
Type.Literal("clean"),
|
|
1337
|
+
Type.Literal("review-recommended"),
|
|
1338
|
+
Type.Literal("review-required"),
|
|
1339
|
+
Type.Literal("blocked")
|
|
1340
|
+
]),
|
|
1341
|
+
reasons: Type.Optional(Type.Array(Type.String())),
|
|
1342
|
+
checkedAt: Type.Optional(NonEmptyString),
|
|
1343
|
+
acknowledgedAt: Type.Optional(NonEmptyString),
|
|
1344
|
+
pending: Type.Optional(Type.Boolean()),
|
|
1345
|
+
stale: Type.Optional(Type.Boolean())
|
|
1346
|
+
});
|
|
1347
|
+
/** Newly declared capability items grouped by their existing manifest surface. */
|
|
1348
|
+
const PluginDeclaredSurfaceWideningSchema = Type.Partial(PluginDeclaredSurfaceSchema, { additionalProperties: false });
|
|
1349
|
+
/** Typed failure payload that lets clients review and acknowledge plugin capabilities. */
|
|
1350
|
+
const CapabilityConsentErrorDetailsSchema = closedObject({
|
|
1351
|
+
capabilityConsentCode: Type.Literal("PLUGIN_CAPABILITY_CONSENT_REQUIRED"),
|
|
1352
|
+
pluginId: NonEmptyString,
|
|
1353
|
+
reviewToken: NonEmptyString,
|
|
1354
|
+
widened: Type.Optional(PluginDeclaredSurfaceWideningSchema),
|
|
1355
|
+
acceptedAt: Type.Optional(NonEmptyString)
|
|
1356
|
+
});
|
|
1357
|
+
/** Consent-relevant snapshot of one plugin for install/enable review. */
|
|
1358
|
+
const PluginsInspectResultSchema = closedObject({
|
|
1359
|
+
ok: Type.Literal(true),
|
|
1360
|
+
plugin: closedObject({
|
|
1361
|
+
id: NonEmptyString,
|
|
1362
|
+
name: NonEmptyString,
|
|
1363
|
+
version: Type.Optional(NonEmptyString),
|
|
1364
|
+
description: Type.Optional(Type.String()),
|
|
1365
|
+
origin: Type.Optional(NonEmptyString),
|
|
1366
|
+
installed: Type.Boolean(),
|
|
1367
|
+
enabled: Type.Boolean()
|
|
1368
|
+
}),
|
|
1369
|
+
source: Type.Optional(PluginInspectSourceSchema),
|
|
1370
|
+
declared: PluginDeclaredSurfaceSchema,
|
|
1371
|
+
reviewToken: NonEmptyString,
|
|
1372
|
+
grants: PluginOperatorGrantsSchema,
|
|
1373
|
+
trust: Type.Optional(PluginInstallTrustSchema)
|
|
1374
|
+
});
|
|
1375
|
+
const PluginCapabilityAcknowledgmentSchema = closedObject({ reviewToken: NonEmptyString });
|
|
1204
1376
|
/** Request payload for searching installable ClawHub plugin families. */
|
|
1205
1377
|
const PluginsSearchParamsSchema = closedObject({
|
|
1206
1378
|
query: NonEmptyString,
|
|
@@ -1238,12 +1410,13 @@ const PluginsInstallParamsSchema = Type.Union([closedObject({
|
|
|
1238
1410
|
source: Type.Literal("clawhub"),
|
|
1239
1411
|
packageName: NonEmptyString,
|
|
1240
1412
|
version: Type.Optional(NonEmptyString),
|
|
1241
|
-
|
|
1242
|
-
|
|
1413
|
+
acknowledgeInstallPolicyWarning: Type.Optional(Type.Literal(true)),
|
|
1414
|
+
acknowledgeCapabilities: Type.Optional(PluginCapabilityAcknowledgmentSchema)
|
|
1243
1415
|
}), closedObject({
|
|
1244
1416
|
source: Type.Literal("official"),
|
|
1245
1417
|
pluginId: NonEmptyString,
|
|
1246
|
-
acknowledgeInstallPolicyWarning: Type.Optional(Type.Literal(true))
|
|
1418
|
+
acknowledgeInstallPolicyWarning: Type.Optional(Type.Literal(true)),
|
|
1419
|
+
acknowledgeCapabilities: Type.Optional(PluginCapabilityAcknowledgmentSchema)
|
|
1247
1420
|
})]);
|
|
1248
1421
|
/** Successful plugin installation result. */
|
|
1249
1422
|
const PluginsInstallResultSchema = closedObject({
|
|
@@ -1269,7 +1442,8 @@ const PluginsUninstallResultSchema = closedObject({
|
|
|
1269
1442
|
/** Request payload for changing one installed plugin's policy state. */
|
|
1270
1443
|
const PluginsSetEnabledParamsSchema = closedObject({
|
|
1271
1444
|
pluginId: NonEmptyString,
|
|
1272
|
-
enabled: Type.Boolean()
|
|
1445
|
+
enabled: Type.Boolean(),
|
|
1446
|
+
acknowledgeCapabilities: Type.Optional(PluginCapabilityAcknowledgmentSchema)
|
|
1273
1447
|
});
|
|
1274
1448
|
/** Successful plugin enablement policy update. */
|
|
1275
1449
|
const PluginsSetEnabledResultSchema = closedObject({
|
|
@@ -1290,6 +1464,57 @@ const SessionClassificationSchema = NonEmptyString;
|
|
|
1290
1464
|
/** Non-sensitive peer category derived from the session route, when known. */
|
|
1291
1465
|
const SessionPeerKindSchema = NonEmptyString;
|
|
1292
1466
|
//#endregion
|
|
1467
|
+
//#region src/schema/session-participant.ts
|
|
1468
|
+
/** Product identity, independent of display metadata and authorization. */
|
|
1469
|
+
const SessionParticipantIdentitySchema = Type.Union([
|
|
1470
|
+
closedObject({
|
|
1471
|
+
type: Type.Literal("profile"),
|
|
1472
|
+
id: NonEmptyString
|
|
1473
|
+
}),
|
|
1474
|
+
closedObject({
|
|
1475
|
+
type: Type.Literal("agent"),
|
|
1476
|
+
id: NonEmptyString
|
|
1477
|
+
}),
|
|
1478
|
+
closedObject({
|
|
1479
|
+
type: Type.Literal("remote"),
|
|
1480
|
+
pluginId: NonEmptyString,
|
|
1481
|
+
domain: NonEmptyString,
|
|
1482
|
+
idKind: NonEmptyString,
|
|
1483
|
+
id: NonEmptyString
|
|
1484
|
+
}),
|
|
1485
|
+
closedObject({
|
|
1486
|
+
type: Type.Literal("observation"),
|
|
1487
|
+
pluginId: Type.Union([NonEmptyString, Type.Null()]),
|
|
1488
|
+
accountId: Type.Union([NonEmptyString, Type.Null()]),
|
|
1489
|
+
senderKind: Type.Union([
|
|
1490
|
+
Type.Literal("human"),
|
|
1491
|
+
Type.Literal("bot"),
|
|
1492
|
+
Type.Literal("unknown")
|
|
1493
|
+
]),
|
|
1494
|
+
id: NonEmptyString
|
|
1495
|
+
}),
|
|
1496
|
+
closedObject({
|
|
1497
|
+
type: Type.Literal("legacy"),
|
|
1498
|
+
actorType: Type.String(),
|
|
1499
|
+
source: Type.Union([Type.String(), Type.Null()]),
|
|
1500
|
+
id: Type.String()
|
|
1501
|
+
})
|
|
1502
|
+
]);
|
|
1503
|
+
const SessionParticipantSchema = closedObject({
|
|
1504
|
+
identity: SessionParticipantIdentitySchema,
|
|
1505
|
+
label: Type.Optional(NonEmptyString),
|
|
1506
|
+
avatarUrl: Type.Optional(NonEmptyString)
|
|
1507
|
+
});
|
|
1508
|
+
const SessionPersonSchema = closedObject({
|
|
1509
|
+
identity: closedObject({
|
|
1510
|
+
type: Type.Literal("profile"),
|
|
1511
|
+
id: NonEmptyString
|
|
1512
|
+
}),
|
|
1513
|
+
label: Type.Optional(NonEmptyString),
|
|
1514
|
+
avatarUrl: Type.Optional(NonEmptyString),
|
|
1515
|
+
sessionCount: Type.Integer({ minimum: 1 })
|
|
1516
|
+
});
|
|
1517
|
+
//#endregion
|
|
1293
1518
|
//#region src/schema/sessions-sharing-values.ts
|
|
1294
1519
|
const SESSION_VISIBILITY_VALUES = [
|
|
1295
1520
|
"shared",
|
|
@@ -1317,6 +1542,14 @@ const SessionPermissionModeSchema = Type.Union([
|
|
|
1317
1542
|
Type.Literal("workspace"),
|
|
1318
1543
|
Type.Literal("full")
|
|
1319
1544
|
]);
|
|
1545
|
+
const SessionRunStatusSchema = Type.Union([
|
|
1546
|
+
Type.Literal("queued"),
|
|
1547
|
+
Type.Literal("running"),
|
|
1548
|
+
Type.Literal("done"),
|
|
1549
|
+
Type.Literal("failed"),
|
|
1550
|
+
Type.Literal("killed"),
|
|
1551
|
+
Type.Literal("timeout")
|
|
1552
|
+
]);
|
|
1320
1553
|
const SessionToolOverridesSchema = closedObject({
|
|
1321
1554
|
mcpServers: Type.Optional(Type.Record(Type.String({ minLength: 1 }), Type.Boolean())),
|
|
1322
1555
|
mcpToolsDeny: Type.Optional(Type.Record(Type.String({ minLength: 1 }), Type.Array(NonEmptyString))),
|
|
@@ -1333,7 +1566,9 @@ const SessionCreatedActorSchema = closedObject({
|
|
|
1333
1566
|
id: Type.Optional(NonEmptyString),
|
|
1334
1567
|
label: Type.Optional(NonEmptyString),
|
|
1335
1568
|
/** Durable profile avatar route; absent for actors without a stored profile avatar. */
|
|
1336
|
-
avatarUrl: Type.Optional(NonEmptyString)
|
|
1569
|
+
avatarUrl: Type.Optional(NonEmptyString),
|
|
1570
|
+
/** Display identity is separate from the actor fields used by ownership policy. */
|
|
1571
|
+
identity: Type.Optional(SessionParticipantIdentitySchema)
|
|
1337
1572
|
});
|
|
1338
1573
|
/** Mutable responsibility for one session; actor display data is projected at read time. */
|
|
1339
1574
|
const SessionOwnerSchema = closedObject({
|
|
@@ -1354,6 +1589,8 @@ const SessionRowSchema = Type.Object({
|
|
|
1354
1589
|
]),
|
|
1355
1590
|
label: Type.Optional(Type.String()),
|
|
1356
1591
|
icon: Type.Optional(Type.String()),
|
|
1592
|
+
/** Named sidebar tint from SESSION_COLOR_IDS; clients map names to theme hues. */
|
|
1593
|
+
color: Type.Optional(Type.String()),
|
|
1357
1594
|
channelAvatarUrl: Type.Optional(NonEmptyString),
|
|
1358
1595
|
boardFace: Type.Optional(Type.Union([Type.Literal("chat"), Type.Literal("dashboard")])),
|
|
1359
1596
|
displayName: Type.Optional(Type.String()),
|
|
@@ -1380,16 +1617,10 @@ const SessionRowSchema = Type.Object({
|
|
|
1380
1617
|
pinnedAt: Type.Optional(Type.Number()),
|
|
1381
1618
|
unread: Type.Optional(Type.Boolean()),
|
|
1382
1619
|
lastReadAt: Type.Optional(Type.Number()),
|
|
1620
|
+
markedUnreadAt: Type.Optional(Type.Number()),
|
|
1383
1621
|
lastActivityAt: Type.Optional(Type.Number()),
|
|
1384
1622
|
lastInteractionAt: Type.Optional(Type.Number()),
|
|
1385
|
-
status: Type.Optional(
|
|
1386
|
-
Type.Literal("queued"),
|
|
1387
|
-
Type.Literal("running"),
|
|
1388
|
-
Type.Literal("done"),
|
|
1389
|
-
Type.Literal("failed"),
|
|
1390
|
-
Type.Literal("killed"),
|
|
1391
|
-
Type.Literal("timeout")
|
|
1392
|
-
])),
|
|
1623
|
+
status: Type.Optional(SessionRunStatusSchema),
|
|
1393
1624
|
lastRunError: Type.Optional(Type.String()),
|
|
1394
1625
|
/** Exact run that produced the latest terminal lifecycle projection. */
|
|
1395
1626
|
lastRunId: Type.Optional(NonEmptyString),
|
|
@@ -1427,7 +1658,7 @@ const SessionRowSchema = Type.Object({
|
|
|
1427
1658
|
])),
|
|
1428
1659
|
createdActor: Type.Optional(SessionCreatedActorSchema),
|
|
1429
1660
|
owner: Type.Optional(SessionOwnerSchema),
|
|
1430
|
-
participants: Type.Optional(Type.Array(
|
|
1661
|
+
participants: Type.Optional(Type.Array(SessionParticipantSchema, { maxItems: 4 })),
|
|
1431
1662
|
participantCount: Type.Optional(Type.Integer({ minimum: 0 })),
|
|
1432
1663
|
visibility: Type.Optional(SessionVisibilitySchema),
|
|
1433
1664
|
sharingRole: Type.Optional(SessionSharingRoleSchema),
|
|
@@ -1446,6 +1677,12 @@ const SessionRowSchema = Type.Object({
|
|
|
1446
1677
|
estimatedCostUsd: Type.Optional(Type.Number()),
|
|
1447
1678
|
model: Type.Optional(Type.String()),
|
|
1448
1679
|
modelProvider: Type.Optional(Type.String()),
|
|
1680
|
+
/** Persisted override provenance; null means inherited, omission means not projected. */
|
|
1681
|
+
modelOverrideSource: Type.Optional(Type.Union([
|
|
1682
|
+
Type.Literal("user"),
|
|
1683
|
+
Type.Literal("auto"),
|
|
1684
|
+
Type.Null()
|
|
1685
|
+
])),
|
|
1449
1686
|
toolOverrides: Type.Optional(SessionToolOverridesSchema)
|
|
1450
1687
|
}, { additionalProperties: true });
|
|
1451
1688
|
//#endregion
|
|
@@ -1492,6 +1729,8 @@ const SessionCatalogSessionSchema = closedObject({
|
|
|
1492
1729
|
threadId: NonEmptyString,
|
|
1493
1730
|
sourceHomeId: Type.Optional(NonEmptyString),
|
|
1494
1731
|
name: Type.Optional(Type.String()),
|
|
1732
|
+
/** Named tint imported from the source CLI session (SESSION_COLOR_IDS). */
|
|
1733
|
+
color: Type.Optional(Type.String()),
|
|
1495
1734
|
cwd: Type.Optional(Type.String()),
|
|
1496
1735
|
status: NonEmptyString,
|
|
1497
1736
|
createdAt: Type.Optional(Type.Number()),
|
|
@@ -1792,6 +2031,78 @@ const PluginApprovalSeveritySchema = Type.Union([
|
|
|
1792
2031
|
Type.Literal("warning"),
|
|
1793
2032
|
Type.Literal("critical")
|
|
1794
2033
|
]);
|
|
2034
|
+
/** Message/email delivery blast radius declared by the approval owner. */
|
|
2035
|
+
const MessageSendApprovalScopeSchema = closedObject({
|
|
2036
|
+
kind: Type.Literal("message-send"),
|
|
2037
|
+
target: Type.String({
|
|
2038
|
+
minLength: 1,
|
|
2039
|
+
maxLength: 128
|
|
2040
|
+
}),
|
|
2041
|
+
recipientCount: Type.Integer({
|
|
2042
|
+
minimum: 1,
|
|
2043
|
+
maximum: 1e6
|
|
2044
|
+
}),
|
|
2045
|
+
recipients: Type.Optional(Type.Array(Type.String({
|
|
2046
|
+
minLength: 1,
|
|
2047
|
+
maxLength: 128
|
|
2048
|
+
}), { maxItems: 5 })),
|
|
2049
|
+
audience: Type.Optional(Type.Union([Type.Literal("internal"), Type.Literal("external")]))
|
|
2050
|
+
});
|
|
2051
|
+
/** Payment blast radius declared by the approval owner. */
|
|
2052
|
+
const PaymentApprovalScopeSchema = closedObject({
|
|
2053
|
+
kind: Type.Literal("payment"),
|
|
2054
|
+
amount: Type.String({
|
|
2055
|
+
minLength: 1,
|
|
2056
|
+
maxLength: 40
|
|
2057
|
+
}),
|
|
2058
|
+
currency: Type.String({
|
|
2059
|
+
minLength: 1,
|
|
2060
|
+
maxLength: 12
|
|
2061
|
+
}),
|
|
2062
|
+
target: Type.String({
|
|
2063
|
+
minLength: 1,
|
|
2064
|
+
maxLength: 128
|
|
2065
|
+
})
|
|
2066
|
+
});
|
|
2067
|
+
/** External publication blast radius declared by the approval owner. */
|
|
2068
|
+
const ExternalPostApprovalScopeSchema = closedObject({
|
|
2069
|
+
kind: Type.Literal("external-post"),
|
|
2070
|
+
target: Type.String({
|
|
2071
|
+
minLength: 1,
|
|
2072
|
+
maxLength: 128
|
|
2073
|
+
}),
|
|
2074
|
+
visibility: Type.Union([Type.Literal("public"), Type.Literal("restricted")])
|
|
2075
|
+
});
|
|
2076
|
+
/**
|
|
2077
|
+
* What allow-always mints for an automation approval: a standing grant bound
|
|
2078
|
+
* to this exact command and automation. Absent expiresInDays means the grant
|
|
2079
|
+
* lives until revoked or the automation changes.
|
|
2080
|
+
*/
|
|
2081
|
+
const StandingGrantApprovalScopeSchema = closedObject({
|
|
2082
|
+
kind: Type.Literal("standing-grant"),
|
|
2083
|
+
automation: Type.String({
|
|
2084
|
+
minLength: 1,
|
|
2085
|
+
maxLength: 128
|
|
2086
|
+
}),
|
|
2087
|
+
command: Type.String({
|
|
2088
|
+
minLength: 1,
|
|
2089
|
+
maxLength: 256
|
|
2090
|
+
}),
|
|
2091
|
+
expiresInDays: Type.Optional(Type.Integer({
|
|
2092
|
+
minimum: 1,
|
|
2093
|
+
maximum: 3650
|
|
2094
|
+
}))
|
|
2095
|
+
});
|
|
2096
|
+
/**
|
|
2097
|
+
* Owner-declared blast-radius facts for a pending approval. Variants are
|
|
2098
|
+
* named schemas so native protocol generators emit the discriminated union.
|
|
2099
|
+
*/
|
|
2100
|
+
const ApprovalScopeSchema = Type.Union([
|
|
2101
|
+
MessageSendApprovalScopeSchema,
|
|
2102
|
+
PaymentApprovalScopeSchema,
|
|
2103
|
+
ExternalPostApprovalScopeSchema,
|
|
2104
|
+
StandingGrantApprovalScopeSchema
|
|
2105
|
+
]);
|
|
1795
2106
|
const ApprovalAllowedDecisionsSchema = Type.Array(ApprovalDecisionSchema, {
|
|
1796
2107
|
minItems: 1,
|
|
1797
2108
|
maxItems: 3,
|
|
@@ -1809,6 +2120,7 @@ const ExecApprovalPresentationSchema = Type.Object({
|
|
|
1809
2120
|
host: Type.Optional(Type.Union([Type.String(), Type.Null()])),
|
|
1810
2121
|
nodeId: Type.Optional(Type.Union([NonEmptyString, Type.Null()])),
|
|
1811
2122
|
agentId: Type.Optional(Type.Union([NonEmptyString, Type.Null()])),
|
|
2123
|
+
scope: Type.Optional(ApprovalScopeSchema),
|
|
1812
2124
|
allowedDecisions: ApprovalAllowedDecisionsSchema
|
|
1813
2125
|
}, {
|
|
1814
2126
|
additionalProperties: false,
|
|
@@ -1833,6 +2145,7 @@ const PluginApprovalPresentationSchema = closedObject({
|
|
|
1833
2145
|
pluginId: Type.Optional(Type.Union([NonEmptyString, Type.Null()])),
|
|
1834
2146
|
toolName: Type.Optional(Type.Union([NonEmptyString, Type.Null()])),
|
|
1835
2147
|
agentId: Type.Optional(Type.Union([NonEmptyString, Type.Null()])),
|
|
2148
|
+
scope: Type.Optional(ApprovalScopeSchema),
|
|
1836
2149
|
allowedDecisions: ApprovalAllowedDecisionsSchema
|
|
1837
2150
|
});
|
|
1838
2151
|
/** Reviewer-safe OpenClaw system change. Exact operation stays host-local. */
|
|
@@ -1886,7 +2199,9 @@ const ApprovalResolutionFields = {
|
|
|
1886
2199
|
/** Approval that has not yet accepted a reviewer decision. */
|
|
1887
2200
|
const PendingApprovalSnapshotSchema = closedObject({
|
|
1888
2201
|
...ApprovalRecordCommonFields,
|
|
1889
|
-
status: Type.Literal("pending")
|
|
2202
|
+
status: Type.Literal("pending"),
|
|
2203
|
+
/** Canonical raising session when projected into a session-scoped reviewer surface. */
|
|
2204
|
+
sourceSessionKey: Type.Optional(NonEmptyString)
|
|
1890
2205
|
});
|
|
1891
2206
|
/** Approval whose first recorded reviewer decision allows the operation. */
|
|
1892
2207
|
const AllowedApprovalSnapshotSchema = closedObject({
|
|
@@ -1967,7 +2282,11 @@ const ApprovalResolveParamsSchema = closedObject({
|
|
|
1967
2282
|
id: ApprovalRecordCommonFields.id,
|
|
1968
2283
|
kind: ApprovalKindSchema,
|
|
1969
2284
|
decision: ApprovalDecisionSchema,
|
|
1970
|
-
reviewer: Type.Optional(ApprovalChannelReviewerSchema)
|
|
2285
|
+
reviewer: Type.Optional(ApprovalChannelReviewerSchema),
|
|
2286
|
+
grantExpiresInDays: Type.Optional(Type.Integer({
|
|
2287
|
+
minimum: 1,
|
|
2288
|
+
maximum: 3650
|
|
2289
|
+
}))
|
|
1971
2290
|
});
|
|
1972
2291
|
/** First-answer outcome plus the canonical recorded state returned to all contenders. */
|
|
1973
2292
|
const ApprovalResolveResultSchema = closedObject({
|
|
@@ -2004,7 +2323,7 @@ const SessionApprovalReplaySchema = withSince("2026.7", closedObject({
|
|
|
2004
2323
|
//#region src/schema/worker-inference.ts
|
|
2005
2324
|
const WORKER_INFERENCE_PROTOCOL_FEATURE = "worker-inference-v1";
|
|
2006
2325
|
const WORKER_INFERENCE_METHODS = ["worker.inference.start", "worker.inference.cancel"];
|
|
2007
|
-
const WORKER_PROTOCOL_MAX_INFERENCE_PAYLOAD_BYTES =
|
|
2326
|
+
const WORKER_PROTOCOL_MAX_INFERENCE_PAYLOAD_BYTES = WORKER_PROTOCOL_MAX_MEDIA_PAYLOAD_BYTES;
|
|
2008
2327
|
const WORKER_INFERENCE_MAX_CONTEXT_MESSAGES = 1024;
|
|
2009
2328
|
const WORKER_INFERENCE_MAX_TOOLS = 256;
|
|
2010
2329
|
const WORKER_INFERENCE_MAX_OUTPUT_TOKENS = 1e6;
|
|
@@ -2484,6 +2803,13 @@ const BoardWidgetSchema = closedObject({
|
|
|
2484
2803
|
Type.Literal("mcp-app"),
|
|
2485
2804
|
Type.Literal("plugin")
|
|
2486
2805
|
]),
|
|
2806
|
+
contentOwner: Type.Optional(Type.Enum([
|
|
2807
|
+
"html",
|
|
2808
|
+
"mcp-app",
|
|
2809
|
+
"plugin",
|
|
2810
|
+
"registered"
|
|
2811
|
+
], { type: "string" })),
|
|
2812
|
+
registeredContentKind: Type.Optional(Type.String({ pattern: "^[a-z][a-z0-9-]{0,31}$" })),
|
|
2487
2813
|
pluginKind: Type.Optional(BoardWidgetPluginKindSchema),
|
|
2488
2814
|
props: Type.Optional(BoardWidgetPluginPropsSchema),
|
|
2489
2815
|
presentation: Type.Optional(BoardWidgetPresentationSchema),
|
|
@@ -2923,6 +3249,7 @@ const WorkerEnvironmentProfileSummarySchema = closedObject({
|
|
|
2923
3249
|
providerId: NonEmptyString,
|
|
2924
3250
|
trust: Type.Optional(EnvironmentTrustSchema),
|
|
2925
3251
|
executionMode: Type.Optional(WorkerExecutionModeSchema),
|
|
3252
|
+
executionModes: Type.Optional(Type.Union([Type.Tuple([WorkerExecutionModeSchema]), Type.Tuple([Type.Literal("worker-turn"), Type.Literal("remote-exec")])])),
|
|
2926
3253
|
machines: Type.Optional(WorkerMachineOptionsSchema)
|
|
2927
3254
|
});
|
|
2928
3255
|
/** List response containing all gateway-visible environment summaries. */
|
|
@@ -3115,12 +3442,20 @@ const ModelChoiceSchema = closedObject({
|
|
|
3115
3442
|
alias: Type.Optional(NonEmptyString),
|
|
3116
3443
|
tags: Type.Optional(Type.Array(NonEmptyString)),
|
|
3117
3444
|
available: Type.Optional(Type.Boolean()),
|
|
3445
|
+
unavailableReason: Type.Optional(Type.Union([
|
|
3446
|
+
Type.Literal("missing-auth"),
|
|
3447
|
+
Type.Literal("auth-failed"),
|
|
3448
|
+
Type.Literal("cooldown")
|
|
3449
|
+
])),
|
|
3450
|
+
/** Earliest known retry time in epoch milliseconds, only for unavailable models. */
|
|
3451
|
+
unavailableUntil: Type.Optional(Type.Integer({ minimum: 0 })),
|
|
3118
3452
|
contextWindow: Type.Optional(Type.Integer({ minimum: 1 })),
|
|
3119
3453
|
contextWindows: Type.Optional(Type.Array(GatewayContextWindowOptionSchema)),
|
|
3120
3454
|
contextWindowDefault: Type.Optional(NonEmptyString),
|
|
3121
3455
|
reasoning: Type.Optional(Type.Boolean()),
|
|
3122
3456
|
thinkingLevels: Type.Optional(Type.Array(GatewayThinkingLevelOptionSchema)),
|
|
3123
3457
|
thinkingDefault: Type.Optional(NonEmptyString),
|
|
3458
|
+
effectiveFastMode: Type.Optional(Type.Union([Type.Boolean(), Type.Literal("auto")])),
|
|
3124
3459
|
supportsTools: Type.Optional(Type.Boolean()),
|
|
3125
3460
|
agentRuntime: Type.Optional(GatewayAgentRuntimeSchema),
|
|
3126
3461
|
apiKeySupported: Type.Optional(Type.Boolean()),
|
|
@@ -3163,7 +3498,8 @@ const AgentSummarySchema = closedObject({
|
|
|
3163
3498
|
agentRuntime: Type.Optional(GatewayAgentRuntimeSchema),
|
|
3164
3499
|
thinkingLevels: Type.Optional(Type.Array(GatewayThinkingLevelOptionSchema)),
|
|
3165
3500
|
thinkingOptions: Type.Optional(Type.Array(NonEmptyString)),
|
|
3166
|
-
thinkingDefault: Type.Optional(NonEmptyString)
|
|
3501
|
+
thinkingDefault: Type.Optional(NonEmptyString),
|
|
3502
|
+
defaultPermissionMode: Type.Optional(SessionPermissionModeSchema)
|
|
3167
3503
|
});
|
|
3168
3504
|
/** Empty request payload for listing configured agents. */
|
|
3169
3505
|
const AgentsListParamsSchema = closedObject({});
|
|
@@ -3422,7 +3758,6 @@ const SkillsInstallParamsSchema = Type.Union([
|
|
|
3422
3758
|
}),
|
|
3423
3759
|
version: Type.Optional(NonEmptyString),
|
|
3424
3760
|
force: Type.Optional(Type.Boolean()),
|
|
3425
|
-
acknowledgeClawHubRisk: Type.Optional(Type.Boolean()),
|
|
3426
3761
|
timeoutMs: Type.Optional(Type.Integer({ minimum: 1e3 }))
|
|
3427
3762
|
}),
|
|
3428
3763
|
closedObject({
|
|
@@ -3446,8 +3781,7 @@ const SkillsUpdateParamsSchema = Type.Union([closedObject({
|
|
|
3446
3781
|
source: Type.Literal("clawhub"),
|
|
3447
3782
|
slug: Type.Optional(NonEmptyString),
|
|
3448
3783
|
all: Type.Optional(Type.Boolean()),
|
|
3449
|
-
force: Type.Optional(Type.Boolean())
|
|
3450
|
-
acknowledgeClawHubRisk: Type.Optional(Type.Boolean())
|
|
3784
|
+
force: Type.Optional(Type.Boolean())
|
|
3451
3785
|
})]);
|
|
3452
3786
|
/** Searches the skill registry. */
|
|
3453
3787
|
const SkillsSearchParamsSchema = closedObject({
|
|
@@ -3969,12 +4303,35 @@ const SkillOverlapCandidateSchema = closedObject({
|
|
|
3969
4303
|
right: NonEmptyString,
|
|
3970
4304
|
score: Type.Number()
|
|
3971
4305
|
});
|
|
3972
|
-
|
|
4306
|
+
const SkillCollectionReviewStatusSchema = closedObject({
|
|
4307
|
+
attemptedAtMs: Type.Number(),
|
|
4308
|
+
succeededAtMs: Type.Optional(Type.Number()),
|
|
4309
|
+
error: Type.Optional(Type.String())
|
|
4310
|
+
});
|
|
4311
|
+
const SkillExperienceReviewStatusSchema = closedObject({
|
|
4312
|
+
attemptedAtMs: Type.Number(),
|
|
4313
|
+
outcome: Type.Union([
|
|
4314
|
+
Type.Literal("applied"),
|
|
4315
|
+
Type.Literal("proposed"),
|
|
4316
|
+
Type.Literal("nothing"),
|
|
4317
|
+
Type.Literal("failed")
|
|
4318
|
+
]),
|
|
4319
|
+
proposalId: Type.Optional(Type.String()),
|
|
4320
|
+
error: Type.Optional(Type.String()),
|
|
4321
|
+
usage: Type.Optional(closedObject({
|
|
4322
|
+
inputTokens: Type.Number(),
|
|
4323
|
+
cachedInputTokens: Type.Number(),
|
|
4324
|
+
outputTokens: Type.Number()
|
|
4325
|
+
}))
|
|
4326
|
+
});
|
|
4327
|
+
/** Reads persisted skill usage and collection review state. */
|
|
3973
4328
|
const SkillsCuratorStatusParamsSchema = closedObject({});
|
|
3974
4329
|
const SkillsCuratorStatusResultSchema = closedObject({
|
|
3975
4330
|
lastAttemptAtMs: Type.Union([Type.Number(), Type.Null()]),
|
|
3976
4331
|
lastSuccessAtMs: Type.Union([Type.Number(), Type.Null()]),
|
|
3977
4332
|
lastError: Type.Union([Type.String(), Type.Null()]),
|
|
4333
|
+
collectionReview: Type.Optional(Type.Record(NonEmptyString, SkillCollectionReviewStatusSchema)),
|
|
4334
|
+
experienceReview: Type.Optional(Type.Record(NonEmptyString, SkillExperienceReviewStatusSchema)),
|
|
3978
4335
|
counts: closedObject({
|
|
3979
4336
|
active: Type.Number(),
|
|
3980
4337
|
stale: Type.Number(),
|
|
@@ -3983,7 +4340,7 @@ const SkillsCuratorStatusResultSchema = closedObject({
|
|
|
3983
4340
|
skills: Type.Array(SkillCuratorEntrySchema),
|
|
3984
4341
|
overlaps: Type.Array(SkillOverlapCandidateSchema)
|
|
3985
4342
|
});
|
|
3986
|
-
/**
|
|
4343
|
+
/** Preserves retired curator action methods so clients receive an actionable error. */
|
|
3987
4344
|
const SkillsCuratorActionParamsSchema = closedObject({ skill: NonEmptyString });
|
|
3988
4345
|
const SkillsCuratorActionResultSchema = SkillCuratorEntrySchema;
|
|
3989
4346
|
/** Reads the configured tool catalog for an agent. */
|
|
@@ -4440,7 +4797,15 @@ const UpdateRunParamsSchema = closedObject({
|
|
|
4440
4797
|
note: Type.Optional(Type.String()),
|
|
4441
4798
|
continuationMessage: Type.Optional(Type.String()),
|
|
4442
4799
|
restartDelayMs: Type.Optional(Type.Integer({ minimum: 0 })),
|
|
4443
|
-
timeoutMs: Type.Optional(Type.Integer({ minimum: 1 }))
|
|
4800
|
+
timeoutMs: Type.Optional(Type.Integer({ minimum: 1 })),
|
|
4801
|
+
target: Type.Optional(closedObject({
|
|
4802
|
+
kind: Type.Literal("git"),
|
|
4803
|
+
upstreamRef: Type.String({
|
|
4804
|
+
minLength: 1,
|
|
4805
|
+
pattern: "^[^\\s\\u0000-\\u001f\\u007f-\\u009f]+$"
|
|
4806
|
+
}),
|
|
4807
|
+
upstreamSha: Type.String({ pattern: "^[a-fA-F0-9]{40}$" })
|
|
4808
|
+
}))
|
|
4444
4809
|
});
|
|
4445
4810
|
/** UI metadata attached to config schema paths. */
|
|
4446
4811
|
const ConfigUiHintSchema = closedObject({
|
|
@@ -4507,24 +4872,30 @@ const PresenceEntrySchema = closedObject({
|
|
|
4507
4872
|
platform: Type.Optional(NonEmptyString),
|
|
4508
4873
|
deviceFamily: Type.Optional(NonEmptyString),
|
|
4509
4874
|
modelIdentifier: Type.Optional(NonEmptyString),
|
|
4875
|
+
timeZone: Type.Optional(NonEmptyString),
|
|
4510
4876
|
mode: Type.Optional(NonEmptyString),
|
|
4511
4877
|
lastInputSeconds: Type.Optional(Type.Integer({ minimum: 0 })),
|
|
4512
4878
|
reason: Type.Optional(NonEmptyString),
|
|
4513
4879
|
tags: Type.Optional(Type.Array(NonEmptyString)),
|
|
4514
4880
|
text: Type.Optional(Type.String()),
|
|
4881
|
+
/** Heartbeat freshness, not online duration or user activity. */
|
|
4515
4882
|
ts: Type.Integer({ minimum: 0 }),
|
|
4883
|
+
/** Server timestamps for the person's continuous online interval and last accepted activity. */
|
|
4884
|
+
onlineSince: Type.Optional(Type.Integer({ minimum: 0 })),
|
|
4885
|
+
lastActivityAt: Type.Optional(Type.Integer({ minimum: 0 })),
|
|
4516
4886
|
deviceId: Type.Optional(NonEmptyString),
|
|
4517
4887
|
roles: Type.Optional(Type.Array(NonEmptyString)),
|
|
4518
4888
|
scopes: Type.Optional(Type.Array(NonEmptyString)),
|
|
4519
4889
|
instanceId: Type.Optional(NonEmptyString),
|
|
4520
4890
|
user: Type.Optional(closedObject({
|
|
4521
|
-
/**
|
|
4891
|
+
/** Canonical profile id when resolved, otherwise authenticated identity; grouping also uses identity qualification. */
|
|
4522
4892
|
id: NonEmptyString,
|
|
4893
|
+
identity: Type.Optional(SessionPersonSchema.properties.identity),
|
|
4523
4894
|
email: Type.Optional(NonEmptyString),
|
|
4524
4895
|
name: Type.Optional(NonEmptyString),
|
|
4525
4896
|
avatarUrl: Type.Optional(NonEmptyString)
|
|
4526
4897
|
})),
|
|
4527
|
-
/**
|
|
4898
|
+
/** Sessions this connection declares it is viewing, independent of transport subscriptions. Sorted lexicographically. */
|
|
4528
4899
|
watchedSessions: Type.Optional(Type.Array(NonEmptyString))
|
|
4529
4900
|
});
|
|
4530
4901
|
const HealthSessionSummarySchema = closedObject({
|
|
@@ -4684,17 +5055,25 @@ const SnapshotSchema = closedObject({
|
|
|
4684
5055
|
updateSchedule: Type.Optional(UpdateScheduleStateSchema)
|
|
4685
5056
|
});
|
|
4686
5057
|
//#endregion
|
|
4687
|
-
//#region src/
|
|
5058
|
+
//#region src/server-capabilities.ts
|
|
5059
|
+
/** Stable feature names advertised in Gateway hello responses. */
|
|
4688
5060
|
const GATEWAY_SERVER_CAPS = {
|
|
4689
5061
|
BOARD_WIDGET_PUT_CANVAS_DOC: "board-widget-put-canvas-doc",
|
|
4690
5062
|
CHAT_SEND_ROUTING_CONTRACT: "chat-send-routing-contract",
|
|
4691
5063
|
GATEWAY_RESTART_TARGET_SAFE: "gateway-restart-target-safe-v1",
|
|
4692
5064
|
NODE_WORKER_BUNDLE_RETENTION: "node-worker-bundle-retention-v1",
|
|
4693
5065
|
NODE_WORKER_BUNDLE_STATUS: "node-worker-bundle-status-v1",
|
|
5066
|
+
NODE_WORKER_ENVIRONMENT_SESSION: "node-worker-environment-session-v1",
|
|
5067
|
+
NODE_WORKER_PORTAL_STREAM: "node-worker-portal-stream-v1",
|
|
5068
|
+
SESSION_SCOPED_CHAT_METADATA: "session-scoped-chat-metadata",
|
|
5069
|
+
SESSION_UNREAD_ACK_CONTRACT: "session-unread-ack-contract",
|
|
5070
|
+
SESSION_GOAL_START: "session-goal-start-v1",
|
|
4694
5071
|
SYSTEM_AGENT_WIZARD_CANCEL: "openclaw-chat-wizard-cancel",
|
|
4695
5072
|
SYSTEM_AGENT_SETUP_MODEL_REF: "openclaw-setup-model-ref",
|
|
4696
5073
|
TASK_SUGGESTIONS_ACCEPT_MODES: "taskSuggestions.acceptModes"
|
|
4697
5074
|
};
|
|
5075
|
+
//#endregion
|
|
5076
|
+
//#region src/schema/frames.ts
|
|
4698
5077
|
/**
|
|
4699
5078
|
* Top-level gateway frame schemas.
|
|
4700
5079
|
*
|
|
@@ -4723,6 +5102,11 @@ const ConnectParamsSchema = closedObject({
|
|
|
4723
5102
|
platform: NonEmptyString,
|
|
4724
5103
|
deviceFamily: Type.Optional(NonEmptyString),
|
|
4725
5104
|
modelIdentifier: Type.Optional(NonEmptyString),
|
|
5105
|
+
/** Self-reported IANA zone. Bounded because the longest real name is well under this cap. */
|
|
5106
|
+
timeZone: Type.Optional(Type.String({
|
|
5107
|
+
minLength: 1,
|
|
5108
|
+
maxLength: 64
|
|
5109
|
+
})),
|
|
4726
5110
|
mode: GatewayClientModeSchema,
|
|
4727
5111
|
instanceId: Type.Optional(NonEmptyString)
|
|
4728
5112
|
}),
|
|
@@ -4764,6 +5148,10 @@ const HelloOkSchema = closedObject({
|
|
|
4764
5148
|
minLength: 1,
|
|
4765
5149
|
maxLength: 96
|
|
4766
5150
|
})),
|
|
5151
|
+
bootId: Type.Optional(Type.String({
|
|
5152
|
+
minLength: 1,
|
|
5153
|
+
maxLength: 96
|
|
5154
|
+
})),
|
|
4767
5155
|
controlUiBuildSource: Type.Optional(Type.Union([Type.Literal("bundled"), Type.Literal("configured")])),
|
|
4768
5156
|
connId: NonEmptyString
|
|
4769
5157
|
}),
|
|
@@ -4879,7 +5267,8 @@ const LogsTailResultSchema = closedObject({
|
|
|
4879
5267
|
size: Type.Integer({ minimum: 0 }),
|
|
4880
5268
|
lines: Type.Array(Type.String()),
|
|
4881
5269
|
truncated: Type.Optional(Type.Boolean()),
|
|
4882
|
-
reset: Type.Optional(Type.Boolean())
|
|
5270
|
+
reset: Type.Optional(Type.Boolean()),
|
|
5271
|
+
skippedBytes: Type.Optional(Type.Integer({ minimum: 0 }))
|
|
4883
5272
|
});
|
|
4884
5273
|
/** Session-scoped history request used by WebChat and native WebSocket clients. */
|
|
4885
5274
|
const ChatHistoryParamsSchema = closedObject({
|
|
@@ -4891,6 +5280,7 @@ const ChatHistoryParamsSchema = closedObject({
|
|
|
4891
5280
|
maximum: CHAT_HISTORY_MAX_ENTRIES
|
|
4892
5281
|
})),
|
|
4893
5282
|
offset: Type.Optional(Type.Integer({ minimum: 0 })),
|
|
5283
|
+
pendingBefore: Type.Optional(Type.Integer({ minimum: 1 })),
|
|
4894
5284
|
messageId: Type.Optional(NonEmptyString),
|
|
4895
5285
|
sessionId: Type.Optional(NonEmptyString),
|
|
4896
5286
|
maxChars: Type.Optional(Type.Integer({
|
|
@@ -4898,6 +5288,25 @@ const ChatHistoryParamsSchema = closedObject({
|
|
|
4898
5288
|
maximum: 5e5
|
|
4899
5289
|
}))
|
|
4900
5290
|
});
|
|
5291
|
+
/** Accepted input awaiting a turn, separate from canonical model history. */
|
|
5292
|
+
const ChatPendingInputsPageSchema = closedObject({
|
|
5293
|
+
items: Type.Array(closedObject({
|
|
5294
|
+
id: NonEmptyString,
|
|
5295
|
+
runId: Type.Optional(Type.String({
|
|
5296
|
+
minLength: 1,
|
|
5297
|
+
maxLength: 256
|
|
5298
|
+
})),
|
|
5299
|
+
message: Type.Unknown(),
|
|
5300
|
+
acceptedAt: Type.Number(),
|
|
5301
|
+
state: Type.String({ enum: [
|
|
5302
|
+
"queued",
|
|
5303
|
+
"cancelled",
|
|
5304
|
+
"interrupted"
|
|
5305
|
+
] })
|
|
5306
|
+
}), { maxItems: 20 }),
|
|
5307
|
+
total: Type.Integer({ minimum: 0 }),
|
|
5308
|
+
nextBefore: Type.Optional(Type.Integer({ minimum: 1 }))
|
|
5309
|
+
});
|
|
4901
5310
|
/**
|
|
4902
5311
|
* Bounded forward catch-up response. Clients replay `messages` as `session.message`
|
|
4903
5312
|
* payloads. There is no continuation loop: more than 200 raw events or the byte
|
|
@@ -4909,14 +5318,22 @@ const ChatHistoryDeltaResultSchema = closedObject({
|
|
|
4909
5318
|
deltaCursor: Type.String(),
|
|
4910
5319
|
sessionInfo: Type.Unknown(),
|
|
4911
5320
|
agentsList: Type.Optional(Type.Unknown()),
|
|
4912
|
-
|
|
5321
|
+
inFlightRun: Type.Optional(Type.Unknown()),
|
|
5322
|
+
metadata: Type.Optional(Type.Unknown()),
|
|
5323
|
+
pendingInputs: Type.Optional(ChatPendingInputsPageSchema)
|
|
4913
5324
|
});
|
|
4914
5325
|
/** Normal cursor discontinuity; clients recover with a fresh tail request. */
|
|
4915
5326
|
const ChatHistoryResetResultSchema = closedObject({ kind: Type.Literal("reset") });
|
|
4916
5327
|
/** Closed cursor outcome union. */
|
|
4917
5328
|
const ChatHistoryCursorResultSchema = Type.Union([ChatHistoryDeltaResultSchema, ChatHistoryResetResultSchema]);
|
|
4918
|
-
/** Lightweight
|
|
4919
|
-
const ChatMetadataParamsSchema = closedObject({
|
|
5329
|
+
/** Lightweight metadata; session scope preserves the persisted auth-profile selection. */
|
|
5330
|
+
const ChatMetadataParamsSchema = closedObject({
|
|
5331
|
+
agentId: Type.Optional(NonEmptyString),
|
|
5332
|
+
sessionKey: Type.Optional(Type.String({
|
|
5333
|
+
minLength: 1,
|
|
5334
|
+
description: "Read the authorized session's persisted auth-profile selection instead of neutral agent metadata."
|
|
5335
|
+
}))
|
|
5336
|
+
});
|
|
4920
5337
|
/** Batched purpose-title request for tool calls rendered in the Control UI. */
|
|
4921
5338
|
const ChatToolTitlesParamsSchema = closedObject({
|
|
4922
5339
|
sessionKey: NonEmptyString,
|
|
@@ -4986,21 +5403,28 @@ const RunToolBindingsSchema = Type.Record(Type.String({
|
|
|
4986
5403
|
minLength: 1,
|
|
4987
5404
|
maxLength: 128
|
|
4988
5405
|
}), Type.Unknown(), { maxProperties: 16 });
|
|
5406
|
+
const QUEUE_MODES = [
|
|
5407
|
+
"steer",
|
|
5408
|
+
"followup",
|
|
5409
|
+
"collect",
|
|
5410
|
+
"interrupt"
|
|
5411
|
+
];
|
|
5412
|
+
const ChatSendIntentSchema = closedObject({
|
|
5413
|
+
kind: Type.Literal("session-goal-start"),
|
|
5414
|
+
version: Type.Literal(1),
|
|
5415
|
+
issuedAtMs: Type.Integer({ minimum: 0 })
|
|
5416
|
+
});
|
|
4989
5417
|
/** User-to-agent send request; idempotency key lets clients safely retry transport failures. */
|
|
4990
5418
|
const ChatSendParamsSchema = closedObject({
|
|
4991
5419
|
sessionKey: ChatSendSessionKeyString,
|
|
4992
5420
|
agentId: Type.Optional(NonEmptyString),
|
|
4993
5421
|
sessionId: Type.Optional(NonEmptyString),
|
|
4994
5422
|
message: Type.String(),
|
|
5423
|
+
intent: Type.Optional(ChatSendIntentSchema),
|
|
4995
5424
|
thinking: Type.Optional(Type.String()),
|
|
4996
5425
|
fastMode: Type.Optional(Type.Union([Type.Boolean(), Type.Literal("auto")])),
|
|
4997
5426
|
fastAutoOnSeconds: Type.Optional(Type.Integer({ minimum: 1 })),
|
|
4998
|
-
queueMode: Type.Optional(Type.String({ enum: [...
|
|
4999
|
-
"steer",
|
|
5000
|
-
"followup",
|
|
5001
|
-
"collect",
|
|
5002
|
-
"interrupt"
|
|
5003
|
-
]] })),
|
|
5427
|
+
queueMode: Type.Optional(Type.String({ enum: [...QUEUE_MODES] })),
|
|
5004
5428
|
deliver: Type.Optional(Type.Boolean()),
|
|
5005
5429
|
originatingChannel: Type.Optional(Type.String()),
|
|
5006
5430
|
originatingTo: Type.Optional(Type.String()),
|
|
@@ -5050,6 +5474,9 @@ const ChatEventErrorKindSchema = Type.Union([
|
|
|
5050
5474
|
/** Coarse startup stages shown while a run has not produced visible activity yet. */
|
|
5051
5475
|
const ChatRunStartupPhaseSchema = Type.Union([
|
|
5052
5476
|
Type.Literal("preparing_workspace"),
|
|
5477
|
+
Type.Literal("naming_worktree"),
|
|
5478
|
+
Type.Literal("creating_worktree"),
|
|
5479
|
+
Type.Literal("running_setup"),
|
|
5053
5480
|
Type.Literal("provisioning_environment"),
|
|
5054
5481
|
Type.Literal("preparing_context"),
|
|
5055
5482
|
Type.Literal("starting_model")
|
|
@@ -5106,16 +5533,21 @@ const ChatEventSchema = Type.Union([
|
|
|
5106
5533
|
]);
|
|
5107
5534
|
//#endregion
|
|
5108
5535
|
//#region src/schema/sessions-create.ts
|
|
5109
|
-
|
|
5536
|
+
const SESSION_CREATE_RETRY_WINDOW_MS = 4 * 6e4;
|
|
5537
|
+
const SESSION_CREATE_IDEMPOTENCY_RETENTION_MS = 5 * 6e4;
|
|
5538
|
+
/** Creates or adopts a session with optional model, thinking, fast mode, label, and parent linkage. */
|
|
5110
5539
|
const SessionsCreateParamsSchema = closedObject({
|
|
5111
5540
|
key: Type.Optional(NonEmptyString),
|
|
5541
|
+
idempotencyKey: Type.Optional(NonEmptyString),
|
|
5112
5542
|
agentId: Type.Optional(NonEmptyString),
|
|
5113
5543
|
label: Type.Optional(SessionLabelString),
|
|
5114
5544
|
category: Type.Optional(SessionLabelString),
|
|
5115
5545
|
model: Type.Optional(NonEmptyString),
|
|
5116
5546
|
contextWindow: Type.Optional(NonEmptyString),
|
|
5117
5547
|
thinkingLevel: Type.Optional(NonEmptyString),
|
|
5548
|
+
fastMode: Type.Optional(Type.Union([Type.Boolean(), Type.Literal("auto")])),
|
|
5118
5549
|
permissionMode: Type.Optional(SessionPermissionModeSchema),
|
|
5550
|
+
toolOverrides: Type.Optional(SessionToolOverridesSchema),
|
|
5119
5551
|
incognito: Type.Optional(Type.Boolean()),
|
|
5120
5552
|
visibility: Type.Optional(SessionVisibilitySchema),
|
|
5121
5553
|
catalogId: Type.Optional(NonEmptyString),
|
|
@@ -5135,6 +5567,11 @@ const SessionsCreateParamsSchema = closedObject({
|
|
|
5135
5567
|
minLength: 1,
|
|
5136
5568
|
description: "Start in a registered project; operator.write."
|
|
5137
5569
|
})),
|
|
5570
|
+
projectGitUrl: Type.Optional(Type.String({
|
|
5571
|
+
minLength: 1,
|
|
5572
|
+
maxLength: 2048,
|
|
5573
|
+
description: "Prepare a remote project before the initial agent turn; operator.write."
|
|
5574
|
+
})),
|
|
5138
5575
|
worktree: Type.Optional(Type.Boolean()),
|
|
5139
5576
|
worktreeBaseRef: Type.Optional(Type.String({
|
|
5140
5577
|
minLength: 1,
|
|
@@ -5174,6 +5611,133 @@ const SessionsRecoverResultSchema = closedObject({
|
|
|
5174
5611
|
continuation: SessionRecoveryContinuationOutcomeSchema
|
|
5175
5612
|
});
|
|
5176
5613
|
//#endregion
|
|
5614
|
+
//#region src/schema/sessions-goal.ts
|
|
5615
|
+
const SessionGoalSchema = closedObject({
|
|
5616
|
+
schemaVersion: Type.Literal(1),
|
|
5617
|
+
id: NonEmptyString,
|
|
5618
|
+
objective: Type.String(),
|
|
5619
|
+
status: Type.Union([
|
|
5620
|
+
Type.Literal("active"),
|
|
5621
|
+
Type.Literal("paused"),
|
|
5622
|
+
Type.Literal("blocked"),
|
|
5623
|
+
Type.Literal("usage_limited"),
|
|
5624
|
+
Type.Literal("budget_limited"),
|
|
5625
|
+
Type.Literal("complete")
|
|
5626
|
+
]),
|
|
5627
|
+
createdAt: Type.Number(),
|
|
5628
|
+
updatedAt: Type.Number(),
|
|
5629
|
+
tokenStart: Type.Number(),
|
|
5630
|
+
tokenStartFresh: Type.Optional(Type.Boolean()),
|
|
5631
|
+
tokensUsed: Type.Number(),
|
|
5632
|
+
tokenBudget: Type.Optional(Type.Number()),
|
|
5633
|
+
continuationTurns: Type.Number(),
|
|
5634
|
+
lastStatusNote: Type.Optional(Type.String()),
|
|
5635
|
+
pausedAt: Type.Optional(Type.Number()),
|
|
5636
|
+
blockedAt: Type.Optional(Type.Number()),
|
|
5637
|
+
completedAt: Type.Optional(Type.Number()),
|
|
5638
|
+
usageLimitedAt: Type.Optional(Type.Number()),
|
|
5639
|
+
budgetLimitedAt: Type.Optional(Type.Number())
|
|
5640
|
+
});
|
|
5641
|
+
const GoalOperationIdentity = {
|
|
5642
|
+
sessionKey: NonEmptyString,
|
|
5643
|
+
agentId: Type.Optional(NonEmptyString),
|
|
5644
|
+
sessionId: Type.Optional(NonEmptyString),
|
|
5645
|
+
goalId: NonEmptyString,
|
|
5646
|
+
operationId: Type.String({
|
|
5647
|
+
minLength: 1,
|
|
5648
|
+
maxLength: 128
|
|
5649
|
+
}),
|
|
5650
|
+
issuedAtMs: Type.Integer({ minimum: 0 })
|
|
5651
|
+
};
|
|
5652
|
+
const SessionsGoalUpdateParamsSchema = Type.Union([closedObject({
|
|
5653
|
+
...GoalOperationIdentity,
|
|
5654
|
+
action: Type.Literal("edit"),
|
|
5655
|
+
objective: Type.String({
|
|
5656
|
+
minLength: 1,
|
|
5657
|
+
maxLength: 16e3
|
|
5658
|
+
})
|
|
5659
|
+
}), closedObject({
|
|
5660
|
+
...GoalOperationIdentity,
|
|
5661
|
+
action: Type.Union([
|
|
5662
|
+
Type.Literal("pause"),
|
|
5663
|
+
Type.Literal("resume"),
|
|
5664
|
+
Type.Literal("complete"),
|
|
5665
|
+
Type.Literal("block")
|
|
5666
|
+
]),
|
|
5667
|
+
note: Type.Optional(Type.String({ maxLength: 2e3 }))
|
|
5668
|
+
})]);
|
|
5669
|
+
const SessionsGoalClearParamsSchema = closedObject(GoalOperationIdentity);
|
|
5670
|
+
const SessionsGoalMutationResultSchema = closedObject({
|
|
5671
|
+
operationId: NonEmptyString,
|
|
5672
|
+
action: Type.Union([
|
|
5673
|
+
Type.Literal("start"),
|
|
5674
|
+
Type.Literal("edit"),
|
|
5675
|
+
Type.Literal("pause"),
|
|
5676
|
+
Type.Literal("resume"),
|
|
5677
|
+
Type.Literal("complete"),
|
|
5678
|
+
Type.Literal("block"),
|
|
5679
|
+
Type.Literal("clear")
|
|
5680
|
+
]),
|
|
5681
|
+
sessionId: NonEmptyString,
|
|
5682
|
+
goalId: NonEmptyString,
|
|
5683
|
+
goal: Type.Optional(SessionGoalSchema),
|
|
5684
|
+
runId: Type.Optional(NonEmptyString),
|
|
5685
|
+
replayed: Type.Optional(Type.Literal(true)),
|
|
5686
|
+
status: Type.Union([
|
|
5687
|
+
Type.Literal("started"),
|
|
5688
|
+
Type.Literal("updated"),
|
|
5689
|
+
Type.Literal("cleared")
|
|
5690
|
+
])
|
|
5691
|
+
});
|
|
5692
|
+
//#endregion
|
|
5693
|
+
//#region src/schema/sessions-list.ts
|
|
5694
|
+
const SessionsListParamsSchema = closedObject({
|
|
5695
|
+
/** Maximum rows to return; omitted Gateway RPC calls use a bounded default. */
|
|
5696
|
+
limit: Type.Optional(Type.Integer({ minimum: 1 })),
|
|
5697
|
+
offset: Type.Optional(Type.Integer({ minimum: 0 })),
|
|
5698
|
+
activeMinutes: Type.Optional(Type.Integer({ minimum: 1 })),
|
|
5699
|
+
/** Require a real user/channel interaction; excludes synthetic isolated heartbeat rows. */
|
|
5700
|
+
requireLastInteraction: Type.Optional(Type.Boolean()),
|
|
5701
|
+
sortBy: Type.Optional(Type.Union([Type.Literal("updatedAt"), Type.Literal("lastInteractionAt")])),
|
|
5702
|
+
includeGlobal: Type.Optional(Type.Boolean()),
|
|
5703
|
+
includeUnknown: Type.Optional(Type.Boolean()),
|
|
5704
|
+
/** Limit agent-scoped rows to agents currently present in config. */
|
|
5705
|
+
configuredAgentsOnly: Type.Optional(Type.Boolean()),
|
|
5706
|
+
/**
|
|
5707
|
+
* Read a bounded transcript head projection to derive a title from the first user message.
|
|
5708
|
+
* Use `limit` to bound projection work on large stores.
|
|
5709
|
+
*/
|
|
5710
|
+
includeDerivedTitles: Type.Optional(Type.Boolean()),
|
|
5711
|
+
/**
|
|
5712
|
+
* Read a bounded transcript tail projection for the latest visible user or assistant text.
|
|
5713
|
+
* The returned short preview excludes tool, system, reasoning, and silent rows.
|
|
5714
|
+
*/
|
|
5715
|
+
includeLastMessage: Type.Optional(Type.Boolean()),
|
|
5716
|
+
label: Type.Optional(SessionLabelString),
|
|
5717
|
+
/** Limit rows to sessions with an explicitly stored Control UI face preference. */
|
|
5718
|
+
boardFace: Type.Optional(Type.Union([Type.Literal("chat"), Type.Literal("dashboard")])),
|
|
5719
|
+
/** Filter rows by their immutable creator provenance. */
|
|
5720
|
+
creatorId: Type.Optional(NonEmptyString),
|
|
5721
|
+
/** Filter rows by their current assignable owner identity. */
|
|
5722
|
+
ownerId: Type.Optional(NonEmptyString),
|
|
5723
|
+
/** Prepend the authenticated viewer's owned rows to the normal first page. */
|
|
5724
|
+
ownerFirst: Type.Optional(Type.Boolean()),
|
|
5725
|
+
/** Limit rows to sessions owned by or previously prompted by the authenticated viewer. */
|
|
5726
|
+
involvingMe: Type.Optional(Type.Boolean()),
|
|
5727
|
+
/** Profile association filter, applied to visible retained identities before pagination. */
|
|
5728
|
+
involvingProfileId: Type.Optional(NonEmptyString),
|
|
5729
|
+
/** Include a bounded people facet over visible matching sessions before the profile filter. */
|
|
5730
|
+
includePeople: Type.Optional(Type.Boolean()),
|
|
5731
|
+
spawnedBy: Type.Optional(NonEmptyString),
|
|
5732
|
+
agentId: Type.Optional(NonEmptyString),
|
|
5733
|
+
search: Type.Optional(Type.String()),
|
|
5734
|
+
/**
|
|
5735
|
+
* True lists archived sessions; "all" lists archived and active;
|
|
5736
|
+
* false or omitted lists active sessions.
|
|
5737
|
+
*/
|
|
5738
|
+
archived: Type.Optional(Type.Union([Type.Boolean(), Type.Literal("all")]))
|
|
5739
|
+
});
|
|
5740
|
+
//#endregion
|
|
5177
5741
|
//#region src/schema/sessions-delete.ts
|
|
5178
5742
|
/** Deletes a session record and optionally its transcript. */
|
|
5179
5743
|
const SessionsDeleteParamsSchema = closedObject({
|
|
@@ -5214,29 +5778,14 @@ const SessionsDeleteResultSchema = closedObject({
|
|
|
5214
5778
|
worktreePreserved: Type.Optional(PreservedSessionWorktreeSchema)
|
|
5215
5779
|
});
|
|
5216
5780
|
//#endregion
|
|
5217
|
-
//#region src/schema/sessions-resolve.ts
|
|
5218
|
-
/** Resolves a session by key, raw session id, label, short URL id, or parent/agent scope. */
|
|
5219
|
-
const SessionsResolveParamsSchema = closedObject({
|
|
5220
|
-
key: Type.Optional(NonEmptyString),
|
|
5221
|
-
sessionId: Type.Optional(NonEmptyString),
|
|
5222
|
-
label: Type.Optional(SessionLabelString),
|
|
5223
|
-
/** Bare 8-32 character hexadecimal prefix of a session key's trailing UUID. */
|
|
5224
|
-
shortId: Type.Optional(NonEmptyString),
|
|
5225
|
-
/** Optional display-name slug used only to narrow ambiguous shortId matches. */
|
|
5226
|
-
slugHint: Type.Optional(NonEmptyString),
|
|
5227
|
-
agentId: Type.Optional(NonEmptyString),
|
|
5228
|
-
spawnedBy: Type.Optional(NonEmptyString),
|
|
5229
|
-
includeGlobal: Type.Optional(Type.Boolean()),
|
|
5230
|
-
includeUnknown: Type.Optional(Type.Boolean()),
|
|
5231
|
-
/** Return a successful `{ ok: false }` response when the selector does not match a session. */
|
|
5232
|
-
allowMissing: Type.Optional(Type.Boolean())
|
|
5233
|
-
});
|
|
5234
|
-
//#endregion
|
|
5235
5781
|
//#region src/schema/sessions-patch.ts
|
|
5236
5782
|
const SESSIONS_PATCH_MANY_MAX_TARGETS = 100;
|
|
5783
|
+
const ExpectedMarkedUnreadAt = Type.Optional(Type.Union([Type.Number({ minimum: 0 }), Type.Null()], { description: "Apply an automatic unread=false acknowledgement only if the explicit unread marker still matches; null asserts no marker." }));
|
|
5237
5784
|
const SessionsPatchMutationProperties = {
|
|
5238
5785
|
label: Type.Optional(Type.Union([SessionLabelString, Type.Null()])),
|
|
5239
5786
|
icon: Type.Optional(Type.Union([Type.String(), Type.Null()])),
|
|
5787
|
+
/** Named sidebar tint from SESSION_COLOR_IDS; null clears it. */
|
|
5788
|
+
color: Type.Optional(Type.Union([Type.String(), Type.Null()])),
|
|
5240
5789
|
/** User-defined organization bucket ("category", not chat-group); null clears it. */
|
|
5241
5790
|
category: Type.Optional(Type.Union([SessionLabelString, Type.Null()])),
|
|
5242
5791
|
boardFace: Type.Optional(Type.Union([Type.Literal("chat"), Type.Literal("dashboard")])),
|
|
@@ -5296,6 +5845,7 @@ const SessionsPatchParamsSchema = closedObject({
|
|
|
5296
5845
|
/** Reject the mutation if the session was reset or replaced before it commits. */
|
|
5297
5846
|
expectedSessionId: Type.Optional(NonEmptyString),
|
|
5298
5847
|
expectedLifecycleRevision: Type.Optional(NonEmptyString),
|
|
5848
|
+
expectedMarkedUnreadAt: ExpectedMarkedUnreadAt,
|
|
5299
5849
|
...SessionsPatchMutationProperties
|
|
5300
5850
|
});
|
|
5301
5851
|
const SessionsPatchMutationSchema = Type.Object(SessionsPatchMutationProperties, {
|
|
@@ -5632,47 +6182,6 @@ const SessionsDiffResultSchema = closedObject({
|
|
|
5632
6182
|
Type.Literal("unknown_commit")
|
|
5633
6183
|
]))
|
|
5634
6184
|
});
|
|
5635
|
-
/** Lists sessions with optional scope, activity, label, and preview filters. */
|
|
5636
|
-
const SessionsListParamsSchema = closedObject({
|
|
5637
|
-
/** Maximum rows to return; omitted Gateway RPC calls use a bounded default. */
|
|
5638
|
-
limit: Type.Optional(Type.Integer({ minimum: 1 })),
|
|
5639
|
-
offset: Type.Optional(Type.Integer({ minimum: 0 })),
|
|
5640
|
-
activeMinutes: Type.Optional(Type.Integer({ minimum: 1 })),
|
|
5641
|
-
/** Require a real user/channel interaction; excludes synthetic isolated heartbeat rows. */
|
|
5642
|
-
requireLastInteraction: Type.Optional(Type.Boolean()),
|
|
5643
|
-
sortBy: Type.Optional(Type.Union([Type.Literal("updatedAt"), Type.Literal("lastInteractionAt")])),
|
|
5644
|
-
includeGlobal: Type.Optional(Type.Boolean()),
|
|
5645
|
-
includeUnknown: Type.Optional(Type.Boolean()),
|
|
5646
|
-
/** Limit agent-scoped rows to agents currently present in config. */
|
|
5647
|
-
configuredAgentsOnly: Type.Optional(Type.Boolean()),
|
|
5648
|
-
/**
|
|
5649
|
-
* Read a bounded transcript head projection to derive a title from the first user message.
|
|
5650
|
-
* Use `limit` to bound projection work on large stores.
|
|
5651
|
-
*/
|
|
5652
|
-
includeDerivedTitles: Type.Optional(Type.Boolean()),
|
|
5653
|
-
/**
|
|
5654
|
-
* Read a bounded transcript tail projection for the latest visible user or assistant text.
|
|
5655
|
-
* The returned short preview excludes tool, system, reasoning, and silent rows.
|
|
5656
|
-
*/
|
|
5657
|
-
includeLastMessage: Type.Optional(Type.Boolean()),
|
|
5658
|
-
label: Type.Optional(SessionLabelString),
|
|
5659
|
-
/** Limit rows to sessions with an explicitly stored Control UI face preference. */
|
|
5660
|
-
boardFace: Type.Optional(Type.Union([Type.Literal("chat"), Type.Literal("dashboard")])),
|
|
5661
|
-
/** Filter rows by their immutable creator provenance. */
|
|
5662
|
-
creatorId: Type.Optional(NonEmptyString),
|
|
5663
|
-
/** Filter rows by their current assignable owner identity. */
|
|
5664
|
-
ownerId: Type.Optional(NonEmptyString),
|
|
5665
|
-
/** Limit rows to sessions owned by or previously prompted by the authenticated viewer. */
|
|
5666
|
-
involvingMe: Type.Optional(Type.Boolean()),
|
|
5667
|
-
spawnedBy: Type.Optional(NonEmptyString),
|
|
5668
|
-
agentId: Type.Optional(NonEmptyString),
|
|
5669
|
-
search: Type.Optional(Type.String()),
|
|
5670
|
-
/**
|
|
5671
|
-
* True lists archived sessions; "all" lists archived and active;
|
|
5672
|
-
* false or omitted lists active sessions.
|
|
5673
|
-
*/
|
|
5674
|
-
archived: Type.Optional(Type.Union([Type.Boolean(), Type.Literal("all")]))
|
|
5675
|
-
});
|
|
5676
6185
|
/** Searches one agent's indexed session transcripts, optionally within selected sessions. */
|
|
5677
6186
|
const SessionsSearchParamsSchema = closedObject({
|
|
5678
6187
|
agentId: Type.Optional(NonEmptyString),
|
|
@@ -5828,7 +6337,7 @@ const SidebarSectionIdString = Type.String({
|
|
|
5828
6337
|
/** Custom session group catalog in display order. */
|
|
5829
6338
|
const SessionsGroupsListResultSchema = closedObject({
|
|
5830
6339
|
groups: Type.Array(SessionGroupSchema),
|
|
5831
|
-
sectionOrder: Type.Optional(Type.Array(SidebarSectionIdString
|
|
6340
|
+
sectionOrder: Type.Optional(Type.Array(SidebarSectionIdString))
|
|
5832
6341
|
});
|
|
5833
6342
|
/** Reads the New Session defaults for the custom group catalog. */
|
|
5834
6343
|
const SessionsGroupsDefaultsParamsSchema = closedObject({});
|
|
@@ -5836,8 +6345,8 @@ const SessionsGroupsDefaultsParamsSchema = closedObject({});
|
|
|
5836
6345
|
const SessionsGroupsDefaultsResultSchema = closedObject({ defaults: Type.Array(SessionGroupDefaultsSchema) });
|
|
5837
6346
|
/** Replaces the ordered group catalog; creates listed names, keeps member categories untouched. */
|
|
5838
6347
|
const SessionsGroupsPutParamsSchema = closedObject({
|
|
5839
|
-
names: Type.Array(SessionLabelString
|
|
5840
|
-
sectionOrder: Type.Optional(Type.Array(SidebarSectionIdString
|
|
6348
|
+
names: Type.Array(SessionLabelString),
|
|
6349
|
+
sectionOrder: Type.Optional(Type.Array(SidebarSectionIdString))
|
|
5841
6350
|
});
|
|
5842
6351
|
/** Renames a group and repoints every member session's category. */
|
|
5843
6352
|
const SessionsGroupsRenameParamsSchema = closedObject({
|
|
@@ -5861,7 +6370,7 @@ const SessionsGroupsDeleteParamsSchema = closedObject({ name: SessionLabelString
|
|
|
5861
6370
|
const SessionsGroupsMutationResultSchema = closedObject({
|
|
5862
6371
|
ok: Type.Literal(true),
|
|
5863
6372
|
groups: Type.Array(SessionGroupSchema),
|
|
5864
|
-
sectionOrder: Type.Optional(Type.Array(SidebarSectionIdString
|
|
6373
|
+
sectionOrder: Type.Optional(Type.Array(SidebarSectionIdString)),
|
|
5865
6374
|
updatedSessions: Type.Optional(Type.Integer({ minimum: 0 }))
|
|
5866
6375
|
});
|
|
5867
6376
|
/** Requests manual compaction for a session transcript. */
|
|
@@ -6038,6 +6547,13 @@ const SessionMemberSchema = closedObject({
|
|
|
6038
6547
|
addedBy: NonEmptyString,
|
|
6039
6548
|
addedAt: Type.Integer({ minimum: 0 })
|
|
6040
6549
|
});
|
|
6550
|
+
const SessionMemberEvidenceSchema = Object.assign(closedObject({
|
|
6551
|
+
identityId: NonEmptyString,
|
|
6552
|
+
addedBy: Type.Optional(NonEmptyString),
|
|
6553
|
+
/** Explicit principal-less evidence; omission means no actor evidence was supplied. */
|
|
6554
|
+
addedByState: Type.Optional(Type.Literal("unknown")),
|
|
6555
|
+
addedAt: Type.Integer({ minimum: 0 })
|
|
6556
|
+
}), { not: { required: ["addedBy", "addedByState"] } });
|
|
6041
6557
|
const SessionMembersListResultSchema = closedObject({
|
|
6042
6558
|
sessionKey: NonEmptyString,
|
|
6043
6559
|
owner: Type.Optional(SessionSharingIdentitySchema),
|
|
@@ -6046,6 +6562,14 @@ const SessionMembersListResultSchema = closedObject({
|
|
|
6046
6562
|
role: SessionSharingRoleSchema,
|
|
6047
6563
|
allowedVisibilities: Type.Array(SessionVisibilitySchema)
|
|
6048
6564
|
});
|
|
6565
|
+
const SessionMembersListEvidenceResultSchema = closedObject({
|
|
6566
|
+
sessionKey: NonEmptyString,
|
|
6567
|
+
owner: Type.Optional(SessionSharingIdentitySchema),
|
|
6568
|
+
members: Type.Array(SessionMemberEvidenceSchema),
|
|
6569
|
+
identities: Type.Array(SessionSharingIdentitySchema),
|
|
6570
|
+
role: SessionSharingRoleSchema,
|
|
6571
|
+
allowedVisibilities: Type.Array(SessionVisibilitySchema)
|
|
6572
|
+
});
|
|
6049
6573
|
const SessionMemberAddParamsSchema = closedObject({
|
|
6050
6574
|
...SessionSharingTargetParamsSchema,
|
|
6051
6575
|
identityId: NonEmptyString
|
|
@@ -6056,14 +6580,28 @@ const SessionMemberMutationResultSchema = closedObject({
|
|
|
6056
6580
|
sessionKey: NonEmptyString,
|
|
6057
6581
|
identityId: NonEmptyString
|
|
6058
6582
|
});
|
|
6059
|
-
const
|
|
6583
|
+
const SessionSharingEventTargetFields = {
|
|
6060
6584
|
action: SessionSharingActionSchema,
|
|
6061
6585
|
sessionKey: NonEmptyString,
|
|
6062
|
-
agentId: NonEmptyString
|
|
6063
|
-
|
|
6586
|
+
agentId: NonEmptyString
|
|
6587
|
+
};
|
|
6588
|
+
const SessionSharingEventChangeFields = {
|
|
6064
6589
|
visibility: Type.Optional(SessionVisibilitySchema),
|
|
6065
6590
|
identityId: Type.Optional(NonEmptyString),
|
|
6066
6591
|
ts: Type.Integer({ minimum: 0 })
|
|
6592
|
+
};
|
|
6593
|
+
/** Original sharing event contract. Older generated clients require `actor`. */
|
|
6594
|
+
const SessionSharingEventSchema = closedObject({
|
|
6595
|
+
...SessionSharingEventTargetFields,
|
|
6596
|
+
actor: SessionSharingIdentitySchema,
|
|
6597
|
+
...SessionSharingEventChangeFields
|
|
6598
|
+
});
|
|
6599
|
+
/** Principal-less sharing changes use a distinct additive event name. */
|
|
6600
|
+
const SessionSharingEvidenceEventSchema = closedObject({
|
|
6601
|
+
...SessionSharingEventTargetFields,
|
|
6602
|
+
/** Explicit principal-less evidence; omission means no actor evidence was supplied. */
|
|
6603
|
+
actorState: Type.Optional(Type.Literal("unknown")),
|
|
6604
|
+
...SessionSharingEventChangeFields
|
|
6067
6605
|
});
|
|
6068
6606
|
//#endregion
|
|
6069
6607
|
//#region src/schema/sessions-suggestions.ts
|
|
@@ -7427,7 +7965,10 @@ const DecisionReceiptDisplayProvenanceV1Schema = Type.Union([closedObject({
|
|
|
7427
7965
|
producer: Type.Union([
|
|
7428
7966
|
Type.Literal("run-admission"),
|
|
7429
7967
|
Type.Literal("operator-approval"),
|
|
7430
|
-
Type.Literal("message-delivery")
|
|
7968
|
+
Type.Literal("message-delivery"),
|
|
7969
|
+
Type.Literal("cron-lifecycle"),
|
|
7970
|
+
Type.Literal("task-lifecycle"),
|
|
7971
|
+
Type.Literal("flow-lifecycle")
|
|
7431
7972
|
])
|
|
7432
7973
|
}), closedObject({ state: Type.Literal("unverified") })]);
|
|
7433
7974
|
const DecisionReceiptDisplayV1Schema = closedObject({
|
|
@@ -7615,16 +8156,67 @@ const AuditListResultSchema = closedObject({
|
|
|
7615
8156
|
nextCursor: Type.Optional(NonEmptyString)
|
|
7616
8157
|
});
|
|
7617
8158
|
//#endregion
|
|
8159
|
+
//#region src/schema/ui-appearance-preferences.ts
|
|
8160
|
+
const UI_APPEARANCE_PREFERENCE_KEYS = {
|
|
8161
|
+
theme: "ui.theme",
|
|
8162
|
+
themeMode: "ui.themeMode",
|
|
8163
|
+
accent: "ui.accent",
|
|
8164
|
+
fontUi: "ui.fontUi",
|
|
8165
|
+
fontChat: "ui.fontChat"
|
|
8166
|
+
};
|
|
8167
|
+
const UI_APPEARANCE_THEME_VALUES = [
|
|
8168
|
+
"claw",
|
|
8169
|
+
"knot",
|
|
8170
|
+
"dash",
|
|
8171
|
+
"absolutely",
|
|
8172
|
+
"tide",
|
|
8173
|
+
"beacon",
|
|
8174
|
+
"phosphor"
|
|
8175
|
+
];
|
|
8176
|
+
const UI_APPEARANCE_TYPEFACE_VALUES = [
|
|
8177
|
+
"instrument-sans",
|
|
8178
|
+
"geist",
|
|
8179
|
+
"dm-sans",
|
|
8180
|
+
"ibm-plex-sans",
|
|
8181
|
+
"space-grotesk",
|
|
8182
|
+
"atkinson-hyperlegible",
|
|
8183
|
+
"fraunces",
|
|
8184
|
+
"lora",
|
|
8185
|
+
"jetbrains-mono",
|
|
8186
|
+
"system"
|
|
8187
|
+
];
|
|
8188
|
+
const UI_APPEARANCE_THEMES = new Set(UI_APPEARANCE_THEME_VALUES);
|
|
8189
|
+
const UI_APPEARANCE_THEME_MODES = /* @__PURE__ */ new Set([
|
|
8190
|
+
"light",
|
|
8191
|
+
"dark",
|
|
8192
|
+
"system"
|
|
8193
|
+
]);
|
|
8194
|
+
const UI_APPEARANCE_TYPEFACES = new Set(UI_APPEARANCE_TYPEFACE_VALUES);
|
|
8195
|
+
function normalizeUiAppearancePreference(key, value) {
|
|
8196
|
+
if (typeof value !== "string") return;
|
|
8197
|
+
if (key === UI_APPEARANCE_PREFERENCE_KEYS.accent) return /^#[0-9a-f]{6}$/i.test(value) ? value.toLowerCase() : void 0;
|
|
8198
|
+
if (key === UI_APPEARANCE_PREFERENCE_KEYS.fontUi || key === UI_APPEARANCE_PREFERENCE_KEYS.fontChat) return UI_APPEARANCE_TYPEFACES.has(value) ? value : void 0;
|
|
8199
|
+
return (key === UI_APPEARANCE_PREFERENCE_KEYS.theme ? UI_APPEARANCE_THEMES : UI_APPEARANCE_THEME_MODES).has(value) ? value : void 0;
|
|
8200
|
+
}
|
|
8201
|
+
//#endregion
|
|
7618
8202
|
//#region src/schema/users.ts
|
|
7619
8203
|
const USER_PREFS_ENTRY_LIMIT = 32;
|
|
7620
8204
|
const USER_PREFS_PROFILE_KEY_LIMIT = 128;
|
|
7621
8205
|
const USER_PREFS_VALUE_BYTES = 4 * 1024;
|
|
7622
8206
|
const GIT_COAUTHOR_PREFERENCE_KEY = "git.coauthor.enabled";
|
|
8207
|
+
function isGitCoauthorCreditEnabled(value) {
|
|
8208
|
+
return value === void 0 || value === true;
|
|
8209
|
+
}
|
|
7623
8210
|
const UserProfileIdSchema = Type.String({
|
|
7624
8211
|
minLength: 1,
|
|
7625
8212
|
maxLength: 128
|
|
7626
8213
|
});
|
|
7627
8214
|
const UserProfileDisplayNameSchema = Type.String({ maxLength: 256 });
|
|
8215
|
+
const UserProfileRoleSchema = Type.String({
|
|
8216
|
+
minLength: 1,
|
|
8217
|
+
maxLength: 128,
|
|
8218
|
+
pattern: "\\S"
|
|
8219
|
+
});
|
|
7628
8220
|
const UserPreferenceKeySchema = Type.String({ pattern: "^.{1,256}$" });
|
|
7629
8221
|
const UserPreferenceEntriesSchema = Type.Record(UserPreferenceKeySchema, Type.Unknown());
|
|
7630
8222
|
const UserPreferenceSetEntriesSchema = Type.Record(UserPreferenceKeySchema, Type.Unknown(), { maxProperties: 32 });
|
|
@@ -7650,7 +8242,8 @@ const UserProfileSchema = closedObject({
|
|
|
7650
8242
|
updatedAt: Type.Integer({ minimum: 0 }),
|
|
7651
8243
|
emails: Type.Array(NonEmptyString),
|
|
7652
8244
|
githubIdentity: Type.Union([UserProfileGitHubIdentitySchema, Type.Null()]),
|
|
7653
|
-
hasAvatar: Type.Boolean()
|
|
8245
|
+
hasAvatar: Type.Boolean(),
|
|
8246
|
+
role: Type.Optional(UserProfileRoleSchema)
|
|
7654
8247
|
});
|
|
7655
8248
|
const UsersListParamsSchema = closedObject({});
|
|
7656
8249
|
const UsersListResultSchema = closedObject({ profiles: Type.Array(UserProfileSchema) });
|
|
@@ -7669,6 +8262,11 @@ const UsersSetDisplayNameParamsSchema = closedObject({
|
|
|
7669
8262
|
displayName: Type.Union([UserProfileDisplayNameSchema, Type.Null()])
|
|
7670
8263
|
});
|
|
7671
8264
|
const UsersSetDisplayNameResultSchema = closedObject({ profile: UserProfileSchema });
|
|
8265
|
+
const UsersSetRoleParamsSchema = closedObject({
|
|
8266
|
+
profileId: UserProfileIdSchema,
|
|
8267
|
+
role: Type.Union([UserProfileRoleSchema, Type.Null()])
|
|
8268
|
+
});
|
|
8269
|
+
const UsersSetRoleResultSchema = closedObject({ profile: UserProfileSchema });
|
|
7672
8270
|
const UsersSetAvatarParamsSchema = closedObject({
|
|
7673
8271
|
profileId: UserProfileIdSchema,
|
|
7674
8272
|
mime: UserProfileAvatarMimeSchema,
|
|
@@ -7691,6 +8289,13 @@ const UsersPrefsGetResultSchema = Type.Union([closedObject({
|
|
|
7691
8289
|
}), closedObject({ status: Type.Literal("no_durable_identity") })]);
|
|
7692
8290
|
const UsersPrefsSetParamsSchema = closedObject({ entries: UserPreferenceSetEntriesSchema });
|
|
7693
8291
|
const UsersPrefsSetResultSchema = Type.Union([closedObject({ status: Type.Literal("ok") }), closedObject({ status: Type.Literal("no_durable_identity") })]);
|
|
8292
|
+
const UsersPrefsChangedEventSchema = closedObject({
|
|
8293
|
+
profileId: UserProfileIdSchema,
|
|
8294
|
+
keys: Type.Array(UserPreferenceKeySchema, {
|
|
8295
|
+
maxItems: 32,
|
|
8296
|
+
uniqueItems: true
|
|
8297
|
+
})
|
|
8298
|
+
});
|
|
7694
8299
|
//#endregion
|
|
7695
8300
|
//#region src/schema/channels.ts
|
|
7696
8301
|
/**
|
|
@@ -8001,6 +8606,7 @@ const TalkCatalogProviderSchema = closedObject({
|
|
|
8001
8606
|
aliases: Type.Optional(Type.Array(NonEmptyString)),
|
|
8002
8607
|
models: Type.Optional(Type.Array(Type.String())),
|
|
8003
8608
|
voices: Type.Optional(Type.Array(Type.String())),
|
|
8609
|
+
voicesByModel: Type.Optional(Type.Record(Type.String(), Type.Array(Type.String()))),
|
|
8004
8610
|
defaultModel: Type.Optional(Type.String()),
|
|
8005
8611
|
modes: Type.Optional(Type.Array(TalkModeSchema)),
|
|
8006
8612
|
transports: Type.Optional(Type.Array(TalkTransportSchema)),
|
|
@@ -8571,7 +9177,11 @@ const WizardResultFields = {
|
|
|
8571
9177
|
error: Type.Optional(Type.String()),
|
|
8572
9178
|
channels: Type.Optional(Type.Array(NonEmptyString)),
|
|
8573
9179
|
accounts: Type.Optional(Type.Array(WizardConfiguredAccountSchema)),
|
|
8574
|
-
preparedModelRef: Type.Optional(NonEmptyString)
|
|
9180
|
+
preparedModelRef: Type.Optional(NonEmptyString),
|
|
9181
|
+
modelActivation: Type.Optional(closedObject({
|
|
9182
|
+
modelRef: NonEmptyString,
|
|
9183
|
+
gatewayRestartRequired: Type.Optional(Type.Literal(true))
|
|
9184
|
+
}))
|
|
8575
9185
|
};
|
|
8576
9186
|
/** Result after advancing a wizard session. */
|
|
8577
9187
|
const WizardNextResultSchema = closedObject(WizardResultFields);
|
|
@@ -8883,7 +9493,7 @@ const SystemAgentSetupActivateResultSchema = closedObject({
|
|
|
8883
9493
|
latencyMs: Type.Optional(Type.Number()),
|
|
8884
9494
|
/** Human-readable setup summary lines (workspace, model, gateway). */
|
|
8885
9495
|
lines: Type.Optional(Type.Array(Type.String())),
|
|
8886
|
-
/** The committed
|
|
9496
|
+
/** The committed config requires clients to reconnect after a Gateway restart. */
|
|
8887
9497
|
gatewayRestartRequired: Type.Optional(Type.Literal(true)),
|
|
8888
9498
|
/** Present on failure: coarse bucket for client copy + docs links. */
|
|
8889
9499
|
status: Type.Optional(SetupInferenceStatus),
|
|
@@ -9196,7 +9806,7 @@ const CronPayloadSchema = Type.Union([
|
|
|
9196
9806
|
CronScriptPayloadSchema
|
|
9197
9807
|
]);
|
|
9198
9808
|
/**
|
|
9199
|
-
* Reported payloads add
|
|
9809
|
+
* Reported payloads add system-owned monitor kinds; they are
|
|
9200
9810
|
* gateway-converged only, so create/patch schemas intentionally omit it.
|
|
9201
9811
|
*/
|
|
9202
9812
|
const CronReportedPayloadSchema = Type.Union([
|
|
@@ -9204,7 +9814,8 @@ const CronReportedPayloadSchema = Type.Union([
|
|
|
9204
9814
|
CronAgentTurnPayloadSchema,
|
|
9205
9815
|
CronCommandPayloadSchema,
|
|
9206
9816
|
CronScriptPayloadSchema,
|
|
9207
|
-
closedObject({ kind: Type.Literal("heartbeat") })
|
|
9817
|
+
closedObject({ kind: Type.Literal("heartbeat") }),
|
|
9818
|
+
closedObject({ kind: Type.Literal("skillCollectionReview") })
|
|
9208
9819
|
]);
|
|
9209
9820
|
/** Partial cron payload for job updates. */
|
|
9210
9821
|
const CronPayloadPatchSchema = Type.Union([
|
|
@@ -9380,6 +9991,7 @@ const CronJobStateSchema = closedObject({
|
|
|
9380
9991
|
lastDelivered: Type.Optional(Type.Boolean()),
|
|
9381
9992
|
lastDeliveryStatus: Type.Optional(CronDeliveryStatusSchema),
|
|
9382
9993
|
lastDeliveryError: Type.Optional(Type.String()),
|
|
9994
|
+
deliverySuppressionReason: Type.Optional(Type.String()),
|
|
9383
9995
|
lastFailureNotificationDelivered: Type.Optional(Type.Boolean()),
|
|
9384
9996
|
lastFailureNotificationDeliveryStatus: Type.Optional(CronDeliveryStatusSchema),
|
|
9385
9997
|
lastFailureNotificationDeliveryError: Type.Optional(Type.String()),
|
|
@@ -9476,6 +10088,7 @@ const CronJobSchema = closedObject({
|
|
|
9476
10088
|
lastDelivered: Type.Optional(Type.Boolean()),
|
|
9477
10089
|
lastDeliveryStatus: Type.Optional(CronDeliveryStatusSchema),
|
|
9478
10090
|
lastDeliveryError: Type.Optional(Type.String()),
|
|
10091
|
+
deliverySuppressionReason: Type.Optional(Type.String()),
|
|
9479
10092
|
lastFailureNotificationDelivered: Type.Optional(Type.Boolean()),
|
|
9480
10093
|
lastFailureNotificationDeliveryStatus: Type.Optional(CronDeliveryStatusSchema),
|
|
9481
10094
|
lastFailureNotificationDeliveryError: Type.Optional(Type.String())
|
|
@@ -9628,6 +10241,7 @@ const CronRunLogEntrySchema = closedObject({
|
|
|
9628
10241
|
delivered: Type.Optional(Type.Boolean()),
|
|
9629
10242
|
deliveryStatus: Type.Optional(CronDeliveryStatusSchema),
|
|
9630
10243
|
deliveryError: Type.Optional(Type.String()),
|
|
10244
|
+
deliverySuppressionReason: Type.Optional(Type.String()),
|
|
9631
10245
|
failureNotificationDelivery: Type.Optional(CronFailureNotificationDeliverySchema),
|
|
9632
10246
|
delivery: Type.Optional(CronDeliveryTraceSchema),
|
|
9633
10247
|
sessionId: Type.Optional(NonEmptyString),
|
|
@@ -9879,6 +10493,7 @@ const ExecApprovalRequestParamsSchema = closedObject({
|
|
|
9879
10493
|
security: Type.Optional(Type.Union([Type.String(), Type.Null()])),
|
|
9880
10494
|
ask: Type.Optional(Type.Union([Type.String(), Type.Null()])),
|
|
9881
10495
|
warningText: Type.Optional(Type.Union([Type.String(), Type.Null()])),
|
|
10496
|
+
scope: Type.Optional(ApprovalScopeSchema),
|
|
9882
10497
|
unavailableDecisions: Type.Optional(Type.Array(Type.String({ enum: ["allow-always"] }), {
|
|
9883
10498
|
minItems: 1,
|
|
9884
10499
|
maxItems: 1
|
|
@@ -9910,6 +10525,7 @@ const ExecApprovalRequestParamsSchema = closedObject({
|
|
|
9910
10525
|
approvalReviewerDeviceIds: Type.Optional(Type.Array(NonEmptyString, { description: "Trusted approval-runtime metadata naming operator devices that may review this approval; ordinary Gateway clients may send the field, but the Gateway only binds it for internal approval-runtime requests." })),
|
|
9911
10526
|
requireDeliveryRoute: Type.Optional(Type.Boolean()),
|
|
9912
10527
|
suppressDelivery: Type.Optional(Type.Boolean()),
|
|
10528
|
+
deliverToApprovalClientsOnly: Type.Optional(Type.Boolean()),
|
|
9913
10529
|
timeoutMs: Type.Optional(Type.Integer({ minimum: 1 })),
|
|
9914
10530
|
twoPhase: Type.Optional(Type.Boolean())
|
|
9915
10531
|
});
|
|
@@ -9917,8 +10533,52 @@ const ExecApprovalRequestParamsSchema = closedObject({
|
|
|
9917
10533
|
const ExecApprovalResolveParamsSchema = closedObject({
|
|
9918
10534
|
id: NonEmptyString,
|
|
9919
10535
|
decision: NonEmptyString,
|
|
9920
|
-
reviewer: Type.Optional(ApprovalChannelReviewerSchema)
|
|
10536
|
+
reviewer: Type.Optional(ApprovalChannelReviewerSchema),
|
|
10537
|
+
grantExpiresInDays: Type.Optional(Type.Integer({
|
|
10538
|
+
minimum: 1,
|
|
10539
|
+
maximum: 3650
|
|
10540
|
+
}))
|
|
9921
10541
|
});
|
|
10542
|
+
/** Operator listing filter for standing grants; bounded for prompt-safe output. */
|
|
10543
|
+
const ExecApprovalGrantsListParamsSchema = closedObject({ limit: Type.Optional(Type.Integer({
|
|
10544
|
+
minimum: 1,
|
|
10545
|
+
maximum: 500
|
|
10546
|
+
})) });
|
|
10547
|
+
/** One standing grant projected for operator surfaces. */
|
|
10548
|
+
const ExecApprovalStandingGrantSchema = closedObject({
|
|
10549
|
+
grantId: NonEmptyString,
|
|
10550
|
+
mintedByApprovalId: NonEmptyString,
|
|
10551
|
+
agentId: NonEmptyString,
|
|
10552
|
+
cronJobId: NonEmptyString,
|
|
10553
|
+
cronJobName: Type.Union([Type.String({
|
|
10554
|
+
minLength: 1,
|
|
10555
|
+
maxLength: 200
|
|
10556
|
+
}), Type.Null()]),
|
|
10557
|
+
command: Type.String({
|
|
10558
|
+
minLength: 1,
|
|
10559
|
+
maxLength: 512
|
|
10560
|
+
}),
|
|
10561
|
+
cwd: Type.Union([Type.String({
|
|
10562
|
+
minLength: 1,
|
|
10563
|
+
maxLength: 512
|
|
10564
|
+
}), Type.Null()]),
|
|
10565
|
+
createdAtMs: Type.Integer({ minimum: 0 }),
|
|
10566
|
+
expiresAtMs: Type.Union([Type.Integer({ minimum: 0 }), Type.Null()]),
|
|
10567
|
+
revokedAtMs: Type.Union([Type.Integer({ minimum: 0 }), Type.Null()]),
|
|
10568
|
+
revokedBy: Type.Union([Type.String({
|
|
10569
|
+
minLength: 1,
|
|
10570
|
+
maxLength: 200
|
|
10571
|
+
}), Type.Null()]),
|
|
10572
|
+
lastUsedAtMs: Type.Union([Type.Integer({ minimum: 0 }), Type.Null()]),
|
|
10573
|
+
useCount: Type.Integer({ minimum: 0 })
|
|
10574
|
+
});
|
|
10575
|
+
const ExecApprovalGrantsListResultSchema = closedObject({ grants: Type.Array(ExecApprovalStandingGrantSchema, { maxItems: 500 }) });
|
|
10576
|
+
const ExecApprovalGrantsRevokeParamsSchema = closedObject({ grantId: NonEmptyString });
|
|
10577
|
+
const ExecApprovalGrantsRevokeResultSchema = closedObject({ outcome: Type.Union([
|
|
10578
|
+
Type.Literal("revoked"),
|
|
10579
|
+
Type.Literal("already-revoked"),
|
|
10580
|
+
Type.Literal("not-found")
|
|
10581
|
+
]) });
|
|
9922
10582
|
//#endregion
|
|
9923
10583
|
//#region src/schema/devices.ts
|
|
9924
10584
|
/**
|
|
@@ -10254,7 +10914,8 @@ const GatewaySuspendBlockerSchema = closedObject({
|
|
|
10254
10914
|
});
|
|
10255
10915
|
const GatewaySuspendPrepareParamsSchema = closedObject({
|
|
10256
10916
|
requestId: SuspensionTokenSchema,
|
|
10257
|
-
terminalPolicy: Type.Optional(Type.Union([Type.Literal("preserve"), Type.Literal("terminate")]))
|
|
10917
|
+
terminalPolicy: Type.Optional(Type.Union([Type.Literal("preserve"), Type.Literal("terminate")])),
|
|
10918
|
+
drain: Type.Optional(Type.Boolean())
|
|
10258
10919
|
});
|
|
10259
10920
|
const GatewaySuspendPrepareBusyResultSchema = closedObject({
|
|
10260
10921
|
status: Type.Literal("busy"),
|
|
@@ -10263,6 +10924,14 @@ const GatewaySuspendPrepareBusyResultSchema = closedObject({
|
|
|
10263
10924
|
activeCount: CountSchema,
|
|
10264
10925
|
blockers: Type.Array(GatewaySuspendBlockerSchema)
|
|
10265
10926
|
});
|
|
10927
|
+
const GatewaySuspendPrepareDrainingResultSchema = closedObject({
|
|
10928
|
+
status: Type.Literal("draining"),
|
|
10929
|
+
suspensionId: SuspensionTokenSchema,
|
|
10930
|
+
expiresAtMs: CountSchema,
|
|
10931
|
+
retryAfterMs: CountSchema,
|
|
10932
|
+
activeCount: CountSchema,
|
|
10933
|
+
blockers: Type.Array(GatewaySuspendBlockerSchema)
|
|
10934
|
+
});
|
|
10266
10935
|
const GatewaySuspendPrepareReadyResultSchema = closedObject({
|
|
10267
10936
|
status: Type.Literal("ready"),
|
|
10268
10937
|
suspensionId: SuspensionTokenSchema,
|
|
@@ -10270,14 +10939,29 @@ const GatewaySuspendPrepareReadyResultSchema = closedObject({
|
|
|
10270
10939
|
activeCount: CountSchema,
|
|
10271
10940
|
blockers: Type.Array(GatewaySuspendBlockerSchema)
|
|
10272
10941
|
});
|
|
10273
|
-
const GatewaySuspendPrepareResultSchema = Type.Union([
|
|
10942
|
+
const GatewaySuspendPrepareResultSchema = Type.Union([
|
|
10943
|
+
GatewaySuspendPrepareBusyResultSchema,
|
|
10944
|
+
GatewaySuspendPrepareDrainingResultSchema,
|
|
10945
|
+
GatewaySuspendPrepareReadyResultSchema
|
|
10946
|
+
]);
|
|
10274
10947
|
const GatewaySuspendStatusParamsSchema = closedObject({ suspensionId: SuspensionTokenSchema });
|
|
10275
10948
|
const GatewaySuspendStatusRunningResultSchema = closedObject({ status: Type.Literal("running") });
|
|
10949
|
+
const GatewaySuspendStatusDrainingResultSchema = closedObject({
|
|
10950
|
+
status: Type.Literal("draining"),
|
|
10951
|
+
expiresAtMs: CountSchema,
|
|
10952
|
+
retryAfterMs: CountSchema,
|
|
10953
|
+
activeCount: CountSchema,
|
|
10954
|
+
blockers: Type.Array(GatewaySuspendBlockerSchema)
|
|
10955
|
+
});
|
|
10276
10956
|
const GatewaySuspendStatusReadyResultSchema = closedObject({
|
|
10277
10957
|
status: Type.Literal("ready"),
|
|
10278
10958
|
expiresAtMs: CountSchema
|
|
10279
10959
|
});
|
|
10280
|
-
const GatewaySuspendStatusResultSchema = Type.Union([
|
|
10960
|
+
const GatewaySuspendStatusResultSchema = Type.Union([
|
|
10961
|
+
GatewaySuspendStatusRunningResultSchema,
|
|
10962
|
+
GatewaySuspendStatusDrainingResultSchema,
|
|
10963
|
+
GatewaySuspendStatusReadyResultSchema
|
|
10964
|
+
]);
|
|
10281
10965
|
const GatewaySuspendResumeParamsSchema = GatewaySuspendStatusParamsSchema;
|
|
10282
10966
|
const GatewaySuspendResumeResultSchema = closedObject({
|
|
10283
10967
|
ok: Type.Literal(true),
|
|
@@ -10520,6 +11204,66 @@ const WebPushKeysSchema = closedObject({
|
|
|
10520
11204
|
maxLength: 512
|
|
10521
11205
|
})
|
|
10522
11206
|
});
|
|
11207
|
+
const WebPushNotificationCategorySchema = Type.String({ enum: [
|
|
11208
|
+
"approval-requested",
|
|
11209
|
+
"agent-finished",
|
|
11210
|
+
"agent-question",
|
|
11211
|
+
"scheduled-task-failed",
|
|
11212
|
+
"background-task-failed"
|
|
11213
|
+
] });
|
|
11214
|
+
const WebPushDetailLevelSchema = Type.String({ enum: [
|
|
11215
|
+
"private",
|
|
11216
|
+
"identified",
|
|
11217
|
+
"detailed"
|
|
11218
|
+
] });
|
|
11219
|
+
const WebPushCategoryPreferencesSchema = closedObject({
|
|
11220
|
+
approvalRequested: Type.Boolean(),
|
|
11221
|
+
agentFinished: Type.Boolean(),
|
|
11222
|
+
agentQuestion: Type.Boolean(),
|
|
11223
|
+
scheduledTaskFailed: Type.Boolean(),
|
|
11224
|
+
backgroundTaskFailed: Type.Boolean()
|
|
11225
|
+
});
|
|
11226
|
+
const WebPushQuietHoursSchema = closedObject({
|
|
11227
|
+
enabled: Type.Boolean(),
|
|
11228
|
+
startMinute: Type.Integer({
|
|
11229
|
+
minimum: 0,
|
|
11230
|
+
maximum: 1439
|
|
11231
|
+
}),
|
|
11232
|
+
endMinute: Type.Integer({
|
|
11233
|
+
minimum: 0,
|
|
11234
|
+
maximum: 1439
|
|
11235
|
+
}),
|
|
11236
|
+
timeZone: Type.String({
|
|
11237
|
+
minLength: 1,
|
|
11238
|
+
maxLength: 128
|
|
11239
|
+
})
|
|
11240
|
+
});
|
|
11241
|
+
const WebPushNotificationPreferencesSchema = closedObject({
|
|
11242
|
+
categories: WebPushCategoryPreferencesSchema,
|
|
11243
|
+
detailLevel: WebPushDetailLevelSchema,
|
|
11244
|
+
quietHours: WebPushQuietHoursSchema,
|
|
11245
|
+
agentIds: Type.Array(Type.String({
|
|
11246
|
+
minLength: 1,
|
|
11247
|
+
maxLength: 128
|
|
11248
|
+
}), { maxItems: 128 })
|
|
11249
|
+
});
|
|
11250
|
+
const WebPushDevicePreferencesSchema = closedObject({
|
|
11251
|
+
enabled: Type.Boolean(),
|
|
11252
|
+
label: Type.String({ maxLength: 80 }),
|
|
11253
|
+
categories: Type.Optional(closedObject({
|
|
11254
|
+
approvalRequested: Type.Optional(Type.Boolean()),
|
|
11255
|
+
agentFinished: Type.Optional(Type.Boolean()),
|
|
11256
|
+
agentQuestion: Type.Optional(Type.Boolean()),
|
|
11257
|
+
scheduledTaskFailed: Type.Optional(Type.Boolean()),
|
|
11258
|
+
backgroundTaskFailed: Type.Optional(Type.Boolean())
|
|
11259
|
+
})),
|
|
11260
|
+
detailLevel: Type.Optional(WebPushDetailLevelSchema),
|
|
11261
|
+
quietHours: Type.Optional(WebPushQuietHoursSchema),
|
|
11262
|
+
agentIds: Type.Optional(Type.Array(Type.String({
|
|
11263
|
+
minLength: 1,
|
|
11264
|
+
maxLength: 128
|
|
11265
|
+
}), { maxItems: 128 }))
|
|
11266
|
+
});
|
|
10523
11267
|
/** Empty request payload for fetching the Web Push VAPID public key. */
|
|
10524
11268
|
const WebPushVapidPublicKeyParamsSchema = closedObject({});
|
|
10525
11269
|
/** Browser Web Push subscription payload registered with the gateway. */
|
|
@@ -10542,14 +11286,54 @@ const WebPushTestParamsSchema = closedObject({
|
|
|
10542
11286
|
title: Type.Optional(Type.String()),
|
|
10543
11287
|
body: Type.Optional(Type.String())
|
|
10544
11288
|
});
|
|
11289
|
+
const WebPushPreferencesGetParamsSchema = closedObject({ endpoint: Type.String({
|
|
11290
|
+
minLength: 1,
|
|
11291
|
+
maxLength: 2048,
|
|
11292
|
+
pattern: "^https://"
|
|
11293
|
+
}) });
|
|
11294
|
+
const WebPushPreferencesEndpointSchema = Type.String({
|
|
11295
|
+
minLength: 1,
|
|
11296
|
+
maxLength: 2048,
|
|
11297
|
+
pattern: "^https://"
|
|
11298
|
+
});
|
|
11299
|
+
const WebPushPreferencesSetParamsSchema = Type.Union([closedObject({
|
|
11300
|
+
endpoint: WebPushPreferencesEndpointSchema,
|
|
11301
|
+
scope: Type.Literal("user"),
|
|
11302
|
+
preferences: WebPushNotificationPreferencesSchema
|
|
11303
|
+
}), closedObject({
|
|
11304
|
+
endpoint: WebPushPreferencesEndpointSchema,
|
|
11305
|
+
scope: Type.Literal("device"),
|
|
11306
|
+
preferences: WebPushDevicePreferencesSchema
|
|
11307
|
+
})]);
|
|
10545
11308
|
//#endregion
|
|
10546
11309
|
//#region src/schema/questions.ts
|
|
10547
11310
|
const QuestionIdSchema = Type.String({ pattern: "^[a-z][a-z0-9_]*$" });
|
|
10548
11311
|
const QuestionHeaderSchema = Type.String({ maxLength: 12 });
|
|
11312
|
+
const QuestionSecretStoreAllowedHostsSchema = Type.Array(Type.String({
|
|
11313
|
+
minLength: 1,
|
|
11314
|
+
maxLength: 253
|
|
11315
|
+
}), {
|
|
11316
|
+
maxItems: 128,
|
|
11317
|
+
uniqueItems: true
|
|
11318
|
+
});
|
|
10549
11319
|
const QuestionOptionSchema = closedObject({
|
|
10550
11320
|
label: NonEmptyString,
|
|
10551
11321
|
description: Type.Optional(Type.String())
|
|
10552
11322
|
});
|
|
11323
|
+
const QuestionSecretStoreBindingSchema = closedObject({
|
|
11324
|
+
name: Type.String({
|
|
11325
|
+
minLength: 1,
|
|
11326
|
+
maxLength: 128,
|
|
11327
|
+
pattern: "^[A-Z][A-Z0-9_]{0,127}$"
|
|
11328
|
+
}),
|
|
11329
|
+
kind: Type.Union([Type.Literal("secret"), Type.Literal("env")]),
|
|
11330
|
+
allowedHosts: Type.Optional(QuestionSecretStoreAllowedHostsSchema),
|
|
11331
|
+
reason: Type.Optional(Type.String({ maxLength: 200 }))
|
|
11332
|
+
});
|
|
11333
|
+
const QuestionSecretStoreExistingSchema = closedObject({
|
|
11334
|
+
updatedAtMs: Type.Integer({ minimum: 0 }),
|
|
11335
|
+
updatedBy: Type.Optional(NonEmptyString)
|
|
11336
|
+
});
|
|
10553
11337
|
const QuestionInputFields = {
|
|
10554
11338
|
questionId: QuestionIdSchema,
|
|
10555
11339
|
header: QuestionHeaderSchema,
|
|
@@ -10557,12 +11341,16 @@ const QuestionInputFields = {
|
|
|
10557
11341
|
options: Type.Array(QuestionOptionSchema, { maxItems: 4 }),
|
|
10558
11342
|
multiSelect: Type.Optional(Type.Boolean()),
|
|
10559
11343
|
isOther: Type.Optional(Type.Boolean()),
|
|
10560
|
-
isSecret: Type.Optional(Type.Boolean())
|
|
11344
|
+
isSecret: Type.Optional(Type.Boolean()),
|
|
11345
|
+
secretStore: Type.Optional(withSince("2026.8", QuestionSecretStoreBindingSchema))
|
|
10561
11346
|
};
|
|
10562
11347
|
/** Unnormalized question accepted by question.request. */
|
|
10563
11348
|
const QuestionRequestQuestionSchema = closedObject(QuestionInputFields);
|
|
10564
11349
|
/** Canonical normalized question shown to an operator. */
|
|
10565
|
-
const QuestionSchema = closedObject({
|
|
11350
|
+
const QuestionSchema = closedObject({
|
|
11351
|
+
...QuestionInputFields,
|
|
11352
|
+
secretStoreExisting: Type.Optional(withSince("2026.8", QuestionSecretStoreExistingSchema))
|
|
11353
|
+
});
|
|
10566
11354
|
const QuestionAnswersSchema = closedObject({ answers: Type.Record(QuestionIdSchema, Type.Array(Type.String())) });
|
|
10567
11355
|
const QuestionStatusSchema = Type.Union([
|
|
10568
11356
|
Type.Literal("pending"),
|
|
@@ -10622,6 +11410,7 @@ const QuestionWaitAnswerResultSchema = Type.Union([
|
|
|
10622
11410
|
const QuestionResolveParamsSchema = Type.Union([closedObject({
|
|
10623
11411
|
id: NonEmptyString,
|
|
10624
11412
|
answers: QuestionAnswersSchema,
|
|
11413
|
+
secretStoreAllowedHosts: Type.Optional(withSince("2026.8", QuestionSecretStoreAllowedHostsSchema)),
|
|
10625
11414
|
resolvedBy: Type.Optional(NonEmptyString)
|
|
10626
11415
|
}), closedObject({
|
|
10627
11416
|
id: NonEmptyString,
|
|
@@ -10737,9 +11526,14 @@ const SessionPlacementDiskSpaceSchema = closedObject({
|
|
|
10737
11526
|
});
|
|
10738
11527
|
const SessionPlacementRunnerSchema = closedObject({
|
|
10739
11528
|
kind: Type.Literal("device"),
|
|
10740
|
-
status: Type.Union([Type.Literal("available"), Type.Literal("offline")])
|
|
11529
|
+
status: Type.Union([Type.Literal("available"), Type.Literal("offline")]),
|
|
11530
|
+
deviceId: Type.Optional(WorkerIdentifierSchema)
|
|
10741
11531
|
});
|
|
10742
11532
|
const SessionPlacementDiskSpaceProperties = { diskSpace: Type.Optional(SessionPlacementDiskSpaceSchema) };
|
|
11533
|
+
const SessionPlacementIdentityProperties = {
|
|
11534
|
+
providerId: Type.Optional(NonEmptyString),
|
|
11535
|
+
profileId: Type.Optional(NonEmptyString)
|
|
11536
|
+
};
|
|
10743
11537
|
const WorkspaceResultConflictSchema = closedObject({
|
|
10744
11538
|
paths: Type.Array(NonEmptyString, {
|
|
10745
11539
|
minItems: 1,
|
|
@@ -10753,6 +11547,7 @@ const WorkspaceResultConflictSchema = closedObject({
|
|
|
10753
11547
|
});
|
|
10754
11548
|
const SessionPlacementConflictProperties = { workspaceResultConflict: Type.Optional(WorkspaceResultConflictSchema) };
|
|
10755
11549
|
const TerminalSessionPlacementProperties = {
|
|
11550
|
+
...SessionPlacementIdentityProperties,
|
|
10756
11551
|
environmentId: Type.Optional(NonEmptyString),
|
|
10757
11552
|
activeOwnerEpoch: Type.Optional(SessionPlacementOwnerEpochSchema),
|
|
10758
11553
|
workspaceBaseManifestRef: Type.Optional(NonEmptyString),
|
|
@@ -10776,6 +11571,7 @@ function workerOwnedSessionPlacementProperties(state) {
|
|
|
10776
11571
|
return {
|
|
10777
11572
|
state: Type.Literal(state),
|
|
10778
11573
|
...SessionPlacementTimingProperties,
|
|
11574
|
+
...SessionPlacementIdentityProperties,
|
|
10779
11575
|
environmentId: NonEmptyString,
|
|
10780
11576
|
activeOwnerEpoch: SessionPlacementOwnerEpochSchema,
|
|
10781
11577
|
workerBundleHash: WorkerBundleHashSchema,
|
|
@@ -10790,17 +11586,20 @@ const RequestedSessionPlacementSchema = createUnownedSessionPlacementSchema("req
|
|
|
10790
11586
|
const ProvisioningSessionPlacementSchema = closedObject({
|
|
10791
11587
|
state: Type.Literal("provisioning"),
|
|
10792
11588
|
...SessionPlacementTimingProperties,
|
|
11589
|
+
...SessionPlacementIdentityProperties,
|
|
10793
11590
|
environmentId: Type.Optional(NonEmptyString)
|
|
10794
11591
|
});
|
|
10795
11592
|
const SyncingSessionPlacementSchema = closedObject({
|
|
10796
11593
|
state: Type.Literal("syncing"),
|
|
10797
11594
|
...SessionPlacementTimingProperties,
|
|
11595
|
+
...SessionPlacementIdentityProperties,
|
|
10798
11596
|
environmentId: NonEmptyString,
|
|
10799
11597
|
workerBundleHash: WorkerBundleHashSchema
|
|
10800
11598
|
});
|
|
10801
11599
|
const StartingSessionPlacementSchema = closedObject({
|
|
10802
11600
|
state: Type.Literal("starting"),
|
|
10803
11601
|
...SessionPlacementTimingProperties,
|
|
11602
|
+
...SessionPlacementIdentityProperties,
|
|
10804
11603
|
environmentId: NonEmptyString,
|
|
10805
11604
|
workerBundleHash: WorkerBundleHashSchema,
|
|
10806
11605
|
...SessionPlacementWorkspaceProperties
|
|
@@ -10840,31 +11639,46 @@ const WorkerMachineClassSchema = Type.String({
|
|
|
10840
11639
|
maxLength: 128
|
|
10841
11640
|
});
|
|
10842
11641
|
/**
|
|
10843
|
-
* Requests one-way dispatch to an explicit device (`operator.write`),
|
|
10844
|
-
* (`operator.admin`), or an `operator.admin`-only
|
|
10845
|
-
* target is supplied.
|
|
10846
|
-
* is rejected with `INVALID_REQUEST` instead of
|
|
11642
|
+
* Requests one-way dispatch to an explicit or automatically selected device (`operator.write`),
|
|
11643
|
+
* an explicit profile (`operator.admin`), or an `operator.admin`-only
|
|
11644
|
+
* `cloudWorkers.projectProfiles` lookup when no target is supplied. Target modes are exclusive.
|
|
11645
|
+
* An absent, unmatched, or invalid mapping is rejected with `INVALID_REQUEST` instead of
|
|
11646
|
+
* provisioning or falling back to another target.
|
|
10847
11647
|
*/
|
|
10848
11648
|
const SessionsDispatchParamsSchema = Type.Object({
|
|
10849
11649
|
key: NonEmptyString,
|
|
10850
11650
|
agentId: Type.Optional(NonEmptyString),
|
|
10851
11651
|
profileId: Type.Optional(NonEmptyString),
|
|
10852
11652
|
deviceId: Type.Optional(NonEmptyString),
|
|
11653
|
+
autoDevice: Type.Optional(Type.Literal(true)),
|
|
10853
11654
|
machineClass: Type.Optional(WorkerMachineClassSchema)
|
|
10854
11655
|
}, {
|
|
10855
11656
|
additionalProperties: false,
|
|
10856
11657
|
oneOf: [
|
|
10857
11658
|
{
|
|
10858
11659
|
required: ["profileId"],
|
|
10859
|
-
not: { required: ["deviceId"] }
|
|
11660
|
+
not: { anyOf: [{ required: ["deviceId"] }, { required: ["autoDevice"] }] }
|
|
10860
11661
|
},
|
|
10861
11662
|
{
|
|
10862
11663
|
required: ["deviceId"],
|
|
10863
|
-
not: { anyOf: [
|
|
11664
|
+
not: { anyOf: [
|
|
11665
|
+
{ required: ["profileId"] },
|
|
11666
|
+
{ required: ["autoDevice"] },
|
|
11667
|
+
{ required: ["machineClass"] }
|
|
11668
|
+
] }
|
|
11669
|
+
},
|
|
11670
|
+
{
|
|
11671
|
+
required: ["autoDevice"],
|
|
11672
|
+
not: { anyOf: [
|
|
11673
|
+
{ required: ["profileId"] },
|
|
11674
|
+
{ required: ["deviceId"] },
|
|
11675
|
+
{ required: ["machineClass"] }
|
|
11676
|
+
] }
|
|
10864
11677
|
},
|
|
10865
11678
|
{ not: { anyOf: [
|
|
10866
11679
|
{ required: ["profileId"] },
|
|
10867
11680
|
{ required: ["deviceId"] },
|
|
11681
|
+
{ required: ["autoDevice"] },
|
|
10868
11682
|
{ required: ["machineClass"] }
|
|
10869
11683
|
] } }
|
|
10870
11684
|
]
|
|
@@ -11013,6 +11827,37 @@ const SessionDiscussionOpenParamsSchema = closedObject({
|
|
|
11013
11827
|
const SessionDiscussionInfoResultSchema = SessionDiscussionInfoSchema;
|
|
11014
11828
|
const SessionDiscussionOpenResultSchema = SessionDiscussionInfoSchema;
|
|
11015
11829
|
//#endregion
|
|
11830
|
+
//#region src/schema/sessions-resolve.ts
|
|
11831
|
+
/** Resolves a session by key, raw session id, label, short URL id, or parent/agent scope. */
|
|
11832
|
+
const SessionsResolveParamsSchema = closedObject({
|
|
11833
|
+
key: Type.Optional(NonEmptyString),
|
|
11834
|
+
sessionId: Type.Optional(NonEmptyString),
|
|
11835
|
+
label: Type.Optional(SessionLabelString),
|
|
11836
|
+
/** Bare 8-32 character hexadecimal prefix of a session key's trailing UUID. */
|
|
11837
|
+
shortId: Type.Optional(NonEmptyString),
|
|
11838
|
+
/** Optional display-name slug used only to narrow ambiguous shortId matches. */
|
|
11839
|
+
slugHint: Type.Optional(NonEmptyString),
|
|
11840
|
+
agentId: Type.Optional(NonEmptyString),
|
|
11841
|
+
spawnedBy: Type.Optional(NonEmptyString),
|
|
11842
|
+
includeGlobal: Type.Optional(Type.Boolean()),
|
|
11843
|
+
includeUnknown: Type.Optional(Type.Boolean()),
|
|
11844
|
+
/** Return a successful `{ ok: false }` response when the selector does not match a session. */
|
|
11845
|
+
allowMissing: Type.Optional(Type.Boolean())
|
|
11846
|
+
});
|
|
11847
|
+
const SessionsResolveCandidateSchema = closedObject({
|
|
11848
|
+
key: NonEmptyString,
|
|
11849
|
+
agentId: NonEmptyString,
|
|
11850
|
+
displayName: Type.Optional(Type.String()),
|
|
11851
|
+
boardFace: Type.Optional(Type.Union([Type.Literal("chat"), Type.Literal("dashboard")]))
|
|
11852
|
+
});
|
|
11853
|
+
const SessionsResolveResultSchema = Type.Union([closedObject({
|
|
11854
|
+
ok: Type.Literal(true),
|
|
11855
|
+
...SessionsResolveCandidateSchema.properties
|
|
11856
|
+
}), closedObject({
|
|
11857
|
+
ok: Type.Literal(false),
|
|
11858
|
+
candidates: Type.Optional(Type.Array(SessionsResolveCandidateSchema, { maxItems: 10 }))
|
|
11859
|
+
})]);
|
|
11860
|
+
//#endregion
|
|
11016
11861
|
//#region src/schema/sessions-viewer-presence.ts
|
|
11017
11862
|
/** Maximum sessions one connection may declare as concurrently visible. */
|
|
11018
11863
|
const SESSION_VIEWER_PRESENCE_MAX_KEYS = 32;
|
|
@@ -11285,47 +12130,75 @@ const TaskRecoveryItemSchema = closedObject({
|
|
|
11285
12130
|
task: Type.Optional(TaskSummarySchema)
|
|
11286
12131
|
});
|
|
11287
12132
|
const TasksRecoveryResultSchema = closedObject({ results: Type.Array(TaskRecoveryItemSchema, { maxItems: 10 }) });
|
|
12133
|
+
//#endregion
|
|
12134
|
+
//#region src/schema/plugin-approvals.ts
|
|
12135
|
+
/**
|
|
12136
|
+
* Plugin approval schemas.
|
|
12137
|
+
*
|
|
12138
|
+
* These payloads cross from plugin/tool execution into reviewer-facing UI, so
|
|
12139
|
+
* title, description, decision set, and timeout limits are part of the public
|
|
12140
|
+
* gateway contract.
|
|
12141
|
+
*/
|
|
12142
|
+
const MAX_PLUGIN_APPROVAL_TIMEOUT_MS = 6e5;
|
|
12143
|
+
const PLUGIN_APPROVAL_TITLE_MAX_LENGTH = 80;
|
|
12144
|
+
const PLUGIN_APPROVAL_DESCRIPTION_MAX_LENGTH = 512;
|
|
12145
|
+
function nullableMetadata(schema) {
|
|
12146
|
+
return Type.Unsafe({
|
|
12147
|
+
...schema,
|
|
12148
|
+
type: [schema.type, "null"],
|
|
12149
|
+
...schema.enum ? { enum: [...schema.enum, null] } : {}
|
|
12150
|
+
});
|
|
12151
|
+
}
|
|
11288
12152
|
/** Approval request raised by a plugin before a sensitive tool action proceeds. */
|
|
11289
12153
|
const PluginApprovalRequestParamsSchema = closedObject({
|
|
11290
|
-
pluginId: Type.Optional(NonEmptyString),
|
|
12154
|
+
pluginId: Type.Optional(nullableMetadata(NonEmptyString)),
|
|
11291
12155
|
title: Type.String({
|
|
11292
12156
|
minLength: 1,
|
|
11293
|
-
maxLength:
|
|
12157
|
+
maxLength: PLUGIN_APPROVAL_TITLE_MAX_LENGTH
|
|
11294
12158
|
}),
|
|
11295
12159
|
description: Type.String({
|
|
11296
12160
|
minLength: 1,
|
|
11297
|
-
maxLength:
|
|
12161
|
+
maxLength: PLUGIN_APPROVAL_DESCRIPTION_MAX_LENGTH
|
|
11298
12162
|
}),
|
|
11299
|
-
detail: Type.Optional(Type.String({
|
|
12163
|
+
detail: Type.Optional(nullableMetadata(Type.String({
|
|
11300
12164
|
minLength: 1,
|
|
11301
12165
|
maxLength: 16384,
|
|
11302
12166
|
description: "Reviewer-surface-only detail; not delivered to channels or push notifications."
|
|
11303
|
-
})),
|
|
11304
|
-
severity: Type.Optional(Type.String({ enum: [
|
|
12167
|
+
}))),
|
|
12168
|
+
severity: Type.Optional(nullableMetadata(Type.String({ enum: [
|
|
11305
12169
|
"info",
|
|
11306
12170
|
"warning",
|
|
11307
12171
|
"critical"
|
|
11308
|
-
] })),
|
|
11309
|
-
|
|
11310
|
-
|
|
11311
|
-
|
|
12172
|
+
] }))),
|
|
12173
|
+
scope: Type.Optional(Type.Unsafe({
|
|
12174
|
+
...ApprovalScopeSchema,
|
|
12175
|
+
type: ["object", "null"],
|
|
12176
|
+
anyOf: [...ApprovalScopeSchema.anyOf, Type.Null()]
|
|
12177
|
+
})),
|
|
12178
|
+
toolName: Type.Optional(nullableMetadata(Type.String())),
|
|
12179
|
+
toolCallId: Type.Optional(nullableMetadata(Type.String())),
|
|
12180
|
+
allowedDecisions: Type.Optional(nullableMetadata(Type.Array(Type.String({ enum: [
|
|
11312
12181
|
"allow-once",
|
|
11313
12182
|
"allow-always",
|
|
11314
12183
|
"deny"
|
|
11315
12184
|
] }), {
|
|
11316
12185
|
minItems: 1,
|
|
11317
12186
|
maxItems: 3
|
|
11318
|
-
})),
|
|
11319
|
-
agentId: Type.Optional(Type.String()),
|
|
11320
|
-
sessionKey: Type.Optional(Type.String()),
|
|
11321
|
-
approvalReviewerDeviceIds: Type.Optional(Type.Array(NonEmptyString, { description: "Trusted approval-runtime metadata naming operator devices that may review this approval; ordinary Gateway clients may send the field, but the Gateway only binds it for internal approval-runtime requests." })),
|
|
11322
|
-
turnSourceChannel: Type.Optional(Type.String()),
|
|
11323
|
-
turnSourceTo: Type.Optional(Type.String()),
|
|
11324
|
-
turnSourceAccountId: Type.Optional(Type.String()),
|
|
11325
|
-
turnSourceThreadId: Type.Optional(Type.Union([
|
|
12187
|
+
}))),
|
|
12188
|
+
agentId: Type.Optional(nullableMetadata(Type.String())),
|
|
12189
|
+
sessionKey: Type.Optional(nullableMetadata(Type.String())),
|
|
12190
|
+
approvalReviewerDeviceIds: Type.Optional(nullableMetadata(Type.Array(NonEmptyString, { description: "Trusted approval-runtime metadata naming operator devices that may review this approval; ordinary Gateway clients may send the field, but the Gateway only binds it for internal approval-runtime requests." }))),
|
|
12191
|
+
turnSourceChannel: Type.Optional(nullableMetadata(Type.String())),
|
|
12192
|
+
turnSourceTo: Type.Optional(nullableMetadata(Type.String())),
|
|
12193
|
+
turnSourceAccountId: Type.Optional(nullableMetadata(Type.String())),
|
|
12194
|
+
turnSourceThreadId: Type.Optional(Type.Union([
|
|
12195
|
+
Type.String(),
|
|
12196
|
+
Type.Number(),
|
|
12197
|
+
Type.Null()
|
|
12198
|
+
])),
|
|
11326
12199
|
timeoutMs: Type.Optional(Type.Integer({
|
|
11327
12200
|
minimum: 1,
|
|
11328
|
-
maximum:
|
|
12201
|
+
maximum: MAX_PLUGIN_APPROVAL_TIMEOUT_MS
|
|
11329
12202
|
})),
|
|
11330
12203
|
twoPhase: Type.Optional(Type.Boolean())
|
|
11331
12204
|
});
|
|
@@ -11353,6 +12226,7 @@ const PortalSummaryMetadataFields = {
|
|
|
11353
12226
|
publicUrl: NonEmptyString,
|
|
11354
12227
|
path: Type.Optional(Type.String({ pattern: "^/" })),
|
|
11355
12228
|
description: Type.Optional(Type.String()),
|
|
12229
|
+
origin: Type.Optional(Type.String()),
|
|
11356
12230
|
createdAtMs: Type.Integer({ minimum: 0 })
|
|
11357
12231
|
};
|
|
11358
12232
|
const PortalSummarySchema = closedObject({
|
|
@@ -11465,4 +12339,4 @@ const WorktreesGcResultSchema = closedObject({
|
|
|
11465
12339
|
snapshotsPruned: Type.Integer({ minimum: 0 })
|
|
11466
12340
|
});
|
|
11467
12341
|
//#endregion
|
|
11468
|
-
export { SessionDiscussionOpenResultSchema as $, WizardNotFoundErrorDetailsSchema as $_, AuditActivityInboundMessageV1Schema as $a, SessionsResetParamsSchema as $c, ToolsGitHubAuthorizeNetworkErrorResultSchema as $d, PROGRESS_CARD_MAX_UTF8_BYTES as $f, WORKER_TRANSCRIPT_MAX_BATCH_MESSAGES as $g, SessionPermissionModeSchema as $h, TalkSessionCancelOutputResultSchema as $i, ShutdownEventSchema as $l, ApprovalResolveParamsSchema as $m, DeviceTokenRotateResultSchema as $n, ProjectsListResultSchema as $o, BoardWidgetPluginKindSchema as $p, SystemChangeSourceSchema as $r, SessionWorktreeInfoSchema as $s, NodeInvokeResultParamsSchema as $t, SkillProposalLifecycleEventSchema as $u, TasksListResultSchema as A, WORKER_PROTOCOL_MAX_FRAME_ID_LENGTH as A_, UsersSetAvatarResultSchema as Aa, SessionsFilesRevealResultSchema as Ac, SkillsSkillCardParamsSchema as Ad, EnvironmentsCreateParamsSchema as Af, PluginsUiDescriptorsResultSchema as Ag, TerminalUploadParamsSchema as Ah, ChannelsPairingListResultSchema as Ai, ChatHistoryCursorResultSchema as Al, WorkerInferenceModelRefSchema as Am, GatewaySuspendTaskBlockerSchema as An, ConversationTurnParamsSchema as Ao, BoardSnapshotSchema as Ap, CronScratchGetResultSchema as Ar, SessionVisibilitySetParamsSchema as As, QuestionRequestQuestionSchema as At, AgentsFilesListResultSchema as Au, TaskSuggestionsDismissParamsSchema as B, SessionGitHubPublicationPublishingSchema as B_, AuditRunIdentityV1Schema as Ba, SessionsGroupsMutationResultSchema as Bc, ToolsCatalogParamsSchema as Bd, WorkerDesktopLaunchParamsSchema as Bf, WORKER_HEARTBEAT_INTERVAL_MS as Bg, SessionsCatalogArchiveParamsSchema as Bh, TalkClientCreateParamsSchema as Bi, ChatStatusEventSchema as Bl, ApprovalAllowDecisionSchema as Bm, DevicePairRejectParamsSchema as Bn, MigrationsMemoryPlanParamsSchema as Bo, BoardWidgetAppViewParamsSchema as Bp, SystemAgentChatQuestionSchema as Br, SessionFileBrowserEntrySchema as Bs, PushTestParamsSchema as Bt, GitHubIdentityScopeSchema as Bu, PluginApprovalResolveParamsSchema as C, WorkerTranscriptCommitErrorReasonSchema as C_, UsersPrefsGetParamsSchema as Ca, SessionsDiffParamsSchema as Cc, SkillsProposalUpdateParamsSchema as Cd, SecretsStoreDeleteParamsSchema as Cf, PluginsSessionActionFailureResultSchema as Cg, TerminalExitEventSchema as Ch, CommandsListResultSchema as Ci, ChatAbortedEventSchema as Cl, WORKER_INFERENCE_MAX_CONTEXT_MESSAGES as Cm, GatewaySuspendPrepareResultSchema as Cn, ConversationListItemSchema as Co, BoardLegacyEventParamsSchema as Cp, CronListParamsSchema as Cr, SessionMemberRemoveParamsSchema as Cs, QuestionGetParamsSchema as Ct, AgentsCreateResultSchema as Cu, TasksGetParamsSchema as D, WorkerTranscriptCommitResponseFrameSchema as D_, UsersSelfParamsSchema as Da, SessionsFilesListParamsSchema as Dc, SkillsSearchResultSchema as Dd, SecretsStoreSetParamsSchema as Df, PluginsSetEnabledParamsSchema as Dg, TerminalOpenResultSchema as Dh, ChannelsPairingDismissParamsSchema as Di, ChatErrorEventSchema as Dl, WORKER_PROTOCOL_MAX_INFERENCE_PAYLOAD_BYTES as Dm, GatewaySuspendStatusReadyResultSchema as Dn, ConversationSendResultSchema as Do, BoardPromptAuthorizeParamsSchema as Dp, CronRunParamsSchema as Dr, SessionSharingActionSchema as Ds, QuestionOptionSchema as Dt, AgentsFilesGetParamsSchema as Du, TasksCancelResultSchema as E, WorkerTranscriptCommitRequestFrameSchema as E_, UsersPrefsSetResultSchema as Ea, SessionsFilesGetResultSchema as Ec, SkillsSearchParamsSchema as Ed, SecretsStoreMutationResultSchema as Ef, PluginsSessionActionSuccessResultSchema as Eg, TerminalOpenParamsSchema as Eh, ChannelsPairingApproveResultSchema as Ei, ChatDeltaEventSchema as El, WORKER_INFERENCE_PROTOCOL_FEATURE as Em, GatewaySuspendStatusParamsSchema as En, ConversationSendParamsSchema as Eo, BoardPluginActionParamsSchema as Ep, CronRunLogEntrySchema as Er, SessionMembersListResultSchema as Es, QuestionListResultSchema as Et, AgentsFileEntrySchema as Eu, TaskSuggestionSchema as F, WorkerProtocolCloseReasonSchema as F_, AuditListResultSchema as Fa, SessionsGroupsDefaultsParamsSchema as Fc, SkillsUploadChunkParamsSchema as Fd, EnvironmentsListResultSchema as Ff, SESSION_ICON_GLYPH_IDS as Fg, SessionCatalogLocatorSchema as Fh, ChannelsStopParamsSchema as Fi, ChatMessageGetParamsSchema as Fl, validateWorkerInferenceEventFrame as Fm, DesktopObserveParamsSchema as Fn, SendParamsSchema as Fo, BoardTabUpdateOpSchema as Fp, CronUpdateParamsSchema as Fr, SessionCompanionExchangeSchema as Fs, QuestionResolvedEventSchema as Ft, AgentsUpdateParamsSchema as Fu, SystemInfoResultSchema as G, GatewayErrorDetailsSchema as G_, ExecutionIdentityContextV1Schema as Ga, SessionsListParamsSchema as Gc, ToolsEffectiveParamsSchema as Gd, WorkerEnvironmentStateSchema as Gf, WORKER_PROTOCOL_MAX_FEATURE_LENGTH as Gg, SessionsCatalogListParamsSchema as Gh, TalkClientToolCallResultSchema as Gi, ConnectParamsSchema as Gl, ApprovalDeniedReasonSchema as Gm, DevicePairSetupCodeParamsSchema as Gn, ProjectRecentFolderSchema as Go, BoardWidgetGrantParamsSchema as Gp, SystemAgentSetupAuthStartResultSchema as Gr, SessionFilePreviewKindSchema as Gs, WebPushVapidPublicKeyParamsSchema as Gt, ModelsAuthLogoutParamsSchema as Gu, TaskSuggestionsListParamsSchema as H, SessionGitHubPublicationResultSchema as H_, AuditRunInspectResultSchema as Ha, SessionsGroupsRenameParamsSchema as Hc, ToolsEffectiveEntrySchema as Hd, WorkerDesktopObserveParamsSchema as Hf, WORKER_LIVE_EVENT_PROTOCOL_FEATURE as Hg, SessionsCatalogContinueParamsSchema as Hh, TalkClientMutationResultSchema as Hi, ChatToolTitlesResultSchema as Hl, ApprovalCancelledReasonSchema as Hm, DevicePairRenameParamsSchema as Hn, PROJECTS_LIST_MAX_CHECKOUTS_PER_PROJECT as Ho, BoardWidgetContentSchema as Hp, SystemAgentSetupActivateParamsSchema as Hr, SessionFileContentEncodingSchema as Hs, WebPushSubscribeParamsSchema as Ht, GitHubSelectedIdentitySchema as Hu, TaskSuggestionsAcceptParamsSchema as I, GitHubPublicationBodySchema as I_, AuditRunIdentityAmbiguousV1Schema as Ia, SessionsGroupsDefaultsResultSchema as Ic, SkillsUploadCommitParamsSchema as Id, EnvironmentsStatusParamsSchema as If, normalizeSessionIconValue as Ig, SessionCatalogPullRequestSummarySchema as Ih, TalkAgentControlResultSchema as Ii, ChatMessageGetResultSchema as Il, validateWorkerInferenceStartParams as Im, DesktopObserveResultSchema as In, WakeParamsSchema as Io, BoardTabsReorderOpSchema as Ip, SystemAgentChatHistoryParamsSchema as Ir, SessionDiffCommitSchema as Is, QuestionSchema as It, AgentsUpdateResultSchema as Iu, SessionsViewerPresenceSetResultSchema as J, OutboundDeliveryQueuedErrorDetailsSchema as J_, AUDIT_ACTIVITY_KINDS as Ja, SessionsObserverVisibilityParamsSchema as Jc, ToolsGitHubAuthorizeCancelParamsSchema as Jd, WorkerMachineOptionsSchema as Jf, WORKER_PROVIDER_REPLAY_MAX_DATA_BYTES as Jg, SessionsCatalogReadResultSchema as Jh, TalkConfigResultSchema as Ji, GATEWAY_SERVER_CAPS as Jl, ApprovalGetResultSchema as Jm, DevicePairSetupDeliveryUncertainEventSchema as Jn, ProjectRecordSchema as Jo, BoardWidgetMcpAppContentSchema as Jp, SystemAgentSetupVerifyParamsSchema as Jr, SessionGroupSchema as Js, NodeEventResultSchema as Jt, ModelsListResultSchema as Ju, SESSION_VIEWER_PRESENCE_MAX_KEYS as K, McpAppViewExpiredErrorDetailsSchema as K_, PrincipalRefV1Schema as Ka, SessionsMessagesSubscribeParamsSchema as Kc, ToolsEffectiveResultSchema as Kd, WorkerExecutionModeSchema as Kf, WORKER_PROTOCOL_MAX_METHOD_LENGTH as Kg, SessionsCatalogListResultSchema as Kh, TalkClientTranscriptParamsSchema as Ki, ErrorShapeSchema as Kl, ApprovalExpiredReasonSchema as Km, DevicePairSetupCodeResultSchema as Kn, ProjectRecentProjectSchema as Ko, BoardWidgetHeightModeSchema as Kp, SystemAgentSetupDetectParamsSchema as Kr, SessionFileRelevanceSchema as Ks, NodeDescribeParamsSchema as Kt, ModelsAuthStatusParamsSchema as Ku, TaskSuggestionsAcceptResultSchema as L, GitHubPublicationTitleSchema as L_, AuditRunIdentityPresentV1Schema as La, SessionsGroupsDeleteParamsSchema as Lc, ToolCatalogEntrySchema as Ld, EnvironmentsStatusResultSchema as Lf, WORKER_BUNDLE_PREWARM_VERSION as Lg, SessionCatalogSchema as Lh, TalkCatalogParamsSchema as Li, ChatMetadataParamsSchema as Ll, validateWorkerInferenceTerminalFrame as Lm, DesktopSourceSchema as Ln, MAX_MEMORY_MIGRATION_ITEMS as Lo, BoardTicketEventParamsSchema as Lp, SystemAgentChatHistoryResultSchema as Lr, SessionDiffFileSchema as Ls, QuestionStatusSchema as Lt, AuthProbeStatusSchema as Lu, TasksRecoveryResultSchema as M, WORKER_PROTOCOL_MAX_PAYLOAD_BYTES as M_, UsersSetDisplayNameResultSchema as Ma, SessionsFilesSetResultSchema as Mc, SkillsStatusParamsSchema as Md, EnvironmentsDestroyParamsSchema as Mf, PluginsUninstallResultSchema as Mg, SessionCatalogCapabilitiesSchema as Mh, ChannelsStartParamsSchema as Mi, ChatHistoryParamsSchema as Ml, WorkerInferenceStartRequestFrameSchema as Mm, FsListDirParamsSchema as Mn, ConversationTurnResultSchema as Mo, BoardTabDeleteOpSchema as Mp, CronScratchSetParamsSchema as Mr, SESSION_OBSERVER_HEALTH_VALUES as Ms, QuestionRequestedEventSchema as Mt, AgentsFilesSetResultSchema as Mu, TaskSuggestionEventSchema as N, WORKER_PUBLIC_INGRESS_PATH as N_, AuditEventSchema as Na, SessionsForkParamsSchema as Nc, SkillsUpdateParamsSchema as Nd, EnvironmentsDestroyResultSchema as Nf, lazyCompile as Ng, SessionCatalogDescriptorSchema as Nh, ChannelsStatusParamsSchema as Ni, ChatHistoryResetResultSchema as Nl, WorkerInferenceStartResponseFrameSchema as Nm, FsListDirResultSchema as Nn, MessageActionParamsSchema as No, BoardTabIdSchema as Np, CronScratchSetResultSchema as Nr, SessionBranchSchema as Ns, QuestionResolveParamsSchema as Nt, AgentsListParamsSchema as Nu, TasksGetResultSchema as O, WorkerTranscriptCommitResultSchema as O_, UsersSelfResultSchema as Oa, SessionsFilesListResultSchema as Oc, SkillsSecurityVerdictsParamsSchema as Od, EnvironmentStatusSchema as Of, PluginsSetEnabledResultSchema as Og, TerminalResizeParamsSchema as Oh, ChannelsPairingDismissResultSchema as Oi, ChatEventSchema as Ol, WorkerInferenceCancelRequestFrameSchema as Om, GatewaySuspendStatusResultSchema as On, ConversationTurnCancelParamsSchema as Oo, BoardSetChatDockCommandSchema as Op, CronRunsParamsSchema as Or, SessionSharingEventSchema as Os, QuestionRecordSchema as Ot, AgentsFilesGetResultSchema as Ou, TaskSuggestionResolutionSchema as P, WorkerAdmissionFailureReasonSchema as P_, AuditListParamsSchema as Pa, SessionsForkResultSchema as Pc, SkillsUploadBeginParamsSchema as Pd, EnvironmentsListParamsSchema as Pf, SESSION_AGENT_ATTENTION_ICON_IDS as Pg, SessionCatalogHostSchema as Ph, ChannelsStatusResultSchema as Pi, ChatInjectParamsSchema as Pl, validateWorkerInferenceCancelParams as Pm, DesktopLaunchParamsSchema as Pn, PollParamsSchema as Po, BoardTabSchema as Pp, CronStatusParamsSchema as Pr, SessionCompactionCheckpointSchema as Ps, QuestionResolveResultSchema as Pt, AgentsListResultSchema as Pu, SessionDiscussionOpenParamsSchema as Q, UserPrefsLimitExceededErrorDetailsSchema as Q_, AuditActivityEventV1Schema as Qa, SessionsPreviewParamsSchema as Qc, ToolsGitHubAuthorizeIncorrectDeviceCodeResultSchema as Qd, PROGRESS_CARD_MAX_STEP_UTF8_BYTES as Qf, WORKER_TRANSCRIPT_COMMIT_PROTOCOL_FEATURE as Qg, SessionOwnerSchema as Qh, TalkSessionCancelOutputParamsSchema as Qi, ResponseFrameSchema as Ql, ApprovalPresentationSchema as Qm, DeviceTokenRotateParamsSchema as Qn, ProjectsListParamsSchema as Qo, BoardWidgetPluginContentSchema as Qp, SystemChangeKindSchema as Qr, SessionOperationEventSchema as Qs, NodeInvokeRequestEventSchema as Qt, SkillProposalEvaluationSchema as Qu, TaskSuggestionsCreateParamsSchema as R, SessionGitHubPublicationFailedSchema as R_, AuditRunIdentityUnknownV1Schema as Ra, SessionsGroupsListParamsSchema as Rc, ToolCatalogGroupSchema as Rd, RuntimeTargetIssueSchema as Rf, WORKER_EXECUTION_CONTEXT_PROTOCOL_FEATURE as Rg, SessionCatalogSessionSchema as Rh, TalkCatalogResultSchema as Ri, ChatRunStartupPhaseSchema as Rl, validateWorkerInferenceTerminalOutcome as Rm, DevicePairApproveParamsSchema as Rn, MigrationProtocolSchemas as Ro, BoardUpdateParamsSchema as Rp, SystemAgentChatHistoryTurnSchema as Rr, SessionDiffFileStatusSchema as Rs, QuestionWaitAnswerParamsSchema as Rt, GitHubAuthorSchema as Ru, PluginApprovalRequestParamsSchema as S, WorkerSessionsSpawnResponseFrameSchema as S_, UsersListResultSchema as Sa, SessionsDescribeParamsSchema as Sc, SkillsProposalReviseParamsSchema as Sd, SecretsResolveResultSchema as Sf, PluginsSearchResultSchema as Sg, TerminalEventSchema as Sh, CommandsListParamsSchema as Si, ChatAbortParamsSchema as Sl, validateSkillsProposalHistoryStatusParams as Sm, GatewaySuspendPrepareReadyResultSchema as Sn, AgentWaitParamsSchema as So, BoardGetParamsSchema as Sp, CronJobStateSchema as Sr, SessionMemberMutationResultSchema as Ss, QuestionAnswersSchema as St, AgentsCreateParamsSchema as Su, TasksCancelParamsSchema as T, WorkerTranscriptCommitParamsSchema as T_, UsersPrefsSetParamsSchema as Ta, SessionsFilesGetParamsSchema as Tc, SkillsProposalsListResultSchema as Td, SecretsStoreListResultSchema as Tf, PluginsSessionActionResultSchema as Tg, TerminalListResultSchema as Th, ChannelsPairingApproveParamsSchema as Ti, ChatAttachmentsSchema as Tl, WORKER_INFERENCE_METHODS as Tm, GatewaySuspendResumeResultSchema as Tn, ConversationListResultSchema as To, BoardOpSchema as Tp, CronRemoveParamsSchema as Tr, SessionMembersListParamsSchema as Ts, QuestionListParamsSchema as Tt, AgentsDeleteResultSchema as Tu, TaskSuggestionsListResultSchema as U, SessionGitHubPublishParamsSchema as U_, DecisionReceiptDisplayV1Schema as Ua, SessionsGroupsUpdateParamsSchema as Uc, ToolsEffectiveGroupSchema as Ud, WorkerDesktopObserveResultSchema as Uf, WORKER_PROTOCOL_FEATURES as Ug, SessionsCatalogContinueResultSchema as Uh, TalkClientSteerParamsSchema as Ui, LogsTailParamsSchema as Ul, ApprovalChannelReviewerSchema as Um, DevicePairRequestedEventSchema as Un, PROJECTS_LIST_MAX_IDENTITY_PROBES as Uo, BoardWidgetDeclaredSchema as Up, SystemAgentSetupActivateResultSchema as Ur, SessionFileEntrySchema as Us, WebPushTestParamsSchema as Ut, ModelCatalogProviderOutcomeSchema as Uu, TaskSuggestionsDismissResultSchema as V, SessionGitHubPublicationRequestedSchema as V_, AuditRunInspectParamsSchema as Va, SessionsGroupsPutParamsSchema as Vc, ToolsCatalogResultSchema as Vd, WorkerDesktopLaunchResultSchema as Vf, WORKER_LAUNCH_V2_PROTOCOL_FEATURE as Vg, SessionsCatalogArchiveResultSchema as Vh, TalkClientCreateResultSchema as Vi, ChatToolTitlesParamsSchema as Vl, ApprovalAllowedReasonSchema as Vm, DevicePairRemoveParamsSchema as Vn, PROJECTS_LIST_DEFAULT_LIMIT as Vo, BoardWidgetAppViewResultSchema as Vp, SystemAgentChatResultSchema as Vr, SessionFileBrowserResultSchema as Vs, PushTestResultSchema as Vt, GitHubIdentitySourceSchema as Vu, SystemInfoParamsSchema as W, CronJobNotFoundErrorDetailsSchema as W_, DecisionReceiptV1Schema as Wa, SessionsGroupsUpdateResultSchema as Wc, ToolsEffectiveNoticeSchema as Wd, WorkerEnvironmentMetadataSchema as Wf, WORKER_PROTOCOL_MAX_FEATURES as Wg, SessionsCatalogHostEventSchema as Wh, TalkClientToolCallParamsSchema as Wi, LogsTailResultSchema as Wl, ApprovalDecisionSchema as Wm, DevicePairResolvedEventSchema as Wn, ProjectCheckoutSchema as Wo, BoardWidgetGeneratedIdentitySchema as Wp, SystemAgentSetupAuthStartParamsSchema as Wr, SessionFileKindSchema as Ws, WebPushUnsubscribeParamsSchema as Wt, ModelChoiceSchema as Wu, SessionDiscussionInfoResultSchema as X, SkillProposalRevisionChangedErrorDetailsSchema as X_, AUDIT_ACTIVITY_STATUSES as Xa, SessionsPluginPatchParamsSchema as Xc, ToolsGitHubAuthorizeExpiredResultSchema as Xd, WorkerTunnelStatusSchema as Xf, WORKER_SESSION_TOOLS_PROTOCOL_FEATURE as Xg, SessionsCatalogStartTerminalResultSchema as Xh, TalkModeParamsSchema as Xi, HelloOkSchema as Xl, ApprovalHistoryResultSchema as Xm, DevicePairSetupStatusResultSchema as Xn, ProjectsAddParamsSchema as Xo, BoardWidgetMoveOpSchema as Xp, SystemAgentWizardCancelSchema as Xr, SessionObserverHealthSchema as Xs, NodeInvokeParamsSchema as Xt, ModelsProbeResultSchema as Xu, SessionDiscussionInfoParamsSchema as Y, ProjectCloneErrorDetailsSchema as Y_, AUDIT_ACTIVITY_MESSAGE_KIND as Ya, SessionsObserverVisibilityResultSchema as Yc, ToolsGitHubAuthorizeCancelResultSchema as Yd, WorkerSlotSummarySchema as Yf, WORKER_RPC_SET_VERSION as Yg, SessionsCatalogStartTerminalParamsSchema as Yh, TalkEventSchema as Yi, GatewayFrameSchema as Yl, ApprovalHistoryParamsSchema as Ym, DevicePairSetupStatusParamsSchema as Yn, ProjectSummarySchema as Yo, BoardWidgetMcpAppPutContentSchema as Yp, SystemAgentSetupVerifyResultSchema as Yr, SessionObserverDigestSchema as Ys, NodeInvokeInputEventSchema as Yt, ModelsProbeParamsSchema as Yu, SessionDiscussionInfoSchema as Z, UnknownAgentIdErrorDetailsSchema as Z_, AuditActivityAgentRunV1Schema as Za, SessionsPluginPatchResultSchema as Zc, ToolsGitHubAuthorizeFailedResultSchema as Zd, PROGRESS_CARD_MAX_STEPS as Zf, WORKER_SESSION_TOOL_MAX_TEXT_LENGTH as Zg, SessionCreatedActorSchema as Zh, TalkSessionAppendAudioParamsSchema as Zi, RequestFrameSchema as Zl, ApprovalKindSchema as Zm, DeviceTokenRevokeParamsSchema as Zn, ProjectsAddResultSchema as Zo, BoardWidgetNameSchema as Zp, SystemChangeEntrySchema as Zr, SessionObserverPlanProgressSchema as Zs, NodeInvokeProgressParamsSchema as Zt, ModelsProbeTargetResultSchema as Zu, PortalListParamsSchema as _, WorkerProviderReplayStateSchema as __, UserProfileGitHubIdentitySchema as _a, SessionsCompanionResetParamsSchema as _c, SkillsProposalInspectParamsSchema as _d, SecretStoreEnvEntrySchema as _f, PluginsListParamsSchema as _g, TerminalAckResultSchema as _h, COMMAND_CHOICE_VALUE_MAX_LENGTH as _i, WORKTREE_PRESERVATION_REASONS as _l, UiSplitCommandSchema as _m, NodeSkillsUpdateParamsSchema as _n, AgentsWorkspaceListResultSchema as _o, BoardCommandSchema as _p, CronAddResultSchema as _r, SessionSuggestionsResolveResultSchema as _s, SessionsMoveResultSchema as _t, UpdateStatusParamsSchema as _u, WorktreesBranchesResultSchema as a, WorkerGitHubPublishParamsSchema as a_, TalkSessionSubmitToolResultParamsSchema as aa, SessionsBranchesSwitchParamsSchema as ac, SkillsCuratorStatusResultSchema as ad, ToolsGitHubAuthorizeStartResultSchema as af, SessionClassificationSchema as ag, ExecApprovalPresentationSchema as ah, WizardNextResultSchema as ai, SessionsSendParamsSchema as al, BoardWidgetRegisteredContentSchema as am, NodePendingAckParamsSchema as an, ArtifactSummarySchema as ao, ProgressCardSchema as ap, ScopeUpgradeResultSchema as ar, ProjectsSearchRemoteResultSchema as as, SessionMovePlacementStateSchema as at, ConfigGetParamsSchema as au, GatewayClientIdSchema as av, PortalOpenResultSchema as b, WorkerSessionsSendResponseFrameSchema as b_, UsersLinkEmailResultSchema as ba, SessionsCompanionStateResultSchema as bc, SkillsProposalRequestRevisionParamsSchema as bd, SecretsResolveAssignmentSchema as bf, PluginsRefreshResultSchema as bg, TerminalCloseParamsSchema as bh, COMMAND_NAME_MAX_LENGTH as bi, SessionsRecoverResultSchema as bl, SkillsProposalHistoryStatusParamsSchema as bm, GatewaySuspendPrepareBusyResultSchema as bn, AgentIdentityResultSchema as bo, BoardEventParamsSchema as bp, CronGetParamsSchema as br, SessionTypingResultSchema as bs, SessionsReclaimResultSchema as bt, AgentOwnershipSchema as bu, WorktreesGcResultSchema as c, WorkerHeartbeatRequestFrameSchema as c_, TtsSpeakParamsSchema as ca, SessionsCompactParamsSchema as cc, SkillsInstallParamsSchema as cd, ToolsGitHubInheritConfigureParamsSchema as cf, PluginCatalogEntrySchema as cg, PendingSessionApprovalEventSchema as ch, WizardStatusParamsSchema as ci, SessionsPatchManyParamsSchema as cl, BoardWidgetSchema as cm, NodePendingEnqueueParamsSchema as cn, ArtifactsGetParamsSchema as co, BOARD_CRON_JOB_ID_MAX_LENGTH as cp, ExecApprovalRequestParamsSchema as cr, SessionSuggestionEventSchema as cs, SessionPlacementDiskSpaceSchema as ct, ConfigSchemaLookupResultSchema as cu, NonEmptyString as cv, WorktreesRemoveParamsSchema as d, WorkerLiveEventErrorShapeSchema as d_, WebLoginWaitParamsSchema as da, SessionsCompactionListParamsSchema as dc, SkillsProposalCreateParamsSchema as dd, ToolsGitHubStatusResultSchema as df, PluginControlUiDescriptorSchema as dg, SessionApprovalEventSchema as dh, COMMAND_ALIAS_MAX_ITEMS as di, SessionsPatchMutationSchema as dl, UiCommandResultSchema as dm, NodePluginToolsUpdateParamsSchema as dn, ArtifactsListResultSchema as do, BOARD_WIDGET_TOOL_MAX_LENGTH as dp, ExecApprovalsNodeGetParamsSchema as dr, SessionSuggestionStateSchema as ds, SessionPlacementRunnerSchema as dt, ConfigSetParamsSchema as du, SessionLabelString as dv, WORKER_TRANSCRIPT_MAX_CONTENT_PARTS as e_, TalkSessionCloseParamsSchema as ea, SessionsAbortParamsSchema as ec, SkillsBinsParamsSchema as ed, ToolsGitHubAuthorizePendingResultSchema as ef, SessionRowSchema as eg, ApprovalResolveResultSchema as eh, SystemChangesListParamsSchema as ei, SessionsRewindParamsSchema as el, BoardWidgetPluginPropsSchema as em, NodeListParamsSchema as en, AuditActivityListParamsSchema as eo, ProgressCardChangedEventSchema as ep, ScopeUpgradeApprovedSchema as er, ProjectsRegisterParamsSchema as es, SessionDiscussionStateSchema as et, TickEventSchema as eu, buildMissingScopeErrorDetails as ev, WorktreesRemoveResultSchema as f, WorkerLiveEventParamsSchema as f_, GIT_COAUTHOR_PREFERENCE_KEY as fa, SessionsCompactionListResultSchema as fc, SkillsProposalDecisionParamsSchema as fd, ToolsInvokeErrorSchema as ff, PluginJsonValueSchema as fg, SessionApprovalReplaySchema as fh, COMMAND_ARGS_MAX_ITEMS as fi, SessionsPatchParamsSchema as fl, UiCommandSchema as fm, NodePresenceActivityPayloadSchema as fn, AgentsWorkspaceEntrySchema as fo, BoardActionParamsSchema as fp, ExecApprovalsNodeSetParamsSchema as fr, SessionSuggestionsAddParamsSchema as fs, SessionPlacementSchema as ft, UpdateAvailableSchema as fu, closedObject as fv, PortalCloseResultSchema as g, WorkerLiveEventSchema as g_, UserProfileAvatarMimeSchema as ga, SessionsCompanionAskResultSchema as gc, SkillsProposalEventsListResultSchema as gd, SecretStoreEntrySchema as gf, PluginsInstallResultSchema as gg, isWellFormedApprovalId as gh, COMMAND_CHOICE_LABEL_MAX_LENGTH as gi, SessionsDeleteResultSchema as gl, UiSidebarCommandSchema as gm, NodeSkillDescriptorSchema as gn, AgentsWorkspaceListParamsSchema as go, BoardCommandEventSchema as gp, CronAddParamsSchema as gr, SessionSuggestionsResolveParamsSchema as gs, SessionsMoveParamsSchema as gt, UpdateScheduleStateSchema as gu, PortalCloseParamsSchema as h, WorkerLiveEventResultSchema as h_, USER_PREFS_VALUE_BYTES as ha, SessionsCompanionAskParamsSchema as hc, SkillsProposalEventsListParamsSchema as hd, GitHubSetupHandleSchema as hf, PluginsInstallParamsSchema as hg, TerminalSessionApprovalEventSchema as hh, COMMAND_ARG_NAME_MAX_LENGTH as hi, SessionsDeleteParamsSchema as hl, UiPanelCommandSchema as hm, NodeRenameParamsSchema as hn, AgentsWorkspaceGetResultSchema as ho, BoardChatDockSchema as hp, ExecApprovalsSnapshotSchema as hr, SessionSuggestionsListResultSchema as hs, SessionsDispatchResultSchema as ht, UpdateRunParamsSchema as hu, WorktreesBranchesParamsSchema as i, WorkerConnectRequestFrameSchema as i_, TalkSessionSteerParamsSchema as ia, SessionsBranchesListResultSchema as ic, SkillsCuratorStatusParamsSchema as id, ToolsGitHubAuthorizeStartParamsSchema as if, SessionVisibilitySchema as ig, DeniedApprovalSnapshotSchema as ih, WizardNextParamsSchema as ii, SessionsSearchResultSchema as il, BoardWidgetPutResultSchema as im, NodePairRemoveParamsSchema as in, findAuditActivityFilterConflict as io, ProgressCardPutResultSchema as ip, ScopeUpgradeRequestSchema as ir, ProjectsSearchRemoteParamsSchema as is, SessionMovePlacementSchema as it, ConfigApplyParamsSchema as iu, ChatSendSessionKeyString as iv, TasksRecoveryParamsSchema as j, WORKER_PROTOCOL_MAX_IDENTIFIER_LENGTH as j_, UsersSetDisplayNameParamsSchema as ja, SessionsFilesSetParamsSchema as jc, SkillsSkillCardResultSchema as jd, EnvironmentsCreateResultSchema as jf, PluginsUninstallParamsSchema as jg, TerminalUploadResultSchema as jh, ChannelsLogoutParamsSchema as ji, ChatHistoryDeltaResultSchema as jl, WorkerInferenceOptionsSchema as jm, FsDirEntrySchema as jn, ConversationTurnReplySchema as jo, BoardTabCreateOpSchema as jp, CronScratchSchema as jr, SessionVisibilitySetResultSchema as js, QuestionRequestResultSchema as jt, AgentsFilesSetParamsSchema as ju, TasksListParamsSchema as k, WorkerTranscriptMessageSchema as k_, UsersSetAvatarParamsSchema as ka, SessionsFilesRevealParamsSchema as kc, SkillsSecurityVerdictsResultSchema as kd, EnvironmentSummarySchema as kf, PluginsUiDescriptorsParamsSchema as kg, TerminalSessionInfoSchema as kh, ChannelsPairingListParamsSchema as ki, ChatFinalEventSchema as kl, WorkerInferenceCancelResponseFrameSchema as km, GatewaySuspendStatusRunningResultSchema as kn, ConversationTurnCancelResultSchema as ko, BoardSizeSchema as kp, CronScratchGetParamsSchema as kr, SessionSharingIdentitySchema as ks, QuestionRequestParamsSchema as kt, AgentsFilesListParamsSchema as ku, WorktreesListParamsSchema as l, WorkerHeartbeatResponseFrameSchema as l_, TtsSpeakResultSchema as la, SessionsCompactionBranchParamsSchema as lc, SkillsProposalActionParamsSchema as ld, ToolsGitHubManagedConfigureParamsSchema as lf, PluginCatalogInstallActionSchema as lg, PluginApprovalPresentationSchema as lh, WizardStatusResultSchema as li, SessionsPatchManyResultSchema as ll, UiClosePaneCommandSchema as lm, NodePendingEnqueueResultSchema as ln, ArtifactsGetResultSchema as lo, BOARD_CRON_TRIGGER_PREFIX as lp, ExecApprovalResolveParamsSchema as lr, SessionSuggestionResolutionSchema as ls, SessionPlacementMoveSchema as lt, ConfigSchemaParamsSchema as lu, SecretInputSchema as lv, PortalChangedEventSchema as m, WorkerLiveEventResponseFrameSchema as m_, USER_PREFS_PROFILE_KEY_LIMIT as ma, SessionsCompactionRestoreResultSchema as mc, SkillsProposalEvaluateResultSchema as md, ToolsInvokeResultSchema as mf, PluginSearchResultEntrySchema as mg, TerminalApprovalSnapshotSchema as mh, COMMAND_ARG_DESCRIPTION_MAX_LENGTH as mi, PreservedSessionWorktreeSchema as ml, UiNavigateCommandSchema as mm, NodePresenceAliveReasonSchema as mn, AgentsWorkspaceGetParamsSchema as mo, BoardChangedEventSchema as mp, ExecApprovalsSetParamsSchema as mr, SessionSuggestionsListParamsSchema as ms, SessionsDispatchParamsSchema as mt, UpdateHoldResultSchema as mu, WorktreeRecordSchema as n, WorkerAdmissionHandshakeSchema as n_, TalkSessionCreateResultSchema as na, SessionsAssignOwnerResultSchema as nc, SkillsCuratorActionParamsSchema as nd, ToolsGitHubAuthorizePollResultSchema as nf, SESSION_VISIBILITY_VALUES as ng, ApprovalTerminalReasonSchema as nh, WizardAnswerSchema as ni, SessionsSearchHitSchema as nl, BoardWidgetPutContentSchema as nm, NodePairListParamsSchema as nn, AuditActivityOutboundMessageV1Schema as no, ProgressCardGetResultSchema as np, ScopeUpgradeRegistrationSchema as nr, ProjectsRemoveParamsSchema as ns, SessionMoveExpectedSourceSchema as nt, SnapshotSchema as nu, missingScopeErrorShape as nv, WorktreesCreateParamsSchema as o, WorkerGitHubPublishResponseFrameSchema as o_, TalkSpeakParamsSchema as oa, SessionsBranchesSwitchResultSchema as oc, SkillsDetailParamsSchema as od, ToolsGitHubAuthorizeSuccessResultSchema as of, SessionPeerKindSchema as og, ExpiredApprovalSnapshotSchema as oh, WizardStartParamsSchema as oi, SessionsUsageParamsSchema as ol, BoardWidgetRemoveOpSchema as om, NodePendingDrainParamsSchema as on, ArtifactsDownloadParamsSchema as oo, ProgressCardStepSchema as op, ScopeUpgradeWaitSchema as or, RemoteProjectSchema as os, SessionMoveProfileTargetSchema as ot, ConfigPatchParamsSchema as ou, GatewayClientModeSchema as ov, WorktreesRestoreParamsSchema as p, WorkerLiveEventRequestFrameSchema as p_, USER_PREFS_ENTRY_LIMIT as pa, SessionsCompactionRestoreParamsSchema as pc, SkillsProposalEvaluateParamsSchema as pd, ToolsInvokeParamsSchema as pf, PluginSearchPackageSchema as pg, SystemAgentApprovalPresentationSchema as ph, COMMAND_ARG_CHOICES_MAX_ITEMS as pi, SessionsResolveParamsSchema as pl, UiFocusCommandSchema as pm, NodePresenceAlivePayloadSchema as pn, AgentsWorkspaceFileSchema as po, BoardCanvasDocumentSourceSchema as pp, ExecApprovalsNodeSnapshotSchema as pr, SessionSuggestionsAddResultSchema as ps, SessionPlacementStateSchema as pt, UpdateHoldParamsSchema as pu, SessionsViewerPresenceSetParamsSchema as q, MissingScopeErrorDetailsSchema as q_, AUDIT_ACTIVITY_DIRECTIONS as qa, SessionsMessagesUnsubscribeParamsSchema as qc, ToolsGitHubAuthorizeAccessDeniedResultSchema as qd, WorkerMachineOptionSchema as qf, WORKER_PROTOCOL_METHODS as qg, SessionsCatalogReadParamsSchema as qh, TalkConfigParamsSchema as qi, EventFrameSchema as ql, ApprovalGetParamsSchema as qm, DevicePairSetupCompletedEventSchema as qn, ProjectRecentSchema as qo, BoardWidgetHtmlContentSchema as qp, SystemAgentSetupDetectResultSchema as qr, SessionGroupDefaultsSchema as qs, NodeEventParamsSchema as qt, ModelsListParamsSchema as qu, WorktreeRepositoryStatusSchema as r, WorkerAdmissionResponseFrameSchema as r_, TalkSessionOkResultSchema as ra, SessionsBranchesListParamsSchema as rc, SkillsCuratorActionResultSchema as rd, ToolsGitHubAuthorizeSlowDownResultSchema as rf, SessionSharingRoleSchema as rg, CancelledApprovalSnapshotSchema as rh, WizardCancelParamsSchema as ri, SessionsSearchParamsSchema as rl, BoardWidgetPutParamsSchema as rm, NodePairRejectParamsSchema as rn, AuditActivityToolActionV1Schema as ro, ProgressCardPutParamsSchema as rp, ScopeUpgradeRejectedSchema as rr, ProjectsRemoveResultSchema as rs, SessionMoveGatewayTargetSchema as rt, StateVersionSchema as ru, CHAT_SEND_SESSION_KEY_MAX_LENGTH as rv, WorktreesGcParamsSchema as s, WorkerHeartbeatParamsSchema as s_, TalkSpeakResultSchema as sa, SessionsCleanupParamsSchema as sc, SkillsDetailResultSchema as sd, ToolsGitHubConfigureParamsSchema as sf, PluginCatalogClawHubInstallSchema as sg, PendingApprovalSnapshotSchema as sh, WizardStartResultSchema as si, SESSIONS_PATCH_MANY_MAX_TARGETS as sl, BoardWidgetResizeOpSchema as sm, NodePendingDrainResultSchema as sn, ArtifactsDownloadResultSchema as so, ProgressCardStepStatusSchema as sp, ExecApprovalGetParamsSchema as sr, SessionSuggestionActionSchema as ss, SessionMoveTargetSchema as st, ConfigSchemaLookupParamsSchema as su, InputProvenanceSchema as sv, WorktreeBranchSchema as t, WORKER_TRANSCRIPT_MAX_JSON_DEPTH as t_, TalkSessionCreateParamsSchema as ta, SessionsAssignOwnerParamsSchema as tc, SkillsBinsResultSchema as td, ToolsGitHubAuthorizePollParamsSchema as tf, SessionToolOverridesSchema as tg, ApprovalSnapshotSchema as th, SystemChangesListResultSchema as ti, SessionsRewindResultSchema as tl, BoardWidgetPresentationSchema as tm, NodePairApproveParamsSchema as tn, AuditActivityListResultSchema as to, ProgressCardGetParamsSchema as tp, ScopeUpgradeExpiredSchema as tr, ProjectsRegisterResultSchema as ts, SessionMoveDeviceTargetSchema as tt, PresenceEntrySchema as tu, errorShape as tv, WorktreesListResultSchema as u, WorkerLiveEventErrorDetailsSchema as u_, WebLoginStartParamsSchema as ua, SessionsCompactionBranchResultSchema as uc, SkillsProposalApplyResultSchema as ud, ToolsGitHubStatusParamsSchema as uf, PluginCatalogOfficialInstallSchema as ug, PluginApprovalSeveritySchema as uh, WizardStepSchema as ui, SessionsPatchManyTargetSchema as ul, UiCommandParamsSchema as um, NodePluginToolDescriptorSchema as un, ArtifactsListParamsSchema as uo, BOARD_DATA_BINDING_ID_MAX_LENGTH as up, ExecApprovalsGetParamsSchema as ur, SessionSuggestionSchema as us, SessionPlacementProtocolSchemas as ut, ConfigSchemaResponseSchema as uu, SecretRefSchema as uv, PortalListResultSchema as v, WorkerSessionToolResultSchema as v_, UserProfileSchema as va, SessionsCompanionResetResultSchema as vc, SkillsProposalInspectResultSchema as vd, SecretStoreSecretEntrySchema as vf, PluginsListResultSchema as vg, TerminalAttachParamsSchema as vh, COMMAND_DESCRIPTION_MAX_LENGTH as vi, WorktreePreservationReasonSchema as vl, SkillsProposalHistoryScanParamsSchema as vm, HooksStatusParamsSchema as vn, AgentEventSchema as vo, BoardCronActionParamsSchema as vp, CronDeclarativeAddResultSchema as vr, SessionTypingEventSchema as vs, SessionsReclaimParamsSchema as vt, UpdateStatusResultSchema as vu, TaskSummarySchema as w, WorkerTranscriptCommitErrorShapeSchema as w_, UsersPrefsGetResultSchema as wa, SessionsDiffResultSchema as wc, SkillsProposalsListParamsSchema as wd, SecretsStoreListParamsSchema as wf, PluginsSessionActionParamsSchema as wg, TerminalInputParamsSchema as wh, TalkSessionAcknowledgeMarkParamsSchema as wi, ChatAttachmentSchema as wl, WORKER_INFERENCE_MAX_OUTPUT_TOKENS as wm, GatewaySuspendResumeParamsSchema as wn, ConversationListParamsSchema as wo, BoardMcpAppDescriptorSchema as wp, CronPacingSchema as wr, SessionMemberSchema as ws, QuestionGetResultSchema as wt, AgentsDeleteParamsSchema as wu, PortalSummarySchema as x, WorkerSessionsSpawnParamsSchema as x_, UsersListParamsSchema as xa, SessionsCreateResultSchema as xc, SkillsProposalRequestRevisionResultSchema as xd, SecretsResolveParamsSchema as xf, PluginsSearchParamsSchema as xg, TerminalDataEventSchema as xh, CommandEntrySchema as xi, SessionsCreateParamsSchema as xl, validateSkillsProposalHistoryScanParams as xm, GatewaySuspendPrepareParamsSchema as xn, AgentParamsSchema as xo, BoardFocusTabCommandSchema as xp, CronJobSchema as xr, SessionMemberAddParamsSchema as xs, isCloudWorkerPlacementState as xt, AgentSummarySchema as xu, PortalOpenParamsSchema as y, WorkerSessionsSendParamsSchema as y_, UsersLinkEmailParamsSchema as ya, SessionsCompanionStateParamsSchema as yc, SkillsProposalRecordResultSchema as yd, SecretsReloadParamsSchema as yf, PluginsRefreshParamsSchema as yg, TerminalAttachResultSchema as yh, COMMAND_LIST_MAX_ITEMS as yi, SessionsRecoverParamsSchema as yl, SkillsProposalHistoryScanResultSchema as ym, GatewaySuspendBlockerSchema as yn, AgentIdentityParamsSchema as yo, BoardDataReadParamsSchema as yp, CronDeliverySchema as yr, SessionTypingParamsSchema as ys, SessionsReclaimResultPlacementSchema as yt, AgentKindSchema as yu, TaskSuggestionsCreateResultSchema as z, SessionGitHubPublicationPublishedSchema as z_, AuditRunIdentityUnsupportedV1Schema as za, SessionsGroupsListResultSchema as zc, ToolCatalogProfileSchema as zd, WorkerDesktopAppIdSchema as zf, WORKER_GITHUB_PUBLICATION_PROTOCOL_FEATURE as zg, SessionCatalogTranscriptItemSchema as zh, TalkClientCloseParamsSchema as zi, ChatSendParamsSchema as zl, AllowedApprovalSnapshotSchema as zm, DevicePairListParamsSchema as zn, MigrationsMemoryApplyParamsSchema as zo, BoardViewTicketSchema as zp, SystemAgentChatParamsSchema as zr, SessionDiffScopeSchema as zs, QuestionWaitAnswerResultSchema as zt, GitHubIdentityFactsSchema as zu };
|
|
12342
|
+
export { SessionDiscussionInfoResultSchema as $, WORKER_TRANSCRIPT_COMMIT_PROTOCOL_FEATURE as $_, UsersSetRoleResultSchema as $a, SessionsFilesGetResultSchema as $c, SkillsProposalRecordResultSchema as $d, SecretsReloadParamsSchema as $f, PluginCatalogInstallActionSchema as $g, SystemAgentApprovalPresentationSchema as $h, ChannelsStopParamsSchema as $i, SessionsCreateParamsSchema as $l, SkillsProposalHistoryScanResultSchema as $m, DevicePairRejectParamsSchema as $n, ConversationTurnCancelResultSchema as $o, BoardDataReadParamsSchema as $p, CronUpdateParamsSchema as $r, SessionSharingActionSchema as $s, WebPushSubscribeParamsSchema as $t, AgentKindSchema as $u, GatewayErrorDetailsSchema as $v, TasksListResultSchema as A, PluginsUninstallResultSchema as A_, GIT_COAUTHOR_PREFERENCE_KEY as Aa, SessionsBranchesListParamsSchema as Ac, ModelsProbeResultSchema as Ad, ToolsGitHubAuthorizeExpiredResultSchema as Af, SessionsCatalogHostEventSchema as Ag, ApprovalHistoryParamsSchema as Ah, COMMAND_ARGS_MAX_ITEMS as Ai, SessionsSearchResultSchema as Al, BoardWidgetMoveOpSchema as Am, GatewaySuspendBlockerSchema as An, ArtifactsDownloadParamsSchema as Ao, WorkerTunnelStatusSchema as Ap, ExecApprovalsNodeSetParamsSchema as Ar, RemoteProjectSchema as As, QuestionOptionSchema as At, RequestFrameSchema as Au, WorkerTranscriptCommitResponseFrameSchema as Av, TaskSuggestionsDismissParamsSchema as B, WORKER_HEARTBEAT_INTERVAL_MS as B_, UsersListResultSchema as Ba, SessionsCompactionRestoreParamsSchema as Bc, SkillsDetailParamsSchema as Bd, ToolsGitHubAuthorizeSuccessResultSchema as Bf, SessionRowSchema as Bg, DeniedApprovalSnapshotSchema as Bh, CommandsListParamsSchema as Bi, SessionsDeleteParamsSchema as Bl, BoardWidgetRemoveOpSchema as Bm, GatewaySuspendStatusReadyResultSchema as Bn, AgentsWorkspaceListParamsSchema as Bo, ProgressCardStepSchema as Bp, CronJobStateSchema as Br, SessionSuggestionsResolveParamsSchema as Bs, QuestionSecretStoreBindingSchema as Bt, ConfigPatchParamsSchema as Bu, WORKER_PROTOCOL_MAX_PAYLOAD_BYTES as Bv, PluginApprovalResolveParamsSchema as C, PluginsSessionActionResultSchema as C_, TalkSessionSubmitToolResultParamsSchema as Ca, SessionObserverHealthSchema as Cc, ModelCatalogProviderOutcomeSchema as Cd, ToolsEffectiveGroupSchema as Cf, SessionCatalogSchema as Cg, ApprovalCancelledReasonSchema as Ch, WizardNextResultSchema as Ci, SessionsPluginPatchResultSchema as Cl, BoardWidgetDeclaredSchema as Cm, NodePresenceActivityPayloadSchema as Cn, AuditActivityInboundMessageV1Schema as Co, WorkerDesktopObserveResultSchema as Cp, ExecApprovalGrantsRevokeParamsSchema as Cr, ProjectsListResultSchema as Cs, SessionsReclaimResultSchema as Ct, LogsTailParamsSchema as Cu, WorkerSessionsSendResponseFrameSchema as Cv, TasksGetParamsSchema as D, PluginsUiDescriptorsParamsSchema as D_, TtsSpeakResultSchema as Da, SessionsAbortParamsSchema as Dc, ModelsListParamsSchema as Dd, ToolsGitHubAuthorizeAccessDeniedResultSchema as Df, SessionsCatalogArchiveResultSchema as Dg, ApprovalExpiredReasonSchema as Dh, WizardStatusResultSchema as Di, SessionsRewindResultSchema as Dl, BoardWidgetHtmlContentSchema as Dm, NodeSkillDescriptorSchema as Dn, AuditActivityToolActionV1Schema as Do, WorkerMachineOptionSchema as Dp, ExecApprovalStandingGrantSchema as Dr, ProjectsRemoveResultSchema as Ds, QuestionGetResultSchema as Dt, EventFrameSchema as Du, WorkerTranscriptCommitErrorShapeSchema as Dv, TasksCancelResultSchema as E, PluginsSetEnabledResultSchema as E_, TtsSpeakParamsSchema as Ea, SessionWorktreeInfoSchema as Ec, ModelsAuthStatusParamsSchema as Ed, ToolsEffectiveResultSchema as Ef, SessionsCatalogArchiveParamsSchema as Eg, ApprovalDeniedReasonSchema as Eh, WizardStatusParamsSchema as Ei, SessionsRewindParamsSchema as El, BoardWidgetHeightModeSchema as Em, NodeRenameParamsSchema as En, AuditActivityOutboundMessageV1Schema as Eo, WorkerExecutionModeSchema as Ep, ExecApprovalResolveParamsSchema as Er, ProjectsRemoveParamsSchema as Es, QuestionGetParamsSchema as Et, ErrorShapeSchema as Eu, WorkerTranscriptCommitErrorReasonSchema as Ev, TaskSuggestionSchema as F, normalizeSessionColorValue as F_, UserProfileGitHubIdentitySchema as Fa, SessionsCompactParamsSchema as Fc, SkillsBinsResultSchema as Fd, ToolsGitHubAuthorizePollParamsSchema as Ff, SessionsCatalogStartTerminalParamsSchema as Fg, ApprovalResolveResultSchema as Fh, COMMAND_CHOICE_VALUE_MAX_LENGTH as Fi, SessionsPatchManyResultSchema as Fl, BoardWidgetPresentationSchema as Fm, GatewaySuspendPrepareResultSchema as Fn, ArtifactsListResultSchema as Fo, ProgressCardGetParamsSchema as Fp, CronAddResultSchema as Fr, SessionSuggestionStateSchema as Fs, QuestionRequestedEventSchema as Ft, PresenceEntrySchema as Fu, WorkerComputerParamsSchema as Fv, SystemInfoResultSchema as G, WORKER_PROTOCOL_MAX_FEATURES as G_, UsersPrefsSetResultSchema as Ga, SessionsCompanionResetResultSchema as Gc, SkillsProposalCreateParamsSchema as Gd, ToolsGitHubStatusResultSchema as Gf, SessionParticipantIdentitySchema as Gg, PaymentApprovalScopeSchema as Gh, ChannelsPairingDismissParamsSchema as Gi, SessionGoalSchema as Gl, UiCommandResultSchema as Gm, FsListDirParamsSchema as Gn, AgentParamsSchema as Go, BOARD_WIDGET_TOOL_MAX_LENGTH as Gp, CronRunParamsSchema as Gr, SessionMemberAddParamsSchema as Gs, PushTestParamsSchema as Gt, ConfigSetParamsSchema as Gu, GitHubPublicationTitleSchema as Gv, TaskSuggestionsListParamsSchema as H, WORKER_LIVE_EVENT_PROTOCOL_FEATURE as H_, UsersPrefsGetParamsSchema as Ha, SessionsCompanionAskParamsSchema as Hc, SkillsInstallParamsSchema as Hd, ToolsGitHubInheritConfigureParamsSchema as Hf, SESSION_VISIBILITY_VALUES as Hg, ExpiredApprovalSnapshotSchema as Hh, TalkSessionAcknowledgeMarkParamsSchema as Hi, WORKTREE_PRESERVATION_REASONS as Hl, BoardWidgetSchema as Hm, GatewaySuspendStatusRunningResultSchema as Hn, AgentEventSchema as Ho, BOARD_CRON_JOB_ID_MAX_LENGTH as Hp, CronPacingSchema as Hr, SessionTypingEventSchema as Hs, QuestionStatusSchema as Ht, ConfigSchemaLookupResultSchema as Hu, WorkerAdmissionFailureReasonSchema as Hv, TaskSuggestionsAcceptParamsSchema as I, normalizeSessionIconValue as I_, UserProfileSchema as Ia, SessionsCompactionBranchParamsSchema as Ic, SkillsCuratorActionParamsSchema as Id, ToolsGitHubAuthorizePollResultSchema as If, SessionsCatalogStartTerminalResultSchema as Ig, ApprovalScopeSchema as Ih, COMMAND_DESCRIPTION_MAX_LENGTH as Ii, SessionsPatchManyTargetSchema as Il, BoardWidgetPutContentSchema as Im, GatewaySuspendResumeParamsSchema as In, AgentsWorkspaceEntrySchema as Io, ProgressCardGetResultSchema as Ip, CronDeclarativeAddResultSchema as Ir, SessionSuggestionsAddParamsSchema as Is, QuestionResolveParamsSchema as It, SnapshotSchema as Iu, WorkerComputerResponseFrameSchema as Iv, SessionsViewerPresenceSetResultSchema as J, WORKER_PROTOCOL_METHODS as J_, UsersSetAvatarParamsSchema as Ja, SessionsCreateResultSchema as Jc, SkillsProposalEvaluateResultSchema as Jd, ToolsInvokeResultSchema as Jf, SessionClassificationSchema as Jg, PluginApprovalPresentationSchema as Jh, ChannelsPairingListResultSchema as Ji, SessionsGoalUpdateParamsSchema as Jl, UiNavigateCommandSchema as Jm, DesktopObserveParamsSchema as Jn, ConversationListParamsSchema as Jo, BoardChangedEventSchema as Jp, CronScratchGetResultSchema as Jr, SessionMemberRemoveParamsSchema as Js, WebPushDevicePreferencesSchema as Jt, UpdateHoldResultSchema as Ju, SessionGitHubPublicationPublishingSchema as Jv, SESSION_VIEWER_PRESENCE_MAX_KEYS as K, WORKER_PROTOCOL_MAX_FEATURE_LENGTH as K_, UsersSelfParamsSchema as Ka, SessionsCompanionStateParamsSchema as Kc, SkillsProposalDecisionParamsSchema as Kd, ToolsInvokeErrorSchema as Kf, SessionParticipantSchema as Kg, PendingApprovalSnapshotSchema as Kh, ChannelsPairingDismissResultSchema as Ki, SessionsGoalClearParamsSchema as Kl, UiCommandSchema as Km, FsListDirResultSchema as Kn, AgentWaitParamsSchema as Ko, BoardActionParamsSchema as Kp, CronRunsParamsSchema as Kr, SessionMemberEvidenceSchema as Ks, PushTestResultSchema as Kt, UpdateAvailableSchema as Ku, SessionGitHubPublicationFailedSchema as Kv, TaskSuggestionsAcceptResultSchema as L, WORKER_BUNDLE_PREWARM_VERSION as L_, UsersLinkEmailParamsSchema as La, SessionsCompactionBranchResultSchema as Lc, SkillsCuratorActionResultSchema as Ld, ToolsGitHubAuthorizeSlowDownResultSchema as Lf, SessionCreatedActorSchema as Lg, ApprovalSnapshotSchema as Lh, COMMAND_LIST_MAX_ITEMS as Li, SessionsPatchMutationSchema as Ll, BoardWidgetPutParamsSchema as Lm, GatewaySuspendResumeResultSchema as Ln, AgentsWorkspaceFileSchema as Lo, ProgressCardPutParamsSchema as Lp, CronDeliverySchema as Lr, SessionSuggestionsAddResultSchema as Ls, QuestionResolveResultSchema as Lt, StateVersionSchema as Lu, WorkerComputerResultSchema as Lv, TasksRecoveryResultSchema as M, SESSION_AGENT_ATTENTION_ICON_IDS as M_, USER_PREFS_PROFILE_KEY_LIMIT as Ma, SessionsBranchesSwitchParamsSchema as Mc, SkillProposalEvaluationSchema as Md, ToolsGitHubAuthorizeIncorrectDeviceCodeResultSchema as Mf, SessionsCatalogListResultSchema as Mg, ApprovalKindSchema as Mh, COMMAND_ARG_DESCRIPTION_MAX_LENGTH as Mi, SessionsUsageParamsSchema as Ml, BoardWidgetPluginContentSchema as Mm, GatewaySuspendPrepareDrainingResultSchema as Mn, ArtifactsGetParamsSchema as Mo, PROGRESS_CARD_MAX_STEP_UTF8_BYTES as Mp, ExecApprovalsSetParamsSchema as Mr, SessionSuggestionEventSchema as Ms, QuestionRequestParamsSchema as Mt, ShutdownEventSchema as Mu, WorkerTranscriptMessageSchema as Mv, TaskSuggestionEventSchema as N, SESSION_COLOR_IDS as N_, USER_PREFS_VALUE_BYTES as Na, SessionsBranchesSwitchResultSchema as Nc, SkillProposalLifecycleEventSchema as Nd, ToolsGitHubAuthorizeNetworkErrorResultSchema as Nf, SessionsCatalogReadParamsSchema as Ng, ApprovalPresentationSchema as Nh, COMMAND_ARG_NAME_MAX_LENGTH as Ni, SESSIONS_PATCH_MANY_MAX_TARGETS as Nl, BoardWidgetPluginKindSchema as Nm, GatewaySuspendPrepareParamsSchema as Nn, ArtifactsGetResultSchema as No, PROGRESS_CARD_MAX_UTF8_BYTES as Np, ExecApprovalsSnapshotSchema as Nr, SessionSuggestionResolutionSchema as Ns, QuestionRequestQuestionSchema as Nt, TickEventSchema as Nu, WorkerTranscriptUserMessageSchema as Nv, TasksGetResultSchema as O, PluginsUiDescriptorsResultSchema as O_, WebLoginStartParamsSchema as Oa, SessionsAssignOwnerParamsSchema as Oc, ModelsListResultSchema as Od, ToolsGitHubAuthorizeCancelParamsSchema as Of, SessionsCatalogContinueParamsSchema as Og, ApprovalGetParamsSchema as Oh, WizardStepSchema as Oi, SessionsSearchHitSchema as Ol, BoardWidgetMcpAppContentSchema as Om, NodeSkillsUpdateParamsSchema as On, findAuditActivityFilterConflict as Oo, WorkerMachineOptionsSchema as Op, ExecApprovalsGetParamsSchema as Or, ProjectsSearchRemoteParamsSchema as Os, QuestionListParamsSchema as Ot, GatewayFrameSchema as Ou, WorkerTranscriptCommitParamsSchema as Ov, TaskSuggestionResolutionSchema as P, SESSION_ICON_GLYPH_IDS as P_, UserProfileAvatarMimeSchema as Pa, SessionsCleanupParamsSchema as Pc, SkillsBinsParamsSchema as Pd, ToolsGitHubAuthorizePendingResultSchema as Pf, SessionsCatalogReadResultSchema as Pg, ApprovalResolveParamsSchema as Ph, COMMAND_CHOICE_LABEL_MAX_LENGTH as Pi, SessionsPatchManyParamsSchema as Pl, BoardWidgetPluginPropsSchema as Pm, GatewaySuspendPrepareReadyResultSchema as Pn, ArtifactsListParamsSchema as Po, ProgressCardChangedEventSchema as Pp, CronAddParamsSchema as Pr, SessionSuggestionSchema as Ps, QuestionRequestResultSchema as Pt, GATEWAY_SERVER_CAPS as Pu, WORKER_COMPUTER_PROTOCOL_FEATURE as Pv, SessionDiscussionInfoParamsSchema as Q, WORKER_SESSION_TOOL_MAX_TEXT_LENGTH as Q_, UsersSetRoleParamsSchema as Qa, SessionsFilesGetParamsSchema as Qc, SkillsProposalInspectResultSchema as Qd, SecretStoreSecretEntrySchema as Qf, PluginCatalogEntrySchema as Qg, StandingGrantApprovalScopeSchema as Qh, ChannelsStatusResultSchema as Qi, SESSION_CREATE_RETRY_WINDOW_MS as Ql, SkillsProposalHistoryScanParamsSchema as Qm, DevicePairListParamsSchema as Qn, ConversationTurnCancelParamsSchema as Qo, BoardCronActionParamsSchema as Qp, CronStatusParamsSchema as Qr, SessionMembersListResultSchema as Qs, WebPushPreferencesSetParamsSchema as Qt, UpdateStatusResultSchema as Qu, CronJobNotFoundErrorDetailsSchema as Qv, TaskSuggestionsCreateParamsSchema as R, WORKER_EXECUTION_CONTEXT_PROTOCOL_FEATURE as R_, UsersLinkEmailResultSchema as Ra, SessionsCompactionListParamsSchema as Rc, SkillsCuratorStatusParamsSchema as Rd, ToolsGitHubAuthorizeStartParamsSchema as Rf, SessionOwnerSchema as Rg, ApprovalTerminalReasonSchema as Rh, COMMAND_NAME_MAX_LENGTH as Ri, SessionsPatchParamsSchema as Rl, BoardWidgetPutResultSchema as Rm, GatewaySuspendStatusDrainingResultSchema as Rn, AgentsWorkspaceGetParamsSchema as Ro, ProgressCardPutResultSchema as Rp, CronGetParamsSchema as Rr, SessionSuggestionsListParamsSchema as Rs, QuestionResolvedEventSchema as Rt, ConfigApplyParamsSchema as Ru, WORKER_PROTOCOL_MAX_FRAME_ID_LENGTH as Rv, PluginApprovalRequestParamsSchema as S, PluginsSessionActionParamsSchema as S_, TalkSessionSteerParamsSchema as Sa, SessionObserverDigestSchema as Sc, GitHubSelectedIdentitySchema as Sd, ToolsEffectiveEntrySchema as Sf, SessionCatalogPullRequestSummarySchema as Sg, ApprovalAllowedReasonSchema as Sh, WizardNextParamsSchema as Si, SessionsPluginPatchParamsSchema as Sl, BoardWidgetContentSchema as Sm, NodePluginToolsUpdateParamsSchema as Sn, AuditActivityEventV1Schema as So, WorkerDesktopObserveParamsSchema as Sp, ExecApprovalGrantsListResultSchema as Sr, ProjectsListParamsSchema as Ss, SessionsReclaimResultPlacementSchema as St, ChatToolTitlesResultSchema as Su, WorkerSessionsSendParamsSchema as Sv, TasksCancelParamsSchema as T, PluginsSetEnabledParamsSchema as T_, TalkSpeakResultSchema as Ta, SessionOperationEventSchema as Tc, ModelsAuthLogoutParamsSchema as Td, ToolsEffectiveParamsSchema as Tf, SessionCatalogTranscriptItemSchema as Tg, ApprovalDecisionSchema as Th, WizardStartResultSchema as Ti, SessionsResetParamsSchema as Tl, BoardWidgetGrantParamsSchema as Tm, NodePresenceAliveReasonSchema as Tn, AuditActivityListResultSchema as To, WorkerEnvironmentStateSchema as Tp, ExecApprovalRequestParamsSchema as Tr, ProjectsRegisterResultSchema as Ts, QuestionAnswersSchema as Tt, ConnectParamsSchema as Tu, WorkerSessionsSpawnResponseFrameSchema as Tv, TaskSuggestionsListResultSchema as U, WORKER_PORTAL_PROTOCOL_FEATURE as U_, UsersPrefsGetResultSchema as Ua, SessionsCompanionAskResultSchema as Uc, SkillsProposalActionParamsSchema as Ud, ToolsGitHubManagedConfigureParamsSchema as Uf, SessionSharingRoleSchema as Ug, ExternalPostApprovalScopeSchema as Uh, ChannelsPairingApproveParamsSchema as Ui, WorktreePreservationReasonSchema as Ul, UiClosePaneCommandSchema as Um, GatewaySuspendTaskBlockerSchema as Un, AgentIdentityParamsSchema as Uo, BOARD_CRON_TRIGGER_PREFIX as Up, CronRemoveParamsSchema as Ur, SessionTypingParamsSchema as Us, QuestionWaitAnswerParamsSchema as Ut, ConfigSchemaParamsSchema as Uu, WorkerProtocolCloseReasonSchema as Uv, TaskSuggestionsDismissResultSchema as V, WORKER_LAUNCH_V2_PROTOCOL_FEATURE as V_, UsersPrefsChangedEventSchema as Va, SessionsCompactionRestoreResultSchema as Vc, SkillsDetailResultSchema as Vd, ToolsGitHubConfigureParamsSchema as Vf, SessionToolOverridesSchema as Vg, ExecApprovalPresentationSchema as Vh, CommandsListResultSchema as Vi, SessionsDeleteResultSchema as Vl, BoardWidgetResizeOpSchema as Vm, GatewaySuspendStatusResultSchema as Vn, AgentsWorkspaceListResultSchema as Vo, ProgressCardStepStatusSchema as Vp, CronListParamsSchema as Vr, SessionSuggestionsResolveResultSchema as Vs, QuestionSecretStoreExistingSchema as Vt, ConfigSchemaLookupParamsSchema as Vu, WORKER_PUBLIC_INGRESS_PATH as Vv, SystemInfoParamsSchema as W, WORKER_PROTOCOL_FEATURES as W_, UsersPrefsSetParamsSchema as Wa, SessionsCompanionResetParamsSchema as Wc, SkillsProposalApplyResultSchema as Wd, ToolsGitHubStatusParamsSchema as Wf, SessionVisibilitySchema as Wg, MessageSendApprovalScopeSchema as Wh, ChannelsPairingApproveResultSchema as Wi, SessionsListParamsSchema as Wl, UiCommandParamsSchema as Wm, FsDirEntrySchema as Wn, AgentIdentityResultSchema as Wo, BOARD_DATA_BINDING_ID_MAX_LENGTH as Wp, CronRunLogEntrySchema as Wr, SessionTypingResultSchema as Ws, QuestionWaitAnswerResultSchema as Wt, ConfigSchemaResponseSchema as Wu, GitHubPublicationBodySchema as Wv, SessionsResolveParamsSchema as X, WORKER_RPC_SET_VERSION as X_, UsersSetDisplayNameParamsSchema as Xa, SessionsDiffParamsSchema as Xc, SkillsProposalEventsListResultSchema as Xd, SecretStoreEntrySchema as Xf, CapabilityConsentErrorDetailsSchema as Xg, SessionApprovalEventSchema as Xh, ChannelsStartParamsSchema as Xi, SessionsRecoverResultSchema as Xl, UiSidebarCommandSchema as Xm, DesktopSourceSchema as Xn, ConversationSendParamsSchema as Xo, BoardCommandEventSchema as Xp, CronScratchSetParamsSchema as Xr, SessionMembersListEvidenceResultSchema as Xs, WebPushNotificationPreferencesSchema as Xt, UpdateScheduleStateSchema as Xu, SessionGitHubPublicationResultSchema as Xv, SessionsResolveCandidateSchema as Y, WORKER_PROVIDER_REPLAY_MAX_DATA_BYTES as Y_, UsersSetAvatarResultSchema as Ya, SessionsDescribeParamsSchema as Yc, SkillsProposalEventsListParamsSchema as Yd, GitHubSetupHandleSchema as Yf, SessionPeerKindSchema as Yg, PluginApprovalSeveritySchema as Yh, ChannelsLogoutParamsSchema as Yi, SessionsRecoverParamsSchema as Yl, UiPanelCommandSchema as Ym, DesktopObserveResultSchema as Yn, ConversationListResultSchema as Yo, BoardChatDockSchema as Yp, CronScratchSchema as Yr, SessionMemberSchema as Ys, WebPushNotificationCategorySchema as Yt, UpdateRunParamsSchema as Yu, SessionGitHubPublicationRequestedSchema as Yv, SessionsResolveResultSchema as Z, WORKER_SESSION_TOOLS_PROTOCOL_FEATURE as Z_, UsersSetDisplayNameResultSchema as Za, SessionsDiffResultSchema as Zc, SkillsProposalInspectParamsSchema as Zd, SecretStoreEnvEntrySchema as Zf, PluginCatalogClawHubInstallSchema as Zg, SessionApprovalReplaySchema as Zh, ChannelsStatusParamsSchema as Zi, SESSION_CREATE_IDEMPOTENCY_RETENTION_MS as Zl, UiSplitCommandSchema as Zm, DevicePairApproveParamsSchema as Zn, ConversationSendResultSchema as Zo, BoardCommandSchema as Zp, CronScratchSetResultSchema as Zr, SessionMembersListParamsSchema as Zs, WebPushPreferencesGetParamsSchema as Zt, UpdateStatusParamsSchema as Zu, SessionGitHubPublishParamsSchema as Zv, PortalListParamsSchema as _, PluginsRefreshParamsSchema as __, TalkSessionCancelOutputResultSchema as _a, SessionFileKindSchema as _c, AuthProbeStatusSchema as _d, ToolCatalogEntrySchema as _f, TerminalUploadResultSchema as _g, validateWorkerInferenceStartParams as _h, SystemChangeSourceSchema as _i, SessionsGroupsUpdateResultSchema as _l, BoardTicketEventParamsSchema as _m, NodePendingDrainParamsSchema as _n, AUDIT_ACTIVITY_DIRECTIONS as _o, EnvironmentsStatusResultSchema as _p, ScopeUpgradeRequestSchema as _r, ProjectRecentSchema as _s, SessionsDispatchParamsSchema as _t, ChatRunStartupPhaseSchema as _u, WorkerLiveEventSchema as _v, NonEmptyString as _y, WorktreesBranchesResultSchema as a, PluginInspectSourceSchema as a_, TalkClientCreateResultSchema as aa, SESSION_OBSERVER_HEALTH_VALUES as ac, AgentsDeleteResultSchema as ad, SkillsProposalsListResultSchema as af, TerminalAttachResultSchema as ag, WORKER_INFERENCE_METHODS as ah, SystemAgentChatResultSchema as ai, SessionsFilesSetResultSchema as al, BoardOpSchema as am, NodeEventResultSchema as an, AuditListResultSchema as ao, SecretsStoreListResultSchema as ap, DevicePairSetupCodeResultSchema as ar, SendParamsSchema as as, SessionMoveExpectedSourceSchema as at, ChatErrorEventSchema as au, WorkerConnectRequestFrameSchema as av, SkillProposalRevisionChangedErrorDetailsSchema as ay, PortalOpenResultSchema as b, PluginsSearchResultSchema as b_, TalkSessionCreateResultSchema as ba, SessionGroupDefaultsSchema as bc, GitHubIdentityScopeSchema as bd, ToolsCatalogParamsSchema as bf, SessionCatalogHostSchema as bg, AllowedApprovalSnapshotSchema as bh, WizardAnswerSchema as bi, SessionsObserverVisibilityParamsSchema as bl, BoardWidgetAppViewParamsSchema as bm, NodePendingEnqueueResultSchema as bn, AUDIT_ACTIVITY_STATUSES as bo, WorkerDesktopLaunchParamsSchema as bp, ExecApprovalGetParamsSchema as br, ProjectsAddParamsSchema as bs, SessionsMoveResultSchema as bt, ChatStatusEventSchema as bu, WorkerProviderReplayStateSchema as bv, SessionLabelString as by, WorktreesGcResultSchema as c, PluginOperatorGrantsSchema as c_, TalkClientToolCallParamsSchema as ca, SessionCompanionExchangeSchema as cc, AgentsFilesGetResultSchema as cd, SkillsSecurityVerdictsParamsSchema as cf, TerminalEventSchema as cg, WorkerInferenceCancelRequestFrameSchema as ch, SystemAgentSetupAuthStartParamsSchema as ci, SessionsGroupsDefaultsParamsSchema as cl, BoardSetChatDockCommandSchema as cm, NodeInvokeProgressParamsSchema as cn, AuditRunIdentityUnknownV1Schema as co, EnvironmentStatusSchema as cp, DevicePairSetupStatusParamsSchema as cr, MigrationProtocolSchemas as cs, SessionMovePlacementStateSchema as ct, ChatHistoryCursorResultSchema as cu, WorkerHeartbeatParamsSchema as cv, WizardNotFoundErrorDetailsSchema as cy, WorktreesRemoveParamsSchema as d, PluginsInspectParamsSchema as d_, TalkConfigParamsSchema as da, SessionDiffFileStatusSchema as dc, AgentsFilesSetParamsSchema as dd, SkillsSkillCardResultSchema as df, TerminalListResultSchema as dg, WorkerInferenceModelRefSchema as dh, SystemAgentSetupDetectResultSchema as di, SessionsGroupsListParamsSchema as dl, BoardTabCreateOpSchema as dm, NodeListParamsSchema as dn, AuditRunInspectParamsSchema as do, EnvironmentsCreateResultSchema as dp, DeviceTokenRotateParamsSchema as dr, PROJECTS_LIST_DEFAULT_LIMIT as ds, SessionPlacementDiskSpaceSchema as dt, ChatHistoryResetResultSchema as du, WorkerLiveEventErrorDetailsSchema as dv, missingScopeErrorShape as dy, PluginCatalogOfficialInstallSchema as e_, TalkAgentControlResultSchema as ea, SessionSharingEventSchema as ec, AgentOwnershipSchema as ed, SkillsProposalRequestRevisionParamsSchema as ef, TerminalApprovalSnapshotSchema as eg, SkillsProposalHistoryStatusParamsSchema as eh, SystemAgentChatHistoryParamsSchema as ei, SessionsFilesListParamsSchema as el, BoardEventParamsSchema as em, WebPushTestParamsSchema as en, isGitCoauthorCreditEnabled as eo, SecretsResolveAssignmentSchema as ep, DevicePairRemoveParamsSchema as er, ConversationTurnParamsSchema as es, SessionDiscussionInfoSchema as et, ChatAbortParamsSchema as eu, WORKER_TRANSCRIPT_MAX_BATCH_MESSAGES as ev, McpAppViewExpiredErrorDetailsSchema as ey, WorktreesRemoveResultSchema as f, PluginsInspectResultSchema as f_, TalkConfigResultSchema as fa, SessionDiffScopeSchema as fc, AgentsFilesSetResultSchema as fd, SkillsStatusParamsSchema as ff, TerminalOpenParamsSchema as fg, WorkerInferenceOptionsSchema as fh, SystemAgentSetupVerifyParamsSchema as fi, SessionsGroupsListResultSchema as fl, BoardTabDeleteOpSchema as fm, NodePairApproveParamsSchema as fn, AuditRunInspectResultSchema as fo, EnvironmentsDestroyParamsSchema as fp, DeviceTokenRotateResultSchema as fr, PROJECTS_LIST_MAX_CHECKOUTS_PER_PROJECT as fs, SessionPlacementMoveSchema as ft, ChatInjectParamsSchema as fu, WorkerLiveEventErrorShapeSchema as fv, CHAT_SEND_SESSION_KEY_MAX_LENGTH as fy, PortalCloseResultSchema as g, PluginsListResultSchema as g_, TalkSessionCancelOutputParamsSchema as ga, SessionFileEntrySchema as gc, AgentsUpdateResultSchema as gd, SkillsUploadCommitParamsSchema as gf, TerminalUploadParamsSchema as gg, validateWorkerInferenceEventFrame as gh, SystemChangeKindSchema as gi, SessionsGroupsUpdateParamsSchema as gl, BoardTabsReorderOpSchema as gm, NodePendingAckParamsSchema as gn, PrincipalRefV1Schema as go, EnvironmentsStatusParamsSchema as gp, ScopeUpgradeRejectedSchema as gr, ProjectRecentProjectSchema as gs, SessionPlacementStateSchema as gt, ChatPendingInputsPageSchema as gu, WorkerLiveEventResultSchema as gv, InputProvenanceSchema as gy, PortalCloseParamsSchema as h, PluginsListParamsSchema as h_, TalkSessionAppendAudioParamsSchema as ha, SessionFileContentEncodingSchema as hc, AgentsUpdateParamsSchema as hd, SkillsUploadChunkParamsSchema as hf, TerminalSessionInfoSchema as hg, validateWorkerInferenceCancelParams as hh, SystemChangeEntrySchema as hi, SessionsGroupsRenameParamsSchema as hl, BoardTabUpdateOpSchema as hm, NodePairRemoveParamsSchema as hn, ExecutionIdentityContextV1Schema as ho, EnvironmentsListResultSchema as hp, ScopeUpgradeRegistrationSchema as hr, ProjectRecentFolderSchema as hs, SessionPlacementSchema as ht, ChatMetadataParamsSchema as hu, WorkerLiveEventResponseFrameSchema as hv, GatewayClientModeSchema as hy, WorktreesBranchesParamsSchema as i, PluginHookGrantSchema as i_, TalkClientCreateParamsSchema as ia, SessionVisibilitySetResultSchema as ic, AgentsDeleteParamsSchema as id, SkillsProposalsListParamsSchema as if, TerminalAttachParamsSchema as ig, WORKER_INFERENCE_MAX_OUTPUT_TOKENS as ih, SystemAgentChatQuestionSchema as ii, SessionsFilesSetParamsSchema as il, BoardMcpAppDescriptorSchema as im, NodeEventParamsSchema as in, AuditListParamsSchema as io, SecretsStoreListParamsSchema as ip, DevicePairSetupCodeParamsSchema as ir, PollParamsSchema as is, SessionMoveDeviceTargetSchema as it, ChatDeltaEventSchema as iu, WorkerAdmissionResponseFrameSchema as iv, SetupAdmissionBusyErrorDetailsSchema as iy, TasksRecoveryParamsSchema as j, lazyCompile as j_, USER_PREFS_ENTRY_LIMIT as ja, SessionsBranchesListResultSchema as jc, ModelsProbeTargetResultSchema as jd, ToolsGitHubAuthorizeFailedResultSchema as jf, SessionsCatalogListParamsSchema as jg, ApprovalHistoryResultSchema as jh, COMMAND_ARG_CHOICES_MAX_ITEMS as ji, SessionsSendParamsSchema as jl, BoardWidgetNameSchema as jm, GatewaySuspendPrepareBusyResultSchema as jn, ArtifactsDownloadResultSchema as jo, PROGRESS_CARD_MAX_STEPS as jp, ExecApprovalsNodeSnapshotSchema as jr, SessionSuggestionActionSchema as js, QuestionRecordSchema as jt, ResponseFrameSchema as ju, WorkerTranscriptCommitResultSchema as jv, TasksListParamsSchema as k, PluginsUninstallParamsSchema as k_, WebLoginWaitParamsSchema as ka, SessionsAssignOwnerResultSchema as kc, ModelsProbeParamsSchema as kd, ToolsGitHubAuthorizeCancelResultSchema as kf, SessionsCatalogContinueResultSchema as kg, ApprovalGetResultSchema as kh, COMMAND_ALIAS_MAX_ITEMS as ki, SessionsSearchParamsSchema as kl, BoardWidgetMcpAppPutContentSchema as km, HooksStatusParamsSchema as kn, ArtifactSummarySchema as ko, WorkerSlotSummarySchema as kp, ExecApprovalsNodeGetParamsSchema as kr, ProjectsSearchRemoteResultSchema as ks, QuestionListResultSchema as kt, HelloOkSchema as ku, WorkerTranscriptCommitRequestFrameSchema as kv, WorktreesListParamsSchema as l, PluginSearchPackageSchema as l_, TalkClientToolCallResultSchema as la, SessionDiffCommitSchema as lc, AgentsFilesListParamsSchema as ld, SkillsSecurityVerdictsResultSchema as lf, TerminalExitEventSchema as lg, WorkerInferenceCancelResponseFrameSchema as lh, SystemAgentSetupAuthStartResultSchema as li, SessionsGroupsDefaultsResultSchema as ll, BoardSizeSchema as lm, NodeInvokeRequestEventSchema as ln, AuditRunIdentityUnsupportedV1Schema as lo, EnvironmentSummarySchema as lp, DevicePairSetupStatusResultSchema as lr, MigrationsMemoryApplyParamsSchema as ls, SessionMoveProfileTargetSchema as lt, ChatHistoryDeltaResultSchema as lu, WorkerHeartbeatRequestFrameSchema as lv, buildMissingScopeErrorDetails as ly, PortalChangedEventSchema as m, PluginsInstallResultSchema as m_, TalkModeParamsSchema as ma, SessionFileBrowserResultSchema as mc, AgentsListResultSchema as md, SkillsUploadBeginParamsSchema as mf, TerminalResizeParamsSchema as mg, WorkerInferenceStartResponseFrameSchema as mh, SystemAgentWizardCancelSchema as mi, SessionsGroupsPutParamsSchema as ml, BoardTabSchema as mm, NodePairRejectParamsSchema as mn, DecisionReceiptV1Schema as mo, EnvironmentsListParamsSchema as mp, ScopeUpgradeExpiredSchema as mr, ProjectCheckoutSchema as ms, SessionPlacementRunnerSchema as mt, ChatMessageGetResultSchema as mu, WorkerLiveEventRequestFrameSchema as mv, GatewayClientIdSchema as my, WorktreeRecordSchema as n, PluginDeclaredSurfaceSchema as n_, TalkCatalogResultSchema as na, SessionSharingIdentitySchema as nc, AgentsCreateParamsSchema as nd, SkillsProposalReviseParamsSchema as nf, isWellFormedApprovalId as ng, validateSkillsProposalHistoryStatusParams as nh, SystemAgentChatHistoryTurnSchema as ni, SessionsFilesRevealParamsSchema as nl, BoardGetParamsSchema as nm, WebPushVapidPublicKeyParamsSchema as nn, normalizeUiAppearancePreference as no, SecretsResolveResultSchema as np, DevicePairRequestedEventSchema as nr, ConversationTurnResultSchema as ns, SessionDiscussionOpenResultSchema as nt, ChatAttachmentSchema as nu, WORKER_TRANSCRIPT_MAX_JSON_DEPTH as nv, OutboundDeliveryQueuedErrorDetailsSchema as ny, WorktreesCreateParamsSchema as o, PluginInstallTrustSchema as o_, TalkClientMutationResultSchema as oa, SessionBranchSchema as oc, AgentsFileEntrySchema as od, SkillsSearchParamsSchema as of, TerminalCloseParamsSchema as og, WORKER_INFERENCE_PROTOCOL_FEATURE as oh, SystemAgentSetupActivateParamsSchema as oi, SessionsForkParamsSchema as ol, BoardPluginActionParamsSchema as om, NodeInvokeInputEventSchema as on, AuditRunIdentityAmbiguousV1Schema as oo, SecretsStoreMutationResultSchema as op, DevicePairSetupCompletedEventSchema as or, WakeParamsSchema as os, SessionMoveGatewayTargetSchema as ot, ChatEventSchema as ou, WorkerGitHubPublishParamsSchema as ov, UnknownAgentIdErrorDetailsSchema as oy, WorktreesRestoreParamsSchema as p, PluginsInstallParamsSchema as p_, TalkEventSchema as pa, SessionFileBrowserEntrySchema as pc, AgentsListParamsSchema as pd, SkillsUpdateParamsSchema as pf, TerminalOpenResultSchema as pg, WorkerInferenceStartRequestFrameSchema as ph, SystemAgentSetupVerifyResultSchema as pi, SessionsGroupsMutationResultSchema as pl, BoardTabIdSchema as pm, NodePairListParamsSchema as pn, DecisionReceiptDisplayV1Schema as po, EnvironmentsDestroyResultSchema as pp, ScopeUpgradeApprovedSchema as pr, PROJECTS_LIST_MAX_IDENTITY_PROBES as ps, SessionPlacementProtocolSchemas as pt, ChatMessageGetParamsSchema as pu, WorkerLiveEventParamsSchema as pv, ChatSendSessionKeyString as py, SessionsViewerPresenceSetParamsSchema as q, WORKER_PROTOCOL_MAX_METHOD_LENGTH as q_, UsersSelfResultSchema as qa, SessionsCompanionStateResultSchema as qc, SkillsProposalEvaluateParamsSchema as qd, ToolsInvokeParamsSchema as qf, SessionPersonSchema as qg, PendingSessionApprovalEventSchema as qh, ChannelsPairingListParamsSchema as qi, SessionsGoalMutationResultSchema as ql, UiFocusCommandSchema as qm, DesktopLaunchParamsSchema as qn, ConversationListItemSchema as qo, BoardCanvasDocumentSourceSchema as qp, CronScratchGetParamsSchema as qr, SessionMemberMutationResultSchema as qs, WebPushDetailLevelSchema as qt, UpdateHoldParamsSchema as qu, SessionGitHubPublicationPublishedSchema as qv, WorktreeRepositoryStatusSchema as r, PluginDeclaredSurfaceWideningSchema as r_, TalkClientCloseParamsSchema as ra, SessionVisibilitySetParamsSchema as rc, AgentsCreateResultSchema as rd, SkillsProposalUpdateParamsSchema as rf, TerminalAckResultSchema as rg, WORKER_INFERENCE_MAX_CONTEXT_MESSAGES as rh, SystemAgentChatParamsSchema as ri, SessionsFilesRevealResultSchema as rl, BoardLegacyEventParamsSchema as rm, NodeDescribeParamsSchema as rn, AuditEventSchema as ro, SecretsStoreDeleteParamsSchema as rp, DevicePairResolvedEventSchema as rr, MessageActionParamsSchema as rs, SessionDiscussionStateSchema as rt, ChatAttachmentsSchema as ru, WorkerAdmissionHandshakeSchema as rv, ProjectCloneErrorDetailsSchema as ry, WorktreesGcParamsSchema as s, PluginJsonValueSchema as s_, TalkClientSteerParamsSchema as sa, SessionCompactionCheckpointSchema as sc, AgentsFilesGetParamsSchema as sd, SkillsSearchResultSchema as sf, TerminalDataEventSchema as sg, WORKER_PROTOCOL_MAX_INFERENCE_PAYLOAD_BYTES as sh, SystemAgentSetupActivateResultSchema as si, SessionsForkResultSchema as sl, BoardPromptAuthorizeParamsSchema as sm, NodeInvokeParamsSchema as sn, AuditRunIdentityPresentV1Schema as so, SecretsStoreSetParamsSchema as sp, DevicePairSetupDeliveryUncertainEventSchema as sr, MAX_MEMORY_MIGRATION_ITEMS as ss, SessionMovePlacementSchema as st, ChatFinalEventSchema as su, WorkerGitHubPublishResponseFrameSchema as sv, UserPrefsLimitExceededErrorDetailsSchema as sy, WorktreeBranchSchema as t, PluginControlUiDescriptorSchema as t_, TalkCatalogParamsSchema as ta, SessionSharingEvidenceEventSchema as tc, AgentSummarySchema as td, SkillsProposalRequestRevisionResultSchema as tf, TerminalSessionApprovalEventSchema as tg, validateSkillsProposalHistoryScanParams as th, SystemAgentChatHistoryResultSchema as ti, SessionsFilesListResultSchema as tl, BoardFocusTabCommandSchema as tm, WebPushUnsubscribeParamsSchema as tn, UI_APPEARANCE_PREFERENCE_KEYS as to, SecretsResolveParamsSchema as tp, DevicePairRenameParamsSchema as tr, ConversationTurnReplySchema as ts, SessionDiscussionOpenParamsSchema as tt, ChatAbortedEventSchema as tu, WORKER_TRANSCRIPT_MAX_CONTENT_PARTS as tv, MissingScopeErrorDetailsSchema as ty, WorktreesListResultSchema as u, PluginSearchResultEntrySchema as u_, TalkClientTranscriptParamsSchema as ua, SessionDiffFileSchema as uc, AgentsFilesListResultSchema as ud, SkillsSkillCardParamsSchema as uf, TerminalInputParamsSchema as ug, WorkerInferenceImageContentSchema as uh, SystemAgentSetupDetectParamsSchema as ui, SessionsGroupsDeleteParamsSchema as ul, BoardSnapshotSchema as um, NodeInvokeResultParamsSchema as un, AuditRunIdentityV1Schema as uo, EnvironmentsCreateParamsSchema as up, DeviceTokenRevokeParamsSchema as ur, MigrationsMemoryPlanParamsSchema as us, SessionMoveTargetSchema as ut, ChatHistoryParamsSchema as uu, WorkerHeartbeatResponseFrameSchema as uv, errorShape as uy, PortalListResultSchema as v, PluginsRefreshResultSchema as v_, TalkSessionCloseParamsSchema as va, SessionFilePreviewKindSchema as vc, GitHubAuthorSchema as vd, ToolCatalogGroupSchema as vf, SessionCatalogCapabilitiesSchema as vg, validateWorkerInferenceTerminalFrame as vh, SystemChangesListParamsSchema as vi, SessionsMessagesSubscribeParamsSchema as vl, BoardUpdateParamsSchema as vm, NodePendingDrainResultSchema as vn, AUDIT_ACTIVITY_KINDS as vo, RuntimeTargetIssueSchema as vp, ScopeUpgradeResultSchema as vr, ProjectRecordSchema as vs, SessionsDispatchResultSchema as vt, ChatSendIntentSchema as vu, WorkerPortalParamsSchema as vv, SecretInputSchema as vy, TaskSummarySchema as w, PluginsSessionActionSuccessResultSchema as w_, TalkSpeakParamsSchema as wa, SessionObserverPlanProgressSchema as wc, ModelChoiceSchema as wd, ToolsEffectiveNoticeSchema as wf, SessionCatalogSessionSchema as wg, ApprovalChannelReviewerSchema as wh, WizardStartParamsSchema as wi, SessionsPreviewParamsSchema as wl, BoardWidgetGeneratedIdentitySchema as wm, NodePresenceAlivePayloadSchema as wn, AuditActivityListParamsSchema as wo, WorkerEnvironmentMetadataSchema as wp, ExecApprovalGrantsRevokeResultSchema as wr, ProjectsRegisterParamsSchema as ws, isCloudWorkerPlacementState as wt, LogsTailResultSchema as wu, WorkerSessionsSpawnParamsSchema as wv, PortalSummarySchema as x, PluginsSessionActionFailureResultSchema as x_, TalkSessionOkResultSchema as xa, SessionGroupSchema as xc, GitHubIdentitySourceSchema as xd, ToolsCatalogResultSchema as xf, SessionCatalogLocatorSchema as xg, ApprovalAllowDecisionSchema as xh, WizardCancelParamsSchema as xi, SessionsObserverVisibilityResultSchema as xl, BoardWidgetAppViewResultSchema as xm, NodePluginToolDescriptorSchema as xn, AuditActivityAgentRunV1Schema as xo, WorkerDesktopLaunchResultSchema as xp, ExecApprovalGrantsListParamsSchema as xr, ProjectsAddResultSchema as xs, SessionsReclaimParamsSchema as xt, ChatToolTitlesParamsSchema as xu, WorkerSessionToolResultSchema as xv, closedObject as xy, PortalOpenParamsSchema as y, PluginsSearchParamsSchema as y_, TalkSessionCreateParamsSchema as ya, SessionFileRelevanceSchema as yc, GitHubIdentityFactsSchema as yd, ToolCatalogProfileSchema as yf, SessionCatalogDescriptorSchema as yg, validateWorkerInferenceTerminalOutcome as yh, SystemChangesListResultSchema as yi, SessionsMessagesUnsubscribeParamsSchema as yl, BoardViewTicketSchema as ym, NodePendingEnqueueParamsSchema as yn, AUDIT_ACTIVITY_MESSAGE_KIND as yo, WorkerDesktopAppIdSchema as yp, ScopeUpgradeWaitSchema as yr, ProjectSummarySchema as ys, SessionsMoveParamsSchema as yt, ChatSendParamsSchema as yu, WorkerPortalResponseFrameSchema as yv, SecretRefSchema as yy, TaskSuggestionsCreateResultSchema as z, WORKER_GITHUB_PUBLICATION_PROTOCOL_FEATURE as z_, UsersListParamsSchema as za, SessionsCompactionListResultSchema as zc, SkillsCuratorStatusResultSchema as zd, ToolsGitHubAuthorizeStartResultSchema as zf, SessionPermissionModeSchema as zg, CancelledApprovalSnapshotSchema as zh, CommandEntrySchema as zi, PreservedSessionWorktreeSchema as zl, BoardWidgetRegisteredContentSchema as zm, GatewaySuspendStatusParamsSchema as zn, AgentsWorkspaceGetResultSchema as zo, ProgressCardSchema as zp, CronJobSchema as zr, SessionSuggestionsListResultSchema as zs, QuestionSchema as zt, ConfigGetParamsSchema as zu, WORKER_PROTOCOL_MAX_IDENTIFIER_LENGTH as zv };
|