openmeld 0.3.172 → 0.3.174

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 (49) hide show
  1. package/dist/{add-me-membership-ma_jKZx4.js → add-me-membership-zsKO5c2i.js} +2 -2
  2. package/dist/{add-me-membership-ma_jKZx4.js.map → add-me-membership-zsKO5c2i.js.map} +1 -1
  3. package/dist/{api-client-foundation-BBeupKRy.js → api-client-foundation-BmL7N1rL.js} +3 -3
  4. package/dist/{api-client-foundation-BBeupKRy.js.map → api-client-foundation-BmL7N1rL.js.map} +1 -1
  5. package/dist/{api-client-foundation-CZzsv-cX.js → api-client-foundation-L2yqzJvx.js} +1 -1
  6. package/dist/{auth-session-BWlfQspT.js → auth-session-CACyTxMs.js} +2 -2
  7. package/dist/{auth-session-BWlfQspT.js.map → auth-session-CACyTxMs.js.map} +1 -1
  8. package/dist/auth-session-xtsMt51e.js +4 -0
  9. package/dist/{base-url-iT1pbiC4.js → base-url-8Q6W3z6w.js} +1 -1
  10. package/dist/{base-url-CgF_v0Ue.js → base-url-DvSrOI4A.js} +2 -2
  11. package/dist/{base-url-CgF_v0Ue.js.map → base-url-DvSrOI4A.js.map} +1 -1
  12. package/dist/{command-BGtiK3oj.js → command-CdMfJRAB.js} +320 -500
  13. package/dist/command-CdMfJRAB.js.map +1 -0
  14. package/dist/{controller-contract-CvjP4mYj.js → controller-contract-pe3_Re-c.js} +8 -2
  15. package/dist/controller-contract-pe3_Re-c.js.map +1 -0
  16. package/dist/dist-CTrCRN9d.js +4 -0
  17. package/dist/{dist-HMJJDAo6.js → dist-D_08t8sR.js} +240 -731
  18. package/dist/dist-D_08t8sR.js.map +1 -0
  19. package/dist/{elapsed-time-DVvnl-Wp.js → elapsed-time-DRZZZEOZ.js} +8 -8
  20. package/dist/{elapsed-time-DVvnl-Wp.js.map → elapsed-time-DRZZZEOZ.js.map} +1 -1
  21. package/dist/{installer-B7a0S1g0.js → installer-DHZPSSGu.js} +5 -5
  22. package/dist/installer-DHZPSSGu.js.map +1 -0
  23. package/dist/{openmeld-BaV0IoGd.js → openmeld-NJMNglsl.js} +46 -82
  24. package/dist/openmeld-NJMNglsl.js.map +1 -0
  25. package/dist/openmeld-dev.js +1 -1
  26. package/dist/{openmeld-maintenance-worker-DnWbw151.js → openmeld-maintenance-worker-XcbZgg97.js} +4 -4
  27. package/dist/{openmeld-maintenance-worker-DnWbw151.js.map → openmeld-maintenance-worker-XcbZgg97.js.map} +1 -1
  28. package/dist/{openmeld-tools-update-coordinator-D9myMx6w.js → openmeld-tools-update-coordinator-pczmEBLZ.js} +26 -16
  29. package/dist/openmeld-tools-update-coordinator-pczmEBLZ.js.map +1 -0
  30. package/dist/openmeld.js +3 -3
  31. package/dist/{runtime-transport-5G8zV7dE.js → runtime-transport-B1F7rGb0.js} +5 -8
  32. package/dist/runtime-transport-B1F7rGb0.js.map +1 -0
  33. package/dist/upgrade-DUA-5zZT.js +4 -0
  34. package/dist/{upgrade-B1BXmCxg.js → upgrade-h0cX0c-E.js} +4 -4
  35. package/dist/{upgrade-B1BXmCxg.js.map → upgrade-h0cX0c-E.js.map} +1 -1
  36. package/package.json +2 -2
  37. package/skills/openmeld-cli/SKILL.md +3 -1
  38. package/skills/openmeld-cli/playbooks/space-ops.md +17 -45
  39. package/skills/openmeld-cli/references/commands.md +6 -13
  40. package/dist/auth-session-DmnsWpk0.js +0 -4
  41. package/dist/command-BGtiK3oj.js.map +0 -1
  42. package/dist/controller-contract-CvjP4mYj.js.map +0 -1
  43. package/dist/dist-DgC0UjmC.js +0 -4
  44. package/dist/dist-HMJJDAo6.js.map +0 -1
  45. package/dist/installer-B7a0S1g0.js.map +0 -1
  46. package/dist/openmeld-BaV0IoGd.js.map +0 -1
  47. package/dist/openmeld-tools-update-coordinator-D9myMx6w.js.map +0 -1
  48. package/dist/runtime-transport-5G8zV7dE.js.map +0 -1
  49. package/dist/upgrade-C1mhGlqL.js +0 -4
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import { S as resolveBuiltinAgentControllerConversationCapability, m as agentControllerRefSchema, s as runtimeTransportModeSchema, x as agentControllerConversationCapabilitySchema, y as normalizeKnownBuiltinAgentControllerId } from "./controller-contract-CvjP4mYj.js";
4
- import { $ as localFolderPickerRequestSchema, $n as openMeldToolsMaintenanceMutationResultSchema, $t as stageSpaceComposerUploadResponseSchema, Ar as postSpaceWakeStopBodySchema, At as spaceAttachmentFileNameSchema, B as openMeldDaemonOriginalErrorSchema, Br as SPACE_PASSWORD_RATE_LIMITED_ERROR_CODE, Bt as createSpaceFolderResponseSchema, Ci as openMeldWebUrlSchema, Cn as targetWakeLifecycleIdentitySchema, Cr as strictObject, Dr as union, Dt as signalTextSchema, Er as undefinedFactory, Et as signalTextDataSchema, Fn as spaceAgentStreamPresenceSchema, Fr as runtimeCoordinatorExecutionEventSchema, Ft as conversationCompactionMarkerSchema, Gr as spaceMentionLabelSchema, Gt as listSpaceFilesResponseSchema, Hn as agentInteractionResponseSchema, Hr as spacePasswordSchema, Ht as getSpaceFileResponseSchema, I as runtimeTransportRuntimeCoordinatorRespondInteractionResponseSchema, In as spaceAgentStreamSnapshotSchema, Ir as runtimeCoordinatorExecutionRecordSchema, Jr as organizationProtectedInformationSchema, Jt as restoreSpaceFileEntryResponseSchema, K as openMeldDaemonTaskResultProjectFailureContextSchema, Kr as spaceMentionLabelSourceSchema, Kt as publishSpaceComposerUploadResponseSchema, Ln as spaceAgentStreamTerminalFrameSchema, Lt as centerAgentInteractionSourceSchema, Mn as agentStreamToolPartSchema, Mr as clientMessageIdSchema$1, Mt as spaceAttachmentSizeBytesSchema, Nn as spaceAgentStreamDeltaFrameSchema, Nt as spaceMessageAttachmentSchema, On as messageEnvelopeSchema, Or as unknown, Ot as spaceAttachmentDescriptorSchema, Pn as spaceAgentStreamPartFrameSchema, Pr as runtimeCoordinatorExecutionCreationDiagnosticSchema, Pt as spaceMessageAttachmentsSchema, Qr as inspectExecutionRecoveryResponseSchema, Qt as spaceMessageFileReferencesSchema, Rt as SPACE_FILE_ERROR_CODES, Si as openMeldNavigationTargetSchema, Sn as workingLanguageTagSchema, Sr as record, St as centerAgentTaskReferenceSchema, Tr as tuple, Tt as signalSystemNoticeDataSchema, V as openMeldDaemonProviderAccessEvidenceProviderSchema, Vr as normalizeSpacePasswordText, Vt as discardSpaceComposerUploadResponseSchema, Wt as listSpaceFileRevisionsResponseSchema, Xn as localComponentUpdateProjectionSchema, Xr as executeExecutionRecoveryBodySchema, Xt as spaceFileMimeTypeSchema, Yn as localComponentUpdatePolicySchema, Yr as updateOrganizationInformationProtectionPolicyBodySchema, Yt as restoreSpaceFileRevisionResponseSchema, Zn as localComponentUpdateStatusSchema, Zr as executeExecutionRecoveryResponseSchema, _n as resultArchivePolicySchema, _r as neverFactory, ai as profileKindSchema, at as agentTaskHandleSchema, bn as spaceDispatchPolicySchema, br as object, ci as profileWorkspaceModeSchema, cr as boolean, ct as buildAgentTaskKey, di as nonEmptyTrimmedStringFromUnknown, dn as spaceThreadContextSchema, dr as email, ei as openMeldRequestContextSchema, en as trashSpaceFileEntryResponseSchema, er as openMeldToolsMaintenanceProjectionSchema, et as localFolderPickerResultSchema, fi as optionalBooleanQuerySchema, fn as spaceThreadEventSchema, fr as enumFactory, gr as literal, hi as agentProfileWorkRecoveryActionKindSchema, hr as lazySchema, ii as openMeldRuntimeProfileIdSchema, ir as openMeldToolsUpdateRequestResultSchema, it as agentTaskCompletionObservationSchema, jn as AGENT_STREAM_SNAPSHOT_MAX_CHARS, jr as postSpaceWakeStopResponseSchema, jt as spaceAttachmentMimeTypeSchema, kr as url, kt as spaceAttachmentDimensionSchema, li as uuidProfileIdSchema, lr as coerce, lt as controllerAgentTaskHandleSchema, mi as MAX_TEXT_LENGTH$1, mn as spaceThreadSignalPlacementSchema, mr as iso, n as daemonExecutionCompatibilitySchema, ni as agentProfileIdSchema, nn as uploadSpaceFileResponseSchema, nt as agentDelegationSnapshotSchema, oi as profileSchema, on as openMeldDaemonSyncRouteCatalogPayloadSchema, or as NEVER, ot as agentTaskTerminalOutcomeSchema, pi as trimmedStringFromUnknown, pn as spaceThreadSchema, pr as int, qr as organizationInformationProtectionPolicyResponseSchema, rn as localAgentInstallationOptionSchema, rr as openMeldToolsUpdateOperationSchema, rt as agentTaskCompletionConditionSchema, si as profileWorkingDirectorySchema, sr as array, st as areAgentTaskTerminalOutcomesEqual, t as CURRENT_DAEMON_EXECUTION_CONTRACT_EPOCH, tn as updateSpaceFileEntryResponseSchema, tt as localFolderPathSchema, ui as finiteIntegerNumber, un as dispatchExecutionSchema, ur as discriminatedUnion, ut as spaceWakeAgentTaskHandleSchema, vn as spaceAllowedActionsSchema, vr as nullFactory, wr as string, wt as signalStatusDataSchema, xi as computerSetupModeSchema, xn as workingLanguageGuidanceSchema, xr as preprocess, yn as spacePublicationModeSchema, yr as number, zn as agentInteractionPendingSummarySchema, zr as spaceTraceExecutionIdentityProjectionSchema, zt as SPACE_FILE_MAX_SIZE_BYTES } from "./runtime-transport-5G8zV7dE.js";
3
+ import { C as resolveBuiltinAgentControllerConversationCapability, S as agentControllerConversationCapabilitySchema, b as normalizeKnownBuiltinAgentControllerId, h as agentControllerRefSchema, s as runtimeTransportModeSchema } from "./controller-contract-pe3_Re-c.js";
4
+ import { $ as localFolderPickerRequestSchema, $n as openMeldToolsMaintenanceProjectionSchema, $r as openMeldRequestContextSchema, $t as trashSpaceFileEntryResponseSchema, An as AGENT_STREAM_SNAPSHOT_MAX_CHARS, Ar as postSpaceWakeStopResponseSchema, At as spaceAttachmentMimeTypeSchema, B as openMeldDaemonOriginalErrorSchema, Br as normalizeSpacePasswordText, Bt as discardSpaceComposerUploadResponseSchema, Cr as string, Ct as signalStatusDataSchema, Dn as messageEnvelopeSchema, Dr as unknown, Dt as spaceAttachmentDescriptorSchema, Er as union, Et as signalTextSchema, Fn as spaceAgentStreamSnapshotSchema, Fr as runtimeCoordinatorExecutionRecordSchema, Gr as spaceMentionLabelSourceSchema, Gt as publishSpaceComposerUploadResponseSchema, I as runtimeTransportRuntimeCoordinatorRespondInteractionResponseSchema, In as spaceAgentStreamTerminalFrameSchema, It as centerAgentInteractionSourceSchema, Jn as localComponentUpdatePolicySchema, Jr as updateOrganizationInformationProtectionPolicyBodySchema, Jt as restoreSpaceFileRevisionResponseSchema, K as openMeldDaemonTaskResultProjectFailureContextSchema, Kr as organizationInformationProtectionPolicyResponseSchema, Lt as SPACE_FILE_ERROR_CODES, Mn as spaceAgentStreamDeltaFrameSchema, Mt as spaceMessageAttachmentSchema, Nn as spaceAgentStreamPartFrameSchema, Nr as runtimeCoordinatorExecutionCreationDiagnosticSchema, Nt as spaceMessageAttachmentsSchema, Or as url, Ot as spaceAttachmentDimensionSchema, Pn as spaceAgentStreamPresenceSchema, Pr as runtimeCoordinatorExecutionEventSchema, Pt as conversationCompactionMarkerSchema, Qn as openMeldToolsMaintenanceMutationResultSchema, Qt as stageSpaceComposerUploadResponseSchema, Rn as agentInteractionPendingSummarySchema, Rr as spaceTraceExecutionIdentityProjectionSchema, Rt as SPACE_FILE_MAX_SIZE_BYTES, Si as openMeldWebUrlSchema, Sn as targetWakeLifecycleIdentitySchema, Sr as strictObject, Tr as undefinedFactory, Tt as signalTextDataSchema, Ut as listSpaceFileRevisionsResponseSchema, V as openMeldDaemonProviderAccessEvidenceProviderSchema, Vn as agentInteractionResponseSchema, Vr as spacePasswordSchema, Vt as getSpaceFileResponseSchema, Wr as spaceMentionLabelSchema, Wt as listSpaceFilesResponseSchema, Xn as localComponentUpdateStatusSchema, Xr as executeExecutionRecoveryResponseSchema, Yn as localComponentUpdateProjectionSchema, Yr as executeExecutionRecoveryBodySchema, Yt as spaceFileMimeTypeSchema, Zr as inspectExecutionRecoveryResponseSchema, Zt as spaceMessageFileReferencesSchema, _n as spaceAllowedActionsSchema, _r as nullFactory, ai as profileSchema, an as openMeldDaemonSyncRouteCatalogPayloadSchema, ar as NEVER, at as agentTaskHandleSchema, bi as computerSetupModeSchema, bn as workingLanguageGuidanceSchema, br as preprocess, ci as uuidProfileIdSchema, cr as coerce, ct as buildAgentTaskKey, di as optionalBooleanQuerySchema, dn as spaceThreadEventSchema, dr as enumFactory, en as updateSpaceFileEntryResponseSchema, et as localFolderPickerResultSchema, fi as trimmedStringFromUnknown, fn as spaceThreadSchema, fr as int, gn as resultArchivePolicySchema, gr as neverFactory, hr as literal, ii as profileKindSchema, it as agentTaskCompletionObservationSchema, jn as agentStreamToolPartSchema, jr as clientMessageIdSchema$1, jt as spaceAttachmentSizeBytesSchema, kr as postSpaceWakeStopBodySchema, kt as spaceAttachmentFileNameSchema, li as finiteIntegerNumber, ln as dispatchExecutionSchema, lr as discriminatedUnion, lt as controllerAgentTaskHandleSchema, mi as agentProfileWorkRecoveryActionKindSchema, mr as lazySchema, n as daemonExecutionCompatibilitySchema, nn as localAgentInstallationOptionSchema, nr as openMeldToolsUpdateOperationSchema, nt as agentDelegationSnapshotSchema, oi as profileWorkingDirectorySchema, or as array, ot as agentTaskTerminalOutcomeSchema, pi as MAX_TEXT_LENGTH$1, pn as spaceThreadSignalPlacementSchema, pr as iso, qr as organizationProtectedInformationSchema, qt as restoreSpaceFileEntryResponseSchema, ri as openMeldRuntimeProfileIdSchema, rr as openMeldToolsUpdateRequestResultSchema, rt as agentTaskCompletionConditionSchema, si as profileWorkspaceModeSchema, sr as boolean, st as areAgentTaskTerminalOutcomesEqual, t as CURRENT_DAEMON_EXECUTION_CONTRACT_EPOCH, ti as agentProfileIdSchema, tn as uploadSpaceFileResponseSchema, tt as localFolderPathSchema, ui as nonEmptyTrimmedStringFromUnknown, un as spaceThreadContextSchema, ur as email, ut as spaceWakeAgentTaskHandleSchema, vn as spacePublicationModeSchema, vr as number, wr as tuple, wt as signalSystemNoticeDataSchema, xi as openMeldNavigationTargetSchema, xn as workingLanguageTagSchema, xr as record, yn as spaceDispatchPolicySchema, yr as object, zr as SPACE_PASSWORD_RATE_LIMITED_ERROR_CODE, zt as createSpaceFolderResponseSchema } from "./runtime-transport-B1F7rGb0.js";
5
5
  import { r as daemonServiceLaneSchema } from "./service-contract-CRyDcIIf.js";
