@openclaw/gateway-protocol 2026.10.1-beta.2 → 2026.10.5-beta.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.
@@ -1,13 +1,13 @@
1
+ import { i as readNonBlankString, t as hasNonEmptyString } from "./string-coerce-BPnmwYe_.mjs";
1
2
  import { GATEWAY_CLIENT_IDS, GATEWAY_CLIENT_MODES } from "./client-info.mjs";
2
3
  import { n as asOptionalRecord } from "./record-coerce-DVQGe6I0.mjs";
3
4
  import { ErrorCodes, GatewayErrorDetailCodes } from "./gateway-error-details.mjs";
4
- import { C as isThemeId, r as THEME_ARTWORK_ID_PATTERN, w as normalizeThemeMode } from "./theme-_hQKgfH-.mjs";
5
+ import { D as normalizeThemeMode, E as isThemeId, r as THEME_ARTWORK_ID_PATTERN } from "./theme-CBR5kBV0.mjs";
5
6
  import "./system-agent-context.mjs";
6
7
  import { Type } from "typebox";
7
8
  import { Value } from "typebox/value";
8
9
  import "typebox/guard";
9
- import "typebox/schema";
10
- import { Compile } from "typebox/compile";
10
+ import { Compile } from "typebox/schema";
11
11
  //#region packages/gateway-protocol/src/schema/closed-object.ts
12
12
  const identityKey = "~openclawClosedObjectIdentity";
13
13
  function closedObject(properties) {
@@ -273,18 +273,6 @@ const SessionRepositorySourceSchema = closedObject({
273
273
  maxLength: 1024
274
274
  }))
275
275
  });
