openmeld 0.3.213 → 0.3.214

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) hide show
  1. package/dist/{add-me-membership-GbaxKxz-.js → add-me-membership-BaqG9F5c.js} +2 -2
  2. package/dist/{add-me-membership-GbaxKxz-.js.map → add-me-membership-BaqG9F5c.js.map} +1 -1
  3. package/dist/{agents-BNoz9DA5.js → agents-y9C8FCyv.js} +8 -8
  4. package/dist/{agents-BNoz9DA5.js.map → agents-y9C8FCyv.js.map} +1 -1
  5. package/dist/{api-client-foundation-TEBOwWl1.js → api-client-foundation-BYnU1pbS.js} +1 -1
  6. package/dist/{api-client-foundation-km8Ol1P4.js → api-client-foundation-CKRP7Ymg.js} +3 -3
  7. package/dist/{api-client-foundation-km8Ol1P4.js.map → api-client-foundation-CKRP7Ymg.js.map} +1 -1
  8. package/dist/auth-session-BWKfXWxl.js +4 -0
  9. package/dist/{auth-session-DgHvRt5i.js → auth-session-gaLjWIKR.js} +8 -6
  10. package/dist/auth-session-gaLjWIKR.js.map +1 -0
  11. package/dist/{base-url-C6sHRNGu.js → base-url-BczddvzH.js} +2 -2
  12. package/dist/{base-url-C6sHRNGu.js.map → base-url-BczddvzH.js.map} +1 -1
  13. package/dist/{base-url-BE3pFiOZ.js → base-url-CfyKRz89.js} +1 -1
  14. package/dist/{command-Dsa8gaFe.js → command-C72QNhjP.js} +12 -12
  15. package/dist/{command-Dsa8gaFe.js.map → command-C72QNhjP.js.map} +1 -1
  16. package/dist/{computer-connection-D8tX14R_.js → computer-connection-Dv9kex7h.js} +2 -2
  17. package/dist/{computer-connection-D8tX14R_.js.map → computer-connection-Dv9kex7h.js.map} +1 -1
  18. package/dist/{computer-connection-review-CjOXBWiV.js → computer-connection-review-_ZLPsdE_.js} +6 -6
  19. package/dist/{computer-connection-review-CjOXBWiV.js.map → computer-connection-review-_ZLPsdE_.js.map} +1 -1
  20. package/dist/{computer-disconnect-k6UVCsVF.js → computer-disconnect-BJ-Tl-7q.js} +9 -9
  21. package/dist/{computer-disconnect-k6UVCsVF.js.map → computer-disconnect-BJ-Tl-7q.js.map} +1 -1
  22. package/dist/{computer-setup-continuation-DhY_sJis.js → computer-setup-continuation-CN383Vvy.js} +4 -4
  23. package/dist/{computer-setup-continuation-DhY_sJis.js.map → computer-setup-continuation-CN383Vvy.js.map} +1 -1
  24. package/dist/{daemon-runtime-lease-Dd4hdHNo.js → daemon-runtime-lease-CIzOT1zx.js} +2 -2
  25. package/dist/{daemon-runtime-lease-Dd4hdHNo.js.map → daemon-runtime-lease-CIzOT1zx.js.map} +1 -1
  26. package/dist/{daemon-runtime-lease-y3n1K0-C.js → daemon-runtime-lease-_M6hW8Mg.js} +1 -1
  27. package/dist/{daemon-service-manager-GiMCiTmu.js → daemon-service-manager-DxS5eH_N.js} +4 -4
  28. package/dist/{daemon-service-manager-GiMCiTmu.js.map → daemon-service-manager-DxS5eH_N.js.map} +1 -1
  29. package/dist/{daemon-service-manager-Bh0LoLed.js → daemon-service-manager-fPpyIyrU.js} +1 -1
  30. package/dist/{daemon-service-runtime-CY6wdBe1.js → daemon-service-runtime-CGT3yVOs.js} +22 -16
  31. package/dist/{daemon-service-runtime-CY6wdBe1.js.map → daemon-service-runtime-CGT3yVOs.js.map} +1 -1
  32. package/dist/{daemon-service-update-coordinator-BcbbIDzC.js → daemon-service-update-coordinator--xLHNqDT.js} +625 -55
  33. package/dist/daemon-service-update-coordinator--xLHNqDT.js.map +1 -0
  34. package/dist/{daemon-state-C37ZtIZK.js → daemon-state-CoAZLwpi.js} +3 -3
  35. package/dist/{daemon-state-C37ZtIZK.js.map → daemon-state-CoAZLwpi.js.map} +1 -1
  36. package/dist/dist-CABuqfdH.js +4 -0
  37. package/dist/{dist-CAx_kxvt.js → dist-Dj3TOx03.js} +481 -195
  38. package/dist/dist-Dj3TOx03.js.map +1 -0
  39. package/dist/distribution-BDQT2ilb.js +20 -0
  40. package/dist/distribution-BDQT2ilb.js.map +1 -0
  41. package/dist/{elapsed-time-Do3uIV__.js → elapsed-time-CCFWbCC8.js} +5 -5
  42. package/dist/{elapsed-time-Do3uIV__.js.map → elapsed-time-CCFWbCC8.js.map} +1 -1
  43. package/dist/{installation-inventory-C92AkQkA.js → installation-inventory-C4WKcVEj.js} +6 -6
  44. package/dist/{installation-inventory-C92AkQkA.js.map → installation-inventory-C4WKcVEj.js.map} +1 -1
  45. package/dist/{lock-Dxp6o_t_.js → lock-CAt9uTnZ.js} +5 -48
  46. package/dist/lock-CAt9uTnZ.js.map +1 -0
  47. package/dist/{openmeld-I4pLxQsY.js → openmeld-DpV9lAF-.js} +312 -188
  48. package/dist/openmeld-DpV9lAF-.js.map +1 -0
  49. package/dist/openmeld-dev.js +1 -1
  50. package/dist/{openmeld-environment-target-NtJYJe1D.js → openmeld-environment-target-BWI2adGw.js} +3 -3
  51. package/dist/{openmeld-environment-target-NtJYJe1D.js.map → openmeld-environment-target-BWI2adGw.js.map} +1 -1
  52. package/dist/{openmeld-maintenance-worker-D5VAO9GD.js → openmeld-maintenance-worker-Blfu_oOo.js} +9 -9
  53. package/dist/{openmeld-maintenance-worker-D5VAO9GD.js.map → openmeld-maintenance-worker-Blfu_oOo.js.map} +1 -1
  54. package/dist/{openmeld-tools-update-join-DsQdgYNw.js → openmeld-tools-update-join-BpLwmowQ.js} +4 -4
  55. package/dist/{openmeld-tools-update-join-DsQdgYNw.js.map → openmeld-tools-update-join-BpLwmowQ.js.map} +1 -1
  56. package/dist/openmeld.js +3 -3
  57. package/dist/{prepare-session-executor-BEzlM0hJ.js → prepare-session-executor-Cfm3EvXl.js} +16 -16
  58. package/dist/{prepare-session-executor-BEzlM0hJ.js.map → prepare-session-executor-Cfm3EvXl.js.map} +1 -1
  59. package/dist/process-identity-Clby123a.js +145 -0
  60. package/dist/process-identity-Clby123a.js.map +1 -0
  61. package/dist/{runtime-transport-DxISZdzf.js → runtime-transport-D8G8sANa.js} +92 -6
  62. package/dist/runtime-transport-D8G8sANa.js.map +1 -0
  63. package/dist/{service-Cev-7yAJ.js → service-Cl_Ge6oJ.js} +720 -35
  64. package/dist/service-Cl_Ge6oJ.js.map +1 -0
  65. package/dist/{distribution-DY2fBeSW.js → service-account-admission-Dy2W3n3_.js} +9 -19
  66. package/dist/service-account-admission-Dy2W3n3_.js.map +1 -0
  67. package/dist/{service-account-authorization-AbowIr6n.js → service-account-authorization-4oZuo8sT.js} +6 -6
  68. package/dist/{service-account-authorization-AbowIr6n.js.map → service-account-authorization-4oZuo8sT.js.map} +1 -1
  69. package/dist/{service-account-control-BV_tBiio.js → service-account-control-CTXv3924.js} +11 -12
  70. package/dist/service-account-control-CTXv3924.js.map +1 -0
  71. package/dist/{service-control-capabilities-BGXPenm1.js → service-control-capabilities-B-vCQoBV.js} +1 -1
  72. package/dist/service-control-capabilities-ptf0u8n5.js +70 -0
  73. package/dist/service-control-capabilities-ptf0u8n5.js.map +1 -0
  74. package/dist/service-control-carrier-capability-hvpD7hGf.js +24 -0
  75. package/dist/service-control-carrier-capability-hvpD7hGf.js.map +1 -0
  76. package/dist/upgrade-EWdIdoHm.js +4 -0
  77. package/dist/{upgrade-9h70HCQP.js → upgrade-vuPM1iX3.js} +7 -7
  78. package/dist/{upgrade-9h70HCQP.js.map → upgrade-vuPM1iX3.js.map} +1 -1
  79. package/dist/{windows-user-task-DxPN7TzK.js → windows-user-task-FdycoSb4.js} +1 -1
  80. package/dist/{windows-user-task-DqJWtlAm.js → windows-user-task-i0oHCBc0.js} +49 -19
  81. package/dist/windows-user-task-i0oHCBc0.js.map +1 -0
  82. package/package.json +2 -2
  83. package/dist/auth-session-D6UDl3r3.js +0 -4
  84. package/dist/auth-session-DgHvRt5i.js.map +0 -1
  85. package/dist/daemon-service-update-coordinator-BcbbIDzC.js.map +0 -1
  86. package/dist/dist-Bsz_wafH.js +0 -4
  87. package/dist/dist-CAx_kxvt.js.map +0 -1
  88. package/dist/distribution-DY2fBeSW.js.map +0 -1
  89. package/dist/lock-Dxp6o_t_.js.map +0 -1
  90. package/dist/openmeld-I4pLxQsY.js.map +0 -1
  91. package/dist/runtime-transport-DxISZdzf.js.map +0 -1
  92. package/dist/service-Cev-7yAJ.js.map +0 -1
  93. package/dist/service-account-control-BV_tBiio.js.map +0 -1
  94. package/dist/service-control-capabilities-DUudAKoj.js +0 -54
  95. package/dist/service-control-capabilities-DUudAKoj.js.map +0 -1
  96. package/dist/upgrade-CXgHeEKK.js +0 -4
  97. package/dist/windows-user-task-DqJWtlAm.js.map +0 -1
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { C as resolveBuiltinAgentControllerConversationCapability, S as agentControllerConversationCapabilitySchema, b as normalizeKnownBuiltinAgentControllerId, h as agentControllerRefSchema, s as runtimeTransportModeSchema } from "./controller-contract-pe3_Re-c.js";
4
- import { $t as spaceFileActorSchema, Ar as localFolderPathSchema, At as spaceAttachmentMimeTypeSchema, Bn as spaceAgentStreamDeltaFrameSchema, Bt as createSpaceFolderResponseSchema, Ct as signalSystemNoticeDataSchema, Dt as spaceAttachmentDescriptorSchema, Et as wakeDeviceWaitTargetSchema, Gt as listSpaceFilesResponseSchema, H as openMeldDaemonProviderAccessEvidenceProviderSchema, Hn as spaceAgentStreamPresenceSchema, Hr as authProfileManagedRoleSchema, Ht as getSpaceFileResponseSchema, Ir as localAgentCatalogLaunchStatusSchema, It as centerAgentInteractionSourceSchema, Jr as updateProfileResponseSchema, Kn as agentInteractionPendingSummarySchema, Kr as updateAgentProfileDefaultProjectBodySchema, Kt as publishSpaceComposerUploadResponseSchema, L as runtimeTransportRuntimeCoordinatorRespondInteractionResponseSchema, Lt as SPACE_FILE_ERROR_CODES, Mn as computerSetupModeSchema, Mt as spaceMessageAttachmentSchema, Nn as openMeldNavigationTargetSchema, Nt as spaceMessageAttachmentsSchema, Or as localFolderPickerRequestSchema, Ot as spaceAttachmentDimensionSchema, Pn as openMeldWebUrlSchema, Pt as conversationCompactionMarkerSchema, Qn as clientMessageIdSchema$1, Qt as spaceComposerUploadIdSchema, Rn as AGENT_STREAM_SNAPSHOT_MAX_CHARS, Rr as localAgentCatalogWithLifecycleSchema, Rt as SPACE_FILE_MAX_SIZE_BYTES, Sn as workingLanguageTagSchema, Sr as agentProfileWorkRecoveryActionKindSchema, St as signalStatusDataSchema, Tt as signalTextSchema, Un as spaceAgentStreamSnapshotSchema, Ur as authProfileViewSchema, V as openMeldDaemonOriginalErrorSchema, Vn as spaceAgentStreamPartFrameSchema, Vt as discardSpaceComposerUploadResponseSchema, Wn as spaceAgentStreamTerminalFrameSchema, Wt as listSpaceFileRevisionsResponseSchema, Xn as postSpaceWakeStopBodySchema, Xr as openMeldRequestContextSchema, Xt as restoreSpaceFileRevisionResponseSchema, Yn as agentInteractionResponseSchema, Yt as restoreSpaceFileEntryResponseSchema, Zn as postSpaceWakeStopResponseSchema, Zr as MAX_TEXT_LENGTH$1, Zt as spaceComposerUploadDescriptorSchema, _n as resultArchivePolicySchema, ar as spaceTraceExecutionIdentityProjectionSchema, at as agentTaskTerminalOutcomeSchema, bn as spaceDispatchPolicySchema, br as executeExecutionRecoveryResponseSchema, cn as trashSpaceFileEntryResponseSchema, cr as spacePasswordSchema, ct as controllerAgentTaskHandleSchema, dn as spaceThreadContextSchema, dr as spaceMentionLabelSchema, en as spaceFileClientMutationIdSchema, er as runtimeCoordinatorExecutionCreationDiagnosticSchema, et as spaceCallerContextSchema, fn as spaceThreadEventSchema, fr as spaceMentionLabelSourceSchema, hr as updateOrganizationInformationProtectionPolicyBodySchema, in as spaceFileNameSchema, it as agentTaskHandleSchema, jr as START_BOUNDED_ID_SCHEMA, jt as spaceAttachmentSizeBytesSchema, kn as messageEnvelopeSchema, kr as localFolderPickerResultSchema, kt as spaceAttachmentFileNameSchema, ln as updateSpaceFileEntryResponseSchema, lt as spaceWakeAgentTaskHandleSchema, mn as spaceThreadSignalPlacementSchema, mr as organizationProtectedInformationSchema, n as daemonExecutionCompatibilitySchema, nn as spaceFileEntryIdSchema, nr as runtimeCoordinatorExecutionRecordSchema, nt as agentTaskCompletionConditionSchema, on as spaceMessageFileReferencesSchema, or as SPACE_PASSWORD_RATE_LIMITED_ERROR_CODE, ot as areAgentTaskTerminalOutcomesEqual, pn as spaceThreadSchema, pr as organizationInformationProtectionPolicyResponseSchema, q as openMeldDaemonTaskResultProjectFailureContextSchema, qr as updateAgentProfileDefaultProjectResponseSchema, rn as spaceFileMimeTypeSchema, rt as agentTaskCompletionObservationSchema, sn as stageSpaceComposerUploadResponseSchema, sr as normalizeSpacePasswordText, st as buildAgentTaskKey, t as CURRENT_DAEMON_EXECUTION_CONTRACT_EPOCH, tn as spaceFileDescriptorSchema, tr as runtimeCoordinatorExecutionEventSchema, tt as agentDelegationSnapshotSchema, un as uploadSpaceFileResponseSchema, vn as spaceAllowedActionsSchema, vr as localAgentReasoningPreferencesSchema, wn as targetWakeLifecycleIdentitySchema, wt as signalTextDataSchema, xn as workingLanguageGuidanceSchema, xr as inspectExecutionRecoveryResponseSchema, yn as spacePublicationModeSchema, yr as executeExecutionRecoveryBodySchema, zn as agentStreamToolPartSchema } from "./runtime-transport-DxISZdzf.js";
4
+ import { $n as agentInteractionPendingSummarySchema, $r as updateAgentProfileDefaultProjectBodySchema, At as spaceAttachmentMimeTypeSchema, Bn as openMeldNavigationTargetSchema, Ct as signalSystemNoticeDataSchema, Dn as spaceDispatchPolicySchema, Dr as executeExecutionRecoveryResponseSchema, Dt as spaceAttachmentDescriptorSchema, En as spacePublicationModeSchema, Er as executeExecutionRecoveryBodySchema, Et as wakeDeviceWaitTargetSchema, Fr as localFolderPickerRequestSchema, Gn as AGENT_STREAM_SNAPSHOT_MAX_CHARS, Gr as localAgentCatalogWithLifecycleSchema, H as openMeldDaemonProviderAccessEvidenceProviderSchema, In as messageEnvelopeSchema, Ir as localFolderPickerResultSchema, It as centerAgentInteractionSourceSchema, Jn as spaceAgentStreamPartFrameSchema, Jt as getSpaceFileResponseSchema, Kn as agentStreamToolPartSchema, Kt as createSpaceFolderResponseSchema, L as runtimeTransportRuntimeCoordinatorRespondInteractionResponseSchema, Lr as localFolderPathSchema, Mt as spaceMessageAttachmentSchema, Nt as spaceMessageAttachmentsSchema, On as workingLanguageGuidanceSchema, Or as inspectExecutionRecoveryResponseSchema, Ot as spaceAttachmentDimensionSchema, Pt as conversationCompactionMarkerSchema, Qt as publishSpaceComposerUploadResponseSchema, Rr as START_BOUNDED_ID_SCHEMA, Sr as updateOrganizationInformationProtectionPolicyBodySchema, St as signalStatusDataSchema, Tn as spaceAllowedActionsSchema, Tr as localAgentReasoningPreferencesSchema, Tt as signalTextSchema, Ur as localAgentCatalogLaunchStatusSchema, Ut as SPACE_FILE_ERROR_CODES, V as openMeldDaemonOriginalErrorSchema, Vn as openMeldWebUrlSchema, Wt as SPACE_FILE_MAX_SIZE_BYTES, Xn as spaceAgentStreamSnapshotSchema, Xr as authProfileViewSchema, Xt as listSpaceFileRevisionsResponseSchema, Yn as spaceAgentStreamPresenceSchema, Yr as authProfileManagedRoleSchema, Zn as spaceAgentStreamTerminalFrameSchema, Zt as listSpaceFilesResponseSchema, _n as uploadSpaceFileResponseSchema, an as spaceFileActorSchema, ar as clientMessageIdSchema$1, at as agentTaskTerminalOutcomeSchema, bn as spaceThreadSchema, br as organizationInformationProtectionPolicyResponseSchema, cn as spaceFileEntryIdSchema, cr as runtimeCoordinatorExecutionEventSchema, ct as controllerAgentTaskHandleSchema, ei as updateAgentProfileDefaultProjectResponseSchema, et as spaceCallerContextSchema, fr as spaceTraceExecutionIdentityProjectionSchema, gn as updateSpaceFileEntryResponseSchema, hn as trashSpaceFileEntryResponseSchema, hr as spacePasswordSchema, ii as MAX_TEXT_LENGTH$1, in as spaceComposerUploadIdSchema, ir as postSpaceWakeStopResponseSchema, it as agentTaskHandleSchema, jn as targetWakeLifecycleIdentitySchema, jt as spaceAttachmentSizeBytesSchema, kn as workingLanguageTagSchema, kr as agentProfileWorkRecoveryActionKindSchema, kt as spaceAttachmentFileNameSchema, ln as spaceFileMimeTypeSchema, lr as runtimeCoordinatorExecutionRecordSchema, lt as spaceWakeAgentTaskHandleSchema, mn as stageSpaceComposerUploadResponseSchema, mr as normalizeSpacePasswordText, n as daemonExecutionCompatibilitySchema, nn as restoreSpaceFileRevisionResponseSchema, nr as agentInteractionResponseSchema, nt as agentTaskCompletionConditionSchema, on as spaceFileClientMutationIdSchema, ot as areAgentTaskTerminalOutcomesEqual, pn as spaceMessageFileReferencesSchema, pr as SPACE_PASSWORD_RATE_LIMITED_ERROR_CODE, q as openMeldDaemonTaskResultProjectFailureContextSchema, qn as spaceAgentStreamDeltaFrameSchema, qt as discardSpaceComposerUploadResponseSchema, ri as openMeldRequestContextSchema, rn as spaceComposerUploadDescriptorSchema, rr as postSpaceWakeStopBodySchema, rt as agentTaskCompletionObservationSchema, sn as spaceFileDescriptorSchema, sr as runtimeCoordinatorExecutionCreationDiagnosticSchema, st as buildAgentTaskKey, t as CURRENT_DAEMON_EXECUTION_CONTRACT_EPOCH, ti as updateProfileResponseSchema, tn as restoreSpaceFileEntryResponseSchema, tt as agentDelegationSnapshotSchema, un as spaceFileNameSchema, vn as spaceThreadContextSchema, vr as spaceMentionLabelSchema, wn as resultArchivePolicySchema, wt as signalTextDataSchema, xn as spaceThreadSignalPlacementSchema, xr as organizationProtectedInformationSchema, yn as spaceThreadEventSchema, yr as spaceMentionLabelSourceSchema, zn as computerSetupModeSchema, zt as spaceWorkHandoffSchema } from "./runtime-transport-D8G8sANa.js";
5
5
  import { n as cliBinaryManifestSchema } from "./cli-binary-manifest-DiUulkp0.js";