6
6
  import { n as toErrorMessage$3 } from "./dist-o3UL1EGQ.js";
7
7
  import * as z$1 from "zod/v4";
@@ -4253,8 +4253,8 @@ const ORGANIZATION_SKILL_ERROR_CODES = [
4253
4253
  "organization_skill.unsafe_bundle",
4254
4254
  "organization_skill.version_conflict"
4255
4255
  ];
4256
- const identifierSchema$4 = string().trim().min(1).max(256);
4257
- const isoDateTimeSchema$8 = iso.datetime({ offset: true });
4256
+ const identifierSchema$3 = string().trim().min(1).max(256);
4257
+ const isoDateTimeSchema$7 = iso.datetime({ offset: true });
4258
4258
  const digestSchema = string().regex(/^[a-f0-9]{64}$/);
4259
4259
  const skillNameSchema = string().trim().min(1).max(64).regex(/^[a-z0-9]+(?:-[a-z0-9]+)*$/, "Skill names use lowercase letters, numbers, and single hyphens.");
4260
4260
  const descriptionSchema = string().trim().min(1).max(ORGANIZATION_SKILL_DESCRIPTION_MAX_CHARS);
@@ -4348,10 +4348,10 @@ const organizationSkillBundleSchema = strictObject({
4348
4348
  });
4349
4349
  });
4350
4350
  const organizationSkillReleaseSummarySchema = strictObject({
4351
- createdAt: isoDateTimeSchema$8,
4352
- createdByUserId: identifierSchema$4,
4351
+ createdAt: isoDateTimeSchema$7,
4352
+ createdByUserId: identifierSchema$3,
4353
4353
  digest: digestSchema,
4354
- id: identifierSchema$4,
4354
+ id: identifierSchema$3,
4355
4355
  source: organizationSkillSourceSchema
4356
4356
  });
4357
4357
  const organizationSkillPermissionsSchema = strictObject({
@@ -4360,73 +4360,73 @@ const organizationSkillPermissionsSchema = strictObject({
4360
4360
  });
4361
4361
  const organizationSkillSummarySchema = strictObject({
4362
4362
  activeRelease: organizationSkillReleaseSummarySchema,
4363
- createdAt: isoDateTimeSchema$8,
4363
+ createdAt: isoDateTimeSchema$7,
4364
4364
  description: descriptionSchema,
4365
4365
  enabled: boolean(),
4366
- id: identifierSchema$4,
4366
+ id: identifierSchema$3,
4367
4367
  name: skillNameSchema,
4368
- organizationId: identifierSchema$4,
4368
+ organizationId: identifierSchema$3,
4369
4369
  permissions: organizationSkillPermissionsSchema,
4370
4370
  source: organizationSkillSourceSchema,
4371
- updatedAt: isoDateTimeSchema$8,
4371
+ updatedAt: isoDateTimeSchema$7,
4372
4372
  version: number().int().positive()
4373
4373
  });
4374
4374
  const organizationSkillSchema = organizationSkillSummarySchema.extend({
4375
4375
  bundle: organizationSkillBundleSchema,
4376
- maintainerUserIds: array(identifierSchema$4),
4376
+ maintainerUserIds: array(identifierSchema$3),
4377
4377
  releases: array(organizationSkillReleaseSummarySchema)
4378
4378
  });
4379
4379
  strictObject({});
4380
4380
  const listOrganizationSkillsResponseSchema = strictObject({
4381
4381
  canManage: boolean(),
4382
- organizationId: identifierSchema$4,
4382
+ organizationId: identifierSchema$3,
4383
4383
  skills: array(organizationSkillSummarySchema)
4384
4384
  });
4385
- const organizationSkillRouteParamsSchema = strictObject({ skillId: identifierSchema$4 });
4385
+ const organizationSkillRouteParamsSchema = strictObject({ skillId: identifierSchema$3 });
4386
4386
  const getOrganizationSkillResponseSchema = strictObject({ skill: organizationSkillSchema });
4387
4387
  const createOrganizationSkillBodySchema = strictObject({
4388
4388
  description: descriptionSchema,
4389
- expectedOrganizationId: identifierSchema$4,
4389
+ expectedOrganizationId: identifierSchema$3,
4390
4390
  instructions: instructionsSchema,
4391
4391
  name: skillNameSchema
4392
4392
  });
4393
4393
  const createOrganizationSkillResponseSchema = strictObject({ skill: organizationSkillSchema });
4394
4394
  const updateOrganizationSkillBodySchema = strictObject({
4395
4395
  bundle: organizationSkillBundleSchema,
4396
- expectedActiveReleaseId: identifierSchema$4,
4397
- expectedOrganizationId: identifierSchema$4,
4396
+ expectedActiveReleaseId: identifierSchema$3,
4397
+ expectedOrganizationId: identifierSchema$3,
4398
4398
  expectedVersion: number().int().positive()
4399
4399
  });
4400
4400
  const updateOrganizationSkillResponseSchema = strictObject({ skill: organizationSkillSchema });
4401
4401
  const setOrganizationSkillEnabledBodySchema = strictObject({
4402
4402
  enabled: boolean(),
4403
- expectedOrganizationId: identifierSchema$4,
4403
+ expectedOrganizationId: identifierSchema$3,
4404
4404
  expectedVersion: number().int().positive()
4405
4405
  });
4406
4406
  const setOrganizationSkillEnabledResponseSchema = strictObject({ skill: organizationSkillSchema });
4407
4407
  const setOrganizationSkillMaintainersBodySchema = strictObject({
4408
- expectedOrganizationId: identifierSchema$4,
4408
+ expectedOrganizationId: identifierSchema$3,
4409
4409
  expectedVersion: number().int().positive(),
4410
- maintainerUserIds: array(identifierSchema$4).max(100)
4410
+ maintainerUserIds: array(identifierSchema$3).max(100)
4411
4411
  });
4412
4412
  const setOrganizationSkillMaintainersResponseSchema = strictObject({ skill: organizationSkillSchema });
4413
4413
  const deleteOrganizationSkillBodySchema = strictObject({
4414
- expectedOrganizationId: identifierSchema$4,
4414
+ expectedOrganizationId: identifierSchema$3,
4415
4415
  expectedVersion: number().int().positive()
4416
4416
  });
4417
4417
  const deleteOrganizationSkillResponseSchema = strictObject({
4418
4418
  deleted: literal(true),
4419
- organizationId: identifierSchema$4,
4420
- skillId: identifierSchema$4
4419
+ organizationId: identifierSchema$3,
4420
+ skillId: identifierSchema$3
4421
4421
  });
4422
4422
  const importOrganizationSkillFromGitHubBodySchema = strictObject({
4423
4423
  expectedCommitSha: string().regex(/^[a-f0-9]{40}$/).optional(),
4424
- expectedOrganizationId: identifierSchema$4,
4424
+ expectedOrganizationId: identifierSchema$3,
4425
4425
  url: sourceUrlSchema
4426
4426
  });
4427
4427
  const importOrganizationSkillFromGitHubResponseSchema = strictObject({ skill: organizationSkillSchema });
4428
4428
  const previewOrganizationSkillFromGitHubBodySchema = strictObject({
4429
- expectedOrganizationId: identifierSchema$4,
4429
+ expectedOrganizationId: identifierSchema$3,
4430
4430
  url: sourceUrlSchema
4431
4431
  });
4432
4432
  const organizationSkillGitHubPreviewSchema = strictObject({
@@ -4442,7 +4442,7 @@ const organizationSkillGitHubPreviewSchema = strictObject({
4442
4442
  warnings: array(string().trim().min(1).max(1024))
4443
4443
  });
4444
4444
  const previewOrganizationSkillFromGitHubResponseSchema = strictObject({
4445
- organizationId: identifierSchema$4,
4445
+ organizationId: identifierSchema$3,
4446
4446
  preview: organizationSkillGitHubPreviewSchema
4447
4447
  });
4448
4448
  discriminatedUnion("action", [
@@ -4454,7 +4454,7 @@ discriminatedUnion("action", [
4454
4454
  strictObject({
4455
4455
  action: literal("get"),
4456
4456
  context: openMeldRequestContextSchema,
4457
- skillId: identifierSchema$4,
4457
+ skillId: identifierSchema$3,
4458
4458
  speakerMember: centerAgentToolSpeakerSchema
4459
4459
  }),
4460
4460
  strictObject({
@@ -4468,17 +4468,17 @@ discriminatedUnion("action", [
4468
4468
  strictObject({
4469
4469
  action: literal("list"),
4470
4470
  canManage: boolean(),
4471
- organizationId: identifierSchema$4,
4471
+ organizationId: identifierSchema$3,
4472
4472
  skills: array(organizationSkillSummarySchema)
4473
4473
  }),
4474
4474
  strictObject({
4475
4475
  action: literal("get"),
4476
- organizationId: identifierSchema$4,
4476
+ organizationId: identifierSchema$3,
4477
4477
  skill: organizationSkillSchema
4478
4478
  }),
4479
4479
  strictObject({
4480
4480
  action: literal("preview_github"),
4481
- organizationId: identifierSchema$4,
4481
+ organizationId: identifierSchema$3,
4482
4482
  preview: organizationSkillGitHubPreviewSchema
4483
4483
  })
4484
4484
  ]);
@@ -4498,50 +4498,50 @@ discriminatedUnion("action", [strictObject({
4498
4498
  })]);
4499
4499
  discriminatedUnion("action", [strictObject({
4500
4500
  action: literal("create"),
4501
- organizationId: identifierSchema$4,
4501
+ organizationId: identifierSchema$3,
4502
4502
  skill: organizationSkillSummarySchema
4503
4503
  }), strictObject({
4504
4504
  action: literal("import_github"),
4505
- organizationId: identifierSchema$4,
4505
+ organizationId: identifierSchema$3,
4506
4506
  skill: organizationSkillSummarySchema
4507
4507
  })]);
4508
4508
  const organizationSkillRuntimeReleaseSchema = strictObject({
4509
4509
  bundle: organizationSkillBundleSchema,
4510
4510
  digest: digestSchema,
4511
- releaseId: identifierSchema$4,
4512
- skillId: identifierSchema$4
4511
+ releaseId: identifierSchema$3,
4512
+ skillId: identifierSchema$3
4513
4513
  });
4514
4514
  const organizationSkillRuntimeReleaseSelectionSchema = strictObject({
4515
4515
  digest: digestSchema,
4516
4516
  name: skillNameSchema,
4517
- releaseId: identifierSchema$4,
4518
- skillId: identifierSchema$4
4517
+ releaseId: identifierSchema$3,
4518
+ skillId: identifierSchema$3
4519
4519
  });
4520
4520
  strictObject({
4521
- organizationId: identifierSchema$4,
4521
+ organizationId: identifierSchema$3,
4522
4522
  releases: array(organizationSkillRuntimeReleaseSchema).max(64)
4523
4523
  });
4524
4524
  strictObject({ context: openMeldRequestContextSchema });
4525
4525
  strictObject({
4526
4526
  context: openMeldRequestContextSchema,
4527
- skillId: identifierSchema$4
4527
+ skillId: identifierSchema$3
4528
4528
  });
4529
4529
  createOrganizationSkillBodySchema.extend({ context: openMeldRequestContextSchema });
4530
4530
  updateOrganizationSkillBodySchema.extend({
4531
4531
  context: openMeldRequestContextSchema,
4532
- skillId: identifierSchema$4
4532
+ skillId: identifierSchema$3
4533
4533
  });
4534
4534
  setOrganizationSkillEnabledBodySchema.extend({
4535
4535
  context: openMeldRequestContextSchema,
4536
- skillId: identifierSchema$4
4536
+ skillId: identifierSchema$3
4537
4537
  });
4538
4538
  setOrganizationSkillMaintainersBodySchema.extend({
4539
4539
  context: openMeldRequestContextSchema,
4540
- skillId: identifierSchema$4
4540
+ skillId: identifierSchema$3
4541
4541
  });
4542
4542
  deleteOrganizationSkillBodySchema.extend({
4543
4543
  context: openMeldRequestContextSchema,
4544
- skillId: identifierSchema$4
4544
+ skillId: identifierSchema$3
4545
4545
  });
4546
4546
  importOrganizationSkillFromGitHubBodySchema.extend({ context: openMeldRequestContextSchema });
4547
4547
  previewOrganizationSkillFromGitHubBodySchema.extend({ context: openMeldRequestContextSchema });
@@ -4552,10 +4552,10 @@ strictObject({
4552
4552
  strictObject({
4553
4553
  context: openMeldRequestContextSchema,
4554
4554
  digest: digestSchema,
4555
- releaseId: identifierSchema$4,
4556
- routineRunId: identifierSchema$4.nullable(),
4557
- skillId: identifierSchema$4,
4558
- submissionId: identifierSchema$4
4555
+ releaseId: identifierSchema$3,
4556
+ routineRunId: identifierSchema$3.nullable(),
4557
+ skillId: identifierSchema$3,
4558
+ submissionId: identifierSchema$3
4559
4559
  });
4560
4560
  strictObject({ recorded: boolean() });
4561
4561
  function isSafePortableSkillPath(value) {
@@ -4607,7 +4607,7 @@ const spaceAccessModeStateSchema = z$1.strictObject({
4607
4607
  //#endregion
4608
4608
  //#region ../../packages/schemas/dist/schemas/http/space-meta.js
4609
4609
  const trimmedNonEmptyStringSchema$13 = z$1.string().trim().min(1);
4610
- const isoDateTimeSchema$7 = z$1.iso.datetime({ offset: true });
4610
+ const isoDateTimeSchema$6 = z$1.iso.datetime({ offset: true });
4611
4611
  const MAX_SPACE_GUIDE_LENGTH = 4e3;
4612
4612
  const spaceOrganizationVisibilitySchema = z$1.enum(["public", "private"]);
4613
4613
  function resolveInitialSpaceAccessMode(visibility) {
@@ -4635,7 +4635,7 @@ const spaceStorageUsageSchema = z$1.strictObject({
4635
4635
  usagePercent: z$1.number().finite().min(0)
4636
4636
  });
4637
4637
  const spaceDirectMessageMetaSchema = z$1.strictObject({
4638
- convertedAt: isoDateTimeSchema$7.optional(),
4638
+ convertedAt: isoDateTimeSchema$6.optional(),
4639
4639
  pairKey: trimmedNonEmptyStringSchema$13
4640
4640
  });
4641
4641
  const spaceMetaSchema = z$1.strictObject({
@@ -4649,8 +4649,8 @@ const spaceMetaSchema = z$1.strictObject({
4649
4649
  guide: trimmedNonEmptyStringSchema$13.optional(),
4650
4650
  accessMode: spaceAccessModeSchema.optional(),
4651
4651
  passwordProtected: z$1.boolean().optional(),
4652
- createdAt: isoDateTimeSchema$7.optional(),
4653
- updatedAt: isoDateTimeSchema$7.optional(),
4652
+ createdAt: isoDateTimeSchema$6.optional(),
4653
+ updatedAt: isoDateTimeSchema$6.optional(),
4654
4654
  storageUsage: spaceStorageUsageSchema.optional()
4655
4655
  });
4656
4656
  const patchSpaceMetaResponseSchema = spaceMetaSchema;
@@ -5334,7 +5334,8 @@ const larkPlatformProviderSchema = z$1.enum(["lark", "feishu"]);
5334
5334
  const larkPlatformRegistrationBeginModeSchema = z$1.enum([
5335
5335
  "resume",
5336
5336
  "restart",
5337
- "repair"
5337
+ "repair",
5338
+ "reauthorize"
5338
5339
  ]);
5339
5340
  const messageChannelConnectionProjectionSchema = z$1.strictObject({
5340
5341
  id: nonEmptyStringSchema$3.max(256),
@@ -5428,9 +5429,9 @@ const larkPlatformRegistrationAttemptProjectionSchema = z$1.strictObject({
5428
5429
  registrationUrl: z$1.string().trim().max(16384).url().nullable(),
5429
5430
  reasonCode: reasonCodeSchema$2.nullable()
5430
5431
  }).superRefine((attempt, context) => {
5431
- if (attempt.status === "pending_registration" !== (attempt.registrationUrl !== null)) context.addIssue({
5432
+ if (attempt.status === "pending_registration" && attempt.registrationUrl === null || attempt.registrationUrl !== null && attempt.status !== "pending_registration" && !(attempt.status === "configuring" && attempt.reasonCode === `${attempt.provider}.application_config_permission_required`)) context.addIssue({
5432
5433
  code: "custom",
5433
- message: "Only a pending registration attempt may expose its registration URL.",
5434
+ message: "A registration URL is required for registration and may also be returned for explicit reauthorization.",
5434
5435
  path: ["registrationUrl"]
5435
5436
  });
5436
5437
  if (attempt.registrationUrl) {
@@ -5516,7 +5517,7 @@ const messageChannelIdentityLinkConsumeResponseSchema = z$1.strictObject({
5516
5517
  //#endregion
5517
5518
  //#region ../../packages/schemas/dist/schemas/http/center-agent-member-research.js
5518
5519
  const trimmedNonEmptyStringSchema$9 = z$1.string().trim().min(1);
5519
- const isoDateTimeSchema$6 = z$1.iso.datetime({ offset: true });
5520
+ const isoDateTimeSchema$5 = z$1.iso.datetime({ offset: true });
5520
5521
  const memberResearchTextSchema = z$1.string().trim().min(1).max(1e3);
5521
5522
  const CENTER_AGENT_MEMBER_RESEARCH_COVERAGE_SOURCES = [
5522
5523
  "organization_directory",
@@ -5637,8 +5638,8 @@ const centerAgentMemberResearchTaskSchema = z$1.strictObject({
5637
5638
  position: z$1.number().int().positive(),
5638
5639
  status: centerAgentMemberResearchTaskStatusSchema,
5639
5640
  failureCode: trimmedNonEmptyStringSchema$9.nullable(),
5640
- startedAt: isoDateTimeSchema$6.nullable(),
5641
- finishedAt: isoDateTimeSchema$6.nullable()
5641
+ startedAt: isoDateTimeSchema$5.nullable(),
5642
+ finishedAt: isoDateTimeSchema$5.nullable()
5642
5643
  }).superRefine((task, context) => {
5643
5644
  if (!(task.status === "queued" && task.startedAt === null && task.finishedAt === null && task.failureCode === null || task.status === "running" && task.startedAt !== null && task.finishedAt === null && task.failureCode === null || task.status === "completed" && task.startedAt !== null && task.finishedAt !== null && task.failureCode === null || task.status === "failed" && task.startedAt !== null && task.finishedAt !== null && task.failureCode !== null)) context.addIssue({
5644
5645
  code: "custom",
@@ -5659,8 +5660,8 @@ const centerAgentMemberResearchBatchSchema = z$1.strictObject({
5659
5660
  totalCount: z$1.number().int().positive(),
5660
5661
  completedCount: z$1.number().int().nonnegative(),
5661
5662
  failedCount: z$1.number().int().nonnegative(),
5662
- createdAt: isoDateTimeSchema$6,
5663
- updatedAt: isoDateTimeSchema$6,
5663
+ createdAt: isoDateTimeSchema$5,
5664
+ updatedAt: isoDateTimeSchema$5,
5664
5665
  tasks: z$1.array(centerAgentMemberResearchTaskSchema).min(1)
5665
5666
  }).superRefine((batch, context) => {
5666
5667
  const completedCount = batch.tasks.filter((task) => task.status === "completed").length;
@@ -5768,67 +5769,67 @@ const organizationDocumentKindSchema = enumFactory([
5768
5769
  "knowledge"
5769
5770
  ]);
5770
5771
  const profileReportTypeSchema = enumFactory(["work_profile"]);
5771
- const identifierSchema$3 = string().trim().min(1).max(256);
5772
+ const identifierSchema$2 = string().trim().min(1).max(256);
5772
5773
  const titleSchema$1 = string().trim().min(1).max(200);
5773
5774
  const folderNameSchema = string().trim().min(1).max(200);
5774
5775
  const contentSchema = string().max(ORGANIZATION_DOCUMENT_CONTENT_MAX_CHARS);
5775
- const isoDateTimeSchema$5 = iso.datetime({ offset: true });
5776
+ const isoDateTimeSchema$4 = iso.datetime({ offset: true });
5776
5777
  const operationIdSchema = string().trim().min(1).max(256);
5777
5778
  const organizationDocumentFolderSchema = strictObject({
5778
- createdAt: isoDateTimeSchema$5,
5779
- id: identifierSchema$3,
5779
+ createdAt: isoDateTimeSchema$4,
5780
+ id: identifierSchema$2,
5780
5781
  isManaged: boolean().default(false),
5781
5782
  name: folderNameSchema,
5782
- organizationId: identifierSchema$3,
5783
- parentFolderId: identifierSchema$3.nullable().optional(),
5784
- updatedAt: isoDateTimeSchema$5
5783
+ organizationId: identifierSchema$2,
5784
+ parentFolderId: identifierSchema$2.nullable().optional(),
5785
+ updatedAt: isoDateTimeSchema$4
5785
5786
  });
5786
5787
  const organizationDocumentSummarySchema = strictObject({
5787
5788
  canEditContent: boolean(),
5788
5789
  canManage: boolean(),
5789
- createdAt: isoDateTimeSchema$5,
5790
- folderId: identifierSchema$3.nullable(),
5790
+ createdAt: isoDateTimeSchema$4,
5791
+ folderId: identifierSchema$2.nullable(),
5791
5792
  hasDraft: boolean(),
5792
- id: identifierSchema$3,
5793
+ id: identifierSchema$2,
5793
5794
  kind: organizationDocumentKindSchema,
5794
- organizationId: identifierSchema$3,
5795
+ organizationId: identifierSchema$2,
5795
5796
  profileReportDate: iso.date().nullable().optional(),
5796
5797
  profileReportType: profileReportTypeSchema.nullable().optional(),
5797
- subjectUserId: identifierSchema$3.nullable(),
5798
+ subjectUserId: identifierSchema$2.nullable(),
5798
5799
  title: titleSchema$1,
5799
- updatedAt: isoDateTimeSchema$5
5800
+ updatedAt: isoDateTimeSchema$4
5800
5801
  });
5801
5802
  const organizationDocumentSchema = organizationDocumentSummarySchema.omit({ hasDraft: true }).extend({
5802
5803
  content: contentSchema,
5803
5804
  draftContent: contentSchema.nullable(),
5804
- draftCreatedAt: isoDateTimeSchema$5.nullable(),
5805
+ draftCreatedAt: isoDateTimeSchema$4.nullable(),
5805
5806
  draftCreatedBy: literal(CENTER_AGENT_ORGANIZATION_DOCUMENT_DRAFT_CREATED_BY).nullable()
5806
5807
  });
5807
5808
  strictObject({});
5808
5809
  const listOrganizationDocumentsResponseSchema = strictObject({
5809
5810
  canManage: boolean(),
5810
- currentUserId: identifierSchema$3,
5811
+ currentUserId: identifierSchema$2,
5811
5812
  documents: array(organizationDocumentSummarySchema),
5812
5813
  folders: array(organizationDocumentFolderSchema),
5813
- organizationId: identifierSchema$3
5814
+ organizationId: identifierSchema$2
5814
5815
  });
5815
- const organizationDocumentRouteParamsSchema = strictObject({ documentId: identifierSchema$3 });
5816
+ const organizationDocumentRouteParamsSchema = strictObject({ documentId: identifierSchema$2 });
5816
5817
  const getOrganizationDocumentResponseSchema = strictObject({ document: organizationDocumentSchema });
5817
5818
  const createOrganizationDocumentBodySchema = strictObject({
5818
5819
  content: contentSchema,
5819
- expectedOrganizationId: identifierSchema$3,
5820
- folderId: identifierSchema$3.nullable().optional(),
5820
+ expectedOrganizationId: identifierSchema$2,
5821
+ folderId: identifierSchema$2.nullable().optional(),
5821
5822
  kind: organizationDocumentKindSchema,
5822
- subjectUserId: identifierSchema$3.nullable().optional(),
5823
+ subjectUserId: identifierSchema$2.nullable().optional(),
5823
5824
  title: titleSchema$1.optional()
5824
5825
  }).superRefine(validateCreateDocumentShape);
5825
5826
  const createOrganizationDocumentResponseSchema = strictObject({ document: organizationDocumentSchema });
5826
5827
  const updateOrganizationDocumentBodySchema = strictObject({
5827
5828
  content: contentSchema.optional(),
5828
- expectedDocumentUpdatedAt: isoDateTimeSchema$5.optional(),
5829
- expectedDraftCreatedAt: isoDateTimeSchema$5.nullable().optional(),
5830
- expectedOrganizationId: identifierSchema$3,
5831
- folderId: identifierSchema$3.nullable().optional(),
5829
+ expectedDocumentUpdatedAt: isoDateTimeSchema$4.optional(),
5830
+ expectedDraftCreatedAt: isoDateTimeSchema$4.nullable().optional(),
5831
+ expectedOrganizationId: identifierSchema$2,
5832
+ folderId: identifierSchema$2.nullable().optional(),
5832
5833
  title: titleSchema$1.optional()
5833
5834
  }).superRefine((value, context) => {
5834
5835
  if (value.content === void 0) return;
@@ -5844,71 +5845,71 @@ const updateOrganizationDocumentBodySchema = strictObject({
5844
5845
  });
5845
5846
  }).refine((value) => value.content !== void 0 || value.title !== void 0 || value.folderId !== void 0, { message: "At least one document field must be updated." });
5846
5847
  const updateOrganizationDocumentResponseSchema = strictObject({ document: organizationDocumentSchema });
5847
- const deleteOrganizationDocumentBodySchema = strictObject({ expectedOrganizationId: identifierSchema$3 });
5848
+ const deleteOrganizationDocumentBodySchema = strictObject({ expectedOrganizationId: identifierSchema$2 });
5848
5849
  const deleteOrganizationDocumentResponseSchema = strictObject({
5849
5850
  deleted: literal(true),
5850
- documentId: identifierSchema$3,
5851
- organizationId: identifierSchema$3
5851
+ documentId: identifierSchema$2,
5852
+ organizationId: identifierSchema$2
5852
5853
  });
5853
- const organizationDocumentFolderRouteParamsSchema = strictObject({ folderId: identifierSchema$3 });
5854
+ const organizationDocumentFolderRouteParamsSchema = strictObject({ folderId: identifierSchema$2 });
5854
5855
  const createOrganizationDocumentFolderBodySchema = strictObject({
5855
- expectedOrganizationId: identifierSchema$3,
5856
+ expectedOrganizationId: identifierSchema$2,
5856
5857
  name: folderNameSchema,
5857
- parentFolderId: identifierSchema$3.nullable().optional()
5858
+ parentFolderId: identifierSchema$2.nullable().optional()
5858
5859
  });
5859
5860
  const createOrganizationDocumentFolderResponseSchema = strictObject({ folder: organizationDocumentFolderSchema });
5860
5861
  const updateOrganizationDocumentFolderBodySchema = strictObject({
5861
- expectedOrganizationId: identifierSchema$3,
5862
+ expectedOrganizationId: identifierSchema$2,
5862
5863
  name: folderNameSchema.optional(),
5863
- parentFolderId: identifierSchema$3.nullable().optional()
5864
+ parentFolderId: identifierSchema$2.nullable().optional()
5864
5865
  }).refine((value) => Number(value.name !== void 0) + Number(value.parentFolderId !== void 0) === 1, { message: "Exactly one folder field must be updated." });
5865
5866
  const updateOrganizationDocumentFolderResponseSchema = strictObject({ folder: organizationDocumentFolderSchema });
5866
- const deleteOrganizationDocumentFolderBodySchema = strictObject({ expectedOrganizationId: identifierSchema$3 });
5867
+ const deleteOrganizationDocumentFolderBodySchema = strictObject({ expectedOrganizationId: identifierSchema$2 });
5867
5868
  const deleteOrganizationDocumentFolderResponseSchema = strictObject({
5868
5869
  deleted: literal(true),
5869
- folderId: identifierSchema$3,
5870
- organizationId: identifierSchema$3
5870
+ folderId: identifierSchema$2,
5871
+ organizationId: identifierSchema$2
5871
5872
  });
5872
5873
  const approveOrganizationDocumentDraftBodySchema = strictObject({
5873
- expectedDraftCreatedAt: isoDateTimeSchema$5,
5874
- expectedOrganizationId: identifierSchema$3
5874
+ expectedDraftCreatedAt: isoDateTimeSchema$4,
5875
+ expectedOrganizationId: identifierSchema$2
5875
5876
  });
5876
5877
  const approveOrganizationDocumentDraftResponseSchema = strictObject({ document: organizationDocumentSchema });
5877
5878
  const discardOrganizationDocumentDraftBodySchema = strictObject({
5878
- expectedDraftCreatedAt: isoDateTimeSchema$5,
5879
- expectedOrganizationId: identifierSchema$3
5879
+ expectedDraftCreatedAt: isoDateTimeSchema$4,
5880
+ expectedOrganizationId: identifierSchema$2
5880
5881
  });
5881
5882
  const discardOrganizationDocumentDraftResponseSchema = strictObject({ document: organizationDocumentSchema });
5882
5883
  strictObject({ context: openMeldRequestContextSchema });
5883
5884
  strictObject({
5884
5885
  context: openMeldRequestContextSchema,
5885
- documentId: identifierSchema$3
5886
+ documentId: identifierSchema$2
5886
5887
  });
5887
5888
  createOrganizationDocumentBodySchema.extend({ context: openMeldRequestContextSchema });
5888
5889
  updateOrganizationDocumentBodySchema.extend({
5889
5890
  context: openMeldRequestContextSchema,
5890
- documentId: identifierSchema$3
5891
+ documentId: identifierSchema$2
5891
5892
  });
5892
5893
  deleteOrganizationDocumentBodySchema.extend({
5893
5894
  context: openMeldRequestContextSchema,
5894
- documentId: identifierSchema$3
5895
+ documentId: identifierSchema$2
5895
5896
  });
5896
5897
  createOrganizationDocumentFolderBodySchema.extend({ context: openMeldRequestContextSchema });
5897
5898
  updateOrganizationDocumentFolderBodySchema.extend({
5898
5899
  context: openMeldRequestContextSchema,
5899
- folderId: identifierSchema$3
5900
+ folderId: identifierSchema$2
5900
5901
  });
5901
5902
  deleteOrganizationDocumentFolderBodySchema.extend({
5902
5903
  context: openMeldRequestContextSchema,
5903
- folderId: identifierSchema$3
5904
+ folderId: identifierSchema$2
5904
5905
  });
5905
5906
  approveOrganizationDocumentDraftBodySchema.extend({
5906
5907
  context: openMeldRequestContextSchema,
5907
- documentId: identifierSchema$3
5908
+ documentId: identifierSchema$2
5908
5909
  });
5909
5910
  discardOrganizationDocumentDraftBodySchema.extend({
5910
5911
  context: openMeldRequestContextSchema,
5911
- documentId: identifierSchema$3
5912
+ documentId: identifierSchema$2
5912
5913
  });
5913
5914
  discriminatedUnion("action", [strictObject({
5914
5915
  action: literal("list"),
@@ -5917,7 +5918,7 @@ discriminatedUnion("action", [strictObject({
5917
5918
  }), strictObject({
5918
5919
  action: literal("get"),
5919
5920
  context: openMeldRequestContextSchema,
5920
- documentId: identifierSchema$3,
5921
+ documentId: identifierSchema$2,
5921
5922
  speakerMember: centerAgentToolSpeakerSchema
5922
5923
  })]);
5923
5924
  discriminatedUnion("action", [strictObject({
@@ -5930,7 +5931,7 @@ discriminatedUnion("action", [strictObject({
5930
5931
  updatedAt: true
5931
5932
  })),
5932
5933
  folders: array(organizationDocumentFolderSchema),
5933
- organizationId: identifierSchema$3
5934
+ organizationId: identifierSchema$2
5934
5935
  }), strictObject({
5935
5936
  action: literal("get"),
5936
5937
  document: organizationDocumentSchema.pick({
@@ -5942,7 +5943,7 @@ discriminatedUnion("action", [strictObject({
5942
5943
  title: true,
5943
5944
  updatedAt: true
5944
5945
  }),
5945
- organizationId: identifierSchema$3
5946
+ organizationId: identifierSchema$2
5946
5947
  })]);
5947
5948
  const organizationDocumentComputerProjectionSchema = organizationDocumentSchema.pick({
5948
5949
  content: true,
@@ -5957,20 +5958,20 @@ strictObject({ context: openMeldRequestContextSchema });
5957
5958
  strictObject({
5958
5959
  documents: array(organizationDocumentComputerProjectionSchema),
5959
5960
  folders: array(organizationDocumentFolderSchema),
5960
- organizationId: identifierSchema$3,
5961
+ organizationId: identifierSchema$2,
5961
5962
  revision: string().regex(/^[a-f0-9]{64}$/u)
5962
5963
  });
5963
5964
  strictObject({
5964
5965
  context: openMeldRequestContextSchema,
5965
- documentId: identifierSchema$3.optional(),
5966
+ documentId: identifierSchema$2.optional(),
5966
5967
  draftContent: contentSchema,
5967
- expectedDocumentUpdatedAt: isoDateTimeSchema$5.optional(),
5968
- folderId: identifierSchema$3.nullable().optional(),
5968
+ expectedDocumentUpdatedAt: isoDateTimeSchema$4.optional(),
5969
+ folderId: identifierSchema$2.nullable().optional(),
5969
5970
  kind: organizationDocumentKindSchema.optional(),
5970
5971
  memberResearchReport: centerAgentMemberResearchReportSchema.optional(),
5971
- memberResearchTaskId: identifierSchema$3.optional(),
5972
+ memberResearchTaskId: identifierSchema$2.optional(),
5972
5973
  speakerMember: centerAgentToolSpeakerSchema,
5973
- subjectUserId: identifierSchema$3.optional(),
5974
+ subjectUserId: identifierSchema$2.optional(),
5974
5975
  title: titleSchema$1.optional()
5975
5976
  }).superRefine(validateCenterAgentDraftTarget);
5976
5977
  strictObject({
@@ -5978,24 +5979,24 @@ strictObject({
5978
5979
  draftReplaced: boolean(),
5979
5980
  memberResearchDraft: strictObject({
5980
5981
  content: contentSchema,
5981
- documentId: identifierSchema$3,
5982
+ documentId: identifierSchema$2,
5982
5983
  profileReportFolderName: folderNameSchema,
5983
- subjectUserId: identifierSchema$3,
5984
+ subjectUserId: identifierSchema$2,
5984
5985
  title: titleSchema$1
5985
5986
  }).optional()
5986
5987
  });
5987
5988
  strictObject({
5988
5989
  context: openMeldRequestContextSchema,
5989
- documentId: identifierSchema$3,
5990
+ documentId: identifierSchema$2,
5990
5991
  path: string().trim().min(1).max(1024),
5991
- subjectUserId: identifierSchema$3,
5992
- taskId: identifierSchema$3
5992
+ subjectUserId: identifierSchema$2,
5993
+ taskId: identifierSchema$2
5993
5994
  });
5994
5995
  strictObject({
5995
- documentId: identifierSchema$3,
5996
+ documentId: identifierSchema$2,
5996
5997
  path: string().trim().min(1).max(1024),
5997
5998
  recorded: literal(true),
5998
- taskId: identifierSchema$3
5999
+ taskId: identifierSchema$2
5999
6000
  });
6000
6001
  const centerAgentOrganizationDocumentProjectionSchema = organizationDocumentSchema.pick({
6001
6002
  content: true,
@@ -6011,13 +6012,13 @@ discriminatedUnion("action", [
6011
6012
  context: openMeldRequestContextSchema,
6012
6013
  name: folderNameSchema,
6013
6014
  operationId: operationIdSchema,
6014
- parentFolderId: identifierSchema$3.nullable().optional(),
6015
+ parentFolderId: identifierSchema$2.nullable().optional(),
6015
6016
  speakerMember: centerAgentToolSpeakerSchema
6016
6017
  }),
6017
6018
  strictObject({
6018
6019
  action: literal("rename_folder"),
6019
6020
  context: openMeldRequestContextSchema,
6020
- folderId: identifierSchema$3,
6021
+ folderId: identifierSchema$2,
6021
6022
  name: folderNameSchema,
6022
6023
  operationId: operationIdSchema,
6023
6024
  speakerMember: centerAgentToolSpeakerSchema
@@ -6025,8 +6026,8 @@ discriminatedUnion("action", [
6025
6026
  strictObject({
6026
6027
  action: literal("move_document"),
6027
6028
  context: openMeldRequestContextSchema,
6028
- documentId: identifierSchema$3,
6029
- folderId: identifierSchema$3.nullable(),
6029
+ documentId: identifierSchema$2,
6030
+ folderId: identifierSchema$2.nullable(),
6030
6031
  operationId: operationIdSchema,
6031
6032
  speakerMember: centerAgentToolSpeakerSchema
6032
6033
  }),
@@ -6034,8 +6035,8 @@ discriminatedUnion("action", [
6034
6035
  action: literal("save_document"),
6035
6036
  content: contentSchema,
6036
6037
  context: openMeldRequestContextSchema,
6037
- documentId: identifierSchema$3.optional(),
6038
- folderId: identifierSchema$3.nullable().optional(),
6038
+ documentId: identifierSchema$2.optional(),
6039
+ folderId: identifierSchema$2.nullable().optional(),
6039
6040
  operationId: operationIdSchema,
6040
6041
  speakerMember: centerAgentToolSpeakerSchema,
6041
6042
  title: titleSchema$1.optional()
@@ -6051,22 +6052,22 @@ discriminatedUnion("action", [
6051
6052
  strictObject({
6052
6053
  action: literal("create_folder"),
6053
6054
  folder: organizationDocumentFolderSchema,
6054
- organizationId: identifierSchema$3
6055
+ organizationId: identifierSchema$2
6055
6056
  }),
6056
6057
  strictObject({
6057
6058
  action: literal("rename_folder"),
6058
6059
  folder: organizationDocumentFolderSchema,
6059
- organizationId: identifierSchema$3
6060
+ organizationId: identifierSchema$2
6060
6061
  }),
6061
6062
  strictObject({
6062
6063
  action: literal("move_document"),
6063
6064
  document: centerAgentOrganizationDocumentProjectionSchema,
6064
- organizationId: identifierSchema$3
6065
+ organizationId: identifierSchema$2
6065
6066
  }),
6066
6067
  strictObject({
6067
6068
  action: literal("save_document"),
6068
6069
  document: centerAgentOrganizationDocumentProjectionSchema,
6069
- organizationId: identifierSchema$3,
6070
+ organizationId: identifierSchema$2,
6070
6071
  outcome: enumFactory(["created", "updated"])
6071
6072
  })
6072
6073
  ]);
@@ -6078,7 +6079,7 @@ strictObject({
6078
6079
  briefContent: contentSchema.nullable(),
6079
6080
  documentTitles: array(titleSchema$1),
6080
6081
  organizationProtectedInformation: organizationProtectedInformationSchema.nullable().optional(),
6081
- organizationId: identifierSchema$3
6082
+ organizationId: identifierSchema$2
6082
6083
  });
6083
6084
  function validateCreateDocumentShape(value, context) {
6084
6085
  if (value.kind === "member_profile" && !value.subjectUserId) context.addIssue({
@@ -6503,9 +6504,9 @@ const accountSpaceIndexResponseSchema = z$1.strictObject({
6503
6504
  });
6504
6505
  //#endregion
6505
6506
  //#region ../../packages/schemas/dist/schemas/http/agent-profile-creation-request.js
6506
- const identifierSchema$2 = z$1.string().trim().min(1).max(256);
6507
+ const identifierSchema$1 = z$1.string().trim().min(1).max(256);
6507
6508
  const profileNameSchema = z$1.string().trim().min(1).max(80);
6508
- const isoDateTimeSchema$4 = z$1.iso.datetime({ offset: true });
6509
+ const isoDateTimeSchema$3 = z$1.iso.datetime({ offset: true });
6509
6510
  const agentProfileCreationApprovalPolicySchema = z$1.enum([
6510
6511
  "never_allow",
6511
6512
  "ask_every_time",
@@ -6544,12 +6545,28 @@ const agentProfileCreationRequestStatusReasonSchema = z$1.enum([
6544
6545
  const completeAgentProfileCreationConfigurationSchema = agentProfileCreationPreferenceSelectionSchema.safeExtend({
6545
6546
  agentControllerRef: agentControllerRefSchema.nullable(),
6546
6547
  authorizeForOrganization: z$1.boolean().optional().default(true),
6547
- localAgentConnectionCandidateId: identifierSchema$2.nullable().optional(),
6548
- targetComputerId: identifierSchema$2.nullable()
6548
+ localAgentConnectionCandidateId: identifierSchema$1.nullable().optional(),
6549
+ targetComputerId: identifierSchema$1.nullable()
6549
6550
  }).superRefine((configuration, context) => {
6550
6551
  const hasController = configuration.agentControllerRef !== null;
6551
6552
  const hasComputer = configuration.targetComputerId !== null;
6552
6553
  const hasCandidate = configuration.localAgentConnectionCandidateId != null;
6554
+ if (configuration.agentControllerRef === "hosted:remote-agent") {
6555
+ for (const key of [
6556
+ "targetComputerId",
6557
+ "localAgentConnectionCandidateId",
6558
+ "defaultProjectId",
6559
+ "agentControllerCollaborationMode",
6560
+ "agentControllerPermissionMode",
6561
+ "openCodePermission",
6562
+ "reasoningLevel"
6563
+ ]) if (configuration[key] != null) context.addIssue({
6564
+ code: "custom",
6565
+ message: "Remote Agents do not use local agent settings.",
6566
+ path: [key]
6567
+ });
6568
+ return;
6569
+ }
6553
6570
  if (hasController !== hasComputer) context.addIssue({
6554
6571
  code: "custom",
6555
6572
  message: "agentControllerRef and targetComputerId must be provided together.",
@@ -6599,25 +6616,25 @@ const DEFAULT_AGENT_PROFILE_CREATION_CONFIGURATION = {
6599
6616
  targetComputerId: null
6600
6617
  };
6601
6618
  const agentProfileCreationRequestSchema = z$1.strictObject({
6602
- actorProfileId: identifierSchema$2,
6603
- completedAt: isoDateTimeSchema$4.nullable(),
6619
+ actorProfileId: identifierSchema$1,
6620
+ completedAt: isoDateTimeSchema$3.nullable(),
6604
6621
  configuration: agentProfileCreationConfigurationSchema,
6605
- createdAgentProfileId: identifierSchema$2.nullable(),
6606
- createdAt: isoDateTimeSchema$4,
6607
- decidedAt: isoDateTimeSchema$4.nullable(),
6608
- id: identifierSchema$2,
6622
+ createdAgentProfileId: identifierSchema$1.nullable(),
6623
+ createdAt: isoDateTimeSchema$3,
6624
+ decidedAt: isoDateTimeSchema$3.nullable(),
6625
+ id: identifierSchema$1,
6609
6626
  failureMessage: z$1.string().trim().min(1).max(1e3).nullable(),
6610
- nativeSessionId: identifierSchema$2.nullable(),
6611
- organizationId: identifierSchema$2,
6627
+ nativeSessionId: identifierSchema$1.nullable(),
6628
+ organizationId: identifierSchema$1,
6612
6629
  profileName: profileNameSchema,
6613
- requestedSpaceId: identifierSchema$2.nullable(),
6614
- requesterUserId: identifierSchema$2,
6630
+ requestedSpaceId: identifierSchema$1.nullable(),
6631
+ requesterUserId: identifierSchema$1,
6615
6632
  sessionStrategy: agentProfileCreationSessionStrategySchema,
6616
6633
  source: agentProfileCreationRequestSourceSchema,
6617
6634
  status: agentProfileCreationRequestStatusSchema,
6618
6635
  statusReason: agentProfileCreationRequestStatusReasonSchema,
6619
- targetOwnerUserId: identifierSchema$2,
6620
- updatedAt: isoDateTimeSchema$4
6636
+ targetOwnerUserId: identifierSchema$1,
6637
+ updatedAt: isoDateTimeSchema$3
6621
6638
  }).superRefine((request, context) => {
6622
6639
  if (request.sessionStrategy === "new" && request.nativeSessionId !== null) context.addIssue({
6623
6640
  code: "custom",
@@ -6647,15 +6664,20 @@ const agentProfileCreationRequestSchema = z$1.strictObject({
6647
6664
  });
6648
6665
  const createAgentProfileCreationRequestBodySchema = z$1.strictObject({
6649
6666
  configuration: agentProfileCreationConfigurationSchema.optional(),
6650
- idempotencyKey: identifierSchema$2,
6651
- nativeSessionId: identifierSchema$2.nullable().optional(),
6667
+ idempotencyKey: identifierSchema$1,
6668
+ nativeSessionId: identifierSchema$1.nullable().optional(),
6652
6669
  profileName: profileNameSchema,
6653
- requestedSpaceId: identifierSchema$2.nullable().optional(),
6670
+ requestedSpaceId: identifierSchema$1.nullable().optional(),
6654
6671
  sessionStrategy: agentProfileCreationSessionStrategySchema,
6655
6672
  source: agentProfileCreationRequestSourceSchema,
6656
- targetOwnerUserId: identifierSchema$2
6673
+ targetOwnerUserId: identifierSchema$1
6657
6674
  }).superRefine((request, context) => {
6658
6675
  const nativeSessionId = request.nativeSessionId ?? null;
6676
+ if (request.configuration?.agentControllerRef === "hosted:remote-agent" && request.sessionStrategy !== "new") context.addIssue({
6677
+ code: "custom",
6678
+ message: "Remote Agents start a new conversation.",
6679
+ path: ["sessionStrategy"]
6680
+ });
6659
6681
  if (request.sessionStrategy === "new" && nativeSessionId !== null) context.addIssue({
6660
6682
  code: "custom",
6661
6683
  message: "New-session requests cannot include nativeSessionId.",
@@ -6672,7 +6694,7 @@ const createAgentProfileCreationRequestResponseSchema = z$1.strictObject({
6672
6694
  request: agentProfileCreationRequestSchema
6673
6695
  });
6674
6696
  const listAgentProfileCreationRequestsResponseSchema = z$1.strictObject({
6675
- organizationId: identifierSchema$2,
6697
+ organizationId: identifierSchema$1,
6676
6698
  requests: z$1.array(agentProfileCreationRequestSchema).max(200)
6677
6699
  });
6678
6700
  const decideAgentProfileCreationRequestBodySchema = z$1.strictObject({ decision: z$1.enum(["approve", "decline"]) });
@@ -6680,9 +6702,9 @@ const agentProfileCreationRequestMutationResponseSchema = z$1.strictObject({ req
6680
6702
  const agentProfileCreationApprovalPreferenceSchema = z$1.strictObject({
6681
6703
  existingSessionPolicy: agentProfileCreationApprovalPolicySchema,
6682
6704
  newSessionPolicy: agentProfileCreationApprovalPolicySchema,
6683
- organizationId: identifierSchema$2,
6684
- updatedAt: isoDateTimeSchema$4.nullable(),
6685
- userId: identifierSchema$2
6705
+ organizationId: identifierSchema$1,
6706
+ updatedAt: isoDateTimeSchema$3.nullable(),
6707
+ userId: identifierSchema$1
6686
6708
  });
6687
6709
  const setAgentProfileCreationApprovalPreferenceBodySchema = z$1.strictObject({
6688
6710
  existingSessionPolicy: agentProfileCreationApprovalPolicySchema,
@@ -7958,7 +7980,7 @@ z$1.union([slackChannelHistoryResponseSchema, slackReadUnavailableResponseSchema
7958
7980
  z$1.union([slackFileReadResponseSchema, slackReadUnavailableResponseSchema]);
7959
7981
  //#endregion
7960
7982
  //#region ../../packages/schemas/dist/schemas/http/space-status.js
7961
- const isoDateTimeSchema$3 = z$1.iso.datetime({ offset: true });
7983
+ const isoDateTimeSchema$2 = z$1.iso.datetime({ offset: true });
7962
7984
  const optionalTrimmedStringSchema$1 = z$1.preprocess((value) => {
7963
7985
  const normalized = String(value ?? "").trim();
7964
7986
  return normalized.length > 0 ? normalized : void 0;
@@ -7977,7 +7999,7 @@ const spaceStatusLatestVisibleUpdateSchema = z$1.object({
7977
7999
  "signal.status",
7978
8000
  "signal.system_notice"
7979
8001
  ]),
7980
- createdAt: isoDateTimeSchema$3,
8002
+ createdAt: isoDateTimeSchema$2,
7981
8003
  actorProfileId: openMeldRuntimeProfileIdSchema,
7982
8004
  actorName: optionalTrimmedStringSchema$1,
7983
8005
  previewText: nonEmptyTrimmedStringFromUnknown.transform(boundSpaceStatusPreviewText)
@@ -7988,11 +8010,11 @@ const spaceStatusMembersSummarySchema = spaceMembersSummarySchema.extend({
7988
8010
  });
7989
8011
  const getSpaceStatusResponseSchema = z$1.object({
7990
8012
  spaceId: nonEmptyTrimmedStringFromUnknown,
7991
- generatedAt: isoDateTimeSchema$3,
8013
+ generatedAt: isoDateTimeSchema$2,
7992
8014
  centerAgentProfileId: agentProfileIdSchema.optional(),
7993
8015
  name: optionalTrimmedStringSchema$1,
7994
8016
  spacePurpose: optionalTrimmedStringSchema$1,
7995
- directMessageConvertedAt: isoDateTimeSchema$3.optional(),
8017
+ directMessageConvertedAt: isoDateTimeSchema$2.optional(),
7996
8018
  organizationVisibility: spaceOrganizationVisibilitySchema.optional(),
7997
8019
  accessMode: spaceAccessModeSchema,
7998
8020
  passwordProtected: z$1.boolean(),
@@ -8192,7 +8214,15 @@ const REMOTE_AGENT_CONVERSATION_CONTINUITY_ENTRY_TEXT_MAX_CHARS = 4e3;
8192
8214
  const REMOTE_AGENT_LOGICAL_CONVERSATION_ID_MAX_CHARS = 1024;
8193
8215
  const REMOTE_AGENT_RUNTIME_CONVERSATION_ID_MAX_CHARS = 2048;
8194
8216
  const contentHashSchema = string().regex(/^sha256:[0-9a-f]{64}$/u);
8195
- const isoDateTimeSchema$2 = iso.datetime({ offset: true });
8217
+ const isoDateTimeSchema$1 = iso.datetime({ offset: true });
8218
+ /** A personal Agent's Space conversation must not share a runtime with another Agent. */
8219
+ function buildPersonalRemoteAgentConversationId(input) {
8220
+ return ["personal-remote-agent.v1", ...[
8221
+ input.organizationId,
8222
+ input.agentProfileId,
8223
+ input.spaceId
8224
+ ].map((value) => nonEmptyStringSchema.max(256).parse(value)).map((value) => `${value.length}:${value}`)].join("|");
8225
+ }
8196
8226
  function buildRemoteAgentRuntimeConversationId(input) {
8197
8227
  const organizationId = nonEmptyStringSchema.max(256).parse(input.organizationId);
8198
8228
  const logicalConversationId = nonEmptyStringSchema.max(REMOTE_AGENT_LOGICAL_CONVERSATION_ID_MAX_CHARS).parse(input.logicalConversationId);
@@ -8205,29 +8235,21 @@ function buildRemoteAgentRuntimeConversationId(input) {
8205
8235
  String(generation)
8206
8236
  ].join("|"));
8207
8237
  }
8208
- const remoteAgentConversationContinuityEntrySourceSchema = discriminatedUnion("kind", [
8209
- strictObject({
8210
- kind: literal("space_signal"),
8211
- signalId: nonEmptyStringSchema.max(256),
8212
- spaceId: nonEmptyStringSchema.max(256),
8213
- version: contentHashSchema
8214
- }),
8215
- strictObject({
8216
- conversationId: nonEmptyStringSchema.max(512),
8217
- kind: literal("message_channel_message"),
8218
- messageId: nonEmptyStringSchema.max(256),
8219
- provider: enumFactory([
8220
- "feishu",
8221
- "lark",
8222
- "slack"
8223
- ])
8224
- }),
8225
- strictObject({
8226
- eventId: nonEmptyStringSchema.max(256),
8227
- kind: literal("center_agent_task_event"),
8228
- taskId: nonEmptyStringSchema.max(256)
8229
- })
8230
- ]);
8238
+ const remoteAgentConversationContinuityEntrySourceSchema = discriminatedUnion("kind", [strictObject({
8239
+ kind: literal("space_signal"),
8240
+ signalId: nonEmptyStringSchema.max(256),
8241
+ spaceId: nonEmptyStringSchema.max(256),
8242
+ version: contentHashSchema
8243
+ }), strictObject({
8244
+ conversationId: nonEmptyStringSchema.max(512),
8245
+ kind: literal("message_channel_message"),
8246
+ messageId: nonEmptyStringSchema.max(256),
8247
+ provider: enumFactory([
8248
+ "feishu",
8249
+ "lark",
8250
+ "slack"
8251
+ ])
8252
+ })]);
8231
8253
  const remoteAgentConversationContinuityContextSchema = strictObject({
8232
8254
  entries: array(strictObject({
8233
8255
  author: strictObject({
@@ -8247,7 +8269,7 @@ const remoteAgentConversationContinuityContextSchema = strictObject({
8247
8269
  text: string().max(REMOTE_AGENT_CONVERSATION_CONTINUITY_ENTRY_TEXT_MAX_CHARS * 2),
8248
8270
  truncated: boolean()
8249
8271
  }),
8250
- occurredAt: isoDateTimeSchema$2,
8272
+ occurredAt: isoDateTimeSchema$1,
8251
8273
  source: remoteAgentConversationContinuityEntrySourceSchema
8252
8274
  }).superRefine((entry, context) => {
8253
8275
  const materializedCharacterCount = Array.from(entry.content.text).length;
@@ -8351,7 +8373,6 @@ const remoteAgentWorkerAdmissionRejectionCodeSchema = enumFactory([
8351
8373
  "remote_agent.conversation_history_limit_exceeded",
8352
8374
  "remote_agent.routine_identity_mismatch",
8353
8375
  "remote_agent.member_research_identity_mismatch",
8354
- "remote_agent.center_agent_task_identity_mismatch",
8355
8376
  "remote_agent.turn_envelope_identity_mismatch"
8356
8377
  ]);
8357
8378
  union([remoteAgentRuntimeEvidenceReasonCodeSchema, remoteAgentWorkerAdmissionRejectionCodeSchema]);
@@ -8420,28 +8441,40 @@ const remoteAgentWorkerSubmitTurnRequestV2Schema = strictObject({
8420
8441
  ...remoteAgentWorkerSubmitTurnRequestShape,
8421
8442
  modelRoute: centerAgentModelRouteSchema
8422
8443
  });
8423
- const remoteAgentWorkerConversationIdentitySchema = discriminatedUnion("kind", [strictObject({
8424
- kind: literal("center_agent_task"),
8425
- taskId: nonEmptyStringSchema
8426
- })]);
8444
+ const remoteAgentWorkerConversationIdentitySchema = strictObject({
8445
+ kind: literal("personal_agent"),
8446
+ agentProfileId: nonEmptyStringSchema
8447
+ });
8427
8448
  discriminatedUnion("v", [
8428
8449
  remoteAgentWorkerSubmitTurnRequestV1Schema,
8429
8450
  remoteAgentWorkerSubmitTurnRequestV2Schema,
8430
- strictObject({
8431
- v: literal(3),
8432
- ...remoteAgentWorkerSubmitTurnRequestShape,
8433
- conversationIdentity: remoteAgentWorkerConversationIdentitySchema,
8434
- modelRoute: centerAgentModelRouteSchema
8435
- }),
8436
8451
  strictObject({
8437
8452
  v: literal(4),
8438
8453
  ...remoteAgentWorkerSubmitTurnRequestShape,
8439
- conversationId: nonEmptyStringSchema.max(REMOTE_AGENT_LOGICAL_CONVERSATION_ID_MAX_CHARS),
8440
8454
  conversationIdentity: remoteAgentWorkerConversationIdentitySchema.optional(),
8455
+ conversationId: nonEmptyStringSchema.max(REMOTE_AGENT_LOGICAL_CONVERSATION_ID_MAX_CHARS),
8441
8456
  continuityContext: remoteAgentConversationContinuityContextSchema.optional(),
8442
8457
  modelRoute: centerAgentModelRouteSchema,
8443
- runtimeConversation: remoteAgentRuntimeConversationSchema
8458
+ runtimeConversation: remoteAgentRuntimeConversationSchema,
8459
+ spaceDispatchContext: strictObject({
8460
+ dispatchChainId: nonEmptyStringSchema,
8461
+ autoRelayDepth: number().int().nonnegative(),
8462
+ visitedProfileIds: array(nonEmptyStringSchema).max(256),
8463
+ visitedProfileIdsHash: nonEmptyStringSchema
8464
+ }).optional()
8444
8465
  }).superRefine((request, context) => {
8466
+ if (request.conversationIdentity?.kind === "personal_agent") {
8467
+ if (!request.spaceDispatchContext) context.addIssue({
8468
+ code: "custom",
8469
+ message: "Personal Agent turns require their source dispatch context.",
8470
+ path: ["spaceDispatchContext"]
8471
+ });
8472
+ if (request.conversationIdentity.agentProfileId !== request.agentProfileId || request.conversationId !== buildPersonalRemoteAgentConversationId(request)) context.addIssue({
8473
+ code: "custom",
8474
+ message: "Personal Agent conversations must match the Organization, Agent Profile, and Space.",
8475
+ path: ["conversationIdentity"]
8476
+ });
8477
+ }
8445
8478
  const expectedRuntimeConversationId = buildRemoteAgentRuntimeConversationId({
8446
8479
  generation: request.runtimeConversation.generation,
8447
8480
  logicalConversationId: request.conversationId,
@@ -8795,7 +8828,6 @@ union([
8795
8828
  ]);
8796
8829
  const remoteAgentCoreCallbackBodySchema = union([strictObject({
8797
8830
  ...remoteAgentCoreCallbackIdentitySchema,
8798
- centerAgentTaskReferences: array(centerAgentTaskReferenceSchema).max(20).optional(),
8799
8831
  conversationCompaction: conversationCompactionMarkerSchema.optional(),
8800
8832
  navigationTarget: openMeldNavigationTargetSchema.optional(),
8801
8833
  status: literal("completed").optional(),
@@ -8823,7 +8855,6 @@ discriminatedUnion("kind", [strictObject({
8823
8855
  })]);
8824
8856
  strictObject({
8825
8857
  ...remoteAgentCoreCallbackIdentitySchema,
8826
- centerAgentTaskReferences: array(centerAgentTaskReferenceSchema).max(20).optional(),
8827
8858
  conversationCompaction: conversationCompactionMarkerSchema.optional(),
8828
8859
  navigationTarget: openMeldNavigationTargetSchema.optional(),
8829
8860
  status: literal("completed"),
@@ -11670,401 +11701,6 @@ z$1.strictObject({
11670
11701
  source: z$1.literal("explicit_tool")
11671
11702
  });
11672
11703
  //#endregion
11673
- //#region ../../packages/schemas/dist/schemas/http/center-agent-tasks.js
11674
- const CENTER_AGENT_TASK_GOAL_MAX_CHARS = 4e3;
11675
- const CENTER_AGENT_TASK_EVENT_TEXT_MAX_CHARS = 4e3;
11676
- const CENTER_AGENT_TASK_RESPONSE_CONTRACT_VERSION_HEADER = "x-openmeld-center-agent-task-response-version";
11677
- const identifierSchema$1 = string().trim().min(1).max(256);
11678
- const idempotencyKeySchema = string().trim().min(1).max(512);
11679
- const isoDateTimeSchema$1 = iso.datetime({ offset: true });
11680
- const taskTextSchema = string().trim().min(1);
11681
- const centerAgentTaskStatusSchema = enumFactory([
11682
- "queued",
11683
- "running",
11684
- "stopping",
11685
- "needs_attention",
11686
- "succeeded",
11687
- "failed",
11688
- "stopped"
11689
- ]);
11690
- const centerAgentTaskStateSchema = enumFactory([
11691
- "active",
11692
- "needs_action",
11693
- "finished"
11694
- ]);
11695
- const centerAgentTaskPhaseSchema = enumFactory([
11696
- "queued",
11697
- "working",
11698
- "stopping",
11699
- "waiting"
11700
- ]);
11701
- const centerAgentTaskOutcomeSchema = enumFactory([
11702
- "completed",
11703
- "failed",
11704
- "stopped"
11705
- ]);
11706
- const centerAgentTaskResponseContractVersionSchema = union([literal(2), literal(3)]);
11707
- union([literal("2").transform(() => 2), literal(String(3)).transform(() => 3)]);
11708
- const centerAgentTaskExecutionEvidenceSchema = strictObject({
11709
- attemptGeneration: number().int().positive(),
11710
- kind: literal("native_delivery"),
11711
- observedAt: isoDateTimeSchema$1
11712
- });
11713
- function resolveCenterAgentTaskPresentation(status, executionEvidence = null) {
11714
- switch (status) {
11715
- case "queued": return {
11716
- outcome: null,
11717
- phase: "queued",
11718
- state: "active"
11719
- };
11720
- case "running": return {
11721
- outcome: null,
11722
- phase: executionEvidence ? "working" : null,
11723
- state: "active"
11724
- };
11725
- case "stopping": return {
11726
- outcome: null,
11727
- phase: "stopping",
11728
- state: "active"
11729
- };
11730
- case "needs_attention": return {
11731
- outcome: null,
11732
- phase: "waiting",
11733
- state: "needs_action"
11734
- };
11735
- case "succeeded": return {
11736
- outcome: "completed",
11737
- phase: null,
11738
- state: "finished"
11739
- };
11740
- case "failed": return {
11741
- outcome: "failed",
11742
- phase: null,
11743
- state: "finished"
11744
- };
11745
- case "stopped": return {
11746
- outcome: "stopped",
11747
- phase: null,
11748
- state: "finished"
11749
- };
11750
- default: return assertNeverTaskStatus(status);
11751
- }
11752
- }
11753
- function assertNeverTaskStatus(value) {
11754
- throw new Error(`Unsupported Center Agent Task status: ${String(value)}`);
11755
- }
11756
- const centerAgentTaskOriginV2Schema = discriminatedUnion("kind", [strictObject({ kind: literal("open_meld") }), strictObject({
11757
- destination: messageChannelConversationLocatorSchema,
11758
- kind: literal("message_channel")
11759
- })]);
11760
- const centerAgentTaskRequesterSchema = strictObject({
11761
- displayName: string().trim().min(1).max(160),
11762
- profileId: identifierSchema$1,
11763
- userId: identifierSchema$1
11764
- });
11765
- const centerAgentTaskLocalAgentSourceSchema = strictObject({
11766
- client: string().trim().min(1).max(80),
11767
- kind: literal("local_agent")
11768
- });
11769
- const centerAgentTaskOriginSchema = discriminatedUnion("kind", [strictObject({
11770
- kind: literal("open_meld"),
11771
- localAgent: centerAgentTaskLocalAgentSourceSchema.optional(),
11772
- requestedBy: centerAgentTaskRequesterSchema.optional()
11773
- }), strictObject({
11774
- destination: messageChannelConversationLocatorSchema,
11775
- kind: literal("message_channel"),
11776
- requestedBy: centerAgentTaskRequesterSchema.optional()
11777
- })]);
11778
- /** Frozen response parser for Web and Gateway builds released before v2. */
11779
- const centerAgentTaskResponseV1Schema = strictObject({
11780
- activeAttemptGeneration: number().int().positive().nullable(),
11781
- createdAt: isoDateTimeSchema$1,
11782
- finishedAt: isoDateTimeSchema$1.nullable(),
11783
- goal: taskTextSchema.max(CENTER_AGENT_TASK_GOAL_MAX_CHARS),
11784
- id: identifierSchema$1,
11785
- organizationId: identifierSchema$1,
11786
- origin: centerAgentTaskOriginV2Schema,
11787
- outcome: centerAgentTaskOutcomeSchema.nullable().optional(),
11788
- phase: centerAgentTaskPhaseSchema.nullable().optional(),
11789
- requesterUserId: identifierSchema$1.nullable(),
11790
- state: centerAgentTaskStateSchema.optional(),
11791
- status: centerAgentTaskStatusSchema,
11792
- title: taskTextSchema.max(160),
11793
- updatedAt: isoDateTimeSchema$1,
11794
- version: number().int().positive()
11795
- }).superRefine((task, context) => {
11796
- const presentation = resolveCenterAgentTaskPresentationV1(task.status);
11797
- for (const field of [
11798
- "outcome",
11799
- "phase",
11800
- "state"
11801
- ]) if (task[field] !== void 0 && task[field] !== presentation[field]) context.addIssue({
11802
- code: "custom",
11803
- message: `Task ${field} must match its version-one status projection.`,
11804
- path: [field]
11805
- });
11806
- validateCenterAgentTaskLifecycle(task, context);
11807
- }).transform((task) => ({
11808
- ...task,
11809
- ...resolveCenterAgentTaskPresentationV1(task.status)
11810
- }));
11811
- const centerAgentTaskResponseV2Schema = strictObject({
11812
- activeAttemptGeneration: number().int().positive().nullable(),
11813
- createdAt: isoDateTimeSchema$1,
11814
- executionEvidence: centerAgentTaskExecutionEvidenceSchema.optional(),
11815
- finishedAt: isoDateTimeSchema$1.nullable(),
11816
- goal: taskTextSchema.max(CENTER_AGENT_TASK_GOAL_MAX_CHARS),
11817
- id: identifierSchema$1,
11818
- organizationId: identifierSchema$1,
11819
- origin: centerAgentTaskOriginV2Schema,
11820
- outcome: centerAgentTaskOutcomeSchema.nullable().optional(),
11821
- phase: centerAgentTaskPhaseSchema.nullable().optional(),
11822
- requesterUserId: identifierSchema$1.nullable(),
11823
- state: centerAgentTaskStateSchema.optional(),
11824
- status: centerAgentTaskStatusSchema,
11825
- title: taskTextSchema.max(160),
11826
- updatedAt: isoDateTimeSchema$1,
11827
- version: number().int().positive()
11828
- }).superRefine((task, context) => {
11829
- const executionEvidence = task.executionEvidence ?? null;
11830
- const presentation = resolveCenterAgentTaskPresentation(task.status, executionEvidence);
11831
- for (const field of [
11832
- "outcome",
11833
- "phase",
11834
- "state"
11835
- ]) if (task[field] !== void 0 && task[field] !== presentation[field]) context.addIssue({
11836
- code: "custom",
11837
- message: `Task ${field} must match its canonical status projection.`,
11838
- path: [field]
11839
- });
11840
- validateCenterAgentTaskLifecycle(task, context);
11841
- if (executionEvidence && (task.status !== "running" || executionEvidence.attemptGeneration !== task.activeAttemptGeneration)) context.addIssue({
11842
- code: "custom",
11843
- message: "Task executionEvidence must name the active running attempt.",
11844
- path: ["executionEvidence"]
11845
- });
11846
- }).transform((task) => ({
11847
- ...task,
11848
- ...resolveCenterAgentTaskPresentation(task.status, task.executionEvidence ?? null)
11849
- }));
11850
- const centerAgentTaskSchema = strictObject({
11851
- activeAttemptGeneration: number().int().positive().nullable(),
11852
- createdAt: isoDateTimeSchema$1,
11853
- executionEvidence: centerAgentTaskExecutionEvidenceSchema.optional(),
11854
- finishedAt: isoDateTimeSchema$1.nullable(),
11855
- goal: taskTextSchema.max(CENTER_AGENT_TASK_GOAL_MAX_CHARS),
11856
- id: identifierSchema$1,
11857
- organizationId: identifierSchema$1,
11858
- origin: centerAgentTaskOriginSchema,
11859
- outcome: centerAgentTaskOutcomeSchema.nullable().optional(),
11860
- phase: centerAgentTaskPhaseSchema.nullable().optional(),
11861
- requesterUserId: identifierSchema$1.nullable(),
11862
- state: centerAgentTaskStateSchema.optional(),
11863
- status: centerAgentTaskStatusSchema,
11864
- title: taskTextSchema.max(160),
11865
- updatedAt: isoDateTimeSchema$1,
11866
- version: number().int().positive()
11867
- }).superRefine((task, context) => {
11868
- const executionEvidence = task.executionEvidence ?? null;
11869
- const presentation = resolveCenterAgentTaskPresentation(task.status, executionEvidence);
11870
- for (const field of [
11871
- "outcome",
11872
- "phase",
11873
- "state"
11874
- ]) if (task[field] !== void 0 && task[field] !== presentation[field]) context.addIssue({
11875
- code: "custom",
11876
- message: `Task ${field} must match its canonical status projection.`,
11877
- path: [field]
11878
- });
11879
- validateCenterAgentTaskLifecycle(task, context);
11880
- if (executionEvidence && (task.status !== "running" || executionEvidence.attemptGeneration !== task.activeAttemptGeneration)) context.addIssue({
11881
- code: "custom",
11882
- message: "Task executionEvidence must name the active running attempt.",
11883
- path: ["executionEvidence"]
11884
- });
11885
- }).transform((task) => ({
11886
- ...task,
11887
- ...resolveCenterAgentTaskPresentation(task.status, task.executionEvidence ?? null)
11888
- }));
11889
- const centerAgentTaskAttemptSchema = strictObject({
11890
- createdAt: isoDateTimeSchema$1,
11891
- failureCode: string().trim().min(1).max(160).nullable(),
11892
- finishedAt: isoDateTimeSchema$1.nullable(),
11893
- generation: number().int().positive(),
11894
- id: identifierSchema$1,
11895
- startedAt: isoDateTimeSchema$1.nullable(),
11896
- status: centerAgentTaskStatusSchema,
11897
- taskHandle: agentTaskHandleSchema,
11898
- taskId: identifierSchema$1
11899
- }).superRefine((attempt, context) => {
11900
- const isQueued = attempt.status === "queued";
11901
- const isTerminal = isCenterAgentTaskTerminalStatus(attempt.status);
11902
- if (!(isQueued && attempt.startedAt === null && attempt.finishedAt === null || !isQueued && attempt.startedAt !== null && (isTerminal ? attempt.finishedAt !== null : attempt.finishedAt === null))) context.addIssue({
11903
- code: "custom",
11904
- message: "Attempt timestamps must match its status.",
11905
- path: ["status"]
11906
- });
11907
- if (!(attempt.status === "failed" && attempt.failureCode !== null || attempt.status !== "failed" && attempt.failureCode === null)) context.addIssue({
11908
- code: "custom",
11909
- message: "Attempt failureCode must match its status.",
11910
- path: ["failureCode"]
11911
- });
11912
- if (attempt.startedAt !== null && Date.parse(attempt.startedAt) < Date.parse(attempt.createdAt)) context.addIssue({
11913
- code: "custom",
11914
- message: "Attempt startedAt must not be before createdAt.",
11915
- path: ["startedAt"]
11916
- });
11917
- if (attempt.startedAt !== null && attempt.finishedAt !== null && Date.parse(attempt.finishedAt) < Date.parse(attempt.startedAt)) context.addIssue({
11918
- code: "custom",
11919
- message: "Attempt finishedAt must not be before startedAt.",
11920
- path: ["finishedAt"]
11921
- });
11922
- });
11923
- const centerAgentTaskEventKindSchema = enumFactory([
11924
- "task_created",
11925
- "requester_message",
11926
- "center_agent_update",
11927
- "needs_attention",
11928
- "stop_requested",
11929
- "task_succeeded",
11930
- "task_failed",
11931
- "task_stopped"
11932
- ]);
11933
- const centerAgentTaskEventSchema = strictObject({
11934
- actor: enumFactory([
11935
- "requester",
11936
- "center_agent",
11937
- "system"
11938
- ]),
11939
- attemptGeneration: number().int().positive().nullable(),
11940
- id: identifierSchema$1,
11941
- kind: centerAgentTaskEventKindSchema,
11942
- occurredAt: isoDateTimeSchema$1,
11943
- taskId: identifierSchema$1,
11944
- text: taskTextSchema.max(CENTER_AGENT_TASK_EVENT_TEXT_MAX_CHARS)
11945
- });
11946
- const centerAgentTaskDetailSchema = strictObject({
11947
- attempts: array(centerAgentTaskAttemptSchema),
11948
- events: array(centerAgentTaskEventSchema),
11949
- task: centerAgentTaskSchema
11950
- });
11951
- strictObject({
11952
- attempts: array(centerAgentTaskAttemptSchema),
11953
- events: array(centerAgentTaskEventSchema),
11954
- task: centerAgentTaskResponseV1Schema
11955
- });
11956
- strictObject({
11957
- attempts: array(centerAgentTaskAttemptSchema),
11958
- events: array(centerAgentTaskEventSchema),
11959
- task: centerAgentTaskResponseV2Schema
11960
- });
11961
- strictObject({
11962
- context: openMeldRequestContextSchema,
11963
- goal: taskTextSchema.max(CENTER_AGENT_TASK_GOAL_MAX_CHARS),
11964
- idempotencyKey: idempotencyKeySchema,
11965
- speakerMember: centerAgentToolSpeakerSchema,
11966
- submissionId: identifierSchema$1,
11967
- title: taskTextSchema.max(160)
11968
- });
11969
- strictObject({ task: centerAgentTaskSchema });
11970
- const listCenterAgentTasksQuerySchema = strictObject({
11971
- cursor: string().trim().min(1).max(1024).optional(),
11972
- limit: coerce.number().int().min(1).max(100).optional(),
11973
- status: centerAgentTaskStatusSchema.optional()
11974
- });
11975
- const listCenterAgentTasksResponseSchema = strictObject({
11976
- nextCursor: string().trim().min(1).max(1024).nullable(),
11977
- organizationId: identifierSchema$1,
11978
- tasks: array(centerAgentTaskSchema)
11979
- });
11980
- strictObject({
11981
- nextCursor: string().trim().min(1).max(1024).nullable(),
11982
- organizationId: identifierSchema$1,
11983
- tasks: array(centerAgentTaskResponseV1Schema)
11984
- });
11985
- strictObject({
11986
- nextCursor: string().trim().min(1).max(1024).nullable(),
11987
- organizationId: identifierSchema$1,
11988
- tasks: array(centerAgentTaskResponseV2Schema)
11989
- });
11990
- const centerAgentTaskRouteParamsSchema = strictObject({ taskId: identifierSchema$1 });
11991
- const getCenterAgentTaskResponseSchema = centerAgentTaskDetailSchema;
11992
- const continueCenterAgentTaskBodyShape = {
11993
- expectedVersion: number().int().positive(),
11994
- idempotencyKey: idempotencyKeySchema,
11995
- text: taskTextSchema.max(CENTER_AGENT_TASK_EVENT_TEXT_MAX_CHARS)
11996
- };
11997
- const continueCenterAgentTaskBodySchema = strictObject(continueCenterAgentTaskBodyShape);
11998
- const stopCenterAgentTaskBodyShape = { expectedVersion: number().int().positive() };
11999
- const stopCenterAgentTaskBodySchema = strictObject(stopCenterAgentTaskBodyShape);
12000
- const retryCenterAgentTaskBodyShape = {
12001
- expectedVersion: number().int().positive(),
12002
- idempotencyKey: idempotencyKeySchema
12003
- };
12004
- const retryCenterAgentTaskBodySchema = strictObject(retryCenterAgentTaskBodyShape);
12005
- listCenterAgentTasksQuerySchema.extend({
12006
- context: openMeldRequestContextSchema,
12007
- responseContractVersion: centerAgentTaskResponseContractVersionSchema.optional()
12008
- });
12009
- centerAgentTaskRouteParamsSchema.extend({
12010
- context: openMeldRequestContextSchema,
12011
- responseContractVersion: centerAgentTaskResponseContractVersionSchema.optional()
12012
- });
12013
- centerAgentTaskRouteParamsSchema.extend(continueCenterAgentTaskBodyShape).extend({
12014
- context: openMeldRequestContextSchema,
12015
- responseContractVersion: centerAgentTaskResponseContractVersionSchema.optional()
12016
- });
12017
- centerAgentTaskRouteParamsSchema.extend(stopCenterAgentTaskBodyShape).extend({
12018
- context: openMeldRequestContextSchema,
12019
- responseContractVersion: centerAgentTaskResponseContractVersionSchema.optional()
12020
- });
12021
- centerAgentTaskRouteParamsSchema.extend(retryCenterAgentTaskBodyShape).extend({
12022
- context: openMeldRequestContextSchema,
12023
- responseContractVersion: centerAgentTaskResponseContractVersionSchema.optional()
12024
- });
12025
- listCenterAgentTasksQuerySchema.extend({
12026
- context: openMeldRequestContextSchema,
12027
- speakerMember: centerAgentToolSpeakerSchema
12028
- });
12029
- centerAgentTaskRouteParamsSchema.extend({
12030
- context: openMeldRequestContextSchema,
12031
- speakerMember: centerAgentToolSpeakerSchema
12032
- });
12033
- const mutateCenterAgentTaskResponseSchema = centerAgentTaskDetailSchema;
12034
- function resolveCenterAgentTaskPresentationV1(status) {
12035
- if (status === "running") return {
12036
- outcome: null,
12037
- phase: "working",
12038
- state: "active"
12039
- };
12040
- return resolveCenterAgentTaskPresentation(status);
12041
- }
12042
- function validateCenterAgentTaskLifecycle(task, context) {
12043
- if (isCenterAgentTaskTerminalStatus(task.status) !== (task.finishedAt !== null)) context.addIssue({
12044
- code: "custom",
12045
- message: "Task finishedAt must match its terminal status.",
12046
- path: ["finishedAt"]
12047
- });
12048
- if (task.status !== "queued" && task.activeAttemptGeneration === null) context.addIssue({
12049
- code: "custom",
12050
- message: "A non-queued task requires an active attempt generation.",
12051
- path: ["activeAttemptGeneration"]
12052
- });
12053
- if (Date.parse(task.updatedAt) < Date.parse(task.createdAt)) context.addIssue({
12054
- code: "custom",
12055
- message: "Task updatedAt must not be before createdAt.",
12056
- path: ["updatedAt"]
12057
- });
12058
- if (task.finishedAt !== null && Date.parse(task.finishedAt) < Date.parse(task.createdAt)) context.addIssue({
12059
- code: "custom",
12060
- message: "Task finishedAt must not be before createdAt.",
12061
- path: ["finishedAt"]
12062
- });
12063
- }
12064
- function isCenterAgentTaskTerminalStatus(status) {
12065
- return status === "failed" || status === "stopped" || status === "succeeded";
12066
- }
12067
- //#endregion
12068
11704
  //#region ../../packages/schemas/dist/schemas/http/current-device-target.js
12069
11705
  const currentDeviceTargetDeviceIdSchema = START_BOUNDED_ID_SCHEMA;
12070
11706
  const currentDeviceTargetResolvedSchema = z$1.strictObject({
@@ -12139,7 +11775,6 @@ const inboxItemWireKindSchema = union([enumFactory([
12139
11775
  "agent_interaction",
12140
11776
  "wake_outcome",
12141
11777
  "center_agent_update",
12142
- "center_agent_task",
12143
11778
  "document_review",
12144
11779
  "organization_request",
12145
11780
  "system_issue"
@@ -12149,7 +11784,6 @@ const inboxSourceKindSchema = enumFactory([
12149
11784
  "runtime_coordinator_interaction",
12150
11785
  "remote_agent_native_delivery",
12151
11786
  "remote_agent_native_interaction",
12152
- "center_agent_task_event",
12153
11787
  "organization_document_draft",
12154
11788
  "organization_opportunity",
12155
11789
  "organization_member_request",
@@ -12222,10 +11856,6 @@ const inboxSourceTargetSchema = discriminatedUnion("kind", [
12222
11856
  documentId: identifierSchema,
12223
11857
  kind: literal("organization_document")
12224
11858
  }),
12225
- strictObject({
12226
- kind: literal("center_agent_task"),
12227
- taskId: identifierSchema
12228
- }),
12229
11859
  slackInboxSourceTargetSchema,
12230
11860
  centerAgentInboxSourceTargetSchema,
12231
11861
  strictObject({
@@ -13804,7 +13434,7 @@ function buildAgentActivityStatsPath(query = {}) {
13804
13434
  }
13805
13435
  const createAgentActivityApi = (client) => ({
13806
13436
  readSessions: async (input = {}) => {
13807
- const query = requireValidInput$8(agentActivitySessionInventoryQuerySchema, {
13437
+ const query = requireValidInput$7(agentActivitySessionInventoryQuerySchema, {
13808
13438
  ...input.cursor === void 0 ? {} : { cursor: input.cursor },
13809
13439
  ...input.limit === void 0 ? {} : { limit: input.limit },
13810
13440
  ...input.memberUserId === void 0 ? {} : { memberUserId: input.memberUserId },
@@ -13816,7 +13446,7 @@ const createAgentActivityApi = (client) => ({
13816
13446
  ...input.status === void 0 ? {} : { status: input.status }
13817
13447
  }, "Agent Activity Session Inventory request is invalid.");
13818
13448
  return await client.requestJson({
13819
- ...requestOptions$10(input),
13449
+ ...requestOptions$9(input),
13820
13450
  invalidMessage: "invalid Agent Activity Session Inventory response",
13821
13451
  method: "GET",
13822
13452
  operation: "agent_activity.sessions.read",
@@ -13825,7 +13455,7 @@ const createAgentActivityApi = (client) => ({
13825
13455
  });
13826
13456
  },
13827
13457
  readSnapshot: async (input = {}) => {
13828
- const query = requireValidInput$8(agentActivitySnapshotQuerySchema, {
13458
+ const query = requireValidInput$7(agentActivitySnapshotQuerySchema, {
13829
13459
  ...input.includeProviderMetadata === true ? { includeProviderMetadata: true } : {},
13830
13460
  ...input.memberUserId === void 0 ? {} : { memberUserId: input.memberUserId },
13831
13461
  ...input.projectId === void 0 ? {} : { projectId: input.projectId },
@@ -13833,7 +13463,7 @@ const createAgentActivityApi = (client) => ({
13833
13463
  ...input.status === void 0 ? {} : { status: input.status }
13834
13464
  }, "Agent Activity snapshot request is invalid.");
13835
13465
  return await client.requestJson({
13836
- ...requestOptions$10(input),
13466
+ ...requestOptions$9(input),
13837
13467
  invalidMessage: "invalid Agent Activity snapshot response",
13838
13468
  method: "GET",
13839
13469
  operation: "agent_activity.snapshot.read",
@@ -13842,9 +13472,9 @@ const createAgentActivityApi = (client) => ({
13842
13472
  });
13843
13473
  },
13844
13474
  readStats: async (input = {}) => {
13845
- const query = requireValidInput$8(agentActivityStatsQuerySchema, { ...input.projectId === void 0 ? {} : { projectId: input.projectId } }, "Agent Activity stats request is invalid.");
13475
+ const query = requireValidInput$7(agentActivityStatsQuerySchema, { ...input.projectId === void 0 ? {} : { projectId: input.projectId } }, "Agent Activity stats request is invalid.");
13846
13476
  return await client.requestJson({
13847
- ...requestOptions$10(input),
13477
+ ...requestOptions$9(input),
13848
13478
  invalidMessage: "invalid Agent Activity stats response",
13849
13479
  method: "GET",
13850
13480
  operation: "agent_activity.stats.read",
@@ -13853,14 +13483,14 @@ const createAgentActivityApi = (client) => ({
13853
13483
  });
13854
13484
  }
13855
13485
  });
13856
- function requestOptions$10(input) {
13486
+ function requestOptions$9(input) {
13857
13487
  return {
13858
13488
  ...input.requestContext === void 0 ? {} : { requestContext: input.requestContext },
13859
13489
  ...input.signal === void 0 ? {} : { signal: input.signal },
13860
13490
  ...input.timeoutMs === void 0 ? {} : { timeoutMs: input.timeoutMs }
13861
13491
  };
13862
13492
  }
13863
- function requireValidInput$8(schema, value, message) {
13493
+ function requireValidInput$7(schema, value, message) {
13864
13494
  const parsed = schema.safeParse(value);
13865
13495
  if (!parsed.success) throw new Error(`${message} ${parsed.error.issues[0]?.message ?? "Invalid input."}`);
13866
13496
  return parsed.data;
@@ -14574,127 +14204,6 @@ function buildAuditJournalUrl(input) {
14574
14204
  if (input.actionSet !== void 0) url.searchParams.set("actionSet", input.actionSet);
14575
14205
  return `${url.pathname}${url.search}`;
14576
14206
  }
14577
- const CENTER_AGENT_TASKS_PATH = "/v1/organizations/current/center-agent/tasks";
14578
- function buildCenterAgentTasksPath(query = {}) {
14579
- const search = new URLSearchParams();
14580
- if (query.cursor !== void 0) search.set("cursor", query.cursor);
14581
- if (query.limit !== void 0) search.set("limit", String(query.limit));
14582
- if (query.status !== void 0) search.set("status", query.status);
14583
- const encodedQuery = search.toString();
14584
- return encodedQuery.length > 0 ? `${CENTER_AGENT_TASKS_PATH}?${encodedQuery}` : CENTER_AGENT_TASKS_PATH;
14585
- }
14586
- function buildCenterAgentTaskPath(taskId) {
14587
- return `${CENTER_AGENT_TASKS_PATH}/${encodeURIComponent(taskId)}`;
14588
- }
14589
- function buildCenterAgentTaskMessagesPath(taskId) {
14590
- return `${buildCenterAgentTaskPath(taskId)}/messages`;
14591
- }
14592
- function buildCenterAgentTaskStopPath(taskId) {
14593
- return `${buildCenterAgentTaskPath(taskId)}/stop`;
14594
- }
14595
- function buildCenterAgentTaskRetryPath(taskId) {
14596
- return `${buildCenterAgentTaskPath(taskId)}/retry`;
14597
- }
14598
- const createCenterAgentTasksApi = (client) => ({
14599
- list: async (input = {}) => {
14600
- const query = requireValidInput$7(listCenterAgentTasksQuerySchema, {
14601
- ...input.cursor === void 0 ? {} : { cursor: input.cursor },
14602
- ...input.limit === void 0 ? {} : { limit: input.limit },
14603
- ...input.status === void 0 ? {} : { status: input.status }
14604
- }, "Center Agent Task list request is invalid.");
14605
- return await client.requestJson({
14606
- ...requestOptions$9(input),
14607
- headers: responseContractHeaders(),
14608
- invalidMessage: "invalid Center Agent Task list response",
14609
- method: "GET",
14610
- operation: "center_agent_task.list",
14611
- schema: listCenterAgentTasksResponseSchema,
14612
- url: buildCenterAgentTasksPath(query)
14613
- });
14614
- },
14615
- get: async (input) => {
14616
- const taskId = requireTaskId(input.taskId);
14617
- return await client.requestJson({
14618
- ...requestOptions$9(input),
14619
- headers: responseContractHeaders(),
14620
- invalidMessage: "invalid Center Agent Task response",
14621
- method: "GET",
14622
- operation: "center_agent_task.get",
14623
- schema: getCenterAgentTaskResponseSchema,
14624
- url: buildCenterAgentTaskPath(taskId)
14625
- });
14626
- },
14627
- continue: async (input) => {
14628
- const taskId = requireTaskId(input.taskId);
14629
- const body = requireValidInput$7(continueCenterAgentTaskBodySchema, {
14630
- expectedVersion: input.expectedVersion,
14631
- idempotencyKey: input.idempotencyKey,
14632
- text: input.text
14633
- }, "Center Agent Task message request is invalid.");
14634
- return await client.requestJson({
14635
- ...requestOptions$9(input),
14636
- body: JSON.stringify(body),
14637
- headers: responseContractHeaders("application/json"),
14638
- invalidMessage: "invalid Center Agent Task response",
14639
- method: "POST",
14640
- operation: "center_agent_task.continue",
14641
- schema: mutateCenterAgentTaskResponseSchema,
14642
- url: buildCenterAgentTaskMessagesPath(taskId)
14643
- });
14644
- },
14645
- stop: async (input) => {
14646
- const taskId = requireTaskId(input.taskId);
14647
- const body = requireValidInput$7(stopCenterAgentTaskBodySchema, { expectedVersion: input.expectedVersion }, "Center Agent Task stop request is invalid.");
14648
- return await client.requestJson({
14649
- ...requestOptions$9(input),
14650
- body: JSON.stringify(body),
14651
- headers: responseContractHeaders("application/json"),
14652
- invalidMessage: "invalid Center Agent Task response",
14653
- method: "POST",
14654
- operation: "center_agent_task.stop",
14655
- schema: mutateCenterAgentTaskResponseSchema,
14656
- url: buildCenterAgentTaskStopPath(taskId)
14657
- });
14658
- },
14659
- retry: async (input) => {
14660
- const taskId = requireTaskId(input.taskId);
14661
- const body = requireValidInput$7(retryCenterAgentTaskBodySchema, {
14662
- expectedVersion: input.expectedVersion,
14663
- idempotencyKey: input.idempotencyKey
14664
- }, "Center Agent Task retry request is invalid.");
14665
- return await client.requestJson({
14666
- ...requestOptions$9(input),
14667
- body: JSON.stringify(body),
14668
- headers: responseContractHeaders("application/json"),
14669
- invalidMessage: "invalid Center Agent Task response",
14670
- method: "POST",
14671
- operation: "center_agent_task.retry",
14672
- schema: mutateCenterAgentTaskResponseSchema,
14673
- url: buildCenterAgentTaskRetryPath(taskId)
14674
- });
14675
- }
14676
- });
14677
- function requireTaskId(value) {
14678
- return requireValidInput$7(centerAgentTaskRouteParamsSchema, { taskId: value }, "Center Agent Task identifier is invalid.").taskId;
14679
- }
14680
- function responseContractHeaders(contentType) {
14681
- return {
14682
- ...contentType ? { "content-type": contentType } : {},
14683
- [CENTER_AGENT_TASK_RESPONSE_CONTRACT_VERSION_HEADER]: String(3)
14684
- };
14685
- }
14686
- function requestOptions$9(input) {
14687
- return {
14688
- ...input.requestContext === void 0 ? {} : { requestContext: input.requestContext },
14689
- ...input.signal === void 0 ? {} : { signal: input.signal },
14690
- ...input.timeoutMs === void 0 ? {} : { timeoutMs: input.timeoutMs }
14691
- };
14692
- }
14693
- function requireValidInput$7(schema, value, message) {
14694
- const parsed = schema.safeParse(value);
14695
- if (!parsed.success) throw new TypeError(`${message} ${parsed.error.issues[0]?.message ?? "Invalid value."}`);
14696
- return parsed.data;
14697
- }
14698
14207
  const FALLBACK_GATEWAY_HTTP_ERROR_CODE = "gateway.http_error";
14699
14208
  const INVALID_RESPONSE_ERROR_CODE = "gateway.invalid_response";
14700
14209
  const GENERIC_NETWORK_ERROR_CODES = ["network.timeout", "network.request_failed"];
@@ -18654,6 +18163,6 @@ function composeAbortSignals(parent, timeout) {
18654
18163
  };
18655
18164
  }
18656
18165
  //#endregion
18657
- export { buildInboxItemReadPath as $, projectOwnerComputerLocalRuntimes as $n, spaceMemberDirectoryEntrySchema as $r, createOrganizationDocumentsApi as $t, buildComputerFileAccessReadPath as A, parseEnvelope as An, createCenterAgentRoutineResponseSchema as Ar, buildSpaceAttachmentDownloadPath as At, buildCurrentOrganizationMessageChannelPath as B, getSpaceUpdatesResponseSchema as Bn, agentActivityProviderSchema as Br, createCenterAgentTasksApi as Bt, buildCenterAgentSessionPath as C, toCompatibleSpaceAddressingRequestWireValue as Ci, updateSpaceFileEntry as Cn, authProfileKindSchema as Cr, buildProjectsPath as Ct, buildCenterAgentTaskRetryPath as D, DAEMON_STREAM_KEEPALIVE_PING as Dn, organizationComputersResponseSchema as Dr, buildRoutineRunsPath as Dt, buildCenterAgentTaskPath as E, uploadSpaceFile as En, profileErrorResponseSchema as Er, buildRoutineResumePath as Et, buildCurrentOrganizationDirectoryPath as F, OPENMELD_HEADER_REQUESTED_ORGANIZATION_ID as Fn, resumeCenterAgentRoutineResponseSchema as Fr, createAccountSpaceIndexApi as Ft, buildCurrentOrganizationMessageChannelsPath as G, resolveSpaceDispatchTraceRootCause as Gn, localProjectControlDaemonFrameSchema as Gr, createFeedbackApi as Gt, buildCurrentOrganizationMessageChannelRegistrationPollPath as H, SPACE_DISPATCH_TRACE_PROMPT_PREVIEW_MAX_CHARS as Hn, agentActivitySnapshotQuerySchema as Hr, createConfigApi as Ht, buildCurrentOrganizationFeedbackReportingPolicyPath as I, OPENMELD_HEADER_REQUEST_ID as In, updateCenterAgentRoutineResponseSchema as Ir, createAgentActivityApi as It, buildDirectMessageConversionPath as J, spaceDispatchTraceResponseSchema as Jn, postSpaceMembersResponseSchema as Jr, createLocalFolderPickerApi as Jt, buildCurrentOrganizationSpacesPath as K, spaceDispatchTraceAttemptStatusSchema as Kn, localProjectControlDiscoverProjectsResponseSchema as Kr, createFetchTransport as Kt, buildCurrentOrganizationInformationProtectionPath as L, OPENMELD_HEADER_SPACE_ADDRESSING_VERSION as Ln, AGENT_ACTIVITY_EVENT_MAX_BYTES as Lr, createAgentProfileBindingApi as Lt, buildCurrentAgentProfileSessionRoute as M, parseServerErrorFrame as Mn, listCenterAgentRoutineRunsResponseSchema as Mr, buildSpaceInboxReadThroughPath as Mt, buildCurrentOrganizationCenterAgentMemoryWipeSelfPath as N, resolveCustomMentionAliasOverride as Nn, listCenterAgentRoutinesResponseSchema as Nr, buildSpaceInboxSummaryPath as Nt, buildCenterAgentTaskStopPath as O, DAEMON_STREAM_KEEPALIVE_PONG as On, submitFeedbackIssueRequestSchema as Or, buildRoutineTargetSpacesPath as Ot, buildCurrentOrganizationComputersPath as P, OPENMELD_HEADER_PROFILE_ID as Pn, pauseCenterAgentRoutineResponseSchema as Pr, buildSpaceInboxUnreadTargetsPath as Pt, buildInboxItemPath as Q, ownerComputerDiagnosticsSchema as Qn, spaceMemberDirectoryAllowedRelationsSchema as Qr, createOrganizationApi as Qt, buildCurrentOrganizationLogoPath as R, buildOpenMeldRequestContextHeaders as Rn, AGENT_ACTIVITY_PRESENCE_TTL_MAX_MS as Rr, createAgentProfileWorkRecoveryApi as Rt, buildCenterAgentProfilePath as S, agentControllerCollaborationModeSchema as Si, updateSpaceFileContent as Sn, ADDITIONAL_HUMAN_PROFILE_CREATION_DISABLED_MESSAGE as Sr, buildProjectPath as St, buildCenterAgentTaskMessagesPath as T, uploadSpaceAttachment as Tn, profileCapabilitiesResponseSchema as Tr, buildRoutinePausePath as Tt, buildCurrentOrganizationMessageChannelRegistrationsPath as U, SPACE_DISPATCH_TRACE_RESPONSE_CONTRACT_VERSION_HEADER as Un, agentActivitySnapshotResponseSchema as Ur, createCurrentDeviceApi as Ut, buildCurrentOrganizationMessageChannelRegistrationPath as V, spaceEntryTargetSchema as Vn, agentActivitySessionStatusSchema as Vr, createComputerFileAccessApi as Vt, buildCurrentOrganizationMessageChannelSetupRequestsPath as W, projectSpaceDispatchTraceFinalVisibleOutcome as Wn, localProjectControlConnectionSchema as Wr, createDirectMessageApi as Wt, buildFeedbackIssueSubmissionPath as X, projectObservabilityWakeCorrelation as Xn, resolvedSpaceMemberProfileSchema as Xr, createLocalRuntimeExpectedRoutesApi as Xt, buildDirectMessageSpacePath as Y, observabilityWakeTraceSelectorSchema as Yn, removeSpaceMembersResponseSchema as Yr, createLocalProjectControlApi as Yt, buildInboxItemDismissPath as Z, submitAgentControllerTaskLifecycleEventItemSchema as Zn, spaceMemberAgentWakeAvailabilitySchema as Zr, createOpenMeldApiClient as Zt, buildCenterAgentDirectMessageSpacePath as _, START_ISO_DATE_TIME_SCHEMA as _i, resolveAccountSpaceIndexGatewayHost as _n, organizationSkillReleaseSummarySchema as _r, buildOrganizationUsageOverviewPath as _t, buildAgentActivitySessionsPath as a, agentActivitySessionInventoryResponseSchema as ai, createProjectsApi as an, OPENMELD_RUNTIME_CAPABILITIES_HEADER as ar, buildLocalProjectControlPath as at, buildCenterAgentMemberResearchPath as b, localAgentCatalogSchema as bi, toStructuredApiClientFailure as bn, organizationDirectoryResponseSchema as br, buildProfileSpaceHistoryStatusPath as bt, buildAgentProfileCreationApprovalPreferencePath as c, archiveProjectResponseSchema as ci, createSpaceApi as cn, computerFileAccessPolicySchema as cr, buildOrganizationDocumentDiscardDraftPath as ct, buildAgentProfileCreationRequestDecisionPath as d, projectSchema as di, getModelCatalog as dn, resolveInitialSpaceAccessMode as dr, buildOrganizationSkillEnabledPath as dt, spaceMemberDirectorySchema as ei, createOrganizationSkillsApi as en, summarizeComputerFileAccessPolicy as er, buildInboxMarkAllReadPath as et, buildAgentProfileCreationRequestRetryPath as f, updateProjectResponseSchema as fi, getSpaceFile as fn, spaceCreatorSchema as fr, buildOrganizationSkillGitHubImportPath as ft, buildCenterAgentDesignationPath as g, START_BOUNDED_VERSION_SCHEMA as gi, publicSpaceUrls as gn, organizationSkillBundleSchema as gr, buildOrganizationSkillsPath as gt, buildCenterAgentAuditJournalPath as h, START_BOUNDED_ID_SCHEMA as hi, normalizeApiBaseUrl as hn, listOrganizationSkillsResponseSchema as hr, buildOrganizationSkillPath as ht, buildAccountSpaceIndexPath as i, agentActivitySessionInventoryQuerySchema as ii, createProfilesApi as in, COMPUTER_FILE_ACCESS_RUNTIME_CAPABILITY as ir, buildLocalFolderPickerPath as it, buildComputerFileAccessUpdatePath as j, parseIncoming as jn, deleteCenterAgentRoutineResponseSchema as jr, buildSpaceBootstrapReadPath as jt, buildCenterAgentTasksPath as k, MAX_TEXT_LENGTH as kn, submitFeedbackIssueResponseSchema as kr, buildRoutinesPath as kt, buildAgentProfileCreationDefaultsPath as l, createProjectResponseSchema as li, createSpaceFolder as ln, modelCatalogSchema as lr, buildOrganizationDocumentPath as lt, buildAgentProfileWorkRecoveryRoute as m, openCodePermissionConfigSchema as mi, listSpaceFiles as mn, getOrganizationSkillResponseSchema as mr, buildOrganizationSkillMaintainersPath as mt, OpenMeldApiClientInvalidResponseError as n, agentActivityInventorySessionOriginSchema as ni, createPrepareReadinessApi as nn, agentProfileCreationConfigurationSchema as nr, buildInboxPreferencesPath as nt, buildAgentActivitySnapshotPath as o, localAgentSessionProviderSchema as oi, createRoutinesApi as on, computerFileAccessDaemonFrameSchema as or, buildModelCatalogPath as ot, buildAgentProfileCreationRequestsPath as p, centerAgentToolSpeakerSchema as pi, listSpaceFileRevisions as pn, spaceMetaSchema as pr, buildOrganizationSkillGitHubPreviewPath as pt, buildCurrentOrganizationSpacesWithMemberCountsPath as q, spaceDispatchTraceDispatchStatusSchema as qn, leaveSpaceResponseSchema as qr, createInboxApi as qt, buildAccountSpaceActiveWakeSummaryPath as r, agentActivityInventorySessionStatusSchema as ri, createProfileSpaceHistoryApi as rn, gatewayErrorEnvelopeSchema as rr, buildInboxSummaryPath as rt, buildAgentActivityStatsPath as s, observedLocalAgentSessionSchema as si, createRuntimeReportingApi as sn, computerFileAccessPolicyInputSchema as sr, buildOrganizationDocumentApproveDraftPath as st, OpenMeldApiClientHttpError as t, spaceMemberKindSchema as ti, createOrganizationUsageApi as tn, DEFAULT_AGENT_PROFILE_CREATION_CONFIGURATION as tr, buildInboxPath as tt, buildAgentProfileCreationRequestCancelPath as u, listProjectsResponseSchema as ui, downloadSpaceFileContent as un, organizationSpaceDirectoryWithMemberCountsResponseSchema as ur, buildOrganizationDocumentsPath as ut, buildCenterAgentInboxReadThroughPath as v, START_TRIMMED_NON_EMPTY_STRING_SCHEMA as vi, resolveProfileSpaceHistoryGatewayHost as vn, organizationSkillSummarySchema as vr, buildProfileRoute as vt, buildCenterAgentSessionsPath as w, updateSpaceMeta as wn, authProfileManagedRoleSchema as wr, buildRoutinePath as wt, buildCenterAgentOperatingStatePath as x, agentControllerPermissionModeSchema as xi, trashSpaceFileEntry as xn, ADDITIONAL_HUMAN_PROFILE_CREATION_DISABLED_CODE as xr, buildProfileSpaceHistoryUpsertPath as xt, buildCenterAgentInboxSummaryPath as y, startReplyReadinessSummarySchema as yi, setSpaceAccessMode as yn, stringifyOrganizationSkillBundleCanonicalJson as yr, buildProfileSpaceHistoryListPath as yt, buildCurrentOrganizationMemberOpenMeldServiceStatusesPath as z, toErrorMessage$2 as zn, agentActivityEventSchema as zr, createCenterAgentApi as zt };
18166
+ export { buildLocalFolderPickerPath as $, OPENMELD_RUNTIME_CAPABILITIES_HEADER as $n, agentActivitySessionInventoryResponseSchema as $r, createProjectsApi as $t, buildCurrentOrganizationDirectoryPath as A, OPENMELD_HEADER_REQUEST_ID as An, updateCenterAgentRoutineResponseSchema as Ar, createAccountSpaceIndexApi as At, buildCurrentOrganizationMessageChannelsPath as B, spaceDispatchTraceAttemptStatusSchema as Bn, localProjectControlDiscoverProjectsResponseSchema as Br, createFetchTransport as Bt, buildCenterAgentSessionPath as C, MAX_TEXT_LENGTH as Cn, submitFeedbackIssueResponseSchema as Cr, buildRoutineTargetSpacesPath as Ct, buildCurrentAgentProfileSessionRoute as D, resolveCustomMentionAliasOverride as Dn, listCenterAgentRoutinesResponseSchema as Dr, buildSpaceInboxReadThroughPath as Dt, buildComputerFileAccessUpdatePath as E, parseServerErrorFrame as En, listCenterAgentRoutineRunsResponseSchema as Er, buildSpaceBootstrapReadPath as Et, buildCurrentOrganizationMessageChannelPath as F, spaceEntryTargetSchema as Fn, agentActivitySessionStatusSchema as Fr, createComputerFileAccessApi as Ft, buildFeedbackIssueSubmissionPath as G, submitAgentControllerTaskLifecycleEventItemSchema as Gn, spaceMemberAgentWakeAvailabilitySchema as Gr, createOpenMeldApiClient as Gt, buildCurrentOrganizationSpacesWithMemberCountsPath as H, spaceDispatchTraceResponseSchema as Hn, postSpaceMembersResponseSchema as Hr, createLocalFolderPickerApi as Ht, buildCurrentOrganizationMessageChannelRegistrationPath as I, SPACE_DISPATCH_TRACE_PROMPT_PREVIEW_MAX_CHARS as In, agentActivitySnapshotQuerySchema as Ir, createConfigApi as It, buildInboxItemReadPath as J, summarizeComputerFileAccessPolicy as Jn, spaceMemberDirectorySchema as Jr, createOrganizationSkillsApi as Jt, buildInboxItemDismissPath as K, ownerComputerDiagnosticsSchema as Kn, spaceMemberDirectoryAllowedRelationsSchema as Kr, createOrganizationApi as Kt, buildCurrentOrganizationMessageChannelRegistrationPollPath as L, SPACE_DISPATCH_TRACE_RESPONSE_CONTRACT_VERSION_HEADER as Ln, agentActivitySnapshotResponseSchema as Lr, createCurrentDeviceApi as Lt, buildCurrentOrganizationInformationProtectionPath as M, buildOpenMeldRequestContextHeaders as Mn, AGENT_ACTIVITY_PRESENCE_TTL_MAX_MS as Mr, createAgentProfileBindingApi as Mt, buildCurrentOrganizationLogoPath as N, toErrorMessage$2 as Nn, agentActivityEventSchema as Nr, createAgentProfileWorkRecoveryApi as Nt, buildCurrentOrganizationCenterAgentMemoryWipeSelfPath as O, OPENMELD_HEADER_PROFILE_ID as On, pauseCenterAgentRoutineResponseSchema as Or, buildSpaceInboxSummaryPath as Ot, buildCurrentOrganizationMemberOpenMeldServiceStatusesPath as P, getSpaceUpdatesResponseSchema as Pn, agentActivityProviderSchema as Pr, createCenterAgentApi as Pt, buildInboxSummaryPath as Q, COMPUTER_FILE_ACCESS_RUNTIME_CAPABILITY as Qn, agentActivitySessionInventoryQuerySchema as Qr, createProfilesApi as Qt, buildCurrentOrganizationMessageChannelRegistrationsPath as R, projectSpaceDispatchTraceFinalVisibleOutcome as Rn, localProjectControlConnectionSchema as Rr, createDirectMessageApi as Rt, buildCenterAgentProfilePath as S, DAEMON_STREAM_KEEPALIVE_PONG as Sn, submitFeedbackIssueRequestSchema as Sr, buildRoutineRunsPath as St, buildComputerFileAccessReadPath as T, parseIncoming as Tn, deleteCenterAgentRoutineResponseSchema as Tr, buildSpaceAttachmentDownloadPath as Tt, buildDirectMessageConversionPath as U, observabilityWakeTraceSelectorSchema as Un, removeSpaceMembersResponseSchema as Ur, createLocalProjectControlApi as Ut, buildCurrentOrganizationSpacesPath as V, spaceDispatchTraceDispatchStatusSchema as Vn, leaveSpaceResponseSchema as Vr, createInboxApi as Vt, buildDirectMessageSpacePath as W, projectObservabilityWakeCorrelation as Wn, resolvedSpaceMemberProfileSchema as Wr, createLocalRuntimeExpectedRoutesApi as Wt, buildInboxPath as X, agentProfileCreationConfigurationSchema as Xn, agentActivityInventorySessionOriginSchema as Xr, createPrepareReadinessApi as Xt, buildInboxMarkAllReadPath as Y, DEFAULT_AGENT_PROFILE_CREATION_CONFIGURATION as Yn, spaceMemberKindSchema as Yr, createOrganizationUsageApi as Yt, buildInboxPreferencesPath as Z, gatewayErrorEnvelopeSchema as Zn, agentActivityInventorySessionStatusSchema as Zr, createProfileSpaceHistoryApi as Zt, buildCenterAgentDirectMessageSpacePath as _, toCompatibleSpaceAddressingRequestWireValue as _i, updateSpaceFileEntry as _n, authProfileKindSchema as _r, buildProjectPath as _t, buildAgentActivitySessionsPath as a, projectSchema as ai, getModelCatalog as an, resolveInitialSpaceAccessMode as ar, buildOrganizationDocumentsPath as at, buildCenterAgentMemberResearchPath as b, uploadSpaceFile as bn, profileErrorResponseSchema as br, buildRoutinePausePath as bt, buildAgentProfileCreationApprovalPreferencePath as c, openCodePermissionConfigSchema as ci, listSpaceFiles as cn, getOrganizationSkillResponseSchema as cr, buildOrganizationSkillGitHubPreviewPath as ct, buildAgentProfileCreationRequestDecisionPath as d, START_ISO_DATE_TIME_SCHEMA as di, resolveAccountSpaceIndexGatewayHost as dn, organizationSkillReleaseSummarySchema as dr, buildOrganizationSkillsPath as dt, localAgentSessionProviderSchema as ei, createRoutinesApi as en, computerFileAccessDaemonFrameSchema as er, buildLocalProjectControlPath as et, buildAgentProfileCreationRequestRetryPath as f, START_TRIMMED_NON_EMPTY_STRING_SCHEMA as fi, resolveProfileSpaceHistoryGatewayHost as fn, organizationSkillSummarySchema as fr, buildOrganizationUsageOverviewPath as ft, buildCenterAgentDesignationPath as g, agentControllerCollaborationModeSchema as gi, updateSpaceFileContent as gn, ADDITIONAL_HUMAN_PROFILE_CREATION_DISABLED_MESSAGE as gr, buildProfileSpaceHistoryUpsertPath as gt, buildCenterAgentAuditJournalPath as h, agentControllerPermissionModeSchema as hi, trashSpaceFileEntry as hn, ADDITIONAL_HUMAN_PROFILE_CREATION_DISABLED_CODE as hr, buildProfileSpaceHistoryStatusPath as ht, buildAccountSpaceIndexPath as i, listProjectsResponseSchema as ii, downloadSpaceFileContent as in, organizationSpaceDirectoryWithMemberCountsResponseSchema as ir, buildOrganizationDocumentPath as it, buildCurrentOrganizationFeedbackReportingPolicyPath as j, OPENMELD_HEADER_SPACE_ADDRESSING_VERSION as jn, AGENT_ACTIVITY_EVENT_MAX_BYTES as jr, createAgentActivityApi as jt, buildCurrentOrganizationComputersPath as k, OPENMELD_HEADER_REQUESTED_ORGANIZATION_ID as kn, resumeCenterAgentRoutineResponseSchema as kr, buildSpaceInboxUnreadTargetsPath as kt, buildAgentProfileCreationDefaultsPath as l, START_BOUNDED_ID_SCHEMA as li, normalizeApiBaseUrl as ln, listOrganizationSkillsResponseSchema as lr, buildOrganizationSkillMaintainersPath as lt, buildAgentProfileWorkRecoveryRoute as m, localAgentCatalogSchema as mi, toStructuredApiClientFailure as mn, organizationDirectoryResponseSchema as mr, buildProfileSpaceHistoryListPath as mt, OpenMeldApiClientInvalidResponseError as n, archiveProjectResponseSchema as ni, createSpaceApi as nn, computerFileAccessPolicySchema as nr, buildOrganizationDocumentApproveDraftPath as nt, buildAgentActivitySnapshotPath as o, updateProjectResponseSchema as oi, getSpaceFile as on, spaceCreatorSchema as or, buildOrganizationSkillEnabledPath as ot, buildAgentProfileCreationRequestsPath as p, startReplyReadinessSummarySchema as pi, setSpaceAccessMode as pn, stringifyOrganizationSkillBundleCanonicalJson as pr, buildProfileRoute as pt, buildInboxItemPath as q, projectOwnerComputerLocalRuntimes as qn, spaceMemberDirectoryEntrySchema as qr, createOrganizationDocumentsApi as qt, buildAccountSpaceActiveWakeSummaryPath as r, createProjectResponseSchema as ri, createSpaceFolder as rn, modelCatalogSchema as rr, buildOrganizationDocumentDiscardDraftPath as rt, buildAgentActivityStatsPath as s, centerAgentToolSpeakerSchema as si, listSpaceFileRevisions as sn, spaceMetaSchema as sr, buildOrganizationSkillGitHubImportPath as st, OpenMeldApiClientHttpError as t, observedLocalAgentSessionSchema as ti, createRuntimeReportingApi as tn, computerFileAccessPolicyInputSchema as tr, buildModelCatalogPath as tt, buildAgentProfileCreationRequestCancelPath as u, START_BOUNDED_VERSION_SCHEMA as ui, publicSpaceUrls as un, organizationSkillBundleSchema as ur, buildOrganizationSkillPath as ut, buildCenterAgentInboxReadThroughPath as v, updateSpaceMeta as vn, authProfileManagedRoleSchema as vr, buildProjectsPath as vt, buildCenterAgentSessionsPath as w, parseEnvelope as wn, createCenterAgentRoutineResponseSchema as wr, buildRoutinesPath as wt, buildCenterAgentOperatingStatePath as x, DAEMON_STREAM_KEEPALIVE_PING as xn, organizationComputersResponseSchema as xr, buildRoutineResumePath as xt, buildCenterAgentInboxSummaryPath as y, uploadSpaceAttachment as yn, profileCapabilitiesResponseSchema as yr, buildRoutinePath as yt, buildCurrentOrganizationMessageChannelSetupRequestsPath as z, resolveSpaceDispatchTraceRootCause as zn, localProjectControlDaemonFrameSchema as zr, createFeedbackApi as zt };
18658
18167
 
18659
- //# sourceMappingURL=dist-HMJJDAo6.js.map
18168
+ //# sourceMappingURL=dist-D_08t8sR.js.map