openmeld 0.3.244 → 0.3.247

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 (116) hide show
  1. package/dist/{add-me-membership-CWS97GK8.js → add-me-membership-DUeJA9q4.js} +2 -2
  2. package/dist/{add-me-membership-CWS97GK8.js.map → add-me-membership-DUeJA9q4.js.map} +1 -1
  3. package/dist/{agents-BoapsuRq.js → agents-woAcH0O6.js} +10 -10
  4. package/dist/{agents-BoapsuRq.js.map → agents-woAcH0O6.js.map} +1 -1
  5. package/dist/{api-client-foundation-BYTxVhem.js → api-client-foundation-DMEfIARh.js} +3 -3
  6. package/dist/{api-client-foundation-BYTxVhem.js.map → api-client-foundation-DMEfIARh.js.map} +1 -1
  7. package/dist/{api-client-foundation-DDdQCc2T.js → api-client-foundation-mqLjUunz.js} +1 -1
  8. package/dist/{auth-session-CpKxiYC2.js → auth-session-D7hlE-47.js} +3 -3
  9. package/dist/{auth-session-CpKxiYC2.js.map → auth-session-D7hlE-47.js.map} +1 -1
  10. package/dist/auth-session-DXxmGll1.js +4 -0
  11. package/dist/{channel-BXovlRXN.js → channel-BeUv2bLR.js} +4 -4
  12. package/dist/{channel-BXovlRXN.js.map → channel-BeUv2bLR.js.map} +1 -1
  13. package/dist/{cli-binary-manifest-ETxqCzfS.js → cli-binary-manifest-ChuzORh3.js} +2 -2
  14. package/dist/{cli-binary-manifest-ETxqCzfS.js.map → cli-binary-manifest-ChuzORh3.js.map} +1 -1
  15. package/dist/{cloud-computer-D2VuZov1.js → cloud-computer-C81_vVOV.js} +4 -4
  16. package/dist/{cloud-computer-D2VuZov1.js.map → cloud-computer-C81_vVOV.js.map} +1 -1
  17. package/dist/{command-BZvpjGWe.js → command-qNknO9gl.js} +16 -16
  18. package/dist/{command-BZvpjGWe.js.map → command-qNknO9gl.js.map} +1 -1
  19. package/dist/{computer-connection-Cd5R-jnA.js → computer-connection-WpsIQfkh.js} +2 -2
  20. package/dist/{computer-connection-Cd5R-jnA.js.map → computer-connection-WpsIQfkh.js.map} +1 -1
  21. package/dist/{computer-connection-review-lBDHLC0c.js → computer-connection-review-Df2G8VWY.js} +5 -5
  22. package/dist/{computer-connection-review-lBDHLC0c.js.map → computer-connection-review-Df2G8VWY.js.map} +1 -1
  23. package/dist/{computer-disconnect-C6OH3940.js → computer-disconnect-ttAH9WgN.js} +7 -7
  24. package/dist/{computer-disconnect-C6OH3940.js.map → computer-disconnect-ttAH9WgN.js.map} +1 -1
  25. package/dist/{computer-setup-continuation-BsSM1pzW.js → computer-setup-continuation-tbuUZSe5.js} +3 -3
  26. package/dist/{computer-setup-continuation-BsSM1pzW.js.map → computer-setup-continuation-tbuUZSe5.js.map} +1 -1
  27. package/dist/{context-BbodhIFX.js → context-x0T_qTHp.js} +4 -4
  28. package/dist/{context-BbodhIFX.js.map → context-x0T_qTHp.js.map} +1 -1
  29. package/dist/{control-plane-TOfZ-veG.js → control-plane-B93wmVS6.js} +2 -2
  30. package/dist/{control-plane-TOfZ-veG.js.map → control-plane-B93wmVS6.js.map} +1 -1
  31. package/dist/{daemon-device-id-DwMFWGI5.js → daemon-device-id-DgwvQllt.js} +5 -5
  32. package/dist/{daemon-device-id-DwMFWGI5.js.map → daemon-device-id-DgwvQllt.js.map} +1 -1
  33. package/dist/{daemon-lifecycle-journal-NJaimyPD.js → daemon-lifecycle-journal-C32I8p4n.js} +7 -6
  34. package/dist/{daemon-lifecycle-journal-NJaimyPD.js.map → daemon-lifecycle-journal-C32I8p4n.js.map} +1 -1
  35. package/dist/{daemon-service-runtime-COC1JtWX.js → daemon-service-runtime-DVqzJKke.js} +4 -4
  36. package/dist/{daemon-service-runtime-COC1JtWX.js.map → daemon-service-runtime-DVqzJKke.js.map} +1 -1
  37. package/dist/{daemon-service-update-coordinator-BmZHGGiO.js → daemon-service-update-coordinator-BTlVzU-7.js} +17 -17
  38. package/dist/daemon-service-update-coordinator-BTlVzU-7.js.map +1 -0
  39. package/dist/{dispatch-owned-runtime-dLHDTL7f.js → dispatch-owned-runtime-g2lLeYtx.js} +211 -65
  40. package/dist/dispatch-owned-runtime-g2lLeYtx.js.map +1 -0
  41. package/dist/dist-CXB_bdSS.js +4 -0
  42. package/dist/{dist-Cu_yzOuS.js → dist-DGeoVaIx.js} +521 -288
  43. package/dist/dist-DGeoVaIx.js.map +1 -0
  44. package/dist/{dual-view-guide-catalog-8Pr5QO_z.js → dual-view-guide-catalog-CkcY09Kh.js} +4 -4
  45. package/dist/{dual-view-guide-catalog-8Pr5QO_z.js.map → dual-view-guide-catalog-CkcY09Kh.js.map} +1 -1
  46. package/dist/{elapsed-time-DCufUrLA.js → elapsed-time-BMG1CU23.js} +4 -4
  47. package/dist/{elapsed-time-DCufUrLA.js.map → elapsed-time-BMG1CU23.js.map} +1 -1
  48. package/dist/{entry-CJ289WR7.js → entry-CP7_Vgs4.js} +7 -7
  49. package/dist/{entry-CJ289WR7.js.map → entry-CP7_Vgs4.js.map} +1 -1
  50. package/dist/{installation-inventory-dvcGmUBg.js → installation-inventory-7JOtUjyG.js} +3 -3
  51. package/dist/{installation-inventory-dvcGmUBg.js.map → installation-inventory-7JOtUjyG.js.map} +1 -1
  52. package/dist/{installer-D0fh4fzg.js → installer-BRpAz1X_.js} +2 -2
  53. package/dist/{installer-D0fh4fzg.js.map → installer-BRpAz1X_.js.map} +1 -1
  54. package/dist/{local-components-DJiMS67S.js → local-components-jXECvlEY.js} +3 -2
  55. package/dist/local-components-jXECvlEY.js.map +1 -0
  56. package/dist/{meta-api-BdH7IJMv.js → meta-api-QskBmfuf.js} +5 -5
  57. package/dist/{meta-api-BdH7IJMv.js.map → meta-api-QskBmfuf.js.map} +1 -1
  58. package/dist/{open-code-permission-DHFJYc_o.js → open-code-permission-B5f1e5an.js} +2 -31
  59. package/dist/open-code-permission-B5f1e5an.js.map +1 -0
  60. package/dist/{openmeld-DQPDws0E.js → openmeld-BxTCCHMn.js} +224 -69
  61. package/dist/openmeld-BxTCCHMn.js.map +1 -0
  62. package/dist/{openmeld-maintenance-worker-ALfbSMyQ.js → openmeld-maintenance-worker-BQ2YbwA9.js} +9 -9
  63. package/dist/{openmeld-maintenance-worker-ALfbSMyQ.js.map → openmeld-maintenance-worker-BQ2YbwA9.js.map} +1 -1
  64. package/dist/{openmeld-tools-update-join-Cezc7ARc.js → openmeld-tools-update-join-Dj-MEQW_.js} +4 -4
  65. package/dist/{openmeld-tools-update-join-Cezc7ARc.js.map → openmeld-tools-update-join-Dj-MEQW_.js.map} +1 -1
  66. package/dist/{openmeld-tools-update-process-frame-YLOS82E3.js → openmeld-tools-update-process-frame-BtYOlJXu.js} +2 -2
  67. package/dist/{openmeld-tools-update-process-frame-YLOS82E3.js.map → openmeld-tools-update-process-frame-BtYOlJXu.js.map} +1 -1
  68. package/dist/{openmeld-tools-update-process-frame-Csy2XKUf.js → openmeld-tools-update-process-frame-CINV6Qt3.js} +1 -1
  69. package/dist/openmeld.js +5 -5
  70. package/dist/{prepare-provider-runtime-Cko0dLXN.js → prepare-provider-runtime-B6_dfpiZ.js} +1679 -1018
  71. package/dist/prepare-provider-runtime-B6_dfpiZ.js.map +1 -0
  72. package/dist/{prepare-session-executor-B-TWlSSd.js → prepare-session-executor-DA9saGAk.js} +19 -19
  73. package/dist/{prepare-session-executor-B-TWlSSd.js.map → prepare-session-executor-DA9saGAk.js.map} +1 -1
  74. package/dist/{process-channel-z_4u04-k.js → process-channel-HthE5ehS.js} +2 -2
  75. package/dist/{process-channel-z_4u04-k.js.map → process-channel-HthE5ehS.js.map} +1 -1
  76. package/dist/{runtime-C6SS6jm6.js → runtime-C7lY_Z2r.js} +104 -21
  77. package/dist/{runtime-C6SS6jm6.js.map → runtime-C7lY_Z2r.js.map} +1 -1
  78. package/dist/{runtime-agent-controller-reporting-submission-Cyb5OuVp.js → runtime-agent-controller-reporting-submission-IhxMO4UA.js} +80 -19
  79. package/dist/runtime-agent-controller-reporting-submission-IhxMO4UA.js.map +1 -0
  80. package/dist/{runtime-transport-DYbpUYBL.js → runtime-transport-DRb5__yP.js} +214 -37
  81. package/dist/runtime-transport-DRb5__yP.js.map +1 -0
  82. package/dist/{service-DjqXdt6p.js → service-DveGEdh3.js} +315 -24
  83. package/dist/service-DveGEdh3.js.map +1 -0
  84. package/dist/{service-account-authorization-BZFLy1E7.js → service-account-authorization-CAVkiKSF.js} +2 -2
  85. package/dist/{service-account-authorization-BZFLy1E7.js.map → service-account-authorization-CAVkiKSF.js.map} +1 -1
  86. package/dist/{service-account-control-CsXtCjRi.js → service-account-control-BtE73wcO.js} +9 -9
  87. package/dist/{service-account-control-CsXtCjRi.js.map → service-account-control-BtE73wcO.js.map} +1 -1
  88. package/dist/{service-control-capabilities-Ck-KcBXg.js → service-control-capabilities-BQrqIGBP.js} +3 -3
  89. package/dist/{service-control-capabilities-Ck-KcBXg.js.map → service-control-capabilities-BQrqIGBP.js.map} +1 -1
  90. package/dist/{service-control-capabilities-C4SOrFHN.js → service-control-capabilities-adDptMIH.js} +1 -1
  91. package/dist/{state-BmiyrHe4.js → state-DWwNdCy5.js} +2 -2
  92. package/dist/{state-BmiyrHe4.js.map → state-DWwNdCy5.js.map} +1 -1
  93. package/dist/{updates-api-DD3p5dx5.js → updates-api-9midbUU1.js} +71 -167
  94. package/dist/updates-api-9midbUU1.js.map +1 -0
  95. package/dist/upgrade-BvpBhL0U.js +4 -0
  96. package/dist/{upgrade-DIt6nkyo.js → upgrade-H-_QW75e.js} +9 -9
  97. package/dist/{upgrade-DIt6nkyo.js.map → upgrade-H-_QW75e.js.map} +1 -1
  98. package/package.json +13 -12
  99. package/skills/openmeld-cli/SKILL.md +5 -2
  100. package/skills/openmeld-cli/playbooks/computer.md +55 -0
  101. package/skills/openmeld-cli/playbooks/plugins.md +37 -0
  102. package/skills/openmeld-cli/references/commands.md +20 -0
  103. package/dist/auth-session-EhHX7q2K.js +0 -4
  104. package/dist/daemon-service-update-coordinator-BmZHGGiO.js.map +0 -1
  105. package/dist/dispatch-owned-runtime-dLHDTL7f.js.map +0 -1
  106. package/dist/dist-BDix0nxy.js +0 -4
  107. package/dist/dist-Cu_yzOuS.js.map +0 -1
  108. package/dist/local-components-DJiMS67S.js.map +0 -1
  109. package/dist/open-code-permission-DHFJYc_o.js.map +0 -1
  110. package/dist/openmeld-DQPDws0E.js.map +0 -1
  111. package/dist/prepare-provider-runtime-Cko0dLXN.js.map +0 -1
  112. package/dist/runtime-agent-controller-reporting-submission-Cyb5OuVp.js.map +0 -1
  113. package/dist/runtime-transport-DYbpUYBL.js.map +0 -1
  114. package/dist/service-DjqXdt6p.js.map +0 -1
  115. package/dist/updates-api-DD3p5dx5.js.map +0 -1
  116. package/dist/upgrade-3z755G8g.js +0 -4
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { $r as createSpaceFolderResponseSchema, $t as spaceEvidenceReferencesSchema, Ai as uploadSpaceFileResponseSchema, An as connectorServiceSchema, Bi as messageChannelTransportSchema, Bn as spaceAgentStreamTerminalFrameSchema, Br as agentAvatarStyleSchema, Bt as spaceAttachmentSizeBytesSchema, Ci as spaceFileRevisionSchema, Di as stageSpaceComposerUploadResponseSchema, Dn as openMeldWebUrlSchema, Dr as localFolderPickerResultSchema, Ei as spaceMessageFileReferencesSchema, En as openMeldNavigationTargetSchema, Er as localFolderPickerRequestSchema, Fi as messageChannelConversationLocatorSchema, Fn as agentStreamToolPartSchema, Ft as wakeDeviceWaitTargetSchema, Gi as MAX_TEXT_LENGTH$1, Gn as agentInteractionResponseSchema, Gt as centerAgentInteractionSourceSchema, H as runtimeTransportRuntimeCoordinatorRespondInteractionResponseSchema, Hi as slackThreadPublicationPermalinkSchema, Hn as agentInteractionPendingSummarySchema, Hr as authProfileManagedRoleSchema, Ht as spaceMessageAttachmentsSchema, Ii as messageChannelIngressEnvelopeSchema, In as spaceAgentStreamDeltaFrameSchema, Ir as localAgentCatalogWithLifecycleSchema, It as spaceAttachmentDescriptorSchema, Jn as clientMessageIdSchema$1, Jr as updateProfileResponseSchema, Jt as spaceWorkHandoffSchema, K as openMeldDaemonOriginalErrorSchema, Kn as postSpaceWakeStopBodySchema, Kr as updateAgentProfileDefaultProjectBodySchema, Li as messageChannelParticipantIdentitySchema, Ln as spaceAgentStreamPartFrameSchema, Lt as spaceAttachmentDimensionSchema, Mi as centerAgentVerifiedMemberToolSpeakerSchema, Mt as signalSystemNoticeDataSchema, Ni as MESSAGE_CHANNEL_PROVIDERS, Nt as signalTextDataSchema, Oi as trashSpaceFileEntryResponseSchema, On as connectorConnectionNameSchema, Or as localFolderPathSchema, Pi as buildMessageChannelConversationId, Pn as AGENT_STREAM_SNAPSHOT_MAX_CHARS, Pr as localAgentCatalogLaunchStatusSchema, Pt as signalTextSchema, Q as openMeldDaemonTaskResultProjectFailureContextSchema, Qn as runtimeCoordinatorExecutionRecordSchema, Qt as spaceEvidenceReferenceSchema, Ri as messageChannelProviderSchema, Rn as spaceAgentStreamPresenceSchema, Rt as spaceAttachmentFileNameSchema, Si as spaceFileRevisionNumberSchema, Sn as messageEnvelopeSchema, Tn as computerSetupModeSchema, Ur as authProfileViewSchema, Ut as conversationCompactionMarkerSchema, Vi as slackMessagePermalinkSchema, Vt as spaceMessageAttachmentSchema, Wi as openMeldRequestContextSchema, Xn as runtimeCoordinatorExecutionCreationDiagnosticSchema, Xr as SPACE_FILE_ERROR_CODES, Zn as runtimeCoordinatorExecutionEventSchema, Zr as SPACE_FILE_MAX_SIZE_BYTES, _i as spaceFileDescriptorSchema, _n as targetWakeLifecycleIdentitySchema, _r as executeExecutionRecoveryBodySchema, _t as spaceWakeAgentTaskHandleSchema, ai as publishSpaceComposerUploadResponseSchema, an as spaceThreadEventSchema, ar as normalizeSpacePasswordText, bi as spaceFileNameSchema, br as agentProfileWorkRecoveryActionKindSchema, ci as restoreSpaceFileEntryResponseSchema, ct as spaceCallerContextSchema, di as spaceComposerUploadIdSchema, dn as spaceAllowedActionsSchema, dr as organizationInformationProtectionPolicyResponseSchema, dt as agentTaskCompletionObservationSchema, ei as discardSpaceComposerUploadResponseSchema, er as runtimeCoordinatorExecutionTokenEchoSchema, et as AGENT_REPLY_PLACEMENT_HEADER, fi as spaceFileActorSchema, fn as spacePublicationModeSchema, fr as organizationProtectedInformationSchema, ft as agentTaskHandleSchema, gi as spaceFileClientMutationIdSchema, gr as localAgentReasoningPreferencesSchema, gt as controllerAgentTaskHandleSchema, hi as spaceFileCapabilitiesSchema, hn as workingLanguageTagSchema, ht as buildAgentTaskKey, i as daemonExecutionCompatibilitySchema, ii as listSpaceFilesResponseSchema, in as spaceThreadContextSchema, ir as SPACE_PASSWORD_RATE_LIMITED_ERROR_CODE, ji as centerAgentToolSpeakerSchema, jt as signalStatusDataSchema, ki as updateSpaceFileEntryResponseSchema, kn as connectorConnectionScopeSchema, kr as START_BOUNDED_ID_SCHEMA, kt as centerAgentExecutionInputTargetSchema, li as restoreSpaceFileRevisionResponseSchema, lr as spaceMentionLabelSchema, lt as agentDelegationSnapshotSchema, mi as spaceFileBreadcrumbSchema, mn as workingLanguageGuidanceSchema, mt as areAgentTaskTerminalOutcomesEqual, nn as computerCareObservationSchema, nt as aiUsageQueryResponseSchema, on as spaceThreadSchema, or as spacePasswordSchema, pi as spaceFileBaseRevisionSchema, pn as spaceDispatchPolicySchema, pr as updateOrganizationInformationProtectionPolicyBodySchema, pt as agentTaskTerminalOutcomeSchema, q as openMeldDaemonProviderAccessEvidenceProviderSchema, qn as postSpaceWakeStopResponseSchema, qr as updateAgentProfileDefaultProjectResponseSchema, ri as listSpaceFileRevisionsResponseSchema, rn as executionHostObservationSchema, rr as spaceTraceExecutionIdentityProjectionSchema, sn as spaceThreadSignalPlacementSchema, ti as getSpaceFileResponseSchema, ui as spaceComposerUploadDescriptorSchema, un as resultArchivePolicySchema, ur as spaceMentionLabelSourceSchema, ut as agentTaskCompletionConditionSchema, vi as spaceFileEntryIdSchema, vr as executeExecutionRecoveryResponseSchema, wi as spaceFolderDescriptorSchema, xi as spaceFileOriginSchema, yi as spaceFileMimeTypeSchema, yr as inspectExecutionRecoveryResponseSchema, zi as messageChannelResourceDescriptorSchema, zn as spaceAgentStreamSnapshotSchema, zr as CENTER_AGENT_BOT_AVATAR_TYPES, zt as spaceAttachmentMimeTypeSchema } from "./runtime-transport-DYbpUYBL.js";
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-TOfZ-veG.js";
5
- import { A as boolean, B as nullFactory, D as NEVER, F as int, G as strictObject, H as object, I as iso, J as undefinedFactory, K as string, L as lazySchema, M as discriminatedUnion, N as email, P as enumFactory, R as literal, S as openMeldToolsUpdateOperationSchema, U as preprocess, V as number, W as record, X as unknown, Y as union, Z as url, _ as openMeldToolsMaintenanceMutationResultSchema, c as localComponentUpdatePolicySchema, j as coerce, k as array, l as localComponentUpdateProjectionSchema, q as tuple, u as localComponentUpdateStatusSchema, v as openMeldToolsMaintenanceProjectionSchema, w as openMeldToolsUpdateRequestResultSchema, z as neverFactory } from "./local-components-DJiMS67S.js";
3
+ import { $n as clientMessageIdSchema$1, $r as updateProfileResponseSchema, $t as spaceEvidenceReferenceSchema, An as connectorConnectionScopeSchema, Bi as messageChannelConversationLocatorSchema, Bn as spaceAgentStreamDeltaFrameSchema, Bt as spaceAttachmentMimeTypeSchema, Ci as spaceFileEntryIdSchema, Cn as messageEnvelopeSchema, Cr as executeExecutionRecoveryResponseSchema, Di as spaceFileRevisionNumberSchema, Dn as openMeldNavigationTargetSchema, Ei as spaceFileOriginSchema, En as computerSetupModeSchema, Fi as uploadSpaceFileResponseSchema, Ft as wakeDeviceWaitSchema, Gi as messageChannelTransportSchema, Gr as agentAvatarStyleSchema, H as runtimeTransportRuntimeCoordinatorRespondInteractionResponseSchema, Hi as messageChannelParticipantIdentitySchema, Hn as spaceAgentStreamPresenceSchema, Ht as spaceMessageAttachmentSchema, Ii as centerAgentToolSpeakerSchema, It as wakeDeviceWaitTargetSchema, Jr as authProfileViewSchema, K as openMeldDaemonOriginalErrorSchema, Ki as slackMessagePermalinkSchema, Kn as agentInteractionPendingSummarySchema, Kt as centerAgentInteractionSourceSchema, Li as centerAgentVerifiedMemberToolSpeakerSchema, Lt as spaceAttachmentDescriptorSchema, Mi as stageSpaceComposerUploadResponseSchema, Mn as openConnectorRuntimeActionListSchema, Mr as localFolderPickerResultSchema, Mt as signalSystemNoticeDataSchema, Ni as trashSpaceFileEntryResponseSchema, Nn as pluginConnectionDescriptionSchema, Nr as localFolderPathSchema, Nt as signalTextDataSchema, Oi as spaceFileRevisionSchema, On as openMeldWebUrlSchema, Pi as updateSpaceFileEntryResponseSchema, Pn as pluginConnectionHealthSchema, Pr as START_BOUNDED_ID_SCHEMA, Pt as signalTextSchema, Q as openMeldDaemonTaskResultProjectFailureContextSchema, Qn as postSpaceWakeStopResponseSchema, Qr as updateAgentProfileDefaultProjectResponseSchema, Ri as MESSAGE_CHANNEL_PROVIDERS, Rn as AGENT_STREAM_SNAPSHOT_MAX_CHARS, Rt as spaceAttachmentDimensionSchema, Si as spaceFileDescriptorSchema, Sr as executeExecutionRecoveryBodySchema, Ti as spaceFileNameSchema, Tr as agentProfileWorkRecoveryActionKindSchema, Ui as messageChannelProviderSchema, Un as spaceAgentStreamSnapshotSchema, Ut as spaceMessageAttachmentsSchema, Vi as messageChannelIngressEnvelopeSchema, Vn as spaceAgentStreamPartFrameSchema, Vr as localAgentCatalogWithLifecycleSchema, Vt as spaceAttachmentSizeBytesSchema, Wi as messageChannelResourceDescriptorSchema, Wn as spaceAgentStreamTerminalFrameSchema, Wr as CENTER_AGENT_BOT_AVATAR_TYPES, Wt as conversationCompactionMarkerSchema, Xi as MAX_TEXT_LENGTH$1, Xn as agentControllerPermissionModeSchema, Yi as openMeldRequestContextSchema, Yn as agentInteractionResponseSchema, Yt as spaceWorkHandoffSchema, Zn as postSpaceWakeStopBodySchema, Zr as updateAgentProfileDefaultProjectBodySchema, _i as spaceFileActorSchema, _r as organizationProtectedInformationSchema, _t as spaceWakeAgentTaskHandleSchema, ai as discardSpaceComposerUploadResponseSchema, an as spaceThreadContextSchema, ar as runtimeCoordinatorExecutionTokenEchoSchema, bi as spaceFileCapabilitiesSchema, ci as listSpaceFileRevisionsResponseSchema, cn as spaceThreadSignalPlacementSchema, cr as spaceTraceExecutionIdentityProjectionSchema, ct as spaceCallerContextSchema, dn as resultArchivePolicySchema, dr as spacePasswordSchema, dt as agentTaskCompletionObservationSchema, en as spaceEvidenceReferencesSchema, et as AGENT_REPLY_PLACEMENT_HEADER, fn as spaceAllowedActionsSchema, ft as agentTaskHandleSchema, gi as spaceComposerUploadIdSchema, gn as workingLanguageTagSchema, gr as organizationInformationProtectionPolicyResponseSchema, gt as controllerAgentTaskHandleSchema, hi as spaceComposerUploadDescriptorSchema, hn as workingLanguageGuidanceSchema, hr as spaceMentionLabelSourceSchema, ht as buildAgentTaskKey, i as daemonExecutionCompatibilitySchema, ii as createSpaceFolderResponseSchema, in as executionHostObservationSchema, ji as spaceMessageFileReferencesSchema, jn as connectorServiceSchema, jr as localFolderPickerRequestSchema, jt as signalStatusDataSchema, ki as spaceFolderDescriptorSchema, kn as connectorConnectionNameSchema, kt as centerAgentExecutionInputTargetSchema, li as listSpaceFilesResponseSchema, lr as SPACE_PASSWORD_RATE_LIMITED_ERROR_CODE, lt as agentDelegationSnapshotSchema, mi as restoreSpaceFileRevisionResponseSchema, mn as spaceDispatchPolicySchema, mr as spaceMentionLabelSchema, mt as areAgentTaskTerminalOutcomesEqual, ni as SPACE_FILE_MAX_SIZE_BYTES, nr as runtimeCoordinatorExecutionEventSchema, nt as aiUsageQueryResponseSchema, oi as getSpaceFileResponseSchema, on as spaceThreadEventSchema, pi as restoreSpaceFileEntryResponseSchema, pn as spacePublicationModeSchema, pt as agentTaskTerminalOutcomeSchema, q as openMeldDaemonProviderAccessEvidenceProviderSchema, qi as slackThreadPublicationPermalinkSchema, qr as authProfileManagedRoleSchema, rn as computerCareObservationSchema, rr as runtimeCoordinatorExecutionRecordSchema, sn as spaceThreadSchema, ti as SPACE_FILE_ERROR_CODES, tr as runtimeCoordinatorExecutionCreationDiagnosticSchema, ui as publishSpaceComposerUploadResponseSchema, ur as normalizeSpacePasswordText, ut as agentTaskCompletionConditionSchema, vi as spaceFileBaseRevisionSchema, vn as targetWakeLifecycleIdentitySchema, vr as updateOrganizationInformationProtectionPolicyBodySchema, wi as spaceFileMimeTypeSchema, wr as inspectExecutionRecoveryResponseSchema, xi as spaceFileClientMutationIdSchema, xr as localAgentReasoningPreferencesSchema, yi as spaceFileBreadcrumbSchema, zi as buildMessageChannelConversationId, zn as agentStreamToolPartSchema, zr as localAgentCatalogLaunchStatusSchema, zt as spaceAttachmentFileNameSchema } from "./runtime-transport-DRb5__yP.js";
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
+ 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
- import { i as cliBinaryManifestSchema } from "./cli-binary-manifest-ETxqCzfS.js";
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
@@ -3118,7 +3118,16 @@ const spaceNameSchema = z$1.string().trim().min(1).max(80);
3118
3118
  //#region ../../packages/schemas/dist/schemas/http/center-agent-routines.js
3119
3119
  const CENTER_AGENT_ROUTINE_INSTRUCTIONS_MAX_CHARS = 2e4;
3120
3120
  const CENTER_AGENT_ROUTINE_RUN_FAILURE_DETAIL_MAX_CHARS = 4e3;
3121
+ const ROUTINE_MANAGEMENT_CONTRACT = "routines-v3";
3122
+ const routineScopeSchema = enumFactory(["personal", "team"]);
3123
+ const routineExecutorKindSchema = enumFactory([
3124
+ "center_agent",
3125
+ "remote_agent",
3126
+ "local_agent"
3127
+ ]);
3121
3128
  const CENTER_AGENT_ROUTINE_ERROR_CODES = [
3129
+ "routine.executor_unavailable",
3130
+ "routine.private_conversation_required",
3122
3131
  "routine.center_agent_required",
3123
3132
  "routine.client_update_required",
3124
3133
  "routine.forbidden",
@@ -3163,6 +3172,14 @@ const CENTER_AGENT_ROUTINE_MANAGEMENT_V1_CONTRACT = "management-v1";
3163
3172
  const CENTER_AGENT_ROUTINE_MANAGEMENT_CONTRACT = "management-v2";
3164
3173
  const trimmedIdentifierSchema = string().trim().min(1).max(256);
3165
3174
  const timestampMsSchema$2 = number().int().nonnegative();
3175
+ strictObject({
3176
+ context: openMeldRequestContextSchema,
3177
+ profile: profileSchema,
3178
+ spaceId: trimmedIdentifierSchema,
3179
+ targetProfileId: trimmedIdentifierSchema,
3180
+ text: string().min(1).max(20512),
3181
+ deviceWait: wakeDeviceWaitSchema
3182
+ });
3166
3183
  const centerAgentRoutineRunScheduledForMsSchema = number().int().min(Number.MIN_SAFE_INTEGER).max(Number.MAX_SAFE_INTEGER);
3167
3184
  const nullableTrimmedTextSchema = (maximum) => string().trim().min(1).max(maximum).nullable();
3168
3185
  const queryIntegerPattern = /^\d+$/u;
@@ -3175,6 +3192,7 @@ const centerAgentRoutineAuthorizedActionsSchema = array(enumFactory(CENTER_AGENT
3175
3192
  const centerAgentRoutineExternalActionPolicySchema = enumFactory(CENTER_AGENT_ROUTINE_EXTERNAL_ACTION_POLICIES);
3176
3193
  const centerAgentRoutineContractSchema = literal(CENTER_AGENT_ROUTINE_PRACTICAL_CONTRACT);
3177
3194
  const centerAgentRoutineListContractSchema = enumFactory([
3195
+ ROUTINE_MANAGEMENT_CONTRACT,
3178
3196
  CENTER_AGENT_ROUTINE_PRACTICAL_CONTRACT,
3179
3197
  CENTER_AGENT_ROUTINE_MANAGEMENT_V1_CONTRACT,
3180
3198
  CENTER_AGENT_ROUTINE_MANAGEMENT_CONTRACT
@@ -3250,6 +3268,23 @@ const centerAgentRoutineManagementSchema = strictObject({
3250
3268
  ...centerAgentRoutineManagementV1Shape,
3251
3269
  creationAttribution: centerAgentRoutineCreationAttributionSchema
3252
3270
  }).superRefine(validateRoutineScheduleAndDestination);
3271
+ const routineManagementSchema = strictObject({
3272
+ ...centerAgentRoutineManagementSchema.shape,
3273
+ scope: routineScopeSchema,
3274
+ agentProfileId: trimmedIdentifierSchema.nullable(),
3275
+ executorKind: routineExecutorKindSchema,
3276
+ executorName: string()
3277
+ }).superRefine(validateRoutineScheduleAndDestination);
3278
+ const listRoutineManagementResponseSchema = strictObject({
3279
+ currentUserId: trimmedIdentifierSchema,
3280
+ organizationId: trimmedIdentifierSchema,
3281
+ routines: array(routineManagementSchema).max(50),
3282
+ executors: array(strictObject({
3283
+ agentProfileId: trimmedIdentifierSchema.nullable(),
3284
+ kind: routineExecutorKindSchema,
3285
+ name: string()
3286
+ }))
3287
+ });
3253
3288
  const centerAgentRoutineRunSchema = strictObject({
3254
3289
  ...routineDestinationShape,
3255
3290
  failureCode: nullableTrimmedTextSchema(256),
@@ -3318,12 +3353,14 @@ strictObject({
3318
3353
  organizationId: trimmedIdentifierSchema,
3319
3354
  routines: array(centerAgentRoutineLegacyV1Schema).max(50)
3320
3355
  });
3321
- strictObject({});
3356
+ const listCenterAgentRoutineTargetSpacesQuerySchema = strictObject({ agentProfileId: trimmedIdentifierSchema.optional() });
3322
3357
  const listCenterAgentRoutineTargetSpacesResponseSchema = strictObject({
3323
3358
  organizationId: trimmedIdentifierSchema,
3324
3359
  spaces: array(centerAgentRoutineTargetSpaceSchema).max(500)
3325
3360
  });
3326
3361
  const createCenterAgentRoutineBodyShape = {
3362
+ scope: routineScopeSchema.optional(),
3363
+ agentProfileId: trimmedIdentifierSchema.nullable().optional(),
3327
3364
  authorizedActions: centerAgentRoutineAuthorizedActionsSchema.optional(),
3328
3365
  externalActionPolicy: centerAgentRoutineExternalActionPolicySchema.optional(),
3329
3366
  ...routineScheduleShape,
@@ -3390,7 +3427,10 @@ strictObject({
3390
3427
  ...routineRpcContextShape,
3391
3428
  contract: centerAgentRoutineListContractSchema.optional()
3392
3429
  });
3393
- strictObject(routineRpcContextShape);
3430
+ strictObject({
3431
+ ...routineRpcContextShape,
3432
+ ...listCenterAgentRoutineTargetSpacesQuerySchema.shape
3433
+ });
3394
3434
  strictObject({
3395
3435
  ...routineRpcContextShape,
3396
3436
  ...routineRpcContractShape,
@@ -3428,7 +3468,10 @@ const routineToolRpcContextShape = {
3428
3468
  context: openMeldRequestContextSchema,
3429
3469
  speakerMember: centerAgentVerifiedMemberToolSpeakerSchema
3430
3470
  };
3431
- strictObject(routineToolRpcContextShape);
3471
+ strictObject({
3472
+ ...routineToolRpcContextShape,
3473
+ contract: literal(ROUTINE_MANAGEMENT_CONTRACT).optional()
3474
+ });
3432
3475
  strictObject({
3433
3476
  ...routineToolRpcContextShape,
3434
3477
  ...createCenterAgentRoutineBodyShape
@@ -3555,6 +3598,10 @@ const spaceMetaSchema = z$1.strictObject({
3555
3598
  storageUsage: spaceStorageUsageSchema.optional()
3556
3599
  });
3557
3600
  const patchSpaceMetaResponseSchema = spaceMetaSchema;
3601
+ z$1.strictObject({
3602
+ meta: spaceMetaSchema,
3603
+ activeMember: z$1.boolean()
3604
+ });
3558
3605
  const patchSpaceMetaBodySchema = z$1.strictObject({
3559
3606
  visibility: spaceOrganizationVisibilitySchema.optional(),
3560
3607
  allowGuests: z$1.boolean().optional(),
@@ -3582,7 +3629,7 @@ const patchSpaceMetaBodySchema = z$1.strictObject({
3582
3629
  //#endregion
3583
3630
  //#region ../../packages/schemas/dist/schemas/runtime/channel-context.js
3584
3631
  const CHANNEL_CONTEXT_MESSAGE_TEXT_MAX_CHARS = 4e3;
3585
- const nonEmptyStringSchema$4 = z$1.string().trim().min(1);
3632
+ const nonEmptyStringSchema$3 = z$1.string().trim().min(1);
3586
3633
  const channelContextAuthorSchema = z$1.strictObject({
3587
3634
  kind: z$1.enum([
3588
3635
  "human",
@@ -3591,14 +3638,14 @@ const channelContextAuthorSchema = z$1.strictObject({
3591
3638
  "system",
3592
3639
  "unknown"
3593
3640
  ]),
3594
- id: nonEmptyStringSchema$4.max(256).optional(),
3595
- displayName: nonEmptyStringSchema$4.max(256).optional()
3641
+ id: nonEmptyStringSchema$3.max(256).optional(),
3642
+ displayName: nonEmptyStringSchema$3.max(256).optional()
3596
3643
  });
3597
3644
  const channelContextMessageSchema = z$1.strictObject({
3598
- id: nonEmptyStringSchema$4.max(256),
3645
+ id: nonEmptyStringSchema$3.max(256),
3599
3646
  author: channelContextAuthorSchema,
3600
3647
  sentAtMs: z$1.number().int().nonnegative().max(Number.MAX_SAFE_INTEGER),
3601
- text: nonEmptyStringSchema$4.max(CHANNEL_CONTEXT_MESSAGE_TEXT_MAX_CHARS)
3648
+ text: nonEmptyStringSchema$3.max(CHANNEL_CONTEXT_MESSAGE_TEXT_MAX_CHARS)
3602
3649
  });
3603
3650
  const channelContextSyncSchema = z$1.strictObject({
3604
3651
  mode: z$1.enum(["snapshot", "delta"]),
@@ -3612,8 +3659,8 @@ const channelContextSyncSchema = z$1.strictObject({
3612
3659
  });
3613
3660
  const channelContextSchema = z$1.strictObject({
3614
3661
  provider: messageChannelProviderSchema,
3615
- conversationId: nonEmptyStringSchema$4.max(512),
3616
- currentMessageId: nonEmptyStringSchema$4.max(256),
3662
+ conversationId: nonEmptyStringSchema$3.max(512),
3663
+ currentMessageId: nonEmptyStringSchema$3.max(256),
3617
3664
  sync: channelContextSyncSchema,
3618
3665
  messages: z$1.array(channelContextMessageSchema).max(20)
3619
3666
  }).superRefine((context, refinement) => {
@@ -3665,7 +3712,7 @@ const channelContextSchema = z$1.strictObject({
3665
3712
  });
3666
3713
  //#endregion
3667
3714
  //#region ../../packages/schemas/dist/schemas/runtime/remote-agent-turn-envelope.js
3668
- const nonEmptyStringSchema$3 = string().trim().min(1);
3715
+ const nonEmptyStringSchema$2 = string().trim().min(1);
3669
3716
  const REMOTE_AGENT_TURN_ENVELOPE_MEMORY_ITEM_TEXT_MAX_CHARS = 1200;
3670
3717
  const remoteAgentWorkLoopCheckpointSchema = strictObject({
3671
3718
  reason: literal("tool_call_budget_exhausted"),
@@ -3674,7 +3721,7 @@ const remoteAgentWorkLoopCheckpointSchema = strictObject({
3674
3721
  });
3675
3722
  const remoteAgentWorkLoopContinuationSchema = strictObject({
3676
3723
  attempt: number().int().positive().max(8),
3677
- previousSubmissionId: nonEmptyStringSchema$3,
3724
+ previousSubmissionId: nonEmptyStringSchema$2,
3678
3725
  reason: literal("tool_call_budget_exhausted"),
3679
3726
  v: literal(1)
3680
3727
  });
@@ -3715,11 +3762,11 @@ const centerAgentContextScopePlanSchema = strictObject({
3715
3762
  });
3716
3763
  const remoteAgentTurnEnvelopePersonSenderShape = {
3717
3764
  callerContext: spaceCallerContextSchema.optional(),
3718
- id: nonEmptyStringSchema$3,
3719
- displayName: nonEmptyStringSchema$3,
3720
- ownerUserId: nonEmptyStringSchema$3.optional(),
3721
- profileId: nonEmptyStringSchema$3.optional(),
3722
- role: nonEmptyStringSchema$3.optional(),
3765
+ id: nonEmptyStringSchema$2,
3766
+ displayName: nonEmptyStringSchema$2,
3767
+ ownerUserId: nonEmptyStringSchema$2.optional(),
3768
+ profileId: nonEmptyStringSchema$2.optional(),
3769
+ role: nonEmptyStringSchema$2.optional(),
3723
3770
  messageChannelIdentity: messageChannelParticipantIdentitySchema.optional(),
3724
3771
  verified: boolean()
3725
3772
  };
@@ -3734,38 +3781,38 @@ const remoteAgentTurnEnvelopeSenderSchema = discriminatedUnion("kind", [
3734
3781
  }),
3735
3782
  strictObject({
3736
3783
  kind: literal("routine"),
3737
- routineId: nonEmptyStringSchema$3,
3738
- createdByUserId: nonEmptyStringSchema$3,
3784
+ routineId: nonEmptyStringSchema$2,
3785
+ createdByUserId: nonEmptyStringSchema$2,
3739
3786
  delegatedBy: strictObject({
3740
- id: nonEmptyStringSchema$3,
3741
- displayName: nonEmptyStringSchema$3,
3742
- ownerUserId: nonEmptyStringSchema$3,
3743
- profileId: nonEmptyStringSchema$3.optional(),
3744
- role: nonEmptyStringSchema$3.optional(),
3787
+ id: nonEmptyStringSchema$2,
3788
+ displayName: nonEmptyStringSchema$2,
3789
+ ownerUserId: nonEmptyStringSchema$2,
3790
+ profileId: nonEmptyStringSchema$2.optional(),
3791
+ role: nonEmptyStringSchema$2.optional(),
3745
3792
  verified: literal(true)
3746
3793
  })
3747
3794
  })
3748
3795
  ]);
3749
3796
  const remoteAgentTurnEnvelopeSpaceSchema = strictObject({
3750
- id: nonEmptyStringSchema$3,
3751
- name: nonEmptyStringSchema$3,
3797
+ id: nonEmptyStringSchema$2,
3798
+ name: nonEmptyStringSchema$2,
3752
3799
  kind: enumFactory(["dm", "space"]),
3753
3800
  isCenterAgentDm: boolean(),
3754
- guide: nonEmptyStringSchema$3.max(MAX_SPACE_GUIDE_LENGTH).optional()
3801
+ guide: nonEmptyStringSchema$2.max(MAX_SPACE_GUIDE_LENGTH).optional()
3755
3802
  });
3756
3803
  const remoteAgentTurnEnvelopeOrganizationSchema = strictObject({
3757
- id: nonEmptyStringSchema$3,
3758
- name: nonEmptyStringSchema$3,
3804
+ id: nonEmptyStringSchema$2,
3805
+ name: nonEmptyStringSchema$2,
3759
3806
  personal: boolean(),
3760
3807
  memberCount: number().int().nonnegative(),
3761
3808
  webUrl: openMeldWebUrlSchema.optional(),
3762
3809
  workingLanguage: workingLanguageGuidanceSchema.optional()
3763
3810
  });
3764
3811
  const remoteAgentTurnEnvelopeCenterAgentSchema = strictObject({
3765
- profileName: nonEmptyStringSchema$3,
3766
- profileHandle: nonEmptyStringSchema$3
3812
+ profileName: nonEmptyStringSchema$2,
3813
+ profileHandle: nonEmptyStringSchema$2
3767
3814
  });
3768
- const remoteAgentSlackSearchAuthorizationSchema = strictObject({ encryptedAuthorization: nonEmptyStringSchema$3.max(8192) });
3815
+ const remoteAgentSlackSearchAuthorizationSchema = strictObject({ encryptedAuthorization: nonEmptyStringSchema$2.max(8192) });
3769
3816
  const remoteAgentRoutineDestinationSchema = discriminatedUnion("kind", [
3770
3817
  strictObject({
3771
3818
  kind: literal("message_channel"),
@@ -3773,22 +3820,22 @@ const remoteAgentRoutineDestinationSchema = discriminatedUnion("kind", [
3773
3820
  }),
3774
3821
  strictObject({
3775
3822
  kind: literal("space"),
3776
- spaceId: nonEmptyStringSchema$3
3823
+ spaceId: nonEmptyStringSchema$2
3777
3824
  }),
3778
3825
  strictObject({
3779
- channelId: nonEmptyStringSchema$3,
3780
- conversationId: nonEmptyStringSchema$3,
3826
+ channelId: nonEmptyStringSchema$2,
3827
+ conversationId: nonEmptyStringSchema$2,
3781
3828
  kind: literal("slack_thread"),
3782
- label: nonEmptyStringSchema$3.optional(),
3783
- teamId: nonEmptyStringSchema$3,
3784
- threadTs: nonEmptyStringSchema$3
3829
+ label: nonEmptyStringSchema$2.optional(),
3830
+ teamId: nonEmptyStringSchema$2,
3831
+ threadTs: nonEmptyStringSchema$2
3785
3832
  })
3786
3833
  ]);
3787
3834
  const remoteAgentRoutineContinuationSchema = strictObject({
3788
3835
  delegation: agentDelegationSnapshotSchema,
3789
- delegationId: nonEmptyStringSchema$3,
3836
+ delegationId: nonEmptyStringSchema$2,
3790
3837
  outcome: agentTaskTerminalOutcomeSchema,
3791
- subscriptionId: nonEmptyStringSchema$3,
3838
+ subscriptionId: nonEmptyStringSchema$2,
3792
3839
  watchedTask: agentTaskHandleSchema
3793
3840
  });
3794
3841
  const remoteAgentTurnEnvelopeTriggerSchema = discriminatedUnion("source", [
@@ -3796,11 +3843,11 @@ const remoteAgentTurnEnvelopeTriggerSchema = discriminatedUnion("source", [
3796
3843
  strictObject({ source: literal("space_wake") }),
3797
3844
  strictObject({
3798
3845
  source: literal("slack"),
3799
- teamId: nonEmptyStringSchema$3.optional(),
3800
- channelId: nonEmptyStringSchema$3.optional(),
3801
- threadTs: nonEmptyStringSchema$3.optional(),
3802
- conversationId: nonEmptyStringSchema$3.optional(),
3803
- channelName: nonEmptyStringSchema$3.optional(),
3846
+ teamId: nonEmptyStringSchema$2.optional(),
3847
+ channelId: nonEmptyStringSchema$2.optional(),
3848
+ threadTs: nonEmptyStringSchema$2.optional(),
3849
+ conversationId: nonEmptyStringSchema$2.optional(),
3850
+ channelName: nonEmptyStringSchema$2.optional(),
3804
3851
  replyPlacement: enumFactory(["conversation", "thread"]).optional(),
3805
3852
  searchAuthorization: remoteAgentSlackSearchAuthorizationSchema.optional()
3806
3853
  }),
@@ -3808,8 +3855,8 @@ const remoteAgentTurnEnvelopeTriggerSchema = discriminatedUnion("source", [
3808
3855
  source: literal("message_channel"),
3809
3856
  routineLocator: messageChannelConversationLocatorSchema.optional(),
3810
3857
  provider: messageChannelProviderSchema,
3811
- connectionId: nonEmptyStringSchema$3,
3812
- conversationId: nonEmptyStringSchema$3,
3858
+ connectionId: nonEmptyStringSchema$2,
3859
+ conversationId: nonEmptyStringSchema$2,
3813
3860
  filePublicationSupported: literal(true).optional(),
3814
3861
  resources: array(messageChannelResourceDescriptorSchema).max(10).optional()
3815
3862
  }),
@@ -3817,34 +3864,34 @@ const remoteAgentTurnEnvelopeTriggerSchema = discriminatedUnion("source", [
3817
3864
  authorizedActions: centerAgentRoutineAuthorizedActionsSchema.default([]),
3818
3865
  externalActionPolicy: centerAgentRoutineExternalActionPolicySchema.optional(),
3819
3866
  source: literal("routine"),
3820
- routineId: nonEmptyStringSchema$3,
3821
- runId: nonEmptyStringSchema$3,
3867
+ routineId: nonEmptyStringSchema$2,
3868
+ runId: nonEmptyStringSchema$2,
3822
3869
  scheduledFor: number().int().nonnegative(),
3823
- routineName: nonEmptyStringSchema$3.max(120),
3870
+ routineName: nonEmptyStringSchema$2.max(120),
3824
3871
  destination: remoteAgentRoutineDestinationSchema.optional(),
3825
3872
  continuation: remoteAgentRoutineContinuationSchema.optional()
3826
3873
  }),
3827
3874
  strictObject({
3828
3875
  source: literal("member_research"),
3829
- taskId: nonEmptyStringSchema$3,
3830
- subjectUserId: nonEmptyStringSchema$3,
3831
- subjectDisplayName: nonEmptyStringSchema$3
3876
+ taskId: nonEmptyStringSchema$2,
3877
+ subjectUserId: nonEmptyStringSchema$2,
3878
+ subjectDisplayName: nonEmptyStringSchema$2
3832
3879
  }),
3833
3880
  strictObject({
3834
3881
  delegation: agentDelegationSnapshotSchema.optional(),
3835
- delegationId: nonEmptyStringSchema$3,
3882
+ delegationId: nonEmptyStringSchema$2,
3836
3883
  outcome: agentTaskTerminalOutcomeSchema,
3837
3884
  source: literal("task_continuation"),
3838
3885
  summaryOnly: literal(true).optional(),
3839
- subscriptionId: nonEmptyStringSchema$3,
3886
+ subscriptionId: nonEmptyStringSchema$2,
3840
3887
  watchedTask: agentTaskHandleSchema
3841
3888
  }),
3842
3889
  strictObject({
3843
3890
  outcome: agentTaskCompletionObservationSchema,
3844
3891
  source: literal("task_watch_continuation"),
3845
- subscriptionId: nonEmptyStringSchema$3,
3892
+ subscriptionId: nonEmptyStringSchema$2,
3846
3893
  watchedTask: agentTaskHandleSchema,
3847
- watchId: nonEmptyStringSchema$3
3894
+ watchId: nonEmptyStringSchema$2
3848
3895
  })
3849
3896
  ]);
3850
3897
  enumFactory([
@@ -3855,7 +3902,7 @@ enumFactory([
3855
3902
  "message_channel_conversation"
3856
3903
  ]);
3857
3904
  const remoteAgentTurnEnvelopeMemorySubjectSchema = enumFactory(["member", "organization"]);
3858
- const remoteAgentTurnEnvelopeMemoryItemTextSchema = nonEmptyStringSchema$3.max(REMOTE_AGENT_TURN_ENVELOPE_MEMORY_ITEM_TEXT_MAX_CHARS);
3905
+ const remoteAgentTurnEnvelopeMemoryItemTextSchema = nonEmptyStringSchema$2.max(REMOTE_AGENT_TURN_ENVELOPE_MEMORY_ITEM_TEXT_MAX_CHARS);
3859
3906
  const remoteAgentTurnEnvelopeMemorySchema = strictObject({
3860
3907
  items: array(discriminatedUnion("source", [strictObject({
3861
3908
  source: enumFactory([
@@ -6923,10 +6970,10 @@ function compareOrganizationSkillJsonKeys(left, right) {
6923
6970
  }
6924
6971
  //#endregion
6925
6972
  //#region ../../packages/schemas/dist/schemas/runtime/remote-agent-worker.js
6926
- const nonEmptyStringSchema$2 = string().trim().min(1);
6927
- const optionalNonEmptyStringSchema = nonEmptyStringSchema$2.optional();
6928
- const nullableNonEmptyStringSchema = nonEmptyStringSchema$2.nullable();
6929
- const optionalDispatchErrorSummarySchema = nonEmptyStringSchema$2.max(512).optional();
6973
+ const nonEmptyStringSchema$1 = string().trim().min(1);
6974
+ const optionalNonEmptyStringSchema = nonEmptyStringSchema$1.optional();
6975
+ const nullableNonEmptyStringSchema = nonEmptyStringSchema$1.nullable();
6976
+ const optionalDispatchErrorSummarySchema = nonEmptyStringSchema$1.max(512).optional();
6930
6977
  const REMOTE_AGENT_CONVERSATION_CONTINUITY_ENTRY_TEXT_MAX_CHARS = 4e3;
6931
6978
  const REMOTE_AGENT_LOGICAL_CONVERSATION_ID_MAX_CHARS = 1024;
6932
6979
  const REMOTE_AGENT_RUNTIME_CONVERSATION_ID_MAX_CHARS = 2048;
@@ -6934,9 +6981,9 @@ const contentHashSchema$1 = string().regex(/^sha256:[0-9a-f]{64}$/u);
6934
6981
  const isoDateTimeSchema$3 = iso.datetime({ offset: true });
6935
6982
  strictObject({
6936
6983
  v: literal(1),
6937
- deliveryId: nonEmptyStringSchema$2,
6938
- dispatchId: nonEmptyStringSchema$2,
6939
- idempotencyKey: nonEmptyStringSchema$2,
6984
+ deliveryId: nonEmptyStringSchema$1,
6985
+ dispatchId: nonEmptyStringSchema$1,
6986
+ idempotencyKey: nonEmptyStringSchema$1,
6940
6987
  attempt: number().int().positive(),
6941
6988
  deliveryCreatedAtMs: number().int().nonnegative(),
6942
6989
  currentAttemptSubmittedAtMs: number().int().nonnegative().nullable(),
@@ -6944,7 +6991,7 @@ strictObject({
6944
6991
  retryDueAtMs: number().int().nonnegative().nullable(),
6945
6992
  elapsedMs: number().int().nonnegative().optional(),
6946
6993
  accepted: boolean().optional(),
6947
- submissionId: nonEmptyStringSchema$2.optional(),
6994
+ submissionId: nonEmptyStringSchema$1.optional(),
6948
6995
  outcome: enumFactory([
6949
6996
  "acknowledged",
6950
6997
  "rejected",
@@ -6972,8 +7019,8 @@ strictObject({
6972
7019
  });
6973
7020
  strictObject({
6974
7021
  v: literal(1),
6975
- idempotencyKey: nonEmptyStringSchema$2,
6976
- subscriptionId: nonEmptyStringSchema$2,
7022
+ idempotencyKey: nonEmptyStringSchema$1,
7023
+ subscriptionId: nonEmptyStringSchema$1,
6977
7024
  observedAtMs: number().int().nonnegative(),
6978
7025
  subscriptionCreatedAtMs: number().int().nonnegative().optional(),
6979
7026
  enqueuedAtMs: number().int().nonnegative().optional(),
@@ -7000,7 +7047,7 @@ function buildPersonalRemoteAgentConversationId(input) {
7000
7047
  input.organizationId,
7001
7048
  input.agentProfileId,
7002
7049
  input.spaceId
7003
- ].map((value) => nonEmptyStringSchema$2.max(256).parse(value)).map((value) => `${value.length}:${value}`)].join("|");
7050
+ ].map((value) => nonEmptyStringSchema$1.max(256).parse(value)).map((value) => `${value.length}:${value}`)].join("|");
7004
7051
  }
7005
7052
  /** A scheduled Run owns its execution history independently of its result destination. */
7006
7053
  function buildRemoteAgentRoutineRunConversationId(input) {
@@ -7008,14 +7055,14 @@ function buildRemoteAgentRoutineRunConversationId(input) {
7008
7055
  input.organizationId,
7009
7056
  input.agentProfileId,
7010
7057
  input.runId
7011
- ].map((value) => nonEmptyStringSchema$2.max(256).parse(value)).map((value) => `${value.length}:${value}`)].join("|");
7058
+ ].map((value) => nonEmptyStringSchema$1.max(256).parse(value)).map((value) => `${value.length}:${value}`)].join("|");
7012
7059
  }
7013
7060
  function buildRemoteAgentRuntimeConversationId(input) {
7014
- const organizationId = nonEmptyStringSchema$2.max(256).parse(input.organizationId);
7015
- const logicalConversationId = nonEmptyStringSchema$2.max(REMOTE_AGENT_LOGICAL_CONVERSATION_ID_MAX_CHARS).parse(input.logicalConversationId);
7061
+ const organizationId = nonEmptyStringSchema$1.max(256).parse(input.organizationId);
7062
+ const logicalConversationId = nonEmptyStringSchema$1.max(REMOTE_AGENT_LOGICAL_CONVERSATION_ID_MAX_CHARS).parse(input.logicalConversationId);
7016
7063
  const generation = number().int().nonnegative().parse(input.generation);
7017
7064
  if (generation === 0) return logicalConversationId;
7018
- return nonEmptyStringSchema$2.max(REMOTE_AGENT_RUNTIME_CONVERSATION_ID_MAX_CHARS).parse([
7065
+ return nonEmptyStringSchema$1.max(REMOTE_AGENT_RUNTIME_CONVERSATION_ID_MAX_CHARS).parse([
7019
7066
  "remote-agent-runtime-generation.v1",
7020
7067
  `${organizationId.length}:${organizationId}`,
7021
7068
  `${logicalConversationId.length}:${logicalConversationId}`,
@@ -7024,13 +7071,13 @@ function buildRemoteAgentRuntimeConversationId(input) {
7024
7071
  }
7025
7072
  const remoteAgentConversationContinuityEntrySourceSchema = discriminatedUnion("kind", [strictObject({
7026
7073
  kind: literal("space_signal"),
7027
- signalId: nonEmptyStringSchema$2.max(256),
7028
- spaceId: nonEmptyStringSchema$2.max(256),
7074
+ signalId: nonEmptyStringSchema$1.max(256),
7075
+ spaceId: nonEmptyStringSchema$1.max(256),
7029
7076
  version: contentHashSchema$1
7030
7077
  }), strictObject({
7031
- conversationId: nonEmptyStringSchema$2.max(512),
7078
+ conversationId: nonEmptyStringSchema$1.max(512),
7032
7079
  kind: literal("message_channel_message"),
7033
- messageId: nonEmptyStringSchema$2.max(256),
7080
+ messageId: nonEmptyStringSchema$1.max(256),
7034
7081
  provider: enumFactory([
7035
7082
  "feishu",
7036
7083
  "lark",
@@ -7040,8 +7087,8 @@ const remoteAgentConversationContinuityEntrySourceSchema = discriminatedUnion("k
7040
7087
  const remoteAgentConversationContinuityContextSchema = strictObject({
7041
7088
  entries: array(strictObject({
7042
7089
  author: strictObject({
7043
- displayName: nonEmptyStringSchema$2.max(256).optional(),
7044
- id: nonEmptyStringSchema$2.max(256).optional(),
7090
+ displayName: nonEmptyStringSchema$1.max(256).optional(),
7091
+ id: nonEmptyStringSchema$1.max(256).optional(),
7045
7092
  kind: enumFactory([
7046
7093
  "agent",
7047
7094
  "bot",
@@ -7073,7 +7120,7 @@ const remoteAgentConversationContinuityContextSchema = strictObject({
7073
7120
  });
7074
7121
  })).min(1).max(20),
7075
7122
  fromGeneration: number().int().nonnegative(),
7076
- logicalConversationId: nonEmptyStringSchema$2.max(REMOTE_AGENT_LOGICAL_CONVERSATION_ID_MAX_CHARS),
7123
+ logicalConversationId: nonEmptyStringSchema$1.max(REMOTE_AGENT_LOGICAL_CONVERSATION_ID_MAX_CHARS),
7077
7124
  toGeneration: number().int().positive(),
7078
7125
  truncated: boolean(),
7079
7126
  v: literal(1)
@@ -7091,7 +7138,7 @@ const remoteAgentConversationContinuityContextSchema = strictObject({
7091
7138
  });
7092
7139
  const remoteAgentRuntimeConversationSchema = strictObject({
7093
7140
  generation: number().int().nonnegative(),
7094
- id: nonEmptyStringSchema$2.max(REMOTE_AGENT_RUNTIME_CONVERSATION_ID_MAX_CHARS)
7141
+ id: nonEmptyStringSchema$1.max(REMOTE_AGENT_RUNTIME_CONVERSATION_ID_MAX_CHARS)
7095
7142
  });
7096
7143
  const REMOTE_AGENT_STREAM_DELTA_MAX_CHARS = 1024;
7097
7144
  enumFactory(Object.values({
@@ -7143,7 +7190,7 @@ const remoteAgentRuntimeEvidenceReasonCodeSchema = enumFactory(Object.values({
7143
7190
  TURN_TIMEOUT: "remote_agent.turn.timeout"
7144
7191
  }));
7145
7192
  const remoteAgentWorkerSubmitMessagesResultSchema = strictObject({
7146
- submissionId: nonEmptyStringSchema$2,
7193
+ submissionId: nonEmptyStringSchema$1,
7147
7194
  idempotencyKey: optionalNonEmptyStringSchema,
7148
7195
  requestId: optionalNonEmptyStringSchema,
7149
7196
  status: enumFactory([
@@ -7180,7 +7227,7 @@ discriminatedUnion("status", [
7180
7227
  status: literal("found"),
7181
7228
  ack: remoteAgentWorkerSubmitMessagesResultSchema.extend({
7182
7229
  accepted: literal(false),
7183
- idempotencyKey: nonEmptyStringSchema$2
7230
+ idempotencyKey: nonEmptyStringSchema$1
7184
7231
  })
7185
7232
  })
7186
7233
  ]);
@@ -7192,8 +7239,8 @@ const remoteAgentWorkerAdmissionRejectionCodeSchema = enumFactory([
7192
7239
  ]);
7193
7240
  union([remoteAgentRuntimeEvidenceReasonCodeSchema, remoteAgentWorkerAdmissionRejectionCodeSchema]);
7194
7241
  union([remoteAgentWorkerSubmitMessagesResultSchema, strictObject({
7195
- idempotencyKey: nonEmptyStringSchema$2,
7196
- message: nonEmptyStringSchema$2,
7242
+ idempotencyKey: nonEmptyStringSchema$1,
7243
+ message: nonEmptyStringSchema$1,
7197
7244
  outcome: literal("rejected"),
7198
7245
  reasonCode: remoteAgentWorkerAdmissionRejectionCodeSchema,
7199
7246
  v: literal(1)
@@ -7205,7 +7252,7 @@ const remoteAgentWorkerInputAttachmentsSchema = array(union([spaceMessageAttachm
7205
7252
  /**
7206
7253
  * Core-resolved immutable object key for a canonical Space File revision.
7207
7254
  */
7208
- objectKey: nonEmptyStringSchema$2.max(4096),
7255
+ objectKey: nonEmptyStringSchema$1.max(4096),
7209
7256
  removeAfterAdmission: neverFactory().optional(),
7210
7257
  sizeBytes: number().int().finite().min(1).max(SPACE_FILE_MAX_SIZE_BYTES)
7211
7258
  })])).max(10).superRefine((attachments, context) => {
@@ -7217,7 +7264,7 @@ const remoteAgentWorkerInputAttachmentsSchema = array(union([spaceMessageAttachm
7217
7264
  });
7218
7265
  const remoteAgentWorkerTurnMessageSchema = strictObject({
7219
7266
  role: enumFactory(["user"]),
7220
- content: nonEmptyStringSchema$2,
7267
+ content: nonEmptyStringSchema$1,
7221
7268
  attachments: remoteAgentWorkerInputAttachmentsSchema.optional()
7222
7269
  });
7223
7270
  const remoteAgentWorkerAuthorContextSchema = strictObject({
@@ -7231,21 +7278,21 @@ const remoteAgentWorkerAuthorContextSchema = strictObject({
7231
7278
  });
7232
7279
  const remoteAgentWorkerSubmitTurnRequestShape = {
7233
7280
  replyRecovery: strictObject({
7234
- originalDispatchId: nonEmptyStringSchema$2,
7235
- operationId: nonEmptyStringSchema$2,
7236
- resultRef: nonEmptyStringSchema$2.optional()
7281
+ originalDispatchId: nonEmptyStringSchema$1,
7282
+ operationId: nonEmptyStringSchema$1,
7283
+ resultRef: nonEmptyStringSchema$1.optional()
7237
7284
  }).optional(),
7238
- organizationId: nonEmptyStringSchema$2,
7239
- spaceId: nonEmptyStringSchema$2,
7285
+ organizationId: nonEmptyStringSchema$1,
7286
+ spaceId: nonEmptyStringSchema$1,
7240
7287
  conversationId: optionalNonEmptyStringSchema,
7241
7288
  agentProfileId: agentProfileIdSchema,
7242
- agentProfileOwnerUserId: nonEmptyStringSchema$2.nullable(),
7243
- bindingId: nonEmptyStringSchema$2,
7244
- triggerMessageId: nonEmptyStringSchema$2,
7245
- dispatchId: nonEmptyStringSchema$2,
7246
- taskId: nonEmptyStringSchema$2.optional(),
7289
+ agentProfileOwnerUserId: nonEmptyStringSchema$1.nullable(),
7290
+ bindingId: nonEmptyStringSchema$1,
7291
+ triggerMessageId: nonEmptyStringSchema$1,
7292
+ dispatchId: nonEmptyStringSchema$1,
7293
+ taskId: nonEmptyStringSchema$1.optional(),
7247
7294
  sourceClientMessageId: nullableNonEmptyStringSchema.optional(),
7248
- idempotencyKey: nonEmptyStringSchema$2,
7295
+ idempotencyKey: nonEmptyStringSchema$1,
7249
7296
  toolExecutionDeadlineAtMs: number().int().positive().max(Number.MAX_SAFE_INTEGER).optional(),
7250
7297
  messages: array(remoteAgentWorkerTurnMessageSchema).min(1),
7251
7298
  author: remoteAgentWorkerAuthorContextSchema,
@@ -7265,7 +7312,7 @@ const remoteAgentWorkerSubmitTurnRequestV2Schema = strictObject({
7265
7312
  });
7266
7313
  const remoteAgentWorkerConversationIdentitySchema = strictObject({
7267
7314
  kind: literal("personal_agent"),
7268
- agentProfileId: nonEmptyStringSchema$2
7315
+ agentProfileId: nonEmptyStringSchema$1
7269
7316
  });
7270
7317
  discriminatedUnion("v", [
7271
7318
  remoteAgentWorkerSubmitTurnRequestV1Schema,
@@ -7274,16 +7321,16 @@ discriminatedUnion("v", [
7274
7321
  v: literal(4),
7275
7322
  ...remoteAgentWorkerSubmitTurnRequestShape,
7276
7323
  conversationIdentity: remoteAgentWorkerConversationIdentitySchema.optional(),
7277
- conversationId: nonEmptyStringSchema$2.max(REMOTE_AGENT_LOGICAL_CONVERSATION_ID_MAX_CHARS),
7324
+ conversationId: nonEmptyStringSchema$1.max(REMOTE_AGENT_LOGICAL_CONVERSATION_ID_MAX_CHARS),
7278
7325
  continuityContext: remoteAgentConversationContinuityContextSchema.optional(),
7279
7326
  sourceMessageEnvelope: messageEnvelopeSchema.optional(),
7280
7327
  modelRoute: centerAgentModelRouteSchema,
7281
7328
  runtimeConversation: remoteAgentRuntimeConversationSchema,
7282
7329
  spaceDispatchContext: strictObject({
7283
- dispatchChainId: nonEmptyStringSchema$2,
7330
+ dispatchChainId: nonEmptyStringSchema$1,
7284
7331
  autoRelayDepth: number().int().nonnegative(),
7285
- visitedProfileIds: array(nonEmptyStringSchema$2).max(256),
7286
- visitedProfileIdsHash: nonEmptyStringSchema$2
7332
+ visitedProfileIds: array(nonEmptyStringSchema$1).max(256),
7333
+ visitedProfileIdsHash: nonEmptyStringSchema$1
7287
7334
  }).optional()
7288
7335
  }).superRefine((request, context) => {
7289
7336
  if (request.conversationIdentity?.kind === "personal_agent") {
@@ -7328,10 +7375,10 @@ discriminatedUnion("v", [
7328
7375
  ]);
7329
7376
  const remoteAgentWorkerExecutionIdentitySchema = {
7330
7377
  v: literal(1),
7331
- organizationId: nonEmptyStringSchema$2,
7332
- spaceId: nonEmptyStringSchema$2,
7333
- submissionId: nonEmptyStringSchema$2,
7334
- idempotencyKey: nonEmptyStringSchema$2
7378
+ organizationId: nonEmptyStringSchema$1,
7379
+ spaceId: nonEmptyStringSchema$1,
7380
+ submissionId: nonEmptyStringSchema$1,
7381
+ idempotencyKey: nonEmptyStringSchema$1
7335
7382
  };
7336
7383
  const remoteAgentWorkerExecutionStatusSchema = enumFactory([
7337
7384
  "pending",
@@ -7360,11 +7407,11 @@ strictObject({
7360
7407
  });
7361
7408
  const remoteAgentWorkerAdmissionStopIntentSchema = strictObject({
7362
7409
  v: literal(1),
7363
- organizationId: nonEmptyStringSchema$2,
7364
- spaceId: nonEmptyStringSchema$2,
7365
- idempotencyKey: nonEmptyStringSchema$2,
7410
+ organizationId: nonEmptyStringSchema$1,
7411
+ spaceId: nonEmptyStringSchema$1,
7412
+ idempotencyKey: nonEmptyStringSchema$1,
7366
7413
  requestedAtMs: number().int().nonnegative(),
7367
- reason: nonEmptyStringSchema$2.max(512).nullable(),
7414
+ reason: nonEmptyStringSchema$1.max(512).nullable(),
7368
7415
  summaryRecoveryId: optionalNonEmptyStringSchema
7369
7416
  });
7370
7417
  union([strictObject({
@@ -7386,7 +7433,7 @@ const remoteAgentWorkerExecutionStateSchema = strictObject({
7386
7433
  lastProgressAtMs: number().int().nonnegative(),
7387
7434
  lastProgressKind: remoteAgentWorkerExecutionProgressKindSchema,
7388
7435
  completedAtMs: number().int().nonnegative().nullable(),
7389
- cancellationReason: nonEmptyStringSchema$2.max(512).nullable()
7436
+ cancellationReason: nonEmptyStringSchema$1.max(512).nullable()
7390
7437
  });
7391
7438
  union([
7392
7439
  strictObject({
@@ -7402,7 +7449,7 @@ union([
7402
7449
  strictObject({
7403
7450
  ...remoteAgentWorkerExecutionIdentitySchema,
7404
7451
  conversationId: optionalNonEmptyStringSchema,
7405
- reason: nonEmptyStringSchema$2.max(512).optional(),
7452
+ reason: nonEmptyStringSchema$1.max(512).optional(),
7406
7453
  summaryRecoveryId: optionalNonEmptyStringSchema
7407
7454
  });
7408
7455
  union([
@@ -7426,12 +7473,12 @@ union([
7426
7473
  ]);
7427
7474
  strictObject({
7428
7475
  organizationId: optionalNonEmptyStringSchema,
7429
- runtimeConversationId: nonEmptyStringSchema$2.max(REMOTE_AGENT_RUNTIME_CONVERSATION_ID_MAX_CHARS),
7430
- spaceId: nonEmptyStringSchema$2
7476
+ runtimeConversationId: nonEmptyStringSchema$1.max(REMOTE_AGENT_RUNTIME_CONVERSATION_ID_MAX_CHARS),
7477
+ spaceId: nonEmptyStringSchema$1
7431
7478
  });
7432
7479
  strictObject({
7433
- runtimeConversationId: nonEmptyStringSchema$2.max(REMOTE_AGENT_RUNTIME_CONVERSATION_ID_MAX_CHARS),
7434
- spaceId: nonEmptyStringSchema$2
7480
+ runtimeConversationId: nonEmptyStringSchema$1.max(REMOTE_AGENT_RUNTIME_CONVERSATION_ID_MAX_CHARS),
7481
+ spaceId: nonEmptyStringSchema$1
7435
7482
  });
7436
7483
  const nullableNonNegativeIntegerSchema = number().int().nonnegative().nullable();
7437
7484
  const remoteAgentRuntimeSubmissionDiagnosticSchema = strictObject({
@@ -7455,39 +7502,40 @@ const remoteAgentRuntimeSubmissionDiagnosticSchema = strictObject({
7455
7502
  "terminalizing",
7456
7503
  "settled"
7457
7504
  ]),
7458
- submissionId: nonEmptyStringSchema$2,
7505
+ submissionId: nonEmptyStringSchema$1,
7459
7506
  timeoutAtMs: number().int().nonnegative()
7460
7507
  });
7461
7508
  const remoteAgentRuntimeAttemptMarkerDiagnosticSchema = strictObject({
7462
- attemptId: nonEmptyStringSchema$2,
7509
+ attemptId: nonEmptyStringSchema$1,
7463
7510
  createdAtMs: number().int().nonnegative(),
7464
- submissionId: nonEmptyStringSchema$2
7511
+ submissionId: nonEmptyStringSchema$1
7465
7512
  });
7466
7513
  const remoteAgentRuntimeActiveRunDiagnosticSchema = strictObject({
7467
7514
  createdAtMs: number().int().nonnegative(),
7468
- id: nonEmptyStringSchema$2,
7469
- name: nonEmptyStringSchema$2
7515
+ id: nonEmptyStringSchema$1,
7516
+ name: nonEmptyStringSchema$1
7470
7517
  });
7471
7518
  const remoteAgentRuntimeFiberDiagnosticSchema = strictObject({
7472
7519
  completedAtMs: nullableNonNegativeIntegerSchema,
7473
7520
  createdAtMs: number().int().nonnegative(),
7474
- fiberId: nonEmptyStringSchema$2,
7521
+ fiberId: nonEmptyStringSchema$1,
7475
7522
  idempotencyKey: nullableNonEmptyStringSchema,
7476
- name: nonEmptyStringSchema$2,
7523
+ name: nonEmptyStringSchema$1,
7477
7524
  startedAtMs: nullableNonNegativeIntegerSchema,
7478
- status: nonEmptyStringSchema$2
7525
+ status: nonEmptyStringSchema$1
7479
7526
  });
7480
7527
  const remoteAgentRuntimeScheduleDiagnosticSchema = strictObject({
7481
7528
  callback: nullableNonEmptyStringSchema,
7482
7529
  createdAtSeconds: number().int().nonnegative(),
7483
7530
  delayInSeconds: nullableNonNegativeIntegerSchema,
7484
7531
  executionStartedAtMs: nullableNonNegativeIntegerSchema,
7485
- id: nonEmptyStringSchema$2,
7532
+ id: nonEmptyStringSchema$1,
7486
7533
  running: boolean(),
7487
7534
  timeMs: nullableNonNegativeIntegerSchema,
7488
- type: nonEmptyStringSchema$2
7535
+ type: nonEmptyStringSchema$1
7489
7536
  });
7490
7537
  const remoteAgentRuntimeCallbackContextDiagnosticSchema = strictObject({
7538
+ conversationCompaction: conversationCompactionMarkerSchema.optional(),
7491
7539
  callbackAttempts: number().int().nonnegative(),
7492
7540
  callbackCompletedAt: iso.datetime({ offset: true }).nullable(),
7493
7541
  callbackNextAttemptAt: iso.datetime({ offset: true }).nullable(),
@@ -7499,7 +7547,7 @@ const remoteAgentRuntimeCallbackContextDiagnosticSchema = strictObject({
7499
7547
  "rejected",
7500
7548
  "retryable"
7501
7549
  ]),
7502
- dispatchId: nonEmptyStringSchema$2,
7550
+ dispatchId: nonEmptyStringSchema$1,
7503
7551
  hasCompletedText: boolean(),
7504
7552
  lastCoreResponseReasonCode: nullableNonEmptyStringSchema,
7505
7553
  lastCoreResponseStatus: enumFactory([
@@ -7509,16 +7557,16 @@ const remoteAgentRuntimeCallbackContextDiagnosticSchema = strictObject({
7509
7557
  "retryable"
7510
7558
  ]).nullable(),
7511
7559
  lastFailureCode: nullableNonEmptyStringSchema,
7512
- submissionId: nonEmptyStringSchema$2,
7560
+ submissionId: nonEmptyStringSchema$1,
7513
7561
  updatedAtMs: number().int().nonnegative()
7514
7562
  });
7515
7563
  const remoteAgentRecentToolCallDiagnosticSchema = strictObject({
7516
7564
  calledAtMs: number().int().nonnegative(),
7517
7565
  source: enumFactory(["code_mode", "direct"]),
7518
- toolName: nonEmptyStringSchema$2.max(160)
7566
+ toolName: nonEmptyStringSchema$1.max(160)
7519
7567
  });
7520
7568
  const remoteAgentCapabilityDiscoveryDiagnosticSchema = strictObject({
7521
- capabilityNames: array(nonEmptyStringSchema$2.max(160)).max(12),
7569
+ capabilityNames: array(nonEmptyStringSchema$1.max(160)).max(12),
7522
7570
  observedAtMs: number().int().nonnegative(),
7523
7571
  operation: enumFactory(["describe", "search"]),
7524
7572
  resultCount: number().int().nonnegative()
@@ -7551,7 +7599,7 @@ const remoteAgentTurnRuntimeEvidenceSchema = strictObject({
7551
7599
  recentCapabilityDiscovery: array(remoteAgentCapabilityDiscoveryDiagnosticSchema).max(16),
7552
7600
  recentProviderRequests: array(remoteAgentProviderRequestDiagnosticSchema).max(16),
7553
7601
  recentToolCalls: array(remoteAgentRecentToolCallDiagnosticSchema).max(32),
7554
- submissionId: nonEmptyStringSchema$2,
7602
+ submissionId: nonEmptyStringSchema$1,
7555
7603
  toolCallCount: number().int().nonnegative(),
7556
7604
  toolCallLimit: number().int().positive(),
7557
7605
  updatedAtMs: number().int().nonnegative()
@@ -7564,7 +7612,7 @@ const remoteAgentWorkerRuntimeDiagnosticsResponseV1Schema = strictObject({
7564
7612
  durableObjectAlarmAtMs: nullableNonNegativeIntegerSchema,
7565
7613
  fibers: array(remoteAgentRuntimeFiberDiagnosticSchema).max(50),
7566
7614
  schedules: array(remoteAgentRuntimeScheduleDiagnosticSchema).max(50),
7567
- spaceId: nonEmptyStringSchema$2,
7615
+ spaceId: nonEmptyStringSchema$1,
7568
7616
  submissions: array(remoteAgentRuntimeSubmissionDiagnosticSchema).max(50),
7569
7617
  turnObservability: array(remoteAgentTurnRuntimeEvidenceSchema).max(50).optional(),
7570
7618
  v: literal(1)
@@ -7592,30 +7640,30 @@ const remoteAgentWorkerRuntimeDiagnosticsResponseSchema = discriminatedUnion("v"
7592
7640
  v: literal(2)
7593
7641
  })]);
7594
7642
  const remoteAgentCoreCallbackIdentitySchema = {
7595
- submissionId: nonEmptyStringSchema$2,
7596
- idempotencyKey: nonEmptyStringSchema$2,
7597
- organizationId: nonEmptyStringSchema$2,
7598
- spaceId: nonEmptyStringSchema$2,
7643
+ submissionId: nonEmptyStringSchema$1,
7644
+ idempotencyKey: nonEmptyStringSchema$1,
7645
+ organizationId: nonEmptyStringSchema$1,
7646
+ spaceId: nonEmptyStringSchema$1,
7599
7647
  agentProfileId: agentProfileIdSchema,
7600
- bindingId: nonEmptyStringSchema$2,
7601
- triggerMessageId: nonEmptyStringSchema$2,
7602
- dispatchId: nonEmptyStringSchema$2,
7648
+ bindingId: nonEmptyStringSchema$1,
7649
+ triggerMessageId: nonEmptyStringSchema$1,
7650
+ dispatchId: nonEmptyStringSchema$1,
7603
7651
  callbackAttempt: number().int().positive().optional()
7604
7652
  };
7605
7653
  const remoteAgentStreamDeltaCallbackIdentitySchema = {
7606
- submissionId: nonEmptyStringSchema$2,
7607
- idempotencyKey: nonEmptyStringSchema$2,
7608
- organizationId: nonEmptyStringSchema$2,
7609
- spaceId: nonEmptyStringSchema$2,
7654
+ submissionId: nonEmptyStringSchema$1,
7655
+ idempotencyKey: nonEmptyStringSchema$1,
7656
+ organizationId: nonEmptyStringSchema$1,
7657
+ spaceId: nonEmptyStringSchema$1,
7610
7658
  agentProfileId: agentProfileIdSchema,
7611
- bindingId: nonEmptyStringSchema$2,
7612
- triggerMessageId: nonEmptyStringSchema$2,
7613
- dispatchId: nonEmptyStringSchema$2
7659
+ bindingId: nonEmptyStringSchema$1,
7660
+ triggerMessageId: nonEmptyStringSchema$1,
7661
+ dispatchId: nonEmptyStringSchema$1
7614
7662
  };
7615
7663
  strictObject({ ...remoteAgentStreamDeltaCallbackIdentitySchema });
7616
7664
  const legacyRemoteAgentStreamDeltaCallbackBodySchema = strictObject({
7617
7665
  v: literal(1),
7618
- streamId: nonEmptyStringSchema$2,
7666
+ streamId: nonEmptyStringSchema$1,
7619
7667
  sequence: number().int().positive(),
7620
7668
  ...remoteAgentStreamDeltaCallbackIdentitySchema,
7621
7669
  source: enumFactory(["flue.text_delta", "simulated.final_text"]),
@@ -7625,7 +7673,7 @@ const legacyRemoteAgentStreamDeltaCallbackBodySchema = strictObject({
7625
7673
  });
7626
7674
  const typedRemoteAgentStreamDeltaCallbackIdentitySchema = {
7627
7675
  v: literal(2),
7628
- streamId: nonEmptyStringSchema$2,
7676
+ streamId: nonEmptyStringSchema$1,
7629
7677
  sequence: number().int().positive(),
7630
7678
  ...remoteAgentStreamDeltaCallbackIdentitySchema,
7631
7679
  delta: string().min(1).max(REMOTE_AGENT_STREAM_DELTA_MAX_CHARS),
@@ -7652,7 +7700,7 @@ union([
7652
7700
  ]);
7653
7701
  strictObject({
7654
7702
  v: literal(1),
7655
- streamId: nonEmptyStringSchema$2,
7703
+ streamId: nonEmptyStringSchema$1,
7656
7704
  sequence: number().int().positive(),
7657
7705
  ...remoteAgentStreamDeltaCallbackIdentitySchema,
7658
7706
  source: literal("flue.tool"),
@@ -7674,12 +7722,12 @@ union([
7674
7722
  strictObject({
7675
7723
  status: literal("rejected"),
7676
7724
  lastSequence: remoteAgentStreamLastSequenceSchema,
7677
- reasonCode: nonEmptyStringSchema$2
7725
+ reasonCode: nonEmptyStringSchema$1
7678
7726
  }),
7679
7727
  strictObject({
7680
7728
  status: literal("retryable"),
7681
7729
  lastSequence: remoteAgentStreamLastSequenceSchema,
7682
- reasonCode: nonEmptyStringSchema$2,
7730
+ reasonCode: nonEmptyStringSchema$1,
7683
7731
  retryAfterMs: remoteAgentRetryAfterMsSchema.optional()
7684
7732
  })
7685
7733
  ]);
@@ -7689,15 +7737,15 @@ const remoteAgentCoreCallbackBodySchema = union([strictObject({
7689
7737
  navigationTarget: openMeldNavigationTargetSchema.optional(),
7690
7738
  status: literal("completed").optional(),
7691
7739
  mentionTargets: array(openMeldRuntimeProfileIdSchema).max(25).optional(),
7692
- text: nonEmptyStringSchema$2.max(MAX_TEXT_LENGTH$1),
7740
+ text: nonEmptyStringSchema$1.max(MAX_TEXT_LENGTH$1),
7693
7741
  attachments: spaceMessageAttachmentsSchema.optional(),
7694
7742
  files: spaceMessageFileReferencesSchema.optional()
7695
7743
  }), strictObject({
7696
7744
  ...remoteAgentCoreCallbackIdentitySchema,
7697
7745
  status: literal("failed"),
7698
- failureCode: nonEmptyStringSchema$2,
7746
+ failureCode: nonEmptyStringSchema$1,
7699
7747
  failureDetail: optionalDispatchErrorSummarySchema,
7700
- failureMessage: nonEmptyStringSchema$2
7748
+ failureMessage: nonEmptyStringSchema$1
7701
7749
  })]);
7702
7750
  union([remoteAgentCoreCallbackBodySchema, strictObject({
7703
7751
  ...remoteAgentCoreCallbackIdentitySchema,
@@ -7708,7 +7756,7 @@ discriminatedUnion("kind", [strictObject({
7708
7756
  callback: remoteAgentCoreCallbackBodySchema,
7709
7757
  kind: literal("callback")
7710
7758
  }), strictObject({
7711
- failureCode: nonEmptyStringSchema$2,
7759
+ failureCode: nonEmptyStringSchema$1,
7712
7760
  kind: literal("terminal_failure")
7713
7761
  })]);
7714
7762
  strictObject({
@@ -7716,16 +7764,16 @@ strictObject({
7716
7764
  conversationCompaction: conversationCompactionMarkerSchema.optional(),
7717
7765
  navigationTarget: openMeldNavigationTargetSchema.optional(),
7718
7766
  status: literal("completed"),
7719
- text: nonEmptyStringSchema$2.max(MAX_TEXT_LENGTH$1),
7767
+ text: nonEmptyStringSchema$1.max(MAX_TEXT_LENGTH$1),
7720
7768
  attachments: spaceMessageAttachmentsSchema.optional(),
7721
7769
  files: spaceMessageFileReferencesSchema.optional()
7722
7770
  });
7723
7771
  strictObject({
7724
7772
  ...remoteAgentCoreCallbackIdentitySchema,
7725
7773
  status: literal("failed"),
7726
- failureCode: nonEmptyStringSchema$2,
7774
+ failureCode: nonEmptyStringSchema$1,
7727
7775
  failureDetail: optionalDispatchErrorSummarySchema,
7728
- failureMessage: nonEmptyStringSchema$2
7776
+ failureMessage: nonEmptyStringSchema$1
7729
7777
  });
7730
7778
  strictObject({
7731
7779
  status: enumFactory([
@@ -7734,8 +7782,8 @@ strictObject({
7734
7782
  "rejected",
7735
7783
  "retryable"
7736
7784
  ]),
7737
- reasonCode: nonEmptyStringSchema$2.optional(),
7738
- publishedSignalId: nonEmptyStringSchema$2.nullable().optional(),
7785
+ reasonCode: nonEmptyStringSchema$1.optional(),
7786
+ publishedSignalId: nonEmptyStringSchema$1.nullable().optional(),
7739
7787
  retryAfterMs: remoteAgentRetryAfterMsSchema.optional()
7740
7788
  });
7741
7789
  //#endregion
@@ -9582,6 +9630,7 @@ const accountSpaceIndexIncludeDirectMessageProfileIdsSchema = z$1.preprocess((va
9582
9630
  z$1.strictObject({
9583
9631
  includeMessagePreviews: z$1.preprocess((value) => value === true || value === "true", z$1.boolean()).optional(),
9584
9632
  includeMemberPreviews: z$1.preprocess((value) => value === true || value === "true", z$1.boolean()).optional(),
9633
+ includeDirectoryPreviews: z$1.preprocess((value) => value === true || value === "true", z$1.boolean()).optional(),
9585
9634
  gatewayHost: profileSpaceHistoryGatewayHostSchema,
9586
9635
  includeDirectMessageProfileIds: accountSpaceIndexIncludeDirectMessageProfileIdsSchema,
9587
9636
  includeRecentlyDeletedItems: accountSpaceIndexIncludeRecentlyDeletedItemsSchema,
@@ -9596,19 +9645,21 @@ const accountSpaceIndexJoinedProfileSchema = z$1.strictObject({
9596
9645
  profileId: trimmedNonEmptyStringSchema$8,
9597
9646
  profileName: trimmedNonEmptyStringSchema$8
9598
9647
  });
9648
+ const accountSpaceMessagePreviewSchema = z$1.strictObject({
9649
+ signalId: trimmedNonEmptyStringSchema$8,
9650
+ profileId: trimmedNonEmptyStringSchema$8,
9651
+ timestamp: z$1.number().int().nonnegative(),
9652
+ text: z$1.string().max(240)
9653
+ });
9599
9654
  const accountSpaceIndexItemSchema = z$1.strictObject({
9600
- messagePreview: z$1.strictObject({
9601
- signalId: trimmedNonEmptyStringSchema$8,
9602
- profileId: trimmedNonEmptyStringSchema$8,
9603
- timestamp: z$1.number().int().nonnegative(),
9604
- text: z$1.string().max(240)
9605
- }).nullable().optional(),
9655
+ recentMessagePreviews: z$1.array(accountSpaceMessagePreviewSchema).max(2).optional(),
9656
+ messagePreview: accountSpaceMessagePreviewSchema.nullable().optional(),
9606
9657
  memberPreviews: z$1.array(z$1.strictObject({
9607
9658
  profileId: trimmedNonEmptyStringSchema$8,
9608
9659
  profileName: trimmedNonEmptyStringSchema$8,
9609
9660
  profileKind: z$1.enum(["human", "agent"]),
9610
9661
  agentControllerRef: nullableTrimmedStringSchema$3
9611
- })).max(3).optional(),
9662
+ })).max(8).optional(),
9612
9663
  creatorKind: z$1.union([profileSpaceCreatorKindSchema, z$1.null()]),
9613
9664
  creatorOwnerUserId: nullableTrimmedStringSchema$3,
9614
9665
  creatorProfileId: nullableTrimmedStringSchema$3,
@@ -11277,6 +11328,149 @@ const spaceHistoryNavigationSchema = z$1.object({
11277
11328
  total: z$1.number().int().nonnegative()
11278
11329
  });
11279
11330
  //#endregion
11331
+ //#region ../../packages/schemas/dist/schemas/daemon/session-history.js
11332
+ const SESSION_HISTORY_RUNTIME_CAPABILITY = "session-history-v1";
11333
+ const SESSION_HISTORY_CAPABILITY_HEADER = "x-openmeld-session-history";
11334
+ const id = z$1.string().trim().min(1).max(512);
11335
+ const sessionHistoryConnectionSchema = z$1.strictObject({
11336
+ projectId: id,
11337
+ bindingGeneration: id
11338
+ });
11339
+ const sessionHistoryPolicyInputSchema = z$1.strictObject({
11340
+ enabled: z$1.boolean(),
11341
+ connections: z$1.array(sessionHistoryConnectionSchema).max(128),
11342
+ readerProfileIds: z$1.array(id).max(64)
11343
+ });
11344
+ const sessionHistoryPolicySchema = sessionHistoryPolicyInputSchema.extend({
11345
+ revision: z$1.number().int().positive(),
11346
+ updatedAtMs: z$1.number().int().nonnegative()
11347
+ });
11348
+ const sessionHistoryReadSchema = z$1.strictObject({
11349
+ operation: z$1.literal("read_session"),
11350
+ projectId: id,
11351
+ sessionId: id,
11352
+ offset: z$1.number().int().min(0).max(1e5).default(0),
11353
+ limit: z$1.number().int().min(1).max(50).default(20)
11354
+ });
11355
+ const sessionHistoryOperationSchema = z$1.discriminatedUnion("operation", [
11356
+ z$1.strictObject({ operation: z$1.literal("read_settings") }),
11357
+ z$1.strictObject({
11358
+ operation: z$1.literal("update_settings"),
11359
+ expectedRevision: z$1.number().int().positive(),
11360
+ policy: sessionHistoryPolicyInputSchema
11361
+ }),
11362
+ z$1.strictObject({ operation: z$1.literal("read_audit") }),
11363
+ sessionHistoryReadSchema
11364
+ ]);
11365
+ const sessionHistoryRequesterSchema = z$1.strictObject({
11366
+ requestRootId: id,
11367
+ ownerUserId: id,
11368
+ requesterUserId: id,
11369
+ readerProfileId: id.nullable(),
11370
+ delegatorProfileId: id.nullable(),
11371
+ spaceId: id.nullable(),
11372
+ audience: z$1.enum([
11373
+ "owner_private",
11374
+ "space",
11375
+ "externally_shared"
11376
+ ])
11377
+ });
11378
+ const sessionHistoryAuditSchema = z$1.strictObject({
11379
+ requestId: id,
11380
+ atMs: z$1.number().int().nonnegative(),
11381
+ requester: sessionHistoryRequesterSchema,
11382
+ projectId: id,
11383
+ sessionId: id,
11384
+ offset: z$1.number().int().nonnegative(),
11385
+ count: z$1.number().int().nonnegative(),
11386
+ outcome: z$1.enum([
11387
+ "allowed",
11388
+ "denied",
11389
+ "failed"
11390
+ ])
11391
+ });
11392
+ const sessionHistoryPageSchema = z$1.strictObject({
11393
+ kind: z$1.literal("session"),
11394
+ sessionId: id,
11395
+ requester: sessionHistoryRequesterSchema,
11396
+ messages: z$1.array(z$1.strictObject({
11397
+ role: z$1.enum(["user", "assistant"]),
11398
+ text: z$1.string().max(8e3),
11399
+ truncated: z$1.boolean()
11400
+ })).max(50),
11401
+ nextOffset: z$1.number().int().nonnegative().nullable(),
11402
+ omittedNonMessageItems: z$1.boolean()
11403
+ });
11404
+ const sessionHistoryResultSchema = z$1.discriminatedUnion("kind", [
11405
+ z$1.strictObject({
11406
+ kind: z$1.literal("settings"),
11407
+ policy: sessionHistoryPolicySchema,
11408
+ connections: z$1.array(sessionHistoryConnectionSchema.extend({ projectSlug: id })).max(512)
11409
+ }),
11410
+ z$1.strictObject({
11411
+ kind: z$1.literal("audit"),
11412
+ entries: z$1.array(sessionHistoryAuditSchema).max(200)
11413
+ }),
11414
+ sessionHistoryPageSchema,
11415
+ z$1.strictObject({
11416
+ kind: z$1.literal("error"),
11417
+ code: z$1.enum([
11418
+ "denied",
11419
+ "changed",
11420
+ "unavailable",
11421
+ "unsupported",
11422
+ "failed"
11423
+ ]),
11424
+ message: z$1.string().max(512)
11425
+ })
11426
+ ]);
11427
+ z$1.strictObject({
11428
+ execution: z$1.strictObject({
11429
+ dispatchId: id,
11430
+ executionTokenEcho: runtimeCoordinatorExecutionTokenEchoSchema
11431
+ }).optional(),
11432
+ context: openMeldRequestContextSchema,
11433
+ organizationId: id,
11434
+ deviceId: id,
11435
+ runtimeLane: daemonServiceLaneSchema,
11436
+ request: sessionHistoryOperationSchema
11437
+ });
11438
+ const sessionHistoryServiceRequestSchema = z$1.strictObject({
11439
+ organizationId: id,
11440
+ expectedDeviceId: id,
11441
+ requester: sessionHistoryRequesterSchema,
11442
+ request: sessionHistoryOperationSchema
11443
+ });
11444
+ const sessionHistoryRequestFrameSchema = z$1.strictObject({
11445
+ v: z$1.literal(1),
11446
+ code: z$1.literal("daemon.session_history.request"),
11447
+ payload: z$1.strictObject({
11448
+ requestId: id,
11449
+ request: sessionHistoryServiceRequestSchema
11450
+ })
11451
+ });
11452
+ const sessionHistoryResultFrameSchema = z$1.strictObject({
11453
+ v: z$1.literal(1),
11454
+ code: z$1.literal("daemon.session_history.request_result"),
11455
+ payload: z$1.strictObject({
11456
+ requestId: id,
11457
+ result: sessionHistoryResultSchema
11458
+ })
11459
+ });
11460
+ z$1.strictObject({
11461
+ v: z$1.literal(1),
11462
+ ownerUserId: id,
11463
+ deviceId: id,
11464
+ lane: daemonServiceLaneSchema,
11465
+ requestId: id,
11466
+ request: sessionHistoryServiceRequestSchema
11467
+ });
11468
+ z$1.strictObject({
11469
+ context: openMeldRequestContextSchema,
11470
+ computerId: id,
11471
+ request: sessionHistoryReadSchema
11472
+ });
11473
+ //#endregion
11280
11474
  //#region ../../packages/schemas/dist/schemas/http/feedback.js
11281
11475
  const FEEDBACK_SUBMIT_INVALID_INPUT_ERROR_CODE = "feedback.submit.invalid_input";
11282
11476
  const FEEDBACK_SUBMIT_INBOX_NOT_FOUND_ERROR_CODE = "feedback.submit.inbox_not_found";
@@ -11651,19 +11845,19 @@ const MESSAGE_CHANNEL_ERROR_CODES = [
11651
11845
  "message_channel.setup_request_recipient_unavailable"
11652
11846
  ];
11653
11847
  const LARK_PLATFORM_WEBHOOK_RAW_BODY_MAX_CHARS = 262144;
11654
- const nonEmptyStringSchema$1 = string().trim().min(1);
11655
- const capabilityGroupSchema = nonEmptyStringSchema$1.max(64).regex(/^[a-z0-9][a-z0-9._-]*$/u);
11656
- const reasonCodeSchema$1 = nonEmptyStringSchema$1.max(128).regex(/^[a-z0-9][a-z0-9._-]*$/u);
11848
+ const nonEmptyStringSchema = string().trim().min(1);
11849
+ const capabilityGroupSchema = nonEmptyStringSchema.max(64).regex(/^[a-z0-9][a-z0-9._-]*$/u);
11850
+ const reasonCodeSchema$1 = nonEmptyStringSchema.max(128).regex(/^[a-z0-9][a-z0-9._-]*$/u);
11657
11851
  const messageChannelConnectionStatusSchema = enumFactory(MESSAGE_CHANNEL_CONNECTION_STATUSES);
11658
11852
  const messageChannelSetupRequestBodySchema = strictObject({ provider: messageChannelProviderSchema });
11659
11853
  const messageChannelSetupRequestResponseSchema = strictObject({
11660
- organizationId: nonEmptyStringSchema$1.max(256),
11854
+ organizationId: nonEmptyStringSchema.max(256),
11661
11855
  provider: messageChannelProviderSchema,
11662
11856
  recipientCount: number().int().positive(),
11663
- requestId: nonEmptyStringSchema$1.max(256),
11857
+ requestId: nonEmptyStringSchema.max(256),
11664
11858
  status: enumFactory(["created", "already_requested"])
11665
11859
  });
11666
- const messageChannelIdentityLinkIdSchema = nonEmptyStringSchema$1.max(82).regex(/^channel_identity_[0-9a-f]{64}$/u);
11860
+ const messageChannelIdentityLinkIdSchema = nonEmptyStringSchema.max(82).regex(/^channel_identity_[0-9a-f]{64}$/u);
11667
11861
  const larkPlatformProviderSchema = enumFactory(["lark", "feishu"]);
11668
11862
  const larkPlatformRegistrationBeginModeSchema = enumFactory([
11669
11863
  "resume",
@@ -11672,13 +11866,13 @@ const larkPlatformRegistrationBeginModeSchema = enumFactory([
11672
11866
  "reauthorize"
11673
11867
  ]);
11674
11868
  const messageChannelConnectionProjectionSchema = strictObject({
11675
- id: nonEmptyStringSchema$1.max(256),
11869
+ id: nonEmptyStringSchema.max(256),
11676
11870
  provider: messageChannelProviderSchema,
11677
11871
  transport: messageChannelTransportSchema,
11678
11872
  status: messageChannelConnectionStatusSchema,
11679
- externalAccountId: nonEmptyStringSchema$1.max(512).nullable(),
11680
- externalAccountName: nonEmptyStringSchema$1.max(256).nullable(),
11681
- permissionBundleVersion: nonEmptyStringSchema$1.max(128).nullable(),
11873
+ externalAccountId: nonEmptyStringSchema.max(512).nullable(),
11874
+ externalAccountName: nonEmptyStringSchema.max(256).nullable(),
11875
+ permissionBundleVersion: nonEmptyStringSchema.max(128).nullable(),
11682
11876
  grantedCapabilityGroups: array(capabilityGroupSchema).max(32),
11683
11877
  lastVerifiedAt: iso.datetime({ offset: true }).nullable(),
11684
11878
  reasonCode: reasonCodeSchema$1.nullable()
@@ -11692,13 +11886,13 @@ const messageChannelConnectionProjectionSchema = strictObject({
11692
11886
  const messageChannelIdentityLinkProjectionSchema = strictObject({
11693
11887
  connectedAt: iso.datetime({ offset: true }),
11694
11888
  id: messageChannelIdentityLinkIdSchema,
11695
- openMeldUserId: nonEmptyStringSchema$1.max(256),
11889
+ openMeldUserId: nonEmptyStringSchema.max(256),
11696
11890
  provider: messageChannelProviderSchema,
11697
11891
  providerAccountEmail: email().max(320).nullable().default(null),
11698
- providerAccountName: nonEmptyStringSchema$1.max(256).nullable()
11892
+ providerAccountName: nonEmptyStringSchema.max(256).nullable()
11699
11893
  });
11700
11894
  const messageChannelConnectionListResponseSchema = strictObject({
11701
- organizationId: nonEmptyStringSchema$1.max(256),
11895
+ organizationId: nonEmptyStringSchema.max(256),
11702
11896
  availableLarkPlatformProviders: array(larkPlatformProviderSchema).max(2),
11703
11897
  connections: array(messageChannelConnectionProjectionSchema).max(MESSAGE_CHANNEL_PROVIDERS.length),
11704
11898
  identityLinks: array(messageChannelIdentityLinkProjectionSchema).max(1e4).default([])
@@ -11722,7 +11916,7 @@ const messageChannelConnectionListResponseSchema = strictObject({
11722
11916
  providers.add(connection.provider);
11723
11917
  }
11724
11918
  });
11725
- const larkPlatformRegistrationAttemptIdSchema = nonEmptyStringSchema$1.max(256);
11919
+ const larkPlatformRegistrationAttemptIdSchema = nonEmptyStringSchema.max(256);
11726
11920
  const larkPlatformActiveRegistrationProjectionSchema = strictObject({
11727
11921
  canResume: boolean(),
11728
11922
  expiresAt: iso.datetime({ offset: true }),
@@ -11737,7 +11931,7 @@ const larkPlatformActiveRegistrationProjectionSchema = strictObject({
11737
11931
  ])
11738
11932
  });
11739
11933
  const larkPlatformActiveRegistrationListResponseSchema = strictObject({
11740
- organizationId: nonEmptyStringSchema$1.max(256),
11934
+ organizationId: nonEmptyStringSchema.max(256),
11741
11935
  registrations: array(larkPlatformActiveRegistrationProjectionSchema).max(2)
11742
11936
  }).superRefine((response, context) => {
11743
11937
  const providers = /* @__PURE__ */ new Set();
@@ -11778,7 +11972,7 @@ const larkPlatformRegistrationAttemptProjectionSchema = strictObject({
11778
11972
  }
11779
11973
  });
11780
11974
  const larkPlatformRegistrationResponseSchema = strictObject({
11781
- organizationId: nonEmptyStringSchema$1.max(256),
11975
+ organizationId: nonEmptyStringSchema.max(256),
11782
11976
  attempt: larkPlatformRegistrationAttemptProjectionSchema,
11783
11977
  connection: messageChannelConnectionProjectionSchema.nullable()
11784
11978
  }).superRefine((response, context) => {
@@ -11790,21 +11984,21 @@ const larkPlatformRegistrationResponseSchema = strictObject({
11790
11984
  });
11791
11985
  strictObject({
11792
11986
  provider: larkPlatformProviderSchema,
11793
- connectionId: nonEmptyStringSchema$1.max(256),
11987
+ connectionId: nonEmptyStringSchema.max(256),
11794
11988
  surface: enumFactory(["events", "callbacks"]),
11795
11989
  rawBody: string().min(2).max(LARK_PLATFORM_WEBHOOK_RAW_BODY_MAX_CHARS),
11796
11990
  headers: strictObject({
11797
- timestamp: nonEmptyStringSchema$1.max(64).nullable(),
11798
- nonce: nonEmptyStringSchema$1.max(256).nullable(),
11799
- signature: nonEmptyStringSchema$1.max(256).nullable()
11991
+ timestamp: nonEmptyStringSchema.max(64).nullable(),
11992
+ nonce: nonEmptyStringSchema.max(256).nullable(),
11993
+ signature: nonEmptyStringSchema.max(256).nullable()
11800
11994
  }),
11801
11995
  receivedAtMs: number().int().nonnegative().max(Number.MAX_SAFE_INTEGER),
11802
- gatewayRequestId: nonEmptyStringSchema$1.max(256)
11996
+ gatewayRequestId: nonEmptyStringSchema.max(256)
11803
11997
  });
11804
11998
  discriminatedUnion("status", [
11805
11999
  strictObject({
11806
12000
  status: literal("challenge"),
11807
- challenge: nonEmptyStringSchema$1.max(2048)
12001
+ challenge: nonEmptyStringSchema.max(2048)
11808
12002
  }),
11809
12003
  strictObject({
11810
12004
  status: literal("enqueue"),
@@ -11825,12 +12019,12 @@ const messageChannelIdentityLinkPreviewResponseSchema = strictObject({
11825
12019
  alreadyMember: boolean().default(true),
11826
12020
  continuesRequest: boolean().default(false),
11827
12021
  expiresAt: iso.datetime({ offset: true }),
11828
- organizationId: nonEmptyStringSchema$1.max(256),
11829
- organizationName: nonEmptyStringSchema$1.max(256),
12022
+ organizationId: nonEmptyStringSchema.max(256),
12023
+ organizationName: nonEmptyStringSchema.max(256),
11830
12024
  provider: larkPlatformProviderSchema,
11831
- providerUserDisplayName: nonEmptyStringSchema$1.max(256),
11832
- providerUserId: nonEmptyStringSchema$1.max(512),
11833
- openMeldAccountEmail: nonEmptyStringSchema$1.max(320),
12025
+ providerUserDisplayName: nonEmptyStringSchema.max(256),
12026
+ providerUserId: nonEmptyStringSchema.max(512),
12027
+ openMeldAccountEmail: nonEmptyStringSchema.max(320),
11834
12028
  replacesExistingLink: boolean().default(false)
11835
12029
  });
11836
12030
  const messageChannelIdentityLinkConsumeBodySchema = strictObject({ token: messageChannelIdentityLinkTokenSchema });
@@ -11840,13 +12034,13 @@ const messageChannelIdentityLinkConsumeResponseSchema = strictObject({
11840
12034
  continuesRequest: boolean().default(false),
11841
12035
  joinedOrganization: boolean().default(false),
11842
12036
  linked: literal(true),
11843
- organizationId: nonEmptyStringSchema$1.max(256),
11844
- organizationName: nonEmptyStringSchema$1.max(256),
12037
+ organizationId: nonEmptyStringSchema.max(256),
12038
+ organizationName: nonEmptyStringSchema.max(256),
11845
12039
  provider: larkPlatformProviderSchema,
11846
- providerUserDisplayName: nonEmptyStringSchema$1.max(256),
11847
- providerUserId: nonEmptyStringSchema$1.max(512),
12040
+ providerUserDisplayName: nonEmptyStringSchema.max(256),
12041
+ providerUserId: nonEmptyStringSchema.max(512),
11848
12042
  replacedExistingLink: boolean().default(false),
11849
- openMeldUserId: nonEmptyStringSchema$1.max(256)
12043
+ openMeldUserId: nonEmptyStringSchema.max(256)
11850
12044
  });
11851
12045
  //#endregion
11852
12046
  //#region ../../packages/schemas/dist/schemas/http/center-agent-member-research.js
@@ -13702,84 +13896,11 @@ const organizationUsageOverviewResponseSchema = z$1.strictObject({
13702
13896
  });
13703
13897
  z$1.strictObject({ context: openMeldRequestContextSchema });
13704
13898
  //#endregion
13705
- //#region ../../packages/schemas/dist/schemas/runtime/openconnector-runtime.js
13706
- const nonEmptyStringSchema = z$1.string().trim().min(1);
13707
- const jsonSchemaObjectSchema = z$1.record(z$1.string(), z$1.unknown());
13708
- const openConnectorRuntimeActionEffectSchema = z$1.enum([
13709
- "destructive",
13710
- "read",
13711
- "write"
13712
- ]);
13713
- const openConnectorRuntimeActionExecutionSchema = z$1.strictObject({
13714
- catalogOnly: z$1.boolean(),
13715
- locallyExecutable: z$1.boolean(),
13716
- needsCredential: z$1.boolean(),
13717
- noAuthRunnable: z$1.boolean(),
13718
- requiredAuthTypes: z$1.array(z$1.enum([
13719
- "no_auth",
13720
- "api_key",
13721
- "custom_credential",
13722
- "oauth2"
13723
- ]))
13724
- }).superRefine((execution, context) => {
13725
- if (execution.catalogOnly === execution.locallyExecutable) context.addIssue({
13726
- code: "custom",
13727
- message: "OpenConnector action execution must be either locally executable or catalog-only.",
13728
- path: ["locallyExecutable"]
13729
- });
13730
- if (execution.needsCredential === execution.noAuthRunnable) context.addIssue({
13731
- code: "custom",
13732
- message: "OpenConnector action credential requirements are inconsistent.",
13733
- path: ["needsCredential"]
13734
- });
13735
- });
13736
- const openConnectorRuntimeActionSchema = z$1.strictObject({
13737
- asyncLifecycle: z$1.strictObject({
13738
- cancelActionId: nonEmptyStringSchema.optional(),
13739
- startActionId: nonEmptyStringSchema,
13740
- statusActionId: nonEmptyStringSchema
13741
- }).nullable(),
13742
- description: nonEmptyStringSchema,
13743
- effect: openConnectorRuntimeActionEffectSchema.optional(),
13744
- execution: openConnectorRuntimeActionExecutionSchema,
13745
- followUpActions: z$1.array(z$1.strictObject({ actionId: nonEmptyStringSchema })),
13746
- id: nonEmptyStringSchema,
13747
- inputSchema: jsonSchemaObjectSchema,
13748
- name: nonEmptyStringSchema,
13749
- operationType: openConnectorRuntimeActionEffectSchema.optional(),
13750
- outputSchema: jsonSchemaObjectSchema,
13751
- providerPermissions: z$1.array(nonEmptyStringSchema),
13752
- requiredScopes: z$1.array(nonEmptyStringSchema),
13753
- service: nonEmptyStringSchema
13754
- });
13755
- const openConnectorRuntimeActionListSchema = z$1.array(openConnectorRuntimeActionSchema);
13756
- const openConnectorRuntimeActionSearchResultSchema = z$1.strictObject({
13757
- authenticated: z$1.boolean(),
13758
- description: nonEmptyStringSchema,
13759
- effect: openConnectorRuntimeActionEffectSchema.optional(),
13760
- id: nonEmptyStringSchema,
13761
- inputSchema: jsonSchemaObjectSchema,
13762
- name: nonEmptyStringSchema,
13763
- operationType: openConnectorRuntimeActionEffectSchema.optional(),
13764
- outputSchema: jsonSchemaObjectSchema,
13765
- service: nonEmptyStringSchema
13766
- });
13767
- z$1.array(openConnectorRuntimeActionSearchResultSchema);
13768
- const openConnectorRuntimeActionOperationMetaSchema = z$1.strictObject({
13769
- actionId: nonEmptyStringSchema,
13770
- auditPersisted: z$1.boolean(),
13771
- executionId: nonEmptyStringSchema
13772
- });
13773
- z$1.strictObject({
13774
- data: z$1.json(),
13775
- message: z$1.literal("OK"),
13776
- meta: openConnectorRuntimeActionOperationMetaSchema,
13777
- outputSchema: jsonSchemaObjectSchema.optional(),
13778
- success: z$1.literal(true)
13779
- });
13780
- //#endregion
13781
13899
  //#region ../../packages/schemas/dist/schemas/http/plugin-actions.js
13782
- const selectedAccountSchema = centerAgentConnectorActionExecutionConnectionSchema.extend({ permission: enumFactory(["read", "write"]) });
13900
+ const selectedAccountSchema = centerAgentConnectorActionExecutionConnectionSchema.extend({
13901
+ permission: enumFactory(["read", "write"]),
13902
+ health: pluginConnectionHealthSchema.optional()
13903
+ });
13783
13904
  const selection = {
13784
13905
  service: connectorServiceSchema,
13785
13906
  account: enumFactory(["personal", "shared"])
@@ -13804,6 +13925,12 @@ const pluginActionRequestSchema = strictObject({
13804
13925
  operation: literal("actions"),
13805
13926
  ...selection
13806
13927
  }),
13928
+ strictObject({
13929
+ operation: literal("connection"),
13930
+ ...selection,
13931
+ key: string().min(1).max(256),
13932
+ computer: boolean().optional()
13933
+ }),
13807
13934
  strictObject({
13808
13935
  operation: literal("execute"),
13809
13936
  ...selection,
@@ -13823,6 +13950,15 @@ strictObject({
13823
13950
  request: pluginActionRequestSchema
13824
13951
  });
13825
13952
  const pluginActionResponseSchema = discriminatedUnion("kind", [
13953
+ strictObject({
13954
+ kind: literal("native_connection"),
13955
+ connection: selectedAccountSchema,
13956
+ description: pluginConnectionDescriptionSchema,
13957
+ baseUrl: string().url().optional(),
13958
+ expiresAtMs: number().optional(),
13959
+ environment: record(string(), string()).optional(),
13960
+ nextAction: string()
13961
+ }),
13826
13962
  strictObject({
13827
13963
  kind: literal("authorization_required"),
13828
13964
  request: pluginActionRequestViewSchema
@@ -14848,13 +14984,35 @@ const cloudComputerSchema = strictObject({
14848
14984
  provider: literal("cloudflare"),
14849
14985
  createdAtMs: number().int().nonnegative()
14850
14986
  });
14987
+ const cloudComputerStorageSchema = strictObject({
14988
+ scope: literal("persistent"),
14989
+ databaseBytes: number().int().nonnegative(),
14990
+ limitBytes: number().int().positive(),
14991
+ growthHeadroomBytes: number().int().nonnegative(),
14992
+ status: enumFactory([
14993
+ "available",
14994
+ "near_limit",
14995
+ "at_limit"
14996
+ ]),
14997
+ observedAtMs: number().int().nonnegative(),
14998
+ guidance: string()
14999
+ });
14851
15000
  const path$1 = string().min(1).max(4096);
14852
15001
  const key = string().min(1).max(256);
15002
+ const cloudComputerBackendSchema = enumFactory([
15003
+ "container",
15004
+ "worker-shell",
15005
+ "worker-javascript"
15006
+ ]);
14853
15007
  const cloudComputerCommandSchema = discriminatedUnion("action", [
14854
15008
  strictObject({
14855
15009
  action: literal("start"),
14856
15010
  key,
14857
15011
  command: string().min(1).max(64e3),
15012
+ backend: cloudComputerBackendSchema.optional(),
15013
+ env: record(string(), string()).optional(),
15014
+ stdin: string().max(2e6).optional(),
15015
+ input: json().optional(),
14858
15016
  timeoutSeconds: number().int().min(1).max(3600).optional()
14859
15017
  }),
14860
15018
  strictObject({
@@ -14865,11 +15023,41 @@ const cloudComputerCommandSchema = discriminatedUnion("action", [
14865
15023
  }),
14866
15024
  strictObject({
14867
15025
  action: literal("stop"),
14868
- key
15026
+ key,
15027
+ signal: enumFactory([
15028
+ "SIGTERM",
15029
+ "SIGKILL",
15030
+ "SIGINT",
15031
+ "SIGHUP"
15032
+ ]).optional()
14869
15033
  }),
14870
15034
  strictObject({ action: literal("list") })
14871
15035
  ]);
14872
15036
  const cloudComputerOperationSchema = discriminatedUnion("action", [
15037
+ strictObject({ action: literal("describe") }),
15038
+ strictObject({
15039
+ action: literal("browser"),
15040
+ code: string().min(1).max(32e3)
15041
+ }),
15042
+ strictObject({
15043
+ action: literal("preview"),
15044
+ port: number().int().min(1024).max(65535),
15045
+ path: path$1,
15046
+ expectedText: string().min(1).max(500)
15047
+ }),
15048
+ strictObject({
15049
+ action: literal("files"),
15050
+ tool: enumFactory([
15051
+ "read",
15052
+ "ls",
15053
+ "find",
15054
+ "grep",
15055
+ "write",
15056
+ "edit",
15057
+ "delete"
15058
+ ]),
15059
+ input: record(string(), unknown())
15060
+ }),
14873
15061
  strictObject({
14874
15062
  action: literal("read"),
14875
15063
  path: path$1
@@ -14907,6 +15095,18 @@ strictObject({
14907
15095
  operation: cloudComputerOperationSchema
14908
15096
  });
14909
15097
  const cloudComputerOperationResultSchema = union([
15098
+ strictObject({
15099
+ kind: literal("capabilities"),
15100
+ capabilities: object({ storage: cloudComputerStorageSchema.optional() }).catchall(unknown())
15101
+ }),
15102
+ strictObject({
15103
+ kind: literal("files"),
15104
+ result: unknown()
15105
+ }),
15106
+ strictObject({
15107
+ kind: enumFactory(["browser", "preview"]),
15108
+ result: unknown()
15109
+ }),
14910
15110
  strictObject({
14911
15111
  path: path$1,
14912
15112
  content: string()
@@ -14941,6 +15141,9 @@ const cloudComputerOperationResultSchema = union([
14941
15141
  stderr: string().optional(),
14942
15142
  after: number().optional(),
14943
15143
  outputPending: literal(true).optional(),
15144
+ syncPending: literal(true).optional(),
15145
+ outputTruncated: literal(true).optional(),
15146
+ result: json().optional(),
14944
15147
  nextAction: string().optional()
14945
15148
  })
14946
15149
  ]);
@@ -15538,6 +15741,7 @@ function buildAccountSpaceIndexPath(input) {
15538
15741
  if (input.includePurposes === true) url.searchParams.set("includePurposes", "true");
15539
15742
  if (input.includeMemberPreviews === true) url.searchParams.set("includeMemberPreviews", "true");
15540
15743
  if (input.includeMessagePreviews === true) url.searchParams.set("includeMessagePreviews", "true");
15744
+ if (input.includeDirectoryPreviews === true) url.searchParams.set("includeDirectoryPreviews", "true");
15541
15745
  return `${url.pathname}${url.search}`;
15542
15746
  }
15543
15747
  const createAccountSpaceIndexApi = (client) => {
@@ -16497,6 +16701,7 @@ function createCloudComputerApi(client) {
16497
16701
  url: "/v1/computer/cloud",
16498
16702
  operation: "cloud_computer.execute",
16499
16703
  method: "POST",
16704
+ timeoutMs: operation.action === "command" && operation.command.action === "start" && operation.command.backend === "worker-shell" ? ((operation.command.timeoutSeconds ?? 300) + 10) * 1e3 : 6e4,
16500
16705
  headers: { "content-type": "application/json" },
16501
16706
  body: JSON.stringify(operation),
16502
16707
  schema: cloudComputerResponseSchema,
@@ -19280,8 +19485,8 @@ const ROUTINE_TARGET_SPACES_PATH = "/v1/organizations/current/routine-target-spa
19280
19485
  function buildRoutinesPath(query = {}) {
19281
19486
  return appendRoutineContract(ROUTINES_PATH, query);
19282
19487
  }
19283
- function buildRoutineTargetSpacesPath() {
19284
- return ROUTINE_TARGET_SPACES_PATH;
19488
+ function buildRoutineTargetSpacesPath(agentProfileId) {
19489
+ return agentProfileId ? `${ROUTINE_TARGET_SPACES_PATH}?agentProfileId=${encodeURIComponent(agentProfileId)}` : ROUTINE_TARGET_SPACES_PATH;
19285
19490
  }
19286
19491
  function buildRoutinePath(routineId, query = {}) {
19287
19492
  return appendRoutineContract(`${ROUTINES_PATH}/${encodeURIComponent(routineId)}`, query);
@@ -19307,6 +19512,14 @@ function appendRoutineContract(path, query) {
19307
19512
  const PRACTICAL_ROUTINE_CONTRACT_QUERY = { contract: CENTER_AGENT_ROUTINE_PRACTICAL_CONTRACT };
19308
19513
  const MANAGEMENT_ROUTINE_CONTRACT_QUERY = { contract: CENTER_AGENT_ROUTINE_MANAGEMENT_CONTRACT };
19309
19514
  const createRoutinesApi = (client) => ({
19515
+ listAllRoutines: async (input = {}) => await client.requestJson({
19516
+ ...requestOptions(input),
19517
+ invalidMessage: "invalid Routine list response",
19518
+ method: "GET",
19519
+ operation: "routine.list",
19520
+ schema: listRoutineManagementResponseSchema,
19521
+ url: buildRoutinesPath({ contract: ROUTINE_MANAGEMENT_CONTRACT })
19522
+ }),
19310
19523
  listRoutines: async (input = {}) => await client.requestJson({
19311
19524
  ...requestOptions(input),
19312
19525
  invalidMessage: "invalid Routine list response",
@@ -19329,10 +19542,12 @@ const createRoutinesApi = (client) => ({
19329
19542
  method: "GET",
19330
19543
  operation: "routine.target_spaces.list",
19331
19544
  schema: listCenterAgentRoutineTargetSpacesResponseSchema,
19332
- url: buildRoutineTargetSpacesPath()
19545
+ url: buildRoutineTargetSpacesPath(input.agentProfileId)
19333
19546
  }),
19334
19547
  createRoutine: async (input) => {
19335
19548
  const body = requireValidInput(createCenterAgentRoutineBodySchema, {
19549
+ agentProfileId: input.agentProfileId,
19550
+ scope: input.scope,
19336
19551
  authorizedActions: input.authorizedActions,
19337
19552
  cronExpression: input.cronExpression,
19338
19553
  destinationKind: input.destinationKind,
@@ -19629,6 +19844,24 @@ function createServiceConnectionEvidenceApi(client) {
19629
19844
  })
19630
19845
  };
19631
19846
  }
19847
+ function createSessionHistoryApi(client) {
19848
+ return { request: (input) => client.requestJson({
19849
+ method: "POST",
19850
+ operation: "computer.session-history",
19851
+ timeoutMs: 4e4,
19852
+ schema: sessionHistoryResultSchema,
19853
+ invalidMessage: "Invalid session history response.",
19854
+ url: `/v1/people-computers/${encodeURIComponent(input.deviceId)}/lanes/${encodeURIComponent(input.runtimeLane)}/session-history`,
19855
+ headers: { "content-type": "application/json" },
19856
+ body: JSON.stringify({
19857
+ organizationId: input.organizationId,
19858
+ request: input.request,
19859
+ ...input.execution ? { execution: input.execution } : {}
19860
+ }),
19861
+ ...input.requestContext ? { requestContext: input.requestContext } : {},
19862
+ ...input.signal ? { signal: input.signal } : {}
19863
+ }) };
19864
+ }
19632
19865
  function buildCreateSpacePath() {
19633
19866
  return "/v1/spaces";
19634
19867
  }
@@ -21322,6 +21555,6 @@ function shouldWrapNetworkRequestError(error) {
21322
21555
  return message.includes("fetch failed") || message.includes("failed to fetch") || message.includes("network request failed");
21323
21556
  }
21324
21557
  //#endregion
21325
- export { buildLocalFolderPickerPath as $, OPENMELD_RUNTIME_CAPABILITIES_HEADER as $i, buildSpaceThreadEvidence as $n, organizationSkillRuntimeReleaseSelectionSchema as $r, createLocalProjectControlApi as $t, buildCurrentOrganizationDirectoryPath as A, resumeCenterAgentRoutineResponseSchema as Ai, normalizeApiBaseUrl as An, organizationSpaceDirectoryWithMemberCountsResponseSchema as Ar, buildSpaceAttachmentDownloadPath as At, buildCurrentOrganizationMessageChannelsPath as B, serviceConnectionEvidenceEventSchema 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, listCenterAgentRoutineRunsResponseSchema as Di, listSpaceFiles as Dn, mutateSpaceTaskBodySchema as Dr, buildRoutineRunsPath as Dt, buildComputerFileAccessUpdatePath as E, deleteCenterAgentRoutineResponseSchema as Ei, listSpaceFileRevisions as En, createSpaceTaskBodySchema as Er, buildRoutineResumePath as Et, buildCurrentOrganizationMessageChannelPath as F, agentActivityEventSchema as Fi, readCliRelease as Fn, SPACE_DISPATCH_TRACE_PROMPT_PREVIEW_MAX_CHARS as Fr, buildSpaceInboxUnreadTargetsPath as Ft, buildFeedbackIssueSubmissionPath as G, localProjectControlDiscoverProjectsResponseSchema as Gi, updateSpaceFileEntry as Gn, ORGANIZATION_SKILL_BUNDLE_MAX_BYTES as Gr, createConfigApi as Gt, buildCurrentOrganizationSpacesWithMemberCountsPath as H, signalTextEnvelopeSchema as Hi, toStructuredApiClientFailure as Hn, spaceDispatchTraceResponseSchema as Hr, createCloudComputerApi as Ht, buildCurrentOrganizationMessageChannelRegistrationPath as I, agentActivityProviderSchema as Ii, readOrUpdateSpaceFilePins as In, SPACE_DISPATCH_TRACE_RESPONSE_CONTRACT_VERSION_HEADER as Ir, createAccountSpaceIndexApi as It, buildInboxItemReadPath as J, listProjectsResponseSchema as Ji, uploadSpaceFile as Jn, listOrganizationSkillsResponseSchema as Jr, createFeedbackApi as Jt, buildInboxItemDismissPath as K, archiveProjectResponseSchema as Ki, updateSpaceMeta as Kn, ORGANIZATION_SKILL_FILE_MAX_BYTES as Kr, createCurrentDeviceApi as Kt, buildCurrentOrganizationMessageChannelRegistrationPollPath as L, agentActivitySessionStatusSchema as Li, readOrUpdateSpaceInputQueue as Ln, projectSpaceDispatchTraceFinalVisibleOutcome as Lr, createAgentActivityApi as Lt, buildCurrentOrganizationInformationProtectionPath as M, modelCatalogSchema as Mi, publicSpaceUrls as Mn, submitFeedbackIssueRequestSchema as Mr, buildSpaceFileContentPath as Mt, buildCurrentOrganizationLogoPath as N, AGENT_ACTIVITY_EVENT_MAX_BYTES as Ni, readAccountOrganizationContext as Nn, submitFeedbackIssueResponseSchema as Nr, buildSpaceInboxReadThroughPath as Nt, buildCurrentOrganizationCenterAgentMemoryWipeSelfPath as O, listCenterAgentRoutinesResponseSchema as Oi, listSpaceTasks as On, spaceTaskIdSchema as Or, buildRoutineTargetSpacesPath as Ot, buildCurrentOrganizationMemberOpenMeldServiceStatusesPath as P, AGENT_ACTIVITY_PRESENCE_TTL_MAX_MS as Pi, readAccountSession as Pn, spaceThreadEvidenceResponseSchema as Pr, buildSpaceInboxSummaryPath as Pt, buildInboxSummaryPath as Q, COMPUTER_FILE_ACCESS_RUNTIME_CAPABILITY as Qi, buildSpaceMessageEvidence as Qn, organizationSkillReleaseSummarySchema as Qr, createLocalFolderPickerApi as Qt, buildCurrentOrganizationMessageChannelRegistrationsPath as R, agentActivitySnapshotQuerySchema 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, createCenterAgentRoutineResponseSchema as Ti, isInboxNotificationEligible as Tn, gatewayErrorEnvelopeSchema as Tr, buildRoutinePausePath as Tt, buildDirectMessageConversionPath as U, localProjectControlConnectionSchema as Ui, trashSpaceFileEntry as Un, observabilityWakeTraceSelectorSchema as Ur, createComputerAuthorizationGrant as Ut, buildCurrentOrganizationSpacesPath as V, serviceConnectionEvidenceJournalSchema as Vi, setSpaceAccessMode as Vn, spaceDispatchTraceDispatchStatusSchema as Vr, createCenterAgentApi as Vt, buildDirectMessageSpacePath as W, localProjectControlDaemonFrameSchema as Wi, updateSpaceFileContent as Wn, projectObservabilityWakeCorrelation as Wr, createComputerFileAccessApi as Wt, buildInboxPath as X, updateProjectResponseSchema as Xi, DAEMON_STREAM_KEEPALIVE_PONG as Xn, organizationSkillFileSchema as Xr, createFileRootApi as Xt, buildInboxMarkAllReadPath as Y, projectSchema as Yi, DAEMON_STREAM_KEEPALIVE_PING as Yn, organizationSkillBundleSchema as Yr, createFetchTransport as Yt, buildInboxPreferencesPath as Z, COMPUTER_FILE_ACCESS_OWNER_CANCELLED_REASON_CODE 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, 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, 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, computerFileAccessDaemonFrameSchema 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, toCompatibleSpaceAddressingRequestWireValue as ia, removeSpaceMembersResponseSchema as ii, createOrganizationSkillsApi as in, OPENMELD_HEADER_PROFILE_ID as ir, buildOrganizationDocumentPath as it, buildCurrentOrganizationFeedbackReportingPolicyPath as j, updateCenterAgentRoutineResponseSchema as ji, postSpaceWorkHandoff as jn, organizationDirectoryResponseSchema as jr, buildSpaceBootstrapReadPath as jt, buildCurrentOrganizationComputersPath as k, pauseCenterAgentRoutineResponseSchema 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, computerFileAccessPolicySchema as na, leaveSpaceResponseSchema as ni, createOrganizationApi as nn, parseServerErrorFrame as nr, buildOrganizationDocumentApproveDraftPath as nt, buildAgentActivitySnapshotPath as o, 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, createProjectResponseSchema as qi, uploadSpaceAttachment as qn, getOrganizationSkillResponseSchema as qr, createDirectMessageApi as qt, buildAccountSpaceActiveWakeSummaryPath as r, toLegacySpaceImageGeometryWireValue as ra, postSpaceMembersResponseSchema as ri, createOrganizationDocumentsApi as rn, resolveCustomMentionAliasOverride as rr, buildOrganizationDocumentDiscardDraftPath as rt, buildAgentActivityStatsPath as s, spaceMemberDirectoryAllowedRelationsSchema as si, createPrepareReadinessApi as sn, OPENMELD_HEADER_SPACE_ADDRESSING_VERSION as sr, buildOrganizationSkillEnabledPath as st, OpenMeldApiClientHttpError as t, computerFileAccessPolicyInputSchema 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, agentActivitySnapshotResponseSchema as zi, resolveAccountSpaceIndexGatewayHost as zn, resolveSpaceDispatchTraceRootCause as zr, createAgentProfileExecutionModeApi as zt };
21558
+ export { buildLocalFolderPickerPath as $, agentActivitySnapshotResponseSchema as $i, buildSpaceMessageEvidence as $n, observabilityWakeTraceSelectorSchema as $r, createLocalProjectControlApi as $t, buildCurrentOrganizationDirectoryPath as A, localAgentSessionProviderSchema as Ai, mutateSpaceTask as An, spaceTaskMutationReceiptSchema as Ar, buildSpaceAttachmentDownloadPath as At, buildCurrentOrganizationMessageChannelsPath as B, listRoutineManagementResponseSchema as Bi, resolveAccountSpaceIndexGatewayHost as Bn, sessionHistoryReadSchema as Br, createAgentProfileWorkRecoveryApi as Bt, buildCenterAgentSessionPath as C, projectOwnerComputerLocalRuntimes as Ci, inboxMessageNotificationSpaceId as Cn, DEFAULT_AGENT_PROFILE_CREATION_CONFIGURATION as Cr, buildProjectsPath as Ct, buildCurrentAgentProfileSessionRoute as D, agentActivityInventorySessionStatusSchema as Di, listSpaceFileRevisions as Dn, createSpaceTaskBodySchema as Dr, buildRoutineRunsPath as Dt, buildComputerFileAccessUpdatePath as E, agentActivityInventorySessionOriginSchema as Ei, isInboxNotificationEligible as En, gatewayErrorEnvelopeSchema as Er, buildRoutineResumePath as Et, buildCurrentOrganizationMessageChannelPath as F, centerAgentRoutineSchema as Fi, readAccountSession as Fn, SESSION_HISTORY_CAPABILITY_HEADER as Fr, buildSpaceInboxUnreadTargetsPath as Ft, buildFeedbackIssueSubmissionPath as G, updateCenterAgentRoutineResponseSchema as Gi, updateSpaceFileContent as Gn, SPACE_DISPATCH_TRACE_PROMPT_PREVIEW_MAX_CHARS as Gr, createConfigApi as Gt, buildCurrentOrganizationSpacesWithMemberCountsPath as H, resumeCenterAgentRoutineResponseSchema as Hi, setSpaceAccessMode as Hn, sessionHistoryResultFrameSchema as Hr, createCloudComputerApi as Ht, buildCurrentOrganizationMessageChannelRegistrationPath as I, createCenterAgentRoutineResponseSchema as Ii, readCliRelease as In, SESSION_HISTORY_RUNTIME_CAPABILITY as Ir, createAccountSpaceIndexApi as It, buildInboxItemReadPath as J, AGENT_ACTIVITY_PRESENCE_TTL_MAX_MS as Ji, uploadSpaceAttachment as Jn, resolveRuntimeCoordinatorHeadStatusRootCause as Jr, createFeedbackApi as Jt, buildInboxItemDismissPath as K, modelCatalogSchema as Ki, updateSpaceFileEntry as Kn, SPACE_DISPATCH_TRACE_RESPONSE_CONTRACT_VERSION_HEADER as Kr, createCurrentDeviceApi as Kt, buildCurrentOrganizationMessageChannelRegistrationPollPath as L, deleteCenterAgentRoutineResponseSchema as Li, readOrUpdateSpaceFilePins as Ln, sessionHistoryAuditSchema as Lr, createAgentActivityApi as Lt, buildCurrentOrganizationInformationProtectionPath as M, resolveInitialSpaceAccessMode as Mi, postSpaceWorkHandoff as Mn, organizationDirectoryResponseSchema as Mr, buildSpaceFileContentPath as Mt, buildCurrentOrganizationLogoPath as N, spaceCreatorSchema as Ni, publicSpaceUrls as Nn, submitFeedbackIssueRequestSchema as Nr, buildSpaceInboxReadThroughPath as Nt, buildCurrentOrganizationCenterAgentMemoryWipeSelfPath as O, agentActivitySessionInventoryQuerySchema as Oi, listSpaceFiles as On, mutateSpaceTaskBodySchema as Or, buildRoutineTargetSpacesPath as Ot, buildCurrentOrganizationMemberOpenMeldServiceStatusesPath as P, spaceMetaSchema as Pi, readAccountOrganizationContext as Pn, submitFeedbackIssueResponseSchema as Pr, buildSpaceInboxSummaryPath as Pt, buildInboxSummaryPath as Q, agentActivitySnapshotQuerySchema as Qi, MAX_TEXT_LENGTH as Qn, spaceDispatchTraceResponseSchema as Qr, createLocalFolderPickerApi as Qt, buildCurrentOrganizationMessageChannelRegistrationsPath as R, listCenterAgentRoutineRunsResponseSchema as Ri, readOrUpdateSpaceInputQueue as Rn, sessionHistoryPageSchema as Rr, createAgentProfileBindingApi as Rt, buildCenterAgentProfilePath as S, ownerComputerDiagnosticsSchema as Si, getSpaceTask as Sn, betterAuthSessionSnapshotResponseSchema as Sr, buildProjectPath as St, buildComputerFileAccessReadPath as T, organizationComputersResponseSchema as Ti, isInboxItemVisibleConversation as Tn, createAgentProfileCreationRequestBodySchema as Tr, buildRoutinePausePath as Tt, buildDirectMessageConversionPath as U, routineManagementSchema as Ui, toStructuredApiClientFailure as Un, sessionHistoryResultSchema as Ur, createComputerAuthorizationGrant as Ut, buildCurrentOrganizationSpacesPath as V, pauseCenterAgentRoutineResponseSchema as Vi, resolveProfileSpaceHistoryGatewayHost as Vn, sessionHistoryRequestFrameSchema as Vr, createCenterAgentApi as Vt, buildDirectMessageSpacePath as W, routineScopeSchema as Wi, trashSpaceFileEntry as Wn, spaceThreadEvidenceResponseSchema as Wr, createComputerFileAccessApi as Wt, buildInboxPath as X, agentActivityProviderSchema as Xi, DAEMON_STREAM_KEEPALIVE_PING as Xn, spaceDispatchTraceAttemptStatusSchema as Xr, createFileRootApi as Xt, buildInboxMarkAllReadPath as Y, agentActivityEventSchema as Yi, uploadSpaceFile as Yn, resolveSpaceDispatchTraceRootCause as Yr, createFetchTransport as Yt, buildInboxPreferencesPath as Z, agentActivitySessionStatusSchema as Zi, DAEMON_STREAM_KEEPALIVE_PONG as Zn, spaceDispatchTraceDispatchStatusSchema as Zr, createInboxApi as Zt, buildCenterAgentDirectMessageSpacePath as _, toLegacySpaceImageGeometryWireValue as _a, spaceMemberDirectoryAllowedRelationsSchema as _i, createSpaceFolder as _n, betterAuthDeviceAuthorizationCodeRequestSchema as _r, buildOrganizationUsageOverviewPath as _t, buildAgentActivitySessionsPath as a, localProjectControlDiscoverProjectsResponseSchema as aa, organizationSkillBundleSchema as ai, createOrganizationUsageApi as an, OPENMELD_HEADER_PROFILE_ID as ar, buildOrganizationDocumentsPath as at, buildCenterAgentMemberResearchPath as b, spaceMemberKindSchema as bi, getModelCatalog as bn, betterAuthDeviceAuthorizationTokenRequestSchema as br, buildProfileSpaceHistoryStatusPath as bt, buildAgentProfileCreationApprovalPreferencePath as c, listProjectsResponseSchema as ca, organizationSkillReleaseSummarySchema as ci, createProfileSpaceHistoryApi as cn, OPENMELD_HEADER_SPACE_ADDRESSING_VERSION as cr, buildOrganizationSkillFilesImportPath as ct, buildAgentProfileCreationRequestDecisionPath as d, COMPUTER_FILE_ACCESS_OWNER_CANCELLED_REASON_CODE as da, stringifyOrganizationSkillBundleCanonicalJson as di, createReasoningStreamApi as dn, cloudComputerOperationSchema as dr, buildOrganizationSkillGitHubPreviewPath as dt, serviceConnectionEvidenceEventSchema as ea, projectObservabilityWakeCorrelation as ei, createLocalRuntimeExpectedRoutesApi as en, buildSpaceThreadEvidence as er, buildLocalProjectControlPath as et, buildAgentProfileCreationRequestRetryPath as f, COMPUTER_FILE_ACCESS_RUNTIME_CAPABILITY as fa, leaveSpaceResponseSchema as fi, createRoutinesApi as fn, getSpaceUpdatesResponseSchema as fr, buildOrganizationSkillMaintainersPath as ft, buildCenterAgentDesignationPath as g, computerFileAccessPolicySchema as ga, spaceMemberAgentWakeAvailabilitySchema as gi, createSpaceApi as gn, BETTER_AUTH_DEVICE_AUTHORIZATION_GRANT_TYPE as gr, buildOrganizationSkillsPath as gt, buildCenterAgentAuditJournalPath as h, computerFileAccessPolicyInputSchema as ha, resolvedSpaceMemberProfileSchema as hi, createSessionHistoryApi as hn, pluginActionRequestSchema as hr, buildOrganizationSkillResourcePath as ht, buildAccountSpaceIndexPath as i, localProjectControlDaemonFrameSchema as ia, listOrganizationSkillsResponseSchema as ii, createOrganizationSkillsApi as in, resolveCustomMentionAliasOverride as ir, buildOrganizationDocumentPath as it, buildCurrentOrganizationFeedbackReportingPolicyPath as j, observedLocalAgentSessionSchema as ji, normalizeApiBaseUrl as jn, organizationSpaceDirectoryWithMemberCountsResponseSchema as jr, buildSpaceBootstrapReadPath as jt, buildCurrentOrganizationComputersPath as k, agentActivitySessionInventoryResponseSchema as ki, listSpaceTasks as kn, spaceTaskIdSchema as kr, buildRoutinesPath as kt, buildAgentProfileCreationDefaultsPath as l, projectSchema as la, organizationSkillRuntimeReleaseSelectionSchema as li, createProfilesApi as ln, buildOpenMeldRequestContextHeaders as lr, buildOrganizationSkillFilesPreviewPath as lt, buildAgentProfileWorkRecoveryRoute as m, computerFileAccessDaemonFrameSchema as ma, removeSpaceMembersResponseSchema as mi, createServiceConnectionEvidenceApi as mn, openDirectMessageSpaceBodySchema as mr, buildOrganizationSkillRepositoryPreviewPath as mt, OpenMeldApiClientInvalidResponseError as n, signalTextEnvelopeSchema as na, ORGANIZATION_SKILL_FILE_MAX_BYTES as ni, createOrganizationApi as nn, parseIncoming as nr, buildOrganizationDocumentApproveDraftPath as nt, buildAgentActivitySnapshotPath as o, archiveProjectResponseSchema as oa, organizationSkillFileSchema as oi, createPluginsApi as on, OPENMELD_HEADER_REQUESTED_ORGANIZATION_ID as or, buildOrganizationSkillCatalogPath as ot, buildAgentProfileCreationRequestsPath as p, OPENMELD_RUNTIME_CAPABILITIES_HEADER as pa, postSpaceMembersResponseSchema as pi, createRuntimeReportingApi as pn, spaceEntryTargetSchema as pr, buildOrganizationSkillPath as pt, buildInboxItemPath as q, AGENT_ACTIVITY_EVENT_MAX_BYTES as qi, updateSpaceMeta as qn, projectSpaceDispatchTraceFinalVisibleOutcome as qr, createDirectMessageApi as qt, buildAccountSpaceActiveWakeSummaryPath as r, localProjectControlConnectionSchema as ra, getOrganizationSkillResponseSchema as ri, createOrganizationDocumentsApi as rn, parseServerErrorFrame as rr, buildOrganizationDocumentDiscardDraftPath as rt, buildAgentActivityStatsPath as s, createProjectResponseSchema as sa, organizationSkillGitHubRepositoryPreviewSchema as si, createPrepareReadinessApi as sn, OPENMELD_HEADER_REQUEST_ID as sr, buildOrganizationSkillEnabledPath as st, OpenMeldApiClientHttpError as t, serviceConnectionEvidenceJournalSchema as ta, ORGANIZATION_SKILL_BUNDLE_MAX_BYTES as ti, createOpenMeldApiClient as tn, parseEnvelope as tr, buildModelCatalogPath as tt, buildAgentProfileCreationRequestCancelPath as u, updateProjectResponseSchema as ua, organizationSkillSummarySchema as ui, createProjectsApi as un, toErrorMessage$2 as ur, buildOrganizationSkillGitHubImportPath as ut, buildCenterAgentInboxReadThroughPath as v, toCompatibleSpaceAddressingRequestWireValue as va, spaceMemberDirectoryEntrySchema as vi, createSpaceTask as vn, betterAuthDeviceAuthorizationCodeResponseSchema as vr, buildProfileRoute as vt, buildCenterAgentSessionsPath as w, summarizeComputerFileAccessPolicy as wi, isInboxItemInOrganizationScope as wn, agentProfileCreationConfigurationSchema as wr, buildRoutinePath as wt, buildCenterAgentOperatingStatePath as x, submitAgentControllerTaskLifecycleEventItemSchema as xi, getSpaceFile as xn, betterAuthDeviceAuthorizationTokenResponseSchema as xr, buildProfileSpaceHistoryUpsertPath as xt, buildCenterAgentInboxSummaryPath as y, spaceMemberDirectorySchema as yi, downloadSpaceFileContent as yn, betterAuthDeviceAuthorizationErrorResponseSchema as yr, buildProfileSpaceHistoryListPath as yt, buildCurrentOrganizationMessageChannelSetupRequestsPath as z, listCenterAgentRoutinesResponseSchema as zi, readOrUpdateSpaceMessagePins as zn, sessionHistoryPolicySchema as zr, createAgentProfileExecutionModeApi as zt };
21326
21559
 
21327
- //# sourceMappingURL=dist-Cu_yzOuS.js.map
21560
+ //# sourceMappingURL=dist-DGeoVaIx.js.map