6
6
  import { A as profileWorkspaceModeSchema, E as profileKindSchema, F as trimmedStringFromUnknown, M as finiteIntegerNumber, N as nonEmptyTrimmedStringFromUnknown, O as profileSchema, P as optionalBooleanQuerySchema, S as agentProfileIdSchema, b as dispatchExecutionSchema, j as uuidProfileIdSchema, k as profileWorkingDirectorySchema, m as openMeldDaemonSyncRouteCatalogPayloadSchema, t as localAgentInstallationOptionSchema, w as openMeldRuntimeProfileIdSchema } from "./control-plane-Bpu7g9Av.js";
7
7
  import { A as coerce, B as number, C as openMeldToolsUpdateRequestResultSchema, E as NEVER, F as iso, G as string, H as preprocess, I as lazySchema, J as union, K as tuple, L as literal, M as email, N as enumFactory, O as array, P as int, R as neverFactory, U as record, V as object, W as strictObject, X as url, Y as unknown, _ as openMeldToolsMaintenanceProjectionSchema, c as localComponentUpdatePolicySchema, g as openMeldToolsMaintenanceMutationResultSchema, j as discriminatedUnion, k as boolean, l as localComponentUpdateProjectionSchema, q as undefinedFactory, u as localComponentUpdateStatusSchema, x as openMeldToolsUpdateOperationSchema, z as nullFactory } from "./local-components-B6SCXZf9.js";
@@ -1531,7 +1531,7 @@ function encodeConversationIdPart(value) {
1531
1531
  }
1532
1532
  //#endregion
1533
1533
  //#region ../../packages/schemas/dist/schemas/http/inbox.js
1534
- const identifierSchema$3 = string().trim().min(1).max(256);
1534
+ const identifierSchema$4 = string().trim().min(1).max(256);
1535
1535
  const timestampMsSchema$5 = number().int().nonnegative();
1536
1536
  const isoDateTimeSchema$7 = iso.datetime({ offset: true });
1537
1537
  const titleSchema$1 = string().trim().min(1).max(160);
@@ -1550,6 +1550,44 @@ const inboxViewSchema = enumFactory([
1550
1550
  const inboxPresentationSchema = enumFactory(["attention"]);
1551
1551
  const inboxAttentionSchema = enumFactory(["update", "action_required"]);
1552
1552
  const inboxImportanceSchema = enumFactory(["normal", "urgent"]);
1553
+ const inboxRecipientReasonSchema = enumFactory([
1554
+ "human_mention",
1555
+ "thread_reply",
1556
+ "requester",
1557
+ "direct_message",
1558
+ "space_member",
1559
+ "agent_owner",
1560
+ "device_owner"
1561
+ ]);
1562
+ const inboxAgentProfileIdsSchema = array(identifierSchema$4).max(100);
1563
+ /** Source-owned relevance, not authorization or notification-channel consent. */
1564
+ const inboxSourceFactsSchema = strictObject({
1565
+ version: literal(1),
1566
+ agentProfileIds: inboxAgentProfileIdsSchema.optional(),
1567
+ personalAgentProfileIds: inboxAgentProfileIdsSchema.optional(),
1568
+ mentionedAgentProfileIds: inboxAgentProfileIdsSchema.optional(),
1569
+ firstContactAgentProfileIds: inboxAgentProfileIdsSchema.optional(),
1570
+ recipientReasons: array(inboxRecipientReasonSchema).min(1).max(7),
1571
+ requestCategory: enumFactory(["action", "review"]).optional()
1572
+ }).superRefine((facts, context) => {
1573
+ const agents = new Set(facts.agentProfileIds ?? []);
1574
+ const personalAgents = new Set(facts.personalAgentProfileIds ?? []);
1575
+ for (const field of ["personalAgentProfileIds", "mentionedAgentProfileIds"]) if (facts[field]?.some((id) => !agents.has(id))) context.addIssue({
1576
+ code: "custom",
1577
+ message: "Agent relevance must name an actual Agent in this event.",
1578
+ path: [field]
1579
+ });
1580
+ if (facts.firstContactAgentProfileIds?.some((id) => !personalAgents.has(id))) context.addIssue({
1581
+ code: "custom",
1582
+ message: "First contact must name the recipient's personal Agent.",
1583
+ path: ["firstContactAgentProfileIds"]
1584
+ });
1585
+ if (personalAgents.size > 0 && !facts.recipientReasons.includes("agent_owner")) context.addIssue({
1586
+ code: "custom",
1587
+ message: "Personal Agent relevance requires an owner relationship.",
1588
+ path: ["recipientReasons"]
1589
+ });
1590
+ });
1553
1591
  const inboxResolutionStatusSchema = enumFactory([
1554
1592
  "not_applicable",
1555
1593
  "open",
@@ -1564,7 +1602,9 @@ const inboxItemWireKindSchema = union([enumFactory([
1564
1602
  "center_agent_update",
1565
1603
  "document_review",
1566
1604
  "organization_request",
1567
- "system_issue"
1605
+ "system_issue",
1606
+ "computer_connection",
1607
+ "desktop_update"
1568
1608
  ]), literal("space_reference")]);
1569
1609
  const inboxSourceKindSchema = enumFactory([
1570
1610
  "space_signal",
@@ -1575,7 +1615,9 @@ const inboxSourceKindSchema = enumFactory([
1575
1615
  "organization_opportunity",
1576
1616
  "organization_member_request",
1577
1617
  "agent_profile_work_recovery",
1578
- "system_attention_event"
1618
+ "system_attention_event",
1619
+ "computer_connection",
1620
+ "desktop_update"
1579
1621
  ]);
1580
1622
  const centerAgentRequestMemberAttentionBodySchema = strictObject({
1581
1623
  impact: enumFactory([
@@ -1584,19 +1626,19 @@ const centerAgentRequestMemberAttentionBodySchema = strictObject({
1584
1626
  "material_failure_risk"
1585
1627
  ]),
1586
1628
  prompt: previewSchema,
1587
- submissionId: identifierSchema$3,
1629
+ submissionId: identifierSchema$4,
1588
1630
  title: titleSchema$1
1589
1631
  });
1590
1632
  strictObject({
1591
1633
  importance: inboxImportanceSchema,
1592
1634
  instruction: string().trim().min(1).max(500),
1593
- organizationId: identifierSchema$3,
1594
- requestId: identifierSchema$3
1635
+ organizationId: identifierSchema$4,
1636
+ requestId: identifierSchema$4
1595
1637
  });
1596
1638
  const centerAgentInboxSourceTargetSchema = strictObject({
1597
1639
  kind: literal("center_agent"),
1598
- signalId: identifierSchema$3.optional(),
1599
- spaceId: identifierSchema$3.optional()
1640
+ signalId: identifierSchema$4.optional(),
1641
+ spaceId: identifierSchema$4.optional()
1600
1642
  }).superRefine((target, context) => {
1601
1643
  if (target.signalId === void 0 !== (target.spaceId === void 0)) context.addIssue({
1602
1644
  code: "custom",
@@ -1604,46 +1646,75 @@ const centerAgentInboxSourceTargetSchema = strictObject({
1604
1646
  });
1605
1647
  });
1606
1648
  const slackInboxSourceTargetSchema = strictObject({
1607
- channelId: identifierSchema$3,
1649
+ channelId: identifierSchema$4,
1608
1650
  kind: literal("message_channel"),
1609
- messageId: identifierSchema$3,
1651
+ messageId: identifierSchema$4,
1610
1652
  permalink: slackMessagePermalinkSchema,
1611
1653
  provider: literal("slack"),
1612
- teamId: identifierSchema$3,
1613
- threadRootMessageId: identifierSchema$3
1654
+ teamId: identifierSchema$4,
1655
+ threadRootMessageId: identifierSchema$4
1614
1656
  });
1615
1657
  const inboxSourceTargetSchema = discriminatedUnion("kind", [
1658
+ strictObject({
1659
+ kind: literal("computer_connection"),
1660
+ computerId: identifierSchema$4,
1661
+ deviceId: identifierSchema$4,
1662
+ incidentId: identifierSchema$4,
1663
+ lane: daemonServiceLaneSchema,
1664
+ state: enumFactory([
1665
+ "disconnected",
1666
+ "restored",
1667
+ "deactivated"
1668
+ ])
1669
+ }),
1670
+ strictObject({
1671
+ kind: literal("desktop_update"),
1672
+ installationId: identifierSchema$4,
1673
+ lane: daemonServiceLaneSchema,
1674
+ deviceName: string().trim().min(1).max(120),
1675
+ version: string().trim().min(1).max(100),
1676
+ platform: enumFactory([
1677
+ "darwin",
1678
+ "win32",
1679
+ "linux"
1680
+ ]),
1681
+ state: enumFactory([
1682
+ "available",
1683
+ "installed",
1684
+ "superseded"
1685
+ ])
1686
+ }),
1616
1687
  strictObject({
1617
1688
  kind: literal("organization_join_request"),
1618
- requestId: identifierSchema$3
1689
+ requestId: identifierSchema$4
1619
1690
  }),
1620
1691
  strictObject({
1621
1692
  kind: literal("agent_profile"),
1622
- profileId: identifierSchema$3
1693
+ profileId: identifierSchema$4
1623
1694
  }),
1624
1695
  strictObject({
1625
1696
  kind: literal("agent_profile_creation_request"),
1626
- requestId: identifierSchema$3
1697
+ requestId: identifierSchema$4
1627
1698
  }),
1628
1699
  strictObject({
1629
1700
  kind: literal("space"),
1630
1701
  directMessage: boolean().optional(),
1631
1702
  agentOwnerActivity: boolean().optional(),
1632
1703
  replyToRecipient: boolean().optional(),
1633
- signalId: identifierSchema$3.optional(),
1634
- spaceId: identifierSchema$3,
1635
- threadRootSignalId: identifierSchema$3.optional()
1704
+ signalId: identifierSchema$4.optional(),
1705
+ spaceId: identifierSchema$4,
1706
+ threadRootSignalId: identifierSchema$4.optional()
1636
1707
  }),
1637
1708
  strictObject({
1638
- interactionId: identifierSchema$3,
1709
+ interactionId: identifierSchema$4,
1639
1710
  kind: literal("agent_interaction"),
1640
- runtimeCoordinatorExecutionId: identifierSchema$3,
1641
- sourceSignalId: identifierSchema$3.optional(),
1642
- spaceId: identifierSchema$3,
1643
- threadRootSignalId: identifierSchema$3.nullable().optional()
1711
+ runtimeCoordinatorExecutionId: identifierSchema$4,
1712
+ sourceSignalId: identifierSchema$4.optional(),
1713
+ spaceId: identifierSchema$4,
1714
+ threadRootSignalId: identifierSchema$4.nullable().optional()
1644
1715
  }),
1645
1716
  strictObject({
1646
- documentId: identifierSchema$3,
1717
+ documentId: identifierSchema$4,
1647
1718
  kind: literal("organization_document")
1648
1719
  }),
1649
1720
  slackInboxSourceTargetSchema,
@@ -1661,19 +1732,26 @@ const inboxItemWireSchema = strictObject({
1661
1732
  attention: inboxAttentionSchema,
1662
1733
  contextLabel: contextLabelSchema.nullable(),
1663
1734
  createdAt: isoDateTimeSchema$7,
1664
- id: identifierSchema$3,
1735
+ id: identifierSchema$4,
1665
1736
  importance: inboxImportanceSchema,
1666
1737
  kind: inboxItemWireKindSchema,
1667
1738
  occurredAt: isoDateTimeSchema$7,
1668
- organizationId: identifierSchema$3,
1739
+ organizationId: identifierSchema$4.nullable(),
1669
1740
  preview: previewSchema,
1670
1741
  readAt: isoDateTimeSchema$7.nullable(),
1671
- recipientUserId: identifierSchema$3,
1742
+ recipientUserId: identifierSchema$4,
1672
1743
  resolutionStatus: inboxResolutionStatusSchema,
1744
+ sourceFacts: inboxSourceFactsSchema.optional(),
1673
1745
  sourceTarget: inboxSourceTargetSchema,
1674
1746
  title: titleSchema$1,
1675
1747
  updatedAt: isoDateTimeSchema$7
1676
1748
  }).superRefine((item, context) => {
1749
+ const accountTarget = item.sourceTarget.kind === "computer_connection" || item.sourceTarget.kind === "desktop_update";
1750
+ if (item.organizationId === null !== accountTarget || accountTarget && item.kind !== item.sourceTarget.kind) context.addIssue({
1751
+ code: "custom",
1752
+ message: "Account Inbox scope is reserved for a matching typed device event.",
1753
+ path: ["organizationId"]
1754
+ });
1677
1755
  if (!(item.attention === "update" ? item.resolutionStatus === "not_applicable" : item.resolutionStatus === "open" || item.resolutionStatus === "resolved")) context.addIssue({
1678
1756
  code: "custom",
1679
1757
  message: "Inbox resolution status must match its attention class.",
@@ -1695,15 +1773,19 @@ const inboxSummaryQuerySchema = strictObject({ presentation: inboxPresentationSc
1695
1773
  const listInboxItemsResponseSchema = strictObject({
1696
1774
  items: array(inboxItemSchema),
1697
1775
  nextCursor: string().min(1).max(1024).nullable(),
1698
- organizationId: identifierSchema$3
1776
+ organizationId: identifierSchema$4
1699
1777
  });
1700
1778
  strictObject({
1701
1779
  items: array(inboxItemWireSchema),
1702
1780
  nextCursor: string().min(1).max(1024).nullable(),
1703
- organizationId: identifierSchema$3
1781
+ organizationId: identifierSchema$4
1704
1782
  });
1705
1783
  const inboxSummaryResponseSchema = strictObject({
1706
- organizationId: identifierSchema$3,
1784
+ priorityCount: number().int().nonnegative().optional(),
1785
+ needsActionCount: number().int().nonnegative().optional(),
1786
+ needsReviewCount: number().int().nonnegative().optional(),
1787
+ unreadPriorityUpdateCount: number().int().nonnegative().optional(),
1788
+ organizationId: identifierSchema$4,
1707
1789
  totalUnreadCount: number().int().nonnegative(),
1708
1790
  unresolvedActionCount: number().int().nonnegative(),
1709
1791
  unreadUrgentUpdateCount: number().int().nonnegative().optional(),
@@ -1711,12 +1793,12 @@ const inboxSummaryResponseSchema = strictObject({
1711
1793
  ordinaryUnreadCount: number().int().nonnegative().optional()
1712
1794
  });
1713
1795
  const centerAgentInboxSummaryResponseSchema = strictObject({
1714
- organizationId: identifierSchema$3,
1796
+ organizationId: identifierSchema$4,
1715
1797
  unreadCount: number().int().nonnegative()
1716
1798
  });
1717
1799
  const spaceInboxSummaryItemSchema = strictObject({
1718
1800
  latestUnreadOccurredAtMs: timestampMsSchema$5,
1719
- spaceId: identifierSchema$3,
1801
+ spaceId: identifierSchema$4,
1720
1802
  unreadCount: number().int().positive()
1721
1803
  });
1722
1804
  const spaceInboxSummaryResponseSchema = strictObject({
@@ -1724,29 +1806,29 @@ const spaceInboxSummaryResponseSchema = strictObject({
1724
1806
  chatUnresolvedActionCount: number().int().nonnegative().optional(),
1725
1807
  chatUnreadUrgentUpdateCount: number().int().nonnegative().optional(),
1726
1808
  attention: array(strictObject({
1727
- spaceId: identifierSchema$3,
1809
+ spaceId: identifierSchema$4,
1728
1810
  unresolvedActionCount: number().int().nonnegative(),
1729
1811
  unreadUrgentUpdateCount: number().int().nonnegative()
1730
1812
  })).optional(),
1731
1813
  ordinarySpaceUnreadCount: number().int().nonnegative().optional(),
1732
- organizationId: identifierSchema$3,
1814
+ organizationId: identifierSchema$4,
1733
1815
  spaces: array(spaceInboxSummaryItemSchema).max(500)
1734
1816
  });
1735
1817
  const spaceInboxUnreadTargetSchema = strictObject({
1736
1818
  occurredAtMs: timestampMsSchema$5,
1737
- signalId: identifierSchema$3,
1738
- threadRootSignalId: identifierSchema$3.nullable()
1819
+ signalId: identifierSchema$4,
1820
+ threadRootSignalId: identifierSchema$4.nullable()
1739
1821
  });
1740
1822
  const spaceInboxUnreadTargetsResponseSchema = strictObject({
1741
1823
  hasMoreTargets: boolean(),
1742
- organizationId: identifierSchema$3,
1743
- spaceId: identifierSchema$3,
1824
+ organizationId: identifierSchema$4,
1825
+ spaceId: identifierSchema$4,
1744
1826
  targets: array(spaceInboxUnreadTargetSchema).max(500),
1745
1827
  totalUnreadCount: number().int().nonnegative()
1746
1828
  });
1747
- const spaceInboxUnreadTargetsRouteParamsSchema = strictObject({ spaceId: identifierSchema$3 });
1829
+ const spaceInboxUnreadTargetsRouteParamsSchema = strictObject({ spaceId: identifierSchema$4 });
1748
1830
  const markCenterAgentInboxReadThroughBodySchema = strictObject({
1749
- spaceId: identifierSchema$3,
1831
+ spaceId: identifierSchema$4,
1750
1832
  throughOccurredAtMs: timestampMsSchema$5
1751
1833
  });
1752
1834
  const markCenterAgentInboxReadThroughResponseSchema = strictObject({
@@ -1754,8 +1836,8 @@ const markCenterAgentInboxReadThroughResponseSchema = strictObject({
1754
1836
  readThroughAt: isoDateTimeSchema$7
1755
1837
  });
1756
1838
  const markSpaceInboxReadThroughBodySchema = strictObject({
1757
- spaceId: identifierSchema$3,
1758
- threadRootSignalId: identifierSchema$3.optional(),
1839
+ spaceId: identifierSchema$4,
1840
+ threadRootSignalId: identifierSchema$4.optional(),
1759
1841
  throughOccurredAtMs: timestampMsSchema$5
1760
1842
  });
1761
1843
  const markSpaceInboxReadThroughResponseSchema = strictObject({
@@ -1773,10 +1855,10 @@ const inboxConversationNotificationModeSchema = enumFactory([
1773
1855
  "mentions_and_replies",
1774
1856
  "muted"
1775
1857
  ]);
1776
- const inboxMessageNotificationPreferencesQuerySchema = strictObject({ spaceId: identifierSchema$3.optional() });
1858
+ const inboxMessageNotificationPreferencesQuerySchema = strictObject({ spaceId: identifierSchema$4.optional() });
1777
1859
  const inboxMessageNotificationPreferencesResponseSchema = strictObject({
1778
- organizationId: identifierSchema$3,
1779
- spaceId: identifierSchema$3.nullable(),
1860
+ organizationId: identifierSchema$4,
1861
+ spaceId: identifierSchema$4.nullable(),
1780
1862
  defaultMode: inboxMessageNotificationModeSchema,
1781
1863
  overrideMode: inboxConversationNotificationModeSchema.nullable(),
1782
1864
  effectiveMode: inboxConversationNotificationModeSchema
@@ -1786,7 +1868,7 @@ const updateInboxMessageNotificationPreferencesBodySchema = discriminatedUnion("
1786
1868
  mode: inboxMessageNotificationModeSchema
1787
1869
  }), strictObject({
1788
1870
  scope: literal("conversation"),
1789
- spaceId: identifierSchema$3,
1871
+ spaceId: identifierSchema$4,
1790
1872
  mode: inboxConversationNotificationModeSchema.nullable()
1791
1873
  })]);
1792
1874
  inboxMessageNotificationPreferencesQuerySchema.extend({ context: openMeldRequestContextSchema });
@@ -1794,10 +1876,10 @@ strictObject({
1794
1876
  context: openMeldRequestContextSchema,
1795
1877
  preference: updateInboxMessageNotificationPreferencesBodySchema
1796
1878
  });
1797
- const inboxItemRouteParamsSchema = strictObject({ itemId: identifierSchema$3 });
1879
+ const inboxItemRouteParamsSchema = strictObject({ itemId: identifierSchema$4 });
1798
1880
  const getInboxItemResponseSchema = strictObject({ item: inboxItemSchema });
1799
1881
  strictObject({ item: inboxItemWireSchema });
1800
- const dismissInboxItemResponseSchema = strictObject({ dismissedItemId: identifierSchema$3 });
1882
+ const dismissInboxItemResponseSchema = strictObject({ dismissedItemId: identifierSchema$4 });
1801
1883
  const markInboxItemReadBodySchema = strictObject({ read: boolean() });
1802
1884
  const markInboxItemReadResponseSchema = strictObject({ item: inboxItemSchema });
1803
1885
  strictObject({ item: inboxItemWireSchema });
@@ -1809,11 +1891,12 @@ strictObject({
1809
1891
  importance: inboxImportanceSchema,
1810
1892
  kind: inboxItemWireKindSchema,
1811
1893
  occurredAtMs: timestampMsSchema$5,
1812
- organizationId: identifierSchema$3,
1894
+ organizationId: identifierSchema$4,
1813
1895
  preview: previewSchema,
1814
- recipientUserId: identifierSchema$3,
1815
- sourceKey: identifierSchema$3,
1896
+ recipientUserId: identifierSchema$4,
1897
+ sourceKey: identifierSchema$4,
1816
1898
  sourceKind: inboxSourceKindSchema,
1899
+ sourceFacts: inboxSourceFactsSchema.optional(),
1817
1900
  sourceTarget: inboxSourceTargetSchema,
1818
1901
  title: titleSchema$1
1819
1902
  }).transform((candidate) => ({
@@ -1825,29 +1908,39 @@ function normalizeInboxItemWireKind(kind) {
1825
1908
  }
1826
1909
  listInboxItemsQuerySchema.extend({
1827
1910
  context: openMeldRequestContextSchema,
1828
- includeReplyToRecipient: boolean().optional()
1911
+ includeReplyToRecipient: boolean().optional(),
1912
+ includeSourceFacts: boolean().optional(),
1913
+ includeAccountItems: boolean().optional()
1829
1914
  });
1830
1915
  strictObject({
1831
1916
  context: openMeldRequestContextSchema,
1917
+ includeAccountItems: boolean().optional(),
1832
1918
  presentation: inboxPresentationSchema.optional()
1833
1919
  });
1834
1920
  strictObject({ context: openMeldRequestContextSchema });
1835
1921
  strictObject({ context: openMeldRequestContextSchema });
1836
1922
  strictObject({
1837
1923
  context: openMeldRequestContextSchema,
1838
- spaceId: identifierSchema$3
1924
+ spaceId: identifierSchema$4
1839
1925
  });
1840
1926
  markCenterAgentInboxReadThroughBodySchema.extend({ context: openMeldRequestContextSchema });
1841
1927
  markSpaceInboxReadThroughBodySchema.extend({ context: openMeldRequestContextSchema });
1842
1928
  inboxItemRouteParamsSchema.extend({
1843
1929
  context: openMeldRequestContextSchema,
1844
- includeReplyToRecipient: boolean().optional()
1930
+ includeReplyToRecipient: boolean().optional(),
1931
+ includeSourceFacts: boolean().optional(),
1932
+ includeAccountItems: boolean().optional()
1933
+ });
1934
+ inboxItemRouteParamsSchema.extend({
1935
+ context: openMeldRequestContextSchema,
1936
+ includeAccountItems: boolean().optional()
1845
1937
  });
1846
- inboxItemRouteParamsSchema.extend({ context: openMeldRequestContextSchema });
1847
1938
  markInboxItemReadBodySchema.extend({
1848
1939
  context: openMeldRequestContextSchema,
1849
1940
  includeReplyToRecipient: boolean().optional(),
1850
- itemId: identifierSchema$3
1941
+ includeSourceFacts: boolean().optional(),
1942
+ includeAccountItems: boolean().optional(),
1943
+ itemId: identifierSchema$4
1851
1944
  });
1852
1945
  strictObject({
1853
1946
  context: openMeldRequestContextSchema,
@@ -5030,7 +5123,7 @@ const ORGANIZATION_SKILL_ERROR_CODES = [
5030
5123
  "organization_skill.unsafe_bundle",
5031
5124
  "organization_skill.version_conflict"
5032
5125
  ];
5033
- const identifierSchema$2 = string().trim().min(1).max(256);
5126
+ const identifierSchema$3 = string().trim().min(1).max(256);
5034
5127
  const isoDateTimeSchema$6 = iso.datetime({ offset: true });
5035
5128
  const digestSchema = string().regex(/^[a-f0-9]{64}$/);
5036
5129
  const skillNameSchema = string().trim().min(1).max(64).regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/, "Skill names use lowercase letters, numbers, and single hyphens.");
@@ -5126,9 +5219,9 @@ const organizationSkillBundleSchema = strictObject({
5126
5219
  });
5127
5220
  const organizationSkillReleaseSummarySchema = strictObject({
5128
5221
  createdAt: isoDateTimeSchema$6,
5129
- createdByUserId: identifierSchema$2,
5222
+ createdByUserId: identifierSchema$3,
5130
5223
  digest: digestSchema,
5131
- id: identifierSchema$2,
5224
+ id: identifierSchema$3,
5132
5225
  source: organizationSkillSourceSchema
5133
5226
  });
5134
5227
  const organizationSkillPermissionsSchema = strictObject({
@@ -5140,9 +5233,9 @@ const organizationSkillSummarySchema = strictObject({
5140
5233
  createdAt: isoDateTimeSchema$6,
5141
5234
  description: descriptionSchema,
5142
5235
  enabled: boolean(),
5143
- id: identifierSchema$2,
5236
+ id: identifierSchema$3,
5144
5237
  name: skillNameSchema,
5145
- organizationId: identifierSchema$2,
5238
+ organizationId: identifierSchema$3,
5146
5239
  permissions: organizationSkillPermissionsSchema,
5147
5240
  source: organizationSkillSourceSchema,
5148
5241
  updatedAt: isoDateTimeSchema$6,
@@ -5150,60 +5243,69 @@ const organizationSkillSummarySchema = strictObject({
5150
5243
  });
5151
5244
  const organizationSkillSchema = organizationSkillSummarySchema.extend({
5152
5245
  bundle: organizationSkillBundleSchema,
5153
- maintainerUserIds: array(identifierSchema$2),
5246
+ maintainerUserIds: array(identifierSchema$3),
5154
5247
  releases: array(organizationSkillReleaseSummarySchema)
5155
5248
  });
5156
5249
  strictObject({});
5157
5250
  const listOrganizationSkillsResponseSchema = strictObject({
5158
5251
  canManage: boolean(),
5159
- organizationId: identifierSchema$2,
5252
+ organizationId: identifierSchema$3,
5160
5253
  skills: array(organizationSkillSummarySchema)
5161
5254
  });
5162
- const organizationSkillRouteParamsSchema = strictObject({ skillId: identifierSchema$2 });
5163
- const getOrganizationSkillResponseSchema = strictObject({ skill: organizationSkillSchema });
5255
+ const organizationSkillRouteParamsSchema = strictObject({ skillId: identifierSchema$3 });
5256
+ const organizationSkillRuntimeReleaseSchema = strictObject({
5257
+ bundle: organizationSkillBundleSchema,
5258
+ digest: digestSchema,
5259
+ releaseId: identifierSchema$3,
5260
+ skillId: identifierSchema$3
5261
+ });
5262
+ const getOrganizationSkillResponseSchema = strictObject({
5263
+ skill: organizationSkillSchema,
5264
+ selectedRelease: organizationSkillRuntimeReleaseSchema.optional()
5265
+ });
5164
5266
  const createOrganizationSkillBodySchema = strictObject({
5165
5267
  description: descriptionSchema,
5166
- expectedOrganizationId: identifierSchema$2,
5268
+ expectedOrganizationId: identifierSchema$3,
5167
5269
  instructions: instructionsSchema,
5168
5270
  name: skillNameSchema
5169
5271
  });
5170
5272
  const createOrganizationSkillResponseSchema = strictObject({ skill: organizationSkillSchema });
5171
5273
  const updateOrganizationSkillBodySchema = strictObject({
5172
5274
  bundle: organizationSkillBundleSchema,
5173
- expectedActiveReleaseId: identifierSchema$2,
5174
- expectedOrganizationId: identifierSchema$2,
5275
+ expectedActiveReleaseId: identifierSchema$3,
5276
+ expectedOrganizationId: identifierSchema$3,
5175
5277
  expectedVersion: number().int().positive()
5176
5278
  });
5177
5279
  const updateOrganizationSkillResponseSchema = strictObject({ skill: organizationSkillSchema });
5178
5280
  const setOrganizationSkillEnabledBodySchema = strictObject({
5179
5281
  enabled: boolean(),
5180
- expectedOrganizationId: identifierSchema$2,
5282
+ expectedOrganizationId: identifierSchema$3,
5181
5283
  expectedVersion: number().int().positive()
5182
5284
  });
5183
5285
  const setOrganizationSkillEnabledResponseSchema = strictObject({ skill: organizationSkillSchema });
5184
5286
  const setOrganizationSkillMaintainersBodySchema = strictObject({
5185
- expectedOrganizationId: identifierSchema$2,
5287
+ expectedOrganizationId: identifierSchema$3,
5186
5288
  expectedVersion: number().int().positive(),
5187
- maintainerUserIds: array(identifierSchema$2).max(100)
5289
+ maintainerUserIds: array(identifierSchema$3).max(100)
5188
5290
  });
5189
5291
  const setOrganizationSkillMaintainersResponseSchema = strictObject({ skill: organizationSkillSchema });
5190
5292
  const deleteOrganizationSkillBodySchema = strictObject({
5191
- expectedOrganizationId: identifierSchema$2,
5293
+ expectedOrganizationId: identifierSchema$3,
5192
5294
  expectedVersion: number().int().positive()
5193
5295
  });
5194
5296
  const deleteOrganizationSkillResponseSchema = strictObject({
5195
5297
  deleted: literal(true),
5196
- organizationId: identifierSchema$2,
5197
- skillId: identifierSchema$2
5298
+ organizationId: identifierSchema$3,
5299
+ skillId: identifierSchema$3
5198
5300
  });
5199
5301
  const importOrganizationSkillFromGitHubBodySchema = strictObject({
5200
5302
  expectedCommitSha: string().regex(/^[a-f0-9]{40}$/).optional(),
5201
- expectedOrganizationId: identifierSchema$2,
5303
+ expectedOrganizationId: identifierSchema$3,
5202
5304
  url: sourceUrlSchema
5203
5305
  });
5204
5306
  const importOrganizationSkillFromGitHubResponseSchema = strictObject({ skill: organizationSkillSchema });
5205
5307
  const previewOrganizationSkillFromGitHubBodySchema = strictObject({
5206
- expectedOrganizationId: identifierSchema$2,
5308
+ expectedOrganizationId: identifierSchema$3,
5207
5309
  url: sourceUrlSchema
5208
5310
  });
5209
5311
  const organizationSkillGitHubPreviewSchema = strictObject({
@@ -5219,7 +5321,7 @@ const organizationSkillGitHubPreviewSchema = strictObject({
5219
5321
  warnings: array(string().trim().min(1).max(1024))
5220
5322
  });
5221
5323
  const previewOrganizationSkillFromGitHubResponseSchema = strictObject({
5222
- organizationId: identifierSchema$2,
5324
+ organizationId: identifierSchema$3,
5223
5325
  preview: organizationSkillGitHubPreviewSchema
5224
5326
  });
5225
5327
  discriminatedUnion("action", [
@@ -5231,7 +5333,7 @@ discriminatedUnion("action", [
5231
5333
  strictObject({
5232
5334
  action: literal("get"),
5233
5335
  context: openMeldRequestContextSchema,
5234
- skillId: identifierSchema$2,
5336
+ skillId: identifierSchema$3,
5235
5337
  speakerMember: centerAgentToolSpeakerSchema
5236
5338
  }),
5237
5339
  strictObject({
@@ -5245,17 +5347,17 @@ discriminatedUnion("action", [
5245
5347
  strictObject({
5246
5348
  action: literal("list"),
5247
5349
  canManage: boolean(),
5248
- organizationId: identifierSchema$2,
5350
+ organizationId: identifierSchema$3,
5249
5351
  skills: array(organizationSkillSummarySchema)
5250
5352
  }),
5251
5353
  strictObject({
5252
5354
  action: literal("get"),
5253
- organizationId: identifierSchema$2,
5355
+ organizationId: identifierSchema$3,
5254
5356
  skill: organizationSkillSchema
5255
5357
  }),
5256
5358
  strictObject({
5257
5359
  action: literal("preview_github"),
5258
- organizationId: identifierSchema$2,
5360
+ organizationId: identifierSchema$3,
5259
5361
  preview: organizationSkillGitHubPreviewSchema
5260
5362
  })
5261
5363
  ]);
@@ -5275,50 +5377,45 @@ discriminatedUnion("action", [strictObject({
5275
5377
  })]);
5276
5378
  discriminatedUnion("action", [strictObject({
5277
5379
  action: literal("create"),
5278
- organizationId: identifierSchema$2,
5380
+ organizationId: identifierSchema$3,
5279
5381
  skill: organizationSkillSummarySchema
5280
5382
  }), strictObject({
5281
5383
  action: literal("import_github"),
5282
- organizationId: identifierSchema$2,
5384
+ organizationId: identifierSchema$3,
5283
5385
  skill: organizationSkillSummarySchema
5284
5386
  })]);
5285
- const organizationSkillRuntimeReleaseSchema = strictObject({
5286
- bundle: organizationSkillBundleSchema,
5287
- digest: digestSchema,
5288
- releaseId: identifierSchema$2,
5289
- skillId: identifierSchema$2
5290
- });
5291
5387
  const organizationSkillRuntimeReleaseSelectionSchema = strictObject({
5292
5388
  digest: digestSchema,
5293
5389
  name: skillNameSchema,
5294
- releaseId: identifierSchema$2,
5295
- skillId: identifierSchema$2
5390
+ releaseId: identifierSchema$3,
5391
+ skillId: identifierSchema$3
5296
5392
  });
5297
5393
  strictObject({
5298
- organizationId: identifierSchema$2,
5394
+ organizationId: identifierSchema$3,
5299
5395
  releases: array(organizationSkillRuntimeReleaseSchema).max(64)
5300
5396
  });
5301
5397
  strictObject({ context: openMeldRequestContextSchema });
5302
5398
  strictObject({
5303
5399
  context: openMeldRequestContextSchema,
5304
- skillId: identifierSchema$2
5400
+ skillId: identifierSchema$3,
5401
+ releaseId: identifierSchema$3.optional()
5305
5402
  });
5306
5403
  createOrganizationSkillBodySchema.extend({ context: openMeldRequestContextSchema });
5307
5404
  updateOrganizationSkillBodySchema.extend({
5308
5405
  context: openMeldRequestContextSchema,
5309
- skillId: identifierSchema$2
5406
+ skillId: identifierSchema$3
5310
5407
  });
5311
5408
  setOrganizationSkillEnabledBodySchema.extend({
5312
5409
  context: openMeldRequestContextSchema,
5313
- skillId: identifierSchema$2
5410
+ skillId: identifierSchema$3
5314
5411
  });
5315
5412
  setOrganizationSkillMaintainersBodySchema.extend({
5316
5413
  context: openMeldRequestContextSchema,
5317
- skillId: identifierSchema$2
5414
+ skillId: identifierSchema$3
5318
5415
  });
5319
5416
  deleteOrganizationSkillBodySchema.extend({
5320
5417
  context: openMeldRequestContextSchema,
5321
- skillId: identifierSchema$2
5418
+ skillId: identifierSchema$3
5322
5419
  });
5323
5420
  importOrganizationSkillFromGitHubBodySchema.extend({ context: openMeldRequestContextSchema });
5324
5421
  previewOrganizationSkillFromGitHubBodySchema.extend({ context: openMeldRequestContextSchema });
@@ -5330,10 +5427,10 @@ strictObject({
5330
5427
  strictObject({
5331
5428
  context: openMeldRequestContextSchema,
5332
5429
  digest: digestSchema,
5333
- releaseId: identifierSchema$2,
5334
- routineRunId: identifierSchema$2.nullable(),
5335
- skillId: identifierSchema$2,
5336
- submissionId: identifierSchema$2
5430
+ releaseId: identifierSchema$3,
5431
+ routineRunId: identifierSchema$3.nullable(),
5432
+ skillId: identifierSchema$3,
5433
+ submissionId: identifierSchema$3
5337
5434
  });
5338
5435
  strictObject({ recorded: boolean() });
5339
5436
  function isSafePortableSkillPath(value) {
@@ -5676,6 +5773,7 @@ z$1.enum([
5676
5773
  "legacy_nullable"
5677
5774
  ]);
5678
5775
  const postNormalMessageBodySchema = z$1.strictObject({
5776
+ workHandoffVersion: z$1.literal(1).optional(),
5679
5777
  text: signalTextRequestDataSchema.shape.text,
5680
5778
  deviceWait: signalTextRequestDataSchema.shape.deviceWait.optional(),
5681
5779
  contextSelection: signalTextRequestDataSchema.shape.contextSelection.optional(),
@@ -5685,7 +5783,8 @@ const postNormalMessageBodySchema = z$1.strictObject({
5685
5783
  replyTo: signalTextRequestDataSchema.shape.replyTo.optional(),
5686
5784
  meta: signalTextRequestDataSchema.shape.meta.optional()
5687
5785
  }).superRefine((value, ctx) => {
5688
- const parsed = signalTextRequestDataSchema.safeParse(value);
5786
+ const { workHandoffVersion: _workHandoffVersion, ...signalData } = value;
5787
+ const parsed = signalTextRequestDataSchema.safeParse(signalData);
5689
5788
  if (parsed.success) return;
5690
5789
  const firstIssue = parsed.error.issues[0];
5691
5790
  ctx.addIssue({
@@ -6375,7 +6474,7 @@ const organizationDocumentKindSchema = enumFactory([
6375
6474
  "knowledge"
6376
6475
  ]);
6377
6476
  const profileReportTypeSchema = enumFactory(["work_profile"]);
6378
- const identifierSchema$1 = string().trim().min(1).max(256);
6477
+ const identifierSchema$2 = string().trim().min(1).max(256);
6379
6478
  const titleSchema = string().trim().min(1).max(200);
6380
6479
  const folderNameSchema = string().trim().min(1).max(200);
6381
6480
  const contentSchema = string().max(ORGANIZATION_DOCUMENT_CONTENT_MAX_CHARS);
@@ -6383,25 +6482,25 @@ const isoDateTimeSchema$3 = iso.datetime({ offset: true });
6383
6482
  const operationIdSchema$1 = string().trim().min(1).max(256);
6384
6483
  const organizationDocumentFolderSchema = strictObject({
6385
6484
  createdAt: isoDateTimeSchema$3,
6386
- id: identifierSchema$1,
6485
+ id: identifierSchema$2,
6387
6486
  isManaged: boolean().default(false),
6388
6487
  name: folderNameSchema,
6389
- organizationId: identifierSchema$1,
6390
- parentFolderId: identifierSchema$1.nullable().optional(),
6488
+ organizationId: identifierSchema$2,
6489
+ parentFolderId: identifierSchema$2.nullable().optional(),
6391
6490
  updatedAt: isoDateTimeSchema$3
6392
6491
  });
6393
6492
  const organizationDocumentSummarySchema = strictObject({
6394
6493
  canEditContent: boolean(),
6395
6494
  canManage: boolean(),
6396
6495
  createdAt: isoDateTimeSchema$3,
6397
- folderId: identifierSchema$1.nullable(),
6496
+ folderId: identifierSchema$2.nullable(),
6398
6497
  hasDraft: boolean(),
6399
- id: identifierSchema$1,
6498
+ id: identifierSchema$2,
6400
6499
  kind: organizationDocumentKindSchema,
6401
- organizationId: identifierSchema$1,
6500
+ organizationId: identifierSchema$2,
6402
6501
  profileReportDate: iso.date().nullable().optional(),
6403
6502
  profileReportType: profileReportTypeSchema.nullable().optional(),
6404
- subjectUserId: identifierSchema$1.nullable(),
6503
+ subjectUserId: identifierSchema$2.nullable(),
6405
6504
  title: titleSchema,
6406
6505
  updatedAt: isoDateTimeSchema$3
6407
6506
  });
@@ -6414,19 +6513,19 @@ const organizationDocumentSchema = organizationDocumentSummarySchema.omit({ hasD
6414
6513
  strictObject({});
6415
6514
  const listOrganizationDocumentsResponseSchema = strictObject({
6416
6515
  canManage: boolean(),
6417
- currentUserId: identifierSchema$1,
6516
+ currentUserId: identifierSchema$2,
6418
6517
  documents: array(organizationDocumentSummarySchema),
6419
6518
  folders: array(organizationDocumentFolderSchema),
6420
- organizationId: identifierSchema$1
6519
+ organizationId: identifierSchema$2
6421
6520
  });
6422
- const organizationDocumentRouteParamsSchema = strictObject({ documentId: identifierSchema$1 });
6521
+ const organizationDocumentRouteParamsSchema = strictObject({ documentId: identifierSchema$2 });
6423
6522
  const getOrganizationDocumentResponseSchema = strictObject({ document: organizationDocumentSchema });
6424
6523
  const createOrganizationDocumentBodySchema = strictObject({
6425
6524
  content: contentSchema,
6426
- expectedOrganizationId: identifierSchema$1,
6427
- folderId: identifierSchema$1.nullable().optional(),
6525
+ expectedOrganizationId: identifierSchema$2,
6526
+ folderId: identifierSchema$2.nullable().optional(),
6428
6527
  kind: organizationDocumentKindSchema,
6429
- subjectUserId: identifierSchema$1.nullable().optional(),
6528
+ subjectUserId: identifierSchema$2.nullable().optional(),
6430
6529
  title: titleSchema.optional()
6431
6530
  }).superRefine(validateCreateDocumentShape);
6432
6531
  const createOrganizationDocumentResponseSchema = strictObject({ document: organizationDocumentSchema });
@@ -6434,8 +6533,8 @@ const updateOrganizationDocumentBodySchema = strictObject({
6434
6533
  content: contentSchema.optional(),
6435
6534
  expectedDocumentUpdatedAt: isoDateTimeSchema$3.optional(),
6436
6535
  expectedDraftCreatedAt: isoDateTimeSchema$3.nullable().optional(),
6437
- expectedOrganizationId: identifierSchema$1,
6438
- folderId: identifierSchema$1.nullable().optional(),
6536
+ expectedOrganizationId: identifierSchema$2,
6537
+ folderId: identifierSchema$2.nullable().optional(),
6439
6538
  title: titleSchema.optional()
6440
6539
  }).superRefine((value, context) => {
6441
6540
  if (value.content === void 0) return;
@@ -6451,71 +6550,71 @@ const updateOrganizationDocumentBodySchema = strictObject({
6451
6550
  });
6452
6551
  }).refine((value) => value.content !== void 0 || value.title !== void 0 || value.folderId !== void 0, { message: "At least one document field must be updated." });
6453
6552
  const updateOrganizationDocumentResponseSchema = strictObject({ document: organizationDocumentSchema });
6454
- const deleteOrganizationDocumentBodySchema = strictObject({ expectedOrganizationId: identifierSchema$1 });
6553
+ const deleteOrganizationDocumentBodySchema = strictObject({ expectedOrganizationId: identifierSchema$2 });
6455
6554
  const deleteOrganizationDocumentResponseSchema = strictObject({
6456
6555
  deleted: literal(true),
6457
- documentId: identifierSchema$1,
6458
- organizationId: identifierSchema$1
6556
+ documentId: identifierSchema$2,
6557
+ organizationId: identifierSchema$2
6459
6558
  });
6460
- const organizationDocumentFolderRouteParamsSchema = strictObject({ folderId: identifierSchema$1 });
6559
+ const organizationDocumentFolderRouteParamsSchema = strictObject({ folderId: identifierSchema$2 });
6461
6560
  const createOrganizationDocumentFolderBodySchema = strictObject({
6462
- expectedOrganizationId: identifierSchema$1,
6561
+ expectedOrganizationId: identifierSchema$2,
6463
6562
  name: folderNameSchema,
6464
- parentFolderId: identifierSchema$1.nullable().optional()
6563
+ parentFolderId: identifierSchema$2.nullable().optional()
6465
6564
  });
6466
6565
  const createOrganizationDocumentFolderResponseSchema = strictObject({ folder: organizationDocumentFolderSchema });
6467
6566
  const updateOrganizationDocumentFolderBodySchema = strictObject({
6468
- expectedOrganizationId: identifierSchema$1,
6567
+ expectedOrganizationId: identifierSchema$2,
6469
6568
  name: folderNameSchema.optional(),
6470
- parentFolderId: identifierSchema$1.nullable().optional()
6569
+ parentFolderId: identifierSchema$2.nullable().optional()
6471
6570
  }).refine((value) => Number(value.name !== void 0) + Number(value.parentFolderId !== void 0) === 1, { message: "Exactly one folder field must be updated." });
6472
6571
  const updateOrganizationDocumentFolderResponseSchema = strictObject({ folder: organizationDocumentFolderSchema });
6473
- const deleteOrganizationDocumentFolderBodySchema = strictObject({ expectedOrganizationId: identifierSchema$1 });
6572
+ const deleteOrganizationDocumentFolderBodySchema = strictObject({ expectedOrganizationId: identifierSchema$2 });
6474
6573
  const deleteOrganizationDocumentFolderResponseSchema = strictObject({
6475
6574
  deleted: literal(true),
6476
- folderId: identifierSchema$1,
6477
- organizationId: identifierSchema$1
6575
+ folderId: identifierSchema$2,
6576
+ organizationId: identifierSchema$2
6478
6577
  });
6479
6578
  const approveOrganizationDocumentDraftBodySchema = strictObject({
6480
6579
  expectedDraftCreatedAt: isoDateTimeSchema$3,
6481
- expectedOrganizationId: identifierSchema$1
6580
+ expectedOrganizationId: identifierSchema$2
6482
6581
  });
6483
6582
  const approveOrganizationDocumentDraftResponseSchema = strictObject({ document: organizationDocumentSchema });
6484
6583
  const discardOrganizationDocumentDraftBodySchema = strictObject({
6485
6584
  expectedDraftCreatedAt: isoDateTimeSchema$3,
6486
- expectedOrganizationId: identifierSchema$1
6585
+ expectedOrganizationId: identifierSchema$2
6487
6586
  });
6488
6587
  const discardOrganizationDocumentDraftResponseSchema = strictObject({ document: organizationDocumentSchema });
6489
6588
  strictObject({ context: openMeldRequestContextSchema });
6490
6589
  strictObject({
6491
6590
  context: openMeldRequestContextSchema,
6492
- documentId: identifierSchema$1
6591
+ documentId: identifierSchema$2
6493
6592
  });
6494
6593
  createOrganizationDocumentBodySchema.extend({ context: openMeldRequestContextSchema });
6495
6594
  updateOrganizationDocumentBodySchema.extend({
6496
6595
  context: openMeldRequestContextSchema,
6497
- documentId: identifierSchema$1
6596
+ documentId: identifierSchema$2
6498
6597
  });
6499
6598
  deleteOrganizationDocumentBodySchema.extend({
6500
6599
  context: openMeldRequestContextSchema,
6501
- documentId: identifierSchema$1
6600
+ documentId: identifierSchema$2
6502
6601
  });
6503
6602
  createOrganizationDocumentFolderBodySchema.extend({ context: openMeldRequestContextSchema });
6504
6603
  updateOrganizationDocumentFolderBodySchema.extend({
6505
6604
  context: openMeldRequestContextSchema,
6506
- folderId: identifierSchema$1
6605
+ folderId: identifierSchema$2
6507
6606
  });
6508
6607
  deleteOrganizationDocumentFolderBodySchema.extend({
6509
6608
  context: openMeldRequestContextSchema,
6510
- folderId: identifierSchema$1
6609
+ folderId: identifierSchema$2
6511
6610
  });
6512
6611
  approveOrganizationDocumentDraftBodySchema.extend({
6513
6612
  context: openMeldRequestContextSchema,
6514
- documentId: identifierSchema$1
6613
+ documentId: identifierSchema$2
6515
6614
  });
6516
6615
  discardOrganizationDocumentDraftBodySchema.extend({
6517
6616
  context: openMeldRequestContextSchema,
6518
- documentId: identifierSchema$1
6617
+ documentId: identifierSchema$2
6519
6618
  });
6520
6619
  discriminatedUnion("action", [strictObject({
6521
6620
  action: literal("list"),
@@ -6524,7 +6623,7 @@ discriminatedUnion("action", [strictObject({
6524
6623
  }), strictObject({
6525
6624
  action: literal("get"),
6526
6625
  context: openMeldRequestContextSchema,
6527
- documentId: identifierSchema$1,
6626
+ documentId: identifierSchema$2,
6528
6627
  speakerMember: centerAgentToolSpeakerSchema
6529
6628
  })]);
6530
6629
  discriminatedUnion("action", [strictObject({
@@ -6537,7 +6636,7 @@ discriminatedUnion("action", [strictObject({
6537
6636
  updatedAt: true
6538
6637
  })),
6539
6638
  folders: array(organizationDocumentFolderSchema),
6540
- organizationId: identifierSchema$1
6639
+ organizationId: identifierSchema$2
6541
6640
  }), strictObject({
6542
6641
  action: literal("get"),
6543
6642
  document: organizationDocumentSchema.pick({
@@ -6549,7 +6648,7 @@ discriminatedUnion("action", [strictObject({
6549
6648
  title: true,
6550
6649
  updatedAt: true
6551
6650
  }),
6552
- organizationId: identifierSchema$1
6651
+ organizationId: identifierSchema$2
6553
6652
  })]);
6554
6653
  const organizationDocumentComputerProjectionSchema = organizationDocumentSchema.pick({
6555
6654
  content: true,
@@ -6564,20 +6663,20 @@ strictObject({ context: openMeldRequestContextSchema });
6564
6663
  strictObject({
6565
6664
  documents: array(organizationDocumentComputerProjectionSchema),
6566
6665
  folders: array(organizationDocumentFolderSchema),
6567
- organizationId: identifierSchema$1,
6666
+ organizationId: identifierSchema$2,
6568
6667
  revision: string().regex(/^[a-f0-9]{64}$/u)
6569
6668
  });
6570
6669
  strictObject({
6571
6670
  context: openMeldRequestContextSchema,
6572
- documentId: identifierSchema$1.optional(),
6671
+ documentId: identifierSchema$2.optional(),
6573
6672
  draftContent: contentSchema,
6574
6673
  expectedDocumentUpdatedAt: isoDateTimeSchema$3.optional(),
6575
- folderId: identifierSchema$1.nullable().optional(),
6674
+ folderId: identifierSchema$2.nullable().optional(),
6576
6675
  kind: organizationDocumentKindSchema.optional(),
6577
6676
  memberResearchReport: centerAgentMemberResearchReportSchema.optional(),
6578
- memberResearchTaskId: identifierSchema$1.optional(),
6677
+ memberResearchTaskId: identifierSchema$2.optional(),
6579
6678
  speakerMember: centerAgentToolSpeakerSchema,
6580
- subjectUserId: identifierSchema$1.optional(),
6679
+ subjectUserId: identifierSchema$2.optional(),
6581
6680
  title: titleSchema.optional()
6582
6681
  }).superRefine(validateCenterAgentDraftTarget);
6583
6682
  strictObject({
@@ -6585,24 +6684,24 @@ strictObject({
6585
6684
  draftReplaced: boolean(),
6586
6685
  memberResearchDraft: strictObject({
6587
6686
  content: contentSchema,
6588
- documentId: identifierSchema$1,
6687
+ documentId: identifierSchema$2,
6589
6688
  profileReportFolderName: folderNameSchema,
6590
- subjectUserId: identifierSchema$1,
6689
+ subjectUserId: identifierSchema$2,
6591
6690
  title: titleSchema
6592
6691
  }).optional()
6593
6692
  });
6594
6693
  strictObject({
6595
6694
  context: openMeldRequestContextSchema,
6596
- documentId: identifierSchema$1,
6695
+ documentId: identifierSchema$2,
6597
6696
  path: string().trim().min(1).max(1024),
6598
- subjectUserId: identifierSchema$1,
6599
- taskId: identifierSchema$1
6697
+ subjectUserId: identifierSchema$2,
6698
+ taskId: identifierSchema$2
6600
6699
  });
6601
6700
  strictObject({
6602
- documentId: identifierSchema$1,
6701
+ documentId: identifierSchema$2,
6603
6702
  path: string().trim().min(1).max(1024),
6604
6703
  recorded: literal(true),
6605
- taskId: identifierSchema$1
6704
+ taskId: identifierSchema$2
6606
6705
  });
6607
6706
  const centerAgentOrganizationDocumentProjectionSchema = organizationDocumentSchema.pick({
6608
6707
  content: true,
@@ -6618,13 +6717,13 @@ discriminatedUnion("action", [
6618
6717
  context: openMeldRequestContextSchema,
6619
6718
  name: folderNameSchema,
6620
6719
  operationId: operationIdSchema$1,
6621
- parentFolderId: identifierSchema$1.nullable().optional(),
6720
+ parentFolderId: identifierSchema$2.nullable().optional(),
6622
6721
  speakerMember: centerAgentToolSpeakerSchema
6623
6722
  }),
6624
6723
  strictObject({
6625
6724
  action: literal("rename_folder"),
6626
6725
  context: openMeldRequestContextSchema,
6627
- folderId: identifierSchema$1,
6726
+ folderId: identifierSchema$2,
6628
6727
  name: folderNameSchema,
6629
6728
  operationId: operationIdSchema$1,
6630
6729
  speakerMember: centerAgentToolSpeakerSchema
@@ -6632,8 +6731,8 @@ discriminatedUnion("action", [
6632
6731
  strictObject({
6633
6732
  action: literal("move_document"),
6634
6733
  context: openMeldRequestContextSchema,
6635
- documentId: identifierSchema$1,
6636
- folderId: identifierSchema$1.nullable(),
6734
+ documentId: identifierSchema$2,
6735
+ folderId: identifierSchema$2.nullable(),
6637
6736
  operationId: operationIdSchema$1,
6638
6737
  speakerMember: centerAgentToolSpeakerSchema
6639
6738
  }),
@@ -6641,8 +6740,8 @@ discriminatedUnion("action", [
6641
6740
  action: literal("save_document"),
6642
6741
  content: contentSchema,
6643
6742
  context: openMeldRequestContextSchema,
6644
- documentId: identifierSchema$1.optional(),
6645
- folderId: identifierSchema$1.nullable().optional(),
6743
+ documentId: identifierSchema$2.optional(),
6744
+ folderId: identifierSchema$2.nullable().optional(),
6646
6745
  operationId: operationIdSchema$1,
6647
6746
  speakerMember: centerAgentToolSpeakerSchema,
6648
6747
  title: titleSchema.optional()
@@ -6658,22 +6757,22 @@ discriminatedUnion("action", [
6658
6757
  strictObject({
6659
6758
  action: literal("create_folder"),
6660
6759
  folder: organizationDocumentFolderSchema,
6661
- organizationId: identifierSchema$1
6760
+ organizationId: identifierSchema$2
6662
6761
  }),
6663
6762
  strictObject({
6664
6763
  action: literal("rename_folder"),
6665
6764
  folder: organizationDocumentFolderSchema,
6666
- organizationId: identifierSchema$1
6765
+ organizationId: identifierSchema$2
6667
6766
  }),
6668
6767
  strictObject({
6669
6768
  action: literal("move_document"),
6670
6769
  document: centerAgentOrganizationDocumentProjectionSchema,
6671
- organizationId: identifierSchema$1
6770
+ organizationId: identifierSchema$2
6672
6771
  }),
6673
6772
  strictObject({
6674
6773
  action: literal("save_document"),
6675
6774
  document: centerAgentOrganizationDocumentProjectionSchema,
6676
- organizationId: identifierSchema$1,
6775
+ organizationId: identifierSchema$2,
6677
6776
  outcome: enumFactory(["created", "updated"])
6678
6777
  })
6679
6778
  ]);
@@ -6685,7 +6784,7 @@ strictObject({
6685
6784
  briefContent: contentSchema.nullable(),
6686
6785
  documentTitles: array(titleSchema),
6687
6786
  organizationProtectedInformation: organizationProtectedInformationSchema.nullable().optional(),
6688
- organizationId: identifierSchema$1
6787
+ organizationId: identifierSchema$2
6689
6788
  });
6690
6789
  function validateCreateDocumentShape(value, context) {
6691
6790
  if (value.kind === "member_profile" && !value.subjectUserId) context.addIssue({
@@ -7216,18 +7315,18 @@ const accountSpaceIndexResponseSchema = z$1.strictObject({
7216
7315
  });
7217
7316
  //#endregion
7218
7317
  //#region ../../packages/schemas/dist/schemas/http/agent-profile-creation-request.js
7219
- const identifierSchema = z$1.string().trim().min(1).max(256);
7318
+ const identifierSchema$1 = z$1.string().trim().min(1).max(256);
7220
7319
  const profileNameSchema = z$1.string().trim().min(1).max(80);
7221
7320
  const isoDateTimeSchema$2 = z$1.iso.datetime({ offset: true });
7222
7321
  z$1.object({
7223
- requestId: identifierSchema.optional(),
7224
- idempotencyKey: identifierSchema.optional()
7322
+ requestId: identifierSchema$1.optional(),
7323
+ idempotencyKey: identifierSchema$1.optional()
7225
7324
  }).refine((value) => !(value.requestId && value.idempotencyKey), { message: "Select a request by its ID or idempotency key, not both." });
7226
7325
  z$1.strictObject({
7227
7326
  kind: z$1.literal("agent_profile_creation"),
7228
7327
  v: z$1.literal(1),
7229
- organizationId: identifierSchema,
7230
- requestId: identifierSchema
7328
+ organizationId: identifierSchema$1,
7329
+ requestId: identifierSchema$1
7231
7330
  });
7232
7331
  const agentProfileCreationApprovalPolicySchema = z$1.enum([
7233
7332
  "never_allow",
@@ -7267,8 +7366,8 @@ const agentProfileCreationRequestStatusReasonSchema = z$1.enum([
7267
7366
  const completeAgentProfileCreationConfigurationSchema = agentProfileCreationPreferenceSelectionSchema.safeExtend({
7268
7367
  agentControllerRef: agentControllerRefSchema.nullable(),
7269
7368
  authorizeForOrganization: z$1.boolean().optional().default(true),
7270
- localAgentConnectionCandidateId: identifierSchema.nullable().optional(),
7271
- targetComputerId: identifierSchema.nullable()
7369
+ localAgentConnectionCandidateId: identifierSchema$1.nullable().optional(),
7370
+ targetComputerId: identifierSchema$1.nullable()
7272
7371
  }).superRefine((configuration, context) => {
7273
7372
  const hasController = configuration.agentControllerRef !== null;
7274
7373
  const hasComputer = configuration.targetComputerId !== null;
@@ -7338,24 +7437,24 @@ const DEFAULT_AGENT_PROFILE_CREATION_CONFIGURATION = {
7338
7437
  targetComputerId: null
7339
7438
  };
7340
7439
  const agentProfileCreationRequestSchema = z$1.strictObject({
7341
- actorProfileId: identifierSchema,
7440
+ actorProfileId: identifierSchema$1,
7342
7441
  completedAt: isoDateTimeSchema$2.nullable(),
7343
7442
  configuration: agentProfileCreationConfigurationSchema,
7344
- createdAgentProfileId: identifierSchema.nullable(),
7443
+ createdAgentProfileId: identifierSchema$1.nullable(),
7345
7444
  createdAt: isoDateTimeSchema$2,
7346
7445
  decidedAt: isoDateTimeSchema$2.nullable(),
7347
- id: identifierSchema,
7446
+ id: identifierSchema$1,
7348
7447
  failureMessage: z$1.string().trim().min(1).max(1e3).nullable(),
7349
- nativeSessionId: identifierSchema.nullable(),
7350
- organizationId: identifierSchema,
7448
+ nativeSessionId: identifierSchema$1.nullable(),
7449
+ organizationId: identifierSchema$1,
7351
7450
  profileName: profileNameSchema,
7352
- requestedSpaceId: identifierSchema.nullable(),
7353
- requesterUserId: identifierSchema,
7451
+ requestedSpaceId: identifierSchema$1.nullable(),
7452
+ requesterUserId: identifierSchema$1,
7354
7453
  sessionStrategy: agentProfileCreationSessionStrategySchema,
7355
7454
  source: agentProfileCreationRequestSourceSchema,
7356
7455
  status: agentProfileCreationRequestStatusSchema,
7357
7456
  statusReason: agentProfileCreationRequestStatusReasonSchema,
7358
- targetOwnerUserId: identifierSchema,
7457
+ targetOwnerUserId: identifierSchema$1,
7359
7458
  updatedAt: isoDateTimeSchema$2
7360
7459
  }).superRefine((request, context) => {
7361
7460
  if (request.sessionStrategy === "new" && request.nativeSessionId !== null) context.addIssue({
@@ -7386,13 +7485,13 @@ const agentProfileCreationRequestSchema = z$1.strictObject({
7386
7485
  });
7387
7486
  const createAgentProfileCreationRequestBodySchema = z$1.strictObject({
7388
7487
  configuration: agentProfileCreationConfigurationSchema.optional(),
7389
- idempotencyKey: identifierSchema,
7390
- nativeSessionId: identifierSchema.nullable().optional(),
7488
+ idempotencyKey: identifierSchema$1,
7489
+ nativeSessionId: identifierSchema$1.nullable().optional(),
7391
7490
  profileName: profileNameSchema,
7392
- requestedSpaceId: identifierSchema.nullable().optional(),
7491
+ requestedSpaceId: identifierSchema$1.nullable().optional(),
7393
7492
  sessionStrategy: agentProfileCreationSessionStrategySchema,
7394
7493
  source: agentProfileCreationRequestSourceSchema,
7395
- targetOwnerUserId: identifierSchema
7494
+ targetOwnerUserId: identifierSchema$1
7396
7495
  }).superRefine((request, context) => {
7397
7496
  const nativeSessionId = request.nativeSessionId ?? null;
7398
7497
  if (request.configuration?.agentControllerRef === "hosted:remote-agent" && request.sessionStrategy !== "new") context.addIssue({
@@ -7425,8 +7524,8 @@ const agentProfileCreationIntentSchema = z$1.object(createAgentProfileCreationRe
7425
7524
  targetOwnerUserId: intent.targetOwnerUserId
7426
7525
  }));
7427
7526
  const listAgentProfileCreationRequestsResponseSchema = z$1.strictObject({
7428
- organizationId: identifierSchema,
7429
- matchedIdempotencyKey: identifierSchema.optional(),
7527
+ organizationId: identifierSchema$1,
7528
+ matchedIdempotencyKey: identifierSchema$1.optional(),
7430
7529
  requests: z$1.array(agentProfileCreationRequestSchema).max(200)
7431
7530
  });
7432
7531
  const decideAgentProfileCreationRequestBodySchema = z$1.strictObject({ decision: z$1.enum(["approve", "decline"]) });
@@ -7434,9 +7533,9 @@ const agentProfileCreationRequestMutationResponseSchema = z$1.strictObject({ req
7434
7533
  const agentProfileCreationApprovalPreferenceSchema = z$1.strictObject({
7435
7534
  existingSessionPolicy: agentProfileCreationApprovalPolicySchema,
7436
7535
  newSessionPolicy: agentProfileCreationApprovalPolicySchema,
7437
- organizationId: identifierSchema,
7536
+ organizationId: identifierSchema$1,
7438
7537
  updatedAt: isoDateTimeSchema$2.nullable(),
7439
- userId: identifierSchema
7538
+ userId: identifierSchema$1
7440
7539
  });
7441
7540
  const setAgentProfileCreationApprovalPreferenceBodySchema = z$1.strictObject({
7442
7541
  existingSessionPolicy: agentProfileCreationApprovalPolicySchema,
@@ -8680,6 +8779,7 @@ const listSpaceThreadSignalsResponseSchema = z$1.strictObject({
8680
8779
  placements: z$1.array(spaceThreadSignalPlacementSchema)
8681
8780
  });
8682
8781
  const postSpaceThreadSignalBodySchema = z$1.strictObject({
8782
+ workHandoff: signalTextSchema.shape.data.shape.meta.unwrap().shape.workHandoff,
8683
8783
  threadWakeContinuation: z$1.literal(true).optional(),
8684
8784
  text: signalTextSchema.shape.data.shape.text,
8685
8785
  deviceWait: signalTextSchema.shape.data.shape.deviceWait.optional(),
@@ -9045,6 +9145,7 @@ const remoteAgentWorkerSubmitTurnRequestShape = {
9045
9145
  messages: array(remoteAgentWorkerTurnMessageSchema).min(1),
9046
9146
  author: remoteAgentWorkerAuthorContextSchema,
9047
9147
  onBehalfOf: remoteAgentWorkerAuthorContextSchema.nullable(),
9148
+ workHandoff: spaceWorkHandoffSchema.optional(),
9048
9149
  organizationSkillReleases: array(organizationSkillRuntimeReleaseSelectionSchema).max(64).optional(),
9049
9150
  turnEnvelope: remoteAgentTurnEnvelopeSchema
9050
9151
  };
@@ -12416,6 +12517,71 @@ const observedDeviceMetadataSchema = z$1.strictObject({
12416
12517
  const writeCurrentDeviceObservedMetadataBodySchema = z$1.strictObject({ metadata: observedDeviceMetadataSchema });
12417
12518
  const writeCurrentDeviceObservedMetadataResponseSchema = writeCurrentDeviceObservedMetadataBodySchema;
12418
12519
  //#endregion
12520
+ //#region ../../packages/schemas/dist/schemas/http/inbox-feed.js
12521
+ const opaqueKeySchema = string().min(1).max(4096).regex(/^[A-Za-z0-9_-]+$/u);
12522
+ const identifierSchema = string().trim().min(1).max(256);
12523
+ const countSchema = number().int().nonnegative();
12524
+ const inboxFeedQuerySchema = strictObject({
12525
+ category: enumFactory([
12526
+ "all",
12527
+ "mentions",
12528
+ "needs_action",
12529
+ "needs_review"
12530
+ ]).optional(),
12531
+ unreadOnly: enumFactory(["true", "false"]).optional(),
12532
+ agentsOnly: enumFactory(["true", "false"]).optional(),
12533
+ peopleOnly: enumFactory(["true", "false"]).optional(),
12534
+ conversationType: enumFactory([
12535
+ "all",
12536
+ "direct_messages",
12537
+ "spaces"
12538
+ ]).optional(),
12539
+ includeSelectionUnreadCount: literal("true").optional(),
12540
+ cursor: string().min(1).max(8192).optional(),
12541
+ limit: coerce.number().int().min(1).max(100).optional(),
12542
+ snapshotId: identifierSchema.optional(),
12543
+ groupKey: opaqueKeySchema.optional()
12544
+ });
12545
+ const inboxFeedCountsSchema = strictObject({
12546
+ all: countSchema,
12547
+ mentions: countSchema,
12548
+ needsAction: countSchema,
12549
+ needsReview: countSchema,
12550
+ unread: countSchema,
12551
+ priority: countSchema
12552
+ });
12553
+ const inboxFeedRowSchema = strictObject({
12554
+ groupKey: opaqueKeySchema,
12555
+ item: inboxItemSchema,
12556
+ itemCount: number().int().positive(),
12557
+ unreadCount: countSchema,
12558
+ latestOccurredAt: iso.datetime({ offset: true }),
12559
+ section: enumFactory([
12560
+ "priority",
12561
+ "open",
12562
+ "activity"
12563
+ ]),
12564
+ requestCategory: enumFactory(["action", "review"]).nullable(),
12565
+ dot: enumFactory(["blue", "yellow"]).nullable()
12566
+ });
12567
+ const inboxFeedResponseSchema = strictObject({
12568
+ organizationId: identifierSchema,
12569
+ snapshotId: identifierSchema,
12570
+ snapshotExpiresAt: iso.datetime({ offset: true }),
12571
+ counts: inboxFeedCountsSchema,
12572
+ selectionUnreadCount: countSchema.optional(),
12573
+ rows: array(inboxFeedRowSchema).max(100),
12574
+ nextCursor: string().nullable()
12575
+ });
12576
+ const mutateInboxFeedBodySchema = strictObject({
12577
+ snapshotId: identifierSchema,
12578
+ groupKey: opaqueKeySchema.optional(),
12579
+ operation: enumFactory(["read", "dismiss"])
12580
+ });
12581
+ const mutateInboxFeedResponseSchema = strictObject({ changedCount: countSchema });
12582
+ inboxFeedQuerySchema.extend({ context: openMeldRequestContextSchema });
12583
+ mutateInboxFeedBodySchema.extend({ context: openMeldRequestContextSchema });
12584
+ //#endregion
12419
12585
  //#region ../../packages/schemas/dist/schemas/http/list-signals-query.js
12420
12586
  const CATCHUP_DEFAULT_LIMIT = 200;
12421
12587
  const CATCHUP_MAX_LIMIT = 500;
@@ -15907,6 +16073,25 @@ const createFeedbackApi = (client) => ({
15907
16073
  }
15908
16074
  });
15909
16075
  const INBOX_PATH = "/v1/inbox";
16076
+ function buildInboxFeedPath(query = {}) {
16077
+ const search = new URLSearchParams();
16078
+ for (const key of [
16079
+ "category",
16080
+ "unreadOnly",
16081
+ "agentsOnly",
16082
+ "peopleOnly",
16083
+ "conversationType",
16084
+ "includeSelectionUnreadCount",
16085
+ "cursor",
16086
+ "limit",
16087
+ "snapshotId",
16088
+ "groupKey"
16089
+ ]) if (query[key] !== void 0) search.set(key, String(query[key]));
16090
+ return `${INBOX_PATH}/feed${search.size ? `?${search}` : ""}`;
16091
+ }
16092
+ function buildInboxFeedStatePath() {
16093
+ return `${INBOX_PATH}/feed/state`;
16094
+ }
15910
16095
  function buildInboxMessageNotificationPreferencesPath(spaceId) {
15911
16096
  const base = `${INBOX_PATH}/message-notification-preferences`;
15912
16097
  return spaceId === void 0 ? base : `${base}?${new URLSearchParams({ spaceId })}`;
@@ -15957,6 +16142,36 @@ function buildInboxPreferencesPath() {
15957
16142
  return `${INBOX_PATH}/preferences`;
15958
16143
  }
15959
16144
  const createInboxApi = (client) => ({
16145
+ feed: async (input = {}) => {
16146
+ const { requestContext: _context, signal: _signal, timeoutMs: _timeout, ...rawQuery } = input;
16147
+ const query = requireValidInput$5(inboxFeedQuerySchema, rawQuery, "Inbox filters are invalid.");
16148
+ return await client.requestJson({
16149
+ ...requestOptions$7(input),
16150
+ method: "GET",
16151
+ operation: "inbox.feed",
16152
+ headers: inboxSourceTargetVersionHeaders(),
16153
+ schema: inboxFeedResponseSchema,
16154
+ invalidMessage: "Invalid Inbox attention feed response",
16155
+ url: buildInboxFeedPath(query)
16156
+ });
16157
+ },
16158
+ mutateFeed: async (input) => {
16159
+ const body = requireValidInput$5(mutateInboxFeedBodySchema, {
16160
+ snapshotId: input.snapshotId,
16161
+ groupKey: input.groupKey,
16162
+ operation: input.operation
16163
+ }, "Inbox selection is invalid.");
16164
+ return await client.requestJson({
16165
+ ...requestOptions$7(input),
16166
+ method: "POST",
16167
+ operation: "inbox.feed.state",
16168
+ body: JSON.stringify(body),
16169
+ headers: { "content-type": "application/json" },
16170
+ schema: mutateInboxFeedResponseSchema,
16171
+ invalidMessage: "Invalid Inbox selection response",
16172
+ url: buildInboxFeedStatePath()
16173
+ });
16174
+ },
15960
16175
  getMessageNotificationPreferences: async (input = {}) => {
15961
16176
  const query = requireValidInput$5(inboxMessageNotificationPreferencesQuerySchema, { spaceId: input.spaceId }, "Message notification preferences query is invalid.");
15962
16177
  return await client.requestJson({
@@ -15994,6 +16209,7 @@ const createInboxApi = (client) => ({
15994
16209
  return await client.requestJson({
15995
16210
  ...requestOptions$7(input),
15996
16211
  invalidMessage: "invalid Inbox dismiss response",
16212
+ headers: inboxSourceTargetVersionHeaders(),
15997
16213
  method: "PUT",
15998
16214
  operation: "inbox.item.dismiss",
15999
16215
  schema: dismissInboxItemResponseSchema,
@@ -16035,7 +16251,10 @@ const createInboxApi = (client) => ({
16035
16251
  return await client.requestJson({
16036
16252
  ...requestOptions$7(input),
16037
16253
  invalidMessage: "invalid Inbox summary response",
16038
- headers: { [OPENMELD_HEADER_INBOX_SUMMARY_VERSION]: "3" },
16254
+ headers: {
16255
+ ...inboxSourceTargetVersionHeaders(),
16256
+ [OPENMELD_HEADER_INBOX_SUMMARY_VERSION]: "3"
16257
+ },
16039
16258
  method: "GET",
16040
16259
  operation: "inbox.summary",
16041
16260
  schema: inboxSummaryResponseSchema,
@@ -16091,7 +16310,10 @@ const createInboxApi = (client) => ({
16091
16310
  invalidMessage: "invalid Space Inbox summary response",
16092
16311
  method: "GET",
16093
16312
  operation: "inbox.space.summary",
16094
- headers: { [OPENMELD_HEADER_INBOX_SUMMARY_VERSION]: "3" },
16313
+ headers: {
16314
+ ...inboxSourceTargetVersionHeaders(),
16315
+ [OPENMELD_HEADER_INBOX_SUMMARY_VERSION]: "3"
16316
+ },
16095
16317
  schema: spaceInboxSummaryResponseSchema,
16096
16318
  url: buildSpaceInboxSummaryPath()
16097
16319
  }),
@@ -16149,7 +16371,7 @@ const createInboxApi = (client) => ({
16149
16371
  function inboxSourceTargetVersionHeaders() {
16150
16372
  return {
16151
16373
  [OPENMELD_HEADER_INBOX_ITEM_KIND_VERSION]: "1",
16152
- [OPENMELD_HEADER_INBOX_SOURCE_TARGET_VERSION]: "7"
16374
+ [OPENMELD_HEADER_INBOX_SOURCE_TARGET_VERSION]: "9"
16153
16375
  };
16154
16376
  }
16155
16377
  function requestOptions$7(input) {
@@ -16164,6 +16386,11 @@ function requireValidInput$5(schema, value, message) {
16164
16386
  if (!parsed.success) throw new Error(`${message} ${parsed.error.issues[0]?.message ?? "Invalid input."}`);
16165
16387
  return parsed.data;
16166
16388
  }
16389
+ /** Response-scope validation only. Core still owns recipient/source access. */
16390
+ function isInboxItemInOrganizationScope(item, organizationId) {
16391
+ if (item.organizationId !== null) return item.organizationId === organizationId;
16392
+ return item.sourceTarget.kind === "computer_connection" || item.sourceTarget.kind === "desktop_update";
16393
+ }
16167
16394
  /** Same rendered conversation projection in Web and native delivery. */
16168
16395
  function isInboxItemVisibleConversation(item, conversation) {
16169
16396
  if (!conversation) return false;
@@ -16187,12 +16414,17 @@ function inboxMessageNotificationSpaceId(item) {
16187
16414
  return item.sourceTarget.spaceId;
16188
16415
  }
16189
16416
  function isInboxNotificationEligible(item, mode = "mentions_and_replies") {
16190
- if (item.resolutionStatus === "resolved") return false;
16417
+ if (item.resolutionStatus === "resolved" || item.sourceTarget.kind === "desktop_update") return false;
16418
+ if (!item.sourceFacts && item.attention === "update" && item.sourceTarget.kind === "space" && item.sourceTarget.agentOwnerActivity === true && item.sourceTarget.replyToRecipient !== true && (item.kind === "space_message" || item.kind === "agent_reply")) return false;
16419
+ const ownerOnly = item.sourceFacts?.recipientReasons.every((reason) => reason === "agent_owner") === true;
16420
+ const firstContact = (item.sourceFacts?.firstContactAgentProfileIds?.length ?? 0) > 0;
16421
+ if (ownerOnly && item.attention === "update" && !firstContact && item.importance !== "urgent") return false;
16191
16422
  if (inboxMessageNotificationSpaceId(item)) {
16192
16423
  if (mode === "muted") return false;
16193
16424
  if (mode === "all_messages") return true;
16194
16425
  }
16195
16426
  if (item.importance === "urgent") return true;
16427
+ if (firstContact) return true;
16196
16428
  if (item.attention === "action_required" && item.resolutionStatus === "open") return true;
16197
16429
  return item.kind === "space_mention" || item.kind === "agent_reply" || item.kind === "wake_outcome" || item.kind === "space_message" && item.sourceTarget.kind === "space" && (item.sourceTarget.directMessage === true || item.sourceTarget.replyToRecipient === true);
16198
16430
  }
@@ -17126,7 +17358,7 @@ const createOrganizationSkillsApi = (client) => ({
17126
17358
  method: "GET",
17127
17359
  operation: "organization_skill.get",
17128
17360
  schema: getOrganizationSkillResponseSchema,
17129
- url: buildOrganizationSkillPath(requireSkillId(input.skillId))
17361
+ url: `${buildOrganizationSkillPath(requireSkillId(input.skillId))}${input.releaseId === void 0 ? "" : `?releaseId=${encodeURIComponent(input.releaseId)}`}`
17130
17362
  }),
17131
17363
  create: async (input) => {
17132
17364
  const body = requireValidInput$2(createOrganizationSkillBodySchema, {
@@ -19000,6 +19232,7 @@ async function postSpaceNormalMessage(client, input) {
19000
19232
  function buildPostNormalMessageBody(input) {
19001
19233
  return {
19002
19234
  text: input.text,
19235
+ ...input.meta?.workHandoff ? { workHandoffVersion: 1 } : {},
19003
19236
  ...input.deviceWait ? { deviceWait: input.deviceWait } : {},
19004
19237
  ...input.contextSelection ? { contextSelection: input.contextSelection } : {},
19005
19238
  ...input.attachments ? { attachments: input.attachments } : {},
@@ -19394,6 +19627,59 @@ const createSpaceApi = (client) => {
19394
19627
  mutateTask: async (input) => await mutateSpaceTask(client, input)
19395
19628
  };
19396
19629
  };
19630
+ /** One existing Message/Thread publication owns both the handoff and its Wake. */
19631
+ async function postSpaceWorkHandoff(api, input) {
19632
+ const handoff = spaceWorkHandoffSchema.parse(input.handoff);
19633
+ const text = `${handoff.work.goal}\n\n${handoff.work.nextSteps}`;
19634
+ const files = handoff.files.map((file) => ({
19635
+ fileId: file.fileId,
19636
+ revision: file.revision,
19637
+ name: file.relativePath.split("/").at(-1) ?? file.relativePath,
19638
+ mimeType: "application/octet-stream",
19639
+ sizeBytes: 0
19640
+ }));
19641
+ const messageEnvelope = {
19642
+ text,
19643
+ activationTargets: [input.targetProfileId],
19644
+ mentionTargets: [],
19645
+ referenceTargets: []
19646
+ };
19647
+ const contextSelection = {
19648
+ mode: "new",
19649
+ access: "space_context",
19650
+ workspace: "isolated"
19651
+ };
19652
+ const common = {
19653
+ spaceId: input.spaceId,
19654
+ requestContext: input.requestContext,
19655
+ spacePassword: input.spacePassword,
19656
+ signal: input.signal,
19657
+ timeoutMs: input.timeoutMs
19658
+ };
19659
+ if (input.threadId) return await api.postThreadSignal({
19660
+ ...common,
19661
+ threadId: input.threadId,
19662
+ body: {
19663
+ text,
19664
+ files,
19665
+ messageEnvelope,
19666
+ contextSelection,
19667
+ clientMessageId: input.clientMessageId,
19668
+ workHandoff: handoff
19669
+ }
19670
+ });
19671
+ return await api.postNormalMessage({
19672
+ ...common,
19673
+ text,
19674
+ files,
19675
+ messageEnvelope,
19676
+ contextSelection,
19677
+ meta: {
19678
+ clientMessageId: input.clientMessageId,
19679
+ workHandoff: handoff
19680
+ }
19681
+ });
19682
+ }
19397
19683
  async function readOrUpdateSpaceFilePins(client, input) {
19398
19684
  return await client.requestJson({
19399
19685
  url: `/v1/spaces/${encodeURIComponent(input.spaceId)}/file-pins`,
@@ -19492,6 +19778,6 @@ function shouldWrapNetworkRequestError(error) {
19492
19778
  return message.includes("fetch failed") || message.includes("failed to fetch") || message.includes("network request failed");
19493
19779
  }
19494
19780
  //#endregion
19495
- export { buildLocalFolderPickerPath as $, listSpaceTasksResponseSchema as $n, AGENT_ACTIVITY_PRESENCE_TTL_MAX_MS as $r, createPrepareReadinessApi as $t, buildCurrentOrganizationDirectoryPath as A, archiveProjectResponseSchema as Ai, setSpaceAccessMode as An, modelCatalogSchema as Ar, createAccountSpaceIndexApi as At, buildCurrentOrganizationMessageChannelsPath as B, toCompatibleSpaceAddressingRequestWireValue as Bi, MAX_TEXT_LENGTH as Bn, stringifyOrganizationSkillBundleCanonicalJson as Br, createDirectMessageApi as Bt, buildCenterAgentSessionPath as C, agentControllerCollaborationModeSchema as Ci, readAccountOrganizationContext as Cn, betterAuthDeviceAuthorizationTokenRequestSchema as Cr, buildRoutineTargetSpacesPath as Ct, buildCurrentAgentProfileSessionRoute as D, localProjectControlConnectionSchema as Di, readOrUpdateSpaceMessagePins as Dn, agentProfileCreationConfigurationSchema as Dr, buildSpaceInboxReadThroughPath as Dt, buildComputerFileAccessUpdatePath as E, signalTextEnvelopeSchema as Ei, readOrUpdateSpaceFilePins as En, DEFAULT_AGENT_PROFILE_CREATION_CONFIGURATION as Er, buildSpaceBootstrapReadPath as Et, buildCurrentOrganizationMessageChannelPath as F, COMPUTER_FILE_ACCESS_RUNTIME_CAPABILITY as Fi, updateSpaceMeta as Fn, getOrganizationSkillResponseSchema as Fr, createCenterAgentApi as Ft, buildFeedbackIssueSubmissionPath as G, OPENMELD_HEADER_PROFILE_ID as Gn, createCenterAgentRoutineResponseSchema as Gr, createLocalProjectControlApi as Gt, buildCurrentOrganizationSpacesWithMemberCountsPath as H, parseIncoming as Hn, organizationComputersResponseSchema as Hr, createFetchTransport as Ht, buildCurrentOrganizationMessageChannelRegistrationPath as I, OPENMELD_RUNTIME_CAPABILITIES_HEADER as Ii, uploadSpaceAttachment as In, listOrganizationSkillsResponseSchema as Ir, createComputerAuthorizationGrant as It, buildInboxItemReadPath as J, OPENMELD_HEADER_SPACE_ADDRESSING_VERSION as Jn, listCenterAgentRoutinesResponseSchema as Jr, createOrganizationApi as Jt, buildInboxItemDismissPath as K, OPENMELD_HEADER_REQUESTED_ORGANIZATION_ID as Kn, deleteCenterAgentRoutineResponseSchema as Kr, createLocalRuntimeExpectedRoutesApi as Kt, buildCurrentOrganizationMessageChannelRegistrationPollPath as L, computerFileAccessDaemonFrameSchema as Li, uploadSpaceFile as Ln, organizationSkillBundleSchema as Lr, createComputerFileAccessApi as Lt, buildCurrentOrganizationInformationProtectionPath as M, listProjectsResponseSchema as Mi, trashSpaceFileEntry as Mn, resolveInitialSpaceAccessMode as Mr, createAgentProfileBindingApi as Mt, buildCurrentOrganizationLogoPath as N, projectSchema as Ni, updateSpaceFileContent as Nn, spaceCreatorSchema as Nr, createAgentProfileExecutionModeApi as Nt, buildCurrentOrganizationCenterAgentMemoryWipeSelfPath as O, localProjectControlDaemonFrameSchema as Oi, resolveAccountSpaceIndexGatewayHost as On, createAgentProfileCreationRequestBodySchema as Or, buildSpaceInboxSummaryPath as Ot, buildCurrentOrganizationMemberOpenMeldServiceStatusesPath as P, updateProjectResponseSchema as Pi, updateSpaceFileEntry as Pn, spaceMetaSchema as Pr, createAgentProfileWorkRecoveryApi as Pt, buildInboxSummaryPath as Q, createSpaceTaskBodySchema as Qn, AGENT_ACTIVITY_EVENT_MAX_BYTES as Qr, createPluginsApi as Qt, buildCurrentOrganizationMessageChannelRegistrationsPath as R, computerFileAccessPolicyInputSchema as Ri, DAEMON_STREAM_KEEPALIVE_PING as Rn, organizationSkillReleaseSummarySchema as Rr, createConfigApi as Rt, buildCenterAgentProfilePath as S, agentControllerPermissionModeSchema as Si, publicSpaceUrls as Sn, betterAuthDeviceAuthorizationErrorResponseSchema as Sr, buildRoutineRunsPath as St, buildComputerFileAccessReadPath as T, serviceConnectionEvidenceJournalSchema as Ti, readCliRelease as Tn, betterAuthSessionSnapshotResponseSchema as Tr, buildSpaceAttachmentDownloadPath as Tt, buildDirectMessageConversionPath as U, parseServerErrorFrame as Un, submitFeedbackIssueRequestSchema as Ur, createInboxApi as Ut, buildCurrentOrganizationSpacesPath as V, parseEnvelope as Vn, organizationDirectoryResponseSchema as Vr, createFeedbackApi as Vt, buildDirectMessageSpacePath as W, resolveCustomMentionAliasOverride as Wn, submitFeedbackIssueResponseSchema as Wr, createLocalFolderPickerApi as Wt, buildInboxPath as X, toErrorMessage$2 as Xn, resumeCenterAgentRoutineResponseSchema as Xr, createOrganizationSkillsApi as Xt, buildInboxMarkAllReadPath as Y, buildOpenMeldRequestContextHeaders as Yn, pauseCenterAgentRoutineResponseSchema as Yr, createOrganizationDocumentsApi as Yt, buildInboxPreferencesPath as Z, getSpaceUpdatesResponseSchema as Zn, updateCenterAgentRoutineResponseSchema as Zr, createOrganizationUsageApi as Zt, buildCenterAgentDirectMessageSpacePath as _, agentActivitySessionInventoryResponseSchema as _i, listSpaceFileRevisions as _n, projectOwnerComputerLocalRuntimes as _r, buildProjectPath as _t, buildAgentActivitySessionsPath as a, leaveSpaceResponseSchema as ai, createRuntimeReportingApi as an, SPACE_DISPATCH_TRACE_PROMPT_PREVIEW_MAX_CHARS as ar, buildOrganizationDocumentsPath as at, buildCenterAgentMemberResearchPath as b, centerAgentToolSpeakerSchema as bi, mutateSpaceTask as bn, betterAuthDeviceAuthorizationCodeRequestSchema as br, buildRoutinePausePath as bt, buildAgentProfileCreationApprovalPreferencePath as c, resolvedSpaceMemberProfileSchema as ci, createSpaceFolder as cn, resolveRuntimeCoordinatorHeadStatusRootCause as cr, buildOrganizationSkillGitHubPreviewPath as ct, buildAgentProfileCreationRequestDecisionPath as d, spaceMemberDirectoryEntrySchema as di, getModelCatalog as dn, spaceDispatchTraceDispatchStatusSchema as dr, buildOrganizationSkillsPath as dt, agentActivityEventSchema as ei, createProfileSpaceHistoryApi as en, mutateSpaceTaskBodySchema as er, buildLocalProjectControlPath as et, buildAgentProfileCreationRequestRetryPath as f, spaceMemberDirectorySchema as fi, getSpaceFile as fn, spaceDispatchTraceResponseSchema as fr, buildOrganizationUsageOverviewPath as ft, buildCenterAgentDesignationPath as g, agentActivitySessionInventoryQuerySchema as gi, isInboxNotificationEligible as gn, ownerComputerDiagnosticsSchema as gr, buildProfileSpaceHistoryUpsertPath as gt, buildCenterAgentAuditJournalPath as h, agentActivityInventorySessionStatusSchema as hi, isInboxItemVisibleConversation as hn, submitAgentControllerTaskLifecycleEventItemSchema as hr, buildProfileSpaceHistoryStatusPath as ht, buildAccountSpaceIndexPath as i, agentActivitySnapshotResponseSchema as ii, createRoutinesApi as in, pluginActionRequestSchema as ir, buildOrganizationDocumentPath as it, buildCurrentOrganizationFeedbackReportingPolicyPath as j, createProjectResponseSchema as ji, toStructuredApiClientFailure as jn, organizationSpaceDirectoryWithMemberCountsResponseSchema as jr, createAgentActivityApi as jt, buildCurrentOrganizationComputersPath as k, localProjectControlDiscoverProjectsResponseSchema as ki, resolveProfileSpaceHistoryGatewayHost as kn, gatewayErrorEnvelopeSchema as kr, buildSpaceInboxUnreadTargetsPath as kt, buildAgentProfileCreationDefaultsPath as l, spaceMemberAgentWakeAvailabilitySchema as li, createSpaceTask as ln, resolveSpaceDispatchTraceRootCause as lr, buildOrganizationSkillMaintainersPath as lt, buildAgentProfileWorkRecoveryRoute as m, agentActivityInventorySessionOriginSchema as mi, inboxMessageNotificationSpaceId as mn, projectObservabilityWakeCorrelation as mr, buildProfileSpaceHistoryListPath as mt, OpenMeldApiClientInvalidResponseError as n, agentActivitySessionStatusSchema as ni, createProjectsApi as nn, spaceTaskMutationReceiptSchema as nr, buildOrganizationDocumentApproveDraftPath as nt, buildAgentActivitySnapshotPath as o, postSpaceMembersResponseSchema as oi, createServiceConnectionEvidenceApi as on, SPACE_DISPATCH_TRACE_RESPONSE_CONTRACT_VERSION_HEADER as or, buildOrganizationSkillEnabledPath as ot, buildAgentProfileCreationRequestsPath as p, spaceMemberKindSchema as pi, getSpaceTask as pn, observabilityWakeTraceSelectorSchema as pr, buildProfileRoute as pt, buildInboxItemPath as q, OPENMELD_HEADER_REQUEST_ID as qn, listCenterAgentRoutineRunsResponseSchema as qr, createOpenMeldApiClient as qt, buildAccountSpaceActiveWakeSummaryPath as r, agentActivitySnapshotQuerySchema as ri, createReasoningStreamApi as rn, spaceEntryTargetSchema as rr, buildOrganizationDocumentDiscardDraftPath as rt, buildAgentActivityStatsPath as s, removeSpaceMembersResponseSchema as si, createSpaceApi as sn, projectSpaceDispatchTraceFinalVisibleOutcome as sr, buildOrganizationSkillGitHubImportPath as st, OpenMeldApiClientHttpError as t, agentActivityProviderSchema as ti, createProfilesApi as tn, spaceTaskIdSchema as tr, buildModelCatalogPath as tt, buildAgentProfileCreationRequestCancelPath as u, spaceMemberDirectoryAllowedRelationsSchema as ui, downloadSpaceFileContent as un, spaceDispatchTraceAttemptStatusSchema as ur, buildOrganizationSkillPath as ut, buildCenterAgentInboxReadThroughPath as v, localAgentSessionProviderSchema as vi, listSpaceFiles as vn, summarizeComputerFileAccessPolicy as vr, buildProjectsPath as vt, buildCenterAgentSessionsPath as w, serviceConnectionEvidenceEventSchema as wi, readAccountSession as wn, betterAuthDeviceAuthorizationTokenResponseSchema as wr, buildRoutinesPath as wt, buildCenterAgentOperatingStatePath as x, openCodePermissionConfigSchema as xi, normalizeApiBaseUrl as xn, betterAuthDeviceAuthorizationCodeResponseSchema as xr, buildRoutineResumePath as xt, buildCenterAgentInboxSummaryPath as y, observedLocalAgentSessionSchema as yi, listSpaceTasks as yn, BETTER_AUTH_DEVICE_AUTHORIZATION_GRANT_TYPE as yr, buildRoutinePath as yt, buildCurrentOrganizationMessageChannelSetupRequestsPath as z, computerFileAccessPolicySchema as zi, DAEMON_STREAM_KEEPALIVE_PONG as zn, organizationSkillSummarySchema as zr, createCurrentDeviceApi as zt };
19781
+ export { buildLocalFolderPickerPath as $, getSpaceUpdatesResponseSchema as $n, updateCenterAgentRoutineResponseSchema as $r, createPrepareReadinessApi as $t, buildCurrentOrganizationDirectoryPath as A, localProjectControlDaemonFrameSchema as Ai, resolveAccountSpaceIndexGatewayHost as An, createAgentProfileCreationRequestBodySchema as Ar, createAccountSpaceIndexApi as At, buildCurrentOrganizationMessageChannelsPath as B, computerFileAccessPolicyInputSchema as Bi, DAEMON_STREAM_KEEPALIVE_PING as Bn, organizationSkillReleaseSummarySchema as Br, createDirectMessageApi as Bt, buildCenterAgentSessionPath as C, openCodePermissionConfigSchema as Ci, postSpaceWorkHandoff as Cn, betterAuthDeviceAuthorizationCodeResponseSchema as Cr, buildRoutineTargetSpacesPath as Ct, buildCurrentAgentProfileSessionRoute as D, serviceConnectionEvidenceJournalSchema as Di, readCliRelease as Dn, betterAuthSessionSnapshotResponseSchema as Dr, buildSpaceInboxReadThroughPath as Dt, buildComputerFileAccessUpdatePath as E, serviceConnectionEvidenceEventSchema as Ei, readAccountSession as En, betterAuthDeviceAuthorizationTokenResponseSchema as Er, buildSpaceBootstrapReadPath as Et, buildCurrentOrganizationMessageChannelPath as F, projectSchema as Fi, updateSpaceFileContent as Fn, spaceCreatorSchema as Fr, createCenterAgentApi as Ft, buildFeedbackIssueSubmissionPath as G, parseServerErrorFrame as Gn, submitFeedbackIssueRequestSchema as Gr, createLocalProjectControlApi as Gt, buildCurrentOrganizationSpacesWithMemberCountsPath as H, toCompatibleSpaceAddressingRequestWireValue as Hi, MAX_TEXT_LENGTH as Hn, stringifyOrganizationSkillBundleCanonicalJson as Hr, createFetchTransport as Ht, buildCurrentOrganizationMessageChannelRegistrationPath as I, updateProjectResponseSchema as Ii, updateSpaceFileEntry as In, spaceMetaSchema as Ir, createComputerAuthorizationGrant as It, buildInboxItemReadPath as J, OPENMELD_HEADER_REQUESTED_ORGANIZATION_ID as Jn, deleteCenterAgentRoutineResponseSchema as Jr, createOrganizationApi as Jt, buildInboxItemDismissPath as K, resolveCustomMentionAliasOverride as Kn, submitFeedbackIssueResponseSchema as Kr, createLocalRuntimeExpectedRoutesApi as Kt, buildCurrentOrganizationMessageChannelRegistrationPollPath as L, COMPUTER_FILE_ACCESS_RUNTIME_CAPABILITY as Li, updateSpaceMeta as Ln, getOrganizationSkillResponseSchema as Lr, createComputerFileAccessApi as Lt, buildCurrentOrganizationInformationProtectionPath as M, archiveProjectResponseSchema as Mi, setSpaceAccessMode as Mn, modelCatalogSchema as Mr, createAgentProfileBindingApi as Mt, buildCurrentOrganizationLogoPath as N, createProjectResponseSchema as Ni, toStructuredApiClientFailure as Nn, organizationSpaceDirectoryWithMemberCountsResponseSchema as Nr, createAgentProfileExecutionModeApi as Nt, buildCurrentOrganizationCenterAgentMemoryWipeSelfPath as O, signalTextEnvelopeSchema as Oi, readOrUpdateSpaceFilePins as On, DEFAULT_AGENT_PROFILE_CREATION_CONFIGURATION as Or, buildSpaceInboxSummaryPath as Ot, buildCurrentOrganizationMemberOpenMeldServiceStatusesPath as P, listProjectsResponseSchema as Pi, trashSpaceFileEntry as Pn, resolveInitialSpaceAccessMode as Pr, createAgentProfileWorkRecoveryApi as Pt, buildInboxSummaryPath as Q, toErrorMessage$2 as Qn, resumeCenterAgentRoutineResponseSchema as Qr, createPluginsApi as Qt, buildCurrentOrganizationMessageChannelRegistrationsPath as R, OPENMELD_RUNTIME_CAPABILITIES_HEADER as Ri, uploadSpaceAttachment as Rn, listOrganizationSkillsResponseSchema as Rr, createConfigApi as Rt, buildCenterAgentProfilePath as S, centerAgentToolSpeakerSchema as Si, normalizeApiBaseUrl as Sn, betterAuthDeviceAuthorizationCodeRequestSchema as Sr, buildRoutineRunsPath as St, buildComputerFileAccessReadPath as T, agentControllerCollaborationModeSchema as Ti, readAccountOrganizationContext as Tn, betterAuthDeviceAuthorizationTokenRequestSchema as Tr, buildSpaceAttachmentDownloadPath as Tt, buildDirectMessageConversionPath as U, parseEnvelope as Un, organizationDirectoryResponseSchema as Ur, createInboxApi as Ut, buildCurrentOrganizationSpacesPath as V, computerFileAccessPolicySchema as Vi, DAEMON_STREAM_KEEPALIVE_PONG as Vn, organizationSkillSummarySchema as Vr, createFeedbackApi as Vt, buildDirectMessageSpacePath as W, parseIncoming as Wn, organizationComputersResponseSchema as Wr, createLocalFolderPickerApi as Wt, buildInboxPath as X, OPENMELD_HEADER_SPACE_ADDRESSING_VERSION as Xn, listCenterAgentRoutinesResponseSchema as Xr, createOrganizationSkillsApi as Xt, buildInboxMarkAllReadPath as Y, OPENMELD_HEADER_REQUEST_ID as Yn, listCenterAgentRoutineRunsResponseSchema as Yr, createOrganizationDocumentsApi as Yt, buildInboxPreferencesPath as Z, buildOpenMeldRequestContextHeaders as Zn, pauseCenterAgentRoutineResponseSchema as Zr, createOrganizationUsageApi as Zt, buildCenterAgentDirectMessageSpacePath as _, agentActivityInventorySessionStatusSchema as _i, isInboxNotificationEligible as _n, submitAgentControllerTaskLifecycleEventItemSchema as _r, buildProjectPath as _t, buildAgentActivitySessionsPath as a, agentActivitySnapshotQuerySchema as ai, createRuntimeReportingApi as an, spaceEntryTargetSchema as ar, buildOrganizationDocumentsPath as at, buildCenterAgentMemberResearchPath as b, localAgentSessionProviderSchema as bi, listSpaceTasks as bn, summarizeComputerFileAccessPolicy as br, buildRoutinePausePath as bt, buildAgentProfileCreationApprovalPreferencePath as c, postSpaceMembersResponseSchema as ci, createSpaceFolder as cn, SPACE_DISPATCH_TRACE_RESPONSE_CONTRACT_VERSION_HEADER as cr, buildOrganizationSkillGitHubPreviewPath as ct, buildAgentProfileCreationRequestDecisionPath as d, spaceMemberAgentWakeAvailabilitySchema as di, getModelCatalog as dn, resolveSpaceDispatchTraceRootCause as dr, buildOrganizationSkillsPath as dt, AGENT_ACTIVITY_EVENT_MAX_BYTES as ei, createProfileSpaceHistoryApi as en, createSpaceTaskBodySchema as er, buildLocalProjectControlPath as et, buildAgentProfileCreationRequestRetryPath as f, spaceMemberDirectoryAllowedRelationsSchema as fi, getSpaceFile as fn, spaceDispatchTraceAttemptStatusSchema as fr, buildOrganizationUsageOverviewPath as ft, buildCenterAgentDesignationPath as g, agentActivityInventorySessionOriginSchema as gi, isInboxItemVisibleConversation as gn, projectObservabilityWakeCorrelation as gr, buildProfileSpaceHistoryUpsertPath as gt, buildCenterAgentAuditJournalPath as h, spaceMemberKindSchema as hi, isInboxItemInOrganizationScope as hn, observabilityWakeTraceSelectorSchema as hr, buildProfileSpaceHistoryStatusPath as ht, buildAccountSpaceIndexPath as i, agentActivitySessionStatusSchema as ii, createRoutinesApi as in, spaceTaskMutationReceiptSchema as ir, buildOrganizationDocumentPath as it, buildCurrentOrganizationFeedbackReportingPolicyPath as j, localProjectControlDiscoverProjectsResponseSchema as ji, resolveProfileSpaceHistoryGatewayHost as jn, gatewayErrorEnvelopeSchema as jr, createAgentActivityApi as jt, buildCurrentOrganizationComputersPath as k, localProjectControlConnectionSchema as ki, readOrUpdateSpaceMessagePins as kn, agentProfileCreationConfigurationSchema as kr, buildSpaceInboxUnreadTargetsPath as kt, buildAgentProfileCreationDefaultsPath as l, removeSpaceMembersResponseSchema as li, createSpaceTask as ln, projectSpaceDispatchTraceFinalVisibleOutcome as lr, buildOrganizationSkillMaintainersPath as lt, buildAgentProfileWorkRecoveryRoute as m, spaceMemberDirectorySchema as mi, inboxMessageNotificationSpaceId as mn, spaceDispatchTraceResponseSchema as mr, buildProfileSpaceHistoryListPath as mt, OpenMeldApiClientInvalidResponseError as n, agentActivityEventSchema as ni, createProjectsApi as nn, mutateSpaceTaskBodySchema as nr, buildOrganizationDocumentApproveDraftPath as nt, buildAgentActivitySnapshotPath as o, agentActivitySnapshotResponseSchema as oi, createServiceConnectionEvidenceApi as on, pluginActionRequestSchema as or, buildOrganizationSkillEnabledPath as ot, buildAgentProfileCreationRequestsPath as p, spaceMemberDirectoryEntrySchema as pi, getSpaceTask as pn, spaceDispatchTraceDispatchStatusSchema as pr, buildProfileRoute as pt, buildInboxItemPath as q, OPENMELD_HEADER_PROFILE_ID as qn, createCenterAgentRoutineResponseSchema as qr, createOpenMeldApiClient as qt, buildAccountSpaceActiveWakeSummaryPath as r, agentActivityProviderSchema as ri, createReasoningStreamApi as rn, spaceTaskIdSchema as rr, buildOrganizationDocumentDiscardDraftPath as rt, buildAgentActivityStatsPath as s, leaveSpaceResponseSchema as si, createSpaceApi as sn, SPACE_DISPATCH_TRACE_PROMPT_PREVIEW_MAX_CHARS as sr, buildOrganizationSkillGitHubImportPath as st, OpenMeldApiClientHttpError as t, AGENT_ACTIVITY_PRESENCE_TTL_MAX_MS as ti, createProfilesApi as tn, listSpaceTasksResponseSchema as tr, buildModelCatalogPath as tt, buildAgentProfileCreationRequestCancelPath as u, resolvedSpaceMemberProfileSchema as ui, downloadSpaceFileContent as un, resolveRuntimeCoordinatorHeadStatusRootCause as ur, buildOrganizationSkillPath as ut, buildCenterAgentInboxReadThroughPath as v, agentActivitySessionInventoryQuerySchema as vi, listSpaceFileRevisions as vn, ownerComputerDiagnosticsSchema as vr, buildProjectsPath as vt, buildCenterAgentSessionsPath as w, agentControllerPermissionModeSchema as wi, publicSpaceUrls as wn, betterAuthDeviceAuthorizationErrorResponseSchema as wr, buildRoutinesPath as wt, buildCenterAgentOperatingStatePath as x, observedLocalAgentSessionSchema as xi, mutateSpaceTask as xn, BETTER_AUTH_DEVICE_AUTHORIZATION_GRANT_TYPE as xr, buildRoutineResumePath as xt, buildCenterAgentInboxSummaryPath as y, agentActivitySessionInventoryResponseSchema as yi, listSpaceFiles as yn, projectOwnerComputerLocalRuntimes as yr, buildRoutinePath as yt, buildCurrentOrganizationMessageChannelSetupRequestsPath as z, computerFileAccessDaemonFrameSchema as zi, uploadSpaceFile as zn, organizationSkillBundleSchema as zr, createCurrentDeviceApi as zt };
19496
19782
 
19497
- //# sourceMappingURL=dist-CAx_kxvt.js.map
19783
+ //# sourceMappingURL=dist-Dj3TOx03.js.map