276
- /** Channel-owned destination for returning to the conversation that launched a session. */
277
- const SessionConversationLinkSchema = closedObject({
278
- url: Type.String({
279
- minLength: 1,
280
- maxLength: 2048,
281
- pattern: "^https?://"
282
- }),
283
- label: Type.String({
284
- minLength: 1,
285
- maxLength: 128
286
- })
287
- });
288
276
  const SessionRunStatusSchema = Type.Union([
289
277
  Type.Literal("queued"),
290
278
  Type.Literal("running"),
@@ -353,6 +341,10 @@ const SessionRowSchema = Type.Object({
353
341
  /** Detail fields omitted in compact lists must not clear a client's full-row cache. */
354
342
  rowMode: Type.Optional(Type.Literal("compact")),
355
343
  sessionId: Type.Optional(Type.String()),
344
+ /** Incarnation revision for invalidating session-scoped client caches after resets. */
345
+ lifecycleRevision: Type.Optional(NonEmptyString),
346
+ /** Opaque saved model-selection inputs, unaffected by activity or display updates. */
347
+ sessionModelRevision: Type.Optional(NonEmptyString),
356
348
  incognito: Type.Optional(Type.Literal(true)),
357
349
  kind: Type.Union([
358
350
  Type.Literal("direct"),
@@ -366,8 +358,9 @@ const SessionRowSchema = Type.Object({
366
358
  /** Named sidebar tint from SESSION_COLOR_IDS; clients map names to theme hues. */
367
359
  color: Type.Optional(Type.String()),
368
360
  channelAvatarUrl: Type.Optional(NonEmptyString),
369
- conversationLink: Type.Optional(SessionConversationLinkSchema),
370
361
  boardFace: Type.Optional(Type.Union([Type.Literal("chat"), Type.Literal("dashboard")])),
362
+ /** Prepared dashboard membership fact shared by list and change-event rows. */
363
+ hasBoard: Type.Optional(Type.Boolean()),
371
364
  /** Shared dashboard default; absent means split. */
372
365
  boardPresentation: Type.Optional(Type.Union([Type.Literal("split"), Type.Literal("expanded")])),
373
366
  displayName: Type.Optional(Type.String()),
@@ -381,6 +374,8 @@ const SessionRowSchema = Type.Object({
381
374
  peerKind: Type.Optional(SessionPeerKindSchema),
382
375
  isMain: Type.Optional(Type.Boolean()),
383
376
  isBackground: Type.Optional(Type.Boolean()),
377
+ /** Conversation owned by a plugin dock rather than ordinary session discovery. */
378
+ isDock: Type.Optional(Type.Boolean()),
384
379
  chatType: Type.Optional(Type.Union([
385
380
  Type.Literal("direct"),
386
381
  Type.Literal("group"),
@@ -418,6 +413,8 @@ const SessionRowSchema = Type.Object({
418
413
  parentSessionKey: Type.Optional(Type.String()),
419
414
  parentSessionId: Type.Optional(Type.String()),
420
415
  controlOwnerSessionKey: Type.Optional(Type.String()),
416
+ /** Retained owners used by spawnedBy filtering at snapshotAt; empty retires child membership. */
417
+ childOwnerSessionKeys: Type.Optional(Type.Array(NonEmptyString, { maxItems: 2 })),
421
418
  childSessions: Type.Optional(Type.Array(Type.String())),
422
419
  forkedFromParent: Type.Optional(Type.Boolean()),
423
420
  spawnDepth: Type.Optional(Type.Number()),
@@ -461,6 +458,8 @@ const SessionRowSchema = Type.Object({
461
458
  Type.Literal("plugin"),
462
459
  Type.Literal("internal")
463
460
  ])),
461
+ /** Immutable presentation surface; independent of creation provenance. */
462
+ createdSurface: Type.Optional(Type.Literal("plugin-dock")),
464
463
  createdActor: Type.Optional(SessionCreatedActorSchema),
465
464
  owner: Type.Optional(SessionOwnerSchema),
466
465
  participants: Type.Optional(Type.Array(SessionParticipantSchema, { maxItems: 4 })),
@@ -550,12 +549,6 @@ const ProjectCloneErrorDetailsSchema = closedObject({
550
549
  "clone_failed"
551
550
  ] })
552
551
  });
553
- const RevisionHashSchema = Type.String({ pattern: "^[a-fA-F0-9]{64}$" });
554
- const SkillProposalRevisionChangedErrorDetailsSchema = closedObject({
555
- code: Type.Literal(GatewayErrorDetailCodes.SKILL_PROPOSAL_REVISION_CHANGED),
556
- expectedRevisionHash: RevisionHashSchema,
557
- currentRevisionHash: RevisionHashSchema
558
- });
559
552
  const SessionWorkspaceRecoveryRequiredErrorDetailsSchema = closedObject({
560
553
  code: Type.Literal(GatewayErrorDetailCodes.SESSION_WORKSPACE_RECOVERY_REQUIRED),
561
554
  cause: Type.Literal("device_offline"),
@@ -579,7 +572,6 @@ const GatewayErrorDetailsSchema = Type.Union([
579
572
  McpAppViewExpiredErrorDetailsSchema,
580
573
  OutboundDeliveryQueuedErrorDetailsSchema,
581
574
  UserPrefsLimitExceededErrorDetailsSchema,
582
- SkillProposalRevisionChangedErrorDetailsSchema,
583
575
  ProjectCloneErrorDetailsSchema,
584
576
  UnknownAgentIdErrorDetailsSchema,
585
577
  WizardNotFoundErrorDetailsSchema,
@@ -934,6 +926,7 @@ const WorkerExecutionModeSchema = Type.Union([Type.Literal("worker-turn"), Type.
934
926
  const WorkerEnvironmentProfileSummarySchema = closedObject({
935
927
  id: NonEmptyString,
936
928
  providerId: NonEmptyString,
929
+ inference: Type.Optional(Type.Literal("worker")),
937
930
  readyWorkers: Type.Optional(Type.Integer({ minimum: 0 })),
938
931
  providerDisplayId: Type.Optional(Type.String({
939
932
  pattern: "^[a-z][a-z0-9-]{0,63}(?![\\s\\S])",
@@ -1072,7 +1065,6 @@ function withSince(train, schema) {
1072
1065
  * These payloads request secret materialization from the gateway while keeping
1073
1066
  * caller scope, allowed paths, and provider overrides explicit.
1074
1067
  */
1075
- /** Empty request payload for reloading configured secret providers. */
1076
1068
  const SecretsReloadParamsSchema = closedObject({});
1077
1069
  const SecretStoreNameSchema = Type.String({
1078
1070
  minLength: 1,
@@ -1114,9 +1106,7 @@ const SecretStoreEnvEntrySchema = closedObject({
1114
1106
  });
1115
1107
  /** Team secret-store list entry, discriminated by disclosure behavior. */
1116
1108
  const SecretStoreEntrySchema = Type.Union([SecretStoreSecretEntrySchema, SecretStoreEnvEntrySchema]);
1117
- /** Empty request payload for listing the team secret store. */
1118
1109
  const SecretsStoreListParamsSchema = closedObject({});
1119
- /** Team secret-store inventory. */
1120
1110
  const SecretsStoreListResultSchema = closedObject({ entries: Type.Array(SecretStoreEntrySchema) });
1121
1111
  /** Create or replace one team secret-store entry. */
1122
1112
  const SecretsStoreSetParamsSchema = closedObject({
@@ -1295,6 +1285,37 @@ const SkillsDetailResultSchema = closedObject({
1295
1285
  }), Type.Null()]))
1296
1286
  });
1297
1287
  //#endregion
1288
+ //#region packages/gateway-protocol/src/schema/skills-search.ts
1289
+ /** Wire copy of the core trust state; this package intentionally depends on typebox only. */
1290
+ const CLAWHUB_SKILLS_SH_TRUST_STATE_VALUE = "not-scanned-by-clawhub";
1291
+ /** Searches the skill registry. */
1292
+ const SkillsSearchParamsSchema = closedObject({
1293
+ query: Type.Optional(NonEmptyString),
1294
+ limit: Type.Optional(Type.Integer({
1295
+ minimum: 1,
1296
+ maximum: 100
1297
+ }))
1298
+ });
1299
+ /** Ranked skill registry search results. */
1300
+ const SkillsSearchResultSchema = closedObject({ results: Type.Array(closedObject({
1301
+ official: Type.Optional(Type.Boolean()),
1302
+ score: Type.Number(),
1303
+ slug: NonEmptyString,
1304
+ registry: NonEmptyString,
1305
+ ownerHandle: Type.Optional(Type.Union([NonEmptyString, Type.Null()])),
1306
+ installRef: Type.String({
1307
+ minLength: 1,
1308
+ description: "Source-qualified reference for this result. Send it as `slug` to skills.install; several publishers can share one slug."
1309
+ }),
1310
+ installOnly: Type.Optional(Type.Literal(true, { description: "Present when ClawHub serves this result install-only: offer install directly with `installRef`, because skills.detail cannot answer for it. Absence means the ordinary review-then-install flow, so results from servers that predate this field keep their existing behavior." })),
1311
+ trustState: Type.Optional(Type.Literal(CLAWHUB_SKILLS_SH_TRUST_STATE_VALUE, { description: "Present when ClawHub resolves this result from a source it has not scanned." })),
1312
+ displayName: NonEmptyString,
1313
+ summary: Type.Optional(Type.String()),
1314
+ icon: Type.Optional(Type.Union([Type.String(), Type.Null()])),
1315
+ version: Type.Optional(NonEmptyString),
1316
+ updatedAt: Type.Optional(Type.Integer())
1317
+ })) });
1318
+ //#endregion
1298
1319
  //#region packages/gateway-protocol/src/schema/model-account-selection.ts
1299
1320
  const ModelAuthProfileIdSchema = Type.String({
1300
1321
  minLength: 1,
@@ -1389,6 +1410,13 @@ const ModelRuntimeProperties = {
1389
1410
  serviceTiers: Type.Optional(Type.Array(NonEmptyString)),
1390
1411
  /** Local selected-request applicability, not preference or upstream fulfillment. */
1391
1412
  supportsFastMode: Type.Optional(Type.Boolean()),
1413
+ /** Selected route can safely retry rejected service tiers before output. */
1414
+ supportsServiceTierRecovery: Type.Optional(Type.Boolean()),
1415
+ /** Recent fulfillment of a requested tier; never a capability restriction. */
1416
+ serviceTierObservation: Type.Optional(closedObject({
1417
+ requestedTier: NonEmptyString,
1418
+ responseTier: Type.Optional(NonEmptyString)
1419
+ })),
1392
1420
  supportsTools: Type.Optional(Type.Boolean()),
1393
1421
  input: Type.Optional(Type.Array(Type.Union([
1394
1422
  Type.Literal("text"),
@@ -1413,7 +1441,9 @@ const ModelChoiceSchema = closedObject({
1413
1441
  ...ModelRuntimeProperties,
1414
1442
  agentRuntime: Type.Optional(GatewayAgentRuntimeSchema),
1415
1443
  apiKeySupported: Type.Optional(Type.Boolean()),
1416
- runtimeChoices: Type.Optional(Type.Array(ModelRuntimeChoiceSchema, { maxItems: 8 }))
1444
+ runtimeChoices: Type.Optional(Type.Array(ModelRuntimeChoiceSchema, { maxItems: 8 })),
1445
+ /** Hosted-catalog recommendation; picker rows arrive recommended-first within each provider. */
1446
+ recommended: Type.Optional(Type.Boolean())
1417
1447
  });
1418
1448
  /** Model catalog result. */
1419
1449
  const ModelCatalogProviderOutcomeSchema = closedObject({
@@ -1427,6 +1457,8 @@ const ModelCatalogProviderOutcomeSchema = closedObject({
1427
1457
  });
1428
1458
  const ModelsListResultSchema = closedObject({
1429
1459
  models: Type.Array(ModelChoiceSchema),
1460
+ /** Matches the authorized session row's saved model-selection inputs. */
1461
+ sessionModelRevision: Type.Optional(NonEmptyString),
1430
1462
  /** The Gateway owns role restrictions and the effective permitted reset target. */
1431
1463
  modelSelectionPolicy: Type.Optional(closedObject({
1432
1464
  restricted: Type.Literal(true),
@@ -1480,78 +1512,6 @@ const ModelsListResultSchema = closedObject({
1480
1512
  accountSelection: Type.Optional(ChatAccountSelectionSchema),
1481
1513
  providerOutcomes: Type.Optional(Type.Array(ModelCatalogProviderOutcomeSchema))
1482
1514
  });
1483
- const SkillCuratorEntrySchema = closedObject({
1484
- skillFile: NonEmptyString,
1485
- skillKey: NonEmptyString,
1486
- skillName: NonEmptyString,
1487
- state: Type.Union([
1488
- Type.Literal("active"),
1489
- Type.Literal("stale"),
1490
- Type.Literal("archived")
1491
- ]),
1492
- pinned: Type.Boolean(),
1493
- createdAtMs: Type.Number(),
1494
- stateChangedAtMs: Type.Number(),
1495
- lastUsedAtMs: Type.Union([Type.Number(), Type.Null()]),
1496
- useCount: Type.Number(),
1497
- archivedReason: Type.Union([Type.String(), Type.Null()])
1498
- });
1499
- const SkillOverlapCandidateSchema = closedObject({
1500
- left: NonEmptyString,
1501
- right: NonEmptyString,
1502
- score: Type.Number()
1503
- });
1504
- const SkillCollectionReviewStatusSchema = closedObject({
1505
- attemptedAtMs: Type.Number(),
1506
- succeededAtMs: Type.Optional(Type.Number()),
1507
- error: Type.Optional(Type.String())
1508
- });
1509
- const SkillExperienceReviewStatusSchema = closedObject({
1510
- attemptedAtMs: Type.Number(),
1511
- outcome: Type.Union([
1512
- Type.Literal("completed"),
1513
- Type.Literal("applied"),
1514
- Type.Literal("proposed"),
1515
- Type.Literal("nothing"),
1516
- Type.Literal("failed")
1517
- ]),
1518
- proposalId: Type.Optional(Type.String()),
1519
- error: Type.Optional(Type.String()),
1520
- usage: Type.Optional(closedObject({
1521
- inputTokens: Type.Number(),
1522
- cachedInputTokens: Type.Number(),
1523
- outputTokens: Type.Number()
1524
- }))
1525
- });
1526
- /** Reads persisted skill usage and collection review state. */
1527
- const SkillsCuratorStatusParamsSchema = closedObject({});
1528
- const SkillsCuratorStatusResultSchema = closedObject({
1529
- lastAttemptAtMs: Type.Union([Type.Number(), Type.Null()]),
1530
- lastSuccessAtMs: Type.Union([Type.Number(), Type.Null()]),
1531
- lastError: Type.Union([Type.String(), Type.Null()]),
1532
- collectionReview: Type.Optional(Type.Record(NonEmptyString, SkillCollectionReviewStatusSchema)),
1533
- experienceReview: Type.Optional(Type.Record(NonEmptyString, SkillExperienceReviewStatusSchema)),
1534
- counts: closedObject({
1535
- active: Type.Number(),
1536
- stale: Type.Number(),
1537
- archived: Type.Number()
1538
- }),
1539
- skills: Type.Array(SkillCuratorEntrySchema),
1540
- overlaps: Type.Array(SkillOverlapCandidateSchema)
1541
- });
1542
- /** Preserves retired curator action methods so clients receive an actionable error. */
1543
- const SkillsCuratorActionParamsSchema = closedObject({ skill: NonEmptyString });
1544
- const SkillsCuratorActionResultSchema = SkillCuratorEntrySchema;
1545
- const SkillCuratorLiveEntrySchema = closedObject({
1546
- ...SkillCuratorEntrySchema.properties,
1547
- createdAtMs: Type.Union([Type.Number(), Type.Null()]),
1548
- stateChangedAtMs: Type.Union([Type.Number(), Type.Null()])
1549
- });
1550
- const SkillsCuratorLiveStatusResultSchema = closedObject({
1551
- ...SkillsCuratorStatusResultSchema.properties,
1552
- inventory: Type.Literal("live-workshop"),
1553
- skills: Type.Array(SkillCuratorLiveEntrySchema)
1554
- });
1555
1515
  //#endregion
1556
1516
  //#region packages/gateway-protocol/src/schema/agents-models-skills.ts
1557
1517
  /**
@@ -1784,8 +1744,6 @@ const SkillsUploadCommitParamsSchema = closedObject({
1784
1744
  * `skills.search` returned for the entry the operator picked.
1785
1745
  */
1786
1746
  const CLAWHUB_SKILL_REF_DESCRIPTION = "ClawHub skill reference: `@owner/slug`, `skills-sh:owner/repo/slug`, or a bare `slug` when no publisher is known.";
1787
- /** Wire copy of the core trust state; this package intentionally depends on typebox only. */
1788
- const CLAWHUB_SKILLS_SH_TRUST_STATE_VALUE = "not-scanned-by-clawhub";
1789
1747
  /** Installs a skill from legacy install id, ClawHub, or uploaded archive. */
1790
1748
  const SkillsInstallParamsSchema = Type.Union([
1791
1749
  closedObject({
@@ -1832,32 +1790,6 @@ const SkillsUpdateParamsSchema = Type.Union([closedObject({
1832
1790
  all: Type.Optional(Type.Boolean()),
1833
1791
  force: Type.Optional(Type.Boolean())
1834
1792
  })]);
1835
- /** Searches the skill registry. */
1836
- const SkillsSearchParamsSchema = closedObject({
1837
- query: Type.Optional(NonEmptyString),
1838
- limit: Type.Optional(Type.Integer({
1839
- minimum: 1,
1840
- maximum: 100
1841
- }))
1842
- });
1843
- /** Ranked skill registry search results. */
1844
- const SkillsSearchResultSchema = closedObject({ results: Type.Array(closedObject({
1845
- score: Type.Number(),
1846
- slug: NonEmptyString,
1847
- registry: NonEmptyString,
1848
- ownerHandle: Type.Optional(Type.Union([NonEmptyString, Type.Null()])),
1849
- installRef: Type.String({
1850
- minLength: 1,
1851
- description: "Source-qualified reference for this result. Send it as `slug` to skills.install; several publishers can share one slug."
1852
- }),
1853
- installOnly: Type.Optional(Type.Literal(true, { description: "Present when ClawHub serves this result install-only: offer install directly with `installRef`, because skills.detail cannot answer for it. Absence means the ordinary review-then-install flow, so results from servers that predate this field keep their existing behavior." })),
1854
- trustState: Type.Optional(Type.Literal(CLAWHUB_SKILLS_SH_TRUST_STATE_VALUE, { description: "Present when ClawHub resolves this result from a source it has not scanned." })),
1855
- displayName: NonEmptyString,
1856
- summary: Type.Optional(Type.String()),
1857
- icon: Type.Optional(Type.Union([Type.String(), Type.Null()])),
1858
- version: Type.Optional(NonEmptyString),
1859
- updatedAt: Type.Optional(Type.Integer())
1860
- })) });
1861
1793
  /** Reads registry detail for one skill. */
1862
1794
  const SkillsDetailParamsSchema = closedObject({
1863
1795
  slug: Type.String({
@@ -1909,421 +1841,102 @@ const SkillsSkillCardResultSchema = closedObject({
1909
1841
  sizeBytes: Type.Integer({ minimum: 0 }),
1910
1842
  content: Type.String()
1911
1843
  });
1912
- const SkillProposalStatusSchema = Type.Union([
1913
- Type.Literal("pending"),
1914
- Type.Literal("applied"),
1915
- Type.Literal("rejected"),
1916
- Type.Literal("quarantined"),
1917
- Type.Literal("stale")
1918
- ]);
1919
- /** Skill proposal operation type: new skill or update to an existing skill. */
1920
- const SkillProposalKindSchema = Type.Union([Type.Literal("create"), Type.Literal("update")]);
1921
- /** Scan state for proposed skill content before it can be applied. */
1922
- const SkillProposalScanStateSchema = Type.Union([
1923
- Type.Literal("pending"),
1924
- Type.Literal("clean"),
1925
- Type.Literal("failed"),
1926
- Type.Literal("quarantined")
1844
+ const SkillWorkshopChangeActionSchema = Type.Union([
1845
+ Type.Literal("create"),
1846
+ Type.Literal("patch"),
1847
+ Type.Literal("write_file"),
1848
+ Type.Literal("remove_file"),
1849
+ Type.Literal("archive"),
1850
+ Type.Literal("restore")
1927
1851
  ]);
1928
- /** Source that created the skill proposal record. */
1929
- const SkillProposalSourceSchema = Type.Union([
1930
- Type.Literal("skill-workshop"),
1931
- Type.Literal("cli"),
1932
- Type.Literal("gateway")
1852
+ const SkillWorkshopActorSchema = Type.Union([
1853
+ Type.Literal("agent"),
1854
+ Type.Literal("review"),
1855
+ Type.Literal("curator"),
1856
+ Type.Literal("user")
1933
1857
  ]);
1934
- const SkillProposalContentString = Type.String({
1935
- minLength: 1,
1936
- maxLength: 1048576
1937
- });
1938
- /** Support file payload accepted from proposal create/revise requests. */
1939
- const SkillProposalSupportFileInputSchema = closedObject({
1940
- path: NonEmptyString,
1941
- content: Type.String({ maxLength: 262144 })
1942
- });
1943
- /** Stored support file metadata, including target conflict hashes for updates. */
1944
- const SkillProposalSupportFileSchema = closedObject({
1945
- path: NonEmptyString,
1946
- sizeBytes: Type.Integer({
1947
- minimum: 0,
1948
- maximum: 262144
1949
- }),
1950
- hash: Sha256String,
1951
- targetExisted: Type.Optional(Type.Boolean()),
1952
- targetContentHash: Type.Optional(Sha256String)
1953
- });
1954
- /** One static-scan finding against proposed skill content. */
1955
- const SkillProposalFindingSchema = closedObject({
1956
- ruleId: NonEmptyString,
1957
- severity: Type.Union([
1958
- Type.Literal("info"),
1959
- Type.Literal("warn"),
1960
- Type.Literal("critical")
1961
- ]),
1962
- file: NonEmptyString,
1963
- line: Type.Integer({ minimum: 1 }),
1964
- message: NonEmptyString,
1965
- evidence: Type.String()
1966
- });
1967
- /** Aggregated scan report attached to a proposal record. */
1968
- const SkillProposalScanSchema = closedObject({
1969
- state: SkillProposalScanStateSchema,
1970
- scannedAt: NonEmptyString,
1971
- critical: Type.Integer({ minimum: 0 }),
1972
- warn: Type.Integer({ minimum: 0 }),
1973
- info: Type.Integer({ minimum: 0 }),
1974
- findings: Type.Array(SkillProposalFindingSchema)
1975
- });
1976
- /** Skill file target that a proposal creates or updates. */
1977
- const SkillProposalTargetSchema = closedObject({
1858
+ const TimestampMsSchema = Type.Number({ minimum: 0 });
1859
+ /** One applied Workshop change; `versionId` names the snapshot taken before it, for undo. */
1860
+ const SkillWorkshopChangeSchema = closedObject({
1861
+ id: NonEmptyString,
1862
+ agentId: NonEmptyString,
1978
1863
  skillName: NonEmptyString,
1979
- skillKey: NonEmptyString,
1980
- skillDir: NonEmptyString,
1981
- skillFile: NonEmptyString,
1982
- source: Type.Optional(NonEmptyString),
1983
- currentContentHash: Type.Optional(NonEmptyString)
1984
- });
1985
- /** Optional runtime origin tying a proposal back to an agent turn. */
1986
- const SkillProposalOriginSchema = closedObject({
1987
- agentId: Type.Optional(NonEmptyString),
1864
+ action: SkillWorkshopChangeActionSchema,
1865
+ actor: SkillWorkshopActorSchema,
1866
+ summary: Type.String(),
1867
+ versionId: Type.Optional(NonEmptyString),
1988
1868
  sessionKey: Type.Optional(NonEmptyString),
1989
1869
  runId: Type.Optional(NonEmptyString),
1990
- messageId: Type.Optional(NonEmptyString)
1870
+ createdAtMs: TimestampMsSchema
1991
1871
  });
1992
- const SkillProposalEvaluationFindingSchema = closedObject({
1993
- ruleId: Type.String({
1994
- minLength: 1,
1995
- maxLength: 256
1996
- }),
1997
- severity: Type.Union([
1998
- Type.Literal("info"),
1999
- Type.Literal("warn"),
2000
- Type.Literal("critical")
2001
- ]),
2002
- message: Type.String({
2003
- minLength: 1,
2004
- maxLength: 4e3
2005
- }),
2006
- file: Type.Optional(Type.String({
2007
- minLength: 1,
2008
- maxLength: 1024
2009
- })),
2010
- line: Type.Optional(Type.Integer({ minimum: 1 }))
1872
+ /** Live Workshop skill with optional usage counters. */
1873
+ const SkillWorkshopSkillSummarySchema = closedObject({
1874
+ name: NonEmptyString,
1875
+ description: Type.String(),
1876
+ updatedAtMs: TimestampMsSchema,
1877
+ sizeBytes: Type.Integer({ minimum: 0 }),
1878
+ files: Type.Array(NonEmptyString),
1879
+ useCount: Type.Optional(Type.Integer({ minimum: 0 })),
1880
+ lastUsedAtMs: Type.Optional(TimestampMsSchema)
2011
1881
  });
2012
- const SkillProposalEvaluationResultSchema = closedObject({
2013
- summary: Type.Optional(Type.String({ maxLength: 8e3 })),
2014
- findings: Type.Optional(Type.Array(SkillProposalEvaluationFindingSchema, { maxItems: 200 })),
2015
- metrics: Type.Optional(Type.Record(Type.String(), Type.Union([
2016
- Type.String({ maxLength: 4e3 }),
2017
- Type.Number(),
2018
- Type.Boolean()
2019
- ]), {
2020
- maxProperties: 64,
2021
- propertyNames: Type.String({
2022
- minLength: 1,
2023
- maxLength: 128
2024
- })
2025
- })),
2026
- evaluatorVersion: Type.Optional(Type.String({
2027
- minLength: 1,
2028
- maxLength: 128
2029
- })),
2030
- mode: Type.Optional(Type.String({
2031
- minLength: 1,
2032
- maxLength: 128
2033
- })),
2034
- decision: Type.Optional(Type.Union([
2035
- Type.Literal("pass"),
2036
- Type.Literal("revise"),
2037
- Type.Literal("block")
2038
- ])),
2039
- decisionReason: Type.Optional(Type.String({ maxLength: 2e3 }))
1882
+ /** Saved versions of one Workshop skill; `live: false` means the skill is archived. */
1883
+ const SkillWorkshopArchivedSkillSchema = closedObject({
1884
+ name: NonEmptyString,
1885
+ live: Type.Boolean(),
1886
+ versions: Type.Array(closedObject({
1887
+ id: NonEmptyString,
1888
+ action: SkillWorkshopChangeActionSchema,
1889
+ createdAtMs: TimestampMsSchema
1890
+ }))
2040
1891
  });
2041
- const SkillProposalEvaluationOutcomeAttribution = {
2042
- pluginId: Type.String({
2043
- minLength: 1,
2044
- maxLength: 128
2045
- }),
2046
- pluginVersion: Type.Optional(Type.String({
2047
- minLength: 1,
2048
- maxLength: 128
1892
+ /** Lists the selected agent's Workshop skills and saved versions. */
1893
+ const SkillsWorkshopListParamsSchema = closedObject({ agentId: Type.Optional(NonEmptyString) });
1894
+ const SkillsWorkshopListResultSchema = closedObject({
1895
+ agentId: NonEmptyString,
1896
+ mode: Type.Union([Type.Literal("off"), Type.Literal("auto")]),
1897
+ root: NonEmptyString,
1898
+ skills: Type.Array(SkillWorkshopSkillSummarySchema),
1899
+ archived: Type.Array(SkillWorkshopArchivedSkillSchema)
1900
+ });
1901
+ /** Pages the Workshop change feed newest first. */
1902
+ const SkillsWorkshopChangesParamsSchema = closedObject({
1903
+ agentId: Type.Optional(NonEmptyString),
1904
+ limit: Type.Optional(Type.Integer({
1905
+ minimum: 1,
1906
+ maximum: 500
2049
1907
  })),
2050
- evaluatorId: Type.String({
2051
- minLength: 1,
2052
- maxLength: 128
2053
- })
2054
- };
2055
- const SkillProposalEvaluationOutcomeSchema = Type.Union([
2056
- closedObject({
2057
- ...SkillProposalEvaluationOutcomeAttribution,
2058
- status: Type.Literal("completed"),
2059
- result: SkillProposalEvaluationResultSchema
2060
- }),
2061
- closedObject({
2062
- ...SkillProposalEvaluationOutcomeAttribution,
2063
- status: Type.Literal("skipped")
2064
- }),
2065
- closedObject({
2066
- ...SkillProposalEvaluationOutcomeAttribution,
2067
- status: Type.Literal("error"),
2068
- error: Type.String({
2069
- minLength: 1,
2070
- maxLength: 2e3
2071
- })
2072
- })
2073
- ]);
2074
- /** Latest completed evaluator run attached to a proposal record. */
2075
- const SkillProposalEvaluationSchema = closedObject({
2076
- id: NonEmptyString,
2077
- proposedVersion: NonEmptyString,
2078
- revisionHash: Sha256String,
2079
- trigger: Type.Union([Type.Literal("manual"), Type.Literal("apply")]),
2080
- startedAt: NonEmptyString,
2081
- completedAt: NonEmptyString,
2082
- correlationId: Type.Optional(NonEmptyString),
2083
- targetTreeSha256: Type.Optional(Sha256String),
2084
- outcomes: Type.Array(SkillProposalEvaluationOutcomeSchema, { maxItems: 64 })
2085
- });
2086
- /** Full persisted skill proposal record. */
2087
- const SkillProposalRecordSchema = closedObject({
2088
- schema: Type.Literal("openclaw.skill-workshop.proposal.v1"),
2089
- id: NonEmptyString,
2090
- kind: SkillProposalKindSchema,
2091
- status: SkillProposalStatusSchema,
2092
- title: NonEmptyString,
2093
- description: NonEmptyString,
2094
- createdAt: NonEmptyString,
2095
- updatedAt: NonEmptyString,
2096
- createdBy: SkillProposalSourceSchema,
2097
- origin: Type.Optional(SkillProposalOriginSchema),
2098
- proposedVersion: NonEmptyString,
2099
- draftFile: Type.Literal("PROPOSAL.md"),
2100
- draftHash: NonEmptyString,
2101
- supportFiles: Type.Optional(Type.Array(SkillProposalSupportFileSchema, { maxItems: 64 })),
2102
- target: SkillProposalTargetSchema,
2103
- scan: SkillProposalScanSchema,
2104
- goal: Type.Optional(Type.String()),
2105
- evidence: Type.Optional(Type.String()),
2106
- appliedAt: Type.Optional(NonEmptyString),
2107
- rejectedAt: Type.Optional(NonEmptyString),
2108
- quarantinedAt: Type.Optional(NonEmptyString),
2109
- staleAt: Type.Optional(NonEmptyString),
2110
- statusReason: Type.Optional(Type.String()),
2111
- evaluation: Type.Optional(SkillProposalEvaluationSchema)
2112
- });
2113
- /** Condensed proposal manifest entry for list views. */
2114
- const SkillProposalManifestEntrySchema = closedObject({
2115
- id: NonEmptyString,
2116
- kind: SkillProposalKindSchema,
2117
- status: SkillProposalStatusSchema,
2118
- title: NonEmptyString,
2119
- description: NonEmptyString,
2120
- skillName: NonEmptyString,
2121
- skillKey: NonEmptyString,
2122
- createdAt: NonEmptyString,
2123
- updatedAt: NonEmptyString,
2124
- scanState: SkillProposalScanStateSchema,
2125
- revisionHash: Type.Optional(Sha256String),
2126
- degradedState: Type.Optional(Type.Literal("draft-missing"))
2127
- });
2128
- /** Lists skill-workshop proposals for the selected agent scope. */
2129
- const SkillsProposalsListParamsSchema = closedObject({ agentId: Type.Optional(NonEmptyString) });
2130
- /** Proposal manifest response for dashboard/workshop list views. */
2131
- const SkillsProposalsListResultSchema = closedObject({
2132
- schema: Type.Literal("openclaw.skill-workshop.proposals-manifest.v1"),
2133
- updatedAt: NonEmptyString,
2134
- proposals: Type.Array(SkillProposalManifestEntrySchema),
2135
- installedSkills: Type.Array(closedObject({
2136
- name: NonEmptyString,
2137
- skillKey: NonEmptyString,
2138
- description: Type.String()
2139
- }))
1908
+ beforeMs: Type.Optional(TimestampMsSchema)
2140
1909
  });
2141
- /** Reads the current agent-owned Workshop skill, independently of its proposal history. */
1910
+ const SkillsWorkshopChangesResultSchema = closedObject({ changes: Type.Array(SkillWorkshopChangeSchema) });
1911
+ /** Reads one file of a live Workshop skill, or of a saved version when `versionId` is set. */
2142
1912
  const SkillsWorkshopReadParamsSchema = closedObject({
2143
1913
  agentId: Type.Optional(NonEmptyString),
2144
- name: NonEmptyString
1914
+ name: NonEmptyString,
1915
+ filePath: Type.Optional(NonEmptyString),
1916
+ versionId: Type.Optional(NonEmptyString)
2145
1917
  });
2146
1918
  const SkillsWorkshopReadResultSchema = closedObject({
2147
1919
  name: NonEmptyString,
2148
- skillKey: NonEmptyString,
2149
- description: Type.String(),
2150
- content: Type.String()
2151
- });
2152
- /** Reads a proposal record plus editable draft/support content. */
2153
- const SkillsProposalInspectParamsSchema = closedObject({
2154
- agentId: Type.Optional(NonEmptyString),
2155
- proposalId: NonEmptyString
2156
- });
2157
- /** Full proposal inspection result used before apply/revise decisions. */
2158
- const SkillsProposalInspectResultSchema = closedObject({
2159
- record: SkillProposalRecordSchema,
2160
- revisionHash: Type.Optional(Sha256String),
1920
+ filePath: NonEmptyString,
2161
1921
  content: Type.String(),
2162
- supportFiles: Type.Optional(Type.Array(SkillProposalSupportFileInputSchema, { maxItems: 64 }))
1922
+ files: Type.Array(NonEmptyString)
2163
1923
  });
2164
- /** Creates a proposal for a new skill. */
2165
- const SkillsProposalCreateParamsSchema = closedObject({
1924
+ /** Archives a live Workshop skill; the snapshot stays restorable. */
1925
+ const SkillsWorkshopArchiveParamsSchema = closedObject({
2166
1926
  agentId: Type.Optional(NonEmptyString),
2167
1927
  name: NonEmptyString,
2168
- description: NonEmptyString,
2169
- content: SkillProposalContentString,
2170
- supportFiles: Type.Optional(Type.Array(SkillProposalSupportFileInputSchema, { maxItems: 64 })),
2171
- goal: Type.Optional(Type.String()),
2172
- evidence: Type.Optional(Type.String())
2173
- });
2174
- /** Creates a proposal to update an existing skill. */
2175
- const SkillsProposalUpdateParamsSchema = closedObject({
2176
- agentId: Type.Optional(NonEmptyString),
2177
- skillName: NonEmptyString,
2178
- description: Type.Optional(NonEmptyString),
2179
- content: SkillProposalContentString,
2180
- supportFiles: Type.Optional(Type.Array(SkillProposalSupportFileInputSchema, { maxItems: 64 })),
2181
- goal: Type.Optional(Type.String()),
2182
- evidence: Type.Optional(Type.String())
2183
- });
2184
- /** Replaces draft content/support files for an existing proposal. */
2185
- const SkillsProposalReviseParamsSchema = closedObject({
2186
- agentId: Type.Optional(NonEmptyString),
2187
- proposalId: NonEmptyString,
2188
- expectedRevisionHash: Type.Optional(Sha256String),
2189
- correlationId: Type.Optional(Type.String({
2190
- minLength: 1,
2191
- maxLength: 256
2192
- })),
2193
- content: Type.Optional(SkillProposalContentString),
2194
- supportFiles: Type.Optional(Type.Array(SkillProposalSupportFileInputSchema, { maxItems: 64 })),
2195
- description: Type.Optional(NonEmptyString),
2196
- goal: Type.Optional(Type.String()),
2197
- evidence: Type.Optional(Type.String())
2198
- });
2199
- /** Starts an agent turn that revises a pending proposal from natural-language instructions. */
2200
- const SkillsProposalRequestRevisionParamsSchema = closedObject({
2201
- agentId: Type.Optional(NonEmptyString),
2202
- targetAgentId: Type.Optional(NonEmptyString),
2203
- proposalId: NonEmptyString,
2204
- expectedRevisionHash: Sha256String,
2205
- instructions: Type.String({
2206
- minLength: 1,
2207
- maxLength: 32768
2208
- }),
2209
- sessionKey: NonEmptyString,
2210
- sessionId: Type.Optional(NonEmptyString),
2211
- idempotencyKey: NonEmptyString
2212
- });
2213
- /** Chat-run acknowledgement returned after queueing a Skill Workshop revision request. */
2214
- const SkillsProposalRequestRevisionResultSchema = Type.Object({
2215
- runId: NonEmptyString,
2216
- status: Type.Union([
2217
- Type.Literal("started"),
2218
- Type.Literal("in_flight"),
2219
- Type.Literal("ok"),
2220
- Type.Literal("timeout"),
2221
- Type.Literal("error")
2222
- ])
2223
- }, { additionalProperties: true });
2224
- /** Apply/reject payload bound to the exact proposal revision reviewed by the operator. */
2225
- const SkillsProposalDecisionParamsSchema = closedObject({
2226
- agentId: Type.Optional(NonEmptyString),
2227
- proposalId: NonEmptyString,
2228
- expectedRevisionHash: Sha256String,
2229
- correlationId: Type.Optional(Type.String({
2230
- minLength: 1,
2231
- maxLength: 256
2232
- })),
2233
- reason: Type.Optional(Type.String())
2234
- });
2235
- /** Quarantine payload with optional optimistic-concurrency evidence. */
2236
- const SkillsProposalActionParamsSchema = closedObject({
2237
- agentId: Type.Optional(NonEmptyString),
2238
- proposalId: NonEmptyString,
2239
- expectedRevisionHash: Type.Optional(Sha256String),
2240
- correlationId: Type.Optional(Type.String({
1928
+ reason: Type.Optional(Type.String({
2241
1929
  minLength: 1,
2242
- maxLength: 256
2243
- })),
2244
- reason: Type.Optional(Type.String())
2245
- });
2246
- /** Runs configured proposal evaluators against the current draft. */
2247
- const SkillsProposalEvaluateParamsSchema = closedObject({
2248
- agentId: Type.Optional(NonEmptyString),
2249
- proposalId: NonEmptyString,
2250
- expectedRevisionHash: Type.Optional(Sha256String),
2251
- correlationId: Type.Optional(Type.String({
2252
- minLength: 1,
2253
- maxLength: 256
1930
+ maxLength: 1e3
2254
1931
  }))
2255
1932
  });
2256
- /** Updated proposal record and completed evaluator run returned by manual evaluation. */
2257
- const SkillsProposalEvaluateResultSchema = closedObject({
2258
- record: SkillProposalRecordSchema,
2259
- evaluation: SkillProposalEvaluationSchema
2260
- });
2261
- const SkillProposalLifecycleEventTypeSchema = Type.Union([
2262
- Type.Literal("created"),
2263
- Type.Literal("revised"),
2264
- Type.Literal("evaluation_completed"),
2265
- Type.Literal("applied"),
2266
- Type.Literal("rejected"),
2267
- Type.Literal("quarantined"),
2268
- Type.Literal("stale")
2269
- ]);
2270
- const SkillProposalLifecycleEventActorSchema = closedObject({
2271
- type: Type.Union([
2272
- Type.Literal("agent"),
2273
- Type.Literal("gateway"),
2274
- Type.Literal("plugin"),
2275
- Type.Literal("system")
2276
- ]),
2277
- id: Type.Optional(NonEmptyString)
2278
- });
2279
- const SkillProposalLifecycleEventPayloadSchema = Type.Record(Type.String(), Type.Union([
2280
- Type.String({ maxLength: 4e3 }),
2281
- Type.Number(),
2282
- Type.Boolean(),
2283
- Type.Null()
2284
- ]), {
2285
- maxProperties: 32,
2286
- propertyNames: Type.String({
2287
- minLength: 1,
2288
- maxLength: 80
2289
- })
2290
- });
2291
- /** Durable Skill Workshop lifecycle event returned for replay. */
2292
- const SkillProposalLifecycleEventSchema = closedObject({
2293
- sequence: Type.Integer({ minimum: 1 }),
2294
- eventId: NonEmptyString,
2295
- proposalId: NonEmptyString,
2296
- proposedVersion: NonEmptyString,
2297
- revisionHash: Sha256String,
2298
- type: SkillProposalLifecycleEventTypeSchema,
2299
- occurredAt: NonEmptyString,
2300
- actor: SkillProposalLifecycleEventActorSchema,
2301
- correlationId: Type.Optional(NonEmptyString),
2302
- payload: Type.Optional(SkillProposalLifecycleEventPayloadSchema),
2303
- evaluation: Type.Optional(SkillProposalEvaluationSchema)
2304
- });
2305
- /** Lists durable proposal lifecycle events after an optional sequence cursor. */
2306
- const SkillsProposalEventsListParamsSchema = closedObject({
1933
+ /** Restores a saved version (newest when omitted); the current live copy is versioned first. */
1934
+ const SkillsWorkshopRestoreParamsSchema = closedObject({
2307
1935
  agentId: Type.Optional(NonEmptyString),
2308
- proposalId: Type.Optional(NonEmptyString),
2309
- afterSequence: Type.Optional(Type.Integer({ minimum: 0 })),
2310
- limit: Type.Optional(Type.Integer({
2311
- minimum: 1,
2312
- maximum: 200
2313
- }))
2314
- });
2315
- /** Sequence-ordered proposal lifecycle replay page. */
2316
- const SkillsProposalEventsListResultSchema = closedObject({
2317
- events: Type.Array(SkillProposalLifecycleEventSchema, { maxItems: 200 }),
2318
- nextSequence: Type.Optional(Type.Integer({ minimum: 1 }))
2319
- });
2320
- /** Result returned after applying a skill proposal to disk. */
2321
- const SkillsProposalApplyResultSchema = closedObject({
2322
- record: SkillProposalRecordSchema,
2323
- targetSkillFile: NonEmptyString
1936
+ name: NonEmptyString,
1937
+ versionId: Type.Optional(NonEmptyString)
2324
1938
  });
2325
- /** Proposal record result returned after non-apply proposal actions. */
2326
- const SkillsProposalRecordResultSchema = SkillProposalRecordSchema;
1939
+ const SkillsWorkshopChangeResultSchema = closedObject({ change: SkillWorkshopChangeSchema });
2327
1940
  const GitHubIdentityScopeSchema = Type.Union([Type.Literal("system"), Type.Literal("agent")]);
2328
1941
  const ToolsGitHubStatusParamsSchema = closedObject({
2329
1942
  agentId: NonEmptyString,
@@ -2524,14 +2137,12 @@ const SetupInferenceActivationRejectionSchema = closedObject({
2524
2137
  });
2525
2138
  //#endregion
2526
2139
  //#region packages/gateway-protocol/src/schema/wizard.ts
2527
- /** Runtime state reported for gateway-driven setup wizard sessions. */
2528
2140
  const WizardRunStatusSchema = Type.Union([
2529
2141
  Type.Literal("running"),
2530
2142
  Type.Literal("done"),
2531
2143
  Type.Literal("cancelled"),
2532
2144
  Type.Literal("error")
2533
2145
  ]);
2534
- /** Starts a setup wizard, optionally scoped to a local or remote workspace. */
2535
2146
  const WizardStartParamsSchema = closedObject({
2536
2147
  mode: Type.Optional(Type.Union([Type.Literal("local"), Type.Literal("remote")])),
2537
2148
  workspace: Type.Optional(Type.String()),
@@ -2543,7 +2154,6 @@ const McpAuthLoginParamsSchema = closedObject({
2543
2154
  sessionId: NonEmptyString,
2544
2155
  serverName: NonEmptyString
2545
2156
  });
2546
- /** Client answer payload for the current wizard step. */
2547
2157
  const WizardAnswerSchema = closedObject({
2548
2158
  stepId: NonEmptyString,
2549
2159
  value: Type.Optional(Type.Unknown())
@@ -2559,7 +2169,6 @@ const WizardCancelParamsSchema = closedObject({
2559
2169
  closeInput: Type.Optional(Type.Boolean())
2560
2170
  });
2561
2171
  const WizardStatusParamsSchema = closedObject({ sessionId: NonEmptyString });
2562
- /** Selectable value shown in a choice-based wizard step. */
2563
2172
  const WizardStepOptionSchema = closedObject({
2564
2173
  value: Type.Unknown(),
2565
2174
  label: NonEmptyString,
@@ -2573,7 +2182,6 @@ const WizardDeviceCodeSchema = closedObject({
2573
2182
  })),
2574
2183
  message: Type.Optional(Type.String())
2575
2184
  });
2576
- /** UI contract for one wizard step rendered by gateway clients. */
2577
2185
  const WizardStepSchema = closedObject({
2578
2186
  id: NonEmptyString,
2579
2187
  type: Type.Union([
@@ -2601,7 +2209,6 @@ const WizardConfiguredAccountSchema = closedObject({
2601
2209
  channel: NonEmptyString,
2602
2210
  accountId: NonEmptyString
2603
2211
  });
2604
- /** Common response fields for start and next calls. */
2605
2212
  const WizardResultFields = {
2606
2213
  done: Type.Boolean(),
2607
2214
  step: Type.Optional(WizardStepSchema),
@@ -2617,9 +2224,7 @@ const WizardResultFields = {
2617
2224
  })),
2618
2225
  activationRejection: Type.Optional(SetupInferenceActivationRejectionSchema)
2619
2226
  };
2620
- /** Result after advancing a wizard session. */
2621
2227
  const WizardNextResultSchema = closedObject(WizardResultFields);
2622
- /** Result returned when a wizard session is created. */
2623
2228
  const WizardStartResultSchema = closedObject({
2624
2229
  sessionId: NonEmptyString,
2625
2230
  ...WizardResultFields
@@ -2630,6 +2235,13 @@ const WizardStatusResultSchema = closedObject({
2630
2235
  error: Type.Optional(Type.String())
2631
2236
  });
2632
2237
  //#endregion
2238
+ //#region packages/gateway-protocol/src/schema/tab-icon.ts
2239
+ function normalizeTabIconPreference(value) {
2240
+ if (value === "default" || value === "agent" || value === "agent:rounded" || value === "agent:circle") return value;
2241
+ if (typeof value !== "string" || value !== value.trim() || !/^lobster:[a-z][a-z0-9-]{0,47}$/.test(value)) return;
2242
+ return `lobster:${value.slice(8)}`;
2243
+ }
2244
+ //#endregion
2633
2245
  //#region packages/gateway-protocol/src/schema/ui-appearance-typefaces.ts
2634
2246
  const UI_APPEARANCE_TYPEFACE_VALUES = [
2635
2247
  "instrument-sans",
@@ -2650,10 +2262,12 @@ const UI_APPEARANCE_PREFERENCE_KEYS = {
2650
2262
  themeMode: "ui.themeMode",
2651
2263
  accent: "ui.accent",
2652
2264
  fontUi: "ui.fontUi",
2653
- fontChat: "ui.fontChat"
2265
+ fontChat: "ui.fontChat",
2266
+ tabIcon: "ui.tabIcon"
2654
2267
  };
2655
2268
  const UI_APPEARANCE_TYPEFACES = new Set(UI_APPEARANCE_TYPEFACE_VALUES);
2656
2269
  function normalizeUiAppearancePreference(key, value) {
2270
+ if (key === UI_APPEARANCE_PREFERENCE_KEYS.tabIcon) return normalizeTabIconPreference(value);
2657
2271
  if (typeof value !== "string") return;
2658
2272
  if (key === UI_APPEARANCE_PREFERENCE_KEYS.accent) return value === "theme" || /^#[0-9a-f]{6}$/i.test(value) ? value.toLowerCase() : void 0;
2659
2273
  if (key === UI_APPEARANCE_PREFERENCE_KEYS.fontUi || key === UI_APPEARANCE_PREFERENCE_KEYS.fontChat) return UI_APPEARANCE_TYPEFACES.has(value) ? value : void 0;
@@ -3303,7 +2917,7 @@ function lazyCompile(schema, precheck) {
3303
2917
  }
3304
2918
  const current = compiled ??= Compile(schema);
3305
2919
  const valid = current.Check(data);
3306
- errors = valid ? null : normalizeTypeBoxValidationErrors([...current.Errors(data)]);
2920
+ errors = valid ? null : normalizeTypeBoxValidationErrors(current.Errors(data)[1]);
3307
2921
  return valid;
3308
2922
  });
3309
2923
  Object.defineProperties(validate, {
@@ -3355,6 +2969,7 @@ function validatePluginUiCapabilities(value) {
3355
2969
  //#endregion
3356
2970
  //#region packages/gateway-protocol/src/schema/control-ui-link-reader.ts
3357
2971
  const ControlUiLinkReaderMetadataSchema = closedObject({
2972
+ /** Exact lowercase DNS hostnames; no schemes, ports, or wildcards. */
3358
2973
  hosts: Type.Array(Type.String({
3359
2974
  minLength: 1,
3360
2975
  maxLength: 253
@@ -3362,10 +2977,12 @@ const ControlUiLinkReaderMetadataSchema = closedObject({
3362
2977
  minItems: 1,
3363
2978
  maxItems: 16
3364
2979
  }),
2980
+ /** Anchored pathname regular expression authored by the installed trusted plugin. */
3365
2981
  pathPattern: Type.String({
3366
2982
  minLength: 2,
3367
2983
  maxLength: 1024
3368
2984
  }),
2985
+ /** Same-plugin gateway method requiring operator.read. */
3369
2986
  detailMethod: Type.String({
3370
2987
  minLength: 1,
3371
2988
  maxLength: 128
@@ -3374,6 +2991,7 @@ const ControlUiLinkReaderMetadataSchema = closedObject({
3374
2991
  minLength: 1,
3375
2992
  maxLength: 128
3376
2993
  })),
2994
+ /** Optional same-plugin read method resolving inline images without browser CORS. */
3377
2995
  imageMethod: Type.Optional(Type.String({
3378
2996
  minLength: 1,
3379
2997
  maxLength: 128
@@ -3383,6 +3001,7 @@ const ControlUiLinkReaderDescriptorSchema = closedObject({
3383
3001
  pluginId: NonEmptyString,
3384
3002
  id: NonEmptyString,
3385
3003
  label: NonEmptyString,
3004
+ /** Existing Control UI icon name; unknown names use the generic link icon. */
3386
3005
  icon: Type.Optional(Type.String()),
3387
3006
  linkReader: ControlUiLinkReaderMetadataSchema
3388
3007
  });
@@ -3608,7 +3227,6 @@ const PluginsInstallProgressEventSchema = closedObject({
3608
3227
  */
3609
3228
  /** Arbitrary plugin-owned JSON payload carried opaquely through the gateway. */
3610
3229
  const PluginJsonValueSchema = Type.Unknown();
3611
- /** Descriptor for one plugin-provided control UI action or surface. */
3612
3230
  const PluginControlUiDescriptorSchema = closedObject({
3613
3231
  id: NonEmptyString,
3614
3232
  pluginId: NonEmptyString,
@@ -3633,7 +3251,6 @@ const PluginControlUiDescriptorSchema = closedObject({
3633
3251
  schema: Type.Optional(PluginJsonValueSchema),
3634
3252
  requiredScopes: Type.Optional(Type.Array(NonEmptyString))
3635
3253
  });
3636
- /** Empty request payload for listing plugin UI descriptors. */
3637
3254
  const PluginsUiDescriptorsParamsSchema = closedObject({});
3638
3255
  const ControlUiPluginTabSchema = closedObject({
3639
3256
  pluginId: NonEmptyString,
@@ -3656,7 +3273,6 @@ const ControlUiPluginWidgetKindSchema = closedObject({
3656
3273
  kind: NonEmptyString,
3657
3274
  label: NonEmptyString
3658
3275
  });
3659
- /** Response payload containing all plugin UI descriptors visible to the client. */
3660
3276
  const PluginsUiDescriptorsResultSchema = closedObject({
3661
3277
  ok: Type.Literal(true),
3662
3278
  descriptors: Type.Array(PluginControlUiDescriptorSchema),
@@ -3706,7 +3322,6 @@ const PluginsControlUiStatusResultSchema = closedObject({ clients: Type.Array(cl
3706
3322
  connId: NonEmptyString,
3707
3323
  activations: Type.Array(PluginsControlUiReportParamsSchema, { maxItems: 64 })
3708
3324
  }), { maxItems: 128 }) });
3709
- /** Request payload for invoking one plugin-owned session action. */
3710
3325
  const PluginsSessionActionParamsSchema = closedObject({
3711
3326
  pluginId: NonEmptyString,
3712
3327
  actionId: NonEmptyString,
@@ -3714,7 +3329,6 @@ const PluginsSessionActionParamsSchema = closedObject({
3714
3329
  agentId: Type.Optional(NonEmptyString),
3715
3330
  payload: Type.Optional(PluginJsonValueSchema)
3716
3331
  });
3717
- /** Successful plugin action result, optionally continuing the agent turn. */
3718
3332
  const PluginsSessionActionSuccessResultSchema = closedObject({
3719
3333
  ok: Type.Literal(true),
3720
3334
  result: Type.Optional(PluginJsonValueSchema),
@@ -3728,14 +3342,11 @@ const PluginsSessionActionFailureResultSchema = closedObject({
3728
3342
  code: Type.Optional(Type.String()),
3729
3343
  details: Type.Optional(PluginJsonValueSchema)
3730
3344
  });
3731
- /** Discriminated plugin action result returned to gateway clients. */
3732
3345
  const PluginsSessionActionResultSchema = Type.Union([PluginsSessionActionSuccessResultSchema, PluginsSessionActionFailureResultSchema]);
3733
- /** ClawHub-backed install action for one catalog entry. */
3734
3346
  const PluginCatalogClawHubInstallSchema = closedObject({
3735
3347
  source: Type.Literal("clawhub"),
3736
3348
  packageName: NonEmptyString
3737
3349
  });
3738
- /** Official-catalog install action for one catalog entry. */
3739
3350
  const PluginCatalogOfficialInstallSchema = closedObject({
3740
3351
  source: Type.Literal("official"),
3741
3352
  pluginId: NonEmptyString
@@ -3848,7 +3459,6 @@ const PluginsSearchParamsSchema = closedObject({
3848
3459
  maximum: 100
3849
3460
  }))
3850
3461
  });
3851
- /** ClawHub package fields exposed by plugin search. */
3852
3462
  const PluginSearchPackageSchema = closedObject({
3853
3463
  name: NonEmptyString,
3854
3464
  displayName: NonEmptyString,
@@ -3865,7 +3475,6 @@ const PluginSearchPackageSchema = closedObject({
3865
3475
  downloads: Type.Optional(Type.Number({ minimum: 0 })),
3866
3476
  verificationTier: Type.Optional(NonEmptyString)
3867
3477
  });
3868
- /** Ranked ClawHub plugin search hit. */
3869
3478
  const PluginSearchResultEntrySchema = closedObject({
3870
3479
  score: Type.Number(),
3871
3480
  package: PluginSearchPackageSchema
@@ -4168,7 +3777,6 @@ const PluginRuntimeApplicationSchema = closedObject({
4168
3777
  selectedEntries: Type.Optional(Type.Record(NonEmptyString, NonEmptyString))
4169
3778
  });
4170
3779
  const PluginsChangedEventSchema = closedObject({ generation: Type.Integer({ minimum: 0 }) });
4171
- /** Successful plugin installation result. */
4172
3780
  const PluginsInstallResultSchema = closedObject({
4173
3781
  ok: Type.Literal(true),
4174
3782
  plugin: PluginCatalogEntrySchema,
@@ -4178,7 +3786,6 @@ const PluginsInstallResultSchema = closedObject({
4178
3786
  });
4179
3787
  /** Internal signal that persisted plugin metadata changed outside the Gateway process. */
4180
3788
  const PluginsRefreshParamsSchema = closedObject({});
4181
- /** Successful plugin metadata refresh admission. */
4182
3789
  const PluginsRefreshResultSchema = closedObject({
4183
3790
  ok: Type.Literal(true),
4184
3791
  restartRequired: Type.Optional(Type.Boolean()),
@@ -4225,14 +3832,12 @@ const PluginsUninstallResultSchema = closedObject({
4225
3832
  removed: Type.Array(Type.String()),
4226
3833
  warnings: Type.Optional(Type.Array(Type.String()))
4227
3834
  });
4228
- /** Request payload for changing one installed plugin's policy state. */
4229
3835
  const PluginsSetEnabledParamsSchema = closedObject({
4230
3836
  pluginId: NonEmptyString,
4231
3837
  enabled: Type.Boolean(),
4232
3838
  allowlistPolicy: Type.Optional(Type.Literal("preserve")),
4233
3839
  acknowledgeCapabilities: Type.Optional(PluginCapabilityAcknowledgmentSchema)
4234
3840
  });
4235
- /** Successful plugin enablement policy update. */
4236
3841
  const PluginsSetEnabledResultSchema = closedObject(PluginsInstallResultSchema.properties);
4237
3842
  //#endregion
4238
3843
  //#region packages/gateway-protocol/src/schema/sessions-catalog.ts
@@ -4453,7 +4058,6 @@ const TerminalOpenParamsSchema = closedObject({
4453
4058
  cols: TerminalDimension,
4454
4059
  rows: TerminalDimension
4455
4060
  });
4456
- /** Result of a successful open; carries the facts the UI header renders. */
4457
4061
  const TerminalOpenResultSchema = closedObject({
4458
4062
  sessionId: NonEmptyString,
4459
4063
  agentId: NonEmptyString,
@@ -4462,7 +4066,6 @@ const TerminalOpenResultSchema = closedObject({
4462
4066
  confined: Type.Boolean(),
4463
4067
  title: Type.Optional(NonEmptyString)
4464
4068
  });
4465
- /** Writes client keystrokes to the session stdin. */
4466
4069
  const TerminalInputParamsSchema = closedObject({
4467
4070
  sessionId: NonEmptyString,
4468
4071
  data: Type.String()
@@ -4486,7 +4089,6 @@ const TerminalUploadResultSchema = closedObject({
4486
4089
  /** Explicit path insertion contract for a native CLI rather than a shell. */
4487
4090
  uploadPathStyle: Type.Optional(Type.Literal("native"))
4488
4091
  });
4489
- /** Resizes the PTY grid after the client viewport changes. */
4490
4092
  const TerminalResizeParamsSchema = closedObject({
4491
4093
  sessionId: NonEmptyString,
4492
4094
  cols: TerminalDimension,
@@ -4506,7 +4108,6 @@ const TerminalAttachResultSchema = closedObject({
4506
4108
  buffer: Type.String(),
4507
4109
  seq: Type.Optional(Type.Integer({ minimum: 0 }))
4508
4110
  });
4509
- /** One attachable session, as reported by terminal.list. */
4510
4111
  const TerminalSessionInfoSchema = closedObject({
4511
4112
  sessionId: NonEmptyString,
4512
4113
  agentId: NonEmptyString,
@@ -4548,7 +4149,6 @@ const TerminalExitEventSchema = withSince("2026.7", closedObject({
4548
4149
  ])),
4549
4150
  error: Type.Optional(Type.String())
4550
4151
  }));
4551
- /** Union of every event a terminal session can emit. */
4552
4152
  const TerminalEventSchema = withSince("2026.7", Type.Union([TerminalDataEventSchema, TerminalExitEventSchema]));
4553
4153
  //#endregion
4554
4154
  //#region packages/gateway-protocol/src/schema/approval-id.ts
@@ -4945,8 +4545,7 @@ function checkProtocolJson(data, maxDepth) {
4945
4545
  }
4946
4546
  }
4947
4547
  function firstStringParam(value) {
4948
- if (typeof value === "string" && value.trim()) return value;
4949
- if (Array.isArray(value)) return value.find((entry) => typeof entry === "string" && entry.trim().length > 0);
4548
+ return Array.isArray(value) ? value.find(hasNonEmptyString) : readNonBlankString(value);
4950
4549
  }
4951
4550
  /** Convert validator errors into compact operator-facing failure text. */
4952
4551
  function formatValidationErrors(errors) {
@@ -4972,7 +4571,7 @@ function formatValidationErrors(errors) {
4972
4571
  }
4973
4572
  }
4974
4573
  const failingKeyword = typeof err?.params?.failingKeyword === "string" ? err.params.failingKeyword : "";
4975
- const message = keyword === "then" || keyword === "if" && failingKeyword === "then" ? "must have required conditional properties" : typeof err?.message === "string" && err.message.trim() ? err.message : "validation error";
4574
+ const message = keyword === "then" || keyword === "if" && failingKeyword === "then" ? "must have required conditional properties" : readNonBlankString(err?.message) ?? "validation error";
4976
4575
  const where = instancePath ? `at ${instancePath}: ` : "";
4977
4576
  parts.push(`${where}${message}`);
4978
4577
  }
@@ -5201,6 +4800,7 @@ function workerMessageSchemas(text, signature, timestamp) {
5201
4800
  };
5202
4801
  return {
5203
4802
  image: content.image,
4803
+ operatorMessage: closedObject({ turnScoped: Type.Boolean() }),
5204
4804
  userContent: Type.Array(textOrImage, {
5205
4805
  minItems: 1,
5206
4806
  maxItems: 128
@@ -5272,7 +4872,8 @@ const WorkerInferenceMessageSchema = Type.Union([
5272
4872
  closedObject({
5273
4873
  role: Type.Literal("user"),
5274
4874
  content: Type.Union([InferenceTextSchema, inferenceSchemas.userContent]),
5275
- timestamp: LiveIntegerSchema
4875
+ timestamp: LiveIntegerSchema,
4876
+ operatorMessage: Type.Optional(inferenceSchemas.operatorMessage)
5276
4877
  }),
5277
4878
  inferenceSchemas.contextAssistant,
5278
4879
  inferenceSchemas.toolResult
@@ -5511,7 +5112,8 @@ const WorkerToolSurfaceSchema = closedObject({
5511
5112
  hideFromChannelProgress: Type.Optional(Type.Literal(true)),
5512
5113
  resultContentSource: Type.Optional(Type.Literal("network")),
5513
5114
  executionMode: Type.Optional(Type.Enum(["sequential", "parallel"])),
5514
- catalogMode: Type.Optional(Type.Literal("direct-only"))
5115
+ catalogMode: Type.Optional(Type.Literal("direct-only")),
5116
+ async: Type.Optional(Type.Literal(false))
5515
5117
  })
5516
5118
  }), { maxItems: 256 }),
5517
5119
  policy: closedObject({
@@ -5603,7 +5205,7 @@ const WorkerComputerResultSchema = closedObject({ resultJson: Type.String({
5603
5205
  const WorkerComputerResponseFrameSchema = workerResponseSchema(WorkerComputerResultSchema);
5604
5206
  //#endregion
5605
5207
  //#region packages/gateway-protocol/src/schema/computer.ts
5606
- const ComputerStatusParamsSchema = closedObject({});
5208
+ const ComputerStatusParamsSchema = closedObject({ probe: Type.Optional(Type.Boolean()) });
5607
5209
  const ComputerInvokeParamsSchema = closedObject({
5608
5210
  command: Type.Enum(["screen.snapshot", "computer.act"]),
5609
5211
  params: Type.Record(Type.String(), Type.Unknown()),
@@ -5612,27 +5214,6 @@ const ComputerInvokeParamsSchema = closedObject({
5612
5214
  idempotencyKey: NonEmptyString
5613
5215
  });
5614
5216
  //#endregion
5615
- //#region packages/gateway-protocol/src/schema/skill-history.ts
5616
- const SkillsProposalHistoryStatusParamsSchema = closedObject({ agentId: Type.Optional(NonEmptyString) });
5617
- const SkillsProposalHistoryScanParamsSchema = closedObject({
5618
- agentId: Type.Optional(NonEmptyString),
5619
- direction: Type.Optional(Type.Union([Type.Literal("older"), Type.Literal("newer")]))
5620
- });
5621
- const SkillsProposalHistoryScanResultSchema = closedObject({
5622
- schema: Type.Literal("openclaw.skill-workshop.history-scan.v1"),
5623
- hasScanned: Type.Boolean(),
5624
- reviewedSessions: Type.Integer({ minimum: 0 }),
5625
- ideasFound: Type.Integer({ minimum: 0 }),
5626
- hasMore: Type.Boolean(),
5627
- lastScanReviewed: Type.Integer({ minimum: 0 }),
5628
- lastScanIdeas: Type.Integer({ minimum: 0 }),
5629
- lastScanAt: Type.Optional(NonEmptyString),
5630
- oldestReviewedAt: Type.Optional(NonEmptyString),
5631
- newestReviewedAt: Type.Optional(NonEmptyString)
5632
- });
5633
- const validateSkillsProposalHistoryStatusParams = /* @__PURE__ */ lazyCompile(SkillsProposalHistoryStatusParamsSchema);
5634
- const validateSkillsProposalHistoryScanParams = /* @__PURE__ */ lazyCompile(SkillsProposalHistoryScanParamsSchema);
5635
- //#endregion
5636
5217
  //#region packages/gateway-protocol/src/schema/skill-library.ts
5637
5218
  const SKILL_LIBRARY_MAX_FILES = 256;
5638
5219
  const SKILL_LIBRARY_MAX_FILE_BYTES = 1048576;
@@ -5875,6 +5456,19 @@ const ThemeDefinitionSchema = closedObject({
5875
5456
  maxLength: 320
5876
5457
  }),
5877
5458
  mascot: Type.Optional(Type.Union([Type.Literal("claw"), Type.Literal("none")])),
5459
+ brandName: Type.Optional(Type.String({
5460
+ minLength: 1,
5461
+ maxLength: 80
5462
+ })),
5463
+ brandIcon: Type.Optional(ThemeArtworkId),
5464
+ workingIndicator: Type.Optional(Type.Union([
5465
+ Type.Literal("claw"),
5466
+ Type.Literal("dots"),
5467
+ Type.Literal("brand"),
5468
+ Type.Literal("none")
5469
+ ])),
5470
+ lobsterdex: Type.Optional(Type.Boolean()),
5471
+ communityLinks: Type.Optional(Type.Boolean()),
5878
5472
  workingPhrases: Type.Optional(Type.Array(Type.String({
5879
5473
  minLength: 1,
5880
5474
  maxLength: 24
@@ -6546,9 +6140,18 @@ const TranscriptsStatusResultSchema = closedObject({
6546
6140
  active: Type.Integer({ minimum: 0 })
6547
6141
  })
6548
6142
  });
6549
- //#endregion
6550
- //#region packages/gateway-protocol/src/schema/sessions-list.ts
6551
6143
  const SessionsListParamsSchema = closedObject({
6144
+ /** Bounded caller attribution for response diagnostics; does not affect selection. */
6145
+ source: Type.Optional(Type.Enum([
6146
+ "sidebar",
6147
+ "dashboard",
6148
+ "activity",
6149
+ "sessions-page",
6150
+ "chat-pane",
6151
+ "agent-roster",
6152
+ "command-palette",
6153
+ "skill-workshop"
6154
+ ])),
6552
6155
  /** Omit detail-only capability metadata; sessions.describe retains the full row. */
6553
6156
  rowMode: Type.Optional(Type.Literal("compact")),
6554
6157
  /** Maximum rows to return; omitted Gateway RPC calls use a bounded default. */
@@ -6578,6 +6181,8 @@ const SessionsListParamsSchema = closedObject({
6578
6181
  excludeCron: Type.Optional(Type.Boolean()),
6579
6182
  /** Exclude machine-created probe/system sessions using recorded provenance. */
6580
6183
  excludeSystem: Type.Optional(Type.Boolean()),
6184
+ /** Exclude plugin dock conversations before facets and pagination. */
6185
+ excludeDock: Type.Optional(Type.Boolean()),
6581
6186
  /** Limit agent-scoped rows to agents currently present in config. */
6582
6187
  configuredAgentsOnly: Type.Optional(Type.Boolean()),
6583
6188
  /**
@@ -7922,7 +7527,9 @@ const WORKER_EXECUTION_AUTHORITY_PROTOCOL_FEATURE = "worker-execution-authority-
7922
7527
  const WORKER_LINEAGE_START_PROTOCOL_FEATURE = "worker-lineage-start-v1";
7923
7528
  const WORKER_NATIVE_PROCESS_OWNER_PROTOCOL_FEATURE = "worker-native-process-owner-v1";
7924
7529
  const NODE_WORKER_IDLE_RETENTION_PROTOCOL_FEATURE = "node-worker-idle-retention-v1";
7530
+ const WORKER_LOCAL_INFERENCE_PROTOCOL_FEATURE = "worker-local-inference-v1";
7925
7531
  const WORKER_PROTOCOL_FEATURES = [
7532
+ WORKER_LOCAL_INFERENCE_PROTOCOL_FEATURE,
7926
7533
  "skill-resources-v1",
7927
7534
  "worker-heartbeat-v1",
7928
7535
  WORKER_TRANSCRIPT_COMMIT_PROTOCOL_FEATURE,
@@ -8057,11 +7664,46 @@ const transcriptSchemas = workerMessageSchemas(LiveTextSchema, Type.String({
8057
7664
  const WorkerTranscriptUserMessageSchema = closedObject({
8058
7665
  role: Type.Literal("user"),
8059
7666
  content: transcriptSchemas.userContent,
8060
- timestamp: Type.Integer({ minimum: 0 })
7667
+ timestamp: Type.Integer({ minimum: 0 }),
7668
+ operatorMessage: Type.Optional(transcriptSchemas.operatorMessage)
8061
7669
  });
7670
+ const WorkerRuntimeContextFragmentsSchema = Type.Array(closedObject({
7671
+ kind: Type.Enum([
7672
+ "runtime-instruction",
7673
+ "conversation-data",
7674
+ "heartbeat-outcome"
7675
+ ]),
7676
+ text: Type.String()
7677
+ }));
7678
+ const workerRuntimeContextFields = {
7679
+ role: Type.Literal("custom"),
7680
+ content: Type.Union([Type.String(), transcriptSchemas.userContent]),
7681
+ display: Type.Literal(false),
7682
+ timestamp: Type.Integer({ minimum: 0 })
7683
+ };
7684
+ const WorkerRuntimeContextMessageSchema = Type.Union([closedObject({
7685
+ ...workerRuntimeContextFields,
7686
+ customType: Type.Literal("openclaw.runtime-context"),
7687
+ details: Type.Partial(closedObject({
7688
+ source: Type.Literal("openclaw-runtime-context"),
7689
+ runtimeContextCarrier: Type.Literal(true),
7690
+ fragments: WorkerRuntimeContextFragmentsSchema
7691
+ }), { anyOf: [{ required: ["source"] }, { required: ["runtimeContextCarrier"] }] })
7692
+ }), closedObject({
7693
+ ...workerRuntimeContextFields,
7694
+ customType: Type.Literal("openclaw.system-update"),
7695
+ details: closedObject({
7696
+ kind: Type.Enum(["prompt-update", "runtime-context"]),
7697
+ turnScoped: Type.Boolean()
7698
+ })
7699
+ })]);
8062
7700
  const WorkerTranscriptMessageSchema = Type.Union([
8063
7701
  WorkerTranscriptUserMessageSchema,
8064
- transcriptSchemas.contextAssistant,
7702
+ WorkerRuntimeContextMessageSchema,
7703
+ closedObject({
7704
+ ...transcriptSchemas.contextAssistant.properties,
7705
+ itemId: Type.Optional(WorkerIdentifierSchema)
7706
+ }),
8065
7707
  transcriptSchemas.toolResult
8066
7708
  ]);
8067
7709
  const WorkerTranscriptCommitParamsSchema = closedObject({
@@ -8632,6 +8274,8 @@ const CHAT_WORK_CONTEXT_DETAIL_LIMITS = {
8632
8274
  //#region packages/gateway-protocol/src/schema/chat-history-constants.ts
8633
8275
  /** Largest history page accepted by the Gateway wire contract. */
8634
8276
  const CHAT_HISTORY_MAX_ENTRIES = 1e3;
8277
+ /** Explicit full-message reads can recover large referenced tool outputs. */
8278
+ const CHAT_MESSAGE_MAX_CHARS = 8e6;
8635
8279
  //#endregion
8636
8280
  //#region packages/gateway-protocol/src/schema/logs-chat.ts
8637
8281
  /** Cursor-based request for the gateway log tail endpoint. */
@@ -8681,6 +8325,10 @@ const ChatHistoryParamsSchema = closedObject({
8681
8325
  maxChars: Type.Optional(Type.Integer({
8682
8326
  minimum: 1,
8683
8327
  maximum: 5e5
8328
+ })),
8329
+ toolResultMaxChars: Type.Optional(Type.Integer({
8330
+ minimum: 1,
8331
+ maximum: 5e5
8684
8332
  }))
8685
8333
  });
8686
8334
  /** Resolve a short chat link and fetch its first page under the same discovery policy. */
@@ -8689,7 +8337,8 @@ const ChatStartupParamsSchema = Type.Union([ChatHistoryParamsSchema, closedObjec
8689
8337
  slugHint: Type.Optional(NonEmptyString),
8690
8338
  agentId: NonEmptyString,
8691
8339
  limit: ChatHistoryParamsSchema.properties.limit,
8692
- maxBytes: ChatHistoryParamsSchema.properties.maxBytes
8340
+ maxBytes: ChatHistoryParamsSchema.properties.maxBytes,
8341
+ toolResultMaxChars: ChatHistoryParamsSchema.properties.toolResultMaxChars
8693
8342
  })]);
8694
8343
  /** Accepted input awaiting a turn, separate from canonical model history. */
8695
8344
  const ChatPendingInputsPageSchema = closedObject({
@@ -8757,6 +8406,7 @@ const AgentActivityItemSchema = closedObject({
8757
8406
  meta: Type.Optional(Type.String()),
8758
8407
  commandBearing: Type.Optional(Type.Boolean()),
8759
8408
  toolCallId: Type.Optional(Type.String()),
8409
+ unpairedCall: Type.Optional(Type.Boolean()),
8760
8410
  startedAt: Type.Optional(Type.Number()),
8761
8411
  endedAt: Type.Optional(Type.Number()),
8762
8412
  error: Type.Optional(Type.String()),
@@ -8796,6 +8446,11 @@ const ChatHistoryCursorResultSchema = Type.Union([ChatHistoryDeltaResultSchema,
8796
8446
  /** Lightweight metadata; session scope preserves the persisted auth-profile selection. */
8797
8447
  const ChatMetadataParamsSchema = Object.assign(closedObject({
8798
8448
  agentId: Type.Optional(NonEmptyString),
8449
+ includeModels: Type.Optional(Type.Boolean({ description: "Include model and account selection metadata (default true). Set false when reading models.list separately." })),
8450
+ ifRevision: Type.Optional(Type.String({
8451
+ minLength: 1,
8452
+ description: "For includeModels:false, omit unchanged commands."
8453
+ })),
8799
8454
  authProfileId: Type.Optional(Type.String({
8800
8455
  minLength: 1,
8801
8456
  maxLength: 256,
@@ -8841,13 +8496,18 @@ const ChatToolTitlesResultSchema = closedObject({
8841
8496
  const ChatMessageGetParamsSchema = closedObject({
8842
8497
  sessionKey: NonEmptyString,
8843
8498
  agentId: Type.Optional(NonEmptyString),
8499
+ sessionId: Type.Optional(NonEmptyString),
8844
8500
  messageId: NonEmptyString,
8845
8501
  maxChars: Type.Optional(Type.Integer({
8846
8502
  minimum: 1,
8847
- maximum: 2e6
8503
+ maximum: CHAT_MESSAGE_MAX_CHARS
8848
8504
  }))
8849
8505
  });
8850
- /** Result envelope for single-message lookup, including the stable miss/visibility reason. */
8506
+ /**
8507
+ * Single-message lookup result. History messages also carry this envelope as
8508
+ * `__openclaw.replyToMessage`: a display preview capped at 500 chars per field
8509
+ * and 8 KiB, or an unavailable reason. It never changes the persisted transcript.
8510
+ */
8851
8511
  const ChatMessageGetResultSchema = closedObject({
8852
8512
  ok: Type.Boolean(),
8853
8513
  message: Type.Optional(Type.Unknown()),
@@ -9108,6 +8768,7 @@ const SessionsCreateParamsSchema = closedObject({
9108
8768
  key: Type.Optional(NonEmptyString),
9109
8769
  idempotencyKey: Type.Optional(NonEmptyString),
9110
8770
  agentId: Type.Optional(NonEmptyString),
8771
+ surface: Type.Optional(Type.Literal("plugin-dock", { description: "Immutable presentation surface for a new operator-created dock conversation. Preserves creator identity and permissions; ignored when adopting an existing session." })),
9111
8772
  label: Type.Optional(SessionLabelString),
9112
8773
  displayName: Type.Optional(Type.String({
9113
8774
  minLength: 1,
@@ -9484,6 +9145,7 @@ const SessionsSearchParamsSchema = Object.assign(closedObject({
9484
9145
  "excludeSubagents",
9485
9146
  "excludeCron",
9486
9147
  "excludeSystem",
9148
+ "excludeDock",
9487
9149
  "configuredAgentsOnly",
9488
9150
  "label",
9489
9151
  "projectId",
@@ -9554,7 +9216,6 @@ const SessionObserverHealthSchema = Type.Union([
9554
9216
  Type.Literal("done"),
9555
9217
  Type.Literal("failed")
9556
9218
  ]);
9557
- /** Completed and total step counts from the session's current plan. */
9558
9219
  const SessionObserverPlanProgressSchema = closedObject({
9559
9220
  completed: Type.Integer({ minimum: 0 }),
9560
9221
  total: Type.Integer({ minimum: 0 })
@@ -9581,7 +9242,6 @@ const SessionObserverDigestSchema = closedObject({
9581
9242
  });
9582
9243
  /** Declares whether this connection currently renders session observer output. */
9583
9244
  const SessionsObserverVisibilityParamsSchema = closedObject({ visible: Type.Boolean() });
9584
- /** Acknowledges a connection's observer visibility declaration. */
9585
9245
  const SessionsObserverVisibilityResultSchema = closedObject({ ok: Type.Literal(true) });
9586
9246
  /** One bounded question/answer exchange in the ephemeral session companion. */
9587
9247
  const SessionCompanionExchangeSchema = closedObject({
@@ -9622,20 +9282,10 @@ const SessionsCompanionStateParamsSchema = closedObject({
9622
9282
  sessionKey: NonEmptyString,
9623
9283
  agentId: Type.Optional(NonEmptyString)
9624
9284
  });
9625
- /** Current bounded exchanges for one session companion thread. */
9626
9285
  const SessionsCompanionStateResultSchema = closedObject({ exchanges: Type.Array(SessionCompanionExchangeSchema, { maxItems: 24 }) });
9627
9286
  /** Selects the in-memory companion thread to clear. */
9628
9287
  const SessionsCompanionResetParamsSchema = closedObject(SessionsCompanionStateParamsSchema.properties);
9629
- /** Acknowledges clearing one companion thread. */
9630
9288
  const SessionsCompanionResetResultSchema = closedObject({ ok: Type.Literal(true) });
9631
- /**
9632
- * Session protocol schemas.
9633
- *
9634
- * These requests and results cover transcript discovery, lifecycle control,
9635
- * compaction, per-session plugin state, and usage reporting. The
9636
- * schemas are shared by dashboard, CLI, ACP, and gateway RPC callers.
9637
- */
9638
- /** Start/end event emitted while a session compaction operation runs. */
9639
9289
  const SessionOperationEventSchema = closedObject({
9640
9290
  operationId: NonEmptyString,
9641
9291
  operation: Type.Literal("compact"),
@@ -9654,9 +9304,7 @@ const SessionFileRelevanceSchema = Type.Union([
9654
9304
  Type.Literal("read"),
9655
9305
  Type.Literal("mixed")
9656
9306
  ]);
9657
- /** Encoding used when a session file preview includes inline content. */
9658
9307
  const SessionFileContentEncodingSchema = Type.Union([Type.Literal("utf8"), Type.Literal("base64")]);
9659
- /** Renderer class selected for one session workspace file preview. */
9660
9308
  const SessionFilePreviewKindSchema = Type.Union([
9661
9309
  Type.Literal("text"),
9662
9310
  Type.Literal("image"),
@@ -9682,7 +9330,6 @@ const SessionFileEntrySchema = closedObject({
9682
9330
  contentEncoding: Type.Optional(SessionFileContentEncodingSchema),
9683
9331
  previewKind: Type.Optional(SessionFilePreviewKindSchema)
9684
9332
  });
9685
- /** One file or folder in the session-rooted browser. */
9686
9333
  const SessionFileBrowserEntrySchema = closedObject({
9687
9334
  path: Type.String(),
9688
9335
  name: NonEmptyString,
@@ -9721,7 +9368,6 @@ const SessionsFilesGetParamsSchema = closedObject({
9721
9368
  path: NonEmptyString,
9722
9369
  agentId: Type.Optional(NonEmptyString)
9723
9370
  });
9724
- /** Result for reading one session-referenced file. */
9725
9371
  const SessionsFilesGetResultSchema = closedObject({
9726
9372
  sessionKey: NonEmptyString,
9727
9373
  root: Type.Optional(NonEmptyString),
@@ -9758,27 +9404,23 @@ const SessionsFilesSetParamsSchema = closedObject({
9758
9404
  content: Type.String(),
9759
9405
  expectedHash: SessionFileHashSchema
9760
9406
  });
9761
- /** Result for overwriting one session workspace file. */
9762
9407
  const SessionsFilesSetResultSchema = closedObject(SessionsFilesGetResultSchema.properties);
9763
9408
  /** Opens a session workspace on the Gateway host without accepting a client path. */
9764
9409
  const SessionsFilesRevealParamsSchema = closedObject({
9765
9410
  key: NonEmptyString,
9766
9411
  agentId: Type.Optional(NonEmptyString)
9767
9412
  });
9768
- /** Result for revealing a session workspace on the Gateway host. */
9769
9413
  const SessionsFilesRevealResultSchema = closedObject({
9770
9414
  ok: Type.Boolean(),
9771
9415
  path: Type.Optional(NonEmptyString),
9772
9416
  error: Type.Optional(NonEmptyString)
9773
9417
  });
9774
- /** Change status for one file in a session checkout diff. */
9775
9418
  const SessionDiffFileStatusSchema = Type.Union([
9776
9419
  Type.Literal("added"),
9777
9420
  Type.Literal("modified"),
9778
9421
  Type.Literal("deleted"),
9779
9422
  Type.Literal("renamed")
9780
9423
  ]);
9781
- /** One changed file in a session checkout diff. */
9782
9424
  const SessionDiffFileSchema = closedObject({
9783
9425
  path: NonEmptyString,
9784
9426
  oldPath: Type.Optional(NonEmptyString),
@@ -9791,7 +9433,6 @@ const SessionDiffFileSchema = closedObject({
9791
9433
  patch: Type.Optional(Type.String()),
9792
9434
  truncated: Type.Optional(Type.Boolean())
9793
9435
  });
9794
- /** One commit shown in session diff branch metadata. */
9795
9436
  const SessionDiffCommitSchema = closedObject({
9796
9437
  sha: NonEmptyString,
9797
9438
  subject: Type.String()
@@ -9842,13 +9483,11 @@ const SessionsCleanupParamsSchema = closedObject({
9842
9483
  fixMissing: Type.Optional(Type.Boolean()),
9843
9484
  fixDmScope: Type.Optional(Type.Boolean())
9844
9485
  });
9845
- /** Reads short previews for selected session keys. */
9846
9486
  const SessionsPreviewParamsSchema = closedObject({
9847
9487
  keys: Type.Array(NonEmptyString, { minItems: 1 }),
9848
9488
  limit: Type.Optional(Type.Integer({ minimum: 1 })),
9849
9489
  maxChars: Type.Optional(Type.Integer({ minimum: 20 }))
9850
9490
  });
9851
- /** Describes one session and optional derived title/last-message previews. */
9852
9491
  const SessionsDescribeParamsSchema = closedObject({
9853
9492
  key: NonEmptyString,
9854
9493
  agentId: Type.Optional(NonEmptyString),
@@ -9860,7 +9499,6 @@ const SessionWorktreeInfoSchema = closedObject({
9860
9499
  path: NonEmptyString,
9861
9500
  branch: NonEmptyString
9862
9501
  });
9863
- /** Result returned after creating or adopting a session. */
9864
9502
  const SessionsCreateResultSchema = Type.Object({
9865
9503
  ok: Type.Literal(true),
9866
9504
  key: NonEmptyString,
@@ -9872,7 +9510,6 @@ const SessionsCreateResultSchema = Type.Object({
9872
9510
  runError: Type.Optional(ErrorShapeSchema),
9873
9511
  worktree: Type.Optional(SessionWorktreeInfoSchema)
9874
9512
  }, { additionalProperties: true });
9875
- /** Sends one message into an existing session. */
9876
9513
  const SessionsSendParamsSchema = closedObject({
9877
9514
  key: NonEmptyString,
9878
9515
  agentId: Type.Optional(NonEmptyString),
@@ -9883,7 +9520,6 @@ const SessionsSendParamsSchema = closedObject({
9883
9520
  timeoutMs: Type.Optional(Type.Integer({ minimum: 0 })),
9884
9521
  idempotencyKey: Type.Optional(NonEmptyString)
9885
9522
  });
9886
- /** Subscribes a client to live message updates for one session. */
9887
9523
  const SessionsMessagesSubscribeParamsSchema = closedObject({
9888
9524
  key: NonEmptyString,
9889
9525
  agentId: Type.Optional(NonEmptyString),
@@ -9904,7 +9540,6 @@ const SessionNarrationEventSchema = closedObject({
9904
9540
  runId: NonEmptyString,
9905
9541
  text: Type.String({ maxLength: 16384 })
9906
9542
  });
9907
- /** Removes a live message subscription for one session. */
9908
9543
  const SessionsMessagesUnsubscribeParamsSchema = closedObject({
9909
9544
  key: NonEmptyString,
9910
9545
  agentId: Type.Optional(NonEmptyString),
@@ -9913,7 +9548,6 @@ const SessionsMessagesUnsubscribeParamsSchema = closedObject({
9913
9548
  maxLength: 128
9914
9549
  }))
9915
9550
  });
9916
- /** Aborts the active or named run for a session. */
9917
9551
  const SessionsAbortParamsSchema = closedObject({
9918
9552
  key: Type.Optional(NonEmptyString),
9919
9553
  runId: Type.Optional(NonEmptyString),
@@ -9930,13 +9564,11 @@ const SessionsPluginPatchParamsSchema = closedObject({
9930
9564
  value: Type.Optional(PluginJsonValueSchema),
9931
9565
  unset: Type.Optional(Type.Boolean())
9932
9566
  });
9933
- /** Result returned after patching session plugin state. */
9934
9567
  const SessionsPluginPatchResultSchema = closedObject({
9935
9568
  ok: Type.Literal(true),
9936
9569
  key: NonEmptyString,
9937
9570
  value: Type.Optional(PluginJsonValueSchema)
9938
9571
  });
9939
- /** Resets a session to a new or reset transcript state. */
9940
9572
  const SessionsResetParamsSchema = closedObject({
9941
9573
  key: NonEmptyString,
9942
9574
  agentId: Type.Optional(NonEmptyString),
@@ -9959,7 +9591,6 @@ const SessionsAssignOwnerResultSchema = closedObject({
9959
9591
  });
9960
9592
  /** Lists the gateway-owned custom session group catalog (names + order). */
9961
9593
  const SessionsGroupsListParamsSchema = closedObject({});
9962
- /** One custom session group catalog entry. */
9963
9594
  const SessionGroupSchema = closedObject({
9964
9595
  name: SessionLabelString,
9965
9596
  position: Type.Integer({ minimum: 0 })
@@ -9979,7 +9610,6 @@ const SessionsGroupsListResultSchema = closedObject({
9979
9610
  groups: Type.Array(SessionGroupSchema),
9980
9611
  sectionOrder: Type.Optional(Type.Array(SidebarSectionIdString))
9981
9612
  });
9982
- /** Reads the New Session defaults for the custom group catalog. */
9983
9613
  const SessionsGroupsDefaultsParamsSchema = closedObject({});
9984
9614
  /** Write-scoped group defaults, kept separate from the read-scoped catalog. */
9985
9615
  const SessionsGroupsDefaultsResultSchema = closedObject({ defaults: Type.Array(SessionGroupDefaultsSchema) });
@@ -10013,7 +9643,6 @@ const SessionsGroupsMutationResultSchema = closedObject({
10013
9643
  sectionOrder: Type.Optional(Type.Array(SidebarSectionIdString)),
10014
9644
  updatedSessions: Type.Optional(Type.Integer({ minimum: 0 }))
10015
9645
  });
10016
- /** Requests manual compaction for a session transcript. */
10017
9646
  const SessionsCompactParamsSchema = closedObject({
10018
9647
  key: NonEmptyString,
10019
9648
  agentId: Type.Optional(NonEmptyString),
@@ -10070,9 +9699,7 @@ const SessionsUsageParamsSchema = closedObject({
10070
9699
  agentScope: Type.Optional(Type.Literal("all")),
10071
9700
  /** Opaque creator identity returned by sessions.usage; filters before the row limit. */
10072
9701
  creatorKey: Type.Optional(NonEmptyString),
10073
- /** Start date for range filter (YYYY-MM-DD). */
10074
9702
  startDate: Type.Optional(Type.String({ pattern: "^\\d{4}-\\d{2}-\\d{2}$" })),
10075
- /** End date for range filter (YYYY-MM-DD). */
10076
9703
  endDate: Type.Optional(Type.String({ pattern: "^\\d{4}-\\d{2}-\\d{2}$" })),
10077
9704
  /** How start/end dates should be interpreted. Defaults to UTC when omitted. */
10078
9705
  mode: Type.Optional(Type.Union([
@@ -11115,7 +10742,6 @@ const AgentsFilesSetResultSchema = closedObject({
11115
10742
  * write/delete/upload stay out of this namespace until a separately
11116
10743
  * reviewed mutation contract exists.
11117
10744
  */
11118
- /** One file or folder in an agent workspace directory listing. */
11119
10745
  const AgentsWorkspaceEntrySchema = closedObject({
11120
10746
  path: NonEmptyString,
11121
10747
  name: NonEmptyString,
@@ -11123,7 +10749,6 @@ const AgentsWorkspaceEntrySchema = closedObject({
11123
10749
  size: Type.Optional(Type.Integer({ minimum: 0 })),
11124
10750
  updatedAtMs: Type.Optional(Type.Integer({ minimum: 0 }))
11125
10751
  });
11126
- /** Lists one directory of an agent workspace. */
11127
10752
  const AgentsWorkspaceListParamsSchema = closedObject({
11128
10753
  agentId: NonEmptyString,
11129
10754
  path: Type.Optional(Type.String()),
@@ -11139,7 +10764,6 @@ const AgentsWorkspaceListResultSchema = closedObject({
11139
10764
  totalEntries: Type.Integer({ minimum: 0 }),
11140
10765
  offset: Type.Integer({ minimum: 0 })
11141
10766
  });
11142
- /** One workspace file preview payload (UTF-8 text or base64 image). */
11143
10767
  const AgentsWorkspaceFileSchema = closedObject({
11144
10768
  path: NonEmptyString,
11145
10769
  name: NonEmptyString,
@@ -11154,7 +10778,6 @@ const AgentsWorkspaceGetParamsSchema = closedObject({
11154
10778
  agentId: NonEmptyString,
11155
10779
  path: NonEmptyString
11156
10780
  });
11157
- /** Result for reading one workspace file. */
11158
10781
  const AgentsWorkspaceGetResultSchema = closedObject({
11159
10782
  agentId: NonEmptyString,
11160
10783
  file: AgentsWorkspaceFileSchema
@@ -12646,43 +12269,30 @@ const TalkSessionAcknowledgeMarkParamsSchema = closedObject({
12646
12269
  * Command entries describe native, skill, and plugin commands that clients can
12647
12270
  * render or route; limits keep command catalogs bounded for UI and transport.
12648
12271
  */
12649
- /** Maximum command display/name length accepted in catalog entries. */
12650
12272
  const COMMAND_NAME_MAX_LENGTH = 200;
12651
- /** Maximum command description length accepted in catalog entries. */
12652
12273
  const COMMAND_DESCRIPTION_MAX_LENGTH = 2e3;
12653
- /** Maximum text aliases advertised for one command. */
12654
12274
  const COMMAND_ALIAS_MAX_ITEMS = 20;
12655
- /** Maximum declared arguments advertised for one command. */
12656
12275
  const COMMAND_ARGS_MAX_ITEMS = 20;
12657
- /** Maximum argument name length accepted in catalog entries. */
12658
12276
  const COMMAND_ARG_NAME_MAX_LENGTH = 200;
12659
- /** Maximum argument description length accepted in catalog entries. */
12660
12277
  const COMMAND_ARG_DESCRIPTION_MAX_LENGTH = 500;
12661
- /** Maximum static choices advertised for one argument. */
12662
12278
  const COMMAND_ARG_CHOICES_MAX_ITEMS = 50;
12663
- /** Maximum machine-readable choice value length. */
12664
12279
  const COMMAND_CHOICE_VALUE_MAX_LENGTH = 200;
12665
- /** Maximum user-facing choice label length. */
12666
12280
  const COMMAND_CHOICE_LABEL_MAX_LENGTH = 200;
12667
- /** Maximum commands returned by one catalog response. */
12668
12281
  const COMMAND_LIST_MAX_ITEMS = 500;
12669
12282
  const BoundedNonEmptyString = (maxLength) => Type.String({
12670
12283
  minLength: 1,
12671
12284
  maxLength
12672
12285
  });
12673
- /** Source system that contributed a command. */
12674
12286
  const CommandSourceSchema = Type.Union([
12675
12287
  Type.Literal("native"),
12676
12288
  Type.Literal("skill"),
12677
12289
  Type.Literal("plugin")
12678
12290
  ]);
12679
- /** Surfaces where a command may be invoked. */
12680
12291
  const CommandScopeSchema = Type.Union([
12681
12292
  Type.Literal("text"),
12682
12293
  Type.Literal("native"),
12683
12294
  Type.Literal("both")
12684
12295
  ]);
12685
- /** Coarse UI grouping for command catalog display. */
12686
12296
  const CommandCategorySchema = Type.Union([
12687
12297
  Type.Literal("session"),
12688
12298
  Type.Literal("options"),
@@ -12691,12 +12301,10 @@ const CommandCategorySchema = Type.Union([
12691
12301
  Type.Literal("media"),
12692
12302
  Type.Literal("tools")
12693
12303
  ]);
12694
- /** Static argument choice shown to clients. */
12695
12304
  const CommandArgChoiceSchema = closedObject({
12696
12305
  value: Type.String({ maxLength: 200 }),
12697
12306
  label: Type.String({ maxLength: 200 })
12698
12307
  });
12699
- /** One typed argument advertised for a command. */
12700
12308
  const CommandArgSchema = closedObject({
12701
12309
  name: BoundedNonEmptyString(200),
12702
12310
  description: Type.String({ maxLength: 500 }),
@@ -12714,7 +12322,6 @@ const CommandClientPresentationSchema = closedObject({
12714
12322
  when: Type.Literal("no-arguments"),
12715
12323
  action: CommandClientPresentationActionSchema
12716
12324
  });
12717
- /** One command catalog entry visible to clients. */
12718
12325
  const CommandEntrySchema = closedObject({
12719
12326
  name: BoundedNonEmptyString(200),
12720
12327
  nativeName: Type.Optional(BoundedNonEmptyString(200)),
@@ -12731,7 +12338,6 @@ const CommandEntrySchema = closedObject({
12731
12338
  args: Type.Optional(Type.Array(CommandArgSchema, { maxItems: 20 })),
12732
12339
  clientPresentation: Type.Optional(CommandClientPresentationSchema)
12733
12340
  });
12734
- /** Command catalog request filters. */
12735
12341
  const CommandsListParamsSchema = closedObject({
12736
12342
  sessionKey: Type.Optional(NonEmptyString),
12737
12343
  agentId: Type.Optional(NonEmptyString),
@@ -12739,7 +12345,6 @@ const CommandsListParamsSchema = closedObject({
12739
12345
  scope: Type.Optional(CommandScopeSchema),
12740
12346
  includeArgs: Type.Optional(Type.Boolean())
12741
12347
  });
12742
- /** Bounded command catalog response. */
12743
12348
  const CommandsListResultSchema = closedObject({ commands: Type.Array(CommandEntrySchema, { maxItems: 500 }) });
12744
12349
  //#endregion
12745
12350
  //#region packages/gateway-protocol/src/schema/openclaw.ts
@@ -14506,9 +14111,7 @@ const NodeSkillNameSchema = Type.String({
14506
14111
  maxLength: 64,
14507
14112
  pattern: "^(?!.*--)[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$"
14508
14113
  });
14509
- /** Pending node work classes that the gateway may queue for paired devices. */
14510
14114
  const NodePendingWorkTypeSchema = Type.String({ enum: ["status.request", "location.request"] });
14511
- /** Queue priority accepted when operators enqueue node work. */
14512
14115
  const NodePendingWorkPrioritySchema = Type.String({ enum: ["normal", "high"] });
14513
14116
  /** Reasons a node can report itself alive without implying an operator action. */
14514
14117
  const NodePresenceAliveReasonSchema = Type.Enum(NODE_PRESENCE_ALIVE_REASONS, { type: "string" });
@@ -14551,18 +14154,14 @@ const NodeHostStatsPayloadSchema = Type.Refine(closedObject({
14551
14154
  diskTotalBytes: Type.Optional(Type.Integer({ minimum: 0 })),
14552
14155
  diskAvailableBytes: Type.Optional(Type.Integer({ minimum: 0 }))
14553
14156
  }), (stats) => stats.memoryFreeBytes <= stats.memoryTotalBytes && (stats.diskTotalBytes === void 0 ? stats.diskAvailableBytes === void 0 : stats.diskAvailableBytes !== void 0 && stats.diskAvailableBytes <= stats.diskTotalBytes), () => "free resources must not exceed totals and disk values must be paired");
14554
- /** Normalized result for node-originated events after gateway dispatch. */
14555
14157
  const NodeEventResultSchema = closedObject({
14556
14158
  ok: Type.Boolean(),
14557
14159
  event: NonEmptyString,
14558
14160
  handled: Type.Boolean(),
14559
14161
  reason: Type.Optional(NonEmptyString)
14560
14162
  });
14561
- /** Lists pending node-pairing requests. */
14562
14163
  const NodePairListParamsSchema = closedObject({});
14563
- /** Approves a pending node-pairing request by request id. */
14564
14164
  const NodePairApproveParamsSchema = closedObject({ requestId: NonEmptyString });
14565
- /** Rejects a pending node-pairing request by request id. */
14566
14165
  const NodePairRejectParamsSchema = closedObject({ requestId: NonEmptyString });
14567
14166
  /** Removes an already paired node from the gateway trust set. */
14568
14167
  const NodePairRemoveParamsSchema = closedObject({ nodeId: NonEmptyString });
@@ -14571,7 +14170,6 @@ const NodeRenameParamsSchema = closedObject({
14571
14170
  nodeId: NonEmptyString,
14572
14171
  displayName: NonEmptyString
14573
14172
  });
14574
- /** Lists paired nodes known to the gateway. */
14575
14173
  const NodeListParamsSchema = closedObject({});
14576
14174
  /** Agent-visible tool descriptor advertised by a connected node. */
14577
14175
  const NodePluginToolDescriptorSchema = closedObject({
@@ -14603,7 +14201,6 @@ const NodeSkillDescriptorSchema = closedObject({
14603
14201
  const NodeSkillsUpdateParamsSchema = closedObject({ skills: Type.Array(NodeSkillDescriptorSchema, { maxItems: 64 }) });
14604
14202
  /** Acknowledges queued node work that the node has consumed. */
14605
14203
  const NodePendingAckParamsSchema = closedObject({ ids: Type.Array(NonEmptyString, { minItems: 1 }) });
14606
- /** Requests detailed metadata for one paired node. */
14607
14204
  const NodeDescribeParamsSchema = closedObject({ nodeId: NonEmptyString });
14608
14205
  /** Invokes a command on a paired node; idempotency allows safe retries. */
14609
14206
  const NodeInvokeParamsSchema = closedObject({
@@ -14618,7 +14215,6 @@ const NodeInvokeParamsSchema = closedObject({
14618
14215
  turnSourceAccountId: Type.Optional(Type.String()),
14619
14216
  turnSourceThreadId: Type.Optional(Type.Union([Type.String(), Type.Number()]))
14620
14217
  });
14621
- /** Result callback payload for a node command invocation. */
14622
14218
  const NodeInvokeResultParamsSchema = closedObject({
14623
14219
  id: NonEmptyString,
14624
14220
  nodeId: NonEmptyString,
@@ -14637,7 +14233,6 @@ const NodeInvokeProgressParamsSchema = closedObject({
14637
14233
  seq: Type.Integer({ minimum: 0 }),
14638
14234
  chunk: Type.String({ maxLength: 16384 })
14639
14235
  });
14640
- /** Generic node event envelope accepted by the gateway. */
14641
14236
  const NodeEventParamsSchema = closedObject({
14642
14237
  event: NonEmptyString,
14643
14238
  payload: Type.Optional(Type.Unknown()),
@@ -14648,7 +14243,6 @@ const NodePendingDrainParamsSchema = closedObject({ maxItems: Type.Optional(Type
14648
14243
  minimum: 1,
14649
14244
  maximum: 10
14650
14245
  })) });
14651
- /** One queued node-work item returned by pending-work drain calls. */
14652
14246
  const NodePendingDrainItemSchema = closedObject({
14653
14247
  id: NonEmptyString,
14654
14248
  type: NodePendingWorkTypeSchema,
@@ -14661,14 +14255,12 @@ const NodePendingDrainItemSchema = closedObject({
14661
14255
  expiresAtMs: Type.Optional(Type.Union([Type.Integer({ minimum: 0 }), Type.Null()])),
14662
14256
  payload: Type.Optional(Type.Record(Type.String(), Type.Unknown()))
14663
14257
  });
14664
- /** Drain response with a revision marker for node queue state. */
14665
14258
  const NodePendingDrainResultSchema = closedObject({
14666
14259
  nodeId: NonEmptyString,
14667
14260
  revision: Type.Integer({ minimum: 0 }),
14668
14261
  items: Type.Array(NodePendingDrainItemSchema),
14669
14262
  hasMore: Type.Boolean()
14670
14263
  });
14671
- /** Enqueues gateway-initiated work for a paired node. */
14672
14264
  const NodePendingEnqueueParamsSchema = closedObject({
14673
14265
  nodeId: NonEmptyString,
14674
14266
  type: NodePendingWorkTypeSchema,
@@ -14679,14 +14271,12 @@ const NodePendingEnqueueParamsSchema = closedObject({
14679
14271
  })),
14680
14272
  wake: Type.Optional(Type.Boolean())
14681
14273
  });
14682
- /** Enqueue result echoes queue revision and whether wake delivery was attempted. */
14683
14274
  const NodePendingEnqueueResultSchema = closedObject({
14684
14275
  nodeId: NonEmptyString,
14685
14276
  revision: Type.Integer({ minimum: 0 }),
14686
14277
  queued: NodePendingDrainItemSchema,
14687
14278
  wakeTriggered: Type.Boolean()
14688
14279
  });
14689
- /** Event payload used by the gateway to ask a node to run a command. */
14690
14280
  const NodeInvokeRequestEventSchema = closedObject({
14691
14281
  id: NonEmptyString,
14692
14282
  nodeId: NonEmptyString,
@@ -14702,7 +14292,6 @@ const NodeInvokeInputEventSchema = closedObject({
14702
14292
  seq: Type.Integer({ minimum: 0 }),
14703
14293
  payloadJSON: Type.String({ maxLength: 16384 })
14704
14294
  });
14705
- /** Event payload used by the gateway to cancel one active node invoke. */
14706
14295
  const NodeInvokeCancelEventSchema = closedObject({
14707
14296
  invokeId: NonEmptyString,
14708
14297
  nodeId: NonEmptyString
@@ -14716,14 +14305,12 @@ const NodeInvokeCancelEventSchema = closedObject({
14716
14305
  * browser subscription lifecycle exposed by the gateway.
14717
14306
  */
14718
14307
  const ApnsEnvironmentSchema = Type.String({ enum: ["sandbox", "production"] });
14719
- /** Request payload for sending a test APNS notification to one node. */
14720
14308
  const PushTestParamsSchema = closedObject({
14721
14309
  nodeId: NonEmptyString,
14722
14310
  title: Type.Optional(Type.String()),
14723
14311
  body: Type.Optional(Type.String()),
14724
14312
  environment: Type.Optional(ApnsEnvironmentSchema)
14725
14313
  });
14726
- /** Result payload from an APNS push test, including provider status and transport. */
14727
14314
  const PushTestResultSchema = closedObject({
14728
14315
  ok: Type.Boolean(),
14729
14316
  status: Type.Integer(),
@@ -14804,9 +14391,7 @@ const WebPushDevicePreferencesSchema = closedObject({
14804
14391
  maxLength: 128
14805
14392
  }), { maxItems: 128 }))
14806
14393
  });
14807
- /** Empty request payload for fetching the Web Push VAPID public key. */
14808
14394
  const WebPushVapidPublicKeyParamsSchema = closedObject({});
14809
- /** Browser Web Push subscription payload registered with the gateway. */
14810
14395
  const WebPushSubscribeParamsSchema = closedObject({
14811
14396
  endpoint: Type.String({
14812
14397
  minLength: 1,
@@ -14815,7 +14400,6 @@ const WebPushSubscribeParamsSchema = closedObject({
14815
14400
  }),
14816
14401
  keys: WebPushKeysSchema
14817
14402
  });
14818
- /** Browser Web Push endpoint removal payload. */
14819
14403
  const WebPushUnsubscribeParamsSchema = closedObject({ endpoint: Type.String({
14820
14404
  minLength: 1,
14821
14405
  maxLength: 2048,
@@ -15246,6 +14830,7 @@ const StartingSessionPlacementSchema = closedObject({
15246
14830
  });
15247
14831
  const ActiveWorkerSessionPlacementSchema = closedObject({
15248
14832
  ...workerOwnedSessionPlacementProperties("active"),
14833
+ inference: Type.Optional(Type.Literal("worker")),
15249
14834
  ...SessionPlacementWorkspaceReconciliationProperties,
15250
14835
  runner: Type.Optional(SessionPlacementRunnerSchema),
15251
14836
  workerRuntimeInstall: Type.Optional(SessionPlacementWorkerRuntimeInstallSchema)
@@ -15481,6 +15066,52 @@ const SessionDiscussionOpenParamsSchema = closedObject({
15481
15066
  const SessionDiscussionInfoResultSchema = SessionDiscussionInfoSchema;
15482
15067
  const SessionDiscussionOpenResultSchema = SessionDiscussionInfoSchema;
15483
15068
  //#endregion
15069
+ //#region packages/gateway-protocol/src/schema/session-processes.ts
15070
+ const SESSION_PROCESSES_MAX_ROWS = 50;
15071
+ const SESSION_PROCESS_NAME_MAX_CHARS = 160;
15072
+ const SESSION_PROCESS_TAIL_MAX_CHARS = 2e3;
15073
+ const SESSION_PROCESSES_MAX_BYTES = 49152;
15074
+ /** An observation reference identifies one process incarnation, never grants access. */
15075
+ const SessionProcessSummarySchema = closedObject({
15076
+ processId: NonEmptyString,
15077
+ instanceId: NonEmptyString,
15078
+ name: Type.String({ maxLength: 160 }),
15079
+ status: Type.Union([
15080
+ Type.Literal("running"),
15081
+ Type.Literal("completed"),
15082
+ Type.Literal("failed"),
15083
+ Type.Literal("killed")
15084
+ ]),
15085
+ startedAt: Type.Number(),
15086
+ endedAt: Type.Optional(Type.Number()),
15087
+ tail: Type.String({ maxLength: SESSION_PROCESS_TAIL_MAX_CHARS }),
15088
+ truncated: Type.Boolean(),
15089
+ canStop: Type.Boolean(),
15090
+ exitCode: Type.Optional(Type.Union([Type.Integer(), Type.Null()])),
15091
+ exitSignal: Type.Optional(Type.Union([
15092
+ Type.String(),
15093
+ Type.Number(),
15094
+ Type.Null()
15095
+ ])),
15096
+ exitReason: Type.Optional(Type.String())
15097
+ });
15098
+ const SessionsProcessesListParamsSchema = closedObject({
15099
+ key: NonEmptyString,
15100
+ agentId: Type.Optional(NonEmptyString)
15101
+ });
15102
+ const SessionsProcessesListResultSchema = closedObject({
15103
+ sessionId: NonEmptyString,
15104
+ processes: Type.Array(SessionProcessSummarySchema, { maxItems: 50 }),
15105
+ truncated: Type.Boolean()
15106
+ });
15107
+ const SessionsProcessesStopParamsSchema = closedObject({
15108
+ ...SessionsProcessesListParamsSchema.properties,
15109
+ sessionId: NonEmptyString,
15110
+ processId: NonEmptyString,
15111
+ instanceId: NonEmptyString
15112
+ });
15113
+ const SessionsProcessesStopResultSchema = closedObject({ requested: Type.Boolean() });
15114
+ //#endregion
15484
15115
  //#region packages/gateway-protocol/src/schema/sessions-resolve.ts
15485
15116
  /** Resolves a session by key, raw session id, label, short URL id, or parent/agent scope. */
15486
15117
  const SessionsResolveParamsSchema = closedObject({
@@ -15956,8 +15587,22 @@ const WorktreesRestoreParamsSchema = closedObject({
15956
15587
  recoverExactState: Type.Optional(WorktreeExactStateSchema),
15957
15588
  expectedOwnerId: Type.Optional(NonEmptyString)
15958
15589
  });
15959
- const WorktreesGcParamsSchema = closedObject({ expectedOwnerId: Type.Optional(NonEmptyString) });
15590
+ const WorktreesGcParamsSchema = closedObject({
15591
+ expectedOwnerId: Type.Optional(NonEmptyString),
15592
+ jobId: Type.Optional(NonEmptyString),
15593
+ retryDeferred: Type.Optional(Type.Boolean())
15594
+ });
15960
15595
  const WorktreesGcResultSchema = closedObject({
15596
+ jobId: Type.Optional(NonEmptyString),
15597
+ state: Type.Optional(Type.String({ enum: [
15598
+ "queued",
15599
+ "running",
15600
+ "completed",
15601
+ "failed"
15602
+ ] })),
15603
+ startedAt: Type.Optional(Type.Union([Type.Integer({ minimum: 0 }), Type.Null()])),
15604
+ completedAt: Type.Optional(Type.Union([Type.Integer({ minimum: 0 }), Type.Null()])),
15605
+ error: Type.Optional(Type.Union([Type.String(), Type.Null()])),
15961
15606
  removed: Type.Array(NonEmptyString),
15962
15607
  orphansDeleted: Type.Integer({ minimum: 0 }),
15963
15608
  snapshotsPruned: Type.Integer({ minimum: 0 }),
@@ -15986,9 +15631,13 @@ const WorktreesGcResultSchema = closedObject({
15986
15631
  reason: Type.String()
15987
15632
  }))),
15988
15633
  issueCount: Type.Optional(Type.Integer({ minimum: 0 })),
15634
+ eligibleCount: Type.Optional(Type.Integer({ minimum: 0 })),
15635
+ deferredCount: Type.Optional(Type.Integer({ minimum: 0 })),
15636
+ failedCount: Type.Optional(Type.Integer({ minimum: 0 })),
15989
15637
  protectedCount: Type.Optional(Type.Integer({ minimum: 0 })),
15990
15638
  protectionReasons: Type.Optional(Type.Record(Type.String(), Type.Integer({ minimum: 0 }))),
15991
- limitsSatisfied: Type.Optional(Type.Union([Type.Boolean(), Type.Null()]))
15639
+ limitsSatisfied: Type.Optional(Type.Union([Type.Boolean(), Type.Null()])),
15640
+ evictions: Type.Optional(Type.Record(Type.String(), Type.Integer({ minimum: 0 })))
15992
15641
  });
15993
15642
  const WorktreesRecoverRemovalParamsSchema = closedObject({
15994
15643
  id: NonEmptyString,
@@ -16166,4 +15815,88 @@ const ToolsEffectiveResultSchema = closedObject({
16166
15815
  toolAccess: Type.Optional(ToolAccessDiagnosticsSchema)
16167
15816
  });
16168
15817
  //#endregion
16169
- export { SystemInfoParamsSchema as $, GatewayErrorDetailsSchema as $C, ModelCatalogProviderOutcomeSchema as $S, ControlUiPluginWidgetKindSchema as $_, AuditActivityListResultSchema as $a, UsersSetRoleParamsSchema as $b, SessionsFilesAssetsResultSchema as $c, WorkerSessionToolResponseFrameSchema as $d, UpdateRunsListResultSchema as $f, ExternalPostApprovalScopeSchema as $g, validateWorkerGatewayToolInvokeParams as $h, ChannelsStatusResultSchema as $i, SessionsStorageStatusResultSchema as $l, ThemesSetParamsSchema as $m, DevicePairApproveParamsSchema as $n, MigrationsMemoryApplyParamsSchema as $o, BoardPromptAuthorizeParamsSchema as $p, CronScratchGetParamsSchema as $r, SessionPublicShareSchema as $s, QuestionStatusSchema as $t, GatewayFrameSchema as $u, PluginsUiDescriptorsParamsSchema as $v, USER_PREFS_PROFILE_KEY_LIMIT as $w, SkillsProposalEvaluateParamsSchema as $x, UserProfileGitHubIdentitySchema as $y, PortalCloseParamsSchema as A, EnvironmentsStatusParamsSchema as AC, ToolsGitHubAuthorizeIncorrectDeviceCodeResultSchema as AS, SessionCatalogDescriptorSchema as A_, WebLoginWaitParamsSchema as Aa, UsersListModelAccountsParamsSchema as Ab, SessionObserverPlanProgressSchema as Ac, WorkerLiveEventParamsSchema as Ad, ConfigApplyParamsSchema as Af, AllowedApprovalSnapshotSchema as Ag, SkillsProposalHistoryScanResultSchema as Ah, COMMAND_ARG_CHOICES_MAX_ITEMS as Ai, SessionsSendParamsSchema as Al, BoardWidgetPutResultSchema as Am, NodePendingDrainParamsSchema as An, ConversationListResultSchema as Ao, ProgressCardRefreshResultSchema as Ap, ExecApprovalsGetParamsSchema as Ar, isReactionEmoji as As, SessionsMoveParamsSchema as At, ChatStartupParamsSchema as Au, PluginsControlUiListParamsSchema as Av, SessionsActivitySummaryEnsureParamsSchema as Aw, GitHubIdentityFactsSchema as Ax, GitHubPublicationPublisherSchema as Ay, PluginApprovalRequestParamsSchema as B, WorkerEnvironmentMetadataSchema as BC, ToolsGitHubInheritConfigureParamsSchema as BS, SessionsCatalogContinueParamsSchema as B_, AuditRunInspectResultSchema as Ba, UsersPrefsChangedEventSchema as Bb, SessionsCleanupParamsSchema as Bc, WorkerTranscriptCommitResultSchema as Bd, UpdateHoldResultSchema as Bf, ApprovalHistoryParamsSchema as Bg, AgentToolSurfacePresentationSchema as Bh, CommandsListResultSchema as Bi, SessionsPatchParamsSchema as Bl, TALK_VOICE_CHANGE_TIMEOUT_MS as Bm, NodeSkillDescriptorSchema as Bn, SendParamsSchema as Bo, BoardChangedEventSchema as Bp, CronDeliveryPreviewSchema as Br, SessionSuggestionsResolveParamsSchema as Bs, QuestionListResultSchema as Bt, MAX_MENTIONABLE_USERS as Bu, PluginsListResultSchema as Bv, ChatSendSessionKeyString as Bw, ModelsProbeParamsSchema as Bx, SessionGitHubPublicationRequestedSchema as By, WorktreesRecoverRemovalResultSchema as C, EnvironmentsCreateResultSchema as CC, SkillsWorkshopReadParamsSchema as CS, TerminalOpenParamsSchema as C_, TalkSessionSteerParamsSchema as Ca, UsersLinkChannelIdentityResultSchema as Cb, SessionFilePreviewKindSchema as Cc, WorkerAdmissionResponseFrameSchema as Cd, GatewaySuspendResumeResultSchema as Cf, WORKER_TRANSCRIPT_MAX_CONTENT_PARTS as Cg, validateSkillsLibraryImportParams as Ch, SystemChangeEntrySchema as Ci, SessionsObserverVisibilityResultSchema as Cl, BoardWidgetNameSchema as Cm, NodeInvokeResultParamsSchema as Cn, AgentEventSchema as Co, PROGRESS_CARD_MAX_UTF8_BYTES as Cp, ExecApprovalGrantsListParamsSchema as Cr, MessageReactionSummarySchema as Cs, SessionPlacementProtocolSchemas as Ct, ChatMessageGetParamsSchema as Cu, PluginsCatalogCategoriesParamsSchema as Cv, SessionToolOverridesSchema as Cw, AgentsDeleteResultSchema as Cx, SESSION_COLOR_IDS as Cy, WorktreesRetireSnapshotParamsSchema as D, EnvironmentsListResultSchema as DC, ToolsGitHubAuthorizeCancelResultSchema as DS, TerminalUploadParamsSchema as D_, TtsSpeakParamsSchema as Da, UsersListAuthLinksResultSchema as Db, SessionNarrationEventSchema as Dc, WorkerHeartbeatResponseFrameSchema as Dd, GatewaySuspendStatusResultSchema as Df, WorkerProviderReplayStateSchema as Dg, validateSkillsLibrarySaveParams as Dh, SystemChangesListResultSchema as Di, SessionsResetParamsSchema as Dl, BoardWidgetPresentationSchema as Dm, NodePairRejectParamsSchema as Dn, AgentWaitParamsSchema as Do, ProgressCardPutParamsSchema as Dp, ExecApprovalRequestParamsSchema as Dr, SessionReactionsListResultSchema as Ds, SessionPlacementWorkerRuntimeInstallSchema as Dt, ChatRunStartupPhaseSchema as Du, PluginsChangedEventSchema as Dv, SessionProviderReviewProjectionSchema as Dw, AgentsUpdateResultSchema as Dx, normalizeSessionColorValue as Dy, WorktreesRestoreParamsSchema as E, EnvironmentsListParamsSchema as EC, ToolsGitHubAuthorizeCancelParamsSchema as ES, TerminalSessionInfoSchema as E_, TalkSpeakResultSchema as Ea, UsersListAuthLinksParamsSchema as Eb, SessionGroupSchema as Ec, WorkerHeartbeatRequestFrameSchema as Ed, GatewaySuspendStatusReadyResultSchema as Ef, WorkerProtocolCloseReasonSchema as Eg, validateSkillsLibraryReadParams as Eh, SystemChangesListParamsSchema as Ei, SessionsPreviewParamsSchema as El, BoardWidgetPluginPropsSchema as Em, NodePairListParamsSchema as En, AgentParamsSchema as Eo, ProgressCardGetResultSchema as Ep, ExecApprovalGrantsRevokeResultSchema as Er, SessionReactionsListParamsSchema as Es, SessionPlacementStateSchema as Et, ChatPendingInputsPageSchema as Eu, PluginsCatalogGetResultSchema as Ev, SessionVisibilitySchema as Ew, AgentsUpdateParamsSchema as Ex, SESSION_ICON_SVG_MAX_BYTES as Ey, PortalOpenResultSchema as F, WorkerDesktopAppIdSchema as FC, ToolsGitHubAuthorizeSlowDownResultSchema as FS, SessionCatalogSessionSchema as F_, AuditRunIdentityPresentV1Schema as Fa, UsersMergeResultSchema as Fb, SessionsAssignOwnerResultSchema as Fc, WorkerTranscriptCommitErrorReasonSchema as Fd, ConfigSchemaParamsSchema as Ff, ApprovalDecisionSchema as Fg, ComputerStatusParamsSchema as Fh, COMMAND_DESCRIPTION_MAX_LENGTH as Fi, SESSIONS_PATCH_MANY_MAX_TARGETS as Fl, CANVAS_DOCUMENT_PREVIEW_MAX_BYTES as Fm, NodePluginToolsUpdateParamsSchema as Fn, ConversationTurnParamsSchema as Fo, BOARD_CRON_TRIGGER_PREFIX as Fp, ExecApprovalsSnapshotSchema as Fr, SessionSuggestionStateSchema as Fs, isCloudWorkerPlacementState as Ft, LogsTailResultSchema as Fu, PluginsInspectParamsSchema as Fv, SessionParticipantSchema as Fw, ModelsAuthOrderSetParamsSchema as Fx, SessionGitHubOptionsResultSchema as Fy, TaskSuggestionsAcceptParamsSchema as G, WorkerOperatingSystemSchema as GC, ToolsInvokeParamsSchema as GS, SessionsCatalogListParamsSchema as G_, AUDIT_ACTIVITY_DIRECTIONS as Ga, UsersSelectModelAccountParamsSchema as Gb, SessionsCompanionResetResultSchema as Gc, WORKER_PORTAL_PROTOCOL_FEATURE as Gd, UpdateStatusParamsSchema as Gf, ApprovalResolveResultSchema as Gg, WorkerGatewayToolCancelResultSchema as Gh, ChannelsPairingCodeApproveResultSchema as Gi, WorktreePreservationReasonSchema as Gl, TalkVoiceSetParamsSchema as Gm, FsListDirParamsSchema as Gn, BackupStatusParamsSchema as Go, BoardDataReadParamsSchema as Gp, CronJobSchema as Gr, SessionMemberAddParamsSchema as Gs, QuestionRequestResultSchema as Gt, MentionsDismissParamsSchema as Gu, PluginsSearchParamsSchema as Gv, SecretInputSchema as Gw, SkillsBinsParamsSchema as Gx, PersonalGitHubAccountSchema as Gy, TaskSuggestionEventSchema as H, WorkerExecutionModeSchema as HC, ToolsGitHubStatusParamsSchema as HS, SessionsCatalogHostEventSchema as H_, DecisionReceiptV1Schema as Ha, UsersPrefsGetResultSchema as Hb, SessionsCompanionAskParamsSchema as Hc, WorkerTranscriptUserMessageSchema as Hd, UpdateReportResultSchema as Hf, ApprovalKindSchema as Hg, WORKER_GATEWAY_TOOL_METHODS as Hh, ChannelsPairingApproveParamsSchema as Hi, SessionsDeleteParamsSchema as Hl, TalkVoiceCompleteParamsSchema as Hm, NODE_PRESENCE_ALIVE_REASONS as Hn, BackupRunLocationSchema as Ho, BoardCommandEventSchema as Hp, CronGetParamsSchema as Hr, SessionTypingEventSchema as Hs, QuestionRecordSchema as Ht, MentionInboxItemSchema as Hu, PluginsRefreshResultSchema as Hv, GatewayClientModeSchema as Hw, ModelsProbeTargetResultSchema as Hx, SessionGitHubPublishParamsSchema as Hy, PortalSummarySchema as I, WorkerDesktopLaunchParamsSchema as IC, ToolsGitHubAuthorizeStartParamsSchema as IS, SessionCatalogShareRouteSchema as I_, AuditRunIdentityUnknownV1Schema as Ia, UsersPersonalFileGetParamsSchema as Ib, SessionsBranchesListParamsSchema as Ic, WorkerTranscriptCommitErrorShapeSchema as Id, ConfigSchemaResponseSchema as If, ApprovalDeniedReasonSchema as Ig, WORKER_COMPUTER_PROTOCOL_FEATURE as Ih, COMMAND_LIST_MAX_ITEMS as Ii, SessionsPatchManyParamsSchema as Il, CanvasDocumentPreviewParamsSchema as Im, NodePresenceActivityPayloadSchema as In, ConversationTurnReplySchema as Io, BOARD_DATA_BINDING_ID_MAX_LENGTH as Ip, CronAddJobResultSchema as Ir, SessionSuggestionsAddParamsSchema as Is, QuestionAnswersSchema as It, projectChatErrorDetail as Iu, PluginsInspectResultSchema as Iv, SessionPersonSchema as Iw, ModelsAuthRefreshParamsSchema as Ix, SessionGitHubPublicationFailedSchema as Iy, TaskSuggestionsCreateResultSchema as J, EnvironmentsSessionExecParamsSchema as JC, SkillsCuratorActionParamsSchema as JS, SessionsCatalogReadResultSchema as J_, AUDIT_ACTIVITY_STATUSES as Ja, UsersSelfResultSchema as Jb, SessionsCreateResultSchema as Jc, WORKER_SESSION_TOOL_MAX_TEXT_LENGTH as Jd, UpdateRunRecordSchema as Jf, ApprovalTerminalReasonSchema as Jg, WorkerGatewayToolResultSchema as Jh, ChannelsPairingListParamsSchema as Ji, SessionsGoalMutationResultSchema as Jl, ThemeModeSchema as Jm, DesktopObserveParamsSchema as Jn, StorageLocationsListResultSchema as Jo, BoardGetParamsSchema as Jp, CronPacingSchema as Jr, SessionMemberRemoveParamsSchema as Js, QuestionResolveResultSchema as Jt, UsersMentionableParamsSchema as Ju, PluginsSessionActionParamsSchema as Jv, Sha256String as Jw, SkillsInstallParamsSchema as Jx, UserChannelIdentityLinkSchema as Jy, TaskSuggestionsAcceptResultSchema as K, WorkerSlotSummarySchema as KC, ToolsInvokeResultSchema as KS, SessionsCatalogListResultSchema as K_, AUDIT_ACTIVITY_KINDS as Ka, UsersSelectModelAccountResultSchema as Kb, SessionsCompanionStateParamsSchema as Kc, WORKER_PRESENCE_PROTOCOL_FEATURE as Kd, UpdateStatusResultSchema as Kf, ApprovalScopeSchema as Kg, WorkerGatewayToolInvokeParamsSchema as Kh, ChannelsPairingDismissParamsSchema as Ki, SessionGoalSchema as Kl, TalkVoiceSetResultSchema as Km, FsListDirResultSchema as Kn, BackupStatusResultSchema as Ko, BoardEventParamsSchema as Kp, CronJobStateSchema as Kr, SessionMemberEvidenceSchema as Ks, QuestionRequestedEventSchema as Kt, MentionsListParamsSchema as Ku, PluginsSearchResultSchema as Kv, SecretRefSchema as Kw, SkillsBinsResultSchema as Kx, PersonalGitHubGenerationSchema as Ky, SessionPortalCloseParamsSchema as L, WorkerDesktopLaunchResultSchema as LC, ToolsGitHubAuthorizeStartResultSchema as LS, SessionCatalogTranscriptItemSchema as L_, AuditRunIdentityUnsupportedV1Schema as La, UsersPersonalFileGetResultSchema as Lb, SessionsBranchesListResultSchema as Lc, WorkerTranscriptCommitParamsSchema as Ld, ConfigSetParamsSchema as Lf, ApprovalExpiredReasonSchema as Lg, WorkerComputerParamsSchema as Lh, COMMAND_NAME_MAX_LENGTH as Li, SessionsPatchManyResultSchema as Ll, CanvasDocumentViewParamsSchema as Lm, NodePresenceAlivePayloadSchema as Ln, ConversationTurnResultSchema as Lo, BOARD_WIDGET_TOOL_MAX_LENGTH as Lp, CronAddParamsSchema as Lr, SessionSuggestionsAddResultSchema as Ls, QuestionGetParamsSchema as Lt, HumanMentionSchema as Lu, PluginsInstallParamsSchema as Lv, SessionClassificationSchema as Lw, ModelsAuthSetApiKeyParamsSchema as Lx, SessionGitHubPublicationNeedsConfirmationSchema as Ly, PortalListParamsSchema as M, RequiredNodeCommandSchema as MC, ToolsGitHubAuthorizePendingResultSchema as MS, SessionCatalogLocatorSchema as M_, AuditListParamsSchema as Ma, UsersListParamsSchema as Mb, SessionWorktreeInfoSchema as Mc, WorkerLiveEventResponseFrameSchema as Md, ConfigPatchParamsSchema as Mf, ApprovalAllowedReasonSchema as Mg, validateSkillsProposalHistoryScanParams as Mh, COMMAND_ARG_NAME_MAX_LENGTH as Mi, SessionsSearchHitSchema as Ml, BoardWidgetRemoveOpSchema as Mm, NodePendingEnqueueParamsSchema as Mn, ConversationSendResultSchema as Mo, ProgressCardStepSchema as Mp, ExecApprovalsNodeSetParamsSchema as Mr, SessionSuggestionEventSchema as Ms, SessionsReclaimParamsSchema as Mt, ChatToolTitlesParamsSchema as Mu, PluginsControlUiReportParamsSchema as Mv, SESSION_EXPANDED_PARTICIPANT_LIMIT as Mw, GitHubIdentitySourceSchema as Mx, GitHubPublicationTitleSchema as My, PortalListResultSchema as N, RequiredNodeCommandStateSchema as NC, ToolsGitHubAuthorizePollParamsSchema as NS, SessionCatalogPullRequestSummarySchema as N_, AuditListResultSchema as Na, UsersListResultSchema as Nb, SessionsAbortParamsSchema as Nc, WorkerLiveEventResultSchema as Nd, ConfigSchemaLookupParamsSchema as Nf, ApprovalCancelledReasonSchema as Ng, validateSkillsProposalHistoryStatusParams as Nh, COMMAND_CHOICE_LABEL_MAX_LENGTH as Ni, SessionsSearchParamsSchema as Nl, BoardWidgetResizeOpSchema as Nm, NodePendingEnqueueResultSchema as Nn, ConversationTurnCancelParamsSchema as No, ProgressCardStepStatusSchema as Np, ExecApprovalsNodeSnapshotSchema as Nr, SessionSuggestionResolutionSchema as Ns, SessionsReclaimResultPlacementSchema as Nt, ChatToolTitlesResultSchema as Nu, PluginsControlUiStatusParamsSchema as Nv, SESSION_PARTICIPANT_LIMIT as Nw, GitHubSelectedIdentitySchema as Nx, SessionGitHubConfirmParamsSchema as Ny, WorktreesRetireSnapshotResultSchema as O, EnvironmentsPrepareParamsSchema as OC, ToolsGitHubAuthorizeExpiredResultSchema as OS, TerminalUploadResultSchema as O_, TtsSpeakResultSchema as Oa, UsersListChannelIdentitiesParamsSchema as Ob, SessionObserverDigestSchema as Oc, WorkerLiveEventErrorDetailsSchema as Od, GatewaySuspendStatusRunningResultSchema as Of, checkWorkerProtocolJson as Og, validateSkillsLibraryUploadParams as Oh, COMMAND_ALIAS_MAX_ITEMS as Oi, SessionsRewindParamsSchema as Ol, BoardWidgetPutContentSchema as Om, NodePairRemoveParamsSchema as On, ConversationListItemSchema as Oo, ProgressCardPutResultSchema as Op, ExecApprovalResolveParamsSchema as Or, SessionReactionsSetParamsSchema as Os, SessionsDispatchParamsSchema as Ot, ChatSendIntentSchema as Ou, PluginsControlUiCatalogSchema as Ov, SessionsProviderReviewContinueParamsSchema as Ow, AuthProbeStatusSchema as Ox, normalizeSessionIconValue as Oy, PortalOpenParamsSchema as P, RuntimeTargetIssueSchema as PC, ToolsGitHubAuthorizePollResultSchema as PS, SessionCatalogSchema as P_, AuditRunIdentityAmbiguousV1Schema as Pa, UsersMergeParamsSchema as Pb, SessionsAssignOwnerParamsSchema as Pc, WorkerLiveEventSchema as Pd, ConfigSchemaLookupResultSchema as Pf, ApprovalChannelReviewerSchema as Pg, ComputerInvokeParamsSchema as Ph, COMMAND_CHOICE_VALUE_MAX_LENGTH as Pi, SessionsSearchResultSchema as Pl, BoardWidgetSchema as Pm, NodePluginToolDescriptorSchema as Pn, ConversationTurnCancelResultSchema as Po, BOARD_CRON_JOB_ID_MAX_LENGTH as Pp, ExecApprovalsSetParamsSchema as Pr, SessionSuggestionSchema as Ps, SessionsReclaimResultSchema as Pt, LogsTailParamsSchema as Pu, PluginsControlUiStatusResultSchema as Pv, SessionParticipantIdentitySchema as Pw, ModelsAuthLogoutParamsSchema as Px, SessionGitHubOptionsParamsSchema as Py, TaskSuggestionsListResultSchema as Q, CronJobNotFoundErrorDetailsSchema as QC, SkillsCuratorStatusResultSchema as QS, ControlUiPluginTabSchema as Q_, AuditActivityListParamsSchema as Qa, UsersSetDisplayNameResultSchema as Qb, SessionsFilesAssetsParamsSchema as Qc, WorkerPresenceResponseFrameSchema as Qd, UpdateRunsListParamsSchema as Qf, ExpiredApprovalSnapshotSchema as Qg, validateWorkerGatewayToolCancelParams as Qh, ChannelsStatusParamsSchema as Qi, SessionsStorageParamsSchema as Ql, ThemesListParamsSchema as Qm, DesktopSourceSchema as Qn, MigrationProtocolSchemas as Qo, BoardPluginActionParamsSchema as Qp, CronRunsParamsSchema as Qr, SessionMembersListResultSchema as Qs, QuestionSecretStoreExistingSchema as Qt, EventFrameSchema as Qu, PluginsSetEnabledResultSchema as Qv, USER_PREFS_ENTRY_LIMIT as Qw, SkillsProposalDecisionParamsSchema as Qx, UserProfileAvatarMimeSchema as Qy, SessionPortalListParamsSchema as R, WorkerDesktopObserveParamsSchema as RC, ToolsGitHubAuthorizeSuccessResultSchema as RS, SessionsCatalogArchiveParamsSchema as R_, AuditRunIdentityV1Schema as Ra, UsersPersonalFileSetParamsSchema as Rb, SessionsBranchesSwitchParamsSchema as Rc, WorkerTranscriptCommitRequestFrameSchema as Rd, UpdateAvailableSchema as Rf, ApprovalGetParamsSchema as Rg, WorkerComputerResponseFrameSchema as Rh, CommandEntrySchema as Ri, SessionsPatchManyTargetSchema as Rl, CanvasDocumentViewResultSchema as Rm, NodePresenceAliveReasonSchema as Rn, MessageActionParamsSchema as Ro, BoardActionParamsSchema as Rp, CronAddResultSchema as Rr, SessionSuggestionsListParamsSchema as Rs, QuestionGetResultSchema as Rt, HumanMentionsSchema as Ru, PluginsInstallResultSchema as Rv, SessionPeerKindSchema as Rw, ModelsAuthSetApiKeyResultSchema as Rx, SessionGitHubPublicationPublishedSchema as Ry, WorktreesRecoverRemovalParamsSchema as S, EnvironmentsCreateParamsSchema as SC, SkillsUploadCommitParamsSchema as SS, TerminalListResultSchema as S_, TalkSessionOkResultSchema as Sa, UsersLinkChannelIdentityParamsSchema as Sb, SessionFileKindSchema as Sc, WorkerAdmissionHandshakeSchema as Sd, GatewaySuspendResumeParamsSchema as Sf, WORKER_PUBLIC_INGRESS_PATH as Sg, validateSkillsLibraryActivateParams as Sh, SystemAgentWizardCancelSchema as Si, SessionsObserverVisibilityParamsSchema as Sl, BoardWidgetMoveOpSchema as Sm, NodeInvokeRequestEventSchema as Sn, AgentsFilesSetResultSchema as So, PROGRESS_CARD_MAX_STEP_UTF8_BYTES as Sp, ExecApprovalGetParamsSchema as Sr, RemoteProjectSchema as Ss, SessionPlacementMoveSchema as St, ChatInputReceiptsSchema as Su, PluginsCatalogBrowseResultSchema as Sv, SessionRowSchema as Sw, AgentsDeleteParamsSchema as Sx, SESSION_AGENT_ATTENTION_ICON_IDS as Sy, WorktreesRemoveResultSchema as T, EnvironmentsDestroyResultSchema as TC, ToolsGitHubAuthorizeAccessDeniedResultSchema as TS, TerminalResizeParamsSchema as T_, TalkSpeakParamsSchema as Ta, UsersLinkEmailResultSchema as Tb, SessionGroupDefaultsSchema as Tc, WorkerHeartbeatParamsSchema as Td, GatewaySuspendStatusParamsSchema as Tf, WorkerAdmissionFailureReasonSchema as Tg, validateSkillsLibraryMutateParams as Th, SystemChangeSourceSchema as Ti, SessionsPluginPatchResultSchema as Tl, BoardWidgetPluginKindSchema as Tm, NodePairApproveParamsSchema as Tn, AgentIdentityResultSchema as To, ProgressCardGetParamsSchema as Tp, ExecApprovalGrantsRevokeParamsSchema as Tr, SessionReactionMirrorSchema as Ts, SessionPlacementSchema as Tt, ChatMetadataParamsSchema as Tu, PluginsCatalogGetParamsSchema as Tv, SessionSharingRoleSchema as Tw, AgentsListResultSchema as Tx, SESSION_ICON_SVG_DATA_URL_PREFIX as Ty, TaskSuggestionResolutionSchema as U, WorkerMachineOptionSchema as UC, ToolsGitHubStatusResultSchema as US, SessionsCatalogImportParamsSchema as U_, ExecutionIdentityContextV1Schema as Ua, UsersPrefsSetParamsSchema as Ub, SessionsCompanionAskResultSchema as Uc, PlacedSessionsSendSchema as Ud, UpdateRunParamsSchema as Uf, ApprovalPresentationSchema as Ug, WorkerGatewayToolCancelParamsSchema as Uh, ChannelsPairingApproveResultSchema as Ui, SessionsDeleteResultSchema as Ul, TalkVoiceGetParamsSchema as Um, HooksStatusParamsSchema as Un, BackupRunRecordSchema as Uo, BoardCommandSchema as Up, CronHistoryParamsSchema as Ur, SessionTypingParamsSchema as Us, QuestionRequestParamsSchema as Ut, MentionableUserSchema as Uu, PluginsReloadParamsSchema as Uv, InputProvenanceSchema as Uw, SkillProposalEvaluationSchema as Ux, SessionGitHubStatusParamsSchema as Uy, PluginApprovalResolveParamsSchema as V, WorkerEnvironmentStateSchema as VC, ToolsGitHubManagedConfigureParamsSchema as VS, SessionsCatalogContinueResultSchema as V_, DecisionReceiptDisplayV1Schema as Va, UsersPrefsGetParamsSchema as Vb, SessionsCompactParamsSchema as Vc, WorkerTranscriptMessageSchema as Vd, UpdateReportParamsSchema as Vf, ApprovalHistoryResultSchema as Vg, WORKER_GATEWAY_TOOLS_PROTOCOL_FEATURE as Vh, TalkSessionAcknowledgeMarkParamsSchema as Vi, PreservedSessionWorktreeSchema as Vl, TalkVoiceChangeEventSchema as Vm, NodeSkillsUpdateParamsSchema as Vn, WakeParamsSchema as Vo, BoardChatDockSchema as Vp, CronDeliverySchema as Vr, SessionSuggestionsResolveResultSchema as Vs, QuestionOptionSchema as Vt, MENTION_INBOX_MAX_ITEMS as Vu, PluginsRefreshParamsSchema as Vv, GatewayClientIdSchema as Vw, ModelsProbeResultSchema as Vx, SessionGitHubPublicationResultSchema as Vy, TaskSuggestionSchema as W, WorkerMachineOptionsSchema as WC, ToolsInvokeErrorSchema as WS, SessionsCatalogImportResultSchema as W_, PrincipalRefV1Schema as Wa, UsersPrefsSetResultSchema as Wb, SessionsCompanionResetParamsSchema as Wc, PlacedSessionsSpawnSchema as Wd, UpdateScheduleStateSchema as Wf, ApprovalResolveParamsSchema as Wg, WorkerGatewayToolCancelResponseFrameSchema as Wh, ChannelsPairingCliListResultSchema as Wi, WORKTREE_PRESERVATION_REASONS as Wl, TalkVoiceSelectionSchema as Wm, FsDirEntrySchema as Wn, BackupRunRetentionSchema as Wo, BoardCronActionParamsSchema as Wp, CronHistoryResultSchema as Wr, SessionTypingResultSchema as Ws, QuestionRequestQuestionSchema as Wt, MentionsChangedEventSchema as Wu, PluginsReloadResultSchema as Wv, NonEmptyString as Ww, SkillProposalLifecycleEventSchema as Wx, SessionGitHubStatusResultSchema as Wy, TaskSuggestionsDismissResultSchema as X, EnvironmentsSessionDestroyParamsSchema as XC, SkillsCuratorLiveStatusResultSchema as XS, SessionsCatalogStartTerminalResultSchema as X_, AuditActivityEventV1Schema as Xa, UsersSetAvatarResultSchema as Xb, SessionsDiffParamsSchema as Xc, WorkerPortalResponseFrameSchema as Xd, UpdateRunsGetParamsSchema as Xf, DeniedApprovalSnapshotSchema as Xg, WorkerToolSurfaceSchema as Xh, ChannelsLogoutParamsSchema as Xi, SessionsTitlePrepareParamsSchema as Xl, ThemesGetParamsSchema as Xm, DesktopReleaseParamsSchema as Xn, StorageLocationsProbeResultSchema as Xo, BoardMcpAppDescriptorSchema as Xp, CronRunLogEntrySchema as Xr, SessionMembersListEvidenceResultSchema as Xs, QuestionSchema as Xt, ConnectParamsSchema as Xu, PluginsSessionActionSuccessResultSchema as Xv, GATEWAY_OWNER_PROFILE_ID as Xw, SkillsProposalApplyResultSchema as Xx, UserModelAccountSchema as Xy, TaskSuggestionsDismissParamsSchema as Y, EnvironmentsSessionCreateParamsSchema as YC, SkillsCuratorActionResultSchema as YS, SessionsCatalogStartTerminalParamsSchema as Y_, AuditActivityAgentRunV1Schema as Ya, UsersSetAvatarParamsSchema as Yb, SessionsDescribeParamsSchema as Yc, WorkerPortalParamsSchema as Yd, UpdateRunResultSchema as Yf, CancelledApprovalSnapshotSchema as Yg, WorkerGatewayToolUpdateFrameSchema as Yh, ChannelsPairingListResultSchema as Yi, SessionsGoalUpdateParamsSchema as Yl, ThemePaletteSchema as Ym, DesktopObserveResultSchema as Yn, StorageLocationsProbeParamsSchema as Yo, BoardLegacyEventParamsSchema as Yp, CronRemoveParamsSchema as Yr, SessionMemberSchema as Ys, QuestionResolvedEventSchema as Yt, UsersMentionableResultSchema as Yu, PluginsSessionActionResultSchema as Yv, UserProfileIdSchema as Yw, SkillsProposalActionParamsSchema as Yx, UserChannelIdentitySchema as Yy, TaskSuggestionsListParamsSchema as Z, EnvironmentsSessionStatusParamsSchema as ZC, SkillsCuratorStatusParamsSchema as ZS, CapabilityConsentErrorDetailsSchema as Z_, AuditActivityInboundMessageV1Schema as Za, UsersSetDisplayNameParamsSchema as Zb, SessionsDiffResultSchema as Zc, WorkerPresenceParamsSchema as Zd, UpdateRunsGetResultSchema as Zf, ExecApprovalPresentationSchema as Zg, isWorkerGatewayToolFrameWithinBudget as Zh, ChannelsStartParamsSchema as Zi, SessionsTitlePrepareResultSchema as Zl, ThemesImportParamsSchema as Zm, DesktopReleaseResultSchema as Zn, MAX_MEMORY_MIGRATION_ITEMS as Zo, BoardOpSchema as Zp, CronRunParamsSchema as Zr, SessionMembersListParamsSchema as Zs, QuestionSecretStoreBindingSchema as Zt, ErrorShapeSchema as Zu, PluginsSetEnabledParamsSchema as Zv, GIT_COAUTHOR_PREFERENCE_KEY as Zw, SkillsProposalCreateParamsSchema as Zx, UserProfileAuthLinkSchema as Zy, WorktreesCreateParamsSchema as _, SecretsStoreMutationResultSchema as _C, SkillsSkillCardResultSchema as _S, TerminalCloseParamsSchema as __, TalkSessionCancelOutputParamsSchema as _a, UsersGitHubDisconnectResultSchema as _b, SessionDiffScopeSchema as _c, WORKER_PROTOCOL_MAX_METHOD_LENGTH as _d, GatewaySuspendPrepareBusyResultSchema as _f, validateWorkerInferenceTerminalOutcome as _g, SkillsLibraryListParamsSchema as _h, SystemAgentSetupAuthStartResultSchema as _i, SessionsGroupsRenameParamsSchema as _l, BoardWidgetGrantParamsSchema as _m, NodeHostStatsPayloadSchema as _n, AgentsFilesGetParamsSchema as _o, TranscriptsListResultSchema as _p, ScopeUpgradeRegistrationSchema as _r, ProjectsRegisterResultSchema as _s, SessionMovePlacementStateSchema as _t, ChatHistoryDeltaResultSchema as _u, PluginRuntimeStatusSchema as _v, SessionCreatedActorSchema as _w, AgentKindSchema as _x, ControlUiLinkReaderDescriptorSchema as _y, ToolsCatalogParamsSchema as a, SkillsDetailResultSchema as aC, SkillsProposalRecordResultSchema as aS, PluginApprovalPresentationSchema as a_, TalkClientCreateParamsSchema as aa, UsersAuthConnectResultSchema as ab, SessionSharingIdentitySchema as ac, NODE_WORKER_IDLE_RETENTION_PROTOCOL_FEATURE as ad, PresenceDeviceSchema as af, WORKER_PROTOCOL_MAX_INFERENCE_PAYLOAD_BYTES as ag, UiNavigateCommandSchema as ah, CronUpdateParamsSchema as ai, SessionsFilesRevealResultSchema as al, BoardTabIdSchema as am, WebPushDevicePreferencesSchema as an, ArtifactsDownloadResultSchema as ao, TRANSCRIPTS_LEGACY_RESULT_MAX_BYTES as ap, DevicePairResolvedEventSchema as ar, ProjectDefaultRepositorySchema as as, SessionsResolveParamsSchema as at, SessionsRecoverResultSchema as au, PluginControlUiDescriptorSchema as av, SessionWorkspaceRecoveryRequiredErrorDetailsSchema as aw, UI_APPEARANCE_PREFERENCE_KEYS as ax, PluginDecisionProviderStatusSchema as ay, WorktreesListParamsSchema as b, EnvironmentStatusSchema as bC, SkillsUploadBeginParamsSchema as bS, TerminalExitEventSchema as b_, TalkSessionCreateParamsSchema as ba, UsersLinkAuthProfileParamsSchema as bb, SessionFileContentEncodingSchema as bc, WORKER_TRANSCRIPT_COMMIT_PROTOCOL_FEATURE as bd, GatewaySuspendPrepareReadyResultSchema as bf, WORKER_PROTOCOL_MAX_PAYLOAD_BYTES as bg, SkillsLibrarySaveParamsSchema as bh, SystemAgentSetupVerifyParamsSchema as bi, SessionsMessagesSubscribeParamsSchema as bl, BoardWidgetMcpAppContentSchema as bm, NodeInvokeParamsSchema as bn, AgentsFilesListResultSchema as bo, TranscriptsSummarizeParamsSchema as bp, ScopeUpgradeResultSchema as br, ProjectsSearchRemoteParamsSchema as bs, SessionPlacementDiskSpaceSchema as bt, ChatInjectParamsSchema as bu, PluginUiCapabilitySchema as bv, SessionOwnerSchema as bw, AgentsCreateParamsSchema as bx, validatePluginUiCapabilities as by, ToolsEffectiveGroupSchema as c, SecretStoreEnvEntrySchema as cC, SkillsProposalReviseParamsSchema as cS, SessionApprovalReplaySchema as c_, TalkClientSteerParamsSchema as ca, UsersAuthConnectStatusParamsSchema as cb, SESSIONS_FILES_ASSETS_MAX_REFS as cc, WORKER_EXECUTION_CONTEXT_PROTOCOL_FEATURE as cd, PresenceQueryParamsSchema as cf, WorkerInferenceImageContentSchema as cg, UiSplitCommandSchema as ch, SystemAgentChatHistoryTurnSchema as ci, SessionsForkParamsSchema as cl, BoardTabsReorderOpSchema as cm, WebPushPreferencesGetParamsSchema as cn, ArtifactsListParamsSchema as co, TRANSCRIPTS_PAGE_MAX as cp, DevicePairSetupCompletedEventSchema as cr, ProjectRecentRepositorySchema as cs, SessionDiscussionInfoResultSchema as ct, ChatAbortedEventSchema as cu, PluginDeclaredSurfaceWideningSchema as cv, TaskWorktreeSourceRequiredErrorDetailsSchema as cw, WizardAnswerSchema as cx, PluginInspectSourceSchema as cy, ToolsEffectiveResultSchema as d, SecretsResolveAssignmentSchema as dC, SkillsProposalsListResultSchema as dS, TerminalApprovalSnapshotSchema as d_, TalkClientTranscriptParamsSchema as da, UsersGitHubAuthorizeCancelResultSchema as db, SESSION_OBSERVER_HEALTH_VALUES as dc, WORKER_LINEAGE_START_PROTOCOL_FEATURE as dd, PresenceEntrySchema as df, WorkerInferenceStartRequestFrameSchema as dg, SKILL_LIBRARY_MAX_FILE_BYTES as dh, SystemAgentChatResultSchema as di, SessionsGroupsDefaultsResultSchema as dl, BoardViewTicketSchema as dm, WebPushTestParamsSchema as dn, AgentsWorkspaceFileSchema as do, TranscriptUtteranceSchema as dp, DevicePairSetupStatusResultSchema as dr, ProjectSummarySchema as ds, SessionDiscussionOpenResultSchema as dt, ChatDeltaEventSchema as du, PluginDiscoveryDetailSchema as dv, WizardNotFoundErrorDetailsSchema as dw, WizardNextResultSchema as dx, PluginOperatorGrantsSchema as dy, ModelChoiceSchema as eC, SkillsProposalEvaluateResultSchema as eS, USER_PREFS_VALUE_BYTES as eT, MessageSendApprovalScopeSchema as e_, ChannelsStopParamsSchema as ea, UserProfileSchema as eb, SessionPublicShareSetParamsSchema as ec, HelloOkSchema as ed, WorkerSessionToolResultSchema as ef, validateWorkerGatewayToolUpdateFrame as eg, UiClosePaneCommandSchema as eh, CronScratchGetResultSchema as ei, SessionsFilesGetParamsSchema as el, BoardSetChatDockCommandSchema as em, QuestionWaitAnswerParamsSchema as en, AuditActivityOutboundMessageV1Schema as eo, SessionOwnerSessionCountSchema as ep, DevicePairListParamsSchema as er, MigrationsMemoryPlanParamsSchema as es, SystemInfoResultSchema as et, SessionsSetInvolvementParamsSchema as eu, MAX_PLUGIN_RELOAD_TARGETS as ev, GitHubPublicationSelectionRejectedErrorDetailsSchema as ew, UsersSetRoleResultSchema as ex, PluginsUiDescriptorsResultSchema as ey, WorktreeBranchSchema as f, SecretsResolveParamsSchema as fC, SkillsSearchParamsSchema as fS, TerminalSessionApprovalEventSchema as f_, TalkConfigParamsSchema as fa, UsersGitHubAuthorizePollParamsSchema as fb, SessionBranchSchema as fc, WORKER_LIVE_EVENT_PROTOCOL_FEATURE as fd, SnapshotSchema as ff, WorkerInferenceStartResponseFrameSchema as fg, SKILL_LIBRARY_MAX_SELECTIONS as fh, SystemAgentSetupActivateParamsSchema as fi, SessionsGroupsDeleteParamsSchema as fl, BoardWidgetAppViewParamsSchema as fm, WebPushUnsubscribeParamsSchema as fn, AgentsWorkspaceGetParamsSchema as fo, TranscriptsExportParamsSchema as fp, DeviceTokenRevokeParamsSchema as fr, ProjectsAddParamsSchema as fs, SessionDiscussionStateSchema as ft, ChatErrorEventSchema as fu, PluginDiscoveryEntrySchema as fv, buildMissingScopeErrorDetails as fw, WizardStartParamsSchema as fx, PluginCredentialDescriptorSchema as fy, WorktreesBranchesResultSchema as g, SecretsStoreListResultSchema as gC, SkillsSkillCardParamsSchema as gS, TerminalAttachResultSchema as g_, TalkSessionAppendAudioParamsSchema as ga, UsersGitHubDisconnectParamsSchema as gb, SessionDiffFileStatusSchema as gc, WORKER_PROTOCOL_MAX_FEATURE_LENGTH as gd, GatewaySuspendHandoffResultSchema as gf, validateWorkerInferenceTerminalFrame as gg, SkillsLibraryImportParamsSchema as gh, SystemAgentSetupAuthStartParamsSchema as gi, SessionsGroupsPutParamsSchema as gl, BoardWidgetGeneratedIdentitySchema as gm, NodeEventResultSchema as gn, AgentsFileEntrySchema as go, TranscriptsListParamsSchema as gp, ScopeUpgradeExpiredSchema as gr, ProjectsRegisterParamsSchema as gs, SessionMovePlacementSchema as gt, ChatHistoryCursorResultSchema as gu, PluginRuntimeApplicationSchema as gv, SessionConversationLinkSchema as gw, WizardStepSchema as gx, validatePluginsCredentialsInspectParams as gy, WorktreesBranchesParamsSchema as h, SecretsStoreListParamsSchema as hC, SkillsSecurityVerdictsResultSchema as hS, TerminalAttachParamsSchema as h_, TalkModeParamsSchema as ha, UsersGitHubAuthorizeStartResultSchema as hb, SessionDiffFileSchema as hc, WORKER_PROTOCOL_MAX_FEATURES as hd, GatewaySuspendHandoffParamsSchema as hf, validateWorkerInferenceStartParams as hg, SkillsLibraryActivateParamsSchema as hh, SystemAgentSetupActivateStartResultSchema as hi, SessionsGroupsMutationResultSchema as hl, BoardWidgetDeclaredSchema as hm, NodeEventParamsSchema as hn, AgentsWorkspaceListResultSchema as ho, TranscriptsGetResultSchema as hp, ScopeUpgradeApprovedSchema as hr, ProjectsListResultSchema as hs, SessionMoveGatewayTargetSchema as ht, ChatHistoryActivitySchema as hu, PluginReloadTargetSchema as hv, SessionAncestorRefSchema as hw, WizardStatusResultSchema as hx, PluginsCredentialsInspectResultSchema as hy, ToolCatalogProfileSchema as i, ChatAccountSelectionSchema as iC, SkillsProposalInspectResultSchema as iS, PluginApprovalExternalResolutionSchema as i_, TalkClientCloseParamsSchema as ia, UsersAuthConnectCatalogResultSchema as ib, SessionSharingEvidenceEventSchema as ic, TickEventSchema as id, WorkerSessionsSpawnResponseFrameSchema as if, WORKER_INFERENCE_PROTOCOL_FEATURE as ig, UiFocusCommandSchema as ih, CronStatusParamsSchema as ii, SessionsFilesRevealParamsSchema as il, BoardTabDeleteOpSchema as im, WebPushDetailLevelSchema as in, ArtifactsDownloadParamsSchema as io, TRANSCRIPTS_LEGACY_MAX_UTTERANCES as ip, DevicePairRequestedEventSchema as ir, ProjectCheckoutSchema as is, SessionsResolveCandidateSchema as it, SessionsRecoverParamsSchema as iu, PluginCatalogOfficialInstallSchema as iv, ProjectCloneErrorDetailsSchema as iw, UsersUnlinkChannelIdentityResultSchema as ix, PluginsInstallProgressEventSchema as iy, PortalCloseResultSchema as j, EnvironmentsStatusResultSchema as jC, ToolsGitHubAuthorizeNetworkErrorResultSchema as jS, SessionCatalogHostSchema as j_, AuditEventSchema as ja, UsersListModelAccountsResultSchema as jb, SessionOperationEventSchema as jc, WorkerLiveEventRequestFrameSchema as jd, ConfigGetParamsSchema as jf, ApprovalAllowDecisionSchema as jg, SkillsProposalHistoryStatusParamsSchema as jh, COMMAND_ARG_DESCRIPTION_MAX_LENGTH as ji, SessionsUsageParamsSchema as jl, BoardWidgetRegisteredContentSchema as jm, NodePendingDrainResultSchema as jn, ConversationSendParamsSchema as jo, ProgressCardSchema as jp, ExecApprovalsNodeGetParamsSchema as jr, SessionSuggestionActionSchema as js, SessionsMoveResultSchema as jt, ChatStatusEventSchema as ju, PluginsControlUiReloadParamsSchema as jv, SessionsActivitySummaryEnsureResultSchema as jw, GitHubIdentityScopeSchema as jx, GitHubPublicationSelectionSchema as jy, PortalChangedEventSchema as k, EnvironmentsPrepareResultSchema as kC, ToolsGitHubAuthorizeFailedResultSchema as kS, SessionCatalogCapabilitiesSchema as k_, WebLoginStartParamsSchema as ka, UsersListChannelIdentitiesResultSchema as kb, SessionObserverHealthSchema as kc, WorkerLiveEventErrorShapeSchema as kd, GatewaySuspensionSchema as kf, formatValidationErrors as kg, SkillsProposalHistoryScanParamsSchema as kh, COMMAND_ARGS_MAX_ITEMS as ki, SessionsRewindResultSchema as kl, BoardWidgetPutParamsSchema as km, NodePendingAckParamsSchema as kn, ConversationListParamsSchema as ko, ProgressCardRefreshParamsSchema as kp, ExecApprovalStandingGrantSchema as kr, SessionReactionsSetResultSchema as ks, SessionsDispatchResultSchema as kt, ChatSendParamsSchema as ku, PluginsControlUiChangedEventSchema as kv, SessionActivitySummarySchema as kw, GitHubAuthorSchema as kx, GitHubPublicationBodySchema as ky, ToolsEffectiveNoticeSchema as l, SecretStoreSecretEntrySchema as lC, SkillsProposalUpdateParamsSchema as lS, StandingGrantApprovalScopeSchema as l_, TalkClientToolCallParamsSchema as la, UsersAuthConnectStatusResultSchema as lb, SESSIONS_FILES_ASSETS_MAX_TOTAL_BYTES as lc, WORKER_HEARTBEAT_INTERVAL_MS as ld, PresenceQueryResultSchema as lf, WorkerInferenceModelRefSchema as lg, SKILL_LIBRARY_MAX_BUNDLE_BYTES as lh, SystemAgentChatParamsSchema as li, SessionsForkResultSchema as ll, BoardTicketEventParamsSchema as lm, WebPushPreferencesSetParamsSchema as ln, ArtifactsListResultSchema as lo, TRANSCRIPTS_RESULT_MAX_BYTES as lp, DevicePairSetupDeliveryUncertainEventSchema as lr, ProjectRecentSchema as ls, SessionDiscussionInfoSchema as lt, ChatAttachmentSchema as lu, PluginDiscoveryCatalogFactsSchema as lv, UnknownAgentIdErrorDetailsSchema as lw, WizardCancelParamsSchema as lx, PluginInstallTrustSchema as ly, WorktreeRepositoryStatusSchema as m, SecretsStoreDeleteParamsSchema as mC, SkillsSecurityVerdictsParamsSchema as mS, TerminalAckResultSchema as m_, TalkEventSchema as ma, UsersGitHubAuthorizeStartParamsSchema as mb, SessionDiffCommitSchema as mc, WORKER_PROTOCOL_FEATURES as md, GatewaySuspendBlockerSchema as mf, validateWorkerInferenceEventFrame as mg, SkillLibrarySelectionSchema as mh, SystemAgentSetupActivateStartParamsSchema as mi, SessionsGroupsListResultSchema as ml, BoardWidgetContentSchema as mm, NodeDescribeParamsSchema as mn, AgentsWorkspaceListParamsSchema as mo, TranscriptsGetParamsSchema as mp, DeviceTokenRotateResultSchema as mr, ProjectsListParamsSchema as ms, SessionMoveExpectedSourceSchema as mt, ChatFinalEventSchema as mu, PluginJsonValueSchema as mv, missingScopeErrorShape as mw, WizardStatusParamsSchema as mx, PluginsCredentialsInspectParamsSchema as my, ToolCatalogEntrySchema as n, ModelsListParamsSchema as nC, SkillsProposalEventsListResultSchema as nS, closedObject as nT, PendingApprovalSnapshotSchema as n_, TalkCatalogParamsSchema as na, UsersAuthConnectCancelParamsSchema as nb, SessionSharingActionSchema as nc, ResponseFrameSchema as nd, WorkerSessionsSendResponseFrameSchema as nf, WORKER_INFERENCE_MAX_OUTPUT_TOKENS as ng, UiCommandResultSchema as nh, CronScratchSetParamsSchema as ni, SessionsFilesListParamsSchema as nl, BoardSnapshotSchema as nm, PushTestParamsSchema as nn, findAuditActivityFilterConflict as no, TRANSCRIPTS_EXPORT_MAX_BYTES as np, DevicePairRemoveParamsSchema as nr, PROJECTS_LIST_MAX_CHECKOUTS_PER_PROJECT as ns, SessionsViewerPresenceSetParamsSchema as nt, SESSION_CREATE_RETRY_WINDOW_MS as nu, PluginCatalogEntrySchema as nv, MissingScopeErrorDetailsSchema as nw, UsersUnlinkAuthProfileResultSchema as nx, PluginsUninstallResultSchema as ny, ToolsCatalogResultSchema as o, GitHubSetupHandleSchema as oC, SkillsProposalRequestRevisionParamsSchema as oS, PluginApprovalSeveritySchema as o_, TalkClientCreateResultSchema as oa, UsersAuthConnectStartParamsSchema as ob, SessionVisibilitySetParamsSchema as oc, WORKER_BUNDLE_PREWARM_VERSION as od, PresenceLocationSchema as of, WorkerInferenceCancelRequestFrameSchema as og, UiPanelCommandSchema as oh, SystemAgentChatHistoryParamsSchema as oi, SessionsFilesSetParamsSchema as ol, BoardTabSchema as om, WebPushNotificationCategorySchema as on, ArtifactsGetParamsSchema as oo, TRANSCRIPTS_LIST_MAX as op, DevicePairSetupCodeParamsSchema as or, ProjectRecentFolderSchema as os, SessionsResolveResultSchema as ot, AgentActivityItemSchema as ou, PluginControlUiDiagnosticSchema as ov, SetupAdmissionBusyErrorDetailsSchema as ow, normalizeUiAppearancePreference as ox, PluginDeclaredSurfaceSchema as oy, WorktreeRecordSchema as p, SecretsResolveResultSchema as pC, SkillsSearchResultSchema as pS, isWellFormedApprovalId as p_, TalkConfigResultSchema as pa, UsersGitHubAuthorizePollResultSchema as pb, SessionCompanionExchangeSchema as pc, WORKER_NATIVE_PROCESS_OWNER_PROTOCOL_FEATURE as pd, StateVersionSchema as pf, validateWorkerInferenceCancelParams as pg, SkillLibraryFileSchema as ph, SystemAgentSetupActivateResultSchema as pi, SessionsGroupsListParamsSchema as pl, BoardWidgetAppViewResultSchema as pm, WebPushVapidPublicKeyParamsSchema as pn, AgentsWorkspaceGetResultSchema as po, TranscriptsExportResultSchema as pp, DeviceTokenRotateParamsSchema as pr, ProjectsAddResultSchema as ps, SessionMoveDeviceTargetSchema as pt, ChatEventSchema as pu, PluginDiscoveryLocalFactsSchema as pv, errorShape as pw, WizardStartResultSchema as px, PluginCredentialInspectionSchema as py, TaskSuggestionsCreateParamsSchema as q, WorkerTunnelStatusSchema as qC, SkillCuratorLiveEntrySchema as qS, SessionsCatalogReadParamsSchema as q_, AUDIT_ACTIVITY_MESSAGE_KIND as qa, UsersSelfParamsSchema as qb, SessionsCompanionStateResultSchema as qc, WORKER_SESSION_TOOLS_PROTOCOL_FEATURE as qd, UpdateRunChangedEventSchema as qf, ApprovalSnapshotSchema as qg, WorkerGatewayToolResponseFrameSchema as qh, ChannelsPairingDismissResultSchema as qi, SessionsGoalClearParamsSchema as ql, ThemeDefinitionSchema as qm, DesktopLaunchParamsSchema as qn, StorageLocationsListParamsSchema as qo, BoardFocusTabCommandSchema as qp, CronListParamsSchema as qr, SessionMemberMutationResultSchema as qs, QuestionResolveParamsSchema as qt, MentionsListResultSchema as qu, PluginsSessionActionFailureResultSchema as qv, SessionLabelString as qw, SkillsDetailParamsSchema as qx, PersonalGitHubStatusSchema as qy, ToolCatalogGroupSchema as r, ModelsListResultSchema as rC, SkillsProposalInspectParamsSchema as rS, PendingSessionApprovalEventSchema as r_, TalkCatalogResultSchema as ra, UsersAuthConnectCatalogParamsSchema as rb, SessionSharingEventSchema as rc, ShutdownEventSchema as rd, WorkerSessionsSpawnParamsSchema as rf, WORKER_INFERENCE_METHODS as rg, UiCommandSchema as rh, CronScratchSetResultSchema as ri, SessionsFilesListResultSchema as rl, BoardTabCreateOpSchema as rm, PushTestResultSchema as rn, ArtifactSummarySchema as ro, TRANSCRIPTS_LEGACY_MAX_TEXT_LENGTH as rp, DevicePairRenameParamsSchema as rr, PROJECTS_LIST_MAX_IDENTITY_PROBES as rs, SessionsViewerPresenceSetResultSchema as rt, SessionsCreateParamsSchema as ru, PluginCatalogInstallActionSchema as rv, OutboundDeliveryQueuedErrorDetailsSchema as rw, UsersUnlinkChannelIdentityParamsSchema as rx, PluginInstallActivitySchema as ry, ToolsEffectiveEntrySchema as s, SecretStoreEntrySchema as sC, SkillsProposalRequestRevisionResultSchema as sS, SessionApprovalEventSchema as s_, TalkClientMutationResultSchema as sa, UsersAuthConnectStartResultSchema as sb, SessionVisibilitySetResultSchema as sc, WORKER_EXECUTION_AUTHORITY_PROTOCOL_FEATURE as sd, PresencePersonSchema as sf, WorkerInferenceCancelResponseFrameSchema as sg, UiSidebarCommandSchema as sh, SystemAgentChatHistoryResultSchema as si, SessionsFilesSetResultSchema as sl, BoardTabUpdateOpSchema as sm, WebPushNotificationPreferencesSchema as sn, ArtifactsGetResultSchema as so, TRANSCRIPTS_PAGE_DEFAULT as sp, DevicePairSetupCodeResultSchema as sr, ProjectRecentProjectSchema as ss, SessionDiscussionInfoParamsSchema as st, ChatAbortParamsSchema as su, PluginControlUiModuleSchema as sv, SkillProposalRevisionChangedErrorDetailsSchema as sw, McpAuthLoginParamsSchema as sx, PluginHookGrantSchema as sy, ToolAccessDiagnosticsSchema as t, ModelRuntimeChoiceSchema as tC, SkillsProposalEventsListParamsSchema as tS, isGitCoauthorCreditEnabled as tT, PaymentApprovalScopeSchema as t_, TalkAgentControlResultSchema as ta, UsersAuthConnectAnswerParamsSchema as tb, SessionPublicShareSetResultSchema as tc, RequestFrameSchema as td, WorkerSessionsSendParamsSchema as tf, WORKER_INFERENCE_MAX_CONTEXT_MESSAGES as tg, UiCommandParamsSchema as th, CronScratchSchema as ti, SessionsFilesGetResultSchema as tl, BoardSizeSchema as tm, QuestionWaitAnswerResultSchema as tn, AuditActivityToolActionV1Schema as to, SessionsListParamsSchema as tp, DevicePairRejectParamsSchema as tr, PROJECTS_LIST_DEFAULT_LIMIT as ts, SESSION_VIEWER_PRESENCE_MAX_KEYS as tt, SESSION_CREATE_IDEMPOTENCY_RETENTION_MS as tu, PluginCatalogClawHubInstallSchema as tv, McpAppViewExpiredErrorDetailsSchema as tw, UsersUnlinkAuthProfileParamsSchema as tx, PluginsUninstallParamsSchema as ty, ToolsEffectiveParamsSchema as u, SecretsReloadParamsSchema as uC, SkillsProposalsListParamsSchema as uS, SystemAgentApprovalPresentationSchema as u_, TalkClientToolCallResultSchema as ua, UsersGitHubAuthorizeCancelParamsSchema as ub, SESSIONS_FILES_ASSET_MAX_BYTES as uc, WORKER_LAUNCH_V2_PROTOCOL_FEATURE as ud, validatePresenceActivityParams as uf, WorkerInferenceOptionsSchema as ug, SKILL_LIBRARY_MAX_FILES as uh, SystemAgentChatQuestionSchema as ui, SessionsGroupsDefaultsParamsSchema as ul, BoardUpdateParamsSchema as um, WebPushSubscribeParamsSchema as un, AgentsWorkspaceEntrySchema as uo, TranscriptSessionSummarySchema as up, DevicePairSetupStatusParamsSchema as ur, ProjectRecordSchema as us, SessionDiscussionOpenParamsSchema as ut, ChatAttachmentsSchema as uu, PluginDiscoveryCategorySchema as uv, UserPrefsLimitExceededErrorDetailsSchema as uw, WizardNextParamsSchema as ux, PluginInstalledComponentsSchema as uy, WorktreesGcParamsSchema as v, SecretsStoreSetParamsSchema as vC, SkillsStatusParamsSchema as vS, TerminalDataEventSchema as v_, TalkSessionCancelOutputResultSchema as va, UsersGitHubStatusParamsSchema as vb, SessionFileBrowserEntrySchema as vc, WORKER_PROTOCOL_METHODS as vd, GatewaySuspendPrepareDrainingResultSchema as vf, WORKER_PROTOCOL_MAX_FRAME_ID_LENGTH as vg, SkillsLibraryMutateParamsSchema as vh, SystemAgentSetupDetectParamsSchema as vi, SessionsGroupsUpdateParamsSchema as vl, BoardWidgetHeightModeSchema as vm, NodeInvokeCancelEventSchema as vn, AgentsFilesGetResultSchema as vo, TranscriptsStatusParamsSchema as vp, ScopeUpgradeRejectedSchema as vr, ProjectsRemoveParamsSchema as vs, SessionMoveProfileTargetSchema as vt, ChatHistoryParamsSchema as vu, PluginSearchPackageSchema as vv, SessionEntryArchiveReasonSchema as vw, AgentOwnershipSchema as vx, ControlUiLinkReaderMetadataSchema as vy, WorktreesRemoveParamsSchema as w, EnvironmentsDestroyParamsSchema as wC, SkillsWorkshopReadResultSchema as wS, TerminalOpenResultSchema as w_, TalkSessionSubmitToolResultParamsSchema as wa, UsersLinkEmailParamsSchema as wb, SessionFileRelevanceSchema as wc, WorkerConnectRequestFrameSchema as wd, GatewaySuspendStatusDrainingResultSchema as wf, WORKER_TRANSCRIPT_MAX_JSON_DEPTH as wg, validateSkillsLibraryListParams as wh, SystemChangeKindSchema as wi, SessionsPluginPatchParamsSchema as wl, BoardWidgetPluginContentSchema as wm, NodeListParamsSchema as wn, AgentIdentityParamsSchema as wo, ProgressCardChangedEventSchema as wp, ExecApprovalGrantsListResultSchema as wr, SessionReactionEventSchema as ws, SessionPlacementRunnerSchema as wt, ChatMessageGetResultSchema as wu, PluginsCatalogCategoriesResultSchema as wv, SESSION_VISIBILITY_VALUES as ww, AgentsListParamsSchema as wx, SESSION_ICON_GLYPH_IDS as wy, WorktreesListResultSchema as x, EnvironmentSummarySchema as xC, SkillsUploadChunkParamsSchema as xS, TerminalInputParamsSchema as x_, TalkSessionCreateResultSchema as xa, UsersLinkAuthProfileResultSchema as xb, SessionFileEntrySchema as xc, WORKER_TRANSCRIPT_MAX_BATCH_MESSAGES as xd, GatewaySuspendPrepareResultSchema as xf, WORKER_PROVIDER_REPLAY_MAX_DATA_BYTES as xg, SkillsLibraryUploadParamsSchema as xh, SystemAgentSetupVerifyResultSchema as xi, SessionsMessagesUnsubscribeParamsSchema as xl, BoardWidgetMcpAppPutContentSchema as xm, NodeInvokeProgressParamsSchema as xn, AgentsFilesSetParamsSchema as xo, PROGRESS_CARD_MAX_STEPS as xp, ScopeUpgradeWaitSchema as xr, ProjectsSearchRemoteResultSchema as xs, SessionPlacementMachineSchema as xt, ChatInputConsumptionsSchema as xu, PluginsCatalogBrowseParamsSchema as xv, SessionPermissionModeSchema as xw, AgentsCreateResultSchema as xx, lazyCompile as xy, WorktreesGcResultSchema as y, DesktopAvailabilitySchema as yC, SkillsUpdateParamsSchema as yS, TerminalEventSchema as y_, TalkSessionCloseParamsSchema as ya, UsersGitHubStatusResultSchema as yb, SessionFileBrowserResultSchema as yc, WORKER_RPC_SET_VERSION as yd, GatewaySuspendPrepareParamsSchema as yf, WORKER_PROTOCOL_MAX_IDENTIFIER_LENGTH as yg, SkillsLibraryReadParamsSchema as yh, SystemAgentSetupDetectResultSchema as yi, SessionsGroupsUpdateResultSchema as yl, BoardWidgetHtmlContentSchema as ym, NodeInvokeInputEventSchema as yn, AgentsFilesListParamsSchema as yo, TranscriptsStatusResultSchema as yp, ScopeUpgradeRequestSchema as yr, ProjectsRemoveResultSchema as ys, SessionMoveTargetSchema as yt, ChatHistoryResetResultSchema as yu, PluginSearchResultEntrySchema as yv, SessionEventAncestorsSchema as yw, AgentSummarySchema as yx, PLUGIN_UI_CAPABILITIES as yy, SessionPortalOpenParamsSchema as z, WorkerDesktopObserveResultSchema as zC, ToolsGitHubConfigureParamsSchema as zS, SessionsCatalogArchiveResultSchema as z_, AuditRunInspectParamsSchema as za, UsersPersonalFileSetResultSchema as zb, SessionsBranchesSwitchResultSchema as zc, WorkerTranscriptCommitResponseFrameSchema as zd, UpdateHoldParamsSchema as zf, ApprovalGetResultSchema as zg, WorkerComputerResultSchema as zh, CommandsListParamsSchema as zi, SessionsPatchMutationSchema as zl, WIDGET_HTML_MAX_UTF8_BYTES as zm, NodeRenameParamsSchema as zn, PollParamsSchema as zo, BoardCanvasDocumentSourceSchema as zp, CronDeclarativeAddResultSchema as zr, SessionSuggestionsListResultSchema as zs, QuestionListParamsSchema as zt, MAX_HUMAN_MENTIONS as zu, PluginsListParamsSchema as zv, CHAT_SEND_SESSION_KEY_MAX_LENGTH as zw, ModelsAuthStatusParamsSchema as zx, SessionGitHubPublicationPublishingSchema as zy };
15818
+ //#region packages/gateway-protocol/src/schema/catalog.ts
15819
+ const CatalogKindSchema = Type.Union([Type.Literal("plugin"), Type.Literal("skill")]);
15820
+ const CatalogCursorSchema = Type.String({
15821
+ minLength: 1,
15822
+ maxLength: 4096
15823
+ });
15824
+ const CatalogPageSizeSchema = Type.Integer({
15825
+ minimum: 1,
15826
+ maximum: 100
15827
+ });
15828
+ const CatalogPluginEntrySchema = closedObject({
15829
+ kind: Type.Literal("plugin"),
15830
+ registry: NonEmptyString,
15831
+ ...PluginDiscoveryEntrySchema.properties
15832
+ });
15833
+ const CatalogSkillEntrySchema = closedObject({
15834
+ kind: Type.Literal("skill"),
15835
+ registry: NonEmptyString,
15836
+ id: NonEmptyString,
15837
+ installRef: NonEmptyString,
15838
+ slug: NonEmptyString,
15839
+ ownerHandle: Type.Optional(Type.Union([NonEmptyString, Type.Null()])),
15840
+ installOnly: Type.Optional(Type.Literal(true)),
15841
+ trustState: Type.Optional(Type.Literal("not-scanned-by-clawhub")),
15842
+ catalog: PluginDiscoveryCatalogFactsSchema,
15843
+ local: closedObject({
15844
+ agentId: NonEmptyString,
15845
+ installed: Type.Boolean(),
15846
+ enabled: Type.Boolean(),
15847
+ eligible: Type.Boolean(),
15848
+ skillKey: Type.Optional(NonEmptyString)
15849
+ })
15850
+ });
15851
+ const CatalogEntrySchema = Type.Union([CatalogPluginEntrySchema, CatalogSkillEntrySchema]);
15852
+ const CatalogBrowseParamsSchema = closedObject({
15853
+ kind: CatalogKindSchema,
15854
+ query: Type.Optional(Type.String({ maxLength: 200 })),
15855
+ feed: Type.Optional(Type.Union([Type.Literal("catalog"), Type.Literal("trending")])),
15856
+ officialOnly: Type.Optional(Type.Boolean()),
15857
+ pageSize: Type.Optional(CatalogPageSizeSchema),
15858
+ cursor: Type.Optional(CatalogCursorSchema),
15859
+ agentId: Type.Optional(NonEmptyString)
15860
+ });
15861
+ const CatalogBrowseResultSchema = closedObject({
15862
+ items: Type.Array(CatalogEntrySchema),
15863
+ mode: Type.Union([
15864
+ Type.Literal("catalog"),
15865
+ Type.Literal("trending"),
15866
+ Type.Literal("search")
15867
+ ]),
15868
+ nextCursor: Type.Optional(CatalogCursorSchema),
15869
+ searchLimit: Type.Optional(Type.Integer({ minimum: 1 })),
15870
+ remoteError: Type.Optional(Type.String())
15871
+ });
15872
+ const CatalogSearchKeywordsParamsSchema = closedObject({
15873
+ keywords: Type.Array(Type.String({
15874
+ minLength: 1,
15875
+ maxLength: 200,
15876
+ pattern: "\\S"
15877
+ }), {
15878
+ minItems: 1,
15879
+ maxItems: 100
15880
+ }),
15881
+ kinds: Type.Optional(Type.Array(CatalogKindSchema, {
15882
+ minItems: 1,
15883
+ maxItems: 2,
15884
+ uniqueItems: true
15885
+ })),
15886
+ pageSize: Type.Optional(CatalogPageSizeSchema),
15887
+ cursor: Type.Optional(CatalogCursorSchema),
15888
+ agentId: Type.Optional(NonEmptyString)
15889
+ });
15890
+ const CatalogSearchKeywordsResultSchema = closedObject({
15891
+ items: Type.Array(CatalogEntrySchema),
15892
+ keywords: Type.Array(NonEmptyString),
15893
+ searchLimit: Type.Integer({ minimum: 1 }),
15894
+ nextCursor: Type.Optional(CatalogCursorSchema),
15895
+ errors: Type.Array(closedObject({
15896
+ kind: CatalogKindSchema,
15897
+ query: NonEmptyString,
15898
+ message: Type.String()
15899
+ }))
15900
+ });
15901
+ //#endregion
15902
+ export { TaskSuggestionsAcceptParamsSchema as $, GatewayErrorDetailsSchema as $C, ModelRuntimeChoiceSchema as $S, SessionsCatalogArchiveParamsSchema as $_, AuditRunIdentityUnknownV1Schema as $a, UsersPersonalFileSetParamsSchema as $b, SessionsBranchesListParamsSchema as $c, WorkerRuntimeContextFragmentsSchema as $d, ConfigSchemaLookupParamsSchema as $f, ApprovalGetParamsSchema as $g, WorkerComputerResponseFrameSchema as $h, COMMAND_LIST_MAX_ITEMS as $i, SessionsPatchManyParamsSchema as $l, BoardWidgetResizeOpSchema as $m, NodePresenceActivityPayloadSchema as $n, ConversationTurnReplySchema as $o, ProgressCardStepStatusSchema as $p, CronAddJobResultSchema as $r, SessionSuggestionsAddParamsSchema as $s, QuestionAnswersSchema as $t, projectChatErrorDetail as $u, PluginsInstallResultSchema as $v, isGitCoauthorCreditEnabled as $w, ModelsAuthSetApiKeyResultSchema as $x, SessionGitHubPublicationPublishedSchema as $y, WorktreesRecoverRemovalParamsSchema as A, EnvironmentsStatusParamsSchema as AC, ToolsGitHubAuthorizeCancelParamsSchema as AS, TerminalAttachParamsSchema as A_, TalkConfigResultSchema as Aa, UsersGitHubAuthorizeStartResultSchema as Ab, SessionCompanionExchangeSchema as Ac, WORKER_LOCAL_INFERENCE_PROTOCOL_FEATURE as Ad, validatePresenceActivityParams as Af, validateWorkerInferenceStartParams as Ag, SKILL_LIBRARY_MAX_FILES as Ah, SystemAgentSetupActivateResultSchema as Ai, SessionsGroupsListParamsSchema as Al, BoardUpdateParamsSchema as Am, WebPushVapidPublicKeyParamsSchema as An, AgentsWorkspaceGetResultSchema as Ao, TranscriptSessionSummarySchema as Ap, DeviceTokenRotateParamsSchema as Ar, ProjectsAddResultSchema as As, SessionMoveDeviceTargetSchema as At, ChatEventSchema as Au, PluginReloadTargetSchema as Av, SESSION_EXPANDED_PARTICIPANT_LIMIT as Aw, WizardStatusResultSchema as Ax, PluginsCredentialsInspectResultSchema as Ay, PortalListParamsSchema as B, WorkerEnvironmentMetadataSchema as BC, ToolsGitHubAuthorizeStartParamsSchema as BS, TerminalResizeParamsSchema as B_, TalkSessionSteerParamsSchema as Ba, UsersLinkEmailResultSchema as Bb, SessionFilePreviewKindSchema as Bc, WorkerAdmissionHandshakeSchema as Bd, GatewaySuspendPrepareReadyResultSchema as Bf, WorkerAdmissionFailureReasonSchema as Bg, SkillsLibrarySaveParamsSchema as Bh, SystemChangeEntrySchema as Bi, SessionsObserverVisibilityResultSchema as Bl, BoardWidgetMcpAppContentSchema as Bm, NodeInvokeResultParamsSchema as Bn, AgentEventSchema as Bo, TranscriptsSummarizeParamsSchema as Bp, ExecApprovalGrantsListParamsSchema as Br, MessageReactionSummarySchema as Bs, SessionPlacementProtocolSchemas as Bt, ChatMessageGetParamsSchema as Bu, PluginsCatalogGetParamsSchema as Bv, GatewayClientModeSchema as Bw, AgentsListResultSchema as Bx, SESSION_ICON_SVG_DATA_URL_PREFIX as By, WorktreesBranchesParamsSchema as C, EnvironmentsCreateResultSchema as CC, SkillsWorkshopChangesResultSchema as CS, SessionApprovalReplaySchema as C_, TalkClientCreateResultSchema as Ca, UsersAuthConnectStatusParamsSchema as Cb, SessionVisibilitySetParamsSchema as Cc, WORKER_BUNDLE_PREWARM_VERSION as Cd, WorkerSessionsSpawnParamsSchema as Cf, WorkerInferenceImageContentSchema as Cg, UiCommandSchema as Ch, SystemAgentChatHistoryParamsSchema as Ci, SessionsFilesSetParamsSchema as Cl, BoardTabCreateOpSchema as Cm, WebPushNotificationCategorySchema as Cn, ArtifactsGetParamsSchema as Co, TRANSCRIPTS_LEGACY_MAX_TEXT_LENGTH as Cp, DevicePairSetupCodeParamsSchema as Cr, ProjectRecentFolderSchema as Cs, SessionsProcessesStopResultSchema as Ct, AgentActivityItemSchema as Cu, PluginDeclaredSurfaceWideningSchema as Cv, SessionSharingRoleSchema as Cw, WizardAnswerSchema as Cx, PluginInspectSourceSchema as Cy, WorktreesGcResultSchema as D, EnvironmentsListResultSchema as DC, SkillsWorkshopReadResultSchema as DS, TerminalSessionApprovalEventSchema as D_, TalkClientToolCallResultSchema as Da, UsersGitHubAuthorizePollParamsSchema as Db, SESSIONS_FILES_ASSET_MAX_BYTES as Dc, WORKER_LAUNCH_V2_PROTOCOL_FEATURE as Dd, PresencePersonSchema as Df, WorkerInferenceStartResponseFrameSchema as Dg, UiSidebarCommandSchema as Dh, SystemAgentChatQuestionSchema as Di, SessionsGroupsDefaultsParamsSchema as Dl, BoardTabUpdateOpSchema as Dm, WebPushSubscribeParamsSchema as Dn, AgentsWorkspaceEntrySchema as Do, TRANSCRIPTS_PAGE_DEFAULT as Dp, DevicePairSetupStatusParamsSchema as Dr, ProjectRecordSchema as Ds, SessionDiscussionOpenParamsSchema as Dt, ChatAttachmentsSchema as Du, PluginDiscoveryEntrySchema as Dv, SessionActivitySummarySchema as Dw, WizardStartParamsSchema as Dx, PluginCredentialDescriptorSchema as Dy, WorktreesGcParamsSchema as E, EnvironmentsListParamsSchema as EC, SkillsWorkshopReadParamsSchema as ES, TerminalApprovalSnapshotSchema as E_, TalkClientToolCallParamsSchema as Ea, UsersGitHubAuthorizeCancelResultSchema as Eb, SESSIONS_FILES_ASSETS_MAX_TOTAL_BYTES as Ec, WORKER_HEARTBEAT_INTERVAL_MS as Ed, PresenceLocationSchema as Ef, WorkerInferenceStartRequestFrameSchema as Eg, UiPanelCommandSchema as Eh, SystemAgentChatParamsSchema as Ei, SessionsForkResultSchema as El, BoardTabSchema as Em, WebPushPreferencesSetParamsSchema as En, ArtifactsListResultSchema as Eo, TRANSCRIPTS_LIST_MAX as Ep, DevicePairSetupDeliveryUncertainEventSchema as Er, ProjectRecentSchema as Es, SessionDiscussionInfoSchema as Et, ChatAttachmentSchema as Eu, PluginDiscoveryDetailSchema as Ev, SessionsProviderReviewContinueParamsSchema as Ew, WizardNextResultSchema as Ex, PluginOperatorGrantsSchema as Ey, WorktreesRetireSnapshotParamsSchema as F, WorkerDesktopAppIdSchema as FC, ToolsGitHubAuthorizeNetworkErrorResultSchema as FS, TerminalExitEventSchema as F_, TalkSessionCancelOutputResultSchema as Fa, UsersLinkAuthProfileParamsSchema as Fb, SessionFileBrowserEntrySchema as Fc, WORKER_PROTOCOL_MAX_METHOD_LENGTH as Fd, GatewaySuspendHandoffParamsSchema as Ff, WORKER_PROTOCOL_MAX_PAYLOAD_BYTES as Fg, SkillsLibraryActivateParamsSchema as Fh, SystemAgentSetupDetectParamsSchema as Fi, SessionsGroupsUpdateParamsSchema as Fl, BoardWidgetDeclaredSchema as Fm, NodeInvokeCancelEventSchema as Fn, AgentsFilesGetResultSchema as Fo, TranscriptsGetResultSchema as Fp, ScopeUpgradeRejectedSchema as Fr, ProjectsRemoveParamsSchema as Fs, SessionMoveProfileTargetSchema as Ft, ChatHistoryParamsSchema as Fu, PluginUiCapabilitySchema as Fv, SessionClassificationSchema as Fw, AgentsCreateParamsSchema as Fx, validatePluginUiCapabilities as Fy, SessionPortalCloseParamsSchema as G, WorkerOperatingSystemSchema as GC, ToolsGitHubManagedConfigureParamsSchema as GS, SessionCatalogDescriptorSchema as G_, TtsSpeakResultSchema as Ga, UsersListModelAccountsParamsSchema as Gb, SessionObserverDigestSchema as Gc, WorkerHeartbeatResponseFrameSchema as Gd, GatewaySuspendStatusParamsSchema as Gf, AllowedApprovalSnapshotSchema as Gg, validateSkillsLibraryMutateParams as Gh, COMMAND_ALIAS_MAX_ITEMS as Gi, SessionsRewindParamsSchema as Gl, BoardWidgetPluginKindSchema as Gm, NodePairRemoveParamsSchema as Gn, ConversationListItemSchema as Go, ProgressCardGetParamsSchema as Gp, ExecApprovalResolveParamsSchema as Gr, SessionReactionsSetParamsSchema as Gs, SessionsDispatchParamsSchema as Gt, ChatSendIntentSchema as Gu, PluginsControlUiListParamsSchema as Gv, SessionLabelString as Gw, GitHubIdentityFactsSchema as Gx, GitHubPublicationPublisherSchema as Gy, PortalOpenParamsSchema as H, WorkerExecutionModeSchema as HC, ToolsGitHubAuthorizeSuccessResultSchema as HS, TerminalUploadParamsSchema as H_, TalkSpeakParamsSchema as Ha, UsersListAuthLinksResultSchema as Hb, SessionGroupDefaultsSchema as Hc, WorkerConnectRequestFrameSchema as Hd, GatewaySuspendResumeParamsSchema as Hf, WorkerProviderReplayStateSchema as Hg, validateSkillsLibraryActivateParams as Hh, SystemChangeSourceSchema as Hi, SessionsPluginPatchResultSchema as Hl, BoardWidgetMoveOpSchema as Hm, NodePairApproveParamsSchema as Hn, AgentIdentityResultSchema as Ho, PROGRESS_CARD_MAX_STEP_UTF8_BYTES as Hp, ExecApprovalGrantsRevokeParamsSchema as Hr, SessionReactionMirrorSchema as Hs, SessionPlacementSchema as Ht, ChatMetadataParamsSchema as Hu, PluginsChangedEventSchema as Hv, NonEmptyString as Hw, AgentsUpdateResultSchema as Hx, normalizeSessionColorValue as Hy, WorktreesRetireSnapshotResultSchema as I, WorkerDesktopLaunchParamsSchema as IC, ToolsGitHubAuthorizePendingResultSchema as IS, TerminalInputParamsSchema as I_, TalkSessionCloseParamsSchema as Ia, UsersLinkAuthProfileResultSchema as Ib, SessionFileBrowserResultSchema as Ic, WORKER_PROTOCOL_METHODS as Id, GatewaySuspendHandoffResultSchema as If, WORKER_PROVIDER_REPLAY_MAX_DATA_BYTES as Ig, SkillsLibraryImportParamsSchema as Ih, SystemAgentSetupDetectResultSchema as Ii, SessionsGroupsUpdateResultSchema as Il, BoardWidgetGeneratedIdentitySchema as Im, NodeInvokeInputEventSchema as In, AgentsFilesListParamsSchema as Io, TranscriptsListParamsSchema as Ip, ScopeUpgradeRequestSchema as Ir, ProjectsRemoveResultSchema as Is, SessionMoveTargetSchema as It, ChatHistoryResetResultSchema as Iu, PluginsCatalogBrowseParamsSchema as Iv, SessionPeerKindSchema as Iw, AgentsCreateResultSchema as Ix, lazyCompile as Iy, PluginApprovalRequestParamsSchema as J, EnvironmentsSessionExecParamsSchema as JC, ToolsInvokeErrorSchema as JS, SessionCatalogPullRequestSummarySchema as J_, AuditEventSchema as Ja, UsersListResultSchema as Jb, SessionOperationEventSchema as Jc, WorkerLiveEventParamsSchema as Jd, GatewaySuspendStatusRunningResultSchema as Jf, ApprovalCancelledReasonSchema as Jg, validateSkillsLibraryUploadParams as Jh, COMMAND_ARG_DESCRIPTION_MAX_LENGTH as Ji, SessionsUsageParamsSchema as Jl, BoardWidgetPutContentSchema as Jm, NodePendingDrainResultSchema as Jn, ConversationSendParamsSchema as Jo, ProgressCardPutResultSchema as Jp, ExecApprovalsNodeGetParamsSchema as Jr, SessionSuggestionActionSchema as Js, SessionsMoveResultSchema as Jt, ChatStatusEventSchema as Ju, PluginsControlUiStatusParamsSchema as Jv, GATEWAY_OWNER_PROFILE_ID as Jw, GitHubSelectedIdentitySchema as Jx, SessionGitHubConfirmParamsSchema as Jy, SessionPortalListParamsSchema as K, WorkerSlotSummarySchema as KC, ToolsGitHubStatusParamsSchema as KS, SessionCatalogHostSchema as K_, WebLoginStartParamsSchema as Ka, UsersListModelAccountsResultSchema as Kb, SessionObserverHealthSchema as Kc, WorkerLiveEventErrorDetailsSchema as Kd, GatewaySuspendStatusReadyResultSchema as Kf, ApprovalAllowDecisionSchema as Kg, validateSkillsLibraryReadParams as Kh, COMMAND_ARGS_MAX_ITEMS as Ki, SessionsRewindResultSchema as Kl, BoardWidgetPluginPropsSchema as Km, NodePendingAckParamsSchema as Kn, ConversationListParamsSchema as Ko, ProgressCardGetResultSchema as Kp, ExecApprovalStandingGrantSchema as Kr, SessionReactionsSetResultSchema as Ks, SessionsDispatchResultSchema as Kt, ChatSendParamsSchema as Ku, PluginsControlUiReloadParamsSchema as Kv, Sha256String as Kw, GitHubIdentityScopeSchema as Kx, GitHubPublicationSelectionSchema as Ky, PortalChangedEventSchema as L, WorkerDesktopLaunchResultSchema as LC, ToolsGitHubAuthorizePollParamsSchema as LS, TerminalListResultSchema as L_, TalkSessionCreateParamsSchema as La, UsersLinkChannelIdentityParamsSchema as Lb, SessionFileContentEncodingSchema as Lc, WORKER_RPC_SET_VERSION as Ld, GatewaySuspendPrepareBusyResultSchema as Lf, WORKER_PUBLIC_INGRESS_PATH as Lg, SkillsLibraryListParamsSchema as Lh, SystemAgentSetupVerifyParamsSchema as Li, SessionsMessagesSubscribeParamsSchema as Ll, BoardWidgetGrantParamsSchema as Lm, NodeInvokeParamsSchema as Ln, AgentsFilesListResultSchema as Lo, TranscriptsListResultSchema as Lp, ScopeUpgradeResultSchema as Lr, ProjectsSearchRemoteParamsSchema as Ls, SessionPlacementDiskSpaceSchema as Lt, ChatInjectParamsSchema as Lu, PluginsCatalogBrowseResultSchema as Lv, CHAT_SEND_SESSION_KEY_MAX_LENGTH as Lw, AgentsDeleteParamsSchema as Lx, SESSION_AGENT_ATTENTION_ICON_IDS as Ly, WorktreesRemoveParamsSchema as M, RequiredNodeCommandSchema as MC, ToolsGitHubAuthorizeExpiredResultSchema as MS, TerminalCloseParamsSchema as M_, TalkModeParamsSchema as Ma, UsersGitHubDisconnectResultSchema as Mb, SessionDiffFileSchema as Mc, WORKER_PROTOCOL_FEATURES as Md, SnapshotSchema as Mf, validateWorkerInferenceTerminalOutcome as Mg, SKILL_LIBRARY_MAX_SELECTIONS as Mh, SystemAgentSetupActivateStartResultSchema as Mi, SessionsGroupsMutationResultSchema as Ml, BoardWidgetAppViewParamsSchema as Mm, NodeEventParamsSchema as Mn, AgentsWorkspaceListResultSchema as Mo, TranscriptsExportParamsSchema as Mp, ScopeUpgradeApprovedSchema as Mr, ProjectsListResultSchema as Ms, SessionMoveGatewayTargetSchema as Mt, ChatHistoryActivitySchema as Mu, PluginRuntimeStatusSchema as Mv, SessionParticipantIdentitySchema as Mw, AgentKindSchema as Mx, ControlUiLinkReaderDescriptorSchema as My, WorktreesRemoveResultSchema as N, RequiredNodeCommandStateSchema as NC, ToolsGitHubAuthorizeFailedResultSchema as NS, TerminalDataEventSchema as N_, TalkSessionAppendAudioParamsSchema as Na, UsersGitHubStatusParamsSchema as Nb, SessionDiffFileStatusSchema as Nc, WORKER_PROTOCOL_MAX_FEATURES as Nd, StateVersionSchema as Nf, WORKER_PROTOCOL_MAX_FRAME_ID_LENGTH as Ng, SkillLibraryFileSchema as Nh, SystemAgentSetupAuthStartParamsSchema as Ni, SessionsGroupsPutParamsSchema as Nl, BoardWidgetAppViewResultSchema as Nm, NodeEventResultSchema as Nn, AgentsFileEntrySchema as No, TranscriptsExportResultSchema as Np, ScopeUpgradeExpiredSchema as Nr, ProjectsRegisterParamsSchema as Ns, SessionMovePlacementSchema as Nt, ChatHistoryCursorResultSchema as Nu, PluginSearchPackageSchema as Nv, SessionParticipantSchema as Nw, AgentOwnershipSchema as Nx, ControlUiLinkReaderMetadataSchema as Ny, WorktreesListParamsSchema as O, EnvironmentsPrepareParamsSchema as OC, SkillsWorkshopRestoreParamsSchema as OS, isWellFormedApprovalId as O_, TalkClientTranscriptParamsSchema as Oa, UsersGitHubAuthorizePollResultSchema as Ob, SESSION_OBSERVER_HEALTH_VALUES as Oc, WORKER_LINEAGE_START_PROTOCOL_FEATURE as Od, PresenceQueryParamsSchema as Of, validateWorkerInferenceCancelParams as Og, UiSplitCommandSchema as Oh, SystemAgentChatResultSchema as Oi, SessionsGroupsDefaultsResultSchema as Ol, BoardTabsReorderOpSchema as Om, WebPushTestParamsSchema as On, AgentsWorkspaceFileSchema as Oo, TRANSCRIPTS_PAGE_MAX as Op, DevicePairSetupStatusResultSchema as Or, ProjectSummarySchema as Os, SessionDiscussionOpenResultSchema as Ot, ChatDeltaEventSchema as Ou, PluginDiscoveryLocalFactsSchema as Ov, SessionsActivitySummaryEnsureParamsSchema as Ow, WizardStartResultSchema as Ox, PluginCredentialInspectionSchema as Oy, WorktreesRestoreParamsSchema as P, RuntimeTargetIssueSchema as PC, ToolsGitHubAuthorizeIncorrectDeviceCodeResultSchema as PS, TerminalEventSchema as P_, TalkSessionCancelOutputParamsSchema as Pa, UsersGitHubStatusResultSchema as Pb, SessionDiffScopeSchema as Pc, WORKER_PROTOCOL_MAX_FEATURE_LENGTH as Pd, GatewaySuspendBlockerSchema as Pf, WORKER_PROTOCOL_MAX_IDENTIFIER_LENGTH as Pg, SkillLibrarySelectionSchema as Ph, SystemAgentSetupAuthStartResultSchema as Pi, SessionsGroupsRenameParamsSchema as Pl, BoardWidgetContentSchema as Pm, NodeHostStatsPayloadSchema as Pn, AgentsFilesGetParamsSchema as Po, TranscriptsGetParamsSchema as Pp, ScopeUpgradeRegistrationSchema as Pr, ProjectsRegisterResultSchema as Ps, SessionMovePlacementStateSchema as Pt, ChatHistoryDeltaResultSchema as Pu, PluginSearchResultEntrySchema as Pv, SessionPersonSchema as Pw, AgentSummarySchema as Px, PLUGIN_UI_CAPABILITIES as Py, TaskSuggestionSchema as Q, CronJobNotFoundErrorDetailsSchema as QC, ModelChoiceSchema as QS, SessionCatalogTranscriptItemSchema as Q_, AuditRunIdentityPresentV1Schema as Qa, UsersPersonalFileGetResultSchema as Qb, SessionsAssignOwnerResultSchema as Qc, WorkerLiveEventSchema as Qd, ConfigPatchParamsSchema as Qf, ApprovalExpiredReasonSchema as Qg, WorkerComputerParamsSchema as Qh, COMMAND_DESCRIPTION_MAX_LENGTH as Qi, SESSIONS_PATCH_MANY_MAX_TARGETS as Ql, BoardWidgetRemoveOpSchema as Qm, NodePluginToolsUpdateParamsSchema as Qn, ConversationTurnParamsSchema as Qo, ProgressCardStepSchema as Qp, ExecApprovalsSnapshotSchema as Qr, SessionSuggestionStateSchema as Qs, isCloudWorkerPlacementState as Qt, LogsTailResultSchema as Qu, PluginsInstallParamsSchema as Qv, USER_PREFS_VALUE_BYTES as Qw, ModelsAuthSetApiKeyParamsSchema as Qx, SessionGitHubPublicationNeedsConfirmationSchema as Qy, PortalCloseParamsSchema as R, WorkerDesktopObserveParamsSchema as RC, ToolsGitHubAuthorizePollResultSchema as RS, TerminalOpenParamsSchema as R_, TalkSessionCreateResultSchema as Ra, UsersLinkChannelIdentityResultSchema as Rb, SessionFileEntrySchema as Rc, WORKER_TRANSCRIPT_COMMIT_PROTOCOL_FEATURE as Rd, GatewaySuspendPrepareDrainingResultSchema as Rf, WORKER_TRANSCRIPT_MAX_CONTENT_PARTS as Rg, SkillsLibraryMutateParamsSchema as Rh, SystemAgentSetupVerifyResultSchema as Ri, SessionsMessagesUnsubscribeParamsSchema as Rl, BoardWidgetHeightModeSchema as Rm, NodeInvokeProgressParamsSchema as Rn, AgentsFilesSetParamsSchema as Ro, TranscriptsStatusParamsSchema as Rp, ScopeUpgradeWaitSchema as Rr, ProjectsSearchRemoteResultSchema as Rs, SessionPlacementMachineSchema as Rt, ChatInputConsumptionsSchema as Ru, PluginsCatalogCategoriesParamsSchema as Rv, ChatSendSessionKeyString as Rw, AgentsDeleteResultSchema as Rx, SESSION_COLOR_IDS as Ry, WorktreeRepositoryStatusSchema as S, EnvironmentsCreateParamsSchema as SC, SkillsWorkshopChangesParamsSchema as SS, SessionApprovalEventSchema as S_, TalkClientCreateParamsSchema as Sa, UsersAuthConnectStartResultSchema as Sb, SessionSharingIdentitySchema as Sc, NODE_WORKER_IDLE_RETENTION_PROTOCOL_FEATURE as Sd, WorkerSessionsSendResponseFrameSchema as Sf, WorkerInferenceCancelResponseFrameSchema as Sg, UiCommandResultSchema as Sh, CronUpdateParamsSchema as Si, SessionsFilesRevealResultSchema as Sl, BoardSnapshotSchema as Sm, WebPushDevicePreferencesSchema as Sn, ArtifactsDownloadResultSchema as So, TRANSCRIPTS_EXPORT_MAX_BYTES as Sp, DevicePairResolvedEventSchema as Sr, ProjectDefaultRepositorySchema as Ss, SessionsProcessesStopParamsSchema as St, SessionsRecoverResultSchema as Su, PluginControlUiModuleSchema as Sv, SESSION_VISIBILITY_VALUES as Sw, McpAuthLoginParamsSchema as Sx, PluginHookGrantSchema as Sy, WorktreesCreateParamsSchema as T, EnvironmentsDestroyResultSchema as TC, SkillsWorkshopListResultSchema as TS, SystemAgentApprovalPresentationSchema as T_, TalkClientSteerParamsSchema as Ta, UsersGitHubAuthorizeCancelParamsSchema as Tb, SESSIONS_FILES_ASSETS_MAX_REFS as Tc, WORKER_EXECUTION_CONTEXT_PROTOCOL_FEATURE as Td, PresenceDeviceSchema as Tf, WorkerInferenceOptionsSchema as Tg, UiNavigateCommandSchema as Th, SystemAgentChatHistoryTurnSchema as Ti, SessionsForkParamsSchema as Tl, BoardTabIdSchema as Tm, WebPushPreferencesGetParamsSchema as Tn, ArtifactsListParamsSchema as To, TRANSCRIPTS_LEGACY_RESULT_MAX_BYTES as Tp, DevicePairSetupCompletedEventSchema as Tr, ProjectRecentRepositorySchema as Ts, SessionDiscussionInfoResultSchema as Tt, ChatAbortedEventSchema as Tu, PluginDiscoveryCategorySchema as Tv, SessionProviderReviewProjectionSchema as Tw, WizardNextParamsSchema as Tx, PluginInstalledComponentsSchema as Ty, PortalOpenResultSchema as U, WorkerMachineOptionSchema as UC, ToolsGitHubConfigureParamsSchema as US, TerminalUploadResultSchema as U_, TalkSpeakResultSchema as Ua, UsersListChannelIdentitiesParamsSchema as Ub, SessionGroupSchema as Uc, WorkerHeartbeatParamsSchema as Ud, GatewaySuspendResumeResultSchema as Uf, checkWorkerProtocolJson as Ug, validateSkillsLibraryImportParams as Uh, SystemChangesListParamsSchema as Ui, SessionsPreviewParamsSchema as Ul, BoardWidgetNameSchema as Um, NodePairListParamsSchema as Un, AgentParamsSchema as Uo, PROGRESS_CARD_MAX_UTF8_BYTES as Up, ExecApprovalGrantsRevokeResultSchema as Ur, SessionReactionsListParamsSchema as Us, SessionPlacementStateSchema as Ut, ChatPendingInputsPageSchema as Uu, PluginsControlUiCatalogSchema as Uv, SecretInputSchema as Uw, AuthProbeStatusSchema as Ux, normalizeSessionIconValue as Uy, PortalListResultSchema as V, WorkerEnvironmentStateSchema as VC, ToolsGitHubAuthorizeStartResultSchema as VS, TerminalSessionInfoSchema as V_, TalkSessionSubmitToolResultParamsSchema as Va, UsersListAuthLinksParamsSchema as Vb, SessionFileRelevanceSchema as Vc, WorkerAdmissionResponseFrameSchema as Vd, GatewaySuspendPrepareResultSchema as Vf, WorkerProtocolCloseReasonSchema as Vg, SkillsLibraryUploadParamsSchema as Vh, SystemChangeKindSchema as Vi, SessionsPluginPatchParamsSchema as Vl, BoardWidgetMcpAppPutContentSchema as Vm, NodeListParamsSchema as Vn, AgentIdentityParamsSchema as Vo, PROGRESS_CARD_MAX_STEPS as Vp, ExecApprovalGrantsListResultSchema as Vr, SessionReactionEventSchema as Vs, SessionPlacementRunnerSchema as Vt, ChatMessageGetResultSchema as Vu, PluginsCatalogGetResultSchema as Vv, InputProvenanceSchema as Vw, AgentsUpdateParamsSchema as Vx, SESSION_ICON_SVG_MAX_BYTES as Vy, PortalSummarySchema as W, WorkerMachineOptionsSchema as WC, ToolsGitHubInheritConfigureParamsSchema as WS, SessionCatalogCapabilitiesSchema as W_, TtsSpeakParamsSchema as Wa, UsersListChannelIdentitiesResultSchema as Wb, SessionNarrationEventSchema as Wc, WorkerHeartbeatRequestFrameSchema as Wd, GatewaySuspendStatusDrainingResultSchema as Wf, formatValidationErrors as Wg, validateSkillsLibraryListParams as Wh, SystemChangesListResultSchema as Wi, SessionsResetParamsSchema as Wl, BoardWidgetPluginContentSchema as Wm, NodePairRejectParamsSchema as Wn, AgentWaitParamsSchema as Wo, ProgressCardChangedEventSchema as Wp, ExecApprovalRequestParamsSchema as Wr, SessionReactionsListResultSchema as Ws, SessionPlacementWorkerRuntimeInstallSchema as Wt, ChatRunStartupPhaseSchema as Wu, PluginsControlUiChangedEventSchema as Wv, SecretRefSchema as Ww, GitHubAuthorSchema as Wx, GitHubPublicationBodySchema as Wy, TaskSuggestionEventSchema as X, EnvironmentsSessionDestroyParamsSchema as XC, ToolsInvokeResultSchema as XS, SessionCatalogSessionSchema as X_, AuditListResultSchema as Xa, UsersMergeResultSchema as Xb, SessionsAbortParamsSchema as Xc, WorkerLiveEventResponseFrameSchema as Xd, ConfigApplyParamsSchema as Xf, ApprovalDecisionSchema as Xg, ComputerStatusParamsSchema as Xh, COMMAND_CHOICE_LABEL_MAX_LENGTH as Xi, SessionsSearchParamsSchema as Xl, BoardWidgetPutResultSchema as Xm, NodePendingEnqueueResultSchema as Xn, ConversationTurnCancelParamsSchema as Xo, ProgressCardRefreshResultSchema as Xp, ExecApprovalsNodeSnapshotSchema as Xr, SessionSuggestionResolutionSchema as Xs, SessionsReclaimResultPlacementSchema as Xt, ChatToolTitlesResultSchema as Xu, PluginsInspectParamsSchema as Xv, USER_PREFS_ENTRY_LIMIT as Xw, ModelsAuthOrderSetParamsSchema as Xx, SessionGitHubOptionsResultSchema as Xy, PluginApprovalResolveParamsSchema as Y, EnvironmentsSessionCreateParamsSchema as YC, ToolsInvokeParamsSchema as YS, SessionCatalogSchema as Y_, AuditListParamsSchema as Ya, UsersMergeParamsSchema as Yb, SessionWorktreeInfoSchema as Yc, WorkerLiveEventRequestFrameSchema as Yd, GatewaySuspensionSchema as Yf, ApprovalChannelReviewerSchema as Yg, ComputerInvokeParamsSchema as Yh, COMMAND_ARG_NAME_MAX_LENGTH as Yi, SessionsSearchHitSchema as Yl, BoardWidgetPutParamsSchema as Ym, NodePendingEnqueueParamsSchema as Yn, ConversationSendResultSchema as Yo, ProgressCardRefreshParamsSchema as Yp, ExecApprovalsNodeSetParamsSchema as Yr, SessionSuggestionEventSchema as Ys, SessionsReclaimParamsSchema as Yt, ChatToolTitlesParamsSchema as Yu, PluginsControlUiStatusResultSchema as Yv, GIT_COAUTHOR_PREFERENCE_KEY as Yw, ModelsAuthLogoutParamsSchema as Yx, SessionGitHubOptionsParamsSchema as Yy, TaskSuggestionResolutionSchema as Z, EnvironmentsSessionStatusParamsSchema as ZC, ModelCatalogProviderOutcomeSchema as ZS, SessionCatalogShareRouteSchema as Z_, AuditRunIdentityAmbiguousV1Schema as Za, UsersPersonalFileGetParamsSchema as Zb, SessionsAssignOwnerParamsSchema as Zc, WorkerLiveEventResultSchema as Zd, ConfigGetParamsSchema as Zf, ApprovalDeniedReasonSchema as Zg, WORKER_COMPUTER_PROTOCOL_FEATURE as Zh, COMMAND_CHOICE_VALUE_MAX_LENGTH as Zi, SessionsSearchResultSchema as Zl, BoardWidgetRegisteredContentSchema as Zm, NodePluginToolDescriptorSchema as Zn, ConversationTurnCancelResultSchema as Zo, ProgressCardSchema as Zp, ExecApprovalsSetParamsSchema as Zr, SessionSuggestionSchema as Zs, SessionsReclaimResultSchema as Zt, LogsTailParamsSchema as Zu, PluginsInspectResultSchema as Zv, USER_PREFS_PROFILE_KEY_LIMIT as Zw, ModelsAuthRefreshParamsSchema as Zx, SessionGitHubPublicationFailedSchema as Zy, ToolsEffectiveNoticeSchema as _, SecretsStoreMutationResultSchema as _C, SkillsUploadBeginParamsSchema as _S, PendingApprovalSnapshotSchema as __, ChannelsStopParamsSchema as _a, UsersAuthConnectCancelParamsSchema as _b, SessionPublicShareSetParamsSchema as _c, HelloOkSchema as _d, WorkerPresenceParamsSchema as _f, WORKER_INFERENCE_MAX_OUTPUT_TOKENS as _g, ThemesImportParamsSchema as _h, CronScratchGetResultSchema as _i, SessionsFilesGetParamsSchema as _l, BoardOpSchema as _m, QuestionWaitAnswerParamsSchema as _n, AuditActivityOutboundMessageV1Schema as _o, UpdateRunsGetResultSchema as _p, DevicePairListParamsSchema as _r, MigrationsMemoryPlanParamsSchema as _s, SESSION_PROCESS_NAME_MAX_CHARS as _t, SessionsSetInvolvementParamsSchema as _u, PluginCatalogEntrySchema as _v, SessionEventAncestorsSchema as _w, UsersUnlinkAuthProfileResultSchema as _x, PluginsUninstallResultSchema as _y, CatalogPluginEntrySchema as a, SkillsDetailResultSchema as aC, SkillWorkshopChangeSchema as aS, ApprovalResolveParamsSchema as a_, ChannelsPairingApproveParamsSchema as aa, SessionGitHubStatusResultSchema as ab, SessionTypingEventSchema as ac, MentionInboxItemSchema as ad, WorkerTranscriptCommitResponseFrameSchema as af, WorkerGatewayToolCancelResponseFrameSchema as ag, WIDGET_HTML_MAX_UTF8_BYTES as ah, CronGetParamsSchema as ai, SessionsCompanionAskParamsSchema as al, BoardCanvasDocumentSourceSchema as am, QuestionRecordSchema as an, DecisionReceiptV1Schema as ao, UpdateHoldParamsSchema as ap, NODE_PRESENCE_ALIVE_REASONS as ar, BackupRunLocationSchema as as, TaskSuggestionsListParamsSchema as at, SessionsDeleteParamsSchema as au, SessionsCatalogImportResultSchema as av, SessionWorkspaceRecoveryRequiredErrorDetailsSchema as aw, UsersPrefsSetResultSchema as ax, PluginsReloadResultSchema as ay, WorktreeBranchSchema as b, EnvironmentStatusSchema as bC, SkillsWorkshopArchiveParamsSchema as bS, PluginApprovalPresentationSchema as b_, TalkCatalogResultSchema as ba, UsersAuthConnectResultSchema as bb, SessionSharingEventSchema as bc, ShutdownEventSchema as bd, WorkerSessionToolResultSchema as bf, WORKER_PROTOCOL_MAX_INFERENCE_PAYLOAD_BYTES as bg, UiClosePaneCommandSchema as bh, CronScratchSetResultSchema as bi, SessionsFilesListResultSchema as bl, BoardSetChatDockCommandSchema as bm, PushTestResultSchema as bn, ArtifactSummarySchema as bo, SessionOwnerSessionCountSchema as bp, DevicePairRenameParamsSchema as br, PROJECTS_LIST_MAX_IDENTITY_PROBES as bs, SessionsProcessesListParamsSchema as bt, SessionsCreateParamsSchema as bu, PluginControlUiDescriptorSchema as bv, SessionRowSchema as bw, UI_APPEARANCE_PREFERENCE_KEYS as bx, PluginDecisionProviderStatusSchema as by, CatalogSkillEntrySchema as c, SecretStoreEnvEntrySchema as cC, SkillsBinsResultSchema as cS, ApprovalSnapshotSchema as c_, ChannelsPairingCodeApproveResultSchema as ca, PersonalGitHubStatusSchema as cb, SessionMemberAddParamsSchema as cc, MentionsDismissParamsSchema as cd, WorkerTranscriptUserMessageSchema as cf, WorkerGatewayToolResponseFrameSchema as cg, TalkVoiceCompleteParamsSchema as ch, CronJobSchema as ci, SessionsCompanionResetResultSchema as cl, BoardCommandEventSchema as cm, QuestionRequestResultSchema as cn, AUDIT_ACTIVITY_DIRECTIONS as co, UpdateReportResultSchema as cp, FsListDirParamsSchema as cr, BackupStatusParamsSchema as cs, SystemInfoResultSchema as ct, WorktreePreservationReasonSchema as cu, SessionsCatalogReadParamsSchema as cv, UnknownAgentIdErrorDetailsSchema as cw, UsersSelfParamsSchema as cx, PluginsSessionActionFailureResultSchema as cy, ToolCatalogGroupSchema as d, SecretsResolveAssignmentSchema as dC, SkillsSecurityVerdictsParamsSchema as dS, DeniedApprovalSnapshotSchema as d_, ChannelsPairingListParamsSchema as da, UserModelAccountSchema as db, SessionMemberRemoveParamsSchema as dc, UsersMentionableParamsSchema as dd, WORKER_PORTAL_PROTOCOL_FEATURE as df, WorkerToolSurfaceSchema as dg, TalkVoiceSetParamsSchema as dh, CronPacingSchema as di, SessionsCreateResultSchema as dl, BoardDataReadParamsSchema as dm, QuestionResolveResultSchema as dn, AUDIT_ACTIVITY_STATUSES as do, UpdateStatusParamsSchema as dp, DesktopObserveParamsSchema as dr, StorageLocationsListResultSchema as ds, SessionsViewerPresenceSetResultSchema as dt, SessionsGoalMutationResultSchema as du, SessionsCatalogStartTerminalResultSchema as dv, buildMissingScopeErrorDetails as dw, UsersSetAvatarResultSchema as dx, PluginsSessionActionSuccessResultSchema as dy, ModelsListParamsSchema as eC, ModelsAuthStatusParamsSchema as eS, closedObject as eT, ApprovalGetResultSchema as e_, COMMAND_NAME_MAX_LENGTH as ea, SessionGitHubPublicationPublishingSchema as eb, SessionSuggestionsAddResultSchema as ec, HumanMentionSchema as ed, WorkerRuntimeContextMessageSchema as ef, WorkerComputerResultSchema as eg, BoardWidgetSchema as eh, CronAddParamsSchema as ei, SessionsBranchesListResultSchema as el, BOARD_CRON_JOB_ID_MAX_LENGTH as em, QuestionGetParamsSchema as en, AuditRunIdentityUnsupportedV1Schema as eo, ConfigSchemaLookupResultSchema as ep, NodePresenceAlivePayloadSchema as er, ConversationTurnResultSchema as es, TaskSuggestionsAcceptResultSchema as et, SessionsPatchManyResultSchema as eu, SessionsCatalogArchiveResultSchema as ev, GitHubPublicationSelectionRejectedErrorDetailsSchema as ew, UsersPersonalFileSetResultSchema as ex, PluginsListParamsSchema as ey, ToolCatalogProfileSchema as f, SecretsResolveParamsSchema as fC, SkillsSecurityVerdictsResultSchema as fS, ExecApprovalPresentationSchema as f_, ChannelsPairingListResultSchema as fa, UserProfileAuthLinkSchema as fb, SessionMemberSchema as fc, UsersMentionableResultSchema as fd, WORKER_PRESENCE_PROTOCOL_FEATURE as ff, isWorkerGatewayToolFrameWithinBudget as fg, TalkVoiceSetResultSchema as fh, CronRemoveParamsSchema as fi, SessionsDescribeParamsSchema as fl, BoardEventParamsSchema as fm, QuestionResolvedEventSchema as fn, AuditActivityAgentRunV1Schema as fo, UpdateStatusResultSchema as fp, DesktopObserveResultSchema as fr, StorageLocationsProbeParamsSchema as fs, SessionsResolveCandidateSchema as ft, SessionsGoalUpdateParamsSchema as fu, CapabilityConsentErrorDetailsSchema as fv, errorShape as fw, UsersSetDisplayNameParamsSchema as fx, PluginsSetEnabledParamsSchema as fy, ToolsEffectiveGroupSchema as g, SecretsStoreListResultSchema as gC, SkillsUpdateParamsSchema as gS, PaymentApprovalScopeSchema as g_, ChannelsStatusResultSchema as ga, UsersAuthConnectAnswerParamsSchema as gb, SessionPublicShareSchema as gc, GatewayFrameSchema as gd, WorkerPortalResponseFrameSchema as gf, WORKER_INFERENCE_MAX_CONTEXT_MESSAGES as gg, ThemesGetParamsSchema as gh, CronScratchGetParamsSchema as gi, SessionsFilesAssetsResultSchema as gl, BoardMcpAppDescriptorSchema as gm, QuestionStatusSchema as gn, AuditActivityListResultSchema as go, UpdateRunsGetParamsSchema as gp, DevicePairApproveParamsSchema as gr, MigrationsMemoryApplyParamsSchema as gs, SESSION_PROCESSES_MAX_ROWS as gt, SessionsStorageStatusResultSchema as gu, PluginCatalogClawHubInstallSchema as gv, SessionEntryArchiveReasonSchema as gw, UsersUnlinkAuthProfileParamsSchema as gx, PluginsUninstallParamsSchema as gy, ToolsEffectiveEntrySchema as h, SecretsStoreListParamsSchema as hC, SkillsStatusParamsSchema as hS, MessageSendApprovalScopeSchema as h_, ChannelsStatusParamsSchema as ha, UserProfileSchema as hb, SessionMembersListResultSchema as hc, EventFrameSchema as hd, WorkerPortalParamsSchema as hf, validateWorkerGatewayToolUpdateFrame as hg, ThemePaletteSchema as hh, CronRunsParamsSchema as hi, SessionsFilesAssetsParamsSchema as hl, BoardLegacyEventParamsSchema as hm, QuestionSecretStoreExistingSchema as hn, AuditActivityListParamsSchema as ho, UpdateRunResultSchema as hp, DesktopSourceSchema as hr, MigrationProtocolSchemas as hs, SESSION_PROCESSES_MAX_BYTES as ht, SessionsStorageParamsSchema as hu, MAX_PLUGIN_RELOAD_TARGETS as hv, SessionCreatedActorSchema as hw, UsersSetRoleResultSchema as hx, PluginsUiDescriptorsResultSchema as hy, CatalogKindSchema as i, SkillsSearchResultSchema as iC, SkillWorkshopArchivedSkillSchema as iS, ApprovalPresentationSchema as i_, TalkSessionAcknowledgeMarkParamsSchema as ia, SessionGitHubStatusParamsSchema as ib, SessionSuggestionsResolveResultSchema as ic, MENTION_INBOX_MAX_ITEMS as id, WorkerTranscriptCommitRequestFrameSchema as if, WorkerGatewayToolCancelParamsSchema as ig, CanvasDocumentViewResultSchema as ih, CronDeliverySchema as ii, SessionsCompactParamsSchema as il, BoardActionParamsSchema as im, QuestionOptionSchema as in, DecisionReceiptDisplayV1Schema as io, UpdateAvailableSchema as ip, NodeSkillsUpdateParamsSchema as ir, WakeParamsSchema as is, TaskSuggestionsDismissResultSchema as it, PreservedSessionWorktreeSchema as iu, SessionsCatalogImportParamsSchema as iv, ProjectCloneErrorDetailsSchema as iw, UsersPrefsSetParamsSchema as ix, PluginsReloadParamsSchema as iy, WorktreesRecoverRemovalResultSchema as j, EnvironmentsStatusResultSchema as jC, ToolsGitHubAuthorizeCancelResultSchema as jS, TerminalAttachResultSchema as j_, TalkEventSchema as ja, UsersGitHubDisconnectParamsSchema as jb, SessionDiffCommitSchema as jc, WORKER_NATIVE_PROCESS_OWNER_PROTOCOL_FEATURE as jd, PresenceEntrySchema as jf, validateWorkerInferenceTerminalFrame as jg, SKILL_LIBRARY_MAX_FILE_BYTES as jh, SystemAgentSetupActivateStartParamsSchema as ji, SessionsGroupsListResultSchema as jl, BoardViewTicketSchema as jm, NodeDescribeParamsSchema as jn, AgentsWorkspaceListParamsSchema as jo, TranscriptUtteranceSchema as jp, DeviceTokenRotateResultSchema as jr, ProjectsListParamsSchema as js, SessionMoveExpectedSourceSchema as jt, ChatFinalEventSchema as ju, PluginRuntimeApplicationSchema as jv, SESSION_PARTICIPANT_LIMIT as jw, WizardStepSchema as jx, validatePluginsCredentialsInspectParams as jy, WorktreesListResultSchema as k, EnvironmentsPrepareResultSchema as kC, ToolsGitHubAuthorizeAccessDeniedResultSchema as kS, TerminalAckResultSchema as k_, TalkConfigParamsSchema as ka, UsersGitHubAuthorizeStartParamsSchema as kb, SessionBranchSchema as kc, WORKER_LIVE_EVENT_PROTOCOL_FEATURE as kd, PresenceQueryResultSchema as kf, validateWorkerInferenceEventFrame as kg, SKILL_LIBRARY_MAX_BUNDLE_BYTES as kh, SystemAgentSetupActivateParamsSchema as ki, SessionsGroupsDeleteParamsSchema as kl, BoardTicketEventParamsSchema as km, WebPushUnsubscribeParamsSchema as kn, AgentsWorkspaceGetParamsSchema as ko, TRANSCRIPTS_RESULT_MAX_BYTES as kp, DeviceTokenRevokeParamsSchema as kr, ProjectsAddParamsSchema as ks, SessionDiscussionStateSchema as kt, ChatErrorEventSchema as ku, PluginJsonValueSchema as kv, SessionsActivitySummaryEnsureResultSchema as kw, WizardStatusParamsSchema as kx, PluginsCredentialsInspectParamsSchema as ky, ToolAccessDiagnosticsSchema as l, SecretStoreSecretEntrySchema as lC, SkillsDetailParamsSchema as lS, ApprovalTerminalReasonSchema as l_, ChannelsPairingDismissParamsSchema as la, UserChannelIdentityLinkSchema as lb, SessionMemberEvidenceSchema as lc, MentionsListParamsSchema as ld, PlacedSessionsSendSchema as lf, WorkerGatewayToolResultSchema as lg, TalkVoiceGetParamsSchema as lh, CronJobStateSchema as li, SessionsCompanionStateParamsSchema as ll, BoardCommandSchema as lm, QuestionRequestedEventSchema as ln, AUDIT_ACTIVITY_KINDS as lo, UpdateRunParamsSchema as lp, FsListDirResultSchema as lr, BackupStatusResultSchema as ls, SESSION_VIEWER_PRESENCE_MAX_KEYS as lt, SessionGoalSchema as lu, SessionsCatalogReadResultSchema as lv, UserPrefsLimitExceededErrorDetailsSchema as lw, UsersSelfResultSchema as lx, PluginsSessionActionParamsSchema as ly, ToolsCatalogResultSchema as m, SecretsStoreDeleteParamsSchema as mC, SkillsSkillCardResultSchema as mS, ExternalPostApprovalScopeSchema as m_, ChannelsStartParamsSchema as ma, UserProfileGitHubIdentitySchema as mb, SessionMembersListParamsSchema as mc, ErrorShapeSchema as md, WORKER_SESSION_TOOL_MAX_TEXT_LENGTH as mf, validateWorkerGatewayToolInvokeParams as mg, ThemeModeSchema as mh, CronRunParamsSchema as mi, SessionsDiffResultSchema as ml, BoardGetParamsSchema as mm, QuestionSecretStoreBindingSchema as mn, AuditActivityInboundMessageV1Schema as mo, UpdateRunRecordSchema as mp, DesktopReleaseResultSchema as mr, MAX_MEMORY_MIGRATION_ITEMS as ms, SessionsResolveResultSchema as mt, SessionsTitlePrepareResultSchema as mu, ControlUiPluginWidgetKindSchema as mv, SessionAncestorRefSchema as mw, UsersSetRoleParamsSchema as mx, PluginsUiDescriptorsParamsSchema as my, CatalogBrowseResultSchema as n, ChatAccountSelectionSchema as nC, ModelsProbeResultSchema as nS, ApprovalHistoryResultSchema as n_, CommandsListParamsSchema as na, SessionGitHubPublicationResultSchema as nb, SessionSuggestionsListResultSchema as nc, MAX_HUMAN_MENTIONS as nd, WorkerTranscriptCommitErrorShapeSchema as nf, WORKER_GATEWAY_TOOLS_PROTOCOL_FEATURE as ng, CanvasDocumentPreviewParamsSchema as nh, CronDeclarativeAddResultSchema as ni, SessionsBranchesSwitchResultSchema as nl, BOARD_DATA_BINDING_ID_MAX_LENGTH as nm, QuestionListParamsSchema as nn, AuditRunInspectParamsSchema as no, ConfigSchemaResponseSchema as np, NodeRenameParamsSchema as nr, PollParamsSchema as ns, TaskSuggestionsCreateResultSchema as nt, SessionsPatchMutationSchema as nu, SessionsCatalogContinueResultSchema as nv, MissingScopeErrorDetailsSchema as nw, UsersPrefsGetParamsSchema as nx, PluginsRefreshParamsSchema as ny, CatalogSearchKeywordsParamsSchema as o, GitHubSetupHandleSchema as oC, SkillWorkshopSkillSummarySchema as oS, ApprovalResolveResultSchema as o_, ChannelsPairingApproveResultSchema as oa, PersonalGitHubAccountSchema as ob, SessionTypingParamsSchema as oc, MentionableUserSchema as od, WorkerTranscriptCommitResultSchema as of, WorkerGatewayToolCancelResultSchema as og, TALK_VOICE_CHANGE_TIMEOUT_MS as oh, CronHistoryParamsSchema as oi, SessionsCompanionAskResultSchema as ol, BoardChangedEventSchema as om, QuestionRequestParamsSchema as on, ExecutionIdentityContextV1Schema as oo, UpdateHoldResultSchema as op, HooksStatusParamsSchema as or, BackupRunRecordSchema as os, TaskSuggestionsListResultSchema as ot, SessionsDeleteResultSchema as ou, SessionsCatalogListParamsSchema as ov, SetupAdmissionBusyErrorDetailsSchema as ow, UsersSelectModelAccountParamsSchema as ox, PluginsSearchParamsSchema as oy, ToolsCatalogParamsSchema as p, SecretsResolveResultSchema as pC, SkillsSkillCardParamsSchema as pS, ExpiredApprovalSnapshotSchema as p_, ChannelsLogoutParamsSchema as pa, UserProfileAvatarMimeSchema as pb, SessionMembersListEvidenceResultSchema as pc, ConnectParamsSchema as pd, WORKER_SESSION_TOOLS_PROTOCOL_FEATURE as pf, validateWorkerGatewayToolCancelParams as pg, ThemeDefinitionSchema as ph, CronRunLogEntrySchema as pi, SessionsDiffParamsSchema as pl, BoardFocusTabCommandSchema as pm, QuestionSchema as pn, AuditActivityEventV1Schema as po, UpdateRunChangedEventSchema as pp, DesktopReleaseParamsSchema as pr, StorageLocationsProbeResultSchema as ps, SessionsResolveParamsSchema as pt, SessionsTitlePrepareParamsSchema as pu, ControlUiPluginTabSchema as pv, missingScopeErrorShape as pw, UsersSetDisplayNameResultSchema as px, PluginsSetEnabledResultSchema as py, SessionPortalOpenParamsSchema as q, WorkerTunnelStatusSchema as qC, ToolsGitHubStatusResultSchema as qS, SessionCatalogLocatorSchema as q_, WebLoginWaitParamsSchema as qa, UsersListParamsSchema as qb, SessionObserverPlanProgressSchema as qc, WorkerLiveEventErrorShapeSchema as qd, GatewaySuspendStatusResultSchema as qf, ApprovalAllowedReasonSchema as qg, validateSkillsLibrarySaveParams as qh, COMMAND_ARG_CHOICES_MAX_ITEMS as qi, SessionsSendParamsSchema as ql, BoardWidgetPresentationSchema as qm, NodePendingDrainParamsSchema as qn, ConversationListResultSchema as qo, ProgressCardPutParamsSchema as qp, ExecApprovalsGetParamsSchema as qr, isReactionEmoji as qs, SessionsMoveParamsSchema as qt, ChatStartupParamsSchema as qu, PluginsControlUiReportParamsSchema as qv, UserProfileIdSchema as qw, GitHubIdentitySourceSchema as qx, GitHubPublicationTitleSchema as qy, CatalogEntrySchema as r, SkillsSearchParamsSchema as rC, ModelsProbeTargetResultSchema as rS, ApprovalKindSchema as r_, CommandsListResultSchema as ra, SessionGitHubPublishParamsSchema as rb, SessionSuggestionsResolveParamsSchema as rc, MAX_MENTIONABLE_USERS as rd, WorkerTranscriptCommitParamsSchema as rf, WORKER_GATEWAY_TOOL_METHODS as rg, CanvasDocumentViewParamsSchema as rh, CronDeliveryPreviewSchema as ri, SessionsCleanupParamsSchema as rl, BOARD_WIDGET_TOOL_MAX_LENGTH as rm, QuestionListResultSchema as rn, AuditRunInspectResultSchema as ro, ConfigSetParamsSchema as rp, NodeSkillDescriptorSchema as rr, SendParamsSchema as rs, TaskSuggestionsDismissParamsSchema as rt, SessionsPatchParamsSchema as ru, SessionsCatalogHostEventSchema as rv, OutboundDeliveryQueuedErrorDetailsSchema as rw, UsersPrefsGetResultSchema as rx, PluginsRefreshResultSchema as ry, CatalogSearchKeywordsResultSchema as s, SecretStoreEntrySchema as sC, SkillsBinsParamsSchema as sS, ApprovalScopeSchema as s_, ChannelsPairingCliListResultSchema as sa, PersonalGitHubGenerationSchema as sb, SessionTypingResultSchema as sc, MentionsChangedEventSchema as sd, WorkerTranscriptMessageSchema as sf, WorkerGatewayToolInvokeParamsSchema as sg, TalkVoiceChangeEventSchema as sh, CronHistoryResultSchema as si, SessionsCompanionResetParamsSchema as sl, BoardChatDockSchema as sm, QuestionRequestQuestionSchema as sn, PrincipalRefV1Schema as so, UpdateReportParamsSchema as sp, FsDirEntrySchema as sr, BackupRunRetentionSchema as ss, SystemInfoParamsSchema as st, WORKTREE_PRESERVATION_REASONS as su, SessionsCatalogListResultSchema as sv, TaskWorktreeSourceRequiredErrorDetailsSchema as sw, UsersSelectModelAccountResultSchema as sx, PluginsSearchResultSchema as sy, CatalogBrowseParamsSchema as t, ModelsListResultSchema as tC, ModelsProbeParamsSchema as tS, ApprovalHistoryParamsSchema as t_, CommandEntrySchema as ta, SessionGitHubPublicationRequestedSchema as tb, SessionSuggestionsListParamsSchema as tc, HumanMentionsSchema as td, WorkerTranscriptCommitErrorReasonSchema as tf, AgentToolSurfacePresentationSchema as tg, CANVAS_DOCUMENT_PREVIEW_MAX_BYTES as th, CronAddResultSchema as ti, SessionsBranchesSwitchParamsSchema as tl, BOARD_CRON_TRIGGER_PREFIX as tm, QuestionGetResultSchema as tn, AuditRunIdentityV1Schema as to, ConfigSchemaParamsSchema as tp, NodePresenceAliveReasonSchema as tr, MessageActionParamsSchema as ts, TaskSuggestionsCreateParamsSchema as tt, SessionsPatchManyTargetSchema as tu, SessionsCatalogContinueParamsSchema as tv, McpAppViewExpiredErrorDetailsSchema as tw, UsersPrefsChangedEventSchema as tx, PluginsListResultSchema as ty, ToolCatalogEntrySchema as u, SecretsReloadParamsSchema as uC, SkillsInstallParamsSchema as uS, CancelledApprovalSnapshotSchema as u_, ChannelsPairingDismissResultSchema as ua, UserChannelIdentitySchema as ub, SessionMemberMutationResultSchema as uc, MentionsListResultSchema as ud, PlacedSessionsSpawnSchema as uf, WorkerGatewayToolUpdateFrameSchema as ug, TalkVoiceSelectionSchema as uh, CronListParamsSchema as ui, SessionsCompanionStateResultSchema as ul, BoardCronActionParamsSchema as um, QuestionResolveParamsSchema as un, AUDIT_ACTIVITY_MESSAGE_KIND as uo, UpdateScheduleStateSchema as up, DesktopLaunchParamsSchema as ur, StorageLocationsListParamsSchema as us, SessionsViewerPresenceSetParamsSchema as ut, SessionsGoalClearParamsSchema as uu, SessionsCatalogStartTerminalParamsSchema as uv, WizardNotFoundErrorDetailsSchema as uw, UsersSetAvatarParamsSchema as ux, PluginsSessionActionResultSchema as uy, ToolsEffectiveParamsSchema as v, SecretsStoreSetParamsSchema as vC, SkillsUploadChunkParamsSchema as vS, PendingSessionApprovalEventSchema as v_, TalkAgentControlResultSchema as va, UsersAuthConnectCatalogParamsSchema as vb, SessionPublicShareSetResultSchema as vc, RequestFrameSchema as vd, WorkerPresenceResponseFrameSchema as vf, WORKER_INFERENCE_METHODS as vg, ThemesListParamsSchema as vh, CronScratchSchema as vi, SessionsFilesGetResultSchema as vl, BoardPluginActionParamsSchema as vm, QuestionWaitAnswerResultSchema as vn, AuditActivityToolActionV1Schema as vo, UpdateRunsListParamsSchema as vp, DevicePairRejectParamsSchema as vr, PROJECTS_LIST_DEFAULT_LIMIT as vs, SESSION_PROCESS_TAIL_MAX_CHARS as vt, SESSION_CREATE_IDEMPOTENCY_RETENTION_MS as vu, PluginCatalogInstallActionSchema as vv, SessionOwnerSchema as vw, UsersUnlinkChannelIdentityParamsSchema as vx, PluginInstallActivitySchema as vy, WorktreesBranchesResultSchema as w, EnvironmentsDestroyParamsSchema as wC, SkillsWorkshopListParamsSchema as wS, StandingGrantApprovalScopeSchema as w_, TalkClientMutationResultSchema as wa, UsersAuthConnectStatusResultSchema as wb, SessionVisibilitySetResultSchema as wc, WORKER_EXECUTION_AUTHORITY_PROTOCOL_FEATURE as wd, WorkerSessionsSpawnResponseFrameSchema as wf, WorkerInferenceModelRefSchema as wg, UiFocusCommandSchema as wh, SystemAgentChatHistoryResultSchema as wi, SessionsFilesSetResultSchema as wl, BoardTabDeleteOpSchema as wm, WebPushNotificationPreferencesSchema as wn, ArtifactsGetResultSchema as wo, TRANSCRIPTS_LEGACY_MAX_UTTERANCES as wp, DevicePairSetupCodeResultSchema as wr, ProjectRecentProjectSchema as ws, SessionDiscussionInfoParamsSchema as wt, ChatAbortParamsSchema as wu, PluginDiscoveryCatalogFactsSchema as wv, SessionVisibilitySchema as ww, WizardCancelParamsSchema as wx, PluginInstallTrustSchema as wy, WorktreeRecordSchema as x, EnvironmentSummarySchema as xC, SkillsWorkshopChangeResultSchema as xS, PluginApprovalSeveritySchema as x_, TalkClientCloseParamsSchema as xa, UsersAuthConnectStartParamsSchema as xb, SessionSharingEvidenceEventSchema as xc, TickEventSchema as xd, WorkerSessionsSendParamsSchema as xf, WorkerInferenceCancelRequestFrameSchema as xg, UiCommandParamsSchema as xh, CronStatusParamsSchema as xi, SessionsFilesRevealParamsSchema as xl, BoardSizeSchema as xm, WebPushDetailLevelSchema as xn, ArtifactsDownloadParamsSchema as xo, SessionsListParamsSchema as xp, DevicePairRequestedEventSchema as xr, ProjectCheckoutSchema as xs, SessionsProcessesListResultSchema as xt, SessionsRecoverParamsSchema as xu, PluginControlUiDiagnosticSchema as xv, SessionToolOverridesSchema as xw, normalizeUiAppearancePreference as xx, PluginDeclaredSurfaceSchema as xy, ToolsEffectiveResultSchema as y, DesktopAvailabilitySchema as yC, SkillsUploadCommitParamsSchema as yS, PluginApprovalExternalResolutionSchema as y_, TalkCatalogParamsSchema as ya, UsersAuthConnectCatalogResultSchema as yb, SessionSharingActionSchema as yc, ResponseFrameSchema as yd, WorkerSessionToolResponseFrameSchema as yf, WORKER_INFERENCE_PROTOCOL_FEATURE as yg, ThemesSetParamsSchema as yh, CronScratchSetParamsSchema as yi, SessionsFilesListParamsSchema as yl, BoardPromptAuthorizeParamsSchema as ym, PushTestParamsSchema as yn, findAuditActivityFilterConflict as yo, UpdateRunsListResultSchema as yp, DevicePairRemoveParamsSchema as yr, PROJECTS_LIST_MAX_CHECKOUTS_PER_PROJECT as ys, SessionProcessSummarySchema as yt, SESSION_CREATE_RETRY_WINDOW_MS as yu, PluginCatalogOfficialInstallSchema as yv, SessionPermissionModeSchema as yw, UsersUnlinkChannelIdentityResultSchema as yx, PluginsInstallProgressEventSchema as yy, PortalCloseResultSchema as z, WorkerDesktopObserveResultSchema as zC, ToolsGitHubAuthorizeSlowDownResultSchema as zS, TerminalOpenResultSchema as z_, TalkSessionOkResultSchema as za, UsersLinkEmailParamsSchema as zb, SessionFileKindSchema as zc, WORKER_TRANSCRIPT_MAX_BATCH_MESSAGES as zd, GatewaySuspendPrepareParamsSchema as zf, WORKER_TRANSCRIPT_MAX_JSON_DEPTH as zg, SkillsLibraryReadParamsSchema as zh, SystemAgentWizardCancelSchema as zi, SessionsObserverVisibilityParamsSchema as zl, BoardWidgetHtmlContentSchema as zm, NodeInvokeRequestEventSchema as zn, AgentsFilesSetResultSchema as zo, TranscriptsStatusResultSchema as zp, ExecApprovalGetParamsSchema as zr, RemoteProjectSchema as zs, SessionPlacementMoveSchema as zt, ChatInputReceiptsSchema as zu, PluginsCatalogCategoriesResultSchema as zv, GatewayClientIdSchema as zw, AgentsListParamsSchema as zx, SESSION_ICON_GLYPH_IDS as zy };