openmeld 0.3.227 → 0.3.229

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 (93) hide show
  1. package/dist/{add-me-membership-pkREbEJG.js → add-me-membership-25sIYCId.js} +2 -2
  2. package/dist/{add-me-membership-pkREbEJG.js.map → add-me-membership-25sIYCId.js.map} +1 -1
  3. package/dist/{agents-D_RojMEE.js → agents-DqhKdgat.js} +9 -9
  4. package/dist/{agents-D_RojMEE.js.map → agents-DqhKdgat.js.map} +1 -1
  5. package/dist/{api-client-foundation-Czb9hJvA.js → api-client-foundation-DgTXf3Gb.js} +3 -3
  6. package/dist/{api-client-foundation-Czb9hJvA.js.map → api-client-foundation-DgTXf3Gb.js.map} +1 -1
  7. package/dist/{api-client-foundation-CEScBsM7.js → api-client-foundation-d4E5XWdJ.js} +1 -1
  8. package/dist/auth-session-DExyUwLo.js +4 -0
  9. package/dist/{auth-session-Q0B3Nfae.js → auth-session-pLaN5cnC.js} +2 -2
  10. package/dist/{auth-session-Q0B3Nfae.js.map → auth-session-pLaN5cnC.js.map} +1 -1
  11. package/dist/{channel-B1gMWx__.js → channel-DppbHxHw.js} +3 -3
  12. package/dist/{channel-B1gMWx__.js.map → channel-DppbHxHw.js.map} +1 -1
  13. package/dist/{command-B5E_YSAY.js → command-BFIRSLTj.js} +15 -15
  14. package/dist/{command-B5E_YSAY.js.map → command-BFIRSLTj.js.map} +1 -1
  15. package/dist/{computer-connection-BbDdF_MD.js → computer-connection-DMkamVpB.js} +2 -2
  16. package/dist/{computer-connection-BbDdF_MD.js.map → computer-connection-DMkamVpB.js.map} +1 -1
  17. package/dist/{computer-connection-review-Dop02mby.js → computer-connection-review-C9CKzIdH.js} +5 -5
  18. package/dist/{computer-connection-review-Dop02mby.js.map → computer-connection-review-C9CKzIdH.js.map} +1 -1
  19. package/dist/{computer-disconnect-pH6HaHQq.js → computer-disconnect-Cvl_ia32.js} +7 -7
  20. package/dist/{computer-disconnect-pH6HaHQq.js.map → computer-disconnect-Cvl_ia32.js.map} +1 -1
  21. package/dist/{computer-setup-continuation-BhM3HsRI.js → computer-setup-continuation-uFrI9ZaE.js} +3 -3
  22. package/dist/{computer-setup-continuation-BhM3HsRI.js.map → computer-setup-continuation-uFrI9ZaE.js.map} +1 -1
  23. package/dist/{context-D3kAC8RG.js → context-qbQXVLF5.js} +3 -3
  24. package/dist/{context-D3kAC8RG.js.map → context-qbQXVLF5.js.map} +1 -1
  25. package/dist/{daemon-device-id-DEGf1fm6.js → daemon-device-id-B6iDyQEs.js} +4 -4
  26. package/dist/{daemon-device-id-DEGf1fm6.js.map → daemon-device-id-B6iDyQEs.js.map} +1 -1
  27. package/dist/{daemon-frame-transport-BMZP90f0.js → daemon-frame-transport-BQR5LfG2.js} +52 -8
  28. package/dist/{daemon-frame-transport-BMZP90f0.js.map → daemon-frame-transport-BQR5LfG2.js.map} +1 -1
  29. package/dist/{daemon-lifecycle-journal-NeBAn_SY.js → daemon-lifecycle-journal-G_C_pRtu.js} +3 -3
  30. package/dist/{daemon-lifecycle-journal-NeBAn_SY.js.map → daemon-lifecycle-journal-G_C_pRtu.js.map} +1 -1
  31. package/dist/{daemon-service-runtime-nIBQreis.js → daemon-service-runtime-BkVvz7bG.js} +2 -2
  32. package/dist/{daemon-service-runtime-nIBQreis.js.map → daemon-service-runtime-BkVvz7bG.js.map} +1 -1
  33. package/dist/{daemon-service-update-coordinator-BdcEl-QC.js → daemon-service-update-coordinator-UajkUU66.js} +43 -34
  34. package/dist/daemon-service-update-coordinator-UajkUU66.js.map +1 -0
  35. package/dist/{dist-DkN9tKMX.js → dist-CAypwFRu.js} +693 -63
  36. package/dist/dist-CAypwFRu.js.map +1 -0
  37. package/dist/{dist-vpxgF6Lp.js → dist-DFhd6JmQ.js} +2 -2
  38. package/dist/{dist-vpxgF6Lp.js.map → dist-DFhd6JmQ.js.map} +1 -1
  39. package/dist/dist-olOaAWkl.js +4 -0
  40. package/dist/{elapsed-time-BxMWSsxC.js → elapsed-time-UlhDiZjv.js} +5 -5
  41. package/dist/{elapsed-time-BxMWSsxC.js.map → elapsed-time-UlhDiZjv.js.map} +1 -1
  42. package/dist/{entry-jvTvDBr-.js → entry-BotSzkFU.js} +7 -7
  43. package/dist/{entry-jvTvDBr-.js.map → entry-BotSzkFU.js.map} +1 -1
  44. package/dist/{installation-inventory-Bf1SvGVh.js → installation-inventory-BgZq7fWv.js} +3 -3
  45. package/dist/{installation-inventory-Bf1SvGVh.js.map → installation-inventory-BgZq7fWv.js.map} +1 -1
  46. package/dist/{installer-IVAr1ZD-.js → installer-DxU4S_WH.js} +2 -2
  47. package/dist/{installer-IVAr1ZD-.js.map → installer-DxU4S_WH.js.map} +1 -1
  48. package/dist/{meta-api-BYB9vhya.js → meta-api-D0nhhSY7.js} +6 -6
  49. package/dist/{meta-api-BYB9vhya.js.map → meta-api-D0nhhSY7.js.map} +1 -1
  50. package/dist/{openmeld-0pnb6g3R.js → openmeld-BWAL_LKY.js} +822 -36
  51. package/dist/openmeld-BWAL_LKY.js.map +1 -0
  52. package/dist/{openmeld-maintenance-worker-CSes51Vp.js → openmeld-maintenance-worker-DOTHTGQt.js} +9 -9
  53. package/dist/{openmeld-maintenance-worker-CSes51Vp.js.map → openmeld-maintenance-worker-DOTHTGQt.js.map} +1 -1
  54. package/dist/{openmeld-tools-update-join-BlPynw_v.js → openmeld-tools-update-join-DQd7kyjX.js} +4 -4
  55. package/dist/{openmeld-tools-update-join-BlPynw_v.js.map → openmeld-tools-update-join-DQd7kyjX.js.map} +1 -1
  56. package/dist/openmeld.js +4 -4
  57. package/dist/{prepare-provider-runtime-DSKQFj-R.js → prepare-provider-runtime-DDYaeyRp.js} +9 -9
  58. package/dist/{prepare-provider-runtime-DSKQFj-R.js.map → prepare-provider-runtime-DDYaeyRp.js.map} +1 -1
  59. package/dist/{prepare-session-executor-DEJ9OaJh.js → prepare-session-executor-C7n9tbr-.js} +18 -18
  60. package/dist/{prepare-session-executor-DEJ9OaJh.js.map → prepare-session-executor-C7n9tbr-.js.map} +1 -1
  61. package/dist/{process-channel-BIumgluJ.js → process-channel-DmTb_kO4.js} +2 -2
  62. package/dist/{process-channel-BIumgluJ.js.map → process-channel-DmTb_kO4.js.map} +1 -1
  63. package/dist/{runtime-Du3Az4wt.js → runtime-Cxz_FMWn.js} +16 -16
  64. package/dist/{runtime-Du3Az4wt.js.map → runtime-Cxz_FMWn.js.map} +1 -1
  65. package/dist/{runtime-agent-controller-reporting-submission-Bl2CWQ96.js → runtime-agent-controller-reporting-submission-Ba_cI1hv.js} +8 -8
  66. package/dist/{runtime-agent-controller-reporting-submission-Bl2CWQ96.js.map → runtime-agent-controller-reporting-submission-Ba_cI1hv.js.map} +1 -1
  67. package/dist/{runtime-reporting-health-state-CKmph14R.js → runtime-reporting-health-state-BUX4e4x7.js} +9 -9
  68. package/dist/{runtime-reporting-health-state-CKmph14R.js.map → runtime-reporting-health-state-BUX4e4x7.js.map} +1 -1
  69. package/dist/{runtime-transport-DUR91mKK.js → runtime-transport-D4x8_AmR.js} +19 -2
  70. package/dist/runtime-transport-D4x8_AmR.js.map +1 -0
  71. package/dist/{service-Bh1iD84k.js → service-BHNAamFv.js} +18 -18
  72. package/dist/{service-Bh1iD84k.js.map → service-BHNAamFv.js.map} +1 -1
  73. package/dist/{service-account-authorization-CyV8YFAw.js → service-account-authorization-Di59Cjth.js} +2 -2
  74. package/dist/{service-account-authorization-CyV8YFAw.js.map → service-account-authorization-Di59Cjth.js.map} +1 -1
  75. package/dist/{service-account-control-Cc6qVa0m.js → service-account-control-s0OXYGgp.js} +9 -9
  76. package/dist/{service-account-control-Cc6qVa0m.js.map → service-account-control-s0OXYGgp.js.map} +1 -1
  77. package/dist/{service-control-capabilities-D4W3WTHS.js → service-control-capabilities-DrFu2peO.js} +3 -3
  78. package/dist/{service-control-capabilities-D4W3WTHS.js.map → service-control-capabilities-DrFu2peO.js.map} +1 -1
  79. package/dist/{service-control-capabilities-CdVTTNRK.js → service-control-capabilities-LZc_90-g.js} +1 -1
  80. package/dist/{state-ClTXLNB3.js → state-mQWCO2uD.js} +2 -2
  81. package/dist/{state-ClTXLNB3.js.map → state-mQWCO2uD.js.map} +1 -1
  82. package/dist/upgrade-BFwP5HXC.js +4 -0
  83. package/dist/{upgrade-B07Dh83M.js → upgrade-CJn4nMKH.js} +7 -7
  84. package/dist/{upgrade-B07Dh83M.js.map → upgrade-CJn4nMKH.js.map} +1 -1
  85. package/dist/windows/openmeld-windows-process.exe +0 -0
  86. package/package.json +13 -13
  87. package/dist/auth-session-ga82_Wa9.js +0 -4
  88. package/dist/daemon-service-update-coordinator-BdcEl-QC.js.map +0 -1
  89. package/dist/dist-C5emSnFG.js +0 -4
  90. package/dist/dist-DkN9tKMX.js.map +0 -1
  91. package/dist/openmeld-0pnb6g3R.js.map +0 -1
  92. package/dist/runtime-transport-DUR91mKK.js.map +0 -1
  93. package/dist/upgrade-DgTfV7-m.js +0 -4
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { C as resolveBuiltinAgentControllerConversationCapability, S as agentControllerConversationCapabilitySchema, b as normalizeKnownBuiltinAgentControllerId, h as agentControllerRefSchema, s as runtimeTransportModeSchema } from "./controller-contract-DAOCaefz.js";
4
- import { Ar as spaceMentionLabelSourceSchema, At as wakeDeviceWaitTargetSchema, Br as agentProfileWorkRecoveryActionKindSchema, Bt as centerAgentInteractionSourceSchema, Cr as spaceTraceExecutionIdentityProjectionSchema, Dn as spaceThreadSchema, Dt as signalSystemNoticeDataSchema, En as spaceThreadEventSchema, Er as spacePasswordSchema, Et as signalStatusDataSchema, Fn as workingLanguageGuidanceSchema, Ft as spaceAttachmentSizeBytesSchema, G as openMeldDaemonOriginalErrorSchema, In as workingLanguageTagSchema, Ir as localAgentReasoningPreferencesSchema, It as spaceMessageAttachmentSchema, Jn as openMeldWebUrlSchema, Jr as localFolderPathSchema, Jt as SPACE_FILE_MAX_SIZE_BYTES, K as openMeldDaemonProviderAccessEvidenceProviderSchema, Kn as computerSetupModeSchema, Kr as localFolderPickerRequestSchema, Lr as executeExecutionRecoveryBodySchema, Lt as spaceMessageAttachmentsSchema, Mn as spaceAllowedActionsSchema, Mr as organizationProtectedInformationSchema, Mt as spaceAttachmentDimensionSchema, Nn as spacePublicationModeSchema, Nr as updateOrganizationInformationProtectionPolicyBodySchema, Nt as spaceAttachmentFileNameSchema, On as spaceThreadSignalPlacementSchema, Ot as signalTextDataSchema, Pn as spaceDispatchPolicySchema, Pt as spaceAttachmentMimeTypeSchema, Qt as getSpaceFileResponseSchema, Rn as targetWakeLifecycleIdentitySchema, Rr as executeExecutionRecoveryResponseSchema, Rt as conversationCompactionMarkerSchema, Sn as uploadSpaceFileResponseSchema, Tn as spaceThreadContextSchema, Tr as normalizeSpacePasswordText, Un as messageEnvelopeSchema, Ut as spaceWorkHandoffSchema, V as runtimeTransportRuntimeCoordinatorRespondInteractionResponseSchema, Xn as connectorConnectionScopeSchema, Xt as createSpaceFolderResponseSchema, Yn as connectorConnectionNameSchema, Yr as START_BOUNDED_ID_SCHEMA, Z as openMeldDaemonTaskResultProjectFailureContextSchema, Zn as connectorServiceSchema, Zt as discardSpaceComposerUploadResponseSchema, _r as runtimeCoordinatorExecutionCreationDiagnosticSchema, an as restoreSpaceFileEntryResponseSchema, ar as spaceAgentStreamPresenceSchema, at as agentDelegationSnapshotSchema, bn as trashSpaceFileEntryResponseSchema, cn as spaceComposerUploadIdSchema, ct as agentTaskHandleSchema, di as updateAgentProfileDefaultProjectResponseSchema, dn as spaceFileDescriptorSchema, dt as buildAgentTaskKey, ei as localAgentCatalogLaunchStatusSchema, en as listSpaceFileRevisionsResponseSchema, fi as updateProfileResponseSchema, fn as spaceFileEntryIdSchema, fr as agentInteractionResponseSchema, ft as controllerAgentTaskHandleSchema, hi as MAX_TEXT_LENGTH$1, hn as spaceFileOriginSchema, hr as clientMessageIdSchema$1, i as daemonExecutionCompatibilitySchema, ir as spaceAgentStreamPartFrameSchema, it as spaceCallerContextSchema, jn as resultArchivePolicySchema, jr as organizationInformationProtectionPolicyResponseSchema, jt as spaceAttachmentDescriptorSchema, kr as spaceMentionLabelSchema, kt as signalTextSchema, ln as spaceFileActorSchema, lr as agentInteractionPendingSummarySchema, lt as agentTaskTerminalOutcomeSchema, mi as openMeldRequestContextSchema, mn as spaceFileNameSchema, mr as postSpaceWakeStopResponseSchema, ni as localAgentCatalogWithLifecycleSchema, nn as publishSpaceComposerUploadResponseSchema, nr as agentStreamToolPartSchema, oi as authProfileManagedRoleSchema, on as restoreSpaceFileRevisionResponseSchema, or as spaceAgentStreamSnapshotSchema, ot as agentTaskCompletionConditionSchema, pn as spaceFileMimeTypeSchema, pr as postSpaceWakeStopBodySchema, pt as spaceWakeAgentTaskHandleSchema, qn as openMeldNavigationTargetSchema, qr as localFolderPickerResultSchema, qt as SPACE_FILE_ERROR_CODES, rr as spaceAgentStreamDeltaFrameSchema, si as authProfileViewSchema, sn as spaceComposerUploadDescriptorSchema, sr as spaceAgentStreamTerminalFrameSchema, st as agentTaskCompletionObservationSchema, tn as listSpaceFilesResponseSchema, tr as AGENT_STREAM_SNAPSHOT_MAX_CHARS, ui as updateAgentProfileDefaultProjectBodySchema, un as spaceFileClientMutationIdSchema, ut as areAgentTaskTerminalOutcomesEqual, vn as spaceMessageFileReferencesSchema, vr as runtimeCoordinatorExecutionEventSchema, wn as computerCareObservationSchema, wr as SPACE_PASSWORD_RATE_LIMITED_ERROR_CODE, xn as updateSpaceFileEntryResponseSchema, yn as stageSpaceComposerUploadResponseSchema, yr as runtimeCoordinatorExecutionRecordSchema, zr as inspectExecutionRecoveryResponseSchema } from "./runtime-transport-DUR91mKK.js";
4
+ import { $n as openMeldWebUrlSchema, $r as localFolderPathSchema, An as spaceThreadContextSchema, Ar as normalizeSpacePasswordText, At as wakeDeviceWaitTargetSchema, Bn as workingLanguageGuidanceSchema, Bt as centerAgentInteractionSourceSchema, Cn as spaceMessageFileReferencesSchema, Cr as runtimeCoordinatorExecutionEventSchema, Dn as uploadSpaceFileResponseSchema, Dt as signalSystemNoticeDataSchema, En as updateSpaceFileEntryResponseSchema, Et as signalStatusDataSchema, Fr as spaceMentionLabelSourceSchema, Ft as spaceAttachmentSizeBytesSchema, G as openMeldDaemonOriginalErrorSchema, Gr as agentProfileWorkRecoveryActionKindSchema, Hr as executeExecutionRecoveryBodySchema, In as resultArchivePolicySchema, Ir as organizationInformationProtectionPolicyResponseSchema, It as spaceMessageAttachmentSchema, Jn as messageEnvelopeSchema, Jt as SPACE_FILE_MAX_SIZE_BYTES, K as openMeldDaemonProviderAccessEvidenceProviderSchema, Ln as spaceAllowedActionsSchema, Lr as organizationProtectedInformationSchema, Lt as spaceMessageAttachmentsSchema, Mn as spaceThreadSchema, Mt as spaceAttachmentDimensionSchema, Nn as spaceThreadSignalPlacementSchema, Nt as spaceAttachmentFileNameSchema, Or as spaceTraceExecutionIdentityProjectionSchema, Ot as signalTextDataSchema, Pr as spaceMentionLabelSchema, Pt as spaceAttachmentMimeTypeSchema, Qn as openMeldNavigationTargetSchema, Qr as localFolderPickerResultSchema, Qt as getSpaceFileResponseSchema, Rn as spacePublicationModeSchema, Rr as updateOrganizationInformationProtectionPolicyBodySchema, Rt as conversationCompactionMarkerSchema, Sr as runtimeCoordinatorExecutionCreationDiagnosticSchema, Tn as trashSpaceFileEntryResponseSchema, Un as targetWakeLifecycleIdentitySchema, Ur as executeExecutionRecoveryResponseSchema, Ut as spaceWorkHandoffSchema, V as runtimeTransportRuntimeCoordinatorRespondInteractionResponseSchema, Vn as workingLanguageTagSchema, Vr as localAgentReasoningPreferencesSchema, Wr as inspectExecutionRecoveryResponseSchema, Xt as createSpaceFolderResponseSchema, Z as openMeldDaemonTaskResultProjectFailureContextSchema, Zn as computerSetupModeSchema, Zr as localFolderPickerRequestSchema, Zt as discardSpaceComposerUploadResponseSchema, _i as updateProfileResponseSchema, _n as spaceFileNameSchema, _r as agentInteractionResponseSchema, ai as localAgentCatalogLaunchStatusSchema, an as restoreSpaceFileEntryResponseSchema, at as agentDelegationSnapshotSchema, bi as MAX_TEXT_LENGTH$1, bn as spaceFileRevisionSchema, br as clientMessageIdSchema$1, cn as spaceComposerUploadIdSchema, cr as spaceAgentStreamDeltaFrameSchema, ct as agentTaskHandleSchema, di as authProfileManagedRoleSchema, dn as spaceFileBreadcrumbSchema, dr as spaceAgentStreamSnapshotSchema, dt as buildAgentTaskKey, ei as START_BOUNDED_ID_SCHEMA, en as listSpaceFileRevisionsResponseSchema, er as connectorConnectionNameSchema, fi as authProfileViewSchema, fn as spaceFileCapabilitiesSchema, fr as spaceAgentStreamTerminalFrameSchema, ft as controllerAgentTaskHandleSchema, gi as updateAgentProfileDefaultProjectResponseSchema, gn as spaceFileMimeTypeSchema, hi as updateAgentProfileDefaultProjectBodySchema, hn as spaceFileEntryIdSchema, i as daemonExecutionCompatibilitySchema, it as spaceCallerContextSchema, jn as spaceThreadEventSchema, jr as spacePasswordSchema, jt as spaceAttachmentDescriptorSchema, kn as computerCareObservationSchema, kr as SPACE_PASSWORD_RATE_LIMITED_ERROR_CODE, kt as signalTextSchema, ln as spaceFileActorSchema, lr as spaceAgentStreamPartFrameSchema, lt as agentTaskTerminalOutcomeSchema, mn as spaceFileDescriptorSchema, mr as agentInteractionPendingSummarySchema, nn as publishSpaceComposerUploadResponseSchema, nr as connectorServiceSchema, on as restoreSpaceFileRevisionResponseSchema, or as AGENT_STREAM_SNAPSHOT_MAX_CHARS, ot as agentTaskCompletionConditionSchema, pn as spaceFileClientMutationIdSchema, pt as spaceWakeAgentTaskHandleSchema, qt as SPACE_FILE_ERROR_CODES, si as localAgentCatalogWithLifecycleSchema, sn as spaceComposerUploadDescriptorSchema, sr as agentStreamToolPartSchema, st as agentTaskCompletionObservationSchema, tn as listSpaceFilesResponseSchema, tr as connectorConnectionScopeSchema, un as spaceFileBaseRevisionSchema, ur as spaceAgentStreamPresenceSchema, ut as areAgentTaskTerminalOutcomesEqual, vn as spaceFileOriginSchema, vr as postSpaceWakeStopBodySchema, wn as stageSpaceComposerUploadResponseSchema, wr as runtimeCoordinatorExecutionRecordSchema, xn as spaceFolderDescriptorSchema, yi as openMeldRequestContextSchema, yn as spaceFileRevisionNumberSchema, yr as postSpaceWakeStopResponseSchema, zn as spaceDispatchPolicySchema } from "./runtime-transport-D4x8_AmR.js";
5
5
  import { i as cliBinaryManifestSchema } from "./cli-binary-manifest-Bjf6T7Ef.js";
6
6
  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-rTE2rHZ5.js";
7
7
  import { A as coerce, B as number, C as openMeldToolsUpdateRequestResultSchema, E as NEVER, F as iso, G as string, H as preprocess, I as lazySchema, J as union, K as tuple, L as literal, M as email, N as enumFactory, O as array, P as int, R as neverFactory, U as record, V as object, W as strictObject, X as url, Y as unknown, _ as openMeldToolsMaintenanceProjectionSchema, c as localComponentUpdatePolicySchema, g as openMeldToolsMaintenanceMutationResultSchema, j as discriminatedUnion, k as boolean, l as localComponentUpdateProjectionSchema, q as undefinedFactory, u as localComponentUpdateStatusSchema, x as openMeldToolsUpdateOperationSchema, z as nullFactory } from "./local-components-DleLEzSU.js";
@@ -6393,7 +6393,9 @@ const createSpaceBodySchema = z$1.strictObject({
6393
6393
  //#region ../../packages/schemas/dist/schemas/http/organization-skills.js
6394
6394
  const ORGANIZATION_SKILL_DESCRIPTION_MAX_CHARS = 1024;
6395
6395
  const ORGANIZATION_SKILL_INSTRUCTIONS_MAX_CHARS = 1e5;
6396
- const ORGANIZATION_SKILL_FILE_MAX_BYTES = 256e3;
6396
+ const ORGANIZATION_SKILL_FILE_MAX_BYTES = 2e6;
6397
+ const ORGANIZATION_SKILL_FILE_MAX_ENCODED_CHARS = 4 * Math.ceil(ORGANIZATION_SKILL_FILE_MAX_BYTES / 3);
6398
+ const ORGANIZATION_SKILL_BUNDLE_MAX_BYTES = 8e6;
6397
6399
  const ORGANIZATION_SKILL_ERROR_CODES = [
6398
6400
  "organization_skill.bundle_too_large",
6399
6401
  "organization_skill.edit_forbidden",
@@ -6418,6 +6420,7 @@ const ORGANIZATION_SKILL_ERROR_CODES = [
6418
6420
  "organization_skill.release_invalid",
6419
6421
  "organization_skill.release_missing",
6420
6422
  "organization_skill.release_object_missing",
6423
+ "organization_skill.resource_missing",
6421
6424
  "organization_skill.runtime_catalog_too_large",
6422
6425
  "organization_skill.runtime_release_limit",
6423
6426
  "organization_skill.skill_markdown_invalid",
@@ -6451,14 +6454,15 @@ const organizationSkillPortableMetadataSchema = strictObject({
6451
6454
  name: skillNameSchema
6452
6455
  });
6453
6456
  const organizationSkillFileSchema = strictObject({
6454
- content: string().max(ORGANIZATION_SKILL_FILE_MAX_BYTES),
6457
+ content: string().max(ORGANIZATION_SKILL_FILE_MAX_ENCODED_CHARS),
6455
6458
  encoding: enumFactory(["base64", "utf8"]),
6456
6459
  mediaType: string().trim().min(1).max(256),
6457
6460
  path: string().trim().min(1).max(1024).refine(isSafePortableSkillPath, "Skill file path is not safe."),
6458
6461
  size: number().int().nonnegative().max(ORGANIZATION_SKILL_FILE_MAX_BYTES)
6459
6462
  });
6463
+ const organizationSkillResourceMetadataSchema = organizationSkillFileSchema.omit({ content: true }).safeExtend({ size: number().int().nonnegative() });
6460
6464
  const organizationSkillBundleSchema = strictObject({
6461
- files: array(organizationSkillFileSchema).max(128),
6465
+ files: array(organizationSkillFileSchema).max(256),
6462
6466
  instructions: instructionsSchema,
6463
6467
  portable: organizationSkillPortableMetadataSchema
6464
6468
  }).superRefine((bundle, context) => {
@@ -6507,14 +6511,14 @@ const organizationSkillBundleSchema = strictObject({
6507
6511
  "size"
6508
6512
  ]
6509
6513
  });
6510
- if (actualSize > 256e3) context.addIssue({
6514
+ if (actualSize > 2e6) context.addIssue({
6511
6515
  code: "custom",
6512
6516
  message: "Skill file is too large.",
6513
6517
  path: ["files", index]
6514
6518
  });
6515
6519
  totalSize += actualSize;
6516
6520
  }
6517
- if (totalSize > 2e6) context.addIssue({
6521
+ if (totalSize > 8e6) context.addIssue({
6518
6522
  code: "custom",
6519
6523
  message: "Skill bundle is too large.",
6520
6524
  path: ["files"]
@@ -6604,29 +6608,113 @@ const deleteOrganizationSkillResponseSchema = strictObject({
6604
6608
  const importOrganizationSkillFromGitHubBodySchema = strictObject({
6605
6609
  expectedCommitSha: string().regex(/^[a-f0-9]{40}$/).optional(),
6606
6610
  expectedOrganizationId: identifierSchema$3,
6611
+ batchId: operationIdSchema$2.optional(),
6612
+ operationId: operationIdSchema$2.optional(),
6607
6613
  url: sourceUrlSchema
6614
+ }).refine((value) => value.operationId === void 0 || value.expectedCommitSha !== void 0, {
6615
+ message: "A pinned commit is required for a retryable Skill import.",
6616
+ path: ["expectedCommitSha"]
6608
6617
  });
6609
6618
  const importOrganizationSkillFromGitHubResponseSchema = strictObject({ skill: organizationSkillSchema });
6619
+ const importOrganizationSkillFromFilesBodySchema = strictObject({
6620
+ expectedOrganizationId: identifierSchema$3,
6621
+ files: array(organizationSkillFileSchema).min(1).max(257)
6622
+ });
6623
+ const importOrganizationSkillFromFilesResponseSchema = strictObject({ skill: organizationSkillSchema });
6624
+ const previewOrganizationSkillFromFilesBodySchema = importOrganizationSkillFromFilesBodySchema;
6610
6625
  const previewOrganizationSkillFromGitHubBodySchema = strictObject({
6611
6626
  expectedOrganizationId: identifierSchema$3,
6612
6627
  url: sourceUrlSchema
6613
6628
  });
6629
+ const previewOrganizationSkillRepositoryBodySchema = previewOrganizationSkillFromGitHubBodySchema;
6614
6630
  const organizationSkillGitHubPreviewSchema = strictObject({
6615
- files: array(organizationSkillFileSchema.pick({
6616
- encoding: true,
6617
- mediaType: true,
6631
+ files: array(organizationSkillResourceMetadataSchema.pick({
6618
6632
  path: true,
6619
6633
  size: true
6634
+ }).extend({
6635
+ encoding: organizationSkillResourceMetadataSchema.shape.encoding.optional(),
6636
+ mediaType: organizationSkillResourceMetadataSchema.shape.mediaType.optional()
6620
6637
  })),
6621
6638
  instructionsCharacters: number().int().nonnegative(),
6622
6639
  portable: organizationSkillPortableMetadataSchema,
6623
6640
  source: organizationSkillGitHubSourceSchema,
6624
6641
  warnings: array(string().trim().min(1).max(1024))
6625
6642
  });
6643
+ const organizationSkillFilesPreviewSchema = organizationSkillGitHubPreviewSchema.omit({ source: true }).extend({ files: array(organizationSkillFileSchema.pick({
6644
+ encoding: true,
6645
+ mediaType: true,
6646
+ path: true,
6647
+ size: true
6648
+ })) });
6649
+ const organizationSkillGitHubRepositoryPreviewSchema = strictObject({
6650
+ catalogLimitBytes: number().int().positive(),
6651
+ commitSha: string().regex(/^[a-f0-9]{40}$/),
6652
+ repository: sourceUrlSchema,
6653
+ totalDeclaredBytes: number().int().nonnegative(),
6654
+ warnings: array(string().trim().min(1).max(1024)),
6655
+ skills: array(strictObject({
6656
+ blocker: strictObject({
6657
+ code: string().trim().min(1),
6658
+ message: string().trim().min(1)
6659
+ }).nullable(),
6660
+ fileCount: number().int().nonnegative(),
6661
+ path: string().max(1024),
6662
+ totalBytes: number().int().nonnegative(),
6663
+ url: sourceUrlSchema,
6664
+ warnings: array(string().trim().min(1).max(1024))
6665
+ })).max(256)
6666
+ });
6626
6667
  const previewOrganizationSkillFromGitHubResponseSchema = strictObject({
6627
6668
  organizationId: identifierSchema$3,
6628
6669
  preview: organizationSkillGitHubPreviewSchema
6629
6670
  });
6671
+ const previewOrganizationSkillRepositoryResponseSchema = strictObject({
6672
+ organizationId: identifierSchema$3,
6673
+ preview: organizationSkillGitHubRepositoryPreviewSchema
6674
+ });
6675
+ const beginOrganizationSkillImportBatchBodySchema = strictObject({
6676
+ batchId: operationIdSchema$2,
6677
+ expectedCommitSha: string().regex(/^[a-f0-9]{40}$/).optional(),
6678
+ expectedOrganizationId: identifierSchema$3,
6679
+ selectedPaths: array(string().max(1024)).max(256).optional(),
6680
+ url: sourceUrlSchema
6681
+ });
6682
+ const beginOrganizationSkillImportBatchResponseSchema = strictObject({ batch: strictObject({
6683
+ batchId: operationIdSchema$2,
6684
+ createdAt: isoDateTimeSchema$4,
6685
+ organizationId: identifierSchema$3,
6686
+ preview: organizationSkillGitHubRepositoryPreviewSchema,
6687
+ results: array(strictObject({
6688
+ error: string().max(2048).optional(),
6689
+ path: string().max(1024),
6690
+ releaseId: identifierSchema$3.optional(),
6691
+ selected: boolean(),
6692
+ skillId: identifierSchema$3.optional(),
6693
+ status: enumFactory([
6694
+ "pending",
6695
+ "installed",
6696
+ "skipped",
6697
+ "failed"
6698
+ ])
6699
+ })).max(256),
6700
+ sourceUrl: sourceUrlSchema
6701
+ }) });
6702
+ const getOrganizationSkillImportBatchResponseSchema = beginOrganizationSkillImportBatchResponseSchema;
6703
+ const listOrganizationSkillImportBatchesResponseSchema = strictObject({
6704
+ batches: array(strictObject({
6705
+ batchId: operationIdSchema$2,
6706
+ createdAt: isoDateTimeSchema$4,
6707
+ failedCount: number().int().nonnegative(),
6708
+ installedCount: number().int().nonnegative(),
6709
+ pendingCount: number().int().nonnegative(),
6710
+ repository: sourceUrlSchema
6711
+ })).max(10),
6712
+ organizationId: identifierSchema$3
6713
+ });
6714
+ const previewOrganizationSkillFromFilesResponseSchema = strictObject({
6715
+ organizationId: identifierSchema$3,
6716
+ preview: organizationSkillFilesPreviewSchema
6717
+ });
6630
6718
  discriminatedUnion("action", [
6631
6719
  strictObject({
6632
6720
  action: literal("list"),
@@ -6644,6 +6732,12 @@ discriminatedUnion("action", [
6644
6732
  context: openMeldRequestContextSchema,
6645
6733
  speakerMember: centerAgentToolSpeakerSchema,
6646
6734
  url: sourceUrlSchema
6735
+ }),
6736
+ strictObject({
6737
+ action: literal("preview_github_repository"),
6738
+ context: openMeldRequestContextSchema,
6739
+ speakerMember: centerAgentToolSpeakerSchema,
6740
+ url: sourceUrlSchema
6647
6741
  })
6648
6742
  ]);
6649
6743
  discriminatedUnion("action", [
@@ -6662,31 +6756,52 @@ discriminatedUnion("action", [
6662
6756
  action: literal("preview_github"),
6663
6757
  organizationId: identifierSchema$3,
6664
6758
  preview: organizationSkillGitHubPreviewSchema
6759
+ }),
6760
+ strictObject({
6761
+ action: literal("preview_github_repository"),
6762
+ organizationId: identifierSchema$3,
6763
+ preview: organizationSkillGitHubRepositoryPreviewSchema
6665
6764
  })
6666
6765
  ]);
6667
- discriminatedUnion("action", [strictObject({
6766
+ const centerAgentCreateOrganizationSkillRpcInputSchema = strictObject({
6668
6767
  action: literal("create"),
6669
6768
  bundle: organizationSkillBundleSchema,
6670
6769
  context: openMeldRequestContextSchema,
6671
6770
  operationId: operationIdSchema$2,
6672
6771
  speakerMember: centerAgentToolSpeakerSchema
6673
- }), strictObject({
6772
+ });
6773
+ const centerAgentImportOrganizationSkillFromGitHubRpcInputSchema = strictObject({
6674
6774
  action: literal("import_github"),
6675
6775
  context: openMeldRequestContextSchema,
6676
6776
  expectedCommitSha: string().regex(/^[a-f0-9]{40}$/),
6677
6777
  operationId: operationIdSchema$2,
6678
6778
  speakerMember: centerAgentToolSpeakerSchema,
6679
6779
  url: sourceUrlSchema
6680
- })]);
6681
- discriminatedUnion("action", [strictObject({
6682
- action: literal("create"),
6683
- organizationId: identifierSchema$3,
6684
- skill: organizationSkillSummarySchema
6685
- }), strictObject({
6686
- action: literal("import_github"),
6687
- organizationId: identifierSchema$3,
6688
- skill: organizationSkillSummarySchema
6689
- })]);
6780
+ });
6781
+ discriminatedUnion("action", [
6782
+ centerAgentCreateOrganizationSkillRpcInputSchema,
6783
+ centerAgentImportOrganizationSkillFromGitHubRpcInputSchema,
6784
+ centerAgentImportOrganizationSkillFromGitHubRpcInputSchema.extend({ action: literal("import_github_with_report") })
6785
+ ]);
6786
+ discriminatedUnion("action", [
6787
+ strictObject({
6788
+ action: literal("create"),
6789
+ organizationId: identifierSchema$3,
6790
+ skill: organizationSkillSummarySchema
6791
+ }),
6792
+ strictObject({
6793
+ action: literal("import_github"),
6794
+ organizationId: identifierSchema$3,
6795
+ skill: organizationSkillSummarySchema
6796
+ }),
6797
+ strictObject({
6798
+ action: literal("import_github_with_report"),
6799
+ organizationId: identifierSchema$3,
6800
+ skill: organizationSkillSummarySchema,
6801
+ warnings: array(string().trim().min(1).max(1024)),
6802
+ storedButNotExecutable: array(string().max(1024))
6803
+ })
6804
+ ]);
6690
6805
  const organizationSkillRuntimeReleaseSelectionSchema = strictObject({
6691
6806
  digest: digestSchema,
6692
6807
  name: skillNameSchema,
@@ -6697,6 +6812,17 @@ strictObject({
6697
6812
  organizationId: identifierSchema$3,
6698
6813
  releases: array(organizationSkillRuntimeReleaseSchema).max(64)
6699
6814
  });
6815
+ const organizationSkillRuntimeCatalogResponseSchema = strictObject({
6816
+ organizationId: identifierSchema$3,
6817
+ releases: array(strictObject({
6818
+ digest: digestSchema,
6819
+ releaseId: identifierSchema$3,
6820
+ skillId: identifierSchema$3,
6821
+ instructions: instructionsSchema,
6822
+ portable: organizationSkillPortableMetadataSchema,
6823
+ files: array(organizationSkillResourceMetadataSchema)
6824
+ })).max(64)
6825
+ });
6700
6826
  strictObject({ context: openMeldRequestContextSchema });
6701
6827
  strictObject({
6702
6828
  context: openMeldRequestContextSchema,
@@ -6721,12 +6847,28 @@ deleteOrganizationSkillBodySchema.extend({
6721
6847
  skillId: identifierSchema$3
6722
6848
  });
6723
6849
  importOrganizationSkillFromGitHubBodySchema.extend({ context: openMeldRequestContextSchema });
6850
+ importOrganizationSkillFromFilesBodySchema.extend({ context: openMeldRequestContextSchema });
6851
+ previewOrganizationSkillFromFilesBodySchema.extend({ context: openMeldRequestContextSchema });
6724
6852
  previewOrganizationSkillFromGitHubBodySchema.extend({ context: openMeldRequestContextSchema });
6853
+ previewOrganizationSkillRepositoryBodySchema.extend({ context: openMeldRequestContextSchema });
6854
+ beginOrganizationSkillImportBatchBodySchema.extend({ context: openMeldRequestContextSchema });
6855
+ strictObject({
6856
+ batchId: operationIdSchema$2,
6857
+ context: openMeldRequestContextSchema
6858
+ });
6859
+ strictObject({ context: openMeldRequestContextSchema });
6725
6860
  strictObject({
6726
6861
  context: openMeldRequestContextSchema,
6727
6862
  preparationIdempotencyKey: string().min(1).max(2048).optional(),
6728
6863
  releases: array(organizationSkillRuntimeReleaseSelectionSchema).max(64)
6729
6864
  });
6865
+ strictObject({
6866
+ context: openMeldRequestContextSchema,
6867
+ path: organizationSkillFileSchema.shape.path,
6868
+ preparationIdempotencyKey: string().min(1).max(2048).optional(),
6869
+ release: organizationSkillRuntimeReleaseSelectionSchema
6870
+ });
6871
+ strictObject({ file: organizationSkillFileSchema });
6730
6872
  strictObject({
6731
6873
  context: openMeldRequestContextSchema,
6732
6874
  digest: digestSchema,
@@ -6903,6 +7045,7 @@ const remoteAgentRuntimeEvidenceReasonCodeSchema = enumFactory(Object.values({
6903
7045
  ADMISSION_CONVERSATION_BUSY: "remote_agent.admission.conversation_busy",
6904
7046
  ADMISSION_NOT_ACCEPTED: "remote_agent.admission.not_accepted",
6905
7047
  PROVIDER_AUTHENTICATION_FAILED: "remote_agent.provider.authentication_failed",
7048
+ PROVIDER_CONNECTION_MISSING: "remote_agent.provider.connection_missing",
6906
7049
  PROVIDER_FAILED: "remote_agent.provider.failed",
6907
7050
  PROVIDER_RATE_LIMITED: "remote_agent.provider.rate_limited",
6908
7051
  PROVIDER_UNAVAILABLE: "remote_agent.provider.unavailable",
@@ -12718,6 +12861,116 @@ const observedDeviceMetadataSchema = z$1.strictObject({
12718
12861
  const writeCurrentDeviceObservedMetadataBodySchema = z$1.strictObject({ metadata: observedDeviceMetadataSchema });
12719
12862
  const writeCurrentDeviceObservedMetadataResponseSchema = writeCurrentDeviceObservedMetadataBodySchema;
12720
12863
  //#endregion
12864
+ //#region ../../packages/schemas/dist/schemas/http/file-root.js
12865
+ const rootIdSchema = string().trim().min(1).max(512);
12866
+ /** A file belongs to exactly one Organization-scoped location. */
12867
+ const fileRootSchema = discriminatedUnion("kind", [
12868
+ strictObject({
12869
+ kind: literal("team"),
12870
+ organizationId: rootIdSchema
12871
+ }),
12872
+ strictObject({
12873
+ kind: literal("member"),
12874
+ organizationId: rootIdSchema,
12875
+ memberUserId: rootIdSchema
12876
+ }),
12877
+ strictObject({
12878
+ kind: literal("space"),
12879
+ organizationId: rootIdSchema,
12880
+ spaceId: rootIdSchema
12881
+ })
12882
+ ]);
12883
+ const fileRootFolderDescriptorSchema = spaceFolderDescriptorSchema.omit({ spaceId: true }).extend({ root: fileRootSchema });
12884
+ const fileRootFileDescriptorSchema = spaceFileDescriptorSchema.omit({ spaceId: true }).extend({ root: fileRootSchema });
12885
+ const fileRootFileResponseSchema = strictObject({ file: fileRootFileDescriptorSchema });
12886
+ strictObject({
12887
+ context: openMeldRequestContextSchema,
12888
+ speakerMember: centerAgentVerifiedMemberToolSpeakerSchema.optional(),
12889
+ parentId: spaceFileEntryIdSchema.nullable().optional(),
12890
+ view: enumFactory(["active", "trash"]).optional()
12891
+ });
12892
+ strictObject({
12893
+ context: openMeldRequestContextSchema,
12894
+ speakerMember: centerAgentVerifiedMemberToolSpeakerSchema.optional(),
12895
+ fileId: spaceFileEntryIdSchema,
12896
+ revision: spaceFileRevisionNumberSchema.optional(),
12897
+ includeHistory: boolean().optional()
12898
+ });
12899
+ strictObject({
12900
+ content: string(),
12901
+ file: fileRootFileDescriptorSchema,
12902
+ revision: spaceFileRevisionSchema,
12903
+ revisions: array(spaceFileRevisionSchema).optional()
12904
+ });
12905
+ discriminatedUnion("action", [strictObject({
12906
+ context: openMeldRequestContextSchema,
12907
+ speakerMember: centerAgentVerifiedMemberToolSpeakerSchema.optional(),
12908
+ action: literal("create"),
12909
+ clientMutationId: spaceFileClientMutationIdSchema,
12910
+ content: string(),
12911
+ mimeType: spaceFileMimeTypeSchema,
12912
+ name: spaceFileNameSchema,
12913
+ parentId: spaceFileEntryIdSchema.nullable().optional()
12914
+ }), strictObject({
12915
+ context: openMeldRequestContextSchema,
12916
+ speakerMember: centerAgentVerifiedMemberToolSpeakerSchema.optional(),
12917
+ action: literal("update"),
12918
+ baseRevision: spaceFileBaseRevisionSchema.unwrap(),
12919
+ clientMutationId: spaceFileClientMutationIdSchema,
12920
+ content: string(),
12921
+ fileId: spaceFileEntryIdSchema,
12922
+ mimeType: spaceFileMimeTypeSchema
12923
+ })]);
12924
+ strictObject({ file: fileRootFileDescriptorSchema });
12925
+ /** Copy one immutable revision into a new Team or member-owned file. */
12926
+ const copyRevisionFields = {
12927
+ sourceFileId: spaceFileEntryIdSchema,
12928
+ sourceRevision: spaceFileRevisionNumberSchema,
12929
+ name: spaceFileNameSchema,
12930
+ parentId: spaceFileEntryIdSchema.nullable(),
12931
+ clientMutationId: spaceFileClientMutationIdSchema
12932
+ };
12933
+ const copyFileRootRevisionBodySchema = discriminatedUnion("sourceLocation", [strictObject({
12934
+ ...copyRevisionFields,
12935
+ sourceLocation: enumFactory(["team", "my"])
12936
+ }), strictObject({
12937
+ ...copyRevisionFields,
12938
+ sourceLocation: literal("space"),
12939
+ sourceSpaceId: string().regex(/^[a-f0-9]{64}$/u)
12940
+ })]);
12941
+ const copyFileRootToSpaceBodySchema = strictObject({
12942
+ ...copyRevisionFields,
12943
+ sourceLocation: enumFactory(["team", "my"])
12944
+ });
12945
+ const copyFileRootRevisionResponseSchema = strictObject({
12946
+ file: fileRootFileDescriptorSchema,
12947
+ source: strictObject({
12948
+ root: fileRootSchema,
12949
+ fileId: spaceFileEntryIdSchema,
12950
+ revision: spaceFileRevisionNumberSchema,
12951
+ revisionId: string().min(1)
12952
+ })
12953
+ });
12954
+ const fileRootUploadResponseSchema = spaceFileUploadResponseSchema.omit({
12955
+ file: true,
12956
+ upload: true
12957
+ }).extend({ file: fileRootFileDescriptorSchema.optional() });
12958
+ const listFileRootRevisionsResponseSchema = strictObject({
12959
+ file: fileRootFileDescriptorSchema,
12960
+ revisions: array(spaceFileRevisionSchema)
12961
+ });
12962
+ const fileRootFolderResponseSchema = strictObject({ folder: fileRootFolderDescriptorSchema });
12963
+ const fileRootEntrySchema = discriminatedUnion("kind", [fileRootFolderDescriptorSchema, fileRootFileDescriptorSchema]);
12964
+ const fileRootEntryResponseSchema = strictObject({ entry: fileRootEntrySchema });
12965
+ const listFileRootResponseSchema = strictObject({
12966
+ root: fileRootSchema,
12967
+ parentId: spaceFileEntryIdSchema.nullable(),
12968
+ view: enumFactory(["active", "trash"]),
12969
+ breadcrumbs: array(spaceFileBreadcrumbSchema),
12970
+ entries: array(fileRootEntrySchema),
12971
+ capabilities: spaceFileCapabilitiesSchema
12972
+ });
12973
+ //#endregion
12721
12974
  //#region ../../packages/schemas/dist/schemas/http/inbox-feed.js
12722
12975
  const opaqueKeySchema = string().min(1).max(4096).regex(/^[A-Za-z0-9_-]+$/u);
12723
12976
  const identifierSchema = string().trim().min(1).max(256);
@@ -13140,6 +13393,7 @@ const openConnectorRuntimeActionSchema = z$1.strictObject({
13140
13393
  id: nonEmptyStringSchema,
13141
13394
  inputSchema: jsonSchemaObjectSchema,
13142
13395
  name: nonEmptyStringSchema,
13396
+ operationType: openConnectorRuntimeActionEffectSchema.optional(),
13143
13397
  outputSchema: jsonSchemaObjectSchema,
13144
13398
  providerPermissions: z$1.array(nonEmptyStringSchema),
13145
13399
  requiredScopes: z$1.array(nonEmptyStringSchema),
@@ -13153,6 +13407,7 @@ const openConnectorRuntimeActionSearchResultSchema = z$1.strictObject({
13153
13407
  id: nonEmptyStringSchema,
13154
13408
  inputSchema: jsonSchemaObjectSchema,
13155
13409
  name: nonEmptyStringSchema,
13410
+ operationType: openConnectorRuntimeActionEffectSchema.optional(),
13156
13411
  outputSchema: jsonSchemaObjectSchema,
13157
13412
  service: nonEmptyStringSchema
13158
13413
  });
@@ -13163,10 +13418,9 @@ const openConnectorRuntimeActionOperationMetaSchema = z$1.strictObject({
13163
13418
  executionId: nonEmptyStringSchema
13164
13419
  });
13165
13420
  z$1.strictObject({
13166
- data: z$1.unknown(),
13421
+ data: z$1.json(),
13167
13422
  message: z$1.literal("OK"),
13168
13423
  meta: openConnectorRuntimeActionOperationMetaSchema,
13169
- outputSchema: jsonSchemaObjectSchema,
13170
13424
  success: z$1.literal(true)
13171
13425
  });
13172
13426
  //#endregion
@@ -16140,6 +16394,276 @@ const createFeedbackApi = (client) => ({
16140
16394
  });
16141
16395
  }
16142
16396
  });
16397
+ /** Shared browser transport; the owning Files root still authorizes every command. */
16398
+ async function uploadMultipart$1(input) {
16399
+ const blob = input.bytes instanceof Blob ? input.bytes : new Blob([input.bytes]);
16400
+ if (blob.size < 1 || blob.size > 1073741824) throw new Error("This file exceeds the supported size.");
16401
+ const partDigests = [];
16402
+ for (let offset = 0; offset < blob.size; offset += SPACE_FILE_UPLOAD_PART_BYTES) {
16403
+ input.signal?.throwIfAborted();
16404
+ const hash = await crypto.subtle.digest("SHA-256", await blob.slice(offset, offset + SPACE_FILE_UPLOAD_PART_BYTES).arrayBuffer());
16405
+ partDigests.push(Array.from(new Uint8Array(hash), (byte) => byte.toString(16).padStart(2, "0")).join(""));
16406
+ }
16407
+ const request = (command, part) => retryUploadRequest(input.signal, () => input.request(command, part));
16408
+ let session = await request({
16409
+ action: "start",
16410
+ metadata: {
16411
+ target: input.target,
16412
+ mimeType: input.mimeType,
16413
+ sizeBytes: blob.size,
16414
+ partDigests
16415
+ }
16416
+ });
16417
+ if (session.file || session.upload) return session;
16418
+ input.onProgress?.(session.parts.reduce((total, part) => total + part.sizeBytes, 0), blob.size);
16419
+ for (let start = 0, number = 1; start < blob.size; start += session.partSizeBytes, number++) {
16420
+ if (session.parts.some((part) => part.partNumber === number)) continue;
16421
+ session = await request({
16422
+ action: "part",
16423
+ partNumber: number
16424
+ }, blob.slice(start, start + session.partSizeBytes));
16425
+ input.onProgress?.(session.parts.reduce((total, part) => total + part.sizeBytes, 0), blob.size);
16426
+ }
16427
+ return await request({ action: "complete" });
16428
+ }
16429
+ async function retryUploadRequest(signal, request) {
16430
+ for (let attempt = 0;; attempt++) try {
16431
+ signal?.throwIfAborted();
16432
+ return await request();
16433
+ } catch (error) {
16434
+ const status = error && typeof error === "object" && "status" in error ? error.status : void 0;
16435
+ if (signal?.aborted || attempt >= 2 || typeof status === "number" && status < 500 && status !== 429) throw error;
16436
+ await new Promise((resolve) => setTimeout(resolve, 250 * 2 ** attempt));
16437
+ }
16438
+ }
16439
+ function rootPath(location) {
16440
+ return `/v1/organizations/current/files/${location}`;
16441
+ }
16442
+ function contentPath(location, fileId) {
16443
+ return `${rootPath(location)}/${encodeURIComponent(fileId)}/content`;
16444
+ }
16445
+ function createFileRootApi(client) {
16446
+ return {
16447
+ async copyToSpace(input) {
16448
+ return (await client.requestJson({
16449
+ url: `/v1/spaces/${encodeURIComponent(input.spaceId)}/files/copies`,
16450
+ operation: "files.copy_to_space",
16451
+ method: "POST",
16452
+ headers: { "content-type": "application/json" },
16453
+ body: JSON.stringify(copyFileRootToSpaceBodySchema.parse(input.body)),
16454
+ schema: getSpaceFileResponseSchema,
16455
+ invalidMessage: "Invalid Space file copy response."
16456
+ })).file;
16457
+ },
16458
+ async copyRevision(input) {
16459
+ const response = await client.requestJson({
16460
+ url: `${rootPath(input.location)}/copies`,
16461
+ operation: "files.copy",
16462
+ method: "POST",
16463
+ headers: { "content-type": "application/json" },
16464
+ body: JSON.stringify(copyFileRootRevisionBodySchema.parse(input.body)),
16465
+ schema: copyFileRootRevisionResponseSchema,
16466
+ invalidMessage: "Invalid file copy response."
16467
+ });
16468
+ if (response.file.root.kind !== (input.location === "my" ? "member" : "team")) throw new Error("Files returned a copy in a different location.");
16469
+ return response;
16470
+ },
16471
+ async list(input) {
16472
+ const params = new URLSearchParams();
16473
+ if (input.parentId) params.set("parentId", input.parentId);
16474
+ if (input.view) params.set("view", input.view);
16475
+ const query = params.size > 0 ? `?${params}` : "";
16476
+ const response = await client.requestJson({
16477
+ url: `${rootPath(input.location)}${query}`,
16478
+ operation: "files.list",
16479
+ signal: input.signal,
16480
+ schema: listFileRootResponseSchema,
16481
+ invalidMessage: "Invalid Files list response."
16482
+ });
16483
+ if (response.root.kind !== (input.location === "my" ? "member" : "team") || response.view !== (input.view ?? "active")) throw new Error("Files returned a different location or view.");
16484
+ return response;
16485
+ },
16486
+ async createFolder(input) {
16487
+ return (await client.requestJson({
16488
+ url: `${rootPath(input.location)}/folders`,
16489
+ operation: "files.folder.create",
16490
+ method: "POST",
16491
+ headers: { "content-type": "application/json" },
16492
+ body: JSON.stringify({
16493
+ name: input.name,
16494
+ parentId: input.parentId ?? null,
16495
+ clientMutationId: input.clientMutationId
16496
+ }),
16497
+ schema: fileRootFolderResponseSchema,
16498
+ invalidMessage: "Invalid folder response."
16499
+ })).folder;
16500
+ },
16501
+ async updateEntry(input) {
16502
+ return (await client.requestJson({
16503
+ url: `${rootPath(input.location)}/${encodeURIComponent(input.entryId)}`,
16504
+ operation: "files.entry.update",
16505
+ method: "PATCH",
16506
+ headers: { "content-type": "application/json" },
16507
+ body: JSON.stringify({
16508
+ ...input.name === void 0 ? {} : { name: input.name },
16509
+ ...input.parentId === void 0 ? {} : { parentId: input.parentId },
16510
+ clientMutationId: input.clientMutationId
16511
+ }),
16512
+ schema: fileRootEntryResponseSchema,
16513
+ invalidMessage: "Invalid file update response."
16514
+ })).entry;
16515
+ },
16516
+ async getFile(input) {
16517
+ return (await client.requestJson({
16518
+ url: `${rootPath(input.location)}/${encodeURIComponent(input.fileId)}`,
16519
+ operation: "files.get",
16520
+ schema: fileRootFileResponseSchema,
16521
+ invalidMessage: "Invalid file response."
16522
+ })).file;
16523
+ },
16524
+ async listRevisions(input) {
16525
+ return await client.requestJson({
16526
+ url: `${rootPath(input.location)}/${encodeURIComponent(input.fileId)}/revisions`,
16527
+ operation: "files.revisions.list",
16528
+ schema: listFileRootRevisionsResponseSchema,
16529
+ invalidMessage: "Invalid file revision history response."
16530
+ });
16531
+ },
16532
+ async trash(input) {
16533
+ await client.requestJson({
16534
+ url: `${rootPath(input.location)}/${encodeURIComponent(input.entryId)}`,
16535
+ operation: "files.entry.trash",
16536
+ method: "DELETE",
16537
+ headers: { "content-type": "application/json" },
16538
+ body: JSON.stringify({ clientMutationId: input.clientMutationId }),
16539
+ schema: trashSpaceFileEntryResponseSchema,
16540
+ invalidMessage: "Invalid Trash response."
16541
+ });
16542
+ },
16543
+ async restore(input) {
16544
+ return (await client.requestJson({
16545
+ url: `${rootPath(input.location)}/${encodeURIComponent(input.entryId)}/restore`,
16546
+ operation: "files.entry.restore",
16547
+ method: "POST",
16548
+ headers: { "content-type": "application/json" },
16549
+ body: JSON.stringify({ clientMutationId: input.clientMutationId }),
16550
+ schema: fileRootEntryResponseSchema,
16551
+ invalidMessage: "Invalid file restore response."
16552
+ })).entry;
16553
+ },
16554
+ async upload(input) {
16555
+ if ((input.bytes instanceof Blob ? input.bytes.size : input.bytes.byteLength) > 10485760) {
16556
+ const response = await uploadMultipart$1({
16557
+ bytes: input.bytes,
16558
+ mimeType: spaceFileMimeTypeSchema.parse(input.mimeType),
16559
+ target: {
16560
+ kind: "file",
16561
+ clientMutationId: input.clientMutationId,
16562
+ name: input.name,
16563
+ parentId: input.parentId ?? null
16564
+ },
16565
+ signal: input.signal,
16566
+ onProgress: input.onProgress,
16567
+ request: (command, part) => multipartRequest(client, input.location, input.clientMutationId, command, part, input.signal)
16568
+ });
16569
+ if (!response.file) throw new Error("The upload did not return a file.");
16570
+ return response.file;
16571
+ }
16572
+ const mimeType = spaceFileMimeTypeSchema.parse(input.mimeType);
16573
+ const params = new URLSearchParams({
16574
+ name: input.name,
16575
+ clientMutationId: input.clientMutationId
16576
+ });
16577
+ if (input.parentId) params.set("parentId", input.parentId);
16578
+ return (await client.requestJson({
16579
+ url: `${rootPath(input.location)}?${params}`,
16580
+ operation: "files.upload",
16581
+ method: "POST",
16582
+ headers: { "content-type": mimeType },
16583
+ body: input.bytes,
16584
+ schema: fileRootFileResponseSchema,
16585
+ invalidMessage: "Invalid file upload response."
16586
+ })).file;
16587
+ },
16588
+ async updateContent(input) {
16589
+ if ((input.bytes instanceof Blob ? input.bytes.size : input.bytes.byteLength) > 10485760) {
16590
+ const response = await uploadMultipart$1({
16591
+ bytes: input.bytes,
16592
+ mimeType: spaceFileMimeTypeSchema.parse(input.mimeType),
16593
+ target: {
16594
+ kind: "revision",
16595
+ clientMutationId: input.clientMutationId,
16596
+ fileId: input.fileId,
16597
+ baseRevision: input.baseRevision
16598
+ },
16599
+ signal: input.signal,
16600
+ onProgress: input.onProgress,
16601
+ request: (command, part) => multipartRequest(client, input.location, input.clientMutationId, command, part, input.signal)
16602
+ });
16603
+ if (!response.file) throw new Error("The upload did not return a file.");
16604
+ return response.file;
16605
+ }
16606
+ const query = new URLSearchParams({
16607
+ baseRevision: String(input.baseRevision),
16608
+ clientMutationId: input.clientMutationId
16609
+ });
16610
+ return (await client.requestJson({
16611
+ url: `${contentPath(input.location, input.fileId)}?${query}`,
16612
+ operation: "files.content.update",
16613
+ method: "PUT",
16614
+ headers: { "content-type": spaceFileMimeTypeSchema.parse(input.mimeType) },
16615
+ body: input.bytes,
16616
+ schema: fileRootFileResponseSchema,
16617
+ invalidMessage: "Invalid file revision response."
16618
+ })).file;
16619
+ },
16620
+ streamContent: async (input) => await streamRootContent(client, input),
16621
+ async download(input) {
16622
+ const content = await streamRootContent(client, input);
16623
+ return {
16624
+ bytes: await new Response(content.bytes).arrayBuffer(),
16625
+ mimeType: content.mimeType,
16626
+ revision: content.revision
16627
+ };
16628
+ }
16629
+ };
16630
+ }
16631
+ async function streamRootContent(client, input) {
16632
+ const query = input.revision ? `?revision=${input.revision}` : "";
16633
+ const response = await client.requestResponse({
16634
+ url: `${contentPath(input.location, input.fileId)}${query}`,
16635
+ operation: "files.content.download"
16636
+ });
16637
+ if (!response.ok) {
16638
+ await readApiClientTextResponse({ response });
16639
+ throw new Error("File download failed.");
16640
+ }
16641
+ const revision = Number(response.headers.get("x-openmeld-file-revision"));
16642
+ if (!(Number.isInteger(revision) && revision > 0)) throw new Error("Invalid file revision response.");
16643
+ const declaredSize = response.headers.get("content-length");
16644
+ const sizeBytes = Number(declaredSize);
16645
+ if (declaredSize === null || !Number.isSafeInteger(sizeBytes) || sizeBytes < 0 || !response.body) throw new Error("Invalid file content response.");
16646
+ return {
16647
+ bytes: response.body,
16648
+ mimeType: spaceFileMimeTypeSchema.parse(response.headers.get("content-type") ?? "application/octet-stream"),
16649
+ revision,
16650
+ sizeBytes
16651
+ };
16652
+ }
16653
+ async function multipartRequest(client, location, clientMutationId, command, part, signal) {
16654
+ const uploadId = await spaceFileUploadIdForMutation(clientMutationId);
16655
+ const url = `${rootPath(location)}/file-uploads/${encodeURIComponent(uploadId)}`;
16656
+ return await client.requestJson({
16657
+ url: command.action === "part" ? `${url}?part=${command.partNumber}` : url,
16658
+ operation: "files.upload.multipart",
16659
+ signal,
16660
+ method: "POST",
16661
+ headers: { "content-type": part ? "application/octet-stream" : "application/json" },
16662
+ body: part ?? JSON.stringify(command),
16663
+ schema: fileRootUploadResponseSchema,
16664
+ invalidMessage: "Invalid file upload response."
16665
+ });
16666
+ }
16143
16667
  const INBOX_PATH = "/v1/inbox";
16144
16668
  function buildInboxNotificationObservationsPath(query = {}) {
16145
16669
  const search = new URLSearchParams();
@@ -17427,12 +17951,33 @@ function buildOrganizationSkillsPath() {
17427
17951
  function buildOrganizationSkillPath(skillId) {
17428
17952
  return `${SKILLS_PATH}/${encodeURIComponent(skillId)}`;
17429
17953
  }
17954
+ function buildOrganizationSkillCatalogPath(skillId) {
17955
+ return `${buildOrganizationSkillPath(skillId)}/catalog`;
17956
+ }
17957
+ function buildOrganizationSkillResourcePath(input) {
17958
+ return `${buildOrganizationSkillPath(input.skillId)}/releases/${encodeURIComponent(input.releaseId)}/resources?path=${encodeURIComponent(input.path)}`;
17959
+ }
17430
17960
  function buildOrganizationSkillGitHubImportPath() {
17431
17961
  return `${SKILLS_PATH}/import-github`;
17432
17962
  }
17963
+ function buildOrganizationSkillImportBatchesPath() {
17964
+ return `${SKILLS_PATH}/import-github-batches`;
17965
+ }
17966
+ function buildOrganizationSkillImportBatchPath(batchId) {
17967
+ return `${buildOrganizationSkillImportBatchesPath()}/${encodeURIComponent(batchId)}`;
17968
+ }
17969
+ function buildOrganizationSkillFilesImportPath() {
17970
+ return `${SKILLS_PATH}/import-files`;
17971
+ }
17972
+ function buildOrganizationSkillFilesPreviewPath() {
17973
+ return `${SKILLS_PATH}/preview-files`;
17974
+ }
17433
17975
  function buildOrganizationSkillGitHubPreviewPath() {
17434
17976
  return `${SKILLS_PATH}/preview-github`;
17435
17977
  }
17978
+ function buildOrganizationSkillRepositoryPreviewPath() {
17979
+ return `${SKILLS_PATH}/preview-github-repository`;
17980
+ }
17436
17981
  function buildOrganizationSkillEnabledPath(skillId) {
17437
17982
  return `${buildOrganizationSkillPath(skillId)}/enabled`;
17438
17983
  }
@@ -17440,6 +17985,41 @@ function buildOrganizationSkillMaintainersPath(skillId) {
17440
17985
  return `${buildOrganizationSkillPath(skillId)}/maintainers`;
17441
17986
  }
17442
17987
  const createOrganizationSkillsApi = (client) => ({
17988
+ beginImportBatch: async (input) => {
17989
+ const body = requireValidInput$2(beginOrganizationSkillImportBatchBodySchema, {
17990
+ batchId: input.batchId,
17991
+ ...input.expectedCommitSha === void 0 ? {} : { expectedCommitSha: input.expectedCommitSha },
17992
+ expectedOrganizationId: input.expectedOrganizationId,
17993
+ ...input.selectedPaths === void 0 ? {} : { selectedPaths: input.selectedPaths },
17994
+ url: input.url
17995
+ }, "Skill batch request is invalid.");
17996
+ return await client.requestJson({
17997
+ ...requestOptions$3(input),
17998
+ body: JSON.stringify(body),
17999
+ headers: { "content-type": "application/json" },
18000
+ invalidMessage: "invalid Skill batch response",
18001
+ method: "POST",
18002
+ operation: "organization_skill.begin_import_batch",
18003
+ schema: beginOrganizationSkillImportBatchResponseSchema,
18004
+ url: buildOrganizationSkillImportBatchesPath()
18005
+ });
18006
+ },
18007
+ getImportBatch: async (input) => await client.requestJson({
18008
+ ...requestOptions$3(input),
18009
+ invalidMessage: "invalid Skill batch response",
18010
+ method: "GET",
18011
+ operation: "organization_skill.get_import_batch",
18012
+ schema: getOrganizationSkillImportBatchResponseSchema,
18013
+ url: buildOrganizationSkillImportBatchPath(input.batchId)
18014
+ }),
18015
+ listImportBatches: async (input = {}) => await client.requestJson({
18016
+ ...requestOptions$3(input),
18017
+ invalidMessage: "invalid Skill batch list response",
18018
+ method: "GET",
18019
+ operation: "organization_skill.list_import_batches",
18020
+ schema: listOrganizationSkillImportBatchesResponseSchema,
18021
+ url: buildOrganizationSkillImportBatchesPath()
18022
+ }),
17443
18023
  list: async (input = {}) => await client.requestJson({
17444
18024
  ...requestOptions$3(input),
17445
18025
  invalidMessage: "invalid Organization Skills response",
@@ -17456,6 +18036,35 @@ const createOrganizationSkillsApi = (client) => ({
17456
18036
  schema: getOrganizationSkillResponseSchema,
17457
18037
  url: `${buildOrganizationSkillPath(requireSkillId(input.skillId))}${input.releaseId === void 0 ? "" : `?releaseId=${encodeURIComponent(input.releaseId)}`}`
17458
18038
  }),
18039
+ getCatalog: async (input) => await client.requestJson({
18040
+ ...requestOptions$3(input),
18041
+ invalidMessage: "invalid Organization Skill catalog response",
18042
+ method: "GET",
18043
+ operation: "organization_skill.get_catalog",
18044
+ schema: organizationSkillRuntimeCatalogResponseSchema,
18045
+ url: buildOrganizationSkillCatalogPath(requireSkillId(input.skillId))
18046
+ }),
18047
+ readResource: async (input) => {
18048
+ const response = await client.requestResponse({
18049
+ ...requestOptions$3(input),
18050
+ method: "GET",
18051
+ operation: "organization_skill.read_resource",
18052
+ url: buildOrganizationSkillResourcePath({
18053
+ skillId: requireSkillId(input.skillId),
18054
+ releaseId: input.releaseId,
18055
+ path: input.path
18056
+ })
18057
+ });
18058
+ if (!response.ok) {
18059
+ await readApiClientTextResponse({ response });
18060
+ throw new Error("Skill resource download failed.");
18061
+ }
18062
+ const declaredSize = Number(response.headers.get("content-length"));
18063
+ if (!Number.isSafeInteger(declaredSize) || declaredSize < 0 || declaredSize > 1e7) throw new Error("Invalid Skill resource size.");
18064
+ const bytes = new Uint8Array(await response.arrayBuffer());
18065
+ if (bytes.byteLength !== declaredSize) throw new Error("Incomplete Skill resource download.");
18066
+ return bytes;
18067
+ },
17459
18068
  create: async (input) => {
17460
18069
  const body = requireValidInput$2(createOrganizationSkillBodySchema, {
17461
18070
  description: input.description,
@@ -17478,6 +18087,8 @@ const createOrganizationSkillsApi = (client) => ({
17478
18087
  const body = requireValidInput$2(importOrganizationSkillFromGitHubBodySchema, {
17479
18088
  ...input.expectedCommitSha === void 0 ? {} : { expectedCommitSha: input.expectedCommitSha },
17480
18089
  expectedOrganizationId: input.expectedOrganizationId,
18090
+ ...input.operationId === void 0 ? {} : { operationId: input.operationId },
18091
+ ...input.batchId === void 0 ? {} : { batchId: input.batchId },
17481
18092
  url: input.url
17482
18093
  }, "Organization Skill GitHub import request is invalid.");
17483
18094
  return await client.requestJson({
@@ -17491,6 +18102,38 @@ const createOrganizationSkillsApi = (client) => ({
17491
18102
  url: buildOrganizationSkillGitHubImportPath()
17492
18103
  });
17493
18104
  },
18105
+ importFromFiles: async (input) => {
18106
+ const body = requireValidInput$2(importOrganizationSkillFromFilesBodySchema, {
18107
+ expectedOrganizationId: input.expectedOrganizationId,
18108
+ files: input.files
18109
+ }, "Organization Skill file import request is invalid.");
18110
+ return await client.requestJson({
18111
+ ...requestOptions$3(input),
18112
+ body: JSON.stringify(body),
18113
+ headers: { "content-type": "application/json" },
18114
+ invalidMessage: "invalid Organization Skill file import response",
18115
+ method: "POST",
18116
+ operation: "organization_skill.import_files",
18117
+ schema: importOrganizationSkillFromFilesResponseSchema,
18118
+ url: buildOrganizationSkillFilesImportPath()
18119
+ });
18120
+ },
18121
+ previewFromFiles: async (input) => {
18122
+ const body = requireValidInput$2(previewOrganizationSkillFromFilesBodySchema, {
18123
+ expectedOrganizationId: input.expectedOrganizationId,
18124
+ files: input.files
18125
+ }, "Organization Skill file preview request is invalid.");
18126
+ return await client.requestJson({
18127
+ ...requestOptions$3(input),
18128
+ body: JSON.stringify(body),
18129
+ headers: { "content-type": "application/json" },
18130
+ invalidMessage: "invalid Organization Skill file preview response",
18131
+ method: "POST",
18132
+ operation: "organization_skill.preview_files",
18133
+ schema: previewOrganizationSkillFromFilesResponseSchema,
18134
+ url: buildOrganizationSkillFilesPreviewPath()
18135
+ });
18136
+ },
17494
18137
  previewFromGitHub: async (input) => {
17495
18138
  const body = requireValidInput$2(previewOrganizationSkillFromGitHubBodySchema, {
17496
18139
  expectedOrganizationId: input.expectedOrganizationId,
@@ -17507,6 +18150,22 @@ const createOrganizationSkillsApi = (client) => ({
17507
18150
  url: buildOrganizationSkillGitHubPreviewPath()
17508
18151
  });
17509
18152
  },
18153
+ previewRepositoryFromGitHub: async (input) => {
18154
+ const body = requireValidInput$2(previewOrganizationSkillRepositoryBodySchema, {
18155
+ expectedOrganizationId: input.expectedOrganizationId,
18156
+ url: input.url
18157
+ }, "Organization Skill repository preview request is invalid.");
18158
+ return await client.requestJson({
18159
+ ...requestOptions$3(input),
18160
+ body: JSON.stringify(body),
18161
+ headers: { "content-type": "application/json" },
18162
+ invalidMessage: "invalid Organization Skill repository preview response",
18163
+ method: "POST",
18164
+ operation: "organization_skill.preview_github_repository",
18165
+ schema: previewOrganizationSkillRepositoryResponseSchema,
18166
+ url: buildOrganizationSkillRepositoryPreviewPath()
18167
+ });
18168
+ },
17510
18169
  update: async (input) => {
17511
18170
  const body = requireValidInput$2(updateOrganizationSkillBodySchema, {
17512
18171
  bundle: input.bundle,
@@ -18774,10 +19433,9 @@ function bodySize(body) {
18774
19433
  }
18775
19434
  async function uploadMultipart(client, input, target, uploadId) {
18776
19435
  const body = toRequestBody(input.bytes);
18777
- const blob = body instanceof Blob ? body : new Blob([body]);
18778
19436
  const url = `/v1/spaces/${encodeURIComponent(input.spaceId)}/file-uploads/${uploadId}`;
18779
19437
  const request = async (command, part) => {
18780
- return await retryUploadRequest(input.signal, () => client.requestJson({
19438
+ return await client.requestJson({
18781
19439
  ...requestFields$1(input),
18782
19440
  url: command.action === "part" ? `${url}?part=${command.partNumber}` : url,
18783
19441
  method: "POST",
@@ -18789,44 +19447,16 @@ async function uploadMultipart(client, input, target, uploadId) {
18789
19447
  body: part ?? JSON.stringify(command),
18790
19448
  schema: spaceFileUploadResponseSchema,
18791
19449
  invalidMessage: "Invalid file upload response."
18792
- }));
19450
+ });
18793
19451
  };
18794
- const partDigests = [];
18795
- for (let offset = 0; offset < blob.size; offset += SPACE_FILE_UPLOAD_PART_BYTES) {
18796
- input.signal?.throwIfAborted();
18797
- const hash = await crypto.subtle.digest("SHA-256", await blob.slice(offset, offset + SPACE_FILE_UPLOAD_PART_BYTES).arrayBuffer());
18798
- partDigests.push(Array.from(new Uint8Array(hash), (b) => b.toString(16).padStart(2, "0")).join(""));
18799
- }
18800
- let session = await request({
18801
- action: "start",
18802
- metadata: {
18803
- target,
18804
- mimeType: input.mimeType,
18805
- sizeBytes: blob.size,
18806
- partDigests
18807
- }
19452
+ return await uploadMultipart$1({
19453
+ bytes: body,
19454
+ mimeType: input.mimeType,
19455
+ target,
19456
+ signal: input.signal,
19457
+ onProgress: input.onProgress,
19458
+ request
18808
19459
  });
18809
- if (session.file || session.upload) return session;
18810
- input.onProgress?.(session.parts.reduce((n, p) => n + p.sizeBytes, 0), blob.size);
18811
- for (let start = 0, number = 1; start < blob.size; start += session.partSizeBytes, number++) {
18812
- if (session.parts.some((p) => p.partNumber === number)) continue;
18813
- session = await request({
18814
- action: "part",
18815
- partNumber: number
18816
- }, blob.slice(start, start + session.partSizeBytes));
18817
- input.onProgress?.(session.parts.reduce((n, p) => n + p.sizeBytes, 0), blob.size);
18818
- }
18819
- return await request({ action: "complete" });
18820
- }
18821
- async function retryUploadRequest(signal, request) {
18822
- for (let attempt = 0;; attempt++) try {
18823
- signal?.throwIfAborted();
18824
- return await request();
18825
- } catch (error) {
18826
- const status = error && typeof error === "object" && "status" in error ? error.status : void 0;
18827
- if (signal?.aborted || attempt >= 2 || typeof status === "number" && status < 500 && status !== 429) throw error;
18828
- await new Promise((resolve) => setTimeout(resolve, 250 * 2 ** attempt));
18829
- }
18830
19460
  }
18831
19461
  async function listSpaceFiles(client, input) {
18832
19462
  const response = await client.requestJson({
@@ -19931,6 +20561,6 @@ function shouldWrapNetworkRequestError(error) {
19931
20561
  return message.includes("fetch failed") || message.includes("failed to fetch") || message.includes("network request failed");
19932
20562
  }
19933
20563
  //#endregion
19934
- export { buildLocalFolderPickerPath as $, toErrorMessage$2 as $n, agentActivityInventorySessionStatusSchema as $r, createPluginsApi as $t, buildCurrentOrganizationDirectoryPath as A, createProjectResponseSchema as Ai, readOrUpdateSpaceMessagePins as An, observabilityWakeTraceSelectorSchema as Ar, buildSpaceInboxUnreadTargetsPath as At, buildCurrentOrganizationMessageChannelsPath as B, toLegacySpaceImageGeometryWireValue as Bi, uploadSpaceFile as Bn, removeSpaceMembersResponseSchema as Br, createCurrentDeviceApi as Bt, buildCenterAgentSessionPath as C, serviceConnectionEvidenceEventSchema as Ci, normalizeApiBaseUrl as Cn, SPACE_DISPATCH_TRACE_RESPONSE_CONTRACT_VERSION_HEADER as Cr, buildRoutineTargetSpacesPath as Ct, buildCurrentAgentProfileSessionRoute as D, localProjectControlDaemonFrameSchema as Di, readAccountSession as Dn, spaceDispatchTraceAttemptStatusSchema as Dr, buildSpaceFileContentPath as Dt, buildComputerFileAccessUpdatePath as E, localProjectControlConnectionSchema as Ei, readAccountOrganizationContext as En, resolveSpaceDispatchTraceRootCause as Er, buildSpaceBootstrapReadPath as Et, buildCurrentOrganizationMessageChannelPath as F, COMPUTER_FILE_ACCESS_RUNTIME_CAPABILITY as Fi, trashSpaceFileEntry as Fn, organizationSkillReleaseSummarySchema as Fr, createAgentProfileWorkRecoveryApi as Ft, buildFeedbackIssueSubmissionPath as G, parseIncoming as Gn, spaceMemberDirectorySchema as Gr, createLocalFolderPickerApi as Gt, buildCurrentOrganizationSpacesWithMemberCountsPath as H, DAEMON_STREAM_KEEPALIVE_PONG as Hn, spaceMemberAgentWakeAvailabilitySchema as Hr, createFeedbackApi as Ht, buildCurrentOrganizationMessageChannelRegistrationPath as I, OPENMELD_RUNTIME_CAPABILITIES_HEADER as Ii, updateSpaceFileContent as In, organizationSkillSummarySchema as Ir, createCenterAgentApi as It, buildInboxItemReadPath as J, OPENMELD_HEADER_PROFILE_ID as Jn, ownerComputerDiagnosticsSchema as Jr, createOpenMeldApiClient as Jt, buildInboxItemDismissPath as K, parseServerErrorFrame as Kn, spaceMemberKindSchema as Kr, createLocalProjectControlApi as Kt, buildCurrentOrganizationMessageChannelRegistrationPollPath as L, computerFileAccessDaemonFrameSchema as Li, updateSpaceFileEntry as Ln, stringifyOrganizationSkillBundleCanonicalJson as Lr, createComputerAuthorizationGrant as Lt, buildCurrentOrganizationInformationProtectionPath as M, projectSchema as Mi, resolveProfileSpaceHistoryGatewayHost as Mn, getOrganizationSkillResponseSchema as Mr, createAgentActivityApi as Mt, buildCurrentOrganizationLogoPath as N, updateProjectResponseSchema as Ni, setSpaceAccessMode as Nn, listOrganizationSkillsResponseSchema as Nr, createAgentProfileBindingApi as Nt, buildCurrentOrganizationCenterAgentMemoryWipeSelfPath as O, localProjectControlDiscoverProjectsResponseSchema as Oi, readCliRelease as On, spaceDispatchTraceDispatchStatusSchema as Or, buildSpaceInboxReadThroughPath as Ot, buildCurrentOrganizationMemberOpenMeldServiceStatusesPath as P, COMPUTER_FILE_ACCESS_OWNER_CANCELLED_REASON_CODE as Pi, toStructuredApiClientFailure as Pn, organizationSkillBundleSchema as Pr, createAgentProfileExecutionModeApi as Pt, buildInboxSummaryPath as Q, buildOpenMeldRequestContextHeaders as Qn, agentActivityInventorySessionOriginSchema as Qr, createOrganizationUsageApi as Qt, buildCurrentOrganizationMessageChannelRegistrationsPath as R, computerFileAccessPolicyInputSchema as Ri, updateSpaceMeta as Rn, leaveSpaceResponseSchema as Rr, createComputerFileAccessApi as Rt, buildCenterAgentProfilePath as S, centerAgentToolSpeakerSchema as Si, mutateSpaceTask as Sn, SPACE_DISPATCH_TRACE_PROMPT_PREVIEW_MAX_CHARS as Sr, buildRoutineRunsPath as St, buildComputerFileAccessReadPath as T, signalTextEnvelopeSchema as Ti, publicSpaceUrls as Tn, resolveRuntimeCoordinatorHeadStatusRootCause as Tr, buildSpaceAttachmentDownloadPath as Tt, buildDirectMessageConversionPath as U, MAX_TEXT_LENGTH as Un, spaceMemberDirectoryAllowedRelationsSchema as Ur, createFetchTransport as Ut, buildCurrentOrganizationSpacesPath as V, toCompatibleSpaceAddressingRequestWireValue as Vi, DAEMON_STREAM_KEEPALIVE_PING as Vn, resolvedSpaceMemberProfileSchema as Vr, createDirectMessageApi as Vt, buildDirectMessageSpacePath as W, parseEnvelope as Wn, spaceMemberDirectoryEntrySchema as Wr, createInboxApi as Wt, buildInboxPath as X, OPENMELD_HEADER_REQUEST_ID as Xn, summarizeComputerFileAccessPolicy as Xr, createOrganizationDocumentsApi as Xt, buildInboxMarkAllReadPath as Y, OPENMELD_HEADER_REQUESTED_ORGANIZATION_ID as Yn, projectOwnerComputerLocalRuntimes as Yr, createOrganizationApi as Yt, buildInboxPreferencesPath as Z, OPENMELD_HEADER_SPACE_ADDRESSING_VERSION as Zn, organizationComputersResponseSchema as Zr, createOrganizationSkillsApi as Zt, buildCenterAgentDirectMessageSpacePath as _, agentActivityEventSchema as _i, isInboxItemVisibleConversation as _n, spaceTaskMutationReceiptSchema as _r, buildProjectPath as _t, buildAgentActivitySessionsPath as a, spaceCreatorSchema as ai, createRoutinesApi as an, betterAuthDeviceAuthorizationCodeResponseSchema as ar, buildOrganizationDocumentsPath as at, buildCenterAgentMemberResearchPath as b, agentActivitySnapshotQuerySchema as bi, listSpaceFiles as bn, submitFeedbackIssueRequestSchema as br, buildRoutinePausePath as bt, buildAgentProfileCreationApprovalPreferencePath as c, deleteCenterAgentRoutineResponseSchema as ci, createSpaceApi as cn, betterAuthDeviceAuthorizationTokenResponseSchema as cr, buildOrganizationSkillGitHubPreviewPath as ct, buildAgentProfileCreationRequestDecisionPath as d, pauseCenterAgentRoutineResponseSchema as di, downloadSpaceFileContent as dn, agentProfileCreationConfigurationSchema as dr, buildOrganizationSkillsPath as dt, agentActivitySessionInventoryQuerySchema as ei, createPrepareReadinessApi as en, getSpaceUpdatesResponseSchema as er, buildLocalProjectControlPath as et, buildAgentProfileCreationRequestRetryPath as f, resumeCenterAgentRoutineResponseSchema as fi, getModelCatalog as fn, createAgentProfileCreationRequestBodySchema as fr, buildOrganizationUsageOverviewPath as ft, buildCenterAgentDesignationPath as g, AGENT_ACTIVITY_PRESENCE_TTL_MAX_MS as gi, isInboxItemInOrganizationScope as gn, spaceTaskIdSchema as gr, buildProfileSpaceHistoryUpsertPath as gt, buildCenterAgentAuditJournalPath as h, AGENT_ACTIVITY_EVENT_MAX_BYTES as hi, inboxMessageNotificationSpaceId as hn, mutateSpaceTaskBodySchema as hr, buildProfileSpaceHistoryStatusPath as ht, buildAccountSpaceIndexPath as i, resolveInitialSpaceAccessMode as ii, createReasoningStreamApi as in, betterAuthDeviceAuthorizationCodeRequestSchema as ir, buildOrganizationDocumentPath as it, buildCurrentOrganizationFeedbackReportingPolicyPath as j, listProjectsResponseSchema as ji, resolveAccountSpaceIndexGatewayHost as jn, projectObservabilityWakeCorrelation as jr, createAccountSpaceIndexApi as jt, buildCurrentOrganizationComputersPath as k, archiveProjectResponseSchema as ki, readOrUpdateSpaceFilePins as kn, spaceDispatchTraceResponseSchema as kr, buildSpaceInboxSummaryPath as kt, buildAgentProfileCreationDefaultsPath as l, listCenterAgentRoutineRunsResponseSchema as li, createSpaceFolder as ln, betterAuthSessionSnapshotResponseSchema as lr, buildOrganizationSkillMaintainersPath as lt, buildAgentProfileWorkRecoveryRoute as m, modelCatalogSchema as mi, getSpaceTask as mn, createSpaceTaskBodySchema as mr, buildProfileSpaceHistoryListPath as mt, OpenMeldApiClientInvalidResponseError as n, localAgentSessionProviderSchema as ni, createProfilesApi as nn, pluginActionRequestSchema as nr, buildOrganizationDocumentApproveDraftPath as nt, buildAgentActivitySnapshotPath as o, spaceMetaSchema as oi, createRuntimeReportingApi as on, betterAuthDeviceAuthorizationErrorResponseSchema as or, buildOrganizationSkillEnabledPath as ot, buildAgentProfileCreationRequestsPath as p, updateCenterAgentRoutineResponseSchema as pi, getSpaceFile as pn, gatewayErrorEnvelopeSchema as pr, buildProfileRoute as pt, buildInboxItemPath as q, resolveCustomMentionAliasOverride as qn, submitAgentControllerTaskLifecycleEventItemSchema as qr, createLocalRuntimeExpectedRoutesApi as qt, buildAccountSpaceActiveWakeSummaryPath as r, observedLocalAgentSessionSchema as ri, createProjectsApi as rn, BETTER_AUTH_DEVICE_AUTHORIZATION_GRANT_TYPE as rr, buildOrganizationDocumentDiscardDraftPath as rt, buildAgentActivityStatsPath as s, createCenterAgentRoutineResponseSchema as si, createServiceConnectionEvidenceApi as sn, betterAuthDeviceAuthorizationTokenRequestSchema as sr, buildOrganizationSkillGitHubImportPath as st, OpenMeldApiClientHttpError as t, agentActivitySessionInventoryResponseSchema as ti, createProfileSpaceHistoryApi as tn, spaceEntryTargetSchema as tr, buildModelCatalogPath as tt, buildAgentProfileCreationRequestCancelPath as u, listCenterAgentRoutinesResponseSchema as ui, createSpaceTask as un, DEFAULT_AGENT_PROFILE_CREATION_CONFIGURATION as ur, buildOrganizationSkillPath as ut, buildCenterAgentInboxReadThroughPath as v, agentActivityProviderSchema as vi, isInboxNotificationEligible as vn, organizationSpaceDirectoryWithMemberCountsResponseSchema as vr, buildProjectsPath as vt, buildCenterAgentSessionsPath as w, serviceConnectionEvidenceJournalSchema as wi, postSpaceWorkHandoff as wn, projectSpaceDispatchTraceFinalVisibleOutcome as wr, buildRoutinesPath as wt, buildCenterAgentOperatingStatePath as x, agentActivitySnapshotResponseSchema as xi, listSpaceTasks as xn, submitFeedbackIssueResponseSchema as xr, buildRoutineResumePath as xt, buildCenterAgentInboxSummaryPath as y, agentActivitySessionStatusSchema as yi, listSpaceFileRevisions as yn, organizationDirectoryResponseSchema as yr, buildRoutinePath as yt, buildCurrentOrganizationMessageChannelSetupRequestsPath as z, computerFileAccessPolicySchema as zi, uploadSpaceAttachment as zn, postSpaceMembersResponseSchema as zr, createConfigApi as zt };
20564
+ export { buildLocalFolderPickerPath as $, resolveCustomMentionAliasOverride as $n, spaceMemberDirectoryAllowedRelationsSchema as $r, createLocalRuntimeExpectedRoutesApi as $t, buildCurrentOrganizationDirectoryPath as A, agentActivitySnapshotQuerySchema as Ai, postSpaceWorkHandoff as An, projectSpaceDispatchTraceFinalVisibleOutcome as Ar, buildSpaceAttachmentDownloadPath as At, buildCurrentOrganizationMessageChannelsPath as B, createProjectResponseSchema as Bi, toStructuredApiClientFailure as Bn, getOrganizationSkillResponseSchema as Br, createAgentProfileWorkRecoveryApi as Bt, buildCenterAgentSessionPath as C, updateCenterAgentRoutineResponseSchema as Ci, isInboxItemVisibleConversation as Cn, spaceTaskMutationReceiptSchema as Cr, buildProjectsPath as Ct, buildCurrentAgentProfileSessionRoute as D, agentActivityEventSchema as Di, listSpaceTasks as Dn, submitFeedbackIssueResponseSchema as Dr, buildRoutineRunsPath as Dt, buildComputerFileAccessUpdatePath as E, AGENT_ACTIVITY_PRESENCE_TTL_MAX_MS as Ei, listSpaceFiles as En, submitFeedbackIssueRequestSchema as Er, buildRoutineResumePath as Et, buildCurrentOrganizationMessageChannelPath as F, signalTextEnvelopeSchema as Fi, readOrUpdateSpaceFilePins as Fn, spaceDispatchTraceResponseSchema as Fr, buildSpaceInboxUnreadTargetsPath as Ft, buildFeedbackIssueSubmissionPath as G, COMPUTER_FILE_ACCESS_RUNTIME_CAPABILITY as Gi, uploadSpaceAttachment as Gn, organizationSkillReleaseSummarySchema as Gr, createCurrentDeviceApi as Gt, buildCurrentOrganizationSpacesWithMemberCountsPath as H, projectSchema as Hi, updateSpaceFileContent as Hn, organizationSkillBundleSchema as Hr, createComputerAuthorizationGrant as Ht, buildCurrentOrganizationMessageChannelRegistrationPath as I, localProjectControlConnectionSchema as Ii, readOrUpdateSpaceMessagePins as In, observabilityWakeTraceSelectorSchema as Ir, createAccountSpaceIndexApi as It, buildInboxItemReadPath as J, computerFileAccessPolicyInputSchema as Ji, DAEMON_STREAM_KEEPALIVE_PONG as Jn, leaveSpaceResponseSchema as Jr, createFetchTransport as Jt, buildInboxItemDismissPath as K, OPENMELD_RUNTIME_CAPABILITIES_HEADER as Ki, uploadSpaceFile as Kn, organizationSkillSummarySchema as Kr, createDirectMessageApi as Kt, buildCurrentOrganizationMessageChannelRegistrationPollPath as L, localProjectControlDaemonFrameSchema as Li, resolveAccountSpaceIndexGatewayHost as Ln, projectObservabilityWakeCorrelation as Lr, createAgentActivityApi as Lt, buildCurrentOrganizationInformationProtectionPath as M, centerAgentToolSpeakerSchema as Mi, readAccountOrganizationContext as Mn, resolveSpaceDispatchTraceRootCause as Mr, buildSpaceFileContentPath as Mt, buildCurrentOrganizationLogoPath as N, serviceConnectionEvidenceEventSchema as Ni, readAccountSession as Nn, spaceDispatchTraceAttemptStatusSchema as Nr, buildSpaceInboxReadThroughPath as Nt, buildCurrentOrganizationCenterAgentMemoryWipeSelfPath as O, agentActivityProviderSchema as Oi, mutateSpaceTask as On, SPACE_DISPATCH_TRACE_PROMPT_PREVIEW_MAX_CHARS as Or, buildRoutineTargetSpacesPath as Ot, buildCurrentOrganizationMemberOpenMeldServiceStatusesPath as P, serviceConnectionEvidenceJournalSchema as Pi, readCliRelease as Pn, spaceDispatchTraceDispatchStatusSchema as Pr, buildSpaceInboxSummaryPath as Pt, buildInboxSummaryPath as Q, parseServerErrorFrame as Qn, spaceMemberAgentWakeAvailabilitySchema as Qr, createLocalProjectControlApi as Qt, buildCurrentOrganizationMessageChannelRegistrationsPath as R, localProjectControlDiscoverProjectsResponseSchema as Ri, resolveProfileSpaceHistoryGatewayHost as Rn, ORGANIZATION_SKILL_BUNDLE_MAX_BYTES as Rr, createAgentProfileBindingApi as Rt, buildCenterAgentProfilePath as S, resumeCenterAgentRoutineResponseSchema as Si, isInboxItemInOrganizationScope as Sn, spaceTaskIdSchema as Sr, buildProjectPath as St, buildComputerFileAccessReadPath as T, AGENT_ACTIVITY_EVENT_MAX_BYTES as Ti, listSpaceFileRevisions as Tn, organizationDirectoryResponseSchema as Tr, buildRoutinePausePath as Tt, buildDirectMessageConversionPath as U, updateProjectResponseSchema as Ui, updateSpaceFileEntry as Un, organizationSkillFileSchema as Ur, createComputerFileAccessApi as Ut, buildCurrentOrganizationSpacesPath as V, listProjectsResponseSchema as Vi, trashSpaceFileEntry as Vn, listOrganizationSkillsResponseSchema as Vr, createCenterAgentApi as Vt, buildDirectMessageSpacePath as W, COMPUTER_FILE_ACCESS_OWNER_CANCELLED_REASON_CODE as Wi, updateSpaceMeta as Wn, organizationSkillGitHubRepositoryPreviewSchema as Wr, createConfigApi as Wt, buildInboxPath as X, toLegacySpaceImageGeometryWireValue as Xi, parseEnvelope as Xn, removeSpaceMembersResponseSchema as Xr, createInboxApi as Xt, buildInboxMarkAllReadPath as Y, computerFileAccessPolicySchema as Yi, MAX_TEXT_LENGTH as Yn, postSpaceMembersResponseSchema as Yr, createFileRootApi as Yt, buildInboxPreferencesPath as Z, toCompatibleSpaceAddressingRequestWireValue as Zi, parseIncoming as Zn, resolvedSpaceMemberProfileSchema as Zr, createLocalFolderPickerApi as Zt, buildCenterAgentDirectMessageSpacePath as _, createCenterAgentRoutineResponseSchema as _i, downloadSpaceFileContent as _n, agentProfileCreationConfigurationSchema as _r, buildOrganizationUsageOverviewPath as _t, buildAgentActivitySessionsPath as a, projectOwnerComputerLocalRuntimes as ai, createPluginsApi as an, toErrorMessage$2 as ar, buildOrganizationDocumentsPath as at, buildCenterAgentMemberResearchPath as b, listCenterAgentRoutinesResponseSchema as bi, getSpaceTask as bn, createSpaceTaskBodySchema as br, buildProfileSpaceHistoryStatusPath as bt, buildAgentProfileCreationApprovalPreferencePath as c, agentActivityInventorySessionOriginSchema as ci, createProfilesApi as cn, pluginActionRequestSchema as cr, buildOrganizationSkillFilesImportPath as ct, buildAgentProfileCreationRequestDecisionPath as d, agentActivitySessionInventoryResponseSchema as di, createRoutinesApi as dn, betterAuthDeviceAuthorizationCodeResponseSchema as dr, buildOrganizationSkillGitHubPreviewPath as dt, spaceMemberDirectoryEntrySchema as ei, createOpenMeldApiClient as en, OPENMELD_HEADER_PROFILE_ID as er, buildLocalProjectControlPath as et, buildAgentProfileCreationRequestRetryPath as f, localAgentSessionProviderSchema as fi, createRuntimeReportingApi as fn, betterAuthDeviceAuthorizationErrorResponseSchema as fr, buildOrganizationSkillMaintainersPath as ft, buildCenterAgentDesignationPath as g, spaceMetaSchema as gi, createSpaceTask as gn, DEFAULT_AGENT_PROFILE_CREATION_CONFIGURATION as gr, buildOrganizationSkillsPath as gt, buildCenterAgentAuditJournalPath as h, spaceCreatorSchema as hi, createSpaceFolder as hn, betterAuthSessionSnapshotResponseSchema as hr, buildOrganizationSkillResourcePath as ht, buildAccountSpaceIndexPath as i, ownerComputerDiagnosticsSchema as ii, createOrganizationUsageApi as in, buildOpenMeldRequestContextHeaders as ir, buildOrganizationDocumentPath as it, buildCurrentOrganizationFeedbackReportingPolicyPath as j, agentActivitySnapshotResponseSchema as ji, publicSpaceUrls as jn, resolveRuntimeCoordinatorHeadStatusRootCause as jr, buildSpaceBootstrapReadPath as jt, buildCurrentOrganizationComputersPath as k, agentActivitySessionStatusSchema as ki, normalizeApiBaseUrl as kn, SPACE_DISPATCH_TRACE_RESPONSE_CONTRACT_VERSION_HEADER as kr, buildRoutinesPath as kt, buildAgentProfileCreationDefaultsPath as l, agentActivityInventorySessionStatusSchema as li, createProjectsApi as ln, BETTER_AUTH_DEVICE_AUTHORIZATION_GRANT_TYPE as lr, buildOrganizationSkillFilesPreviewPath as lt, buildAgentProfileWorkRecoveryRoute as m, resolveInitialSpaceAccessMode as mi, createSpaceApi as mn, betterAuthDeviceAuthorizationTokenResponseSchema as mr, buildOrganizationSkillRepositoryPreviewPath as mt, OpenMeldApiClientInvalidResponseError as n, spaceMemberKindSchema as ni, createOrganizationDocumentsApi as nn, OPENMELD_HEADER_REQUEST_ID as nr, buildOrganizationDocumentApproveDraftPath as nt, buildAgentActivitySnapshotPath as o, summarizeComputerFileAccessPolicy as oi, createPrepareReadinessApi as on, getSpaceUpdatesResponseSchema as or, buildOrganizationSkillCatalogPath as ot, buildAgentProfileCreationRequestsPath as p, observedLocalAgentSessionSchema as pi, createServiceConnectionEvidenceApi as pn, betterAuthDeviceAuthorizationTokenRequestSchema as pr, buildOrganizationSkillPath as pt, buildInboxItemPath as q, computerFileAccessDaemonFrameSchema as qi, DAEMON_STREAM_KEEPALIVE_PING as qn, stringifyOrganizationSkillBundleCanonicalJson as qr, createFeedbackApi as qt, buildAccountSpaceActiveWakeSummaryPath as r, submitAgentControllerTaskLifecycleEventItemSchema as ri, createOrganizationSkillsApi as rn, OPENMELD_HEADER_SPACE_ADDRESSING_VERSION as rr, buildOrganizationDocumentDiscardDraftPath as rt, buildAgentActivityStatsPath as s, organizationComputersResponseSchema as si, createProfileSpaceHistoryApi as sn, spaceEntryTargetSchema as sr, buildOrganizationSkillEnabledPath as st, OpenMeldApiClientHttpError as t, spaceMemberDirectorySchema as ti, createOrganizationApi as tn, OPENMELD_HEADER_REQUESTED_ORGANIZATION_ID as tr, buildModelCatalogPath as tt, buildAgentProfileCreationRequestCancelPath as u, agentActivitySessionInventoryQuerySchema as ui, createReasoningStreamApi as un, betterAuthDeviceAuthorizationCodeRequestSchema as ur, buildOrganizationSkillGitHubImportPath as ut, buildCenterAgentInboxReadThroughPath as v, deleteCenterAgentRoutineResponseSchema as vi, getModelCatalog as vn, createAgentProfileCreationRequestBodySchema as vr, buildProfileRoute as vt, buildCenterAgentSessionsPath as w, modelCatalogSchema as wi, isInboxNotificationEligible as wn, organizationSpaceDirectoryWithMemberCountsResponseSchema as wr, buildRoutinePath as wt, buildCenterAgentOperatingStatePath as x, pauseCenterAgentRoutineResponseSchema as xi, inboxMessageNotificationSpaceId as xn, mutateSpaceTaskBodySchema as xr, buildProfileSpaceHistoryUpsertPath as xt, buildCenterAgentInboxSummaryPath as y, listCenterAgentRoutineRunsResponseSchema as yi, getSpaceFile as yn, gatewayErrorEnvelopeSchema as yr, buildProfileSpaceHistoryListPath as yt, buildCurrentOrganizationMessageChannelSetupRequestsPath as z, archiveProjectResponseSchema as zi, setSpaceAccessMode as zn, ORGANIZATION_SKILL_FILE_MAX_BYTES as zr, createAgentProfileExecutionModeApi as zt };
19935
20565
 
19936
- //# sourceMappingURL=dist-DkN9tKMX.js.map
20566
+ //# sourceMappingURL=dist-CAypwFRu.js.map