openmeld 0.3.212 → 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 (109) hide show
  1. package/dist/{add-me-membership-BwPpVKtA.js → add-me-membership-BaqG9F5c.js} +2 -2
  2. package/dist/{add-me-membership-BwPpVKtA.js.map → add-me-membership-BaqG9F5c.js.map} +1 -1
  3. package/dist/{agents-Y-UJ74By.js → agents-y9C8FCyv.js} +8 -8
  4. package/dist/{agents-Y-UJ74By.js.map → agents-y9C8FCyv.js.map} +1 -1
  5. package/dist/{api-client-foundation-CrQN8_-N.js → api-client-foundation-BYnU1pbS.js} +1 -1
  6. package/dist/{api-client-foundation-DjbtuE52.js → api-client-foundation-CKRP7Ymg.js} +3 -3
  7. package/dist/{api-client-foundation-DjbtuE52.js.map → api-client-foundation-CKRP7Ymg.js.map} +1 -1
  8. package/dist/auth-session-BWKfXWxl.js +4 -0
  9. package/dist/{auth-session-Dqz9X4F0.js → auth-session-gaLjWIKR.js} +67 -8
  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-jgHbP21v.js → command-C72QNhjP.js} +13 -13
  15. package/dist/{command-jgHbP21v.js.map → command-C72QNhjP.js.map} +1 -1
  16. package/dist/computer-connection-Dv9kex7h.js +120 -0
  17. package/dist/computer-connection-Dv9kex7h.js.map +1 -0
  18. package/dist/{computer-connection-review-CzSpaHE0.js → computer-connection-review-_ZLPsdE_.js} +6 -6
  19. package/dist/{computer-connection-review-CzSpaHE0.js.map → computer-connection-review-_ZLPsdE_.js.map} +1 -1
  20. package/dist/{computer-disconnect-DNM7jvda.js → computer-disconnect-BJ-Tl-7q.js} +9 -9
  21. package/dist/{computer-disconnect-DNM7jvda.js.map → computer-disconnect-BJ-Tl-7q.js.map} +1 -1
  22. package/dist/{computer-setup-continuation-BqdhIAjT.js → computer-setup-continuation-CN383Vvy.js} +4 -4
  23. package/dist/{computer-setup-continuation-BqdhIAjT.js.map → computer-setup-continuation-CN383Vvy.js.map} +1 -1
  24. package/dist/{control-plane-PxntAyDq.js → control-plane-Bpu7g9Av.js} +2 -2
  25. package/dist/{control-plane-PxntAyDq.js.map → control-plane-Bpu7g9Av.js.map} +1 -1
  26. package/dist/{daemon-runtime-lease-Dd4hdHNo.js → daemon-runtime-lease-CIzOT1zx.js} +2 -2
  27. package/dist/{daemon-runtime-lease-Dd4hdHNo.js.map → daemon-runtime-lease-CIzOT1zx.js.map} +1 -1
  28. package/dist/{daemon-runtime-lease-y3n1K0-C.js → daemon-runtime-lease-_M6hW8Mg.js} +1 -1
  29. package/dist/{daemon-service-manager-GiMCiTmu.js → daemon-service-manager-DxS5eH_N.js} +4 -4
  30. package/dist/{daemon-service-manager-GiMCiTmu.js.map → daemon-service-manager-DxS5eH_N.js.map} +1 -1
  31. package/dist/{daemon-service-manager-Bh0LoLed.js → daemon-service-manager-fPpyIyrU.js} +1 -1
  32. package/dist/{daemon-service-runtime-CWTlAhZY.js → daemon-service-runtime-CGT3yVOs.js} +113 -26
  33. package/dist/daemon-service-runtime-CGT3yVOs.js.map +1 -0
  34. package/dist/{daemon-service-update-coordinator-DcjOzGu1.js → daemon-service-update-coordinator--xLHNqDT.js} +966 -210
  35. package/dist/daemon-service-update-coordinator--xLHNqDT.js.map +1 -0
  36. package/dist/{daemon-state-C37ZtIZK.js → daemon-state-CoAZLwpi.js} +3 -3
  37. package/dist/{daemon-state-C37ZtIZK.js.map → daemon-state-CoAZLwpi.js.map} +1 -1
  38. package/dist/dist-CABuqfdH.js +4 -0
  39. package/dist/{dist-jsWwS864.js → dist-Dj3TOx03.js} +548 -223
  40. package/dist/dist-Dj3TOx03.js.map +1 -0
  41. package/dist/distribution-BDQT2ilb.js +20 -0
  42. package/dist/distribution-BDQT2ilb.js.map +1 -0
  43. package/dist/{elapsed-time-iFOSSUJo.js → elapsed-time-CCFWbCC8.js} +9 -7
  44. package/dist/{elapsed-time-iFOSSUJo.js.map → elapsed-time-CCFWbCC8.js.map} +1 -1
  45. package/dist/{installation-inventory-B0cbVLun.js → installation-inventory-C4WKcVEj.js} +6 -6
  46. package/dist/{installation-inventory-B0cbVLun.js.map → installation-inventory-C4WKcVEj.js.map} +1 -1
  47. package/dist/{local-components-H3SkJMC1.js → local-components-B6SCXZf9.js} +10 -2
  48. package/dist/local-components-B6SCXZf9.js.map +1 -0
  49. package/dist/{lock-Dxp6o_t_.js → lock-CAt9uTnZ.js} +5 -48
  50. package/dist/lock-CAt9uTnZ.js.map +1 -0
  51. package/dist/{openmeld-B4gQCCex.js → openmeld-DpV9lAF-.js} +325 -190
  52. package/dist/openmeld-DpV9lAF-.js.map +1 -0
  53. package/dist/openmeld-dev.js +1 -1
  54. package/dist/{openmeld-environment-target-NtJYJe1D.js → openmeld-environment-target-BWI2adGw.js} +3 -3
  55. package/dist/{openmeld-environment-target-NtJYJe1D.js.map → openmeld-environment-target-BWI2adGw.js.map} +1 -1
  56. package/dist/{openmeld-maintenance-worker-DtY_H7Bv.js → openmeld-maintenance-worker-Blfu_oOo.js} +9 -9
  57. package/dist/{openmeld-maintenance-worker-DtY_H7Bv.js.map → openmeld-maintenance-worker-Blfu_oOo.js.map} +1 -1
  58. package/dist/{openmeld-tools-update-join-DS_EIL5q.js → openmeld-tools-update-join-BpLwmowQ.js} +6 -4
  59. package/dist/{openmeld-tools-update-join-DS_EIL5q.js.map → openmeld-tools-update-join-BpLwmowQ.js.map} +1 -1
  60. package/dist/{openmeld-tools-update-process-frame-CbZPpc7D.js → openmeld-tools-update-process-frame-0X-t0Kjv.js} +2 -2
  61. package/dist/{openmeld-tools-update-process-frame-CbZPpc7D.js.map → openmeld-tools-update-process-frame-0X-t0Kjv.js.map} +1 -1
  62. package/dist/{openmeld-tools-update-process-frame-CcPLrSsw.js → openmeld-tools-update-process-frame-DX1Dc8VI.js} +1 -1
  63. package/dist/openmeld.js +4 -4
  64. package/dist/{prepare-session-executor-CWKqfuse.js → prepare-session-executor-Cfm3EvXl.js} +176 -23
  65. package/dist/prepare-session-executor-Cfm3EvXl.js.map +1 -0
  66. package/dist/process-identity-Clby123a.js +145 -0
  67. package/dist/process-identity-Clby123a.js.map +1 -0
  68. package/dist/{runtime-transport-BQAmcHwF.js → runtime-transport-D8G8sANa.js} +113 -10
  69. package/dist/runtime-transport-D8G8sANa.js.map +1 -0
  70. package/dist/{service-CTG3_X0o.js → service-Cl_Ge6oJ.js} +949 -75
  71. package/dist/service-Cl_Ge6oJ.js.map +1 -0
  72. package/dist/{distribution-DY2fBeSW.js → service-account-admission-Dy2W3n3_.js} +9 -19
  73. package/dist/service-account-admission-Dy2W3n3_.js.map +1 -0
  74. package/dist/{service-account-authorization-Dq4LcAVa.js → service-account-authorization-4oZuo8sT.js} +6 -6
  75. package/dist/{service-account-authorization-Dq4LcAVa.js.map → service-account-authorization-4oZuo8sT.js.map} +1 -1
  76. package/dist/{service-account-control-BTR_X7QM.js → service-account-control-CTXv3924.js} +11 -12
  77. package/dist/service-account-control-CTXv3924.js.map +1 -0
  78. package/dist/{service-control-capabilities-ChRe8hkw.js → service-control-capabilities-B-vCQoBV.js} +1 -1
  79. package/dist/service-control-capabilities-ptf0u8n5.js +70 -0
  80. package/dist/service-control-capabilities-ptf0u8n5.js.map +1 -0
  81. package/dist/service-control-carrier-capability-hvpD7hGf.js +24 -0
  82. package/dist/service-control-carrier-capability-hvpD7hGf.js.map +1 -0
  83. package/dist/upgrade-EWdIdoHm.js +4 -0
  84. package/dist/{upgrade-DAVEeo8B.js → upgrade-vuPM1iX3.js} +12 -9
  85. package/dist/{upgrade-DAVEeo8B.js.map → upgrade-vuPM1iX3.js.map} +1 -1
  86. package/dist/{windows-user-task-DxPN7TzK.js → windows-user-task-FdycoSb4.js} +1 -1
  87. package/dist/{windows-user-task-DqJWtlAm.js → windows-user-task-i0oHCBc0.js} +49 -19
  88. package/dist/windows-user-task-i0oHCBc0.js.map +1 -0
  89. package/package.json +2 -2
  90. package/dist/auth-session-Dqz9X4F0.js.map +0 -1
  91. package/dist/auth-session-bRzDGlXy.js +0 -4
  92. package/dist/computer-connection-DvqsgYls.js +0 -81
  93. package/dist/computer-connection-DvqsgYls.js.map +0 -1
  94. package/dist/daemon-service-runtime-CWTlAhZY.js.map +0 -1
  95. package/dist/daemon-service-update-coordinator-DcjOzGu1.js.map +0 -1
  96. package/dist/dist--pb6JxqG.js +0 -4
  97. package/dist/dist-jsWwS864.js.map +0 -1
  98. package/dist/distribution-DY2fBeSW.js.map +0 -1
  99. package/dist/local-components-H3SkJMC1.js.map +0 -1
  100. package/dist/lock-Dxp6o_t_.js.map +0 -1
  101. package/dist/openmeld-B4gQCCex.js.map +0 -1
  102. package/dist/prepare-session-executor-CWKqfuse.js.map +0 -1
  103. package/dist/runtime-transport-BQAmcHwF.js.map +0 -1
  104. package/dist/service-CTG3_X0o.js.map +0 -1
  105. package/dist/service-account-control-BTR_X7QM.js.map +0 -1
  106. package/dist/service-control-capabilities-C5SxnBg2.js +0 -54
  107. package/dist/service-control-capabilities-C5SxnBg2.js.map +0 -1
  108. package/dist/upgrade-DKXu-1wO.js +0 -4
  109. package/dist/windows-user-task-DqJWtlAm.js.map +0 -1
@@ -1,10 +1,10 @@
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-BQAmcHwF.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
- 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-PxntAyDq.js";
7
- import { A as discriminatedUnion, B as object, C as openMeldToolsUpdateRequestResultSchema, D as array, F as lazySchema, G as tuple, H as record, I as literal, J as unknown, K as undefinedFactory, L as neverFactory, M as enumFactory, N as int, O as boolean, P as iso, R as nullFactory, T as NEVER, U as strictObject, V as preprocess, W as string, Y as url, _ as openMeldToolsMaintenanceProjectionSchema, c as localComponentUpdatePolicySchema, g as openMeldToolsMaintenanceMutationResultSchema, j as email, k as coerce, l as localComponentUpdateProjectionSchema, q as union, u as localComponentUpdateStatusSchema, x as openMeldToolsUpdateOperationSchema, z as number } from "./local-components-H3SkJMC1.js";
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
+ 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";
8
8
  import { r as daemonServiceLaneSchema } from "./service-contract-CRyDcIIf.js";
9
9
  import { n as toErrorMessage$3 } from "./dist-o3UL1EGQ.js";
10
10
  import * as z$1 from "zod/v4";
@@ -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);
@@ -1542,12 +1542,52 @@ const inboxViewSchema = enumFactory([
1542
1542
  "unread",
1543
1543
  "needs_action",
1544
1544
  "needs_review",
1545
+ "mentions",
1545
1546
  "updates",
1546
1547
  "urgent_updates",
1547
1548
  "recent_updates"
1548
1549
  ]);
1550
+ const inboxPresentationSchema = enumFactory(["attention"]);
1549
1551
  const inboxAttentionSchema = enumFactory(["update", "action_required"]);
1550
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
+ });
1551
1591
  const inboxResolutionStatusSchema = enumFactory([
1552
1592
  "not_applicable",
1553
1593
  "open",
@@ -1562,7 +1602,9 @@ const inboxItemWireKindSchema = union([enumFactory([
1562
1602
  "center_agent_update",
1563
1603
  "document_review",
1564
1604
  "organization_request",
1565
- "system_issue"
1605
+ "system_issue",
1606
+ "computer_connection",
1607
+ "desktop_update"
1566
1608
  ]), literal("space_reference")]);
1567
1609
  const inboxSourceKindSchema = enumFactory([
1568
1610
  "space_signal",
@@ -1573,7 +1615,9 @@ const inboxSourceKindSchema = enumFactory([
1573
1615
  "organization_opportunity",
1574
1616
  "organization_member_request",
1575
1617
  "agent_profile_work_recovery",
1576
- "system_attention_event"
1618
+ "system_attention_event",
1619
+ "computer_connection",
1620
+ "desktop_update"
1577
1621
  ]);
1578
1622
  const centerAgentRequestMemberAttentionBodySchema = strictObject({
1579
1623
  impact: enumFactory([
@@ -1582,19 +1626,19 @@ const centerAgentRequestMemberAttentionBodySchema = strictObject({
1582
1626
  "material_failure_risk"
1583
1627
  ]),
1584
1628
  prompt: previewSchema,
1585
- submissionId: identifierSchema$3,
1629
+ submissionId: identifierSchema$4,
1586
1630
  title: titleSchema$1
1587
1631
  });
1588
1632
  strictObject({
1589
1633
  importance: inboxImportanceSchema,
1590
1634
  instruction: string().trim().min(1).max(500),
1591
- organizationId: identifierSchema$3,
1592
- requestId: identifierSchema$3
1635
+ organizationId: identifierSchema$4,
1636
+ requestId: identifierSchema$4
1593
1637
  });
1594
1638
  const centerAgentInboxSourceTargetSchema = strictObject({
1595
1639
  kind: literal("center_agent"),
1596
- signalId: identifierSchema$3.optional(),
1597
- spaceId: identifierSchema$3.optional()
1640
+ signalId: identifierSchema$4.optional(),
1641
+ spaceId: identifierSchema$4.optional()
1598
1642
  }).superRefine((target, context) => {
1599
1643
  if (target.signalId === void 0 !== (target.spaceId === void 0)) context.addIssue({
1600
1644
  code: "custom",
@@ -1602,46 +1646,75 @@ const centerAgentInboxSourceTargetSchema = strictObject({
1602
1646
  });
1603
1647
  });
1604
1648
  const slackInboxSourceTargetSchema = strictObject({
1605
- channelId: identifierSchema$3,
1649
+ channelId: identifierSchema$4,
1606
1650
  kind: literal("message_channel"),
1607
- messageId: identifierSchema$3,
1651
+ messageId: identifierSchema$4,
1608
1652
  permalink: slackMessagePermalinkSchema,
1609
1653
  provider: literal("slack"),
1610
- teamId: identifierSchema$3,
1611
- threadRootMessageId: identifierSchema$3
1654
+ teamId: identifierSchema$4,
1655
+ threadRootMessageId: identifierSchema$4
1612
1656
  });
1613
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
+ }),
1614
1687
  strictObject({
1615
1688
  kind: literal("organization_join_request"),
1616
- requestId: identifierSchema$3
1689
+ requestId: identifierSchema$4
1617
1690
  }),
1618
1691
  strictObject({
1619
1692
  kind: literal("agent_profile"),
1620
- profileId: identifierSchema$3
1693
+ profileId: identifierSchema$4
1621
1694
  }),
1622
1695
  strictObject({
1623
1696
  kind: literal("agent_profile_creation_request"),
1624
- requestId: identifierSchema$3
1697
+ requestId: identifierSchema$4
1625
1698
  }),
1626
1699
  strictObject({
1627
1700
  kind: literal("space"),
1628
1701
  directMessage: boolean().optional(),
1629
1702
  agentOwnerActivity: boolean().optional(),
1630
1703
  replyToRecipient: boolean().optional(),
1631
- signalId: identifierSchema$3.optional(),
1632
- spaceId: identifierSchema$3,
1633
- threadRootSignalId: identifierSchema$3.optional()
1704
+ signalId: identifierSchema$4.optional(),
1705
+ spaceId: identifierSchema$4,
1706
+ threadRootSignalId: identifierSchema$4.optional()
1634
1707
  }),
1635
1708
  strictObject({
1636
- interactionId: identifierSchema$3,
1709
+ interactionId: identifierSchema$4,
1637
1710
  kind: literal("agent_interaction"),
1638
- runtimeCoordinatorExecutionId: identifierSchema$3,
1639
- sourceSignalId: identifierSchema$3.optional(),
1640
- spaceId: identifierSchema$3,
1641
- threadRootSignalId: identifierSchema$3.nullable().optional()
1711
+ runtimeCoordinatorExecutionId: identifierSchema$4,
1712
+ sourceSignalId: identifierSchema$4.optional(),
1713
+ spaceId: identifierSchema$4,
1714
+ threadRootSignalId: identifierSchema$4.nullable().optional()
1642
1715
  }),
1643
1716
  strictObject({
1644
- documentId: identifierSchema$3,
1717
+ documentId: identifierSchema$4,
1645
1718
  kind: literal("organization_document")
1646
1719
  }),
1647
1720
  slackInboxSourceTargetSchema,
@@ -1659,19 +1732,26 @@ const inboxItemWireSchema = strictObject({
1659
1732
  attention: inboxAttentionSchema,
1660
1733
  contextLabel: contextLabelSchema.nullable(),
1661
1734
  createdAt: isoDateTimeSchema$7,
1662
- id: identifierSchema$3,
1735
+ id: identifierSchema$4,
1663
1736
  importance: inboxImportanceSchema,
1664
1737
  kind: inboxItemWireKindSchema,
1665
1738
  occurredAt: isoDateTimeSchema$7,
1666
- organizationId: identifierSchema$3,
1739
+ organizationId: identifierSchema$4.nullable(),
1667
1740
  preview: previewSchema,
1668
1741
  readAt: isoDateTimeSchema$7.nullable(),
1669
- recipientUserId: identifierSchema$3,
1742
+ recipientUserId: identifierSchema$4,
1670
1743
  resolutionStatus: inboxResolutionStatusSchema,
1744
+ sourceFacts: inboxSourceFactsSchema.optional(),
1671
1745
  sourceTarget: inboxSourceTargetSchema,
1672
1746
  title: titleSchema$1,
1673
1747
  updatedAt: isoDateTimeSchema$7
1674
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
+ });
1675
1755
  if (!(item.attention === "update" ? item.resolutionStatus === "not_applicable" : item.resolutionStatus === "open" || item.resolutionStatus === "resolved")) context.addIssue({
1676
1756
  code: "custom",
1677
1757
  message: "Inbox resolution status must match its attention class.",
@@ -1685,31 +1765,40 @@ const inboxItemSchema = inboxItemWireSchema.transform((item) => ({
1685
1765
  const listInboxItemsQuerySchema = strictObject({
1686
1766
  cursor: string().trim().min(1).max(1024).optional(),
1687
1767
  limit: coerce.number().int().min(1).max(100).optional(),
1768
+ presentation: inboxPresentationSchema.optional(),
1769
+ notificationPreview: literal("true").optional(),
1688
1770
  view: inboxViewSchema.optional()
1689
1771
  });
1772
+ const inboxSummaryQuerySchema = strictObject({ presentation: inboxPresentationSchema.optional() });
1690
1773
  const listInboxItemsResponseSchema = strictObject({
1691
1774
  items: array(inboxItemSchema),
1692
1775
  nextCursor: string().min(1).max(1024).nullable(),
1693
- organizationId: identifierSchema$3
1776
+ organizationId: identifierSchema$4
1694
1777
  });
1695
1778
  strictObject({
1696
1779
  items: array(inboxItemWireSchema),
1697
1780
  nextCursor: string().min(1).max(1024).nullable(),
1698
- organizationId: identifierSchema$3
1781
+ organizationId: identifierSchema$4
1699
1782
  });
1700
1783
  const inboxSummaryResponseSchema = strictObject({
1701
- 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,
1702
1789
  totalUnreadCount: number().int().nonnegative(),
1703
1790
  unresolvedActionCount: number().int().nonnegative(),
1704
- unreadUrgentUpdateCount: number().int().nonnegative().optional()
1791
+ unreadUrgentUpdateCount: number().int().nonnegative().optional(),
1792
+ unreadMentionCount: number().int().nonnegative().optional(),
1793
+ ordinaryUnreadCount: number().int().nonnegative().optional()
1705
1794
  });
1706
1795
  const centerAgentInboxSummaryResponseSchema = strictObject({
1707
- organizationId: identifierSchema$3,
1796
+ organizationId: identifierSchema$4,
1708
1797
  unreadCount: number().int().nonnegative()
1709
1798
  });
1710
1799
  const spaceInboxSummaryItemSchema = strictObject({
1711
1800
  latestUnreadOccurredAtMs: timestampMsSchema$5,
1712
- spaceId: identifierSchema$3,
1801
+ spaceId: identifierSchema$4,
1713
1802
  unreadCount: number().int().positive()
1714
1803
  });
1715
1804
  const spaceInboxSummaryResponseSchema = strictObject({
@@ -1717,29 +1806,29 @@ const spaceInboxSummaryResponseSchema = strictObject({
1717
1806
  chatUnresolvedActionCount: number().int().nonnegative().optional(),
1718
1807
  chatUnreadUrgentUpdateCount: number().int().nonnegative().optional(),
1719
1808
  attention: array(strictObject({
1720
- spaceId: identifierSchema$3,
1809
+ spaceId: identifierSchema$4,
1721
1810
  unresolvedActionCount: number().int().nonnegative(),
1722
1811
  unreadUrgentUpdateCount: number().int().nonnegative()
1723
1812
  })).optional(),
1724
1813
  ordinarySpaceUnreadCount: number().int().nonnegative().optional(),
1725
- organizationId: identifierSchema$3,
1814
+ organizationId: identifierSchema$4,
1726
1815
  spaces: array(spaceInboxSummaryItemSchema).max(500)
1727
1816
  });
1728
1817
  const spaceInboxUnreadTargetSchema = strictObject({
1729
1818
  occurredAtMs: timestampMsSchema$5,
1730
- signalId: identifierSchema$3,
1731
- threadRootSignalId: identifierSchema$3.nullable()
1819
+ signalId: identifierSchema$4,
1820
+ threadRootSignalId: identifierSchema$4.nullable()
1732
1821
  });
1733
1822
  const spaceInboxUnreadTargetsResponseSchema = strictObject({
1734
1823
  hasMoreTargets: boolean(),
1735
- organizationId: identifierSchema$3,
1736
- spaceId: identifierSchema$3,
1824
+ organizationId: identifierSchema$4,
1825
+ spaceId: identifierSchema$4,
1737
1826
  targets: array(spaceInboxUnreadTargetSchema).max(500),
1738
1827
  totalUnreadCount: number().int().nonnegative()
1739
1828
  });
1740
- const spaceInboxUnreadTargetsRouteParamsSchema = strictObject({ spaceId: identifierSchema$3 });
1829
+ const spaceInboxUnreadTargetsRouteParamsSchema = strictObject({ spaceId: identifierSchema$4 });
1741
1830
  const markCenterAgentInboxReadThroughBodySchema = strictObject({
1742
- spaceId: identifierSchema$3,
1831
+ spaceId: identifierSchema$4,
1743
1832
  throughOccurredAtMs: timestampMsSchema$5
1744
1833
  });
1745
1834
  const markCenterAgentInboxReadThroughResponseSchema = strictObject({
@@ -1747,8 +1836,8 @@ const markCenterAgentInboxReadThroughResponseSchema = strictObject({
1747
1836
  readThroughAt: isoDateTimeSchema$7
1748
1837
  });
1749
1838
  const markSpaceInboxReadThroughBodySchema = strictObject({
1750
- spaceId: identifierSchema$3,
1751
- threadRootSignalId: identifierSchema$3.optional(),
1839
+ spaceId: identifierSchema$4,
1840
+ threadRootSignalId: identifierSchema$4.optional(),
1752
1841
  throughOccurredAtMs: timestampMsSchema$5
1753
1842
  });
1754
1843
  const markSpaceInboxReadThroughResponseSchema = strictObject({
@@ -1766,10 +1855,10 @@ const inboxConversationNotificationModeSchema = enumFactory([
1766
1855
  "mentions_and_replies",
1767
1856
  "muted"
1768
1857
  ]);
1769
- const inboxMessageNotificationPreferencesQuerySchema = strictObject({ spaceId: identifierSchema$3.optional() });
1858
+ const inboxMessageNotificationPreferencesQuerySchema = strictObject({ spaceId: identifierSchema$4.optional() });
1770
1859
  const inboxMessageNotificationPreferencesResponseSchema = strictObject({
1771
- organizationId: identifierSchema$3,
1772
- spaceId: identifierSchema$3.nullable(),
1860
+ organizationId: identifierSchema$4,
1861
+ spaceId: identifierSchema$4.nullable(),
1773
1862
  defaultMode: inboxMessageNotificationModeSchema,
1774
1863
  overrideMode: inboxConversationNotificationModeSchema.nullable(),
1775
1864
  effectiveMode: inboxConversationNotificationModeSchema
@@ -1779,7 +1868,7 @@ const updateInboxMessageNotificationPreferencesBodySchema = discriminatedUnion("
1779
1868
  mode: inboxMessageNotificationModeSchema
1780
1869
  }), strictObject({
1781
1870
  scope: literal("conversation"),
1782
- spaceId: identifierSchema$3,
1871
+ spaceId: identifierSchema$4,
1783
1872
  mode: inboxConversationNotificationModeSchema.nullable()
1784
1873
  })]);
1785
1874
  inboxMessageNotificationPreferencesQuerySchema.extend({ context: openMeldRequestContextSchema });
@@ -1787,25 +1876,27 @@ strictObject({
1787
1876
  context: openMeldRequestContextSchema,
1788
1877
  preference: updateInboxMessageNotificationPreferencesBodySchema
1789
1878
  });
1790
- const inboxItemRouteParamsSchema = strictObject({ itemId: identifierSchema$3 });
1879
+ const inboxItemRouteParamsSchema = strictObject({ itemId: identifierSchema$4 });
1791
1880
  const getInboxItemResponseSchema = strictObject({ item: inboxItemSchema });
1792
1881
  strictObject({ item: inboxItemWireSchema });
1793
- const dismissInboxItemResponseSchema = strictObject({ dismissedItemId: identifierSchema$3 });
1882
+ const dismissInboxItemResponseSchema = strictObject({ dismissedItemId: identifierSchema$4 });
1794
1883
  const markInboxItemReadBodySchema = strictObject({ read: boolean() });
1795
1884
  const markInboxItemReadResponseSchema = strictObject({ item: inboxItemSchema });
1796
1885
  strictObject({ item: inboxItemWireSchema });
1797
1886
  const markAllInboxItemsReadResponseSchema = strictObject({ markedReadCount: number().int().nonnegative() });
1887
+ const markAllInboxItemsReadQuerySchema = strictObject({ presentation: inboxPresentationSchema.optional() });
1798
1888
  strictObject({
1799
1889
  attention: inboxAttentionSchema,
1800
1890
  contextLabel: contextLabelSchema.nullable(),
1801
1891
  importance: inboxImportanceSchema,
1802
1892
  kind: inboxItemWireKindSchema,
1803
1893
  occurredAtMs: timestampMsSchema$5,
1804
- organizationId: identifierSchema$3,
1894
+ organizationId: identifierSchema$4,
1805
1895
  preview: previewSchema,
1806
- recipientUserId: identifierSchema$3,
1807
- sourceKey: identifierSchema$3,
1896
+ recipientUserId: identifierSchema$4,
1897
+ sourceKey: identifierSchema$4,
1808
1898
  sourceKind: inboxSourceKindSchema,
1899
+ sourceFacts: inboxSourceFactsSchema.optional(),
1809
1900
  sourceTarget: inboxSourceTargetSchema,
1810
1901
  title: titleSchema$1
1811
1902
  }).transform((candidate) => ({
@@ -1817,28 +1908,44 @@ function normalizeInboxItemWireKind(kind) {
1817
1908
  }
1818
1909
  listInboxItemsQuerySchema.extend({
1819
1910
  context: openMeldRequestContextSchema,
1820
- includeReplyToRecipient: boolean().optional()
1911
+ includeReplyToRecipient: boolean().optional(),
1912
+ includeSourceFacts: boolean().optional(),
1913
+ includeAccountItems: boolean().optional()
1914
+ });
1915
+ strictObject({
1916
+ context: openMeldRequestContextSchema,
1917
+ includeAccountItems: boolean().optional(),
1918
+ presentation: inboxPresentationSchema.optional()
1821
1919
  });
1822
- strictObject({ context: openMeldRequestContextSchema });
1823
1920
  strictObject({ context: openMeldRequestContextSchema });
1824
1921
  strictObject({ context: openMeldRequestContextSchema });
1825
1922
  strictObject({
1826
1923
  context: openMeldRequestContextSchema,
1827
- spaceId: identifierSchema$3
1924
+ spaceId: identifierSchema$4
1828
1925
  });
1829
1926
  markCenterAgentInboxReadThroughBodySchema.extend({ context: openMeldRequestContextSchema });
1830
1927
  markSpaceInboxReadThroughBodySchema.extend({ context: openMeldRequestContextSchema });
1831
1928
  inboxItemRouteParamsSchema.extend({
1832
1929
  context: openMeldRequestContextSchema,
1833
- 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()
1834
1937
  });
1835
- inboxItemRouteParamsSchema.extend({ context: openMeldRequestContextSchema });
1836
1938
  markInboxItemReadBodySchema.extend({
1837
1939
  context: openMeldRequestContextSchema,
1838
1940
  includeReplyToRecipient: boolean().optional(),
1839
- itemId: identifierSchema$3
1941
+ includeSourceFacts: boolean().optional(),
1942
+ includeAccountItems: boolean().optional(),
1943
+ itemId: identifierSchema$4
1944
+ });
1945
+ strictObject({
1946
+ context: openMeldRequestContextSchema,
1947
+ presentation: inboxPresentationSchema.optional()
1840
1948
  });
1841
- strictObject({ context: openMeldRequestContextSchema });
1842
1949
  strictObject({ context: openMeldRequestContextSchema });
1843
1950
  updateInboxNotificationPreferencesBodySchema.extend({ context: openMeldRequestContextSchema });
1844
1951
  centerAgentRequestMemberAttentionBodySchema.extend({ context: openMeldRequestContextSchema });
@@ -5016,7 +5123,7 @@ const ORGANIZATION_SKILL_ERROR_CODES = [
5016
5123
  "organization_skill.unsafe_bundle",
5017
5124
  "organization_skill.version_conflict"
5018
5125
  ];
5019
- const identifierSchema$2 = string().trim().min(1).max(256);
5126
+ const identifierSchema$3 = string().trim().min(1).max(256);
5020
5127
  const isoDateTimeSchema$6 = iso.datetime({ offset: true });
5021
5128
  const digestSchema = string().regex(/^[a-f0-9]{64}$/);
5022
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.");
@@ -5112,9 +5219,9 @@ const organizationSkillBundleSchema = strictObject({
5112
5219
  });
5113
5220
  const organizationSkillReleaseSummarySchema = strictObject({
5114
5221
  createdAt: isoDateTimeSchema$6,
5115
- createdByUserId: identifierSchema$2,
5222
+ createdByUserId: identifierSchema$3,
5116
5223
  digest: digestSchema,
5117
- id: identifierSchema$2,
5224
+ id: identifierSchema$3,
5118
5225
  source: organizationSkillSourceSchema
5119
5226
  });
5120
5227
  const organizationSkillPermissionsSchema = strictObject({
@@ -5126,9 +5233,9 @@ const organizationSkillSummarySchema = strictObject({
5126
5233
  createdAt: isoDateTimeSchema$6,
5127
5234
  description: descriptionSchema,
5128
5235
  enabled: boolean(),
5129
- id: identifierSchema$2,
5236
+ id: identifierSchema$3,
5130
5237
  name: skillNameSchema,
5131
- organizationId: identifierSchema$2,
5238
+ organizationId: identifierSchema$3,
5132
5239
  permissions: organizationSkillPermissionsSchema,
5133
5240
  source: organizationSkillSourceSchema,
5134
5241
  updatedAt: isoDateTimeSchema$6,
@@ -5136,60 +5243,69 @@ const organizationSkillSummarySchema = strictObject({
5136
5243
  });
5137
5244
  const organizationSkillSchema = organizationSkillSummarySchema.extend({
5138
5245
  bundle: organizationSkillBundleSchema,
5139
- maintainerUserIds: array(identifierSchema$2),
5246
+ maintainerUserIds: array(identifierSchema$3),
5140
5247
  releases: array(organizationSkillReleaseSummarySchema)
5141
5248
  });
5142
5249
  strictObject({});
5143
5250
  const listOrganizationSkillsResponseSchema = strictObject({
5144
5251
  canManage: boolean(),
5145
- organizationId: identifierSchema$2,
5252
+ organizationId: identifierSchema$3,
5146
5253
  skills: array(organizationSkillSummarySchema)
5147
5254
  });
5148
- const organizationSkillRouteParamsSchema = strictObject({ skillId: identifierSchema$2 });
5149
- 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
+ });
5150
5266
  const createOrganizationSkillBodySchema = strictObject({
5151
5267
  description: descriptionSchema,
5152
- expectedOrganizationId: identifierSchema$2,
5268
+ expectedOrganizationId: identifierSchema$3,
5153
5269
  instructions: instructionsSchema,
5154
5270
  name: skillNameSchema
5155
5271
  });
5156
5272
  const createOrganizationSkillResponseSchema = strictObject({ skill: organizationSkillSchema });
5157
5273
  const updateOrganizationSkillBodySchema = strictObject({
5158
5274
  bundle: organizationSkillBundleSchema,
5159
- expectedActiveReleaseId: identifierSchema$2,
5160
- expectedOrganizationId: identifierSchema$2,
5275
+ expectedActiveReleaseId: identifierSchema$3,
5276
+ expectedOrganizationId: identifierSchema$3,
5161
5277
  expectedVersion: number().int().positive()
5162
5278
  });
5163
5279
  const updateOrganizationSkillResponseSchema = strictObject({ skill: organizationSkillSchema });
5164
5280
  const setOrganizationSkillEnabledBodySchema = strictObject({
5165
5281
  enabled: boolean(),
5166
- expectedOrganizationId: identifierSchema$2,
5282
+ expectedOrganizationId: identifierSchema$3,
5167
5283
  expectedVersion: number().int().positive()
5168
5284
  });
5169
5285
  const setOrganizationSkillEnabledResponseSchema = strictObject({ skill: organizationSkillSchema });
5170
5286
  const setOrganizationSkillMaintainersBodySchema = strictObject({
5171
- expectedOrganizationId: identifierSchema$2,
5287
+ expectedOrganizationId: identifierSchema$3,
5172
5288
  expectedVersion: number().int().positive(),
5173
- maintainerUserIds: array(identifierSchema$2).max(100)
5289
+ maintainerUserIds: array(identifierSchema$3).max(100)
5174
5290
  });
5175
5291
  const setOrganizationSkillMaintainersResponseSchema = strictObject({ skill: organizationSkillSchema });
5176
5292
  const deleteOrganizationSkillBodySchema = strictObject({
5177
- expectedOrganizationId: identifierSchema$2,
5293
+ expectedOrganizationId: identifierSchema$3,
5178
5294
  expectedVersion: number().int().positive()
5179
5295
  });
5180
5296
  const deleteOrganizationSkillResponseSchema = strictObject({
5181
5297
  deleted: literal(true),
5182
- organizationId: identifierSchema$2,
5183
- skillId: identifierSchema$2
5298
+ organizationId: identifierSchema$3,
5299
+ skillId: identifierSchema$3
5184
5300
  });
5185
5301
  const importOrganizationSkillFromGitHubBodySchema = strictObject({
5186
5302
  expectedCommitSha: string().regex(/^[a-f0-9]{40}$/).optional(),
5187
- expectedOrganizationId: identifierSchema$2,
5303
+ expectedOrganizationId: identifierSchema$3,
5188
5304
  url: sourceUrlSchema
5189
5305
  });
5190
5306
  const importOrganizationSkillFromGitHubResponseSchema = strictObject({ skill: organizationSkillSchema });
5191
5307
  const previewOrganizationSkillFromGitHubBodySchema = strictObject({
5192
- expectedOrganizationId: identifierSchema$2,
5308
+ expectedOrganizationId: identifierSchema$3,
5193
5309
  url: sourceUrlSchema
5194
5310
  });
5195
5311
  const organizationSkillGitHubPreviewSchema = strictObject({
@@ -5205,7 +5321,7 @@ const organizationSkillGitHubPreviewSchema = strictObject({
5205
5321
  warnings: array(string().trim().min(1).max(1024))
5206
5322
  });
5207
5323
  const previewOrganizationSkillFromGitHubResponseSchema = strictObject({
5208
- organizationId: identifierSchema$2,
5324
+ organizationId: identifierSchema$3,
5209
5325
  preview: organizationSkillGitHubPreviewSchema
5210
5326
  });
5211
5327
  discriminatedUnion("action", [
@@ -5217,7 +5333,7 @@ discriminatedUnion("action", [
5217
5333
  strictObject({
5218
5334
  action: literal("get"),
5219
5335
  context: openMeldRequestContextSchema,
5220
- skillId: identifierSchema$2,
5336
+ skillId: identifierSchema$3,
5221
5337
  speakerMember: centerAgentToolSpeakerSchema
5222
5338
  }),
5223
5339
  strictObject({
@@ -5231,17 +5347,17 @@ discriminatedUnion("action", [
5231
5347
  strictObject({
5232
5348
  action: literal("list"),
5233
5349
  canManage: boolean(),
5234
- organizationId: identifierSchema$2,
5350
+ organizationId: identifierSchema$3,
5235
5351
  skills: array(organizationSkillSummarySchema)
5236
5352
  }),
5237
5353
  strictObject({
5238
5354
  action: literal("get"),
5239
- organizationId: identifierSchema$2,
5355
+ organizationId: identifierSchema$3,
5240
5356
  skill: organizationSkillSchema
5241
5357
  }),
5242
5358
  strictObject({
5243
5359
  action: literal("preview_github"),
5244
- organizationId: identifierSchema$2,
5360
+ organizationId: identifierSchema$3,
5245
5361
  preview: organizationSkillGitHubPreviewSchema
5246
5362
  })
5247
5363
  ]);
@@ -5261,50 +5377,45 @@ discriminatedUnion("action", [strictObject({
5261
5377
  })]);
5262
5378
  discriminatedUnion("action", [strictObject({
5263
5379
  action: literal("create"),
5264
- organizationId: identifierSchema$2,
5380
+ organizationId: identifierSchema$3,
5265
5381
  skill: organizationSkillSummarySchema
5266
5382
  }), strictObject({
5267
5383
  action: literal("import_github"),
5268
- organizationId: identifierSchema$2,
5384
+ organizationId: identifierSchema$3,
5269
5385
  skill: organizationSkillSummarySchema
5270
5386
  })]);
5271
- const organizationSkillRuntimeReleaseSchema = strictObject({
5272
- bundle: organizationSkillBundleSchema,
5273
- digest: digestSchema,
5274
- releaseId: identifierSchema$2,
5275
- skillId: identifierSchema$2
5276
- });
5277
5387
  const organizationSkillRuntimeReleaseSelectionSchema = strictObject({
5278
5388
  digest: digestSchema,
5279
5389
  name: skillNameSchema,
5280
- releaseId: identifierSchema$2,
5281
- skillId: identifierSchema$2
5390
+ releaseId: identifierSchema$3,
5391
+ skillId: identifierSchema$3
5282
5392
  });
5283
5393
  strictObject({
5284
- organizationId: identifierSchema$2,
5394
+ organizationId: identifierSchema$3,
5285
5395
  releases: array(organizationSkillRuntimeReleaseSchema).max(64)
5286
5396
  });
5287
5397
  strictObject({ context: openMeldRequestContextSchema });
5288
5398
  strictObject({
5289
5399
  context: openMeldRequestContextSchema,
5290
- skillId: identifierSchema$2
5400
+ skillId: identifierSchema$3,
5401
+ releaseId: identifierSchema$3.optional()
5291
5402
  });
5292
5403
  createOrganizationSkillBodySchema.extend({ context: openMeldRequestContextSchema });
5293
5404
  updateOrganizationSkillBodySchema.extend({
5294
5405
  context: openMeldRequestContextSchema,
5295
- skillId: identifierSchema$2
5406
+ skillId: identifierSchema$3
5296
5407
  });
5297
5408
  setOrganizationSkillEnabledBodySchema.extend({
5298
5409
  context: openMeldRequestContextSchema,
5299
- skillId: identifierSchema$2
5410
+ skillId: identifierSchema$3
5300
5411
  });
5301
5412
  setOrganizationSkillMaintainersBodySchema.extend({
5302
5413
  context: openMeldRequestContextSchema,
5303
- skillId: identifierSchema$2
5414
+ skillId: identifierSchema$3
5304
5415
  });
5305
5416
  deleteOrganizationSkillBodySchema.extend({
5306
5417
  context: openMeldRequestContextSchema,
5307
- skillId: identifierSchema$2
5418
+ skillId: identifierSchema$3
5308
5419
  });
5309
5420
  importOrganizationSkillFromGitHubBodySchema.extend({ context: openMeldRequestContextSchema });
5310
5421
  previewOrganizationSkillFromGitHubBodySchema.extend({ context: openMeldRequestContextSchema });
@@ -5316,10 +5427,10 @@ strictObject({
5316
5427
  strictObject({
5317
5428
  context: openMeldRequestContextSchema,
5318
5429
  digest: digestSchema,
5319
- releaseId: identifierSchema$2,
5320
- routineRunId: identifierSchema$2.nullable(),
5321
- skillId: identifierSchema$2,
5322
- submissionId: identifierSchema$2
5430
+ releaseId: identifierSchema$3,
5431
+ routineRunId: identifierSchema$3.nullable(),
5432
+ skillId: identifierSchema$3,
5433
+ submissionId: identifierSchema$3
5323
5434
  });
5324
5435
  strictObject({ recorded: boolean() });
5325
5436
  function isSafePortableSkillPath(value) {
@@ -5355,13 +5466,17 @@ const SPACE_ACCESS_MODES = [
5355
5466
  "public_view_join_password",
5356
5467
  "protected"
5357
5468
  ];
5469
+ const spaceLinkJoinPolicySchema = z$1.enum(["invite_only", "access_mode"]);
5358
5470
  function spaceAccessModeUsesPassword(accessMode) {
5359
5471
  return accessMode === "public_view_join_password" || accessMode === "protected";
5360
5472
  }
5361
5473
  const spaceAccessModeSchema = z$1.enum(SPACE_ACCESS_MODES);
5362
5474
  const setSpaceAccessModeBodySchema = z$1.strictObject({
5363
5475
  accessMode: spaceAccessModeSchema,
5364
- password: spacePasswordSchema.optional()
5476
+ allowGuests: z$1.boolean().optional(),
5477
+ linkJoinPolicy: spaceLinkJoinPolicySchema.optional(),
5478
+ password: spacePasswordSchema.optional(),
5479
+ visibility: z$1.enum(["public", "private"]).optional()
5365
5480
  });
5366
5481
  const spaceAccessModeStateSchema = z$1.strictObject({
5367
5482
  spaceId: z$1.string().trim().min(1),
@@ -5414,6 +5529,7 @@ const spaceMetaSchema = z$1.strictObject({
5414
5529
  allowGuests: z$1.boolean().optional(),
5415
5530
  guide: trimmedNonEmptyStringSchema$12.optional(),
5416
5531
  accessMode: spaceAccessModeSchema.optional(),
5532
+ linkJoinPolicy: spaceLinkJoinPolicySchema.optional(),
5417
5533
  passwordProtected: z$1.boolean().optional(),
5418
5534
  createdAt: isoDateTimeSchema$5.optional(),
5419
5535
  updatedAt: isoDateTimeSchema$5.optional(),
@@ -5657,6 +5773,7 @@ z$1.enum([
5657
5773
  "legacy_nullable"
5658
5774
  ]);
5659
5775
  const postNormalMessageBodySchema = z$1.strictObject({
5776
+ workHandoffVersion: z$1.literal(1).optional(),
5660
5777
  text: signalTextRequestDataSchema.shape.text,
5661
5778
  deviceWait: signalTextRequestDataSchema.shape.deviceWait.optional(),
5662
5779
  contextSelection: signalTextRequestDataSchema.shape.contextSelection.optional(),
@@ -5666,7 +5783,8 @@ const postNormalMessageBodySchema = z$1.strictObject({
5666
5783
  replyTo: signalTextRequestDataSchema.shape.replyTo.optional(),
5667
5784
  meta: signalTextRequestDataSchema.shape.meta.optional()
5668
5785
  }).superRefine((value, ctx) => {
5669
- const parsed = signalTextRequestDataSchema.safeParse(value);
5786
+ const { workHandoffVersion: _workHandoffVersion, ...signalData } = value;
5787
+ const parsed = signalTextRequestDataSchema.safeParse(signalData);
5670
5788
  if (parsed.success) return;
5671
5789
  const firstIssue = parsed.error.issues[0];
5672
5790
  ctx.addIssue({
@@ -6356,7 +6474,7 @@ const organizationDocumentKindSchema = enumFactory([
6356
6474
  "knowledge"
6357
6475
  ]);
6358
6476
  const profileReportTypeSchema = enumFactory(["work_profile"]);
6359
- const identifierSchema$1 = string().trim().min(1).max(256);
6477
+ const identifierSchema$2 = string().trim().min(1).max(256);
6360
6478
  const titleSchema = string().trim().min(1).max(200);
6361
6479
  const folderNameSchema = string().trim().min(1).max(200);
6362
6480
  const contentSchema = string().max(ORGANIZATION_DOCUMENT_CONTENT_MAX_CHARS);
@@ -6364,25 +6482,25 @@ const isoDateTimeSchema$3 = iso.datetime({ offset: true });
6364
6482
  const operationIdSchema$1 = string().trim().min(1).max(256);
6365
6483
  const organizationDocumentFolderSchema = strictObject({
6366
6484
  createdAt: isoDateTimeSchema$3,
6367
- id: identifierSchema$1,
6485
+ id: identifierSchema$2,
6368
6486
  isManaged: boolean().default(false),
6369
6487
  name: folderNameSchema,
6370
- organizationId: identifierSchema$1,
6371
- parentFolderId: identifierSchema$1.nullable().optional(),
6488
+ organizationId: identifierSchema$2,
6489
+ parentFolderId: identifierSchema$2.nullable().optional(),
6372
6490
  updatedAt: isoDateTimeSchema$3
6373
6491
  });
6374
6492
  const organizationDocumentSummarySchema = strictObject({
6375
6493
  canEditContent: boolean(),
6376
6494
  canManage: boolean(),
6377
6495
  createdAt: isoDateTimeSchema$3,
6378
- folderId: identifierSchema$1.nullable(),
6496
+ folderId: identifierSchema$2.nullable(),
6379
6497
  hasDraft: boolean(),
6380
- id: identifierSchema$1,
6498
+ id: identifierSchema$2,
6381
6499
  kind: organizationDocumentKindSchema,
6382
- organizationId: identifierSchema$1,
6500
+ organizationId: identifierSchema$2,
6383
6501
  profileReportDate: iso.date().nullable().optional(),
6384
6502
  profileReportType: profileReportTypeSchema.nullable().optional(),
6385
- subjectUserId: identifierSchema$1.nullable(),
6503
+ subjectUserId: identifierSchema$2.nullable(),
6386
6504
  title: titleSchema,
6387
6505
  updatedAt: isoDateTimeSchema$3
6388
6506
  });
@@ -6395,19 +6513,19 @@ const organizationDocumentSchema = organizationDocumentSummarySchema.omit({ hasD
6395
6513
  strictObject({});
6396
6514
  const listOrganizationDocumentsResponseSchema = strictObject({
6397
6515
  canManage: boolean(),
6398
- currentUserId: identifierSchema$1,
6516
+ currentUserId: identifierSchema$2,
6399
6517
  documents: array(organizationDocumentSummarySchema),
6400
6518
  folders: array(organizationDocumentFolderSchema),
6401
- organizationId: identifierSchema$1
6519
+ organizationId: identifierSchema$2
6402
6520
  });
6403
- const organizationDocumentRouteParamsSchema = strictObject({ documentId: identifierSchema$1 });
6521
+ const organizationDocumentRouteParamsSchema = strictObject({ documentId: identifierSchema$2 });
6404
6522
  const getOrganizationDocumentResponseSchema = strictObject({ document: organizationDocumentSchema });
6405
6523
  const createOrganizationDocumentBodySchema = strictObject({
6406
6524
  content: contentSchema,
6407
- expectedOrganizationId: identifierSchema$1,
6408
- folderId: identifierSchema$1.nullable().optional(),
6525
+ expectedOrganizationId: identifierSchema$2,
6526
+ folderId: identifierSchema$2.nullable().optional(),
6409
6527
  kind: organizationDocumentKindSchema,
6410
- subjectUserId: identifierSchema$1.nullable().optional(),
6528
+ subjectUserId: identifierSchema$2.nullable().optional(),
6411
6529
  title: titleSchema.optional()
6412
6530
  }).superRefine(validateCreateDocumentShape);
6413
6531
  const createOrganizationDocumentResponseSchema = strictObject({ document: organizationDocumentSchema });
@@ -6415,8 +6533,8 @@ const updateOrganizationDocumentBodySchema = strictObject({
6415
6533
  content: contentSchema.optional(),
6416
6534
  expectedDocumentUpdatedAt: isoDateTimeSchema$3.optional(),
6417
6535
  expectedDraftCreatedAt: isoDateTimeSchema$3.nullable().optional(),
6418
- expectedOrganizationId: identifierSchema$1,
6419
- folderId: identifierSchema$1.nullable().optional(),
6536
+ expectedOrganizationId: identifierSchema$2,
6537
+ folderId: identifierSchema$2.nullable().optional(),
6420
6538
  title: titleSchema.optional()
6421
6539
  }).superRefine((value, context) => {
6422
6540
  if (value.content === void 0) return;
@@ -6432,71 +6550,71 @@ const updateOrganizationDocumentBodySchema = strictObject({
6432
6550
  });
6433
6551
  }).refine((value) => value.content !== void 0 || value.title !== void 0 || value.folderId !== void 0, { message: "At least one document field must be updated." });
6434
6552
  const updateOrganizationDocumentResponseSchema = strictObject({ document: organizationDocumentSchema });
6435
- const deleteOrganizationDocumentBodySchema = strictObject({ expectedOrganizationId: identifierSchema$1 });
6553
+ const deleteOrganizationDocumentBodySchema = strictObject({ expectedOrganizationId: identifierSchema$2 });
6436
6554
  const deleteOrganizationDocumentResponseSchema = strictObject({
6437
6555
  deleted: literal(true),
6438
- documentId: identifierSchema$1,
6439
- organizationId: identifierSchema$1
6556
+ documentId: identifierSchema$2,
6557
+ organizationId: identifierSchema$2
6440
6558
  });
6441
- const organizationDocumentFolderRouteParamsSchema = strictObject({ folderId: identifierSchema$1 });
6559
+ const organizationDocumentFolderRouteParamsSchema = strictObject({ folderId: identifierSchema$2 });
6442
6560
  const createOrganizationDocumentFolderBodySchema = strictObject({
6443
- expectedOrganizationId: identifierSchema$1,
6561
+ expectedOrganizationId: identifierSchema$2,
6444
6562
  name: folderNameSchema,
6445
- parentFolderId: identifierSchema$1.nullable().optional()
6563
+ parentFolderId: identifierSchema$2.nullable().optional()
6446
6564
  });
6447
6565
  const createOrganizationDocumentFolderResponseSchema = strictObject({ folder: organizationDocumentFolderSchema });
6448
6566
  const updateOrganizationDocumentFolderBodySchema = strictObject({
6449
- expectedOrganizationId: identifierSchema$1,
6567
+ expectedOrganizationId: identifierSchema$2,
6450
6568
  name: folderNameSchema.optional(),
6451
- parentFolderId: identifierSchema$1.nullable().optional()
6569
+ parentFolderId: identifierSchema$2.nullable().optional()
6452
6570
  }).refine((value) => Number(value.name !== void 0) + Number(value.parentFolderId !== void 0) === 1, { message: "Exactly one folder field must be updated." });
6453
6571
  const updateOrganizationDocumentFolderResponseSchema = strictObject({ folder: organizationDocumentFolderSchema });
6454
- const deleteOrganizationDocumentFolderBodySchema = strictObject({ expectedOrganizationId: identifierSchema$1 });
6572
+ const deleteOrganizationDocumentFolderBodySchema = strictObject({ expectedOrganizationId: identifierSchema$2 });
6455
6573
  const deleteOrganizationDocumentFolderResponseSchema = strictObject({
6456
6574
  deleted: literal(true),
6457
- folderId: identifierSchema$1,
6458
- organizationId: identifierSchema$1
6575
+ folderId: identifierSchema$2,
6576
+ organizationId: identifierSchema$2
6459
6577
  });
6460
6578
  const approveOrganizationDocumentDraftBodySchema = strictObject({
6461
6579
  expectedDraftCreatedAt: isoDateTimeSchema$3,
6462
- expectedOrganizationId: identifierSchema$1
6580
+ expectedOrganizationId: identifierSchema$2
6463
6581
  });
6464
6582
  const approveOrganizationDocumentDraftResponseSchema = strictObject({ document: organizationDocumentSchema });
6465
6583
  const discardOrganizationDocumentDraftBodySchema = strictObject({
6466
6584
  expectedDraftCreatedAt: isoDateTimeSchema$3,
6467
- expectedOrganizationId: identifierSchema$1
6585
+ expectedOrganizationId: identifierSchema$2
6468
6586
  });
6469
6587
  const discardOrganizationDocumentDraftResponseSchema = strictObject({ document: organizationDocumentSchema });
6470
6588
  strictObject({ context: openMeldRequestContextSchema });
6471
6589
  strictObject({
6472
6590
  context: openMeldRequestContextSchema,
6473
- documentId: identifierSchema$1
6591
+ documentId: identifierSchema$2
6474
6592
  });
6475
6593
  createOrganizationDocumentBodySchema.extend({ context: openMeldRequestContextSchema });
6476
6594
  updateOrganizationDocumentBodySchema.extend({
6477
6595
  context: openMeldRequestContextSchema,
6478
- documentId: identifierSchema$1
6596
+ documentId: identifierSchema$2
6479
6597
  });
6480
6598
  deleteOrganizationDocumentBodySchema.extend({
6481
6599
  context: openMeldRequestContextSchema,
6482
- documentId: identifierSchema$1
6600
+ documentId: identifierSchema$2
6483
6601
  });
6484
6602
  createOrganizationDocumentFolderBodySchema.extend({ context: openMeldRequestContextSchema });
6485
6603
  updateOrganizationDocumentFolderBodySchema.extend({
6486
6604
  context: openMeldRequestContextSchema,
6487
- folderId: identifierSchema$1
6605
+ folderId: identifierSchema$2
6488
6606
  });
6489
6607
  deleteOrganizationDocumentFolderBodySchema.extend({
6490
6608
  context: openMeldRequestContextSchema,
6491
- folderId: identifierSchema$1
6609
+ folderId: identifierSchema$2
6492
6610
  });
6493
6611
  approveOrganizationDocumentDraftBodySchema.extend({
6494
6612
  context: openMeldRequestContextSchema,
6495
- documentId: identifierSchema$1
6613
+ documentId: identifierSchema$2
6496
6614
  });
6497
6615
  discardOrganizationDocumentDraftBodySchema.extend({
6498
6616
  context: openMeldRequestContextSchema,
6499
- documentId: identifierSchema$1
6617
+ documentId: identifierSchema$2
6500
6618
  });
6501
6619
  discriminatedUnion("action", [strictObject({
6502
6620
  action: literal("list"),
@@ -6505,7 +6623,7 @@ discriminatedUnion("action", [strictObject({
6505
6623
  }), strictObject({
6506
6624
  action: literal("get"),
6507
6625
  context: openMeldRequestContextSchema,
6508
- documentId: identifierSchema$1,
6626
+ documentId: identifierSchema$2,
6509
6627
  speakerMember: centerAgentToolSpeakerSchema
6510
6628
  })]);
6511
6629
  discriminatedUnion("action", [strictObject({
@@ -6518,7 +6636,7 @@ discriminatedUnion("action", [strictObject({
6518
6636
  updatedAt: true
6519
6637
  })),
6520
6638
  folders: array(organizationDocumentFolderSchema),
6521
- organizationId: identifierSchema$1
6639
+ organizationId: identifierSchema$2
6522
6640
  }), strictObject({
6523
6641
  action: literal("get"),
6524
6642
  document: organizationDocumentSchema.pick({
@@ -6530,7 +6648,7 @@ discriminatedUnion("action", [strictObject({
6530
6648
  title: true,
6531
6649
  updatedAt: true
6532
6650
  }),
6533
- organizationId: identifierSchema$1
6651
+ organizationId: identifierSchema$2
6534
6652
  })]);
6535
6653
  const organizationDocumentComputerProjectionSchema = organizationDocumentSchema.pick({
6536
6654
  content: true,
@@ -6545,20 +6663,20 @@ strictObject({ context: openMeldRequestContextSchema });
6545
6663
  strictObject({
6546
6664
  documents: array(organizationDocumentComputerProjectionSchema),
6547
6665
  folders: array(organizationDocumentFolderSchema),
6548
- organizationId: identifierSchema$1,
6666
+ organizationId: identifierSchema$2,
6549
6667
  revision: string().regex(/^[a-f0-9]{64}$/u)
6550
6668
  });
6551
6669
  strictObject({
6552
6670
  context: openMeldRequestContextSchema,
6553
- documentId: identifierSchema$1.optional(),
6671
+ documentId: identifierSchema$2.optional(),
6554
6672
  draftContent: contentSchema,
6555
6673
  expectedDocumentUpdatedAt: isoDateTimeSchema$3.optional(),
6556
- folderId: identifierSchema$1.nullable().optional(),
6674
+ folderId: identifierSchema$2.nullable().optional(),
6557
6675
  kind: organizationDocumentKindSchema.optional(),
6558
6676
  memberResearchReport: centerAgentMemberResearchReportSchema.optional(),
6559
- memberResearchTaskId: identifierSchema$1.optional(),
6677
+ memberResearchTaskId: identifierSchema$2.optional(),
6560
6678
  speakerMember: centerAgentToolSpeakerSchema,
6561
- subjectUserId: identifierSchema$1.optional(),
6679
+ subjectUserId: identifierSchema$2.optional(),
6562
6680
  title: titleSchema.optional()
6563
6681
  }).superRefine(validateCenterAgentDraftTarget);
6564
6682
  strictObject({
@@ -6566,24 +6684,24 @@ strictObject({
6566
6684
  draftReplaced: boolean(),
6567
6685
  memberResearchDraft: strictObject({
6568
6686
  content: contentSchema,
6569
- documentId: identifierSchema$1,
6687
+ documentId: identifierSchema$2,
6570
6688
  profileReportFolderName: folderNameSchema,
6571
- subjectUserId: identifierSchema$1,
6689
+ subjectUserId: identifierSchema$2,
6572
6690
  title: titleSchema
6573
6691
  }).optional()
6574
6692
  });
6575
6693
  strictObject({
6576
6694
  context: openMeldRequestContextSchema,
6577
- documentId: identifierSchema$1,
6695
+ documentId: identifierSchema$2,
6578
6696
  path: string().trim().min(1).max(1024),
6579
- subjectUserId: identifierSchema$1,
6580
- taskId: identifierSchema$1
6697
+ subjectUserId: identifierSchema$2,
6698
+ taskId: identifierSchema$2
6581
6699
  });
6582
6700
  strictObject({
6583
- documentId: identifierSchema$1,
6701
+ documentId: identifierSchema$2,
6584
6702
  path: string().trim().min(1).max(1024),
6585
6703
  recorded: literal(true),
6586
- taskId: identifierSchema$1
6704
+ taskId: identifierSchema$2
6587
6705
  });
6588
6706
  const centerAgentOrganizationDocumentProjectionSchema = organizationDocumentSchema.pick({
6589
6707
  content: true,
@@ -6599,13 +6717,13 @@ discriminatedUnion("action", [
6599
6717
  context: openMeldRequestContextSchema,
6600
6718
  name: folderNameSchema,
6601
6719
  operationId: operationIdSchema$1,
6602
- parentFolderId: identifierSchema$1.nullable().optional(),
6720
+ parentFolderId: identifierSchema$2.nullable().optional(),
6603
6721
  speakerMember: centerAgentToolSpeakerSchema
6604
6722
  }),
6605
6723
  strictObject({
6606
6724
  action: literal("rename_folder"),
6607
6725
  context: openMeldRequestContextSchema,
6608
- folderId: identifierSchema$1,
6726
+ folderId: identifierSchema$2,
6609
6727
  name: folderNameSchema,
6610
6728
  operationId: operationIdSchema$1,
6611
6729
  speakerMember: centerAgentToolSpeakerSchema
@@ -6613,8 +6731,8 @@ discriminatedUnion("action", [
6613
6731
  strictObject({
6614
6732
  action: literal("move_document"),
6615
6733
  context: openMeldRequestContextSchema,
6616
- documentId: identifierSchema$1,
6617
- folderId: identifierSchema$1.nullable(),
6734
+ documentId: identifierSchema$2,
6735
+ folderId: identifierSchema$2.nullable(),
6618
6736
  operationId: operationIdSchema$1,
6619
6737
  speakerMember: centerAgentToolSpeakerSchema
6620
6738
  }),
@@ -6622,8 +6740,8 @@ discriminatedUnion("action", [
6622
6740
  action: literal("save_document"),
6623
6741
  content: contentSchema,
6624
6742
  context: openMeldRequestContextSchema,
6625
- documentId: identifierSchema$1.optional(),
6626
- folderId: identifierSchema$1.nullable().optional(),
6743
+ documentId: identifierSchema$2.optional(),
6744
+ folderId: identifierSchema$2.nullable().optional(),
6627
6745
  operationId: operationIdSchema$1,
6628
6746
  speakerMember: centerAgentToolSpeakerSchema,
6629
6747
  title: titleSchema.optional()
@@ -6639,22 +6757,22 @@ discriminatedUnion("action", [
6639
6757
  strictObject({
6640
6758
  action: literal("create_folder"),
6641
6759
  folder: organizationDocumentFolderSchema,
6642
- organizationId: identifierSchema$1
6760
+ organizationId: identifierSchema$2
6643
6761
  }),
6644
6762
  strictObject({
6645
6763
  action: literal("rename_folder"),
6646
6764
  folder: organizationDocumentFolderSchema,
6647
- organizationId: identifierSchema$1
6765
+ organizationId: identifierSchema$2
6648
6766
  }),
6649
6767
  strictObject({
6650
6768
  action: literal("move_document"),
6651
6769
  document: centerAgentOrganizationDocumentProjectionSchema,
6652
- organizationId: identifierSchema$1
6770
+ organizationId: identifierSchema$2
6653
6771
  }),
6654
6772
  strictObject({
6655
6773
  action: literal("save_document"),
6656
6774
  document: centerAgentOrganizationDocumentProjectionSchema,
6657
- organizationId: identifierSchema$1,
6775
+ organizationId: identifierSchema$2,
6658
6776
  outcome: enumFactory(["created", "updated"])
6659
6777
  })
6660
6778
  ]);
@@ -6666,7 +6784,7 @@ strictObject({
6666
6784
  briefContent: contentSchema.nullable(),
6667
6785
  documentTitles: array(titleSchema),
6668
6786
  organizationProtectedInformation: organizationProtectedInformationSchema.nullable().optional(),
6669
- organizationId: identifierSchema$1
6787
+ organizationId: identifierSchema$2
6670
6788
  });
6671
6789
  function validateCreateDocumentShape(value, context) {
6672
6790
  if (value.kind === "member_profile" && !value.subjectUserId) context.addIssue({
@@ -7197,18 +7315,18 @@ const accountSpaceIndexResponseSchema = z$1.strictObject({
7197
7315
  });
7198
7316
  //#endregion
7199
7317
  //#region ../../packages/schemas/dist/schemas/http/agent-profile-creation-request.js
7200
- const identifierSchema = z$1.string().trim().min(1).max(256);
7318
+ const identifierSchema$1 = z$1.string().trim().min(1).max(256);
7201
7319
  const profileNameSchema = z$1.string().trim().min(1).max(80);
7202
7320
  const isoDateTimeSchema$2 = z$1.iso.datetime({ offset: true });
7203
7321
  z$1.object({
7204
- requestId: identifierSchema.optional(),
7205
- idempotencyKey: identifierSchema.optional()
7322
+ requestId: identifierSchema$1.optional(),
7323
+ idempotencyKey: identifierSchema$1.optional()
7206
7324
  }).refine((value) => !(value.requestId && value.idempotencyKey), { message: "Select a request by its ID or idempotency key, not both." });
7207
7325
  z$1.strictObject({
7208
7326
  kind: z$1.literal("agent_profile_creation"),
7209
7327
  v: z$1.literal(1),
7210
- organizationId: identifierSchema,
7211
- requestId: identifierSchema
7328
+ organizationId: identifierSchema$1,
7329
+ requestId: identifierSchema$1
7212
7330
  });
7213
7331
  const agentProfileCreationApprovalPolicySchema = z$1.enum([
7214
7332
  "never_allow",
@@ -7248,8 +7366,8 @@ const agentProfileCreationRequestStatusReasonSchema = z$1.enum([
7248
7366
  const completeAgentProfileCreationConfigurationSchema = agentProfileCreationPreferenceSelectionSchema.safeExtend({
7249
7367
  agentControllerRef: agentControllerRefSchema.nullable(),
7250
7368
  authorizeForOrganization: z$1.boolean().optional().default(true),
7251
- localAgentConnectionCandidateId: identifierSchema.nullable().optional(),
7252
- targetComputerId: identifierSchema.nullable()
7369
+ localAgentConnectionCandidateId: identifierSchema$1.nullable().optional(),
7370
+ targetComputerId: identifierSchema$1.nullable()
7253
7371
  }).superRefine((configuration, context) => {
7254
7372
  const hasController = configuration.agentControllerRef !== null;
7255
7373
  const hasComputer = configuration.targetComputerId !== null;
@@ -7319,24 +7437,24 @@ const DEFAULT_AGENT_PROFILE_CREATION_CONFIGURATION = {
7319
7437
  targetComputerId: null
7320
7438
  };
7321
7439
  const agentProfileCreationRequestSchema = z$1.strictObject({
7322
- actorProfileId: identifierSchema,
7440
+ actorProfileId: identifierSchema$1,
7323
7441
  completedAt: isoDateTimeSchema$2.nullable(),
7324
7442
  configuration: agentProfileCreationConfigurationSchema,
7325
- createdAgentProfileId: identifierSchema.nullable(),
7443
+ createdAgentProfileId: identifierSchema$1.nullable(),
7326
7444
  createdAt: isoDateTimeSchema$2,
7327
7445
  decidedAt: isoDateTimeSchema$2.nullable(),
7328
- id: identifierSchema,
7446
+ id: identifierSchema$1,
7329
7447
  failureMessage: z$1.string().trim().min(1).max(1e3).nullable(),
7330
- nativeSessionId: identifierSchema.nullable(),
7331
- organizationId: identifierSchema,
7448
+ nativeSessionId: identifierSchema$1.nullable(),
7449
+ organizationId: identifierSchema$1,
7332
7450
  profileName: profileNameSchema,
7333
- requestedSpaceId: identifierSchema.nullable(),
7334
- requesterUserId: identifierSchema,
7451
+ requestedSpaceId: identifierSchema$1.nullable(),
7452
+ requesterUserId: identifierSchema$1,
7335
7453
  sessionStrategy: agentProfileCreationSessionStrategySchema,
7336
7454
  source: agentProfileCreationRequestSourceSchema,
7337
7455
  status: agentProfileCreationRequestStatusSchema,
7338
7456
  statusReason: agentProfileCreationRequestStatusReasonSchema,
7339
- targetOwnerUserId: identifierSchema,
7457
+ targetOwnerUserId: identifierSchema$1,
7340
7458
  updatedAt: isoDateTimeSchema$2
7341
7459
  }).superRefine((request, context) => {
7342
7460
  if (request.sessionStrategy === "new" && request.nativeSessionId !== null) context.addIssue({
@@ -7367,13 +7485,13 @@ const agentProfileCreationRequestSchema = z$1.strictObject({
7367
7485
  });
7368
7486
  const createAgentProfileCreationRequestBodySchema = z$1.strictObject({
7369
7487
  configuration: agentProfileCreationConfigurationSchema.optional(),
7370
- idempotencyKey: identifierSchema,
7371
- nativeSessionId: identifierSchema.nullable().optional(),
7488
+ idempotencyKey: identifierSchema$1,
7489
+ nativeSessionId: identifierSchema$1.nullable().optional(),
7372
7490
  profileName: profileNameSchema,
7373
- requestedSpaceId: identifierSchema.nullable().optional(),
7491
+ requestedSpaceId: identifierSchema$1.nullable().optional(),
7374
7492
  sessionStrategy: agentProfileCreationSessionStrategySchema,
7375
7493
  source: agentProfileCreationRequestSourceSchema,
7376
- targetOwnerUserId: identifierSchema
7494
+ targetOwnerUserId: identifierSchema$1
7377
7495
  }).superRefine((request, context) => {
7378
7496
  const nativeSessionId = request.nativeSessionId ?? null;
7379
7497
  if (request.configuration?.agentControllerRef === "hosted:remote-agent" && request.sessionStrategy !== "new") context.addIssue({
@@ -7406,8 +7524,8 @@ const agentProfileCreationIntentSchema = z$1.object(createAgentProfileCreationRe
7406
7524
  targetOwnerUserId: intent.targetOwnerUserId
7407
7525
  }));
7408
7526
  const listAgentProfileCreationRequestsResponseSchema = z$1.strictObject({
7409
- organizationId: identifierSchema,
7410
- matchedIdempotencyKey: identifierSchema.optional(),
7527
+ organizationId: identifierSchema$1,
7528
+ matchedIdempotencyKey: identifierSchema$1.optional(),
7411
7529
  requests: z$1.array(agentProfileCreationRequestSchema).max(200)
7412
7530
  });
7413
7531
  const decideAgentProfileCreationRequestBodySchema = z$1.strictObject({ decision: z$1.enum(["approve", "decline"]) });
@@ -7415,9 +7533,9 @@ const agentProfileCreationRequestMutationResponseSchema = z$1.strictObject({ req
7415
7533
  const agentProfileCreationApprovalPreferenceSchema = z$1.strictObject({
7416
7534
  existingSessionPolicy: agentProfileCreationApprovalPolicySchema,
7417
7535
  newSessionPolicy: agentProfileCreationApprovalPolicySchema,
7418
- organizationId: identifierSchema,
7536
+ organizationId: identifierSchema$1,
7419
7537
  updatedAt: isoDateTimeSchema$2.nullable(),
7420
- userId: identifierSchema
7538
+ userId: identifierSchema$1
7421
7539
  });
7422
7540
  const setAgentProfileCreationApprovalPreferenceBodySchema = z$1.strictObject({
7423
7541
  existingSessionPolicy: agentProfileCreationApprovalPolicySchema,
@@ -7454,6 +7572,10 @@ const executeAgentProfileWorkRecoveryBodySchema = z$1.discriminatedUnion("action
7454
7572
  z$1.strictObject({
7455
7573
  action: z$1.literal("skip_interrupted_work"),
7456
7574
  expectedInterruptedTargetWakeLifecycleId: z$1.string().trim().min(1).max(512)
7575
+ }),
7576
+ z$1.strictObject({
7577
+ action: z$1.literal("fork_interrupted_work"),
7578
+ expectedInterruptedTargetWakeLifecycleId: z$1.string().trim().min(1).max(512)
7457
7579
  })
7458
7580
  ]);
7459
7581
  const executeAgentProfileWorkRecoveryResponseSchema = z$1.strictObject({
@@ -8590,6 +8712,7 @@ const getSpaceStatusResponseSchema = z$1.object({
8590
8712
  ownerUserIds: z$1.array(z$1.string().min(1)).optional(),
8591
8713
  allowGuests: z$1.boolean().optional(),
8592
8714
  accessMode: spaceAccessModeSchema,
8715
+ linkJoinPolicy: spaceLinkJoinPolicySchema.optional(),
8593
8716
  passwordProtected: z$1.boolean(),
8594
8717
  dispatchPolicy: spaceDispatchPolicySchema,
8595
8718
  publicationMode: spacePublicationModeSchema,
@@ -8656,6 +8779,7 @@ const listSpaceThreadSignalsResponseSchema = z$1.strictObject({
8656
8779
  placements: z$1.array(spaceThreadSignalPlacementSchema)
8657
8780
  });
8658
8781
  const postSpaceThreadSignalBodySchema = z$1.strictObject({
8782
+ workHandoff: signalTextSchema.shape.data.shape.meta.unwrap().shape.workHandoff,
8659
8783
  threadWakeContinuation: z$1.literal(true).optional(),
8660
8784
  text: signalTextSchema.shape.data.shape.text,
8661
8785
  deviceWait: signalTextSchema.shape.data.shape.deviceWait.optional(),
@@ -9021,6 +9145,7 @@ const remoteAgentWorkerSubmitTurnRequestShape = {
9021
9145
  messages: array(remoteAgentWorkerTurnMessageSchema).min(1),
9022
9146
  author: remoteAgentWorkerAuthorContextSchema,
9023
9147
  onBehalfOf: remoteAgentWorkerAuthorContextSchema.nullable(),
9148
+ workHandoff: spaceWorkHandoffSchema.optional(),
9024
9149
  organizationSkillReleases: array(organizationSkillRuntimeReleaseSelectionSchema).max(64).optional(),
9025
9150
  turnEnvelope: remoteAgentTurnEnvelopeSchema
9026
9151
  };
@@ -12392,6 +12517,71 @@ const observedDeviceMetadataSchema = z$1.strictObject({
12392
12517
  const writeCurrentDeviceObservedMetadataBodySchema = z$1.strictObject({ metadata: observedDeviceMetadataSchema });
12393
12518
  const writeCurrentDeviceObservedMetadataResponseSchema = writeCurrentDeviceObservedMetadataBodySchema;
12394
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
12395
12585
  //#region ../../packages/schemas/dist/schemas/http/list-signals-query.js
12396
12586
  const CATCHUP_DEFAULT_LIMIT = 200;
12397
12587
  const CATCHUP_MAX_LIMIT = 500;
@@ -15883,6 +16073,25 @@ const createFeedbackApi = (client) => ({
15883
16073
  }
15884
16074
  });
15885
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
+ }
15886
16095
  function buildInboxMessageNotificationPreferencesPath(spaceId) {
15887
16096
  const base = `${INBOX_PATH}/message-notification-preferences`;
15888
16097
  return spaceId === void 0 ? base : `${base}?${new URLSearchParams({ spaceId })}`;
@@ -15891,12 +16100,15 @@ function buildInboxPath(query = {}) {
15891
16100
  const search = new URLSearchParams();
15892
16101
  if (query.cursor !== void 0) search.set("cursor", query.cursor);
15893
16102
  if (query.limit !== void 0) search.set("limit", String(query.limit));
16103
+ if (query.presentation !== void 0) search.set("presentation", query.presentation);
16104
+ if (query.notificationPreview !== void 0) search.set("notificationPreview", query.notificationPreview);
15894
16105
  if (query.view !== void 0) search.set("view", query.view);
15895
16106
  const suffix = search.toString();
15896
16107
  return suffix ? `${INBOX_PATH}?${suffix}` : INBOX_PATH;
15897
16108
  }
15898
- function buildInboxSummaryPath() {
15899
- return `${INBOX_PATH}/summary`;
16109
+ function buildInboxSummaryPath(presentation) {
16110
+ const base = `${INBOX_PATH}/summary`;
16111
+ return presentation === void 0 ? base : `${base}?${new URLSearchParams({ presentation })}`;
15900
16112
  }
15901
16113
  function buildCenterAgentInboxSummaryPath() {
15902
16114
  return `${INBOX_PATH}/center-agent/summary`;
@@ -15922,13 +16134,44 @@ function buildInboxItemDismissPath(itemId) {
15922
16134
  function buildInboxItemPath(itemId) {
15923
16135
  return `${INBOX_PATH}/items/${encodeURIComponent(itemId)}`;
15924
16136
  }
15925
- function buildInboxMarkAllReadPath() {
15926
- return `${INBOX_PATH}/mark-all-read`;
16137
+ function buildInboxMarkAllReadPath(presentation) {
16138
+ const base = `${INBOX_PATH}/mark-all-read`;
16139
+ return presentation === void 0 ? base : `${base}?${new URLSearchParams({ presentation })}`;
15927
16140
  }
15928
16141
  function buildInboxPreferencesPath() {
15929
16142
  return `${INBOX_PATH}/preferences`;
15930
16143
  }
15931
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
+ },
15932
16175
  getMessageNotificationPreferences: async (input = {}) => {
15933
16176
  const query = requireValidInput$5(inboxMessageNotificationPreferencesQuerySchema, { spaceId: input.spaceId }, "Message notification preferences query is invalid.");
15934
16177
  return await client.requestJson({
@@ -15966,6 +16209,7 @@ const createInboxApi = (client) => ({
15966
16209
  return await client.requestJson({
15967
16210
  ...requestOptions$7(input),
15968
16211
  invalidMessage: "invalid Inbox dismiss response",
16212
+ headers: inboxSourceTargetVersionHeaders(),
15969
16213
  method: "PUT",
15970
16214
  operation: "inbox.item.dismiss",
15971
16215
  schema: dismissInboxItemResponseSchema,
@@ -15988,6 +16232,8 @@ const createInboxApi = (client) => ({
15988
16232
  const query = requireValidInput$5(listInboxItemsQuerySchema, {
15989
16233
  ...input.cursor === void 0 ? {} : { cursor: input.cursor },
15990
16234
  ...input.limit === void 0 ? {} : { limit: input.limit },
16235
+ ...input.presentation === void 0 ? {} : { presentation: input.presentation },
16236
+ ...input.notificationPreview === void 0 ? {} : { notificationPreview: input.notificationPreview },
15991
16237
  ...input.view === void 0 ? {} : { view: input.view }
15992
16238
  }, "Inbox list request is invalid.");
15993
16239
  return await client.requestJson({
@@ -16000,15 +16246,21 @@ const createInboxApi = (client) => ({
16000
16246
  url: buildInboxPath(query)
16001
16247
  });
16002
16248
  },
16003
- summary: async (input = {}) => await client.requestJson({
16004
- ...requestOptions$7(input),
16005
- invalidMessage: "invalid Inbox summary response",
16006
- headers: { [OPENMELD_HEADER_INBOX_SUMMARY_VERSION]: "2" },
16007
- method: "GET",
16008
- operation: "inbox.summary",
16009
- schema: inboxSummaryResponseSchema,
16010
- url: buildInboxSummaryPath()
16011
- }),
16249
+ summary: async (input = {}) => {
16250
+ const query = requireValidInput$5(inboxSummaryQuerySchema, input.presentation === void 0 ? {} : { presentation: input.presentation }, "Inbox summary request is invalid.");
16251
+ return await client.requestJson({
16252
+ ...requestOptions$7(input),
16253
+ invalidMessage: "invalid Inbox summary response",
16254
+ headers: {
16255
+ ...inboxSourceTargetVersionHeaders(),
16256
+ [OPENMELD_HEADER_INBOX_SUMMARY_VERSION]: "3"
16257
+ },
16258
+ method: "GET",
16259
+ operation: "inbox.summary",
16260
+ schema: inboxSummaryResponseSchema,
16261
+ url: buildInboxSummaryPath(query.presentation)
16262
+ });
16263
+ },
16012
16264
  markRead: async (input) => {
16013
16265
  const params = requireValidInput$5(inboxItemRouteParamsSchema, { itemId: input.itemId }, "Inbox item request is invalid.");
16014
16266
  const body = requireValidInput$5(markInboxItemReadBodySchema, { read: input.read }, "Inbox read request is invalid.");
@@ -16026,14 +16278,17 @@ const createInboxApi = (client) => ({
16026
16278
  url: buildInboxItemReadPath(params.itemId)
16027
16279
  });
16028
16280
  },
16029
- markAllRead: async (input = {}) => await client.requestJson({
16030
- ...requestOptions$7(input),
16031
- invalidMessage: "invalid Inbox mark-all-read response",
16032
- method: "POST",
16033
- operation: "inbox.mark_all_read",
16034
- schema: markAllInboxItemsReadResponseSchema,
16035
- url: buildInboxMarkAllReadPath()
16036
- }),
16281
+ markAllRead: async (input = {}) => {
16282
+ const query = requireValidInput$5(markAllInboxItemsReadQuerySchema, input.presentation === void 0 ? {} : { presentation: input.presentation }, "Inbox mark-all-read request is invalid.");
16283
+ return await client.requestJson({
16284
+ ...requestOptions$7(input),
16285
+ invalidMessage: "invalid Inbox mark-all-read response",
16286
+ method: "POST",
16287
+ operation: "inbox.mark_all_read",
16288
+ schema: markAllInboxItemsReadResponseSchema,
16289
+ url: buildInboxMarkAllReadPath(query.presentation)
16290
+ });
16291
+ },
16037
16292
  markCenterAgentReadThrough: async (input) => {
16038
16293
  const body = requireValidInput$5(markCenterAgentInboxReadThroughBodySchema, {
16039
16294
  spaceId: input.spaceId,
@@ -16055,7 +16310,10 @@ const createInboxApi = (client) => ({
16055
16310
  invalidMessage: "invalid Space Inbox summary response",
16056
16311
  method: "GET",
16057
16312
  operation: "inbox.space.summary",
16058
- headers: { [OPENMELD_HEADER_INBOX_SUMMARY_VERSION]: "2" },
16313
+ headers: {
16314
+ ...inboxSourceTargetVersionHeaders(),
16315
+ [OPENMELD_HEADER_INBOX_SUMMARY_VERSION]: "3"
16316
+ },
16059
16317
  schema: spaceInboxSummaryResponseSchema,
16060
16318
  url: buildSpaceInboxSummaryPath()
16061
16319
  }),
@@ -16113,7 +16371,7 @@ const createInboxApi = (client) => ({
16113
16371
  function inboxSourceTargetVersionHeaders() {
16114
16372
  return {
16115
16373
  [OPENMELD_HEADER_INBOX_ITEM_KIND_VERSION]: "1",
16116
- [OPENMELD_HEADER_INBOX_SOURCE_TARGET_VERSION]: "7"
16374
+ [OPENMELD_HEADER_INBOX_SOURCE_TARGET_VERSION]: "9"
16117
16375
  };
16118
16376
  }
16119
16377
  function requestOptions$7(input) {
@@ -16128,6 +16386,11 @@ function requireValidInput$5(schema, value, message) {
16128
16386
  if (!parsed.success) throw new Error(`${message} ${parsed.error.issues[0]?.message ?? "Invalid input."}`);
16129
16387
  return parsed.data;
16130
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
+ }
16131
16394
  /** Same rendered conversation projection in Web and native delivery. */
16132
16395
  function isInboxItemVisibleConversation(item, conversation) {
16133
16396
  if (!conversation) return false;
@@ -16151,12 +16414,17 @@ function inboxMessageNotificationSpaceId(item) {
16151
16414
  return item.sourceTarget.spaceId;
16152
16415
  }
16153
16416
  function isInboxNotificationEligible(item, mode = "mentions_and_replies") {
16154
- 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;
16155
16422
  if (inboxMessageNotificationSpaceId(item)) {
16156
16423
  if (mode === "muted") return false;
16157
16424
  if (mode === "all_messages") return true;
16158
16425
  }
16159
16426
  if (item.importance === "urgent") return true;
16427
+ if (firstContact) return true;
16160
16428
  if (item.attention === "action_required" && item.resolutionStatus === "open") return true;
16161
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);
16162
16430
  }
@@ -17090,7 +17358,7 @@ const createOrganizationSkillsApi = (client) => ({
17090
17358
  method: "GET",
17091
17359
  operation: "organization_skill.get",
17092
17360
  schema: getOrganizationSkillResponseSchema,
17093
- url: buildOrganizationSkillPath(requireSkillId(input.skillId))
17361
+ url: `${buildOrganizationSkillPath(requireSkillId(input.skillId))}${input.releaseId === void 0 ? "" : `?releaseId=${encodeURIComponent(input.releaseId)}`}`
17094
17362
  }),
17095
17363
  create: async (input) => {
17096
17364
  const body = requireValidInput$2(createOrganizationSkillBodySchema, {
@@ -18034,7 +18302,10 @@ function buildSpaceRoutePath(spaceId, segment) {
18034
18302
  async function setSpaceAccessMode(client, input) {
18035
18303
  const parsedBody = setSpaceAccessModeBodySchema.safeParse({
18036
18304
  accessMode: input.accessMode,
18037
- ...input.password === void 0 ? {} : { password: input.password }
18305
+ ...input.allowGuests === void 0 ? {} : { allowGuests: input.allowGuests },
18306
+ ...input.linkJoinPolicy === void 0 ? {} : { linkJoinPolicy: input.linkJoinPolicy },
18307
+ ...input.password === void 0 ? {} : { password: input.password },
18308
+ ...input.visibility === void 0 ? {} : { visibility: input.visibility }
18038
18309
  });
18039
18310
  if (!parsedBody.success) throw new Error(parsedBody.error.issues[0]?.message ?? "invalid space access mode request body");
18040
18311
  return await client.requestJson({
@@ -18133,7 +18404,7 @@ function readRequestBodySize(body) {
18133
18404
  return body instanceof Blob ? body.size : body.byteLength;
18134
18405
  }
18135
18406
  function currentSpaceAccessHeaders() {
18136
- return { [SPACE_ACCESS_VERSION_HEADER]: "1" };
18407
+ return { [SPACE_ACCESS_VERSION_HEADER]: "2" };
18137
18408
  }
18138
18409
  function currentSpaceAddressingHeaders(contentType) {
18139
18410
  return {
@@ -18961,6 +19232,7 @@ async function postSpaceNormalMessage(client, input) {
18961
19232
  function buildPostNormalMessageBody(input) {
18962
19233
  return {
18963
19234
  text: input.text,
19235
+ ...input.meta?.workHandoff ? { workHandoffVersion: 1 } : {},
18964
19236
  ...input.deviceWait ? { deviceWait: input.deviceWait } : {},
18965
19237
  ...input.contextSelection ? { contextSelection: input.contextSelection } : {},
18966
19238
  ...input.attachments ? { attachments: input.attachments } : {},
@@ -19355,6 +19627,59 @@ const createSpaceApi = (client) => {
19355
19627
  mutateTask: async (input) => await mutateSpaceTask(client, input)
19356
19628
  };
19357
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
+ }
19358
19683
  async function readOrUpdateSpaceFilePins(client, input) {
19359
19684
  return await client.requestJson({
19360
19685
  url: `/v1/spaces/${encodeURIComponent(input.spaceId)}/file-pins`,
@@ -19453,6 +19778,6 @@ function shouldWrapNetworkRequestError(error) {
19453
19778
  return message.includes("fetch failed") || message.includes("failed to fetch") || message.includes("network request failed");
19454
19779
  }
19455
19780
  //#endregion
19456
- 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 };
19457
19782
 
19458
- //# sourceMappingURL=dist-jsWwS864.js.map
19783
+ //# sourceMappingURL=dist-Dj3TOx03.js.map