openmeld 0.3.246 → 0.3.248

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 (104) hide show
  1. package/dist/{add-me-membership-C7dYkfPz.js → add-me-membership-zSJAa2ET.js} +2 -2
  2. package/dist/{add-me-membership-C7dYkfPz.js.map → add-me-membership-zSJAa2ET.js.map} +1 -1
  3. package/dist/{agents-QisYIlFS.js → agents-DLjDbkLV.js} +10 -10
  4. package/dist/{agents-QisYIlFS.js.map → agents-DLjDbkLV.js.map} +1 -1
  5. package/dist/{api-client-foundation-CYbEdm9o.js → api-client-foundation-BZvzqIeX.js} +3 -3
  6. package/dist/{api-client-foundation-CYbEdm9o.js.map → api-client-foundation-BZvzqIeX.js.map} +1 -1
  7. package/dist/{api-client-foundation-B1aTRrIy.js → api-client-foundation-DE_UqE2s.js} +1 -1
  8. package/dist/auth-session-BOi-tZ2y.js +4 -0
  9. package/dist/{auth-session-JhILeJRO.js → auth-session-DywRZLBr.js} +4 -4
  10. package/dist/{auth-session-JhILeJRO.js.map → auth-session-DywRZLBr.js.map} +1 -1
  11. package/dist/{channel-C6tm9T7P.js → channel-40SR2b5S.js} +3 -3
  12. package/dist/{channel-C6tm9T7P.js.map → channel-40SR2b5S.js.map} +1 -1
  13. package/dist/{cloud-computer-J2tdcTPm.js → cloud-computer-BqFhsHhC.js} +4 -4
  14. package/dist/{cloud-computer-J2tdcTPm.js.map → cloud-computer-BqFhsHhC.js.map} +1 -1
  15. package/dist/{command-BXJ-OwBD.js → command-DBfu-GeG.js} +15 -15
  16. package/dist/{command-BXJ-OwBD.js.map → command-DBfu-GeG.js.map} +1 -1
  17. package/dist/{computer-connection-BKtrn0d2.js → computer-connection-CVyM42a0.js} +2 -2
  18. package/dist/{computer-connection-BKtrn0d2.js.map → computer-connection-CVyM42a0.js.map} +1 -1
  19. package/dist/{computer-connection-review-bUqNKi6q.js → computer-connection-review-B5qKu2C9.js} +5 -5
  20. package/dist/{computer-connection-review-bUqNKi6q.js.map → computer-connection-review-B5qKu2C9.js.map} +1 -1
  21. package/dist/{computer-disconnect-D_Apsn9P.js → computer-disconnect-BxhAjQQx.js} +7 -7
  22. package/dist/{computer-disconnect-D_Apsn9P.js.map → computer-disconnect-BxhAjQQx.js.map} +1 -1
  23. package/dist/{computer-setup-continuation-occq0LmS.js → computer-setup-continuation-V40ov5FS.js} +3 -3
  24. package/dist/{computer-setup-continuation-occq0LmS.js.map → computer-setup-continuation-V40ov5FS.js.map} +1 -1
  25. package/dist/{context-M7dvalCp.js → context-BEgBhfbb.js} +4 -4
  26. package/dist/{context-M7dvalCp.js.map → context-BEgBhfbb.js.map} +1 -1
  27. package/dist/{daemon-device-id-C3gKch4E.js → daemon-device-id-CmykIapy.js} +4 -4
  28. package/dist/{daemon-device-id-C3gKch4E.js.map → daemon-device-id-CmykIapy.js.map} +1 -1
  29. package/dist/{daemon-lifecycle-journal-CGUuJshv.js → daemon-lifecycle-journal-2dzGUSWU.js} +3 -3
  30. package/dist/{daemon-lifecycle-journal-CGUuJshv.js.map → daemon-lifecycle-journal-2dzGUSWU.js.map} +1 -1
  31. package/dist/{daemon-service-runtime-CktU3ER4.js → daemon-service-runtime-pECs8jVc.js} +2 -2
  32. package/dist/{daemon-service-runtime-CktU3ER4.js.map → daemon-service-runtime-pECs8jVc.js.map} +1 -1
  33. package/dist/{daemon-service-update-coordinator-D0-15tZW.js → daemon-service-update-coordinator-DJKBTEjx.js} +14 -14
  34. package/dist/daemon-service-update-coordinator-DJKBTEjx.js.map +1 -0
  35. package/dist/{dispatch-owned-runtime-gOluDX5_.js → dispatch-owned-runtime-QhxDRdNr.js} +191 -52
  36. package/dist/dispatch-owned-runtime-QhxDRdNr.js.map +1 -0
  37. package/dist/{dist-KibLweLD.js → dist-BQcUIyf6.js} +747 -529
  38. package/dist/dist-BQcUIyf6.js.map +1 -0
  39. package/dist/dist-C8M8nzJ2.js +4 -0
  40. package/dist/{dual-view-guide-catalog-0kSizTFt.js → dual-view-guide-catalog-DDsnLpIT.js} +3 -3
  41. package/dist/{dual-view-guide-catalog-0kSizTFt.js.map → dual-view-guide-catalog-DDsnLpIT.js.map} +1 -1
  42. package/dist/{elapsed-time-Bo1CJczC.js → elapsed-time-DTb6L36x.js} +3 -3
  43. package/dist/{elapsed-time-Bo1CJczC.js.map → elapsed-time-DTb6L36x.js.map} +1 -1
  44. package/dist/{entry-B11DkH2I.js → entry-B3w4ZTC5.js} +7 -7
  45. package/dist/{entry-B11DkH2I.js.map → entry-B3w4ZTC5.js.map} +1 -1
  46. package/dist/{installation-inventory-BZgQmVup.js → installation-inventory-CCkKix8R.js} +3 -3
  47. package/dist/{installation-inventory-BZgQmVup.js.map → installation-inventory-CCkKix8R.js.map} +1 -1
  48. package/dist/{installer-k2gOOs58.js → installer-BiZM-o_y.js} +2 -2
  49. package/dist/{installer-k2gOOs58.js.map → installer-BiZM-o_y.js.map} +1 -1
  50. package/dist/{meta-api-DruuiAx-.js → meta-api-9iqkG_MP.js} +5 -5
  51. package/dist/{meta-api-DruuiAx-.js.map → meta-api-9iqkG_MP.js.map} +1 -1
  52. package/dist/{open-code-permission-DHFJYc_o.js → open-code-permission-B5f1e5an.js} +2 -31
  53. package/dist/open-code-permission-B5f1e5an.js.map +1 -0
  54. package/dist/{openmeld-DUdN78WD.js → openmeld-C70uo4ON.js} +215 -71
  55. package/dist/openmeld-C70uo4ON.js.map +1 -0
  56. package/dist/{openmeld-maintenance-worker-DwkvZD0q.js → openmeld-maintenance-worker-BFPEm1rE.js} +9 -9
  57. package/dist/{openmeld-maintenance-worker-DwkvZD0q.js.map → openmeld-maintenance-worker-BFPEm1rE.js.map} +1 -1
  58. package/dist/{openmeld-tools-update-join-BNUIw_Lo.js → openmeld-tools-update-join-Bki3ugUW.js} +4 -4
  59. package/dist/{openmeld-tools-update-join-BNUIw_Lo.js.map → openmeld-tools-update-join-Bki3ugUW.js.map} +1 -1
  60. package/dist/openmeld.js +4 -4
  61. package/dist/{prepare-provider-runtime-_XRIioDp.js → prepare-provider-runtime-CWZOcEF7.js} +85 -23
  62. package/dist/prepare-provider-runtime-CWZOcEF7.js.map +1 -0
  63. package/dist/{prepare-session-executor-B5AjN0qz.js → prepare-session-executor-B8XSTQdx.js} +18 -18
  64. package/dist/{prepare-session-executor-B5AjN0qz.js.map → prepare-session-executor-B8XSTQdx.js.map} +1 -1
  65. package/dist/{process-channel-CTXWjlBP.js → process-channel-DLXPiGRF.js} +2 -2
  66. package/dist/{process-channel-CTXWjlBP.js.map → process-channel-DLXPiGRF.js.map} +1 -1
  67. package/dist/{runtime-DCBc6YOq.js → runtime-DzToUfqW.js} +115 -32
  68. package/dist/{runtime-DCBc6YOq.js.map → runtime-DzToUfqW.js.map} +1 -1
  69. package/dist/{runtime-agent-controller-reporting-submission-CGa3GGL6.js → runtime-agent-controller-reporting-submission-BszHi0S1.js} +8 -8
  70. package/dist/{runtime-agent-controller-reporting-submission-CGa3GGL6.js.map → runtime-agent-controller-reporting-submission-BszHi0S1.js.map} +1 -1
  71. package/dist/{runtime-transport-BzCp9hM3.js → runtime-transport-DFBYm5Re.js} +214 -21
  72. package/dist/runtime-transport-DFBYm5Re.js.map +1 -0
  73. package/dist/{service-BEH6-P8U.js → service-8EozP77B.js} +546 -21
  74. package/dist/service-8EozP77B.js.map +1 -0
  75. package/dist/{service-account-authorization-CtvSn02O.js → service-account-authorization-CqUcNoD1.js} +2 -2
  76. package/dist/{service-account-authorization-CtvSn02O.js.map → service-account-authorization-CqUcNoD1.js.map} +1 -1
  77. package/dist/{service-account-control-BUPiFEGo.js → service-account-control-CzPgo-Iy.js} +9 -9
  78. package/dist/{service-account-control-BUPiFEGo.js.map → service-account-control-CzPgo-Iy.js.map} +1 -1
  79. package/dist/{service-control-capabilities-PMvSlaJj.js → service-control-capabilities-C5hd37o9.js} +3 -3
  80. package/dist/{service-control-capabilities-PMvSlaJj.js.map → service-control-capabilities-C5hd37o9.js.map} +1 -1
  81. package/dist/{service-control-capabilities-D-Nhqqgo.js → service-control-capabilities-CcwdbQf3.js} +1 -1
  82. package/dist/{state-C_iJAzKh.js → state-Fskb-utn.js} +2 -2
  83. package/dist/{state-C_iJAzKh.js.map → state-Fskb-utn.js.map} +1 -1
  84. package/dist/{updates-api-s2-QB929.js → updates-api-JM7f1ZDQ.js} +43 -146
  85. package/dist/updates-api-JM7f1ZDQ.js.map +1 -0
  86. package/dist/{upgrade-JmhCNmvs.js → upgrade-CDW-7zvb.js} +8 -8
  87. package/dist/{upgrade-JmhCNmvs.js.map → upgrade-CDW-7zvb.js.map} +1 -1
  88. package/dist/upgrade-r6W5TzOo.js +4 -0
  89. package/package.json +11 -11
  90. package/skills/openmeld-cli/SKILL.md +2 -0
  91. package/skills/openmeld-cli/playbooks/computer.md +55 -0
  92. package/skills/openmeld-cli/playbooks/plugins.md +37 -0
  93. package/dist/auth-session-DUYOBXO3.js +0 -4
  94. package/dist/daemon-service-update-coordinator-D0-15tZW.js.map +0 -1
  95. package/dist/dispatch-owned-runtime-gOluDX5_.js.map +0 -1
  96. package/dist/dist-DMlKqjUf.js +0 -4
  97. package/dist/dist-KibLweLD.js.map +0 -1
  98. package/dist/open-code-permission-DHFJYc_o.js.map +0 -1
  99. package/dist/openmeld-DUdN78WD.js.map +0 -1
  100. package/dist/prepare-provider-runtime-_XRIioDp.js.map +0 -1
  101. package/dist/runtime-transport-BzCp9hM3.js.map +0 -1
  102. package/dist/service-BEH6-P8U.js.map +0 -1
  103. package/dist/updates-api-s2-QB929.js.map +0 -1
  104. package/dist/upgrade-Dikfgr8z.js +0 -4
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { $n as runtimeCoordinatorExecutionRecordSchema, $t as spaceEvidenceReferenceSchema, Ai as updateSpaceFileEntryResponseSchema, An as connectorConnectionScopeSchema, Ar as START_BOUNDED_ID_SCHEMA, Bi as messageChannelResourceDescriptorSchema, Bn as spaceAgentStreamSnapshotSchema, Br as CENTER_AGENT_BOT_AVATAR_TYPES, Bt as spaceAttachmentMimeTypeSchema, Ci as spaceFileRevisionNumberSchema, Cn as messageEnvelopeSchema, Di as spaceMessageFileReferencesSchema, Dn as openMeldNavigationTargetSchema, Dr as localFolderPickerRequestSchema, En as computerSetupModeSchema, Fi as buildMessageChannelConversationId, Fn as AGENT_STREAM_SNAPSHOT_MAX_CHARS, Fr as localAgentCatalogLaunchStatusSchema, Ft as wakeDeviceWaitSchema, Gi as openMeldRequestContextSchema, H as runtimeTransportRuntimeCoordinatorRespondInteractionResponseSchema, Hi as slackMessagePermalinkSchema, Ht as spaceMessageAttachmentSchema, Ii as messageChannelConversationLocatorSchema, In as agentStreamToolPartSchema, It as wakeDeviceWaitTargetSchema, Jn as postSpaceWakeStopResponseSchema, Jr as updateAgentProfileDefaultProjectResponseSchema, K as openMeldDaemonOriginalErrorSchema, Ki as MAX_TEXT_LENGTH$1, Kn as agentInteractionResponseSchema, Kt as centerAgentInteractionSourceSchema, Li as messageChannelIngressEnvelopeSchema, Ln as spaceAgentStreamDeltaFrameSchema, Lr as localAgentCatalogWithLifecycleSchema, Lt as spaceAttachmentDescriptorSchema, Mi as centerAgentToolSpeakerSchema, Mt as signalSystemNoticeDataSchema, Ni as centerAgentVerifiedMemberToolSpeakerSchema, Nt as signalTextDataSchema, Oi as stageSpaceComposerUploadResponseSchema, On as openMeldWebUrlSchema, Or as localFolderPickerResultSchema, Pi as MESSAGE_CHANNEL_PROVIDERS, Pt as signalTextSchema, Q as openMeldDaemonTaskResultProjectFailureContextSchema, Qn as runtimeCoordinatorExecutionEventSchema, Qr as SPACE_FILE_MAX_SIZE_BYTES, Ri as messageChannelParticipantIdentitySchema, Rn as spaceAgentStreamPartFrameSchema, Rt as spaceAttachmentDimensionSchema, Si as spaceFileOriginSchema, Ti as spaceFolderDescriptorSchema, Ui as slackThreadPublicationPermalinkSchema, Un as agentInteractionPendingSummarySchema, Ur as authProfileManagedRoleSchema, Ut as spaceMessageAttachmentsSchema, Vi as messageChannelTransportSchema, Vn as spaceAgentStreamTerminalFrameSchema, Vr as agentAvatarStyleSchema, Vt as spaceAttachmentSizeBytesSchema, Wr as authProfileViewSchema, Wt as conversationCompactionMarkerSchema, Yn as clientMessageIdSchema$1, Yr as updateProfileResponseSchema, Yt as spaceWorkHandoffSchema, Zn as runtimeCoordinatorExecutionCreationDiagnosticSchema, Zr as SPACE_FILE_ERROR_CODES, _i as spaceFileClientMutationIdSchema, _r as localAgentReasoningPreferencesSchema, _t as spaceWakeAgentTaskHandleSchema, ai as listSpaceFilesResponseSchema, an as spaceThreadContextSchema, ar as SPACE_PASSWORD_RATE_LIMITED_ERROR_CODE, bi as spaceFileMimeTypeSchema, br as inspectExecutionRecoveryResponseSchema, cn as spaceThreadSignalPlacementSchema, ct as spaceCallerContextSchema, di as spaceComposerUploadDescriptorSchema, dn as resultArchivePolicySchema, dr as spaceMentionLabelSourceSchema, dt as agentTaskCompletionObservationSchema, ei as createSpaceFolderResponseSchema, en as spaceEvidenceReferencesSchema, et as AGENT_REPLY_PLACEMENT_HEADER, fi as spaceComposerUploadIdSchema, fn as spaceAllowedActionsSchema, fr as organizationInformationProtectionPolicyResponseSchema, ft as agentTaskHandleSchema, gi as spaceFileCapabilitiesSchema, gn as workingLanguageTagSchema, gt as controllerAgentTaskHandleSchema, hi as spaceFileBreadcrumbSchema, hn as workingLanguageGuidanceSchema, ht as buildAgentTaskKey, i as daemonExecutionCompatibilitySchema, ii as listSpaceFileRevisionsResponseSchema, in as executionHostObservationSchema, ir as spaceTraceExecutionIdentityProjectionSchema, ji as uploadSpaceFileResponseSchema, jn as connectorServiceSchema, jt as signalStatusDataSchema, ki as trashSpaceFileEntryResponseSchema, kn as connectorConnectionNameSchema, kr as localFolderPathSchema, kt as centerAgentExecutionInputTargetSchema, li as restoreSpaceFileEntryResponseSchema, lt as agentDelegationSnapshotSchema, mi as spaceFileBaseRevisionSchema, mn as spaceDispatchPolicySchema, mr as updateOrganizationInformationProtectionPolicyBodySchema, mt as areAgentTaskTerminalOutcomesEqual, ni as getSpaceFileResponseSchema, nt as aiUsageQueryResponseSchema, oi as publishSpaceComposerUploadResponseSchema, on as spaceThreadEventSchema, or as normalizeSpacePasswordText, pi as spaceFileActorSchema, pn as spacePublicationModeSchema, pr as organizationProtectedInformationSchema, pt as agentTaskTerminalOutcomeSchema, q as openMeldDaemonProviderAccessEvidenceProviderSchema, qn as postSpaceWakeStopBodySchema, qr as updateAgentProfileDefaultProjectBodySchema, rn as computerCareObservationSchema, sn as spaceThreadSchema, sr as spacePasswordSchema, ti as discardSpaceComposerUploadResponseSchema, tr as runtimeCoordinatorExecutionTokenEchoSchema, ui as restoreSpaceFileRevisionResponseSchema, ur as spaceMentionLabelSchema, ut as agentTaskCompletionConditionSchema, vi as spaceFileDescriptorSchema, vn as targetWakeLifecycleIdentitySchema, vr as executeExecutionRecoveryBodySchema, wi as spaceFileRevisionSchema, xi as spaceFileNameSchema, xr as agentProfileWorkRecoveryActionKindSchema, yi as spaceFileEntryIdSchema, yr as executeExecutionRecoveryResponseSchema, zi as messageChannelProviderSchema, zn as spaceAgentStreamPresenceSchema, zt as spaceAttachmentFileNameSchema } from "./runtime-transport-BzCp9hM3.js";
3
+ import { $n as postSpaceWakeStopResponseSchema, $r as updateAgentProfileDefaultProjectResponseSchema, $t as spaceEvidenceReferenceSchema, Ai as spaceFolderDescriptorSchema, An as connectorConnectionScopeSchema, Bi as buildMessageChannelConversationId, Bn as agentStreamToolPartSchema, Br as localAgentCatalogLaunchStatusSchema, Bt as spaceAttachmentMimeTypeSchema, Ci as spaceFileDescriptorSchema, Cn as messageEnvelopeSchema, Cr as executeExecutionRecoveryBodySchema, Di as spaceFileOriginSchema, Dn as openMeldNavigationTargetSchema, Ei as spaceFileNameSchema, En as computerSetupModeSchema, Er as agentProfileWorkRecoveryActionKindSchema, Fi as updateSpaceFileEntryResponseSchema, Fr as START_BOUNDED_ID_SCHEMA, Ft as wakeDeviceWaitSchema, Gi as messageChannelResourceDescriptorSchema, Gn as spaceAgentStreamTerminalFrameSchema, Gr as CENTER_AGENT_BOT_AVATAR_TYPES, H as runtimeTransportRuntimeCoordinatorRespondInteractionResponseSchema, Hi as messageChannelIngressEnvelopeSchema, Hn as spaceAgentStreamPartFrameSchema, Hr as localAgentCatalogWithLifecycleSchema, Ht as spaceMessageAttachmentSchema, Ii as uploadSpaceFileResponseSchema, It as wakeDeviceWaitTargetSchema, Ji as slackThreadPublicationPermalinkSchema, Jr as authProfileManagedRoleSchema, K as openMeldDaemonOriginalErrorSchema, Ki as messageChannelTransportSchema, Kr as agentAvatarStyleSchema, Kt as centerAgentInteractionSourceSchema, Li as centerAgentToolSpeakerSchema, Lt as spaceAttachmentDescriptorSchema, Mi as spaceMessageFileReferencesSchema, Mn as openConnectorRuntimeActionListSchema, Mr as localFolderPickerRequestSchema, Mt as signalSystemNoticeDataSchema, Ni as stageSpaceComposerUploadResponseSchema, Nn as pluginConnectionDescriptionSchema, Nr as localFolderPickerResultSchema, Nt as signalTextDataSchema, Oi as spaceFileRevisionNumberSchema, On as openMeldWebUrlSchema, Pi as trashSpaceFileEntryResponseSchema, Pn as pluginConnectionHealthSchema, Pr as localFolderPathSchema, Pt as signalTextSchema, Q as openMeldDaemonTaskResultProjectFailureContextSchema, Qn as postSpaceWakeStopBodySchema, Qr as updateAgentProfileDefaultProjectBodySchema, Ri as centerAgentVerifiedMemberToolSpeakerSchema, Rn as AGENT_STREAM_SNAPSHOT_MAX_CHARS, Rt as spaceAttachmentDimensionSchema, Si as spaceFileClientMutationIdSchema, Sr as localAgentReasoningPreferencesSchema, Ti as spaceFileMimeTypeSchema, Tr as inspectExecutionRecoveryResponseSchema, Ui as messageChannelParticipantIdentitySchema, Un as spaceAgentStreamPresenceSchema, Ut as spaceMessageAttachmentsSchema, Vi as messageChannelConversationLocatorSchema, Vn as spaceAgentStreamDeltaFrameSchema, Vt as spaceAttachmentSizeBytesSchema, Wi as messageChannelProviderSchema, Wn as spaceAgentStreamSnapshotSchema, Wt as conversationCompactionMarkerSchema, Xi as openMeldRequestContextSchema, Xn as agentInteractionResponseSchema, Yr as authProfileViewSchema, Yt as spaceWorkHandoffSchema, Zi as MAX_TEXT_LENGTH$1, Zn as agentControllerPermissionModeSchema, _i as spaceComposerUploadIdSchema, _r as organizationInformationProtectionPolicyResponseSchema, _t as spaceWakeAgentTaskHandleSchema, ai as createSpaceFolderResponseSchema, an as spaceThreadContextSchema, bi as spaceFileBreadcrumbSchema, cn as spaceThreadSignalPlacementSchema, ct as spaceCallerContextSchema, di as publishSpaceComposerUploadResponseSchema, dn as resultArchivePolicySchema, dr as normalizeSpacePasswordText, dt as agentTaskCompletionObservationSchema, ei as updateProfileResponseSchema, en as spaceEvidenceReferencesSchema, er as clientMessageIdSchema$1, et as AGENT_REPLY_PLACEMENT_HEADER, fn as spaceAllowedActionsSchema, fr as spacePasswordSchema, ft as agentTaskHandleSchema, gi as spaceComposerUploadDescriptorSchema, gn as workingLanguageTagSchema, gr as spaceMentionLabelSourceSchema, gt as controllerAgentTaskHandleSchema, hi as restoreSpaceFileRevisionResponseSchema, hn as workingLanguageGuidanceSchema, hr as spaceMentionLabelSchema, ht as buildAgentTaskKey, i as daemonExecutionCompatibilitySchema, in as executionHostObservationSchema, ir as runtimeCoordinatorExecutionRecordSchema, jn as connectorServiceSchema, jt as signalStatusDataSchema, ki as spaceFileRevisionSchema, kn as connectorConnectionNameSchema, kt as centerAgentExecutionInputTargetSchema, li as listSpaceFileRevisionsResponseSchema, lr as spaceTraceExecutionIdentityProjectionSchema, lt as agentDelegationSnapshotSchema, mi as restoreSpaceFileEntryResponseSchema, mn as spaceDispatchPolicySchema, mt as areAgentTaskTerminalOutcomesEqual, ni as SPACE_FILE_ERROR_CODES, nr as runtimeCoordinatorExecutionCreationDiagnosticSchema, nt as aiUsageQueryResponseSchema, oi as discardSpaceComposerUploadResponseSchema, on as spaceThreadEventSchema, or as runtimeCoordinatorExecutionTokenEchoSchema, pn as spacePublicationModeSchema, pt as agentTaskTerminalOutcomeSchema, q as openMeldDaemonProviderAccessEvidenceProviderSchema, qi as slackMessagePermalinkSchema, qn as agentInteractionPendingSummarySchema, ri as SPACE_FILE_MAX_SIZE_BYTES, rn as computerCareObservationSchema, rr as runtimeCoordinatorExecutionEventSchema, si as getSpaceFileResponseSchema, sn as spaceThreadSchema, ui as listSpaceFilesResponseSchema, ur as SPACE_PASSWORD_RATE_LIMITED_ERROR_CODE, ut as agentTaskCompletionConditionSchema, vi as spaceFileActorSchema, vn as targetWakeLifecycleIdentitySchema, vr as organizationProtectedInformationSchema, wi as spaceFileEntryIdSchema, wr as executeExecutionRecoveryResponseSchema, xi as spaceFileCapabilitiesSchema, yi as spaceFileBaseRevisionSchema, yr as updateOrganizationInformationProtectionPolicyBodySchema, zi as MESSAGE_CHANNEL_PROVIDERS, zn as agentStreamRecoveryPartSchema, zt as spaceAttachmentFileNameSchema } from "./runtime-transport-DFBYm5Re.js";
4
4
  import { A as profileKindSchema, E as agentProfileIdSchema, F as uuidProfileIdSchema, I as finiteIntegerNumber, L as nonEmptyTrimmedStringFromUnknown, M as profileSchema, N as profileWorkingDirectorySchema, O as openMeldRuntimeProfileIdSchema, P as profileWorkspaceModeSchema, R as optionalBooleanQuerySchema, r as localAgentInstallationOptionSchema, v as openMeldDaemonSyncRouteCatalogPayloadSchema, w as dispatchExecutionSchema, z as trimmedStringFromUnknown } from "./control-plane-B93wmVS6.js";
5
5
  import { A as boolean, B as neverFactory, D as NEVER, F as int, G as record, H as number, I as iso, J as tuple, K as strictObject, L as json, M as discriminatedUnion, N as email, P as enumFactory, Q as url, R as lazySchema, S as openMeldToolsUpdateOperationSchema, U as object, V as nullFactory, W as preprocess, X as union, Y as undefinedFactory, Z as unknown, _ as openMeldToolsMaintenanceMutationResultSchema, c as localComponentUpdatePolicySchema, j as coerce, k as array, l as localComponentUpdateProjectionSchema, q as string, u as localComponentUpdateStatusSchema, v as openMeldToolsMaintenanceProjectionSchema, w as openMeldToolsUpdateRequestResultSchema, z as literal } from "./local-components-jXECvlEY.js";
6
6
  import { C as resolveBuiltinAgentControllerConversationCapability, S as agentControllerConversationCapabilitySchema, b as normalizeKnownBuiltinAgentControllerId, h as agentControllerRefSchema, s as runtimeTransportModeSchema } from "./controller-contract-DAOCaefz.js";
7
7
  import { i as cliBinaryManifestSchema } from "./cli-binary-manifest-ChuzORh3.js";
8
8
  import { r as daemonServiceLaneSchema } from "./service-contract-CRyDcIIf.js";
9
- import { n as agentControllerPermissionModeSchema, r as agentControllerCollaborationModeSchema, t as openCodePermissionConfigSchema } from "./open-code-permission-DHFJYc_o.js";
9
+ import { n as agentControllerCollaborationModeSchema, t as openCodePermissionConfigSchema } from "./open-code-permission-B5f1e5an.js";
10
10
  import { n as toErrorMessage$3 } from "./dist-BLuEEVHh.js";
11
11
  import * as z$1 from "zod/v4";
12
12
  //#region ../../packages/schemas/dist/schemas/http/space-file-upload.js
@@ -2007,6 +2007,250 @@ strictObject({ context: openMeldRequestContextSchema });
2007
2007
  updateInboxNotificationPreferencesBodySchema.extend({ context: openMeldRequestContextSchema });
2008
2008
  centerAgentRequestMemberAttentionBodySchema.extend({ context: openMeldRequestContextSchema });
2009
2009
  //#endregion
2010
+ //#region ../../packages/schemas/dist/schemas/http/space-access-mode.js
2011
+ const SPACE_ACCESS_MODES = [
2012
+ "public",
2013
+ "members_only",
2014
+ "public_view_join_password",
2015
+ "protected"
2016
+ ];
2017
+ const spaceLinkJoinPolicySchema = z$1.enum(["invite_only", "access_mode"]);
2018
+ function spaceAccessModeUsesPassword(accessMode) {
2019
+ return accessMode === "public_view_join_password" || accessMode === "protected";
2020
+ }
2021
+ const spaceAccessModeSchema = z$1.enum(SPACE_ACCESS_MODES);
2022
+ const setSpaceAccessModeBodySchema = z$1.strictObject({
2023
+ accessMode: spaceAccessModeSchema,
2024
+ allowGuests: z$1.boolean().optional(),
2025
+ linkJoinPolicy: spaceLinkJoinPolicySchema.optional(),
2026
+ password: spacePasswordSchema.optional(),
2027
+ visibility: z$1.enum(["public", "private"]).optional()
2028
+ });
2029
+ const spaceAccessModeStateSchema = z$1.strictObject({
2030
+ spaceId: z$1.string().trim().min(1),
2031
+ accessMode: spaceAccessModeSchema,
2032
+ passwordProtected: z$1.boolean()
2033
+ });
2034
+ //#endregion
2035
+ //#region ../../packages/schemas/dist/schemas/http/space-name.js
2036
+ const spaceNameSchema = z$1.string().trim().min(1).max(80);
2037
+ //#endregion
2038
+ //#region ../../packages/schemas/dist/schemas/http/space-meta.js
2039
+ const trimmedNonEmptyStringSchema$14 = z$1.string().trim().min(1);
2040
+ const isoDateTimeSchema$6 = z$1.iso.datetime({ offset: true });
2041
+ const MAX_SPACE_GUIDE_LENGTH = 4e3;
2042
+ const spaceOrganizationVisibilitySchema = z$1.enum(["public", "private"]);
2043
+ function resolveInitialSpaceAccessMode(_visibility) {
2044
+ return "members_only";
2045
+ }
2046
+ const spaceCreatorSchema = z$1.strictObject({
2047
+ profileId: openMeldRuntimeProfileIdSchema,
2048
+ profileName: trimmedNonEmptyStringSchema$14.optional(),
2049
+ kind: profileKindSchema.optional(),
2050
+ profile: trimmedNonEmptyStringSchema$14.optional(),
2051
+ ownerUserId: trimmedNonEmptyStringSchema$14.optional(),
2052
+ ownerName: trimmedNonEmptyStringSchema$14.optional()
2053
+ }).superRefine((value, ctx) => {
2054
+ if (!value.kind) return;
2055
+ if ((value.kind === "agent" ? agentProfileIdSchema : uuidProfileIdSchema).safeParse(value.profileId).success) return;
2056
+ ctx.addIssue({
2057
+ code: "custom",
2058
+ message: value.kind === "agent" ? "agent profileId must use agt_<UUID>" : "human/system profileId must be a UUID",
2059
+ path: ["profileId"]
2060
+ });
2061
+ });
2062
+ const spaceStorageUsageSchema = z$1.strictObject({
2063
+ usedBytes: z$1.number().finite().min(0),
2064
+ softLimitBytes: z$1.number().finite().positive(),
2065
+ usagePercent: z$1.number().finite().min(0)
2066
+ });
2067
+ const spaceDirectMessageMetaSchema = z$1.strictObject({
2068
+ convertedAt: isoDateTimeSchema$6.optional(),
2069
+ pairKey: trimmedNonEmptyStringSchema$14
2070
+ });
2071
+ const spaceMetaSchema = z$1.strictObject({
2072
+ spaceId: trimmedNonEmptyStringSchema$14,
2073
+ organizationId: trimmedNonEmptyStringSchema$14,
2074
+ visibility: spaceOrganizationVisibilitySchema,
2075
+ name: trimmedNonEmptyStringSchema$14.optional(),
2076
+ purpose: trimmedNonEmptyStringSchema$14.optional(),
2077
+ directMessage: spaceDirectMessageMetaSchema.optional(),
2078
+ creator: spaceCreatorSchema.optional(),
2079
+ ownerUserIds: z$1.array(trimmedNonEmptyStringSchema$14).optional(),
2080
+ allowGuests: z$1.boolean().optional(),
2081
+ guide: trimmedNonEmptyStringSchema$14.optional(),
2082
+ accessMode: spaceAccessModeSchema.optional(),
2083
+ linkJoinPolicy: spaceLinkJoinPolicySchema.optional(),
2084
+ passwordProtected: z$1.boolean().optional(),
2085
+ createdAt: isoDateTimeSchema$6.optional(),
2086
+ updatedAt: isoDateTimeSchema$6.optional(),
2087
+ storageUsage: spaceStorageUsageSchema.optional()
2088
+ });
2089
+ const patchSpaceMetaResponseSchema = spaceMetaSchema;
2090
+ z$1.strictObject({
2091
+ meta: spaceMetaSchema,
2092
+ activeMember: z$1.boolean()
2093
+ });
2094
+ const patchSpaceMetaBodySchema = z$1.strictObject({
2095
+ visibility: spaceOrganizationVisibilitySchema.optional(),
2096
+ allowGuests: z$1.boolean().optional(),
2097
+ ownership: z$1.strictObject({
2098
+ userId: trimmedNonEmptyStringSchema$14,
2099
+ role: z$1.enum(["owner", "member"])
2100
+ }).optional(),
2101
+ name: spaceNameSchema.optional(),
2102
+ purpose: z$1.string().optional(),
2103
+ guide: z$1.string().max(MAX_SPACE_GUIDE_LENGTH).optional()
2104
+ }).superRefine((value, ctx) => {
2105
+ if (value.ownership !== void 0 || value.allowGuests !== void 0 || value.name !== void 0 || value.visibility !== void 0 || value.purpose !== void 0 || value.guide !== void 0) return;
2106
+ ctx.addIssue({
2107
+ code: "custom",
2108
+ message: "Expected name, purpose, guide or visibility"
2109
+ });
2110
+ }).transform((value) => ({
2111
+ ...value.allowGuests === void 0 ? {} : { allowGuests: value.allowGuests },
2112
+ ...value.ownership === void 0 ? {} : { ownership: value.ownership },
2113
+ ...value.visibility === void 0 ? {} : { visibility: value.visibility },
2114
+ ...value.name === void 0 ? {} : { name: value.name },
2115
+ ...value.purpose === void 0 ? {} : { purpose: value.purpose },
2116
+ ...value.guide === void 0 ? {} : { guide: value.guide }
2117
+ }));
2118
+ //#endregion
2119
+ //#region ../../packages/schemas/dist/schemas/http/space-create.js
2120
+ const createSpaceBodySchema = z$1.strictObject({
2121
+ name: z$1.unknown().optional(),
2122
+ purpose: z$1.unknown().optional(),
2123
+ guide: z$1.unknown().optional(),
2124
+ visibility: z$1.unknown().optional(),
2125
+ accessMode: z$1.unknown().optional(),
2126
+ password: z$1.unknown().optional()
2127
+ }).transform((value, ctx) => {
2128
+ const next = {};
2129
+ if (typeof value.name === "string") {
2130
+ const normalizedName = value.name.trim();
2131
+ if (normalizedName.length > 0) next.name = normalizedName;
2132
+ }
2133
+ if (Object.hasOwn(value, "purpose")) {
2134
+ if (typeof value.purpose !== "string") {
2135
+ ctx.addIssue({
2136
+ code: "custom",
2137
+ message: "Invalid purpose",
2138
+ path: ["purpose"]
2139
+ });
2140
+ return z$1.NEVER;
2141
+ }
2142
+ next.purpose = value.purpose.trim();
2143
+ }
2144
+ if (Object.hasOwn(value, "guide")) {
2145
+ if (typeof value.guide !== "string") {
2146
+ ctx.addIssue({
2147
+ code: "custom",
2148
+ message: "Invalid guide",
2149
+ path: ["guide"]
2150
+ });
2151
+ return z$1.NEVER;
2152
+ }
2153
+ next.guide = value.guide.trim();
2154
+ }
2155
+ const parsedVisibility = spaceOrganizationVisibilitySchema.safeParse(value.visibility);
2156
+ if (!parsedVisibility.success) {
2157
+ ctx.addIssue({
2158
+ code: "custom",
2159
+ message: "Invalid visibility",
2160
+ path: ["visibility"]
2161
+ });
2162
+ return z$1.NEVER;
2163
+ }
2164
+ if (Object.hasOwn(value, "accessMode")) {
2165
+ const parsedAccessMode = spaceAccessModeSchema.safeParse(value.accessMode);
2166
+ if (!parsedAccessMode.success) {
2167
+ ctx.addIssue({
2168
+ code: "custom",
2169
+ message: "Invalid accessMode",
2170
+ path: ["accessMode"]
2171
+ });
2172
+ return z$1.NEVER;
2173
+ }
2174
+ next.accessMode = parsedAccessMode.data;
2175
+ }
2176
+ if (Object.hasOwn(value, "password")) {
2177
+ const parsedPassword = spacePasswordSchema.safeParse(value.password);
2178
+ if (!parsedPassword.success) {
2179
+ ctx.addIssue({
2180
+ code: "custom",
2181
+ message: "Invalid password",
2182
+ path: ["password"]
2183
+ });
2184
+ return z$1.NEVER;
2185
+ }
2186
+ next.password = parsedPassword.data;
2187
+ }
2188
+ if (next.accessMode !== void 0 && !spaceAccessModeUsesPassword(next.accessMode) && next.password !== void 0) {
2189
+ ctx.addIssue({
2190
+ code: "custom",
2191
+ message: "Password cannot be set for this access",
2192
+ path: ["password"]
2193
+ });
2194
+ return z$1.NEVER;
2195
+ }
2196
+ if (next.accessMode !== void 0 && spaceAccessModeUsesPassword(next.accessMode) && next.password === void 0) {
2197
+ ctx.addIssue({
2198
+ code: "custom",
2199
+ message: "Password required for this access",
2200
+ path: ["password"]
2201
+ });
2202
+ return z$1.NEVER;
2203
+ }
2204
+ return {
2205
+ ...next,
2206
+ visibility: parsedVisibility.data
2207
+ };
2208
+ });
2209
+ //#endregion
2210
+ //#region ../../packages/schemas/dist/schemas/http/first-work.js
2211
+ const walkthroughStepSchema = z$1.enum([
2212
+ "create-space",
2213
+ "add-center-agent",
2214
+ "first-task",
2215
+ "local-agent",
2216
+ "add-local-agent",
2217
+ "options",
2218
+ "complete"
2219
+ ]);
2220
+ const firstWorkRecordSchema = z$1.strictObject({
2221
+ organizationId: z$1.string().min(1),
2222
+ profileId: z$1.string().min(1),
2223
+ spaceId: z$1.string().regex(/^[a-f0-9]{64}$/u),
2224
+ runId: z$1.uuid(),
2225
+ revision: z$1.number().int().nonnegative(),
2226
+ iteration: z$1.number().int().positive(),
2227
+ step: walkthroughStepSchema,
2228
+ paused: z$1.boolean()
2229
+ });
2230
+ const firstWorkResponseSchema = z$1.strictObject({
2231
+ record: firstWorkRecordSchema.nullable(),
2232
+ hasStartedTutorial: z$1.boolean()
2233
+ });
2234
+ const firstWorkActionSchema = z$1.discriminatedUnion("action", [
2235
+ z$1.strictObject({
2236
+ action: z$1.literal("start"),
2237
+ runId: z$1.uuid(),
2238
+ previousRunId: z$1.uuid().nullable()
2239
+ }),
2240
+ z$1.strictObject({
2241
+ action: z$1.literal("progress"),
2242
+ runId: z$1.uuid(),
2243
+ revision: z$1.number().int().nonnegative(),
2244
+ step: walkthroughStepSchema,
2245
+ paused: z$1.boolean()
2246
+ }),
2247
+ z$1.strictObject({
2248
+ action: z$1.literal("create"),
2249
+ runId: z$1.uuid(),
2250
+ space: createSpaceBodySchema
2251
+ })
2252
+ ]);
2253
+ //#endregion
2010
2254
  //#region ../../packages/schemas/dist/schemas/http/space-link-previews.js
2011
2255
  const previewUrlSchema = z$1.url().max(4096).refine((value) => {
2012
2256
  const url = new URL(value);
@@ -3112,9 +3356,6 @@ const centerAgentModelRouteSchema = z$1.strictObject({
3112
3356
  reasoningLevel: hostedModelReasoningLevelSchema
3113
3357
  });
3114
3358
  //#endregion
3115
- //#region ../../packages/schemas/dist/schemas/http/space-name.js
3116
- const spaceNameSchema = z$1.string().trim().min(1).max(80);
3117
- //#endregion
3118
3359
  //#region ../../packages/schemas/dist/schemas/http/center-agent-routines.js
3119
3360
  const CENTER_AGENT_ROUTINE_INSTRUCTIONS_MAX_CHARS = 2e4;
3120
3361
  const CENTER_AGENT_ROUTINE_RUN_FAILURE_DETAIL_MAX_CHARS = 4e3;
@@ -3484,148 +3725,46 @@ strictObject({
3484
3725
  strictObject({
3485
3726
  ...routineToolRpcContextShape,
3486
3727
  ...centerAgentRoutineRouteParamsShape
3487
- });
3488
- strictObject({
3489
- ...routineToolRpcContextShape,
3490
- ...centerAgentRoutineRouteParamsShape
3491
- });
3492
- strictObject({
3493
- ...routineToolRpcContextShape,
3494
- ...centerAgentRoutineRouteParamsShape
3495
- });
3496
- function hasRoutineUpdate(value) {
3497
- return value.messageChannelLocator !== void 0 || value.authorizedActions !== void 0 || value.cronExpression !== void 0 || value.destinationKind !== void 0 || value.externalActionPolicy !== void 0 || value.instructions !== void 0 || value.name !== void 0 || value.runAtMs !== void 0 || value.scheduleKind !== void 0 || value.slackChannelId !== void 0 || value.slackConversationId !== void 0 || value.slackTeamId !== void 0 || value.slackThreadLabel !== void 0 || value.slackThreadTs !== void 0 || value.targetSpaceId !== void 0 || value.timezone !== void 0;
3498
- }
3499
- function validateRoutineScheduleAndDestination(value, context) {
3500
- const recurringScheduleComplete = Boolean(value.cronExpression && value.timezone && value.runAtMs === null);
3501
- const onceScheduleComplete = Boolean(value.runAtMs !== null && value.cronExpression === null && value.timezone === null);
3502
- if (value.scheduleKind === "cron" && !recurringScheduleComplete || value.scheduleKind === "once" && !onceScheduleComplete) context.addIssue({
3503
- code: "custom",
3504
- message: "A recurring Routine requires cronExpression and timezone; a one-time Routine requires only runAtMs.",
3505
- path: ["scheduleKind"]
3506
- });
3507
- const spaceDestinationComplete = Boolean(value.targetSpaceId && !value.messageChannelLocator && !value.slackTeamId && !value.slackChannelId && !value.slackThreadTs && !value.slackConversationId);
3508
- const slackDestinationComplete = Boolean(!(value.targetSpaceId || value.messageChannelLocator) && value.slackTeamId && value.slackChannelId && value.slackThreadTs && value.slackConversationId);
3509
- if (value.destinationKind === "space" && !spaceDestinationComplete || value.destinationKind === "slack_thread" && !slackDestinationComplete || value.destinationKind === "message_channel" && !(value.messageChannelLocator && value.messageChannelLocator.provider !== "slack" && !value.targetSpaceId && !value.slackTeamId && !value.slackChannelId && !value.slackThreadTs && !value.slackConversationId)) context.addIssue({
3510
- code: "custom",
3511
- message: "Choose a Space, a Slack thread, or a Feishu or Lark conversation with its complete destination.",
3512
- path: ["destinationKind"]
3513
- });
3514
- }
3515
- function validateRoutineRunScheduledFor(value, context) {
3516
- if (value.scheduledFor >= 0 || value.status === "skipped" && value.failureCode === "routine.schedule_invalid") return;
3517
- context.addIssue({
3518
- code: "custom",
3519
- message: "A negative Run scheduledFor is reserved for invalid-schedule quarantine evidence.",
3520
- path: ["scheduledFor"]
3521
- });
3522
- }
3523
- //#endregion
3524
- //#region ../../packages/schemas/dist/schemas/http/space-access-mode.js
3525
- const SPACE_ACCESS_MODES = [
3526
- "public",
3527
- "members_only",
3528
- "public_view_join_password",
3529
- "protected"
3530
- ];
3531
- const spaceLinkJoinPolicySchema = z$1.enum(["invite_only", "access_mode"]);
3532
- function spaceAccessModeUsesPassword(accessMode) {
3533
- return accessMode === "public_view_join_password" || accessMode === "protected";
3534
- }
3535
- const spaceAccessModeSchema = z$1.enum(SPACE_ACCESS_MODES);
3536
- const setSpaceAccessModeBodySchema = z$1.strictObject({
3537
- accessMode: spaceAccessModeSchema,
3538
- allowGuests: z$1.boolean().optional(),
3539
- linkJoinPolicy: spaceLinkJoinPolicySchema.optional(),
3540
- password: spacePasswordSchema.optional(),
3541
- visibility: z$1.enum(["public", "private"]).optional()
3542
- });
3543
- const spaceAccessModeStateSchema = z$1.strictObject({
3544
- spaceId: z$1.string().trim().min(1),
3545
- accessMode: spaceAccessModeSchema,
3546
- passwordProtected: z$1.boolean()
3547
- });
3548
- //#endregion
3549
- //#region ../../packages/schemas/dist/schemas/http/space-meta.js
3550
- const trimmedNonEmptyStringSchema$14 = z$1.string().trim().min(1);
3551
- const isoDateTimeSchema$6 = z$1.iso.datetime({ offset: true });
3552
- const MAX_SPACE_GUIDE_LENGTH = 4e3;
3553
- const spaceOrganizationVisibilitySchema = z$1.enum(["public", "private"]);
3554
- function resolveInitialSpaceAccessMode(_visibility) {
3555
- return "members_only";
3556
- }
3557
- const spaceCreatorSchema = z$1.strictObject({
3558
- profileId: openMeldRuntimeProfileIdSchema,
3559
- profileName: trimmedNonEmptyStringSchema$14.optional(),
3560
- kind: profileKindSchema.optional(),
3561
- profile: trimmedNonEmptyStringSchema$14.optional(),
3562
- ownerUserId: trimmedNonEmptyStringSchema$14.optional(),
3563
- ownerName: trimmedNonEmptyStringSchema$14.optional()
3564
- }).superRefine((value, ctx) => {
3565
- if (!value.kind) return;
3566
- if ((value.kind === "agent" ? agentProfileIdSchema : uuidProfileIdSchema).safeParse(value.profileId).success) return;
3567
- ctx.addIssue({
3568
- code: "custom",
3569
- message: value.kind === "agent" ? "agent profileId must use agt_<UUID>" : "human/system profileId must be a UUID",
3570
- path: ["profileId"]
3571
- });
3572
- });
3573
- const spaceStorageUsageSchema = z$1.strictObject({
3574
- usedBytes: z$1.number().finite().min(0),
3575
- softLimitBytes: z$1.number().finite().positive(),
3576
- usagePercent: z$1.number().finite().min(0)
3577
- });
3578
- const spaceDirectMessageMetaSchema = z$1.strictObject({
3579
- convertedAt: isoDateTimeSchema$6.optional(),
3580
- pairKey: trimmedNonEmptyStringSchema$14
3581
- });
3582
- const spaceMetaSchema = z$1.strictObject({
3583
- spaceId: trimmedNonEmptyStringSchema$14,
3584
- organizationId: trimmedNonEmptyStringSchema$14,
3585
- visibility: spaceOrganizationVisibilitySchema,
3586
- name: trimmedNonEmptyStringSchema$14.optional(),
3587
- purpose: trimmedNonEmptyStringSchema$14.optional(),
3588
- directMessage: spaceDirectMessageMetaSchema.optional(),
3589
- creator: spaceCreatorSchema.optional(),
3590
- ownerUserIds: z$1.array(trimmedNonEmptyStringSchema$14).optional(),
3591
- allowGuests: z$1.boolean().optional(),
3592
- guide: trimmedNonEmptyStringSchema$14.optional(),
3593
- accessMode: spaceAccessModeSchema.optional(),
3594
- linkJoinPolicy: spaceLinkJoinPolicySchema.optional(),
3595
- passwordProtected: z$1.boolean().optional(),
3596
- createdAt: isoDateTimeSchema$6.optional(),
3597
- updatedAt: isoDateTimeSchema$6.optional(),
3598
- storageUsage: spaceStorageUsageSchema.optional()
3599
- });
3600
- const patchSpaceMetaResponseSchema = spaceMetaSchema;
3601
- const patchSpaceMetaBodySchema = z$1.strictObject({
3602
- visibility: spaceOrganizationVisibilitySchema.optional(),
3603
- allowGuests: z$1.boolean().optional(),
3604
- ownership: z$1.strictObject({
3605
- userId: trimmedNonEmptyStringSchema$14,
3606
- role: z$1.enum(["owner", "member"])
3607
- }).optional(),
3608
- name: spaceNameSchema.optional(),
3609
- purpose: z$1.string().optional(),
3610
- guide: z$1.string().max(MAX_SPACE_GUIDE_LENGTH).optional()
3611
- }).superRefine((value, ctx) => {
3612
- if (value.ownership !== void 0 || value.allowGuests !== void 0 || value.name !== void 0 || value.visibility !== void 0 || value.purpose !== void 0 || value.guide !== void 0) return;
3613
- ctx.addIssue({
3728
+ });
3729
+ strictObject({
3730
+ ...routineToolRpcContextShape,
3731
+ ...centerAgentRoutineRouteParamsShape
3732
+ });
3733
+ strictObject({
3734
+ ...routineToolRpcContextShape,
3735
+ ...centerAgentRoutineRouteParamsShape
3736
+ });
3737
+ function hasRoutineUpdate(value) {
3738
+ return value.messageChannelLocator !== void 0 || value.authorizedActions !== void 0 || value.cronExpression !== void 0 || value.destinationKind !== void 0 || value.externalActionPolicy !== void 0 || value.instructions !== void 0 || value.name !== void 0 || value.runAtMs !== void 0 || value.scheduleKind !== void 0 || value.slackChannelId !== void 0 || value.slackConversationId !== void 0 || value.slackTeamId !== void 0 || value.slackThreadLabel !== void 0 || value.slackThreadTs !== void 0 || value.targetSpaceId !== void 0 || value.timezone !== void 0;
3739
+ }
3740
+ function validateRoutineScheduleAndDestination(value, context) {
3741
+ const recurringScheduleComplete = Boolean(value.cronExpression && value.timezone && value.runAtMs === null);
3742
+ const onceScheduleComplete = Boolean(value.runAtMs !== null && value.cronExpression === null && value.timezone === null);
3743
+ if (value.scheduleKind === "cron" && !recurringScheduleComplete || value.scheduleKind === "once" && !onceScheduleComplete) context.addIssue({
3614
3744
  code: "custom",
3615
- message: "Expected name, purpose, guide or visibility"
3745
+ message: "A recurring Routine requires cronExpression and timezone; a one-time Routine requires only runAtMs.",
3746
+ path: ["scheduleKind"]
3616
3747
  });
3617
- }).transform((value) => ({
3618
- ...value.allowGuests === void 0 ? {} : { allowGuests: value.allowGuests },
3619
- ...value.ownership === void 0 ? {} : { ownership: value.ownership },
3620
- ...value.visibility === void 0 ? {} : { visibility: value.visibility },
3621
- ...value.name === void 0 ? {} : { name: value.name },
3622
- ...value.purpose === void 0 ? {} : { purpose: value.purpose },
3623
- ...value.guide === void 0 ? {} : { guide: value.guide }
3624
- }));
3748
+ const spaceDestinationComplete = Boolean(value.targetSpaceId && !value.messageChannelLocator && !value.slackTeamId && !value.slackChannelId && !value.slackThreadTs && !value.slackConversationId);
3749
+ const slackDestinationComplete = Boolean(!(value.targetSpaceId || value.messageChannelLocator) && value.slackTeamId && value.slackChannelId && value.slackThreadTs && value.slackConversationId);
3750
+ if (value.destinationKind === "space" && !spaceDestinationComplete || value.destinationKind === "slack_thread" && !slackDestinationComplete || value.destinationKind === "message_channel" && !(value.messageChannelLocator && value.messageChannelLocator.provider !== "slack" && !value.targetSpaceId && !value.slackTeamId && !value.slackChannelId && !value.slackThreadTs && !value.slackConversationId)) context.addIssue({
3751
+ code: "custom",
3752
+ message: "Choose a Space, a Slack thread, or a Feishu or Lark conversation with its complete destination.",
3753
+ path: ["destinationKind"]
3754
+ });
3755
+ }
3756
+ function validateRoutineRunScheduledFor(value, context) {
3757
+ if (value.scheduledFor >= 0 || value.status === "skipped" && value.failureCode === "routine.schedule_invalid") return;
3758
+ context.addIssue({
3759
+ code: "custom",
3760
+ message: "A negative Run scheduledFor is reserved for invalid-schedule quarantine evidence.",
3761
+ path: ["scheduledFor"]
3762
+ });
3763
+ }
3625
3764
  //#endregion
3626
3765
  //#region ../../packages/schemas/dist/schemas/runtime/channel-context.js
3627
3766
  const CHANNEL_CONTEXT_MESSAGE_TEXT_MAX_CHARS = 4e3;
3628
- const nonEmptyStringSchema$4 = z$1.string().trim().min(1);
3767
+ const nonEmptyStringSchema$3 = z$1.string().trim().min(1);
3629
3768
  const channelContextAuthorSchema = z$1.strictObject({
3630
3769
  kind: z$1.enum([
3631
3770
  "human",
@@ -3634,14 +3773,14 @@ const channelContextAuthorSchema = z$1.strictObject({
3634
3773
  "system",
3635
3774
  "unknown"
3636
3775
  ]),
3637
- id: nonEmptyStringSchema$4.max(256).optional(),
3638
- displayName: nonEmptyStringSchema$4.max(256).optional()
3776
+ id: nonEmptyStringSchema$3.max(256).optional(),
3777
+ displayName: nonEmptyStringSchema$3.max(256).optional()
3639
3778
  });
3640
3779
  const channelContextMessageSchema = z$1.strictObject({
3641
- id: nonEmptyStringSchema$4.max(256),
3780
+ id: nonEmptyStringSchema$3.max(256),
3642
3781
  author: channelContextAuthorSchema,
3643
3782
  sentAtMs: z$1.number().int().nonnegative().max(Number.MAX_SAFE_INTEGER),
3644
- text: nonEmptyStringSchema$4.max(CHANNEL_CONTEXT_MESSAGE_TEXT_MAX_CHARS)
3783
+ text: nonEmptyStringSchema$3.max(CHANNEL_CONTEXT_MESSAGE_TEXT_MAX_CHARS)
3645
3784
  });
3646
3785
  const channelContextSyncSchema = z$1.strictObject({
3647
3786
  mode: z$1.enum(["snapshot", "delta"]),
@@ -3655,8 +3794,8 @@ const channelContextSyncSchema = z$1.strictObject({
3655
3794
  });
3656
3795
  const channelContextSchema = z$1.strictObject({
3657
3796
  provider: messageChannelProviderSchema,
3658
- conversationId: nonEmptyStringSchema$4.max(512),
3659
- currentMessageId: nonEmptyStringSchema$4.max(256),
3797
+ conversationId: nonEmptyStringSchema$3.max(512),
3798
+ currentMessageId: nonEmptyStringSchema$3.max(256),
3660
3799
  sync: channelContextSyncSchema,
3661
3800
  messages: z$1.array(channelContextMessageSchema).max(20)
3662
3801
  }).superRefine((context, refinement) => {
@@ -3708,7 +3847,7 @@ const channelContextSchema = z$1.strictObject({
3708
3847
  });
3709
3848
  //#endregion
3710
3849
  //#region ../../packages/schemas/dist/schemas/runtime/remote-agent-turn-envelope.js
3711
- const nonEmptyStringSchema$3 = string().trim().min(1);
3850
+ const nonEmptyStringSchema$2 = string().trim().min(1);
3712
3851
  const REMOTE_AGENT_TURN_ENVELOPE_MEMORY_ITEM_TEXT_MAX_CHARS = 1200;
3713
3852
  const remoteAgentWorkLoopCheckpointSchema = strictObject({
3714
3853
  reason: literal("tool_call_budget_exhausted"),
@@ -3717,7 +3856,7 @@ const remoteAgentWorkLoopCheckpointSchema = strictObject({
3717
3856
  });
3718
3857
  const remoteAgentWorkLoopContinuationSchema = strictObject({
3719
3858
  attempt: number().int().positive().max(8),
3720
- previousSubmissionId: nonEmptyStringSchema$3,
3859
+ previousSubmissionId: nonEmptyStringSchema$2,
3721
3860
  reason: literal("tool_call_budget_exhausted"),
3722
3861
  v: literal(1)
3723
3862
  });
@@ -3758,11 +3897,11 @@ const centerAgentContextScopePlanSchema = strictObject({
3758
3897
  });
3759
3898
  const remoteAgentTurnEnvelopePersonSenderShape = {
3760
3899
  callerContext: spaceCallerContextSchema.optional(),
3761
- id: nonEmptyStringSchema$3,
3762
- displayName: nonEmptyStringSchema$3,
3763
- ownerUserId: nonEmptyStringSchema$3.optional(),
3764
- profileId: nonEmptyStringSchema$3.optional(),
3765
- role: nonEmptyStringSchema$3.optional(),
3900
+ id: nonEmptyStringSchema$2,
3901
+ displayName: nonEmptyStringSchema$2,
3902
+ ownerUserId: nonEmptyStringSchema$2.optional(),
3903
+ profileId: nonEmptyStringSchema$2.optional(),
3904
+ role: nonEmptyStringSchema$2.optional(),
3766
3905
  messageChannelIdentity: messageChannelParticipantIdentitySchema.optional(),
3767
3906
  verified: boolean()
3768
3907
  };
@@ -3777,38 +3916,38 @@ const remoteAgentTurnEnvelopeSenderSchema = discriminatedUnion("kind", [
3777
3916
  }),
3778
3917
  strictObject({
3779
3918
  kind: literal("routine"),
3780
- routineId: nonEmptyStringSchema$3,
3781
- createdByUserId: nonEmptyStringSchema$3,
3919
+ routineId: nonEmptyStringSchema$2,
3920
+ createdByUserId: nonEmptyStringSchema$2,
3782
3921
  delegatedBy: strictObject({
3783
- id: nonEmptyStringSchema$3,
3784
- displayName: nonEmptyStringSchema$3,
3785
- ownerUserId: nonEmptyStringSchema$3,
3786
- profileId: nonEmptyStringSchema$3.optional(),
3787
- role: nonEmptyStringSchema$3.optional(),
3922
+ id: nonEmptyStringSchema$2,
3923
+ displayName: nonEmptyStringSchema$2,
3924
+ ownerUserId: nonEmptyStringSchema$2,
3925
+ profileId: nonEmptyStringSchema$2.optional(),
3926
+ role: nonEmptyStringSchema$2.optional(),
3788
3927
  verified: literal(true)
3789
3928
  })
3790
3929
  })
3791
3930
  ]);
3792
3931
  const remoteAgentTurnEnvelopeSpaceSchema = strictObject({
3793
- id: nonEmptyStringSchema$3,
3794
- name: nonEmptyStringSchema$3,
3932
+ id: nonEmptyStringSchema$2,
3933
+ name: nonEmptyStringSchema$2,
3795
3934
  kind: enumFactory(["dm", "space"]),
3796
3935
  isCenterAgentDm: boolean(),
3797
- guide: nonEmptyStringSchema$3.max(MAX_SPACE_GUIDE_LENGTH).optional()
3936
+ guide: nonEmptyStringSchema$2.max(MAX_SPACE_GUIDE_LENGTH).optional()
3798
3937
  });
3799
3938
  const remoteAgentTurnEnvelopeOrganizationSchema = strictObject({
3800
- id: nonEmptyStringSchema$3,
3801
- name: nonEmptyStringSchema$3,
3939
+ id: nonEmptyStringSchema$2,
3940
+ name: nonEmptyStringSchema$2,
3802
3941
  personal: boolean(),
3803
3942
  memberCount: number().int().nonnegative(),
3804
3943
  webUrl: openMeldWebUrlSchema.optional(),
3805
3944
  workingLanguage: workingLanguageGuidanceSchema.optional()
3806
3945
  });
3807
3946
  const remoteAgentTurnEnvelopeCenterAgentSchema = strictObject({
3808
- profileName: nonEmptyStringSchema$3,
3809
- profileHandle: nonEmptyStringSchema$3
3947
+ profileName: nonEmptyStringSchema$2,
3948
+ profileHandle: nonEmptyStringSchema$2
3810
3949
  });
3811
- const remoteAgentSlackSearchAuthorizationSchema = strictObject({ encryptedAuthorization: nonEmptyStringSchema$3.max(8192) });
3950
+ const remoteAgentSlackSearchAuthorizationSchema = strictObject({ encryptedAuthorization: nonEmptyStringSchema$2.max(8192) });
3812
3951
  const remoteAgentRoutineDestinationSchema = discriminatedUnion("kind", [
3813
3952
  strictObject({
3814
3953
  kind: literal("message_channel"),
@@ -3816,22 +3955,22 @@ const remoteAgentRoutineDestinationSchema = discriminatedUnion("kind", [
3816
3955
  }),
3817
3956
  strictObject({
3818
3957
  kind: literal("space"),
3819
- spaceId: nonEmptyStringSchema$3
3958
+ spaceId: nonEmptyStringSchema$2
3820
3959
  }),
3821
3960
  strictObject({
3822
- channelId: nonEmptyStringSchema$3,
3823
- conversationId: nonEmptyStringSchema$3,
3961
+ channelId: nonEmptyStringSchema$2,
3962
+ conversationId: nonEmptyStringSchema$2,
3824
3963
  kind: literal("slack_thread"),
3825
- label: nonEmptyStringSchema$3.optional(),
3826
- teamId: nonEmptyStringSchema$3,
3827
- threadTs: nonEmptyStringSchema$3
3964
+ label: nonEmptyStringSchema$2.optional(),
3965
+ teamId: nonEmptyStringSchema$2,
3966
+ threadTs: nonEmptyStringSchema$2
3828
3967
  })
3829
3968
  ]);
3830
3969
  const remoteAgentRoutineContinuationSchema = strictObject({
3831
3970
  delegation: agentDelegationSnapshotSchema,
3832
- delegationId: nonEmptyStringSchema$3,
3971
+ delegationId: nonEmptyStringSchema$2,
3833
3972
  outcome: agentTaskTerminalOutcomeSchema,
3834
- subscriptionId: nonEmptyStringSchema$3,
3973
+ subscriptionId: nonEmptyStringSchema$2,
3835
3974
  watchedTask: agentTaskHandleSchema
3836
3975
  });
3837
3976
  const remoteAgentTurnEnvelopeTriggerSchema = discriminatedUnion("source", [
@@ -3839,11 +3978,11 @@ const remoteAgentTurnEnvelopeTriggerSchema = discriminatedUnion("source", [
3839
3978
  strictObject({ source: literal("space_wake") }),
3840
3979
  strictObject({
3841
3980
  source: literal("slack"),
3842
- teamId: nonEmptyStringSchema$3.optional(),
3843
- channelId: nonEmptyStringSchema$3.optional(),
3844
- threadTs: nonEmptyStringSchema$3.optional(),
3845
- conversationId: nonEmptyStringSchema$3.optional(),
3846
- channelName: nonEmptyStringSchema$3.optional(),
3981
+ teamId: nonEmptyStringSchema$2.optional(),
3982
+ channelId: nonEmptyStringSchema$2.optional(),
3983
+ threadTs: nonEmptyStringSchema$2.optional(),
3984
+ conversationId: nonEmptyStringSchema$2.optional(),
3985
+ channelName: nonEmptyStringSchema$2.optional(),
3847
3986
  replyPlacement: enumFactory(["conversation", "thread"]).optional(),
3848
3987
  searchAuthorization: remoteAgentSlackSearchAuthorizationSchema.optional()
3849
3988
  }),
@@ -3851,8 +3990,8 @@ const remoteAgentTurnEnvelopeTriggerSchema = discriminatedUnion("source", [
3851
3990
  source: literal("message_channel"),
3852
3991
  routineLocator: messageChannelConversationLocatorSchema.optional(),
3853
3992
  provider: messageChannelProviderSchema,
3854
- connectionId: nonEmptyStringSchema$3,
3855
- conversationId: nonEmptyStringSchema$3,
3993
+ connectionId: nonEmptyStringSchema$2,
3994
+ conversationId: nonEmptyStringSchema$2,
3856
3995
  filePublicationSupported: literal(true).optional(),
3857
3996
  resources: array(messageChannelResourceDescriptorSchema).max(10).optional()
3858
3997
  }),
@@ -3860,34 +3999,34 @@ const remoteAgentTurnEnvelopeTriggerSchema = discriminatedUnion("source", [
3860
3999
  authorizedActions: centerAgentRoutineAuthorizedActionsSchema.default([]),
3861
4000
  externalActionPolicy: centerAgentRoutineExternalActionPolicySchema.optional(),
3862
4001
  source: literal("routine"),
3863
- routineId: nonEmptyStringSchema$3,
3864
- runId: nonEmptyStringSchema$3,
4002
+ routineId: nonEmptyStringSchema$2,
4003
+ runId: nonEmptyStringSchema$2,
3865
4004
  scheduledFor: number().int().nonnegative(),
3866
- routineName: nonEmptyStringSchema$3.max(120),
4005
+ routineName: nonEmptyStringSchema$2.max(120),
3867
4006
  destination: remoteAgentRoutineDestinationSchema.optional(),
3868
4007
  continuation: remoteAgentRoutineContinuationSchema.optional()
3869
4008
  }),
3870
4009
  strictObject({
3871
4010
  source: literal("member_research"),
3872
- taskId: nonEmptyStringSchema$3,
3873
- subjectUserId: nonEmptyStringSchema$3,
3874
- subjectDisplayName: nonEmptyStringSchema$3
4011
+ taskId: nonEmptyStringSchema$2,
4012
+ subjectUserId: nonEmptyStringSchema$2,
4013
+ subjectDisplayName: nonEmptyStringSchema$2
3875
4014
  }),
3876
4015
  strictObject({
3877
4016
  delegation: agentDelegationSnapshotSchema.optional(),
3878
- delegationId: nonEmptyStringSchema$3,
4017
+ delegationId: nonEmptyStringSchema$2,
3879
4018
  outcome: agentTaskTerminalOutcomeSchema,
3880
4019
  source: literal("task_continuation"),
3881
4020
  summaryOnly: literal(true).optional(),
3882
- subscriptionId: nonEmptyStringSchema$3,
4021
+ subscriptionId: nonEmptyStringSchema$2,
3883
4022
  watchedTask: agentTaskHandleSchema
3884
4023
  }),
3885
4024
  strictObject({
3886
4025
  outcome: agentTaskCompletionObservationSchema,
3887
4026
  source: literal("task_watch_continuation"),
3888
- subscriptionId: nonEmptyStringSchema$3,
4027
+ subscriptionId: nonEmptyStringSchema$2,
3889
4028
  watchedTask: agentTaskHandleSchema,
3890
- watchId: nonEmptyStringSchema$3
4029
+ watchId: nonEmptyStringSchema$2
3891
4030
  })
3892
4031
  ]);
3893
4032
  enumFactory([
@@ -3898,7 +4037,7 @@ enumFactory([
3898
4037
  "message_channel_conversation"
3899
4038
  ]);
3900
4039
  const remoteAgentTurnEnvelopeMemorySubjectSchema = enumFactory(["member", "organization"]);
3901
- const remoteAgentTurnEnvelopeMemoryItemTextSchema = nonEmptyStringSchema$3.max(REMOTE_AGENT_TURN_ENVELOPE_MEMORY_ITEM_TEXT_MAX_CHARS);
4040
+ const remoteAgentTurnEnvelopeMemoryItemTextSchema = nonEmptyStringSchema$2.max(REMOTE_AGENT_TURN_ENVELOPE_MEMORY_ITEM_TEXT_MAX_CHARS);
3902
4041
  const remoteAgentTurnEnvelopeMemorySchema = strictObject({
3903
4042
  items: array(discriminatedUnion("source", [strictObject({
3904
4043
  source: enumFactory([
@@ -4204,6 +4343,7 @@ const agentActivityInventoryCoverageSchema = z$1.strictObject({
4204
4343
  state: agentActivityInventoryCoverageStateSchema
4205
4344
  }).superRefine(refineLocalAgentProviderControllerPair);
4206
4345
  const agentActivitySessionInventoryQuerySchema = z$1.strictObject({
4346
+ computerId: boundedIdentifierSchema$5.optional(),
4207
4347
  cursor: z$1.string().trim().min(1).max(2048).optional(),
4208
4348
  limit: z$1.coerce.number().int().positive().max(100).default(50),
4209
4349
  memberUserId: boundedIdentifierSchema$5.optional(),
@@ -6314,98 +6454,8 @@ const spaceBootstrapResponseSchema = z$1.strictObject({
6314
6454
  });
6315
6455
  z$1.strictObject({
6316
6456
  includeAgentReadiness: optionalBooleanQuerySchema,
6317
- includeAgentStreamPresence: optionalBooleanQuerySchema
6318
- });
6319
- //#endregion
6320
- //#region ../../packages/schemas/dist/schemas/http/space-create.js
6321
- const createSpaceBodySchema = z$1.strictObject({
6322
- name: z$1.unknown().optional(),
6323
- purpose: z$1.unknown().optional(),
6324
- guide: z$1.unknown().optional(),
6325
- visibility: z$1.unknown().optional(),
6326
- accessMode: z$1.unknown().optional(),
6327
- password: z$1.unknown().optional()
6328
- }).transform((value, ctx) => {
6329
- const next = {};
6330
- if (typeof value.name === "string") {
6331
- const normalizedName = value.name.trim();
6332
- if (normalizedName.length > 0) next.name = normalizedName;
6333
- }
6334
- if (Object.hasOwn(value, "purpose")) {
6335
- if (typeof value.purpose !== "string") {
6336
- ctx.addIssue({
6337
- code: "custom",
6338
- message: "Invalid purpose",
6339
- path: ["purpose"]
6340
- });
6341
- return z$1.NEVER;
6342
- }
6343
- next.purpose = value.purpose.trim();
6344
- }
6345
- if (Object.hasOwn(value, "guide")) {
6346
- if (typeof value.guide !== "string") {
6347
- ctx.addIssue({
6348
- code: "custom",
6349
- message: "Invalid guide",
6350
- path: ["guide"]
6351
- });
6352
- return z$1.NEVER;
6353
- }
6354
- next.guide = value.guide.trim();
6355
- }
6356
- const parsedVisibility = spaceOrganizationVisibilitySchema.safeParse(value.visibility);
6357
- if (!parsedVisibility.success) {
6358
- ctx.addIssue({
6359
- code: "custom",
6360
- message: "Invalid visibility",
6361
- path: ["visibility"]
6362
- });
6363
- return z$1.NEVER;
6364
- }
6365
- if (Object.hasOwn(value, "accessMode")) {
6366
- const parsedAccessMode = spaceAccessModeSchema.safeParse(value.accessMode);
6367
- if (!parsedAccessMode.success) {
6368
- ctx.addIssue({
6369
- code: "custom",
6370
- message: "Invalid accessMode",
6371
- path: ["accessMode"]
6372
- });
6373
- return z$1.NEVER;
6374
- }
6375
- next.accessMode = parsedAccessMode.data;
6376
- }
6377
- if (Object.hasOwn(value, "password")) {
6378
- const parsedPassword = spacePasswordSchema.safeParse(value.password);
6379
- if (!parsedPassword.success) {
6380
- ctx.addIssue({
6381
- code: "custom",
6382
- message: "Invalid password",
6383
- path: ["password"]
6384
- });
6385
- return z$1.NEVER;
6386
- }
6387
- next.password = parsedPassword.data;
6388
- }
6389
- if (next.accessMode !== void 0 && !spaceAccessModeUsesPassword(next.accessMode) && next.password !== void 0) {
6390
- ctx.addIssue({
6391
- code: "custom",
6392
- message: "Password cannot be set for this access",
6393
- path: ["password"]
6394
- });
6395
- return z$1.NEVER;
6396
- }
6397
- if (next.accessMode !== void 0 && spaceAccessModeUsesPassword(next.accessMode) && next.password === void 0) {
6398
- ctx.addIssue({
6399
- code: "custom",
6400
- message: "Password required for this access",
6401
- path: ["password"]
6402
- });
6403
- return z$1.NEVER;
6404
- }
6405
- return {
6406
- ...next,
6407
- visibility: parsedVisibility.data
6408
- };
6457
+ includeAgentStreamPresence: optionalBooleanQuerySchema,
6458
+ includeAgentStreamRecovery: optionalBooleanQuerySchema
6409
6459
  });
6410
6460
  //#endregion
6411
6461
  //#region ../../packages/schemas/dist/schemas/http/organization-skills.js
@@ -6966,10 +7016,10 @@ function compareOrganizationSkillJsonKeys(left, right) {
6966
7016
  }
6967
7017
  //#endregion
6968
7018
  //#region ../../packages/schemas/dist/schemas/runtime/remote-agent-worker.js
6969
- const nonEmptyStringSchema$2 = string().trim().min(1);
6970
- const optionalNonEmptyStringSchema = nonEmptyStringSchema$2.optional();
6971
- const nullableNonEmptyStringSchema = nonEmptyStringSchema$2.nullable();
6972
- const optionalDispatchErrorSummarySchema = nonEmptyStringSchema$2.max(512).optional();
7019
+ const nonEmptyStringSchema$1 = string().trim().min(1);
7020
+ const optionalNonEmptyStringSchema = nonEmptyStringSchema$1.optional();
7021
+ const nullableNonEmptyStringSchema = nonEmptyStringSchema$1.nullable();
7022
+ const optionalDispatchErrorSummarySchema = nonEmptyStringSchema$1.max(512).optional();
6973
7023
  const REMOTE_AGENT_CONVERSATION_CONTINUITY_ENTRY_TEXT_MAX_CHARS = 4e3;
6974
7024
  const REMOTE_AGENT_LOGICAL_CONVERSATION_ID_MAX_CHARS = 1024;
6975
7025
  const REMOTE_AGENT_RUNTIME_CONVERSATION_ID_MAX_CHARS = 2048;
@@ -6977,9 +7027,9 @@ const contentHashSchema$1 = string().regex(/^sha256:[0-9a-f]{64}$/u);
6977
7027
  const isoDateTimeSchema$3 = iso.datetime({ offset: true });
6978
7028
  strictObject({
6979
7029
  v: literal(1),
6980
- deliveryId: nonEmptyStringSchema$2,
6981
- dispatchId: nonEmptyStringSchema$2,
6982
- idempotencyKey: nonEmptyStringSchema$2,
7030
+ deliveryId: nonEmptyStringSchema$1,
7031
+ dispatchId: nonEmptyStringSchema$1,
7032
+ idempotencyKey: nonEmptyStringSchema$1,
6983
7033
  attempt: number().int().positive(),
6984
7034
  deliveryCreatedAtMs: number().int().nonnegative(),
6985
7035
  currentAttemptSubmittedAtMs: number().int().nonnegative().nullable(),
@@ -6987,7 +7037,7 @@ strictObject({
6987
7037
  retryDueAtMs: number().int().nonnegative().nullable(),
6988
7038
  elapsedMs: number().int().nonnegative().optional(),
6989
7039
  accepted: boolean().optional(),
6990
- submissionId: nonEmptyStringSchema$2.optional(),
7040
+ submissionId: nonEmptyStringSchema$1.optional(),
6991
7041
  outcome: enumFactory([
6992
7042
  "acknowledged",
6993
7043
  "rejected",
@@ -7015,8 +7065,8 @@ strictObject({
7015
7065
  });
7016
7066
  strictObject({
7017
7067
  v: literal(1),
7018
- idempotencyKey: nonEmptyStringSchema$2,
7019
- subscriptionId: nonEmptyStringSchema$2,
7068
+ idempotencyKey: nonEmptyStringSchema$1,
7069
+ subscriptionId: nonEmptyStringSchema$1,
7020
7070
  observedAtMs: number().int().nonnegative(),
7021
7071
  subscriptionCreatedAtMs: number().int().nonnegative().optional(),
7022
7072
  enqueuedAtMs: number().int().nonnegative().optional(),
@@ -7043,7 +7093,7 @@ function buildPersonalRemoteAgentConversationId(input) {
7043
7093
  input.organizationId,
7044
7094
  input.agentProfileId,
7045
7095
  input.spaceId
7046
- ].map((value) => nonEmptyStringSchema$2.max(256).parse(value)).map((value) => `${value.length}:${value}`)].join("|");
7096
+ ].map((value) => nonEmptyStringSchema$1.max(256).parse(value)).map((value) => `${value.length}:${value}`)].join("|");
7047
7097
  }
7048
7098
  /** A scheduled Run owns its execution history independently of its result destination. */
7049
7099
  function buildRemoteAgentRoutineRunConversationId(input) {
@@ -7051,14 +7101,14 @@ function buildRemoteAgentRoutineRunConversationId(input) {
7051
7101
  input.organizationId,
7052
7102
  input.agentProfileId,
7053
7103
  input.runId
7054
- ].map((value) => nonEmptyStringSchema$2.max(256).parse(value)).map((value) => `${value.length}:${value}`)].join("|");
7104
+ ].map((value) => nonEmptyStringSchema$1.max(256).parse(value)).map((value) => `${value.length}:${value}`)].join("|");
7055
7105
  }
7056
7106
  function buildRemoteAgentRuntimeConversationId(input) {
7057
- const organizationId = nonEmptyStringSchema$2.max(256).parse(input.organizationId);
7058
- const logicalConversationId = nonEmptyStringSchema$2.max(REMOTE_AGENT_LOGICAL_CONVERSATION_ID_MAX_CHARS).parse(input.logicalConversationId);
7107
+ const organizationId = nonEmptyStringSchema$1.max(256).parse(input.organizationId);
7108
+ const logicalConversationId = nonEmptyStringSchema$1.max(REMOTE_AGENT_LOGICAL_CONVERSATION_ID_MAX_CHARS).parse(input.logicalConversationId);
7059
7109
  const generation = number().int().nonnegative().parse(input.generation);
7060
7110
  if (generation === 0) return logicalConversationId;
7061
- return nonEmptyStringSchema$2.max(REMOTE_AGENT_RUNTIME_CONVERSATION_ID_MAX_CHARS).parse([
7111
+ return nonEmptyStringSchema$1.max(REMOTE_AGENT_RUNTIME_CONVERSATION_ID_MAX_CHARS).parse([
7062
7112
  "remote-agent-runtime-generation.v1",
7063
7113
  `${organizationId.length}:${organizationId}`,
7064
7114
  `${logicalConversationId.length}:${logicalConversationId}`,
@@ -7067,13 +7117,13 @@ function buildRemoteAgentRuntimeConversationId(input) {
7067
7117
  }
7068
7118
  const remoteAgentConversationContinuityEntrySourceSchema = discriminatedUnion("kind", [strictObject({
7069
7119
  kind: literal("space_signal"),
7070
- signalId: nonEmptyStringSchema$2.max(256),
7071
- spaceId: nonEmptyStringSchema$2.max(256),
7120
+ signalId: nonEmptyStringSchema$1.max(256),
7121
+ spaceId: nonEmptyStringSchema$1.max(256),
7072
7122
  version: contentHashSchema$1
7073
7123
  }), strictObject({
7074
- conversationId: nonEmptyStringSchema$2.max(512),
7124
+ conversationId: nonEmptyStringSchema$1.max(512),
7075
7125
  kind: literal("message_channel_message"),
7076
- messageId: nonEmptyStringSchema$2.max(256),
7126
+ messageId: nonEmptyStringSchema$1.max(256),
7077
7127
  provider: enumFactory([
7078
7128
  "feishu",
7079
7129
  "lark",
@@ -7083,8 +7133,8 @@ const remoteAgentConversationContinuityEntrySourceSchema = discriminatedUnion("k
7083
7133
  const remoteAgentConversationContinuityContextSchema = strictObject({
7084
7134
  entries: array(strictObject({
7085
7135
  author: strictObject({
7086
- displayName: nonEmptyStringSchema$2.max(256).optional(),
7087
- id: nonEmptyStringSchema$2.max(256).optional(),
7136
+ displayName: nonEmptyStringSchema$1.max(256).optional(),
7137
+ id: nonEmptyStringSchema$1.max(256).optional(),
7088
7138
  kind: enumFactory([
7089
7139
  "agent",
7090
7140
  "bot",
@@ -7116,7 +7166,7 @@ const remoteAgentConversationContinuityContextSchema = strictObject({
7116
7166
  });
7117
7167
  })).min(1).max(20),
7118
7168
  fromGeneration: number().int().nonnegative(),
7119
- logicalConversationId: nonEmptyStringSchema$2.max(REMOTE_AGENT_LOGICAL_CONVERSATION_ID_MAX_CHARS),
7169
+ logicalConversationId: nonEmptyStringSchema$1.max(REMOTE_AGENT_LOGICAL_CONVERSATION_ID_MAX_CHARS),
7120
7170
  toGeneration: number().int().positive(),
7121
7171
  truncated: boolean(),
7122
7172
  v: literal(1)
@@ -7134,7 +7184,7 @@ const remoteAgentConversationContinuityContextSchema = strictObject({
7134
7184
  });
7135
7185
  const remoteAgentRuntimeConversationSchema = strictObject({
7136
7186
  generation: number().int().nonnegative(),
7137
- id: nonEmptyStringSchema$2.max(REMOTE_AGENT_RUNTIME_CONVERSATION_ID_MAX_CHARS)
7187
+ id: nonEmptyStringSchema$1.max(REMOTE_AGENT_RUNTIME_CONVERSATION_ID_MAX_CHARS)
7138
7188
  });
7139
7189
  const REMOTE_AGENT_STREAM_DELTA_MAX_CHARS = 1024;
7140
7190
  enumFactory(Object.values({
@@ -7186,7 +7236,7 @@ const remoteAgentRuntimeEvidenceReasonCodeSchema = enumFactory(Object.values({
7186
7236
  TURN_TIMEOUT: "remote_agent.turn.timeout"
7187
7237
  }));
7188
7238
  const remoteAgentWorkerSubmitMessagesResultSchema = strictObject({
7189
- submissionId: nonEmptyStringSchema$2,
7239
+ submissionId: nonEmptyStringSchema$1,
7190
7240
  idempotencyKey: optionalNonEmptyStringSchema,
7191
7241
  requestId: optionalNonEmptyStringSchema,
7192
7242
  status: enumFactory([
@@ -7223,7 +7273,7 @@ discriminatedUnion("status", [
7223
7273
  status: literal("found"),
7224
7274
  ack: remoteAgentWorkerSubmitMessagesResultSchema.extend({
7225
7275
  accepted: literal(false),
7226
- idempotencyKey: nonEmptyStringSchema$2
7276
+ idempotencyKey: nonEmptyStringSchema$1
7227
7277
  })
7228
7278
  })
7229
7279
  ]);
@@ -7235,8 +7285,8 @@ const remoteAgentWorkerAdmissionRejectionCodeSchema = enumFactory([
7235
7285
  ]);
7236
7286
  union([remoteAgentRuntimeEvidenceReasonCodeSchema, remoteAgentWorkerAdmissionRejectionCodeSchema]);
7237
7287
  union([remoteAgentWorkerSubmitMessagesResultSchema, strictObject({
7238
- idempotencyKey: nonEmptyStringSchema$2,
7239
- message: nonEmptyStringSchema$2,
7288
+ idempotencyKey: nonEmptyStringSchema$1,
7289
+ message: nonEmptyStringSchema$1,
7240
7290
  outcome: literal("rejected"),
7241
7291
  reasonCode: remoteAgentWorkerAdmissionRejectionCodeSchema,
7242
7292
  v: literal(1)
@@ -7248,7 +7298,7 @@ const remoteAgentWorkerInputAttachmentsSchema = array(union([spaceMessageAttachm
7248
7298
  /**
7249
7299
  * Core-resolved immutable object key for a canonical Space File revision.
7250
7300
  */
7251
- objectKey: nonEmptyStringSchema$2.max(4096),
7301
+ objectKey: nonEmptyStringSchema$1.max(4096),
7252
7302
  removeAfterAdmission: neverFactory().optional(),
7253
7303
  sizeBytes: number().int().finite().min(1).max(SPACE_FILE_MAX_SIZE_BYTES)
7254
7304
  })])).max(10).superRefine((attachments, context) => {
@@ -7260,7 +7310,7 @@ const remoteAgentWorkerInputAttachmentsSchema = array(union([spaceMessageAttachm
7260
7310
  });
7261
7311
  const remoteAgentWorkerTurnMessageSchema = strictObject({
7262
7312
  role: enumFactory(["user"]),
7263
- content: nonEmptyStringSchema$2,
7313
+ content: nonEmptyStringSchema$1,
7264
7314
  attachments: remoteAgentWorkerInputAttachmentsSchema.optional()
7265
7315
  });
7266
7316
  const remoteAgentWorkerAuthorContextSchema = strictObject({
@@ -7274,21 +7324,21 @@ const remoteAgentWorkerAuthorContextSchema = strictObject({
7274
7324
  });
7275
7325
  const remoteAgentWorkerSubmitTurnRequestShape = {
7276
7326
  replyRecovery: strictObject({
7277
- originalDispatchId: nonEmptyStringSchema$2,
7278
- operationId: nonEmptyStringSchema$2,
7279
- resultRef: nonEmptyStringSchema$2.optional()
7327
+ originalDispatchId: nonEmptyStringSchema$1,
7328
+ operationId: nonEmptyStringSchema$1,
7329
+ resultRef: nonEmptyStringSchema$1.optional()
7280
7330
  }).optional(),
7281
- organizationId: nonEmptyStringSchema$2,
7282
- spaceId: nonEmptyStringSchema$2,
7331
+ organizationId: nonEmptyStringSchema$1,
7332
+ spaceId: nonEmptyStringSchema$1,
7283
7333
  conversationId: optionalNonEmptyStringSchema,
7284
7334
  agentProfileId: agentProfileIdSchema,
7285
- agentProfileOwnerUserId: nonEmptyStringSchema$2.nullable(),
7286
- bindingId: nonEmptyStringSchema$2,
7287
- triggerMessageId: nonEmptyStringSchema$2,
7288
- dispatchId: nonEmptyStringSchema$2,
7289
- taskId: nonEmptyStringSchema$2.optional(),
7335
+ agentProfileOwnerUserId: nonEmptyStringSchema$1.nullable(),
7336
+ bindingId: nonEmptyStringSchema$1,
7337
+ triggerMessageId: nonEmptyStringSchema$1,
7338
+ dispatchId: nonEmptyStringSchema$1,
7339
+ taskId: nonEmptyStringSchema$1.optional(),
7290
7340
  sourceClientMessageId: nullableNonEmptyStringSchema.optional(),
7291
- idempotencyKey: nonEmptyStringSchema$2,
7341
+ idempotencyKey: nonEmptyStringSchema$1,
7292
7342
  toolExecutionDeadlineAtMs: number().int().positive().max(Number.MAX_SAFE_INTEGER).optional(),
7293
7343
  messages: array(remoteAgentWorkerTurnMessageSchema).min(1),
7294
7344
  author: remoteAgentWorkerAuthorContextSchema,
@@ -7308,7 +7358,7 @@ const remoteAgentWorkerSubmitTurnRequestV2Schema = strictObject({
7308
7358
  });
7309
7359
  const remoteAgentWorkerConversationIdentitySchema = strictObject({
7310
7360
  kind: literal("personal_agent"),
7311
- agentProfileId: nonEmptyStringSchema$2
7361
+ agentProfileId: nonEmptyStringSchema$1
7312
7362
  });
7313
7363
  discriminatedUnion("v", [
7314
7364
  remoteAgentWorkerSubmitTurnRequestV1Schema,
@@ -7317,16 +7367,16 @@ discriminatedUnion("v", [
7317
7367
  v: literal(4),
7318
7368
  ...remoteAgentWorkerSubmitTurnRequestShape,
7319
7369
  conversationIdentity: remoteAgentWorkerConversationIdentitySchema.optional(),
7320
- conversationId: nonEmptyStringSchema$2.max(REMOTE_AGENT_LOGICAL_CONVERSATION_ID_MAX_CHARS),
7370
+ conversationId: nonEmptyStringSchema$1.max(REMOTE_AGENT_LOGICAL_CONVERSATION_ID_MAX_CHARS),
7321
7371
  continuityContext: remoteAgentConversationContinuityContextSchema.optional(),
7322
7372
  sourceMessageEnvelope: messageEnvelopeSchema.optional(),
7323
7373
  modelRoute: centerAgentModelRouteSchema,
7324
7374
  runtimeConversation: remoteAgentRuntimeConversationSchema,
7325
7375
  spaceDispatchContext: strictObject({
7326
- dispatchChainId: nonEmptyStringSchema$2,
7376
+ dispatchChainId: nonEmptyStringSchema$1,
7327
7377
  autoRelayDepth: number().int().nonnegative(),
7328
- visitedProfileIds: array(nonEmptyStringSchema$2).max(256),
7329
- visitedProfileIdsHash: nonEmptyStringSchema$2
7378
+ visitedProfileIds: array(nonEmptyStringSchema$1).max(256),
7379
+ visitedProfileIdsHash: nonEmptyStringSchema$1
7330
7380
  }).optional()
7331
7381
  }).superRefine((request, context) => {
7332
7382
  if (request.conversationIdentity?.kind === "personal_agent") {
@@ -7371,10 +7421,10 @@ discriminatedUnion("v", [
7371
7421
  ]);
7372
7422
  const remoteAgentWorkerExecutionIdentitySchema = {
7373
7423
  v: literal(1),
7374
- organizationId: nonEmptyStringSchema$2,
7375
- spaceId: nonEmptyStringSchema$2,
7376
- submissionId: nonEmptyStringSchema$2,
7377
- idempotencyKey: nonEmptyStringSchema$2
7424
+ organizationId: nonEmptyStringSchema$1,
7425
+ spaceId: nonEmptyStringSchema$1,
7426
+ submissionId: nonEmptyStringSchema$1,
7427
+ idempotencyKey: nonEmptyStringSchema$1
7378
7428
  };
7379
7429
  const remoteAgentWorkerExecutionStatusSchema = enumFactory([
7380
7430
  "pending",
@@ -7403,11 +7453,11 @@ strictObject({
7403
7453
  });
7404
7454
  const remoteAgentWorkerAdmissionStopIntentSchema = strictObject({
7405
7455
  v: literal(1),
7406
- organizationId: nonEmptyStringSchema$2,
7407
- spaceId: nonEmptyStringSchema$2,
7408
- idempotencyKey: nonEmptyStringSchema$2,
7456
+ organizationId: nonEmptyStringSchema$1,
7457
+ spaceId: nonEmptyStringSchema$1,
7458
+ idempotencyKey: nonEmptyStringSchema$1,
7409
7459
  requestedAtMs: number().int().nonnegative(),
7410
- reason: nonEmptyStringSchema$2.max(512).nullable(),
7460
+ reason: nonEmptyStringSchema$1.max(512).nullable(),
7411
7461
  summaryRecoveryId: optionalNonEmptyStringSchema
7412
7462
  });
7413
7463
  union([strictObject({
@@ -7429,7 +7479,7 @@ const remoteAgentWorkerExecutionStateSchema = strictObject({
7429
7479
  lastProgressAtMs: number().int().nonnegative(),
7430
7480
  lastProgressKind: remoteAgentWorkerExecutionProgressKindSchema,
7431
7481
  completedAtMs: number().int().nonnegative().nullable(),
7432
- cancellationReason: nonEmptyStringSchema$2.max(512).nullable()
7482
+ cancellationReason: nonEmptyStringSchema$1.max(512).nullable()
7433
7483
  });
7434
7484
  union([
7435
7485
  strictObject({
@@ -7445,7 +7495,7 @@ union([
7445
7495
  strictObject({
7446
7496
  ...remoteAgentWorkerExecutionIdentitySchema,
7447
7497
  conversationId: optionalNonEmptyStringSchema,
7448
- reason: nonEmptyStringSchema$2.max(512).optional(),
7498
+ reason: nonEmptyStringSchema$1.max(512).optional(),
7449
7499
  summaryRecoveryId: optionalNonEmptyStringSchema
7450
7500
  });
7451
7501
  union([
@@ -7469,12 +7519,12 @@ union([
7469
7519
  ]);
7470
7520
  strictObject({
7471
7521
  organizationId: optionalNonEmptyStringSchema,
7472
- runtimeConversationId: nonEmptyStringSchema$2.max(REMOTE_AGENT_RUNTIME_CONVERSATION_ID_MAX_CHARS),
7473
- spaceId: nonEmptyStringSchema$2
7522
+ runtimeConversationId: nonEmptyStringSchema$1.max(REMOTE_AGENT_RUNTIME_CONVERSATION_ID_MAX_CHARS),
7523
+ spaceId: nonEmptyStringSchema$1
7474
7524
  });
7475
7525
  strictObject({
7476
- runtimeConversationId: nonEmptyStringSchema$2.max(REMOTE_AGENT_RUNTIME_CONVERSATION_ID_MAX_CHARS),
7477
- spaceId: nonEmptyStringSchema$2
7526
+ runtimeConversationId: nonEmptyStringSchema$1.max(REMOTE_AGENT_RUNTIME_CONVERSATION_ID_MAX_CHARS),
7527
+ spaceId: nonEmptyStringSchema$1
7478
7528
  });
7479
7529
  const nullableNonNegativeIntegerSchema = number().int().nonnegative().nullable();
7480
7530
  const remoteAgentRuntimeSubmissionDiagnosticSchema = strictObject({
@@ -7498,37 +7548,37 @@ const remoteAgentRuntimeSubmissionDiagnosticSchema = strictObject({
7498
7548
  "terminalizing",
7499
7549
  "settled"
7500
7550
  ]),
7501
- submissionId: nonEmptyStringSchema$2,
7551
+ submissionId: nonEmptyStringSchema$1,
7502
7552
  timeoutAtMs: number().int().nonnegative()
7503
7553
  });
7504
7554
  const remoteAgentRuntimeAttemptMarkerDiagnosticSchema = strictObject({
7505
- attemptId: nonEmptyStringSchema$2,
7555
+ attemptId: nonEmptyStringSchema$1,
7506
7556
  createdAtMs: number().int().nonnegative(),
7507
- submissionId: nonEmptyStringSchema$2
7557
+ submissionId: nonEmptyStringSchema$1
7508
7558
  });
7509
7559
  const remoteAgentRuntimeActiveRunDiagnosticSchema = strictObject({
7510
7560
  createdAtMs: number().int().nonnegative(),
7511
- id: nonEmptyStringSchema$2,
7512
- name: nonEmptyStringSchema$2
7561
+ id: nonEmptyStringSchema$1,
7562
+ name: nonEmptyStringSchema$1
7513
7563
  });
7514
7564
  const remoteAgentRuntimeFiberDiagnosticSchema = strictObject({
7515
7565
  completedAtMs: nullableNonNegativeIntegerSchema,
7516
7566
  createdAtMs: number().int().nonnegative(),
7517
- fiberId: nonEmptyStringSchema$2,
7567
+ fiberId: nonEmptyStringSchema$1,
7518
7568
  idempotencyKey: nullableNonEmptyStringSchema,
7519
- name: nonEmptyStringSchema$2,
7569
+ name: nonEmptyStringSchema$1,
7520
7570
  startedAtMs: nullableNonNegativeIntegerSchema,
7521
- status: nonEmptyStringSchema$2
7571
+ status: nonEmptyStringSchema$1
7522
7572
  });
7523
7573
  const remoteAgentRuntimeScheduleDiagnosticSchema = strictObject({
7524
7574
  callback: nullableNonEmptyStringSchema,
7525
7575
  createdAtSeconds: number().int().nonnegative(),
7526
7576
  delayInSeconds: nullableNonNegativeIntegerSchema,
7527
7577
  executionStartedAtMs: nullableNonNegativeIntegerSchema,
7528
- id: nonEmptyStringSchema$2,
7578
+ id: nonEmptyStringSchema$1,
7529
7579
  running: boolean(),
7530
7580
  timeMs: nullableNonNegativeIntegerSchema,
7531
- type: nonEmptyStringSchema$2
7581
+ type: nonEmptyStringSchema$1
7532
7582
  });
7533
7583
  const remoteAgentRuntimeCallbackContextDiagnosticSchema = strictObject({
7534
7584
  conversationCompaction: conversationCompactionMarkerSchema.optional(),
@@ -7543,7 +7593,7 @@ const remoteAgentRuntimeCallbackContextDiagnosticSchema = strictObject({
7543
7593
  "rejected",
7544
7594
  "retryable"
7545
7595
  ]),
7546
- dispatchId: nonEmptyStringSchema$2,
7596
+ dispatchId: nonEmptyStringSchema$1,
7547
7597
  hasCompletedText: boolean(),
7548
7598
  lastCoreResponseReasonCode: nullableNonEmptyStringSchema,
7549
7599
  lastCoreResponseStatus: enumFactory([
@@ -7553,16 +7603,16 @@ const remoteAgentRuntimeCallbackContextDiagnosticSchema = strictObject({
7553
7603
  "retryable"
7554
7604
  ]).nullable(),
7555
7605
  lastFailureCode: nullableNonEmptyStringSchema,
7556
- submissionId: nonEmptyStringSchema$2,
7606
+ submissionId: nonEmptyStringSchema$1,
7557
7607
  updatedAtMs: number().int().nonnegative()
7558
7608
  });
7559
7609
  const remoteAgentRecentToolCallDiagnosticSchema = strictObject({
7560
7610
  calledAtMs: number().int().nonnegative(),
7561
7611
  source: enumFactory(["code_mode", "direct"]),
7562
- toolName: nonEmptyStringSchema$2.max(160)
7612
+ toolName: nonEmptyStringSchema$1.max(160)
7563
7613
  });
7564
7614
  const remoteAgentCapabilityDiscoveryDiagnosticSchema = strictObject({
7565
- capabilityNames: array(nonEmptyStringSchema$2.max(160)).max(12),
7615
+ capabilityNames: array(nonEmptyStringSchema$1.max(160)).max(12),
7566
7616
  observedAtMs: number().int().nonnegative(),
7567
7617
  operation: enumFactory(["describe", "search"]),
7568
7618
  resultCount: number().int().nonnegative()
@@ -7595,7 +7645,7 @@ const remoteAgentTurnRuntimeEvidenceSchema = strictObject({
7595
7645
  recentCapabilityDiscovery: array(remoteAgentCapabilityDiscoveryDiagnosticSchema).max(16),
7596
7646
  recentProviderRequests: array(remoteAgentProviderRequestDiagnosticSchema).max(16),
7597
7647
  recentToolCalls: array(remoteAgentRecentToolCallDiagnosticSchema).max(32),
7598
- submissionId: nonEmptyStringSchema$2,
7648
+ submissionId: nonEmptyStringSchema$1,
7599
7649
  toolCallCount: number().int().nonnegative(),
7600
7650
  toolCallLimit: number().int().positive(),
7601
7651
  updatedAtMs: number().int().nonnegative()
@@ -7608,7 +7658,7 @@ const remoteAgentWorkerRuntimeDiagnosticsResponseV1Schema = strictObject({
7608
7658
  durableObjectAlarmAtMs: nullableNonNegativeIntegerSchema,
7609
7659
  fibers: array(remoteAgentRuntimeFiberDiagnosticSchema).max(50),
7610
7660
  schedules: array(remoteAgentRuntimeScheduleDiagnosticSchema).max(50),
7611
- spaceId: nonEmptyStringSchema$2,
7661
+ spaceId: nonEmptyStringSchema$1,
7612
7662
  submissions: array(remoteAgentRuntimeSubmissionDiagnosticSchema).max(50),
7613
7663
  turnObservability: array(remoteAgentTurnRuntimeEvidenceSchema).max(50).optional(),
7614
7664
  v: literal(1)
@@ -7636,30 +7686,30 @@ const remoteAgentWorkerRuntimeDiagnosticsResponseSchema = discriminatedUnion("v"
7636
7686
  v: literal(2)
7637
7687
  })]);
7638
7688
  const remoteAgentCoreCallbackIdentitySchema = {
7639
- submissionId: nonEmptyStringSchema$2,
7640
- idempotencyKey: nonEmptyStringSchema$2,
7641
- organizationId: nonEmptyStringSchema$2,
7642
- spaceId: nonEmptyStringSchema$2,
7689
+ submissionId: nonEmptyStringSchema$1,
7690
+ idempotencyKey: nonEmptyStringSchema$1,
7691
+ organizationId: nonEmptyStringSchema$1,
7692
+ spaceId: nonEmptyStringSchema$1,
7643
7693
  agentProfileId: agentProfileIdSchema,
7644
- bindingId: nonEmptyStringSchema$2,
7645
- triggerMessageId: nonEmptyStringSchema$2,
7646
- dispatchId: nonEmptyStringSchema$2,
7694
+ bindingId: nonEmptyStringSchema$1,
7695
+ triggerMessageId: nonEmptyStringSchema$1,
7696
+ dispatchId: nonEmptyStringSchema$1,
7647
7697
  callbackAttempt: number().int().positive().optional()
7648
7698
  };
7649
7699
  const remoteAgentStreamDeltaCallbackIdentitySchema = {
7650
- submissionId: nonEmptyStringSchema$2,
7651
- idempotencyKey: nonEmptyStringSchema$2,
7652
- organizationId: nonEmptyStringSchema$2,
7653
- spaceId: nonEmptyStringSchema$2,
7700
+ submissionId: nonEmptyStringSchema$1,
7701
+ idempotencyKey: nonEmptyStringSchema$1,
7702
+ organizationId: nonEmptyStringSchema$1,
7703
+ spaceId: nonEmptyStringSchema$1,
7654
7704
  agentProfileId: agentProfileIdSchema,
7655
- bindingId: nonEmptyStringSchema$2,
7656
- triggerMessageId: nonEmptyStringSchema$2,
7657
- dispatchId: nonEmptyStringSchema$2
7705
+ bindingId: nonEmptyStringSchema$1,
7706
+ triggerMessageId: nonEmptyStringSchema$1,
7707
+ dispatchId: nonEmptyStringSchema$1
7658
7708
  };
7659
7709
  strictObject({ ...remoteAgentStreamDeltaCallbackIdentitySchema });
7660
7710
  const legacyRemoteAgentStreamDeltaCallbackBodySchema = strictObject({
7661
7711
  v: literal(1),
7662
- streamId: nonEmptyStringSchema$2,
7712
+ streamId: nonEmptyStringSchema$1,
7663
7713
  sequence: number().int().positive(),
7664
7714
  ...remoteAgentStreamDeltaCallbackIdentitySchema,
7665
7715
  source: enumFactory(["flue.text_delta", "simulated.final_text"]),
@@ -7669,7 +7719,7 @@ const legacyRemoteAgentStreamDeltaCallbackBodySchema = strictObject({
7669
7719
  });
7670
7720
  const typedRemoteAgentStreamDeltaCallbackIdentitySchema = {
7671
7721
  v: literal(2),
7672
- streamId: nonEmptyStringSchema$2,
7722
+ streamId: nonEmptyStringSchema$1,
7673
7723
  sequence: number().int().positive(),
7674
7724
  ...remoteAgentStreamDeltaCallbackIdentitySchema,
7675
7725
  delta: string().min(1).max(REMOTE_AGENT_STREAM_DELTA_MAX_CHARS),
@@ -7696,12 +7746,15 @@ union([
7696
7746
  ]);
7697
7747
  strictObject({
7698
7748
  v: literal(1),
7699
- streamId: nonEmptyStringSchema$2,
7749
+ streamId: nonEmptyStringSchema$1,
7700
7750
  sequence: number().int().positive(),
7701
7751
  ...remoteAgentStreamDeltaCallbackIdentitySchema,
7702
- source: literal("flue.tool"),
7703
- part: agentStreamToolPartSchema,
7752
+ source: enumFactory(["flue.tool", "flue.model_recovery"]),
7753
+ part: union([agentStreamToolPartSchema, agentStreamRecoveryPartSchema]),
7704
7754
  observedAtMs: number().int().nonnegative()
7755
+ }).refine((value) => value.source === "flue.model_recovery" === (value.part.type === "recovery"), {
7756
+ message: "Stream part must match its source",
7757
+ path: ["source"]
7705
7758
  });
7706
7759
  const remoteAgentStreamLastSequenceSchema = number().int().nonnegative();
7707
7760
  const remoteAgentRetryAfterMsSchema = number().int().nonnegative().max(3e5);
@@ -7718,12 +7771,12 @@ union([
7718
7771
  strictObject({
7719
7772
  status: literal("rejected"),
7720
7773
  lastSequence: remoteAgentStreamLastSequenceSchema,
7721
- reasonCode: nonEmptyStringSchema$2
7774
+ reasonCode: nonEmptyStringSchema$1
7722
7775
  }),
7723
7776
  strictObject({
7724
7777
  status: literal("retryable"),
7725
7778
  lastSequence: remoteAgentStreamLastSequenceSchema,
7726
- reasonCode: nonEmptyStringSchema$2,
7779
+ reasonCode: nonEmptyStringSchema$1,
7727
7780
  retryAfterMs: remoteAgentRetryAfterMsSchema.optional()
7728
7781
  })
7729
7782
  ]);
@@ -7733,15 +7786,15 @@ const remoteAgentCoreCallbackBodySchema = union([strictObject({
7733
7786
  navigationTarget: openMeldNavigationTargetSchema.optional(),
7734
7787
  status: literal("completed").optional(),
7735
7788
  mentionTargets: array(openMeldRuntimeProfileIdSchema).max(25).optional(),
7736
- text: nonEmptyStringSchema$2.max(MAX_TEXT_LENGTH$1),
7789
+ text: nonEmptyStringSchema$1.max(MAX_TEXT_LENGTH$1),
7737
7790
  attachments: spaceMessageAttachmentsSchema.optional(),
7738
7791
  files: spaceMessageFileReferencesSchema.optional()
7739
7792
  }), strictObject({
7740
7793
  ...remoteAgentCoreCallbackIdentitySchema,
7741
7794
  status: literal("failed"),
7742
- failureCode: nonEmptyStringSchema$2,
7795
+ failureCode: nonEmptyStringSchema$1,
7743
7796
  failureDetail: optionalDispatchErrorSummarySchema,
7744
- failureMessage: nonEmptyStringSchema$2
7797
+ failureMessage: nonEmptyStringSchema$1
7745
7798
  })]);
7746
7799
  union([remoteAgentCoreCallbackBodySchema, strictObject({
7747
7800
  ...remoteAgentCoreCallbackIdentitySchema,
@@ -7752,7 +7805,7 @@ discriminatedUnion("kind", [strictObject({
7752
7805
  callback: remoteAgentCoreCallbackBodySchema,
7753
7806
  kind: literal("callback")
7754
7807
  }), strictObject({
7755
- failureCode: nonEmptyStringSchema$2,
7808
+ failureCode: nonEmptyStringSchema$1,
7756
7809
  kind: literal("terminal_failure")
7757
7810
  })]);
7758
7811
  strictObject({
@@ -7760,16 +7813,16 @@ strictObject({
7760
7813
  conversationCompaction: conversationCompactionMarkerSchema.optional(),
7761
7814
  navigationTarget: openMeldNavigationTargetSchema.optional(),
7762
7815
  status: literal("completed"),
7763
- text: nonEmptyStringSchema$2.max(MAX_TEXT_LENGTH$1),
7816
+ text: nonEmptyStringSchema$1.max(MAX_TEXT_LENGTH$1),
7764
7817
  attachments: spaceMessageAttachmentsSchema.optional(),
7765
7818
  files: spaceMessageFileReferencesSchema.optional()
7766
7819
  });
7767
7820
  strictObject({
7768
7821
  ...remoteAgentCoreCallbackIdentitySchema,
7769
7822
  status: literal("failed"),
7770
- failureCode: nonEmptyStringSchema$2,
7823
+ failureCode: nonEmptyStringSchema$1,
7771
7824
  failureDetail: optionalDispatchErrorSummarySchema,
7772
- failureMessage: nonEmptyStringSchema$2
7825
+ failureMessage: nonEmptyStringSchema$1
7773
7826
  });
7774
7827
  strictObject({
7775
7828
  status: enumFactory([
@@ -7778,8 +7831,8 @@ strictObject({
7778
7831
  "rejected",
7779
7832
  "retryable"
7780
7833
  ]),
7781
- reasonCode: nonEmptyStringSchema$2.optional(),
7782
- publishedSignalId: nonEmptyStringSchema$2.nullable().optional(),
7834
+ reasonCode: nonEmptyStringSchema$1.optional(),
7835
+ publishedSignalId: nonEmptyStringSchema$1.nullable().optional(),
7783
7836
  retryAfterMs: remoteAgentRetryAfterMsSchema.optional()
7784
7837
  });
7785
7838
  //#endregion
@@ -9626,6 +9679,7 @@ const accountSpaceIndexIncludeDirectMessageProfileIdsSchema = z$1.preprocess((va
9626
9679
  z$1.strictObject({
9627
9680
  includeMessagePreviews: z$1.preprocess((value) => value === true || value === "true", z$1.boolean()).optional(),
9628
9681
  includeMemberPreviews: z$1.preprocess((value) => value === true || value === "true", z$1.boolean()).optional(),
9682
+ includeDirectoryPreviews: z$1.preprocess((value) => value === true || value === "true", z$1.boolean()).optional(),
9629
9683
  gatewayHost: profileSpaceHistoryGatewayHostSchema,
9630
9684
  includeDirectMessageProfileIds: accountSpaceIndexIncludeDirectMessageProfileIdsSchema,
9631
9685
  includeRecentlyDeletedItems: accountSpaceIndexIncludeRecentlyDeletedItemsSchema,
@@ -9640,19 +9694,21 @@ const accountSpaceIndexJoinedProfileSchema = z$1.strictObject({
9640
9694
  profileId: trimmedNonEmptyStringSchema$8,
9641
9695
  profileName: trimmedNonEmptyStringSchema$8
9642
9696
  });
9697
+ const accountSpaceMessagePreviewSchema = z$1.strictObject({
9698
+ signalId: trimmedNonEmptyStringSchema$8,
9699
+ profileId: trimmedNonEmptyStringSchema$8,
9700
+ timestamp: z$1.number().int().nonnegative(),
9701
+ text: z$1.string().max(240)
9702
+ });
9643
9703
  const accountSpaceIndexItemSchema = z$1.strictObject({
9644
- messagePreview: z$1.strictObject({
9645
- signalId: trimmedNonEmptyStringSchema$8,
9646
- profileId: trimmedNonEmptyStringSchema$8,
9647
- timestamp: z$1.number().int().nonnegative(),
9648
- text: z$1.string().max(240)
9649
- }).nullable().optional(),
9704
+ recentMessagePreviews: z$1.array(accountSpaceMessagePreviewSchema).max(2).optional(),
9705
+ messagePreview: accountSpaceMessagePreviewSchema.nullable().optional(),
9650
9706
  memberPreviews: z$1.array(z$1.strictObject({
9651
9707
  profileId: trimmedNonEmptyStringSchema$8,
9652
9708
  profileName: trimmedNonEmptyStringSchema$8,
9653
9709
  profileKind: z$1.enum(["human", "agent"]),
9654
9710
  agentControllerRef: nullableTrimmedStringSchema$3
9655
- })).max(3).optional(),
9711
+ })).max(8).optional(),
9656
9712
  creatorKind: z$1.union([profileSpaceCreatorKindSchema, z$1.null()]),
9657
9713
  creatorOwnerUserId: nullableTrimmedStringSchema$3,
9658
9714
  creatorProfileId: nullableTrimmedStringSchema$3,
@@ -11321,6 +11377,157 @@ const spaceHistoryNavigationSchema = z$1.object({
11321
11377
  total: z$1.number().int().nonnegative()
11322
11378
  });
11323
11379
  //#endregion
11380
+ //#region ../../packages/schemas/dist/schemas/daemon/session-history.js
11381
+ const SESSION_HISTORY_RUNTIME_CAPABILITY = "session-history-v3";
11382
+ const SESSION_HISTORY_CAPABILITY_HEADER = "x-openmeld-session-history";
11383
+ const sessionHistoryProviderSchema = z$1.enum([
11384
+ "codex",
11385
+ "claude-code",
11386
+ "opencode",
11387
+ "grok-build"
11388
+ ]);
11389
+ const id = z$1.string().trim().min(1).max(512);
11390
+ const sessionHistoryConnectionSchema = z$1.strictObject({
11391
+ projectId: id,
11392
+ bindingGeneration: id
11393
+ });
11394
+ const sessionHistoryPolicyInputSchema = z$1.strictObject({
11395
+ enabled: z$1.boolean(),
11396
+ connections: z$1.array(sessionHistoryConnectionSchema).max(128)
11397
+ });
11398
+ const sessionHistoryPolicySchema = sessionHistoryPolicyInputSchema.extend({
11399
+ revision: z$1.number().int().positive(),
11400
+ updatedAtMs: z$1.number().int().nonnegative()
11401
+ });
11402
+ const sessionHistoryReadSchema = z$1.strictObject({
11403
+ operation: z$1.literal("read_session"),
11404
+ provider: sessionHistoryProviderSchema.optional(),
11405
+ projectId: id,
11406
+ sessionId: id,
11407
+ offset: z$1.number().int().min(0).max(1e5).default(0),
11408
+ limit: z$1.number().int().min(1).max(50).default(20)
11409
+ });
11410
+ const sessionHistoryOperationSchema = z$1.discriminatedUnion("operation", [
11411
+ z$1.strictObject({ operation: z$1.literal("read_settings") }),
11412
+ z$1.strictObject({
11413
+ operation: z$1.literal("update_settings"),
11414
+ expectedRevision: z$1.number().int().positive(),
11415
+ policy: sessionHistoryPolicyInputSchema
11416
+ }),
11417
+ z$1.strictObject({ operation: z$1.literal("read_audit") }),
11418
+ sessionHistoryReadSchema
11419
+ ]);
11420
+ const sessionHistoryRequesterSchema = z$1.strictObject({
11421
+ requestRootId: id,
11422
+ ownerUserId: id,
11423
+ requesterUserId: id,
11424
+ readerProfileId: id.nullable(),
11425
+ delegatorProfileId: id.nullable(),
11426
+ spaceId: id.nullable(),
11427
+ audience: z$1.enum([
11428
+ "owner_private",
11429
+ "space",
11430
+ "externally_shared"
11431
+ ])
11432
+ });
11433
+ const sessionHistoryAuditSchema = z$1.strictObject({
11434
+ provider: sessionHistoryProviderSchema.optional(),
11435
+ requestId: id,
11436
+ atMs: z$1.number().int().nonnegative(),
11437
+ requester: sessionHistoryRequesterSchema,
11438
+ projectId: id,
11439
+ sessionId: id,
11440
+ offset: z$1.number().int().nonnegative(),
11441
+ count: z$1.number().int().nonnegative(),
11442
+ outcome: z$1.enum([
11443
+ "allowed",
11444
+ "denied",
11445
+ "failed"
11446
+ ])
11447
+ });
11448
+ const sessionHistoryPageSchema = z$1.strictObject({
11449
+ kind: z$1.literal("session"),
11450
+ provider: sessionHistoryProviderSchema.optional(),
11451
+ sessionId: id,
11452
+ requester: sessionHistoryRequesterSchema,
11453
+ messages: z$1.array(z$1.strictObject({
11454
+ role: z$1.enum(["user", "assistant"]),
11455
+ text: z$1.string().max(8e3),
11456
+ truncated: z$1.boolean()
11457
+ })).max(50),
11458
+ nextOffset: z$1.number().int().nonnegative().nullable(),
11459
+ omittedNonMessageItems: z$1.boolean()
11460
+ });
11461
+ const sessionHistoryResultSchema = z$1.discriminatedUnion("kind", [
11462
+ z$1.strictObject({
11463
+ kind: z$1.literal("settings"),
11464
+ policy: sessionHistoryPolicySchema,
11465
+ connections: z$1.array(sessionHistoryConnectionSchema.extend({ projectSlug: id })).max(512)
11466
+ }),
11467
+ z$1.strictObject({
11468
+ kind: z$1.literal("audit"),
11469
+ entries: z$1.array(sessionHistoryAuditSchema).max(200)
11470
+ }),
11471
+ sessionHistoryPageSchema,
11472
+ z$1.strictObject({
11473
+ kind: z$1.literal("error"),
11474
+ code: z$1.enum([
11475
+ "denied",
11476
+ "changed",
11477
+ "unavailable",
11478
+ "unsupported",
11479
+ "failed"
11480
+ ]),
11481
+ message: z$1.string().max(512)
11482
+ })
11483
+ ]);
11484
+ z$1.strictObject({
11485
+ execution: z$1.strictObject({
11486
+ dispatchId: id,
11487
+ executionTokenEcho: runtimeCoordinatorExecutionTokenEchoSchema
11488
+ }).optional(),
11489
+ context: openMeldRequestContextSchema,
11490
+ organizationId: id,
11491
+ deviceId: id,
11492
+ runtimeLane: daemonServiceLaneSchema,
11493
+ request: sessionHistoryOperationSchema
11494
+ });
11495
+ const sessionHistoryServiceRequestSchema = z$1.strictObject({
11496
+ organizationId: id,
11497
+ expectedDeviceId: id,
11498
+ requester: sessionHistoryRequesterSchema,
11499
+ request: sessionHistoryOperationSchema
11500
+ });
11501
+ const sessionHistoryRequestFrameSchema = z$1.strictObject({
11502
+ v: z$1.literal(1),
11503
+ code: z$1.literal("daemon.session_history.request"),
11504
+ payload: z$1.strictObject({
11505
+ requestId: id,
11506
+ request: sessionHistoryServiceRequestSchema
11507
+ })
11508
+ });
11509
+ const sessionHistoryResultFrameSchema = z$1.strictObject({
11510
+ v: z$1.literal(1),
11511
+ code: z$1.literal("daemon.session_history.request_result"),
11512
+ payload: z$1.strictObject({
11513
+ requestId: id,
11514
+ result: sessionHistoryResultSchema
11515
+ })
11516
+ });
11517
+ z$1.strictObject({
11518
+ v: z$1.literal(1),
11519
+ ownerUserId: id,
11520
+ deviceId: id,
11521
+ lane: daemonServiceLaneSchema,
11522
+ requestId: id,
11523
+ request: sessionHistoryServiceRequestSchema
11524
+ });
11525
+ z$1.strictObject({
11526
+ context: openMeldRequestContextSchema,
11527
+ computerId: id,
11528
+ request: sessionHistoryReadSchema
11529
+ });
11530
+ //#endregion
11324
11531
  //#region ../../packages/schemas/dist/schemas/http/feedback.js
11325
11532
  const FEEDBACK_SUBMIT_INVALID_INPUT_ERROR_CODE = "feedback.submit.invalid_input";
11326
11533
  const FEEDBACK_SUBMIT_INBOX_NOT_FOUND_ERROR_CODE = "feedback.submit.inbox_not_found";
@@ -11695,19 +11902,19 @@ const MESSAGE_CHANNEL_ERROR_CODES = [
11695
11902
  "message_channel.setup_request_recipient_unavailable"
11696
11903
  ];
11697
11904
  const LARK_PLATFORM_WEBHOOK_RAW_BODY_MAX_CHARS = 262144;
11698
- const nonEmptyStringSchema$1 = string().trim().min(1);
11699
- const capabilityGroupSchema = nonEmptyStringSchema$1.max(64).regex(/^[a-z0-9][a-z0-9._-]*$/u);
11700
- const reasonCodeSchema$1 = nonEmptyStringSchema$1.max(128).regex(/^[a-z0-9][a-z0-9._-]*$/u);
11905
+ const nonEmptyStringSchema = string().trim().min(1);
11906
+ const capabilityGroupSchema = nonEmptyStringSchema.max(64).regex(/^[a-z0-9][a-z0-9._-]*$/u);
11907
+ const reasonCodeSchema$1 = nonEmptyStringSchema.max(128).regex(/^[a-z0-9][a-z0-9._-]*$/u);
11701
11908
  const messageChannelConnectionStatusSchema = enumFactory(MESSAGE_CHANNEL_CONNECTION_STATUSES);
11702
11909
  const messageChannelSetupRequestBodySchema = strictObject({ provider: messageChannelProviderSchema });
11703
11910
  const messageChannelSetupRequestResponseSchema = strictObject({
11704
- organizationId: nonEmptyStringSchema$1.max(256),
11911
+ organizationId: nonEmptyStringSchema.max(256),
11705
11912
  provider: messageChannelProviderSchema,
11706
11913
  recipientCount: number().int().positive(),
11707
- requestId: nonEmptyStringSchema$1.max(256),
11914
+ requestId: nonEmptyStringSchema.max(256),
11708
11915
  status: enumFactory(["created", "already_requested"])
11709
11916
  });
11710
- const messageChannelIdentityLinkIdSchema = nonEmptyStringSchema$1.max(82).regex(/^channel_identity_[0-9a-f]{64}$/u);
11917
+ const messageChannelIdentityLinkIdSchema = nonEmptyStringSchema.max(82).regex(/^channel_identity_[0-9a-f]{64}$/u);
11711
11918
  const larkPlatformProviderSchema = enumFactory(["lark", "feishu"]);
11712
11919
  const larkPlatformRegistrationBeginModeSchema = enumFactory([
11713
11920
  "resume",
@@ -11716,13 +11923,13 @@ const larkPlatformRegistrationBeginModeSchema = enumFactory([
11716
11923
  "reauthorize"
11717
11924
  ]);
11718
11925
  const messageChannelConnectionProjectionSchema = strictObject({
11719
- id: nonEmptyStringSchema$1.max(256),
11926
+ id: nonEmptyStringSchema.max(256),
11720
11927
  provider: messageChannelProviderSchema,
11721
11928
  transport: messageChannelTransportSchema,
11722
11929
  status: messageChannelConnectionStatusSchema,
11723
- externalAccountId: nonEmptyStringSchema$1.max(512).nullable(),
11724
- externalAccountName: nonEmptyStringSchema$1.max(256).nullable(),
11725
- permissionBundleVersion: nonEmptyStringSchema$1.max(128).nullable(),
11930
+ externalAccountId: nonEmptyStringSchema.max(512).nullable(),
11931
+ externalAccountName: nonEmptyStringSchema.max(256).nullable(),
11932
+ permissionBundleVersion: nonEmptyStringSchema.max(128).nullable(),
11726
11933
  grantedCapabilityGroups: array(capabilityGroupSchema).max(32),
11727
11934
  lastVerifiedAt: iso.datetime({ offset: true }).nullable(),
11728
11935
  reasonCode: reasonCodeSchema$1.nullable()
@@ -11736,13 +11943,13 @@ const messageChannelConnectionProjectionSchema = strictObject({
11736
11943
  const messageChannelIdentityLinkProjectionSchema = strictObject({
11737
11944
  connectedAt: iso.datetime({ offset: true }),
11738
11945
  id: messageChannelIdentityLinkIdSchema,
11739
- openMeldUserId: nonEmptyStringSchema$1.max(256),
11946
+ openMeldUserId: nonEmptyStringSchema.max(256),
11740
11947
  provider: messageChannelProviderSchema,
11741
11948
  providerAccountEmail: email().max(320).nullable().default(null),
11742
- providerAccountName: nonEmptyStringSchema$1.max(256).nullable()
11949
+ providerAccountName: nonEmptyStringSchema.max(256).nullable()
11743
11950
  });
11744
11951
  const messageChannelConnectionListResponseSchema = strictObject({
11745
- organizationId: nonEmptyStringSchema$1.max(256),
11952
+ organizationId: nonEmptyStringSchema.max(256),
11746
11953
  availableLarkPlatformProviders: array(larkPlatformProviderSchema).max(2),
11747
11954
  connections: array(messageChannelConnectionProjectionSchema).max(MESSAGE_CHANNEL_PROVIDERS.length),
11748
11955
  identityLinks: array(messageChannelIdentityLinkProjectionSchema).max(1e4).default([])
@@ -11766,7 +11973,7 @@ const messageChannelConnectionListResponseSchema = strictObject({
11766
11973
  providers.add(connection.provider);
11767
11974
  }
11768
11975
  });
11769
- const larkPlatformRegistrationAttemptIdSchema = nonEmptyStringSchema$1.max(256);
11976
+ const larkPlatformRegistrationAttemptIdSchema = nonEmptyStringSchema.max(256);
11770
11977
  const larkPlatformActiveRegistrationProjectionSchema = strictObject({
11771
11978
  canResume: boolean(),
11772
11979
  expiresAt: iso.datetime({ offset: true }),
@@ -11781,7 +11988,7 @@ const larkPlatformActiveRegistrationProjectionSchema = strictObject({
11781
11988
  ])
11782
11989
  });
11783
11990
  const larkPlatformActiveRegistrationListResponseSchema = strictObject({
11784
- organizationId: nonEmptyStringSchema$1.max(256),
11991
+ organizationId: nonEmptyStringSchema.max(256),
11785
11992
  registrations: array(larkPlatformActiveRegistrationProjectionSchema).max(2)
11786
11993
  }).superRefine((response, context) => {
11787
11994
  const providers = /* @__PURE__ */ new Set();
@@ -11822,7 +12029,7 @@ const larkPlatformRegistrationAttemptProjectionSchema = strictObject({
11822
12029
  }
11823
12030
  });
11824
12031
  const larkPlatformRegistrationResponseSchema = strictObject({
11825
- organizationId: nonEmptyStringSchema$1.max(256),
12032
+ organizationId: nonEmptyStringSchema.max(256),
11826
12033
  attempt: larkPlatformRegistrationAttemptProjectionSchema,
11827
12034
  connection: messageChannelConnectionProjectionSchema.nullable()
11828
12035
  }).superRefine((response, context) => {
@@ -11834,21 +12041,21 @@ const larkPlatformRegistrationResponseSchema = strictObject({
11834
12041
  });
11835
12042
  strictObject({
11836
12043
  provider: larkPlatformProviderSchema,
11837
- connectionId: nonEmptyStringSchema$1.max(256),
12044
+ connectionId: nonEmptyStringSchema.max(256),
11838
12045
  surface: enumFactory(["events", "callbacks"]),
11839
12046
  rawBody: string().min(2).max(LARK_PLATFORM_WEBHOOK_RAW_BODY_MAX_CHARS),
11840
12047
  headers: strictObject({
11841
- timestamp: nonEmptyStringSchema$1.max(64).nullable(),
11842
- nonce: nonEmptyStringSchema$1.max(256).nullable(),
11843
- signature: nonEmptyStringSchema$1.max(256).nullable()
12048
+ timestamp: nonEmptyStringSchema.max(64).nullable(),
12049
+ nonce: nonEmptyStringSchema.max(256).nullable(),
12050
+ signature: nonEmptyStringSchema.max(256).nullable()
11844
12051
  }),
11845
12052
  receivedAtMs: number().int().nonnegative().max(Number.MAX_SAFE_INTEGER),
11846
- gatewayRequestId: nonEmptyStringSchema$1.max(256)
12053
+ gatewayRequestId: nonEmptyStringSchema.max(256)
11847
12054
  });
11848
12055
  discriminatedUnion("status", [
11849
12056
  strictObject({
11850
12057
  status: literal("challenge"),
11851
- challenge: nonEmptyStringSchema$1.max(2048)
12058
+ challenge: nonEmptyStringSchema.max(2048)
11852
12059
  }),
11853
12060
  strictObject({
11854
12061
  status: literal("enqueue"),
@@ -11869,12 +12076,12 @@ const messageChannelIdentityLinkPreviewResponseSchema = strictObject({
11869
12076
  alreadyMember: boolean().default(true),
11870
12077
  continuesRequest: boolean().default(false),
11871
12078
  expiresAt: iso.datetime({ offset: true }),
11872
- organizationId: nonEmptyStringSchema$1.max(256),
11873
- organizationName: nonEmptyStringSchema$1.max(256),
12079
+ organizationId: nonEmptyStringSchema.max(256),
12080
+ organizationName: nonEmptyStringSchema.max(256),
11874
12081
  provider: larkPlatformProviderSchema,
11875
- providerUserDisplayName: nonEmptyStringSchema$1.max(256),
11876
- providerUserId: nonEmptyStringSchema$1.max(512),
11877
- openMeldAccountEmail: nonEmptyStringSchema$1.max(320),
12082
+ providerUserDisplayName: nonEmptyStringSchema.max(256),
12083
+ providerUserId: nonEmptyStringSchema.max(512),
12084
+ openMeldAccountEmail: nonEmptyStringSchema.max(320),
11878
12085
  replacesExistingLink: boolean().default(false)
11879
12086
  });
11880
12087
  const messageChannelIdentityLinkConsumeBodySchema = strictObject({ token: messageChannelIdentityLinkTokenSchema });
@@ -11884,13 +12091,13 @@ const messageChannelIdentityLinkConsumeResponseSchema = strictObject({
11884
12091
  continuesRequest: boolean().default(false),
11885
12092
  joinedOrganization: boolean().default(false),
11886
12093
  linked: literal(true),
11887
- organizationId: nonEmptyStringSchema$1.max(256),
11888
- organizationName: nonEmptyStringSchema$1.max(256),
12094
+ organizationId: nonEmptyStringSchema.max(256),
12095
+ organizationName: nonEmptyStringSchema.max(256),
11889
12096
  provider: larkPlatformProviderSchema,
11890
- providerUserDisplayName: nonEmptyStringSchema$1.max(256),
11891
- providerUserId: nonEmptyStringSchema$1.max(512),
12097
+ providerUserDisplayName: nonEmptyStringSchema.max(256),
12098
+ providerUserId: nonEmptyStringSchema.max(512),
11892
12099
  replacedExistingLink: boolean().default(false),
11893
- openMeldUserId: nonEmptyStringSchema$1.max(256)
12100
+ openMeldUserId: nonEmptyStringSchema.max(256)
11894
12101
  });
11895
12102
  //#endregion
11896
12103
  //#region ../../packages/schemas/dist/schemas/http/center-agent-member-research.js
@@ -13224,7 +13431,8 @@ const agentProfileWorkRecoveryActionSchema = agentProfileWorkRecoveryActionKindS
13224
13431
  const agentProfileWorkRecoveryRouteParamsSchema = z$1.strictObject({ agentProfileId: agentProfileIdSchema });
13225
13432
  const executeAgentProfileWorkRecoveryBodySchema = z$1.strictObject({
13226
13433
  action: agentProfileWorkRecoveryActionSchema,
13227
- expectedInterruptedTargetWakeLifecycleId: z$1.string().trim().min(1).max(512)
13434
+ expectedInterruptedTargetWakeLifecycleId: z$1.string().trim().min(1).max(512),
13435
+ spaceId: z$1.string().trim().min(1).max(512).optional()
13228
13436
  });
13229
13437
  const executeAgentProfileWorkRecoveryResponseSchema = z$1.strictObject({
13230
13438
  action: agentProfileWorkRecoveryActionSchema,
@@ -13746,84 +13954,11 @@ const organizationUsageOverviewResponseSchema = z$1.strictObject({
13746
13954
  });
13747
13955
  z$1.strictObject({ context: openMeldRequestContextSchema });
13748
13956
  //#endregion
13749
- //#region ../../packages/schemas/dist/schemas/runtime/openconnector-runtime.js
13750
- const nonEmptyStringSchema = z$1.string().trim().min(1);
13751
- const jsonSchemaObjectSchema = z$1.record(z$1.string(), z$1.unknown());
13752
- const openConnectorRuntimeActionEffectSchema = z$1.enum([
13753
- "destructive",
13754
- "read",
13755
- "write"
13756
- ]);
13757
- const openConnectorRuntimeActionExecutionSchema = z$1.strictObject({
13758
- catalogOnly: z$1.boolean(),
13759
- locallyExecutable: z$1.boolean(),
13760
- needsCredential: z$1.boolean(),
13761
- noAuthRunnable: z$1.boolean(),
13762
- requiredAuthTypes: z$1.array(z$1.enum([
13763
- "no_auth",
13764
- "api_key",
13765
- "custom_credential",
13766
- "oauth2"
13767
- ]))
13768
- }).superRefine((execution, context) => {
13769
- if (execution.catalogOnly === execution.locallyExecutable) context.addIssue({
13770
- code: "custom",
13771
- message: "OpenConnector action execution must be either locally executable or catalog-only.",
13772
- path: ["locallyExecutable"]
13773
- });
13774
- if (execution.needsCredential === execution.noAuthRunnable) context.addIssue({
13775
- code: "custom",
13776
- message: "OpenConnector action credential requirements are inconsistent.",
13777
- path: ["needsCredential"]
13778
- });
13779
- });
13780
- const openConnectorRuntimeActionSchema = z$1.strictObject({
13781
- asyncLifecycle: z$1.strictObject({
13782
- cancelActionId: nonEmptyStringSchema.optional(),
13783
- startActionId: nonEmptyStringSchema,
13784
- statusActionId: nonEmptyStringSchema
13785
- }).nullable(),
13786
- description: nonEmptyStringSchema,
13787
- effect: openConnectorRuntimeActionEffectSchema.optional(),
13788
- execution: openConnectorRuntimeActionExecutionSchema,
13789
- followUpActions: z$1.array(z$1.strictObject({ actionId: nonEmptyStringSchema })),
13790
- id: nonEmptyStringSchema,
13791
- inputSchema: jsonSchemaObjectSchema,
13792
- name: nonEmptyStringSchema,
13793
- operationType: openConnectorRuntimeActionEffectSchema.optional(),
13794
- outputSchema: jsonSchemaObjectSchema,
13795
- providerPermissions: z$1.array(nonEmptyStringSchema),
13796
- requiredScopes: z$1.array(nonEmptyStringSchema),
13797
- service: nonEmptyStringSchema
13798
- });
13799
- const openConnectorRuntimeActionListSchema = z$1.array(openConnectorRuntimeActionSchema);
13800
- const openConnectorRuntimeActionSearchResultSchema = z$1.strictObject({
13801
- authenticated: z$1.boolean(),
13802
- description: nonEmptyStringSchema,
13803
- effect: openConnectorRuntimeActionEffectSchema.optional(),
13804
- id: nonEmptyStringSchema,
13805
- inputSchema: jsonSchemaObjectSchema,
13806
- name: nonEmptyStringSchema,
13807
- operationType: openConnectorRuntimeActionEffectSchema.optional(),
13808
- outputSchema: jsonSchemaObjectSchema,
13809
- service: nonEmptyStringSchema
13810
- });
13811
- z$1.array(openConnectorRuntimeActionSearchResultSchema);
13812
- const openConnectorRuntimeActionOperationMetaSchema = z$1.strictObject({
13813
- actionId: nonEmptyStringSchema,
13814
- auditPersisted: z$1.boolean(),
13815
- executionId: nonEmptyStringSchema
13816
- });
13817
- z$1.strictObject({
13818
- data: z$1.json(),
13819
- message: z$1.literal("OK"),
13820
- meta: openConnectorRuntimeActionOperationMetaSchema,
13821
- outputSchema: jsonSchemaObjectSchema.optional(),
13822
- success: z$1.literal(true)
13823
- });
13824
- //#endregion
13825
13957
  //#region ../../packages/schemas/dist/schemas/http/plugin-actions.js
13826
- const selectedAccountSchema = centerAgentConnectorActionExecutionConnectionSchema.extend({ permission: enumFactory(["read", "write"]) });
13958
+ const selectedAccountSchema = centerAgentConnectorActionExecutionConnectionSchema.extend({
13959
+ permission: enumFactory(["read", "write"]),
13960
+ health: pluginConnectionHealthSchema.optional()
13961
+ });
13827
13962
  const selection = {
13828
13963
  service: connectorServiceSchema,
13829
13964
  account: enumFactory(["personal", "shared"])
@@ -13848,6 +13983,12 @@ const pluginActionRequestSchema = strictObject({
13848
13983
  operation: literal("actions"),
13849
13984
  ...selection
13850
13985
  }),
13986
+ strictObject({
13987
+ operation: literal("connection"),
13988
+ ...selection,
13989
+ key: string().min(1).max(256),
13990
+ computer: boolean().optional()
13991
+ }),
13851
13992
  strictObject({
13852
13993
  operation: literal("execute"),
13853
13994
  ...selection,
@@ -13867,6 +14008,15 @@ strictObject({
13867
14008
  request: pluginActionRequestSchema
13868
14009
  });
13869
14010
  const pluginActionResponseSchema = discriminatedUnion("kind", [
14011
+ strictObject({
14012
+ kind: literal("native_connection"),
14013
+ connection: selectedAccountSchema,
14014
+ description: pluginConnectionDescriptionSchema,
14015
+ baseUrl: string().url().optional(),
14016
+ expiresAtMs: number().optional(),
14017
+ environment: record(string(), string()).optional(),
14018
+ nextAction: string()
14019
+ }),
13870
14020
  strictObject({
13871
14021
  kind: literal("authorization_required"),
13872
14022
  request: pluginActionRequestViewSchema
@@ -14161,11 +14311,15 @@ z$1.discriminatedUnion("action", [z$1.strictObject({ action: z$1.literal("read")
14161
14311
  //#region ../../packages/schemas/dist/schemas/http/space-input-queue.js
14162
14312
  const inputId = clientMessageIdSchema$1;
14163
14313
  const target = centerAgentExecutionInputTargetSchema;
14314
+ z$1.strictObject({ includeRecovery: z$1.boolean().optional() });
14164
14315
  const spaceInputQueueMutationSchema = z$1.discriminatedUnion("action", [
14165
14316
  z$1.strictObject({
14166
14317
  action: z$1.literal("enqueue"),
14167
14318
  inputId,
14168
- target,
14319
+ target: z$1.union([target, z$1.strictObject({
14320
+ clientMessageId: clientMessageIdSchema$1,
14321
+ targetProfileId: z$1.string().min(1)
14322
+ })]),
14169
14323
  text: z$1.string().trim().min(1).max(MAX_TEXT_LENGTH$1)
14170
14324
  }),
14171
14325
  z$1.strictObject({
@@ -14183,18 +14337,26 @@ const spaceInputQueueMutationSchema = z$1.discriminatedUnion("action", [
14183
14337
  orderedIds: z$1.array(inputId).max(50)
14184
14338
  })
14185
14339
  ]);
14186
- const spaceInputQueueResponseSchema = z$1.strictObject({ items: z$1.array(z$1.strictObject({
14187
- inputId,
14188
- target,
14189
- authorProfileId: z$1.string().min(1),
14190
- text: z$1.string(),
14191
- state: z$1.enum([
14192
- "queued",
14193
- "claimed",
14194
- "unconfirmed"
14195
- ]),
14196
- blocked: z$1.boolean()
14197
- })) });
14340
+ const spaceInputQueueResponseSchema = z$1.strictObject({
14341
+ recoveries: z$1.array(z$1.strictObject({
14342
+ targetProfileId: z$1.string().min(1),
14343
+ profileName: z$1.string(),
14344
+ action: z$1.enum(["fork_interrupted_work", "skip_interrupted_work"]),
14345
+ expectedInterruptedTargetWakeLifecycleId: z$1.string().min(1)
14346
+ })).optional(),
14347
+ items: z$1.array(z$1.strictObject({
14348
+ inputId,
14349
+ target,
14350
+ authorProfileId: z$1.string().min(1),
14351
+ text: z$1.string(),
14352
+ state: z$1.enum([
14353
+ "queued",
14354
+ "claimed",
14355
+ "unconfirmed"
14356
+ ]),
14357
+ blocked: z$1.boolean()
14358
+ }))
14359
+ });
14198
14360
  //#endregion
14199
14361
  //#region ../../packages/schemas/dist/schemas/http/space-wake-trace-waterfall.js
14200
14362
  const optionalSelectorSchema$1 = z$1.preprocess((value) => {
@@ -14892,6 +15054,19 @@ const cloudComputerSchema = strictObject({
14892
15054
  provider: literal("cloudflare"),
14893
15055
  createdAtMs: number().int().nonnegative()
14894
15056
  });
15057
+ const cloudComputerStorageSchema = strictObject({
15058
+ scope: literal("persistent"),
15059
+ databaseBytes: number().int().nonnegative(),
15060
+ limitBytes: number().int().positive(),
15061
+ growthHeadroomBytes: number().int().nonnegative(),
15062
+ status: enumFactory([
15063
+ "available",
15064
+ "near_limit",
15065
+ "at_limit"
15066
+ ]),
15067
+ observedAtMs: number().int().nonnegative(),
15068
+ guidance: string()
15069
+ });
14895
15070
  const path$1 = string().min(1).max(4096);
14896
15071
  const key = string().min(1).max(256);
14897
15072
  const cloudComputerBackendSchema = enumFactory([
@@ -14992,7 +15167,7 @@ strictObject({
14992
15167
  const cloudComputerOperationResultSchema = union([
14993
15168
  strictObject({
14994
15169
  kind: literal("capabilities"),
14995
- capabilities: record(string(), unknown())
15170
+ capabilities: object({ storage: cloudComputerStorageSchema.optional() }).catchall(unknown())
14996
15171
  }),
14997
15172
  strictObject({
14998
15173
  kind: literal("files"),
@@ -15036,6 +15211,7 @@ const cloudComputerOperationResultSchema = union([
15036
15211
  stderr: string().optional(),
15037
15212
  after: number().optional(),
15038
15213
  outputPending: literal(true).optional(),
15214
+ syncPending: literal(true).optional(),
15039
15215
  outputTruncated: literal(true).optional(),
15040
15216
  result: json().optional(),
15041
15217
  nextAction: string().optional()
@@ -15635,6 +15811,7 @@ function buildAccountSpaceIndexPath(input) {
15635
15811
  if (input.includePurposes === true) url.searchParams.set("includePurposes", "true");
15636
15812
  if (input.includeMemberPreviews === true) url.searchParams.set("includeMemberPreviews", "true");
15637
15813
  if (input.includeMessagePreviews === true) url.searchParams.set("includeMessagePreviews", "true");
15814
+ if (input.includeDirectoryPreviews === true) url.searchParams.set("includeDirectoryPreviews", "true");
15638
15815
  return `${url.pathname}${url.search}`;
15639
15816
  }
15640
15817
  const createAccountSpaceIndexApi = (client) => {
@@ -15672,6 +15849,7 @@ function buildAgentActivityStatsPath(query = {}) {
15672
15849
  const createAgentActivityApi = (client) => ({
15673
15850
  readSessions: async (input = {}) => {
15674
15851
  const query = requireValidInput$7(agentActivitySessionInventoryQuerySchema, {
15852
+ ...input.computerId === void 0 ? {} : { computerId: input.computerId },
15675
15853
  ...input.cursor === void 0 ? {} : { cursor: input.cursor },
15676
15854
  ...input.limit === void 0 ? {} : { limit: input.limit },
15677
15855
  ...input.memberUserId === void 0 ? {} : { memberUserId: input.memberUserId },
@@ -17451,6 +17629,27 @@ async function multipartRequest(client, location, clientMutationId, command, par
17451
17629
  invalidMessage: "Invalid file upload response."
17452
17630
  });
17453
17631
  }
17632
+ function createFirstWorkApi(client) {
17633
+ const url = "/v1/organizations/current/first-work";
17634
+ return {
17635
+ read: (signal) => client.requestJson({
17636
+ url,
17637
+ operation: "onboarding.first-work.read",
17638
+ schema: firstWorkResponseSchema,
17639
+ invalidMessage: "Invalid onboarding response",
17640
+ signal
17641
+ }),
17642
+ update: (input) => client.requestJson({
17643
+ url,
17644
+ method: "POST",
17645
+ operation: "onboarding.first-work.update",
17646
+ headers: { "content-type": "application/json" },
17647
+ body: JSON.stringify(firstWorkActionSchema.parse(input)),
17648
+ schema: firstWorkResponseSchema,
17649
+ invalidMessage: "Invalid onboarding response"
17650
+ })
17651
+ };
17652
+ }
17454
17653
  const INBOX_PATH = "/v1/inbox";
17455
17654
  function buildInboxNotificationObservationsPath(query = {}) {
17456
17655
  const search = new URLSearchParams();
@@ -19737,6 +19936,24 @@ function createServiceConnectionEvidenceApi(client) {
19737
19936
  })
19738
19937
  };
19739
19938
  }
19939
+ function createSessionHistoryApi(client) {
19940
+ return { request: (input) => client.requestJson({
19941
+ method: "POST",
19942
+ operation: "computer.session-history",
19943
+ timeoutMs: 4e4,
19944
+ schema: sessionHistoryResultSchema,
19945
+ invalidMessage: "Invalid session history response.",
19946
+ url: `/v1/people-computers/${encodeURIComponent(input.deviceId)}/lanes/${encodeURIComponent(input.runtimeLane)}/session-history`,
19947
+ headers: { "content-type": "application/json" },
19948
+ body: JSON.stringify({
19949
+ organizationId: input.organizationId,
19950
+ request: input.request,
19951
+ ...input.execution ? { execution: input.execution } : {}
19952
+ }),
19953
+ ...input.requestContext ? { requestContext: input.requestContext } : {},
19954
+ ...input.signal ? { signal: input.signal } : {}
19955
+ }) };
19956
+ }
19740
19957
  function buildCreateSpacePath() {
19741
19958
  return "/v1/spaces";
19742
19959
  }
@@ -20137,7 +20354,7 @@ function normalizeKinds(values) {
20137
20354
  }
20138
20355
  async function getSpaceBootstrap(client, input) {
20139
20356
  return await client.requestJson({
20140
- url: buildSpaceBootstrapReadPath(input.spaceId, input.historyQuery, input.includeAgentStreamPresence, input.includeAgentReadiness),
20357
+ url: buildSpaceBootstrapReadPath(input.spaceId, input.historyQuery, input.includeAgentStreamPresence, input.includeAgentReadiness, input.includeAgentStreamRecovery),
20141
20358
  operation: "space.bootstrap.read",
20142
20359
  headers: {
20143
20360
  ...currentSpaceAddressingHeaders(),
@@ -20151,11 +20368,12 @@ async function getSpaceBootstrap(client, input) {
20151
20368
  invalidMessage: "invalid space bootstrap response"
20152
20369
  });
20153
20370
  }
20154
- function buildSpaceBootstrapReadPath(spaceId, historyQuery, includeAgentStreamPresence, includeAgentReadiness) {
20371
+ function buildSpaceBootstrapReadPath(spaceId, historyQuery, includeAgentStreamPresence, includeAgentReadiness, includeAgentStreamRecovery) {
20155
20372
  const url = new URL(buildSpaceBootstrapPath(spaceId), "https://openmeld.local");
20156
20373
  for (const [key, value] of buildSpaceSignalsReadSearchParams(historyQuery)) url.searchParams.append(key, value);
20157
20374
  if (includeAgentStreamPresence === true) url.searchParams.set("includeAgentStreamPresence", "true");
20158
20375
  if (includeAgentReadiness === false) url.searchParams.set("includeAgentReadiness", "false");
20376
+ if (includeAgentStreamRecovery === true) url.searchParams.set("includeAgentStreamRecovery", "true");
20159
20377
  return `${url.pathname}${url.search}`;
20160
20378
  }
20161
20379
  async function createSpace(client, input) {
@@ -21313,7 +21531,7 @@ async function postSpaceWorkHandoff(api, input) {
21313
21531
  }
21314
21532
  async function readOrUpdateSpaceInputQueue(client, input) {
21315
21533
  return await client.requestJson({
21316
- url: `/v1/spaces/${encodeURIComponent(input.spaceId)}/input-queue`,
21534
+ url: `/v1/spaces/${encodeURIComponent(input.spaceId)}/input-queue${input.includeRecovery ? "?recovery=1" : ""}`,
21317
21535
  operation: "space.input-queue",
21318
21536
  method: input.mutation ? "PATCH" : "GET",
21319
21537
  ...input.mutation ? {
@@ -21430,6 +21648,6 @@ function shouldWrapNetworkRequestError(error) {
21430
21648
  return message.includes("fetch failed") || message.includes("failed to fetch") || message.includes("network request failed");
21431
21649
  }
21432
21650
  //#endregion
21433
- export { buildLocalFolderPickerPath as $, projectSchema as $i, buildSpaceThreadEvidence as $n, organizationSkillRuntimeReleaseSelectionSchema as $r, createLocalProjectControlApi as $t, buildCurrentOrganizationDirectoryPath as A, listRoutineManagementResponseSchema as Ai, normalizeApiBaseUrl as An, organizationSpaceDirectoryWithMemberCountsResponseSchema as Ar, buildSpaceAttachmentDownloadPath as At, buildCurrentOrganizationMessageChannelsPath as B, agentActivityProviderSchema as Bi, resolveProfileSpaceHistoryGatewayHost as Bn, spaceDispatchTraceAttemptStatusSchema as Br, createAgentProfileWorkRecoveryApi as Bt, buildCenterAgentSessionPath as C, spaceCreatorSchema as Ci, isInboxItemInOrganizationScope as Cn, agentProfileCreationConfigurationSchema as Cr, buildProjectsPath as Ct, buildCurrentAgentProfileSessionRoute as D, deleteCenterAgentRoutineResponseSchema as Di, listSpaceFiles as Dn, mutateSpaceTaskBodySchema as Dr, buildRoutineRunsPath as Dt, buildComputerFileAccessUpdatePath as E, createCenterAgentRoutineResponseSchema as Ei, listSpaceFileRevisions as En, createSpaceTaskBodySchema as Er, buildRoutineResumePath as Et, buildCurrentOrganizationMessageChannelPath as F, updateCenterAgentRoutineResponseSchema as Fi, readCliRelease as Fn, SPACE_DISPATCH_TRACE_PROMPT_PREVIEW_MAX_CHARS as Fr, buildSpaceInboxUnreadTargetsPath as Ft, buildFeedbackIssueSubmissionPath as G, serviceConnectionEvidenceJournalSchema as Gi, updateSpaceFileEntry as Gn, ORGANIZATION_SKILL_BUNDLE_MAX_BYTES as Gr, createConfigApi as Gt, buildCurrentOrganizationSpacesWithMemberCountsPath as H, agentActivitySnapshotQuerySchema as Hi, toStructuredApiClientFailure as Hn, spaceDispatchTraceResponseSchema as Hr, createCloudComputerApi as Ht, buildCurrentOrganizationMessageChannelRegistrationPath as I, modelCatalogSchema as Ii, readOrUpdateSpaceFilePins as In, SPACE_DISPATCH_TRACE_RESPONSE_CONTRACT_VERSION_HEADER as Ir, createAccountSpaceIndexApi as It, buildInboxItemReadPath as J, localProjectControlDaemonFrameSchema as Ji, uploadSpaceFile as Jn, listOrganizationSkillsResponseSchema as Jr, createFeedbackApi as Jt, buildInboxItemDismissPath as K, signalTextEnvelopeSchema as Ki, updateSpaceMeta as Kn, ORGANIZATION_SKILL_FILE_MAX_BYTES as Kr, createCurrentDeviceApi as Kt, buildCurrentOrganizationMessageChannelRegistrationPollPath as L, AGENT_ACTIVITY_EVENT_MAX_BYTES as Li, readOrUpdateSpaceInputQueue as Ln, projectSpaceDispatchTraceFinalVisibleOutcome as Lr, createAgentActivityApi as Lt, buildCurrentOrganizationInformationProtectionPath as M, resumeCenterAgentRoutineResponseSchema as Mi, publicSpaceUrls as Mn, submitFeedbackIssueRequestSchema as Mr, buildSpaceFileContentPath as Mt, buildCurrentOrganizationLogoPath as N, routineManagementSchema as Ni, readAccountOrganizationContext as Nn, submitFeedbackIssueResponseSchema as Nr, buildSpaceInboxReadThroughPath as Nt, buildCurrentOrganizationCenterAgentMemoryWipeSelfPath as O, listCenterAgentRoutineRunsResponseSchema as Oi, listSpaceTasks as On, spaceTaskIdSchema as Or, buildRoutineTargetSpacesPath as Ot, buildCurrentOrganizationMemberOpenMeldServiceStatusesPath as P, routineScopeSchema as Pi, readAccountSession as Pn, spaceThreadEvidenceResponseSchema as Pr, buildSpaceInboxSummaryPath as Pt, buildInboxSummaryPath as Q, listProjectsResponseSchema as Qi, buildSpaceMessageEvidence as Qn, organizationSkillReleaseSummarySchema as Qr, createLocalFolderPickerApi as Qt, buildCurrentOrganizationMessageChannelRegistrationsPath as R, AGENT_ACTIVITY_PRESENCE_TTL_MAX_MS as Ri, readOrUpdateSpaceMessagePins as Rn, resolveRuntimeCoordinatorHeadStatusRootCause as Rr, createAgentProfileBindingApi as Rt, buildCenterAgentProfilePath as S, resolveInitialSpaceAccessMode as Si, inboxMessageNotificationSpaceId as Sn, DEFAULT_AGENT_PROFILE_CREATION_CONFIGURATION as Sr, buildProjectPath as St, buildComputerFileAccessReadPath as T, centerAgentRoutineSchema as Ti, isInboxNotificationEligible as Tn, gatewayErrorEnvelopeSchema as Tr, buildRoutinePausePath as Tt, buildDirectMessageConversionPath as U, agentActivitySnapshotResponseSchema as Ui, trashSpaceFileEntry as Un, observabilityWakeTraceSelectorSchema as Ur, createComputerAuthorizationGrant as Ut, buildCurrentOrganizationSpacesPath as V, agentActivitySessionStatusSchema as Vi, setSpaceAccessMode as Vn, spaceDispatchTraceDispatchStatusSchema as Vr, createCenterAgentApi as Vt, buildDirectMessageSpacePath as W, serviceConnectionEvidenceEventSchema as Wi, updateSpaceFileContent as Wn, projectObservabilityWakeCorrelation as Wr, createComputerFileAccessApi as Wt, buildInboxPath as X, archiveProjectResponseSchema as Xi, DAEMON_STREAM_KEEPALIVE_PONG as Xn, organizationSkillFileSchema as Xr, createFileRootApi as Xt, buildInboxMarkAllReadPath as Y, localProjectControlDiscoverProjectsResponseSchema as Yi, DAEMON_STREAM_KEEPALIVE_PING as Yn, organizationSkillBundleSchema as Yr, createFetchTransport as Yt, buildInboxPreferencesPath as Z, createProjectResponseSchema as Zi, MAX_TEXT_LENGTH as Zn, organizationSkillGitHubRepositoryPreviewSchema as Zr, createInboxApi as Zt, buildCenterAgentDirectMessageSpacePath as _, agentActivityInventorySessionStatusSchema as _i, createSpaceTask as _n, betterAuthDeviceAuthorizationCodeResponseSchema as _r, buildOrganizationUsageOverviewPath as _t, buildAgentActivitySessionsPath as a, computerFileAccessPolicyInputSchema as aa, resolvedSpaceMemberProfileSchema as ai, createOrganizationUsageApi as an, OPENMELD_HEADER_REQUESTED_ORGANIZATION_ID as ar, buildOrganizationDocumentsPath as at, buildCenterAgentMemberResearchPath as b, localAgentSessionProviderSchema as bi, getSpaceFile as bn, betterAuthDeviceAuthorizationTokenResponseSchema as br, buildProfileSpaceHistoryStatusPath as bt, buildAgentProfileCreationApprovalPreferencePath as c, toCompatibleSpaceAddressingRequestWireValue as ca, spaceMemberDirectoryEntrySchema as ci, createProfileSpaceHistoryApi as cn, buildOpenMeldRequestContextHeaders as cr, buildOrganizationSkillFilesImportPath as ct, buildAgentProfileCreationRequestDecisionPath as d, submitAgentControllerTaskLifecycleEventItemSchema as di, createReasoningStreamApi as dn, getSpaceUpdatesResponseSchema as dr, buildOrganizationSkillGitHubPreviewPath as dt, updateProjectResponseSchema as ea, organizationSkillSummarySchema as ei, createLocalRuntimeExpectedRoutesApi as en, parseEnvelope as er, buildLocalProjectControlPath as et, buildAgentProfileCreationRequestRetryPath as f, ownerComputerDiagnosticsSchema as fi, createRoutinesApi as fn, spaceEntryTargetSchema as fr, buildOrganizationSkillMaintainersPath as ft, buildCenterAgentDesignationPath as g, agentActivityInventorySessionOriginSchema as gi, createSpaceFolder as gn, betterAuthDeviceAuthorizationCodeRequestSchema as gr, buildOrganizationSkillsPath as gt, buildCenterAgentAuditJournalPath as h, organizationComputersResponseSchema as hi, createSpaceApi as hn, BETTER_AUTH_DEVICE_AUTHORIZATION_GRANT_TYPE as hr, buildOrganizationSkillResourcePath as ht, buildAccountSpaceIndexPath as i, computerFileAccessDaemonFrameSchema as ia, removeSpaceMembersResponseSchema as ii, createOrganizationSkillsApi as in, OPENMELD_HEADER_PROFILE_ID as ir, buildOrganizationDocumentPath as it, buildCurrentOrganizationFeedbackReportingPolicyPath as j, pauseCenterAgentRoutineResponseSchema as ji, postSpaceWorkHandoff as jn, organizationDirectoryResponseSchema as jr, buildSpaceBootstrapReadPath as jt, buildCurrentOrganizationComputersPath as k, listCenterAgentRoutinesResponseSchema as ki, mutateSpaceTask as kn, spaceTaskMutationReceiptSchema as kr, buildRoutinesPath as kt, buildAgentProfileCreationDefaultsPath as l, spaceMemberDirectorySchema as li, createProfilesApi as ln, toErrorMessage$2 as lr, buildOrganizationSkillFilesPreviewPath as lt, buildAgentProfileWorkRecoveryRoute as m, summarizeComputerFileAccessPolicy as mi, createServiceConnectionEvidenceApi as mn, pluginActionRequestSchema as mr, buildOrganizationSkillRepositoryPreviewPath as mt, OpenMeldApiClientInvalidResponseError as n, COMPUTER_FILE_ACCESS_RUNTIME_CAPABILITY as na, leaveSpaceResponseSchema as ni, createOrganizationApi as nn, parseServerErrorFrame as nr, buildOrganizationDocumentApproveDraftPath as nt, buildAgentActivitySnapshotPath as o, computerFileAccessPolicySchema as oa, spaceMemberAgentWakeAvailabilitySchema as oi, createPluginsApi as on, OPENMELD_HEADER_REQUEST_ID as or, buildOrganizationSkillCatalogPath as ot, buildAgentProfileCreationRequestsPath as p, projectOwnerComputerLocalRuntimes as pi, createRuntimeReportingApi as pn, openDirectMessageSpaceBodySchema as pr, buildOrganizationSkillPath as pt, buildInboxItemPath as q, localProjectControlConnectionSchema as qi, uploadSpaceAttachment as qn, getOrganizationSkillResponseSchema as qr, createDirectMessageApi as qt, buildAccountSpaceActiveWakeSummaryPath as r, OPENMELD_RUNTIME_CAPABILITIES_HEADER as ra, postSpaceMembersResponseSchema as ri, createOrganizationDocumentsApi as rn, resolveCustomMentionAliasOverride as rr, buildOrganizationDocumentDiscardDraftPath as rt, buildAgentActivityStatsPath as s, toLegacySpaceImageGeometryWireValue as sa, spaceMemberDirectoryAllowedRelationsSchema as si, createPrepareReadinessApi as sn, OPENMELD_HEADER_SPACE_ADDRESSING_VERSION as sr, buildOrganizationSkillEnabledPath as st, OpenMeldApiClientHttpError as t, COMPUTER_FILE_ACCESS_OWNER_CANCELLED_REASON_CODE as ta, stringifyOrganizationSkillBundleCanonicalJson as ti, createOpenMeldApiClient as tn, parseIncoming as tr, buildModelCatalogPath as tt, buildAgentProfileCreationRequestCancelPath as u, spaceMemberKindSchema as ui, createProjectsApi as un, cloudComputerOperationSchema as ur, buildOrganizationSkillGitHubImportPath as ut, buildCenterAgentInboxReadThroughPath as v, agentActivitySessionInventoryQuerySchema as vi, downloadSpaceFileContent as vn, betterAuthDeviceAuthorizationErrorResponseSchema as vr, buildProfileRoute as vt, buildCenterAgentSessionsPath as w, spaceMetaSchema as wi, isInboxItemVisibleConversation as wn, createAgentProfileCreationRequestBodySchema as wr, buildRoutinePath as wt, buildCenterAgentOperatingStatePath as x, observedLocalAgentSessionSchema as xi, getSpaceTask as xn, betterAuthSessionSnapshotResponseSchema as xr, buildProfileSpaceHistoryUpsertPath as xt, buildCenterAgentInboxSummaryPath as y, agentActivitySessionInventoryResponseSchema as yi, getModelCatalog as yn, betterAuthDeviceAuthorizationTokenRequestSchema as yr, buildProfileSpaceHistoryListPath as yt, buildCurrentOrganizationMessageChannelSetupRequestsPath as z, agentActivityEventSchema as zi, resolveAccountSpaceIndexGatewayHost as zn, resolveSpaceDispatchTraceRootCause as zr, createAgentProfileExecutionModeApi as zt };
21651
+ export { buildLocalFolderPickerPath as $, spaceCreatorSchema as $i, MAX_TEXT_LENGTH as $n, spaceDispatchTraceResponseSchema as $r, createLocalFolderPickerApi as $t, buildCurrentOrganizationDirectoryPath as A, centerAgentRoutineSchema as Ai, listSpaceTasks as An, spaceTaskIdSchema as Ar, buildSpaceAttachmentDownloadPath as At, buildCurrentOrganizationMessageChannelsPath as B, updateCenterAgentRoutineResponseSchema as Bi, readOrUpdateSpaceMessagePins as Bn, sessionHistoryPolicySchema as Br, createAgentProfileWorkRecoveryApi as Bt, buildCenterAgentSessionPath as C, ownerComputerDiagnosticsSchema as Ci, getSpaceTask as Cn, betterAuthSessionSnapshotResponseSchema as Cr, buildProjectsPath as Ct, buildCurrentAgentProfileSessionRoute as D, agentActivitySessionInventoryQuerySchema as Di, isInboxNotificationEligible as Dn, gatewayErrorEnvelopeSchema as Dr, buildRoutineRunsPath as Dt, buildComputerFileAccessUpdatePath as E, organizationComputersResponseSchema as Ei, isInboxItemVisibleConversation as En, createAgentProfileCreationRequestBodySchema as Er, buildRoutineResumePath as Et, buildCurrentOrganizationMessageChannelPath as F, listRoutineManagementResponseSchema as Fi, readAccountOrganizationContext as Fn, submitFeedbackIssueResponseSchema as Fr, buildSpaceInboxUnreadTargetsPath as Ft, buildFeedbackIssueSubmissionPath as G, agentActivityProviderSchema as Gi, trashSpaceFileEntry as Gn, spaceThreadEvidenceResponseSchema as Gr, createConfigApi as Gt, buildCurrentOrganizationSpacesWithMemberCountsPath as H, AGENT_ACTIVITY_EVENT_MAX_BYTES as Hi, resolveProfileSpaceHistoryGatewayHost as Hn, sessionHistoryRequestFrameSchema as Hr, createCloudComputerApi as Ht, buildCurrentOrganizationMessageChannelRegistrationPath as I, pauseCenterAgentRoutineResponseSchema as Ii, readAccountSession as In, SESSION_HISTORY_CAPABILITY_HEADER as Ir, createAccountSpaceIndexApi as It, buildInboxItemReadPath as J, agentActivitySnapshotResponseSchema as Ji, updateSpaceMeta as Jn, projectSpaceDispatchTraceFinalVisibleOutcome as Jr, createFeedbackApi as Jt, buildInboxItemDismissPath as K, agentActivitySessionStatusSchema as Ki, updateSpaceFileContent as Kn, SPACE_DISPATCH_TRACE_PROMPT_PREVIEW_MAX_CHARS as Kr, createCurrentDeviceApi as Kt, buildCurrentOrganizationMessageChannelRegistrationPollPath as L, resumeCenterAgentRoutineResponseSchema as Li, readCliRelease as Ln, SESSION_HISTORY_RUNTIME_CAPABILITY as Lr, createAgentActivityApi as Lt, buildCurrentOrganizationInformationProtectionPath as M, deleteCenterAgentRoutineResponseSchema as Mi, normalizeApiBaseUrl as Mn, organizationSpaceDirectoryWithMemberCountsResponseSchema as Mr, buildSpaceFileContentPath as Mt, buildCurrentOrganizationLogoPath as N, listCenterAgentRoutineRunsResponseSchema as Ni, postSpaceWorkHandoff as Nn, organizationDirectoryResponseSchema as Nr, buildSpaceInboxReadThroughPath as Nt, buildCurrentOrganizationCenterAgentMemoryWipeSelfPath as O, agentActivitySessionInventoryResponseSchema as Oi, listSpaceFileRevisions as On, createSpaceTaskBodySchema as Or, buildRoutineTargetSpacesPath as Ot, buildCurrentOrganizationMemberOpenMeldServiceStatusesPath as P, listCenterAgentRoutinesResponseSchema as Pi, publicSpaceUrls as Pn, submitFeedbackIssueRequestSchema as Pr, buildSpaceInboxSummaryPath as Pt, buildInboxSummaryPath as Q, resolveInitialSpaceAccessMode as Qi, DAEMON_STREAM_KEEPALIVE_PONG as Qn, spaceDispatchTraceDispatchStatusSchema as Qr, createInboxApi as Qt, buildCurrentOrganizationMessageChannelRegistrationsPath as R, routineManagementSchema as Ri, readOrUpdateSpaceFilePins as Rn, sessionHistoryAuditSchema as Rr, createAgentProfileBindingApi as Rt, buildCenterAgentProfilePath as S, submitAgentControllerTaskLifecycleEventItemSchema as Si, getSpaceFile as Sn, betterAuthDeviceAuthorizationTokenResponseSchema as Sr, buildProjectPath as St, buildComputerFileAccessReadPath as T, summarizeComputerFileAccessPolicy as Ti, isInboxItemInOrganizationScope as Tn, agentProfileCreationConfigurationSchema as Tr, buildRoutinePausePath as Tt, buildDirectMessageConversionPath as U, AGENT_ACTIVITY_PRESENCE_TTL_MAX_MS as Ui, setSpaceAccessMode as Un, sessionHistoryResultFrameSchema as Ur, createComputerAuthorizationGrant as Ut, buildCurrentOrganizationSpacesPath as V, modelCatalogSchema as Vi, resolveAccountSpaceIndexGatewayHost as Vn, sessionHistoryReadSchema as Vr, createCenterAgentApi as Vt, buildDirectMessageSpacePath as W, agentActivityEventSchema as Wi, toStructuredApiClientFailure as Wn, sessionHistoryResultSchema as Wr, createComputerFileAccessApi as Wt, buildInboxPath as X, serviceConnectionEvidenceJournalSchema as Xi, uploadSpaceFile as Xn, resolveSpaceDispatchTraceRootCause as Xr, createFileRootApi as Xt, buildInboxMarkAllReadPath as Y, serviceConnectionEvidenceEventSchema as Yi, uploadSpaceAttachment as Yn, resolveRuntimeCoordinatorHeadStatusRootCause as Yr, createFetchTransport as Yt, buildInboxPreferencesPath as Z, signalTextEnvelopeSchema as Zi, DAEMON_STREAM_KEEPALIVE_PING as Zn, spaceDispatchTraceAttemptStatusSchema as Zr, createFirstWorkApi as Zt, buildCenterAgentDirectMessageSpacePath as _, spaceMemberAgentWakeAvailabilitySchema as _i, createSpaceApi as _n, BETTER_AUTH_DEVICE_AUTHORIZATION_GRANT_TYPE as _r, buildOrganizationUsageOverviewPath as _t, buildAgentActivitySessionsPath as a, createProjectResponseSchema as aa, listOrganizationSkillsResponseSchema as ai, createOrganizationSkillsApi as an, resolveCustomMentionAliasOverride as ar, buildOrganizationDocumentsPath as at, buildCenterAgentMemberResearchPath as b, spaceMemberDirectorySchema as bi, downloadSpaceFileContent as bn, betterAuthDeviceAuthorizationErrorResponseSchema as br, buildProfileSpaceHistoryStatusPath as bt, buildAgentProfileCreationApprovalPreferencePath as c, updateProjectResponseSchema as ca, organizationSkillGitHubRepositoryPreviewSchema as ci, createPrepareReadinessApi as cn, OPENMELD_HEADER_REQUEST_ID as cr, buildOrganizationSkillFilesImportPath as ct, buildAgentProfileCreationRequestDecisionPath as d, OPENMELD_RUNTIME_CAPABILITIES_HEADER as da, organizationSkillSummarySchema as di, createProjectsApi as dn, toErrorMessage$2 as dr, buildOrganizationSkillGitHubPreviewPath as dt, spaceMetaSchema as ea, observabilityWakeTraceSelectorSchema as ei, createLocalProjectControlApi as en, buildSpaceMessageEvidence as er, buildLocalProjectControlPath as et, buildAgentProfileCreationRequestRetryPath as f, computerFileAccessDaemonFrameSchema as fa, stringifyOrganizationSkillBundleCanonicalJson as fi, createReasoningStreamApi as fn, cloudComputerOperationSchema as fr, buildOrganizationSkillMaintainersPath as ft, buildCenterAgentDesignationPath as g, toCompatibleSpaceAddressingRequestWireValue as ga, resolvedSpaceMemberProfileSchema as gi, createSessionHistoryApi as gn, pluginActionRequestSchema as gr, buildOrganizationSkillsPath as gt, buildCenterAgentAuditJournalPath as h, toLegacySpaceImageGeometryWireValue as ha, removeSpaceMembersResponseSchema as hi, createServiceConnectionEvidenceApi as hn, openDirectMessageSpaceBodySchema as hr, buildOrganizationSkillResourcePath as ht, buildAccountSpaceIndexPath as i, archiveProjectResponseSchema as ia, getOrganizationSkillResponseSchema as ii, createOrganizationDocumentsApi as in, parseServerErrorFrame as ir, buildOrganizationDocumentPath as it, buildCurrentOrganizationFeedbackReportingPolicyPath as j, createCenterAgentRoutineResponseSchema as ji, mutateSpaceTask as jn, spaceTaskMutationReceiptSchema as jr, buildSpaceBootstrapReadPath as jt, buildCurrentOrganizationComputersPath as k, observedLocalAgentSessionSchema as ki, listSpaceFiles as kn, mutateSpaceTaskBodySchema as kr, buildRoutinesPath as kt, buildAgentProfileCreationDefaultsPath as l, COMPUTER_FILE_ACCESS_OWNER_CANCELLED_REASON_CODE as la, organizationSkillReleaseSummarySchema as li, createProfileSpaceHistoryApi as ln, OPENMELD_HEADER_SPACE_ADDRESSING_VERSION as lr, buildOrganizationSkillFilesPreviewPath as lt, buildAgentProfileWorkRecoveryRoute as m, computerFileAccessPolicySchema as ma, postSpaceMembersResponseSchema as mi, createRuntimeReportingApi as mn, spaceEntryTargetSchema as mr, buildOrganizationSkillRepositoryPreviewPath as mt, OpenMeldApiClientInvalidResponseError as n, localProjectControlDaemonFrameSchema as na, ORGANIZATION_SKILL_BUNDLE_MAX_BYTES as ni, createOpenMeldApiClient as nn, parseEnvelope as nr, buildOrganizationDocumentApproveDraftPath as nt, buildAgentActivitySnapshotPath as o, listProjectsResponseSchema as oa, organizationSkillBundleSchema as oi, createOrganizationUsageApi as on, OPENMELD_HEADER_PROFILE_ID as or, buildOrganizationSkillCatalogPath as ot, buildAgentProfileCreationRequestsPath as p, computerFileAccessPolicyInputSchema as pa, leaveSpaceResponseSchema as pi, createRoutinesApi as pn, getSpaceUpdatesResponseSchema as pr, buildOrganizationSkillPath as pt, buildInboxItemPath as q, agentActivitySnapshotQuerySchema as qi, updateSpaceFileEntry as qn, SPACE_DISPATCH_TRACE_RESPONSE_CONTRACT_VERSION_HEADER as qr, createDirectMessageApi as qt, buildAccountSpaceActiveWakeSummaryPath as r, localProjectControlDiscoverProjectsResponseSchema as ra, ORGANIZATION_SKILL_FILE_MAX_BYTES as ri, createOrganizationApi as rn, parseIncoming as rr, buildOrganizationDocumentDiscardDraftPath as rt, buildAgentActivityStatsPath as s, projectSchema as sa, organizationSkillFileSchema as si, createPluginsApi as sn, OPENMELD_HEADER_REQUESTED_ORGANIZATION_ID as sr, buildOrganizationSkillEnabledPath as st, OpenMeldApiClientHttpError as t, localProjectControlConnectionSchema as ta, projectObservabilityWakeCorrelation as ti, createLocalRuntimeExpectedRoutesApi as tn, buildSpaceThreadEvidence as tr, buildModelCatalogPath as tt, buildAgentProfileCreationRequestCancelPath as u, COMPUTER_FILE_ACCESS_RUNTIME_CAPABILITY as ua, organizationSkillRuntimeReleaseSelectionSchema as ui, createProfilesApi as un, buildOpenMeldRequestContextHeaders as ur, buildOrganizationSkillGitHubImportPath as ut, buildCenterAgentInboxReadThroughPath as v, spaceMemberDirectoryAllowedRelationsSchema as vi, createSpaceFolder as vn, betterAuthDeviceAuthorizationCodeRequestSchema as vr, buildProfileRoute as vt, buildCenterAgentSessionsPath as w, projectOwnerComputerLocalRuntimes as wi, inboxMessageNotificationSpaceId as wn, DEFAULT_AGENT_PROFILE_CREATION_CONFIGURATION as wr, buildRoutinePath as wt, buildCenterAgentOperatingStatePath as x, spaceMemberKindSchema as xi, getModelCatalog as xn, betterAuthDeviceAuthorizationTokenRequestSchema as xr, buildProfileSpaceHistoryUpsertPath as xt, buildCenterAgentInboxSummaryPath as y, spaceMemberDirectoryEntrySchema as yi, createSpaceTask as yn, betterAuthDeviceAuthorizationCodeResponseSchema as yr, buildProfileSpaceHistoryListPath as yt, buildCurrentOrganizationMessageChannelSetupRequestsPath as z, routineScopeSchema as zi, readOrUpdateSpaceInputQueue as zn, sessionHistoryPageSchema as zr, createAgentProfileExecutionModeApi as zt };
21434
21652
 
21435
- //# sourceMappingURL=dist-KibLweLD.js.map
21653
+ //# sourceMappingURL=dist-BQcUIyf6.js.map