openmeld 0.3.100 → 0.3.102

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.
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  import { _n as __exportAll, cn as agentControllerRefSchema, gn as resolveBuiltinAgentControllerConversationCapability, hn as agentControllerConversationCapabilitySchema, pn as normalizeKnownBuiltinAgentControllerId, tn as runtimeTransportModeSchema } from "./base-url-Cv9x5Es9.js";
4
- import { $ as agentTaskTerminalOutcomeSchema, $n as SPACE_PASSWORD_RATE_LIMITED_ERROR_CODE, At as centerAgentInteractionSourceSchema, Bn as localComponentUpdateProjectionSchema, Bt as restoreSpaceFileRevisionResponseSchema, Cn as spaceAgentStreamDeltaFrameSchema, Cr as finiteIntegerNumber, Ct as spaceAttachmentFileNameSchema, Dn as spaceAgentStreamTerminalFrameSchema, Dr as MAX_TEXT_LENGTH$1, Dt as spaceMessageAttachmentsSchema, En as spaceAgentStreamSnapshotSchema, Er as trimmedStringFromUnknown, Et as spaceMessageAttachmentSchema, F as openMeldDaemonProviderAccessEvidenceProviderSchema, Fr as openMeldWebUrlSchema, Gn as clientMessageIdSchema$1, Gt as updateSpaceFileEntryResponseSchema, It as listSpaceFileRevisionsResponseSchema, J as localFolderPathSchema, Jn as runtimeCoordinatorExecutionEventSchema, K as localFolderPickerRequestSchema, Kt as uploadSpaceFileResponseSchema, Lt as listSpaceFilesResponseSchema, Mn as agentInteractionResponseSchema, Mt as SPACE_FILE_MAX_SIZE_BYTES, N as runtimeTransportRuntimeCoordinatorRespondInteractionResponseSchema, Nr as computerSetupModeSchema, Nt as createSpaceFolderResponseSchema, Ot as conversationCompactionMarkerSchema, Pr as openMeldNavigationTargetSchema, Pt as getSpaceFileResponseSchema, Q as agentTaskHandleSchema, Qn as spaceTraceExecutionIdentityProjectionSchema, Sn as agentStreamToolPartSchema, Sr as uuidProfileIdSchema, St as spaceAttachmentDimensionSchema, Tn as spaceAgentStreamPresenceSchema, Tr as optionalBooleanQuerySchema, Tt as spaceAttachmentSizeBytesSchema, Un as postSpaceWakeStopBodySchema, Ut as spaceMessageFileReferencesSchema, Vn as localComponentUpdateStatusSchema, Vt as spaceFileMimeTypeSchema, Wn as postSpaceWakeStopResponseSchema, Wt as trashSpaceFileEntryResponseSchema, X as agentTaskCompletionConditionSchema, Xt as openMeldDaemonSyncRouteCatalogPayloadSchema, Y as agentDelegationSnapshotSchema, Yn as runtimeCoordinatorExecutionRecordSchema, Z as agentTaskCompletionObservationSchema, _r as openMeldRuntimeProfileIdSchema, _t as signalStatusDataSchema, ar as spaceMentionLabelSourceSchema, br as profileWorkingDirectorySchema, bt as signalTextSchema, cn as spaceAllowedActionsSchema, cr as updateOrganizationInformationProtectionPolicyBodySchema, dn as workingLanguageGuidanceSchema, dr as inspectExecutionRecoveryResponseSchema, en as dispatchExecutionSchema, er as normalizeSpacePasswordText, et as areAgentTaskTerminalOutcomesEqual, fn as workingLanguageTagSchema, hr as agentProfileIdSchema, ht as centerAgentTaskReferenceSchema, in as spaceThreadSignalPlacementSchema, ir as spaceMentionLabelSchema, jt as SPACE_FILE_ERROR_CODES, kn as agentInteractionPendingSummarySchema, ln as spacePublicationModeSchema, lr as executeExecutionRecoveryBodySchema, n as daemonExecutionCompatibilitySchema, nn as spaceThreadEventSchema, nt as controllerAgentTaskHandleSchema, or as organizationInformationProtectionPolicyResponseSchema, pn as targetWakeLifecycleIdentitySchema, pr as openMeldRequestContextSchema, q as localFolderPickerResultSchema, qn as runtimeCoordinatorExecutionCreationDiagnosticSchema, qt as localAgentInstallationOptionSchema, rn as spaceThreadSchema, rt as spaceWakeAgentTaskHandleSchema, sn as resultArchivePolicySchema, sr as organizationProtectedInformationSchema, t as CURRENT_DAEMON_EXECUTION_CONTRACT_EPOCH, tn as spaceThreadContextSchema, tr as spacePasswordSchema, tt as buildAgentTaskKey, un as spaceDispatchPolicySchema, ur as executeExecutionRecoveryResponseSchema, vn as messageEnvelopeSchema, vr as profileKindSchema, vt as signalSystemNoticeDataSchema, wn as spaceAgentStreamPartFrameSchema, wr as nonEmptyTrimmedStringFromUnknown, wt as spaceAttachmentMimeTypeSchema, xn as AGENT_STREAM_SNAPSHOT_MAX_CHARS, xr as profileWorkspaceModeSchema, xt as spaceAttachmentDescriptorSchema, yr as profileSchema, yt as signalTextDataSchema, z as openMeldDaemonTaskResultProjectFailureContextSchema, zn as localComponentUpdatePolicySchema, zt as restoreSpaceFileEntryResponseSchema } from "./runtime-transport-DTqyhBcv.js";
4
+ import { $ as agentTaskTerminalOutcomeSchema, $n as SPACE_PASSWORD_RATE_LIMITED_ERROR_CODE, At as centerAgentInteractionSourceSchema, Bn as localComponentUpdateProjectionSchema, Bt as restoreSpaceFileRevisionResponseSchema, Cn as spaceAgentStreamDeltaFrameSchema, Cr as finiteIntegerNumber, Ct as spaceAttachmentFileNameSchema, Dn as spaceAgentStreamTerminalFrameSchema, Dr as MAX_TEXT_LENGTH$1, Dt as spaceMessageAttachmentsSchema, En as spaceAgentStreamSnapshotSchema, Er as trimmedStringFromUnknown, Et as spaceMessageAttachmentSchema, F as openMeldDaemonProviderAccessEvidenceProviderSchema, Fr as openMeldWebUrlSchema, Gn as clientMessageIdSchema$1, Gt as updateSpaceFileEntryResponseSchema, It as listSpaceFileRevisionsResponseSchema, J as localFolderPathSchema, Jn as runtimeCoordinatorExecutionEventSchema, K as localFolderPickerRequestSchema, Kt as uploadSpaceFileResponseSchema, Lt as listSpaceFilesResponseSchema, Mn as agentInteractionResponseSchema, Mt as SPACE_FILE_MAX_SIZE_BYTES, N as runtimeTransportRuntimeCoordinatorRespondInteractionResponseSchema, Nr as computerSetupModeSchema, Nt as createSpaceFolderResponseSchema, Ot as conversationCompactionMarkerSchema, Pr as openMeldNavigationTargetSchema, Pt as getSpaceFileResponseSchema, Q as agentTaskHandleSchema, Qn as spaceTraceExecutionIdentityProjectionSchema, Sn as agentStreamToolPartSchema, Sr as uuidProfileIdSchema, St as spaceAttachmentDimensionSchema, Tn as spaceAgentStreamPresenceSchema, Tr as optionalBooleanQuerySchema, Tt as spaceAttachmentSizeBytesSchema, Un as postSpaceWakeStopBodySchema, Ut as spaceMessageFileReferencesSchema, Vn as localComponentUpdateStatusSchema, Vt as spaceFileMimeTypeSchema, Wn as postSpaceWakeStopResponseSchema, Wt as trashSpaceFileEntryResponseSchema, X as agentTaskCompletionConditionSchema, Xt as openMeldDaemonSyncRouteCatalogPayloadSchema, Y as agentDelegationSnapshotSchema, Yn as runtimeCoordinatorExecutionRecordSchema, Z as agentTaskCompletionObservationSchema, _r as openMeldRuntimeProfileIdSchema, _t as signalStatusDataSchema, ar as spaceMentionLabelSourceSchema, br as profileWorkingDirectorySchema, bt as signalTextSchema, cn as spaceAllowedActionsSchema, cr as updateOrganizationInformationProtectionPolicyBodySchema, dn as workingLanguageGuidanceSchema, dr as inspectExecutionRecoveryResponseSchema, en as dispatchExecutionSchema, er as normalizeSpacePasswordText, et as areAgentTaskTerminalOutcomesEqual, fn as workingLanguageTagSchema, hr as agentProfileIdSchema, ht as centerAgentTaskReferenceSchema, in as spaceThreadSignalPlacementSchema, ir as spaceMentionLabelSchema, jt as SPACE_FILE_ERROR_CODES, kn as agentInteractionPendingSummarySchema, ln as spacePublicationModeSchema, lr as executeExecutionRecoveryBodySchema, n as daemonExecutionCompatibilitySchema, nn as spaceThreadEventSchema, nt as controllerAgentTaskHandleSchema, or as organizationInformationProtectionPolicyResponseSchema, pn as targetWakeLifecycleIdentitySchema, pr as openMeldRequestContextSchema, q as localFolderPickerResultSchema, qn as runtimeCoordinatorExecutionCreationDiagnosticSchema, qt as localAgentInstallationOptionSchema, rn as spaceThreadSchema, rt as spaceWakeAgentTaskHandleSchema, sn as resultArchivePolicySchema, sr as organizationProtectedInformationSchema, t as CURRENT_DAEMON_EXECUTION_CONTRACT_EPOCH, tn as spaceThreadContextSchema, tr as spacePasswordSchema, tt as buildAgentTaskKey, un as spaceDispatchPolicySchema, ur as executeExecutionRecoveryResponseSchema, vn as messageEnvelopeSchema, vr as profileKindSchema, vt as signalSystemNoticeDataSchema, wn as spaceAgentStreamPartFrameSchema, wr as nonEmptyTrimmedStringFromUnknown, wt as spaceAttachmentMimeTypeSchema, xn as AGENT_STREAM_SNAPSHOT_MAX_CHARS, xr as profileWorkspaceModeSchema, xt as spaceAttachmentDescriptorSchema, yr as profileSchema, yt as signalTextDataSchema, z as openMeldDaemonTaskResultProjectFailureContextSchema, zn as localComponentUpdatePolicySchema, zt as restoreSpaceFileEntryResponseSchema } from "./runtime-transport-BNCM_pH9.js";
5
5
  import { r as daemonServiceLaneSchema } from "./service-contract-DZWQdPz5.js";
6
6
  import { z } from "zod/v4";
7
7
  //#region ../../packages/schemas/dist/agent-execution-readiness-impact-taxonomy.js
@@ -1563,10 +1563,10 @@ const getPrepareReadinessResponseSchema = z.strictObject({
1563
1563
  });
1564
1564
  //#endregion
1565
1565
  //#region ../../packages/schemas/dist/schemas/http/agent-execution-readiness.js
1566
- const ISO_DATE_TIME_SCHEMA$14 = z.iso.datetime({ offset: true });
1567
- const trimmedNonEmptyStringSchema$14 = z.string().trim().min(1);
1568
- const nullableTrimmedStringSchema$7 = z.union([trimmedNonEmptyStringSchema$14, z.null()]);
1569
- const nullableIsoDateTimeSchema$7 = z.union([ISO_DATE_TIME_SCHEMA$14, z.null()]);
1566
+ const ISO_DATE_TIME_SCHEMA$16 = z.iso.datetime({ offset: true });
1567
+ const trimmedNonEmptyStringSchema$16 = z.string().trim().min(1);
1568
+ const nullableTrimmedStringSchema$9 = z.union([trimmedNonEmptyStringSchema$16, z.null()]);
1569
+ const nullableIsoDateTimeSchema$7 = z.union([ISO_DATE_TIME_SCHEMA$16, z.null()]);
1570
1570
  const agentExecutionReadinessRouteParamsSchema = z.strictObject({ agentProfileId: agentProfileIdSchema });
1571
1571
  const agentExecutionReadinessTargetRuntimeSchema = z.discriminatedUnion("kind", [z.strictObject({ kind: z.literal("current_local_runtime") }), z.strictObject({
1572
1572
  kind: z.literal("openmeld_service_runtime_id"),
@@ -1597,7 +1597,7 @@ const agentExecutionReadinessPrimaryActionPlanSchema = z.discriminatedUnion("act
1597
1597
  z.strictObject({
1598
1598
  action: z.literal("reconnect_binding"),
1599
1599
  target: z.union([z.strictObject({ kind: z.literal("choose_local_agent") }), z.strictObject({
1600
- agentControllerRef: trimmedNonEmptyStringSchema$14,
1600
+ agentControllerRef: trimmedNonEmptyStringSchema$16,
1601
1601
  kind: z.literal("local_agent_connection")
1602
1602
  })])
1603
1603
  }),
@@ -1624,8 +1624,8 @@ const agentExecutionReadinessPrimaryActionPlanSchema = z.discriminatedUnion("act
1624
1624
  const wakeRouteEvidenceSchema = daemonRouteObservationSummarySchema;
1625
1625
  const wakeRouteStatusSchema = z.discriminatedUnion("status", [z.strictObject({
1626
1626
  connectionGeneration: z.int().positive(),
1627
- daemonSessionId: trimmedNonEmptyStringSchema$14,
1628
- deviceId: trimmedNonEmptyStringSchema$14,
1627
+ daemonSessionId: trimmedNonEmptyStringSchema$16,
1628
+ deviceId: trimmedNonEmptyStringSchema$16,
1629
1629
  lane: daemonServiceLaneSchema,
1630
1630
  lastHeartbeatMs: z.int().nonnegative(),
1631
1631
  leaseEpoch: z.int().positive(),
@@ -1645,12 +1645,12 @@ const agentWakeRouteRegistrationStatusSchema = z.enum([
1645
1645
  ]);
1646
1646
  const agentWakeRouteRegistrationSchema = z.strictObject({
1647
1647
  status: agentWakeRouteRegistrationStatusSchema,
1648
- reasonCode: nullableTrimmedStringSchema$7,
1648
+ reasonCode: nullableTrimmedStringSchema$9,
1649
1649
  reportedAtMs: z.number().int().nonnegative().nullable(),
1650
- daemonSessionId: nullableTrimmedStringSchema$7,
1651
- deviceId: nullableTrimmedStringSchema$7,
1650
+ daemonSessionId: nullableTrimmedStringSchema$9,
1651
+ deviceId: nullableTrimmedStringSchema$9,
1652
1652
  lane: z.union([daemonServiceLaneSchema, z.null()]),
1653
- serviceVersion: nullableTrimmedStringSchema$7
1653
+ serviceVersion: nullableTrimmedStringSchema$9
1654
1654
  });
1655
1655
  const agentWakeAvailabilityStatusSchema = z.enum([
1656
1656
  "available_for_wake",
@@ -1680,15 +1680,15 @@ const agentWakeAvailabilityPhaseSchema = z.enum([
1680
1680
  ]);
1681
1681
  const agentWakeAvailabilitySchema = z.strictObject({
1682
1682
  action: agentExecutionReadinessPrimaryActionSchema,
1683
- badgeLabel: trimmedNonEmptyStringSchema$14,
1683
+ badgeLabel: trimmedNonEmptyStringSchema$16,
1684
1684
  category: agentWakeAvailabilityCategorySchema,
1685
1685
  isRefreshing: z.boolean(),
1686
- label: trimmedNonEmptyStringSchema$14,
1686
+ label: trimmedNonEmptyStringSchema$16,
1687
1687
  phase: agentWakeAvailabilityPhaseSchema,
1688
- reasonCode: nullableTrimmedStringSchema$7,
1688
+ reasonCode: nullableTrimmedStringSchema$9,
1689
1689
  status: agentWakeAvailabilityStatusSchema,
1690
- summary: trimmedNonEmptyStringSchema$14,
1691
- tooltip: trimmedNonEmptyStringSchema$14
1690
+ summary: trimmedNonEmptyStringSchema$16,
1691
+ tooltip: trimmedNonEmptyStringSchema$16
1692
1692
  });
1693
1693
  const agentExecutionReadinessSchema = z.strictObject({
1694
1694
  agentProfileId: agentProfileIdSchema,
@@ -1701,7 +1701,7 @@ const agentExecutionReadinessSchema = z.strictObject({
1701
1701
  facts: z.strictObject({
1702
1702
  profile: z.strictObject({
1703
1703
  active: z.boolean(),
1704
- reasonCodes: z.array(trimmedNonEmptyStringSchema$14),
1704
+ reasonCodes: z.array(trimmedNonEmptyStringSchema$16),
1705
1705
  source: z.enum([
1706
1706
  "not_checked",
1707
1707
  "profile_identity",
@@ -1709,7 +1709,7 @@ const agentExecutionReadinessSchema = z.strictObject({
1709
1709
  ])
1710
1710
  }),
1711
1711
  binding: z.strictObject({
1712
- reasonCodes: z.array(trimmedNonEmptyStringSchema$14),
1712
+ reasonCodes: z.array(trimmedNonEmptyStringSchema$16),
1713
1713
  routable: z.boolean(),
1714
1714
  source: z.enum([
1715
1715
  "binding_truth",
@@ -1722,7 +1722,7 @@ const agentExecutionReadinessSchema = z.strictObject({
1722
1722
  claim: z.strictObject({
1723
1723
  executionBlocked: z.boolean(),
1724
1724
  grantsClaimSuccess: z.literal(false),
1725
- reasonCodes: z.array(trimmedNonEmptyStringSchema$14),
1725
+ reasonCodes: z.array(trimmedNonEmptyStringSchema$16),
1726
1726
  source: z.enum(["claim_diagnostics", "not_checked"])
1727
1727
  }),
1728
1728
  providerAccount: z.strictObject({
@@ -1730,20 +1730,20 @@ const agentExecutionReadinessSchema = z.strictObject({
1730
1730
  expiresAtMs: z.number().int().nonnegative().nullable(),
1731
1731
  observedAtMs: z.number().int().nonnegative().nullable(),
1732
1732
  provider: z.union([openMeldDaemonProviderAccessEvidenceProviderSchema, z.null()]),
1733
- reasonCodes: z.array(trimmedNonEmptyStringSchema$14),
1733
+ reasonCodes: z.array(trimmedNonEmptyStringSchema$16),
1734
1734
  source: z.enum(["not_checked", "wake_failure"])
1735
1735
  }),
1736
1736
  providerConversation: z.strictObject({
1737
- agentControllerConversationId: nullableTrimmedStringSchema$7,
1738
- errorCode: nullableTrimmedStringSchema$7,
1739
- errorMessage: nullableTrimmedStringSchema$7,
1740
- errorType: nullableTrimmedStringSchema$7,
1737
+ agentControllerConversationId: nullableTrimmedStringSchema$9,
1738
+ errorCode: nullableTrimmedStringSchema$9,
1739
+ errorMessage: nullableTrimmedStringSchema$9,
1740
+ errorType: nullableTrimmedStringSchema$9,
1741
1741
  expiresAtMs: z.number().int().nonnegative().nullable(),
1742
1742
  method: z.union([z.literal("codex_app_server_thread_resume"), z.null()]),
1743
1743
  observedAtMs: z.number().int().nonnegative().nullable(),
1744
1744
  provider: z.union([z.literal("codex"), z.null()]),
1745
1745
  ready: z.boolean(),
1746
- reasonCodes: z.array(trimmedNonEmptyStringSchema$14),
1746
+ reasonCodes: z.array(trimmedNonEmptyStringSchema$16),
1747
1747
  required: z.boolean(),
1748
1748
  source: z.enum([
1749
1749
  "not_required",
@@ -1763,13 +1763,13 @@ const agentExecutionReadinessSchema = z.strictObject({
1763
1763
  expiresAtMs: z.number().int().nonnegative().nullable(),
1764
1764
  impactKind: z.union([agentExecutionReadinessImpactKindSchema, z.null()]),
1765
1765
  observedAtMs: z.number().int().nonnegative().nullable(),
1766
- reasonCodes: z.array(trimmedNonEmptyStringSchema$14),
1766
+ reasonCodes: z.array(trimmedNonEmptyStringSchema$16),
1767
1767
  source: z.union([z.literal("not_checked"), agentExecutionReadinessImpactSourceSchema])
1768
1768
  }),
1769
1769
  localService: z.strictObject({
1770
1770
  reachable: z.boolean(),
1771
1771
  refreshable: z.boolean(),
1772
- reasonCodes: z.array(trimmedNonEmptyStringSchema$14),
1772
+ reasonCodes: z.array(trimmedNonEmptyStringSchema$16),
1773
1773
  source: z.enum([
1774
1774
  "runtime_transport",
1775
1775
  "not_checked",
@@ -1779,8 +1779,8 @@ const agentExecutionReadinessSchema = z.strictObject({
1779
1779
  service: z.strictObject({
1780
1780
  executionCompatible: z.boolean(),
1781
1781
  expectedEpoch: z.literal(CURRENT_DAEMON_EXECUTION_CONTRACT_EPOCH),
1782
- observedEpoch: z.union([trimmedNonEmptyStringSchema$14, z.null()]),
1783
- reasonCodes: z.array(trimmedNonEmptyStringSchema$14),
1782
+ observedEpoch: z.union([trimmedNonEmptyStringSchema$16, z.null()]),
1783
+ reasonCodes: z.array(trimmedNonEmptyStringSchema$16),
1784
1784
  source: z.enum([
1785
1785
  "runtime_transport",
1786
1786
  "not_checked",
@@ -1788,49 +1788,49 @@ const agentExecutionReadinessSchema = z.strictObject({
1788
1788
  ])
1789
1789
  }),
1790
1790
  route: z.strictObject({
1791
- deviceId: nullableTrimmedStringSchema$7,
1791
+ deviceId: nullableTrimmedStringSchema$9,
1792
1792
  lane: z.union([daemonServiceLaneSchema, z.null()]),
1793
1793
  observedAt: nullableIsoDateTimeSchema$7,
1794
1794
  online: z.boolean(),
1795
- reasonCodes: z.array(trimmedNonEmptyStringSchema$14),
1795
+ reasonCodes: z.array(trimmedNonEmptyStringSchema$16),
1796
1796
  source: z.enum(["daemon_route", "missing"])
1797
1797
  }),
1798
1798
  runtime: z.strictObject({
1799
1799
  ready: z.boolean(),
1800
- reasonCodes: z.array(trimmedNonEmptyStringSchema$14),
1800
+ reasonCodes: z.array(trimmedNonEmptyStringSchema$16),
1801
1801
  source: z.enum(["missing", "prepare_readiness"])
1802
1802
  })
1803
1803
  }),
1804
1804
  primaryAction: agentExecutionReadinessPrimaryActionSchema,
1805
- reasonCodes: z.array(trimmedNonEmptyStringSchema$14)
1805
+ reasonCodes: z.array(trimmedNonEmptyStringSchema$16)
1806
1806
  });
1807
1807
  const getAgentExecutionReadinessResponseSchema = z.strictObject({
1808
1808
  agentExecutionReadiness: agentExecutionReadinessSchema,
1809
1809
  agentWakeAvailability: agentWakeAvailabilitySchema,
1810
1810
  agentWakeRouteRegistration: agentWakeRouteRegistrationSchema,
1811
1811
  agentProfileId: agentProfileIdSchema,
1812
- agentControllerRef: nullableTrimmedStringSchema$7,
1813
- generatedAt: ISO_DATE_TIME_SCHEMA$14,
1814
- ownerUserId: nullableTrimmedStringSchema$7,
1812
+ agentControllerRef: nullableTrimmedStringSchema$9,
1813
+ generatedAt: ISO_DATE_TIME_SCHEMA$16,
1814
+ ownerUserId: nullableTrimmedStringSchema$9,
1815
1815
  primaryBinding: agentProfileBindingProjectionSchema.nullable().optional(),
1816
1816
  primaryActionPlan: agentExecutionReadinessPrimaryActionPlanSchema,
1817
- profileName: nullableTrimmedStringSchema$7,
1818
- routeDeviceId: nullableTrimmedStringSchema$7,
1817
+ profileName: nullableTrimmedStringSchema$9,
1818
+ routeDeviceId: nullableTrimmedStringSchema$9,
1819
1819
  routeLane: z.union([daemonServiceLaneSchema, z.null()]),
1820
- runtimeDeviceDisplayName: nullableTrimmedStringSchema$7,
1820
+ runtimeDeviceDisplayName: nullableTrimmedStringSchema$9,
1821
1821
  wakeRouteEvidence: wakeRouteEvidenceSchema,
1822
1822
  wakeRouteStatus: wakeRouteStatusSchema
1823
1823
  });
1824
1824
  const getAgentExecutionReadinessBatchResponseSchema = z.strictObject({ items: z.array(getAgentExecutionReadinessResponseSchema) });
1825
1825
  //#endregion
1826
1826
  //#region ../../packages/schemas/dist/schemas/http/space-members.js
1827
- const ISO_DATE_TIME_SCHEMA$13 = z.iso.datetime({ offset: true });
1827
+ const ISO_DATE_TIME_SCHEMA$15 = z.iso.datetime({ offset: true });
1828
1828
  const MAX_SPACE_MEMBERS_BATCH_SIZE = 100;
1829
- const trimmedNonEmptyStringSchema$13 = z.string().trim().min(1);
1829
+ const trimmedNonEmptyStringSchema$15 = z.string().trim().min(1);
1830
1830
  const profileIdSchema = openMeldRuntimeProfileIdSchema;
1831
- const nullableTrimmedStringSchema$6 = z.union([trimmedNonEmptyStringSchema$13, z.null()]);
1831
+ const nullableTrimmedStringSchema$8 = z.union([trimmedNonEmptyStringSchema$15, z.null()]);
1832
1832
  const nullableRuntimeProfileIdSchema = z.union([profileIdSchema, z.null()]);
1833
- const nullableIsoDateTimeSchema$6 = z.union([ISO_DATE_TIME_SCHEMA$13, z.null()]);
1833
+ const nullableIsoDateTimeSchema$6 = z.union([ISO_DATE_TIME_SCHEMA$15, z.null()]);
1834
1834
  const retiredAgentSnapshotKeys = /* @__PURE__ */ new Set([
1835
1835
  "agentExecutionReadiness",
1836
1836
  "daemonRouteObservation",
@@ -1883,33 +1883,33 @@ const spaceMemberAgentOwnerWakeDiagnosticsSchema = z.object({
1883
1883
  });
1884
1884
  const baseSpaceMemberSnapshotSchema = z.object({
1885
1885
  profileId: profileIdSchema,
1886
- profileName: trimmedNonEmptyStringSchema$13,
1886
+ profileName: trimmedNonEmptyStringSchema$15,
1887
1887
  profileKind: spaceMemberKindSchema,
1888
1888
  status: spaceMemberStatusSchema,
1889
1889
  memberSource: spaceMemberSourceSchema,
1890
- memberSourceLabel: trimmedNonEmptyStringSchema$13,
1891
- addedAt: ISO_DATE_TIME_SCHEMA$13,
1890
+ memberSourceLabel: trimmedNonEmptyStringSchema$15,
1891
+ addedAt: ISO_DATE_TIME_SCHEMA$15,
1892
1892
  removedAt: nullableIsoDateTimeSchema$6,
1893
- createdAt: ISO_DATE_TIME_SCHEMA$13,
1894
- updatedAt: ISO_DATE_TIME_SCHEMA$13,
1893
+ createdAt: ISO_DATE_TIME_SCHEMA$15,
1894
+ updatedAt: ISO_DATE_TIME_SCHEMA$15,
1895
1895
  addedByProfileId: nullableRuntimeProfileIdSchema,
1896
- addedByOwnerUserId: nullableTrimmedStringSchema$6,
1897
- addedByDisplayName: nullableTrimmedStringSchema$6,
1896
+ addedByOwnerUserId: nullableTrimmedStringSchema$8,
1897
+ addedByDisplayName: nullableTrimmedStringSchema$8,
1898
1898
  removedByProfileId: nullableRuntimeProfileIdSchema,
1899
- removedByOwnerUserId: nullableTrimmedStringSchema$6,
1900
- removalReason: nullableTrimmedStringSchema$6,
1899
+ removedByOwnerUserId: nullableTrimmedStringSchema$8,
1900
+ removalReason: nullableTrimmedStringSchema$8,
1901
1901
  firstEnteredAt: nullableIsoDateTimeSchema$6,
1902
1902
  lastEnteredAt: nullableIsoDateTimeSchema$6,
1903
1903
  lastSeenAt: nullableIsoDateTimeSchema$6,
1904
- lastSeenLabel: nullableTrimmedStringSchema$6,
1904
+ lastSeenLabel: nullableTrimmedStringSchema$8,
1905
1905
  liveNow: z.boolean(),
1906
- avatarUrl: nullableTrimmedStringSchema$6.optional()
1906
+ avatarUrl: nullableTrimmedStringSchema$8.optional()
1907
1907
  });
1908
1908
  const spaceMemberHumanSnapshotSchema = baseSpaceMemberSnapshotSchema.extend({
1909
1909
  profileKind: z.literal("human"),
1910
- mentionAlias: nullableTrimmedStringSchema$6,
1911
- ownerUserId: nullableTrimmedStringSchema$6,
1912
- ownerName: nullableTrimmedStringSchema$6
1910
+ mentionAlias: nullableTrimmedStringSchema$8,
1911
+ ownerUserId: nullableTrimmedStringSchema$8,
1912
+ ownerName: nullableTrimmedStringSchema$8
1913
1913
  }).superRefine((value, ctx) => {
1914
1914
  validateRuntimeProfileIdForMemberKind({
1915
1915
  profileId: value.profileId,
@@ -1920,13 +1920,13 @@ const spaceMemberHumanSnapshotSchema = baseSpaceMemberSnapshotSchema.extend({
1920
1920
  });
1921
1921
  const spaceMemberAgentSnapshotSchema = rejectRetiredAgentSnapshotKeysSchema.pipe(baseSpaceMemberSnapshotSchema.extend({
1922
1922
  profileKind: z.literal("agent"),
1923
- mentionAlias: nullableTrimmedStringSchema$6,
1924
- ownerUserId: nullableTrimmedStringSchema$6,
1925
- ownerName: nullableTrimmedStringSchema$6,
1926
- agentControllerRef: nullableTrimmedStringSchema$6,
1923
+ mentionAlias: nullableTrimmedStringSchema$8,
1924
+ ownerUserId: nullableTrimmedStringSchema$8,
1925
+ ownerName: nullableTrimmedStringSchema$8,
1926
+ agentControllerRef: nullableTrimmedStringSchema$8,
1927
1927
  agentControllerPermissionMode: agentControllerPermissionModeSchema.optional(),
1928
- runtimeDeviceDisplayName: nullableTrimmedStringSchema$6.optional(),
1929
- agentControllerConversationId: nullableTrimmedStringSchema$6,
1928
+ runtimeDeviceDisplayName: nullableTrimmedStringSchema$8.optional(),
1929
+ agentControllerConversationId: nullableTrimmedStringSchema$8,
1930
1930
  modelSelection: agentProfileBindingModelSelectionSchema.optional(),
1931
1931
  workingDirectory: profileWorkingDirectorySchema.nullable().optional(),
1932
1932
  agentWakeAvailability: spaceMemberAgentWakeAvailabilitySchema.optional(),
@@ -1950,8 +1950,8 @@ const spaceMembersSummarySchema = z.object({
1950
1950
  unavailableAgentCount: z.number().int().min(0).optional()
1951
1951
  });
1952
1952
  const spaceMembersSnapshotSchema = z.object({
1953
- spaceId: trimmedNonEmptyStringSchema$13,
1954
- generatedAt: ISO_DATE_TIME_SCHEMA$13,
1953
+ spaceId: trimmedNonEmptyStringSchema$15,
1954
+ generatedAt: ISO_DATE_TIME_SCHEMA$15,
1955
1955
  summary: spaceMembersSummarySchema,
1956
1956
  humans: z.array(spaceMemberHumanSnapshotSchema),
1957
1957
  agents: z.array(spaceMemberAgentSnapshotSchema)
@@ -2022,22 +2022,22 @@ const spaceMembersSnapshotSchema = z.object({
2022
2022
  const spaceViewerMembershipProfileSchema = z.strictObject({
2023
2023
  profileId: profileIdSchema,
2024
2024
  profileKind: spaceMemberKindSchema,
2025
- profileName: trimmedNonEmptyStringSchema$13,
2025
+ profileName: trimmedNonEmptyStringSchema$15,
2026
2026
  lastEnteredAt: nullableIsoDateTimeSchema$6
2027
2027
  });
2028
2028
  const spaceViewerMembershipResponseSchema = z.strictObject({
2029
- spaceId: trimmedNonEmptyStringSchema$13,
2029
+ spaceId: trimmedNonEmptyStringSchema$15,
2030
2030
  activeMemberProfiles: z.array(spaceViewerMembershipProfileSchema),
2031
2031
  preferredOpenProfileId: nullableRuntimeProfileIdSchema
2032
2032
  });
2033
2033
  const spaceIdentityDirectoryEntrySchema = z.strictObject({
2034
2034
  profileId: profileIdSchema,
2035
- profileName: trimmedNonEmptyStringSchema$13,
2035
+ profileName: trimmedNonEmptyStringSchema$15,
2036
2036
  profileKind: spaceMemberKindSchema,
2037
- mentionAlias: nullableTrimmedStringSchema$6,
2038
- ownerUserId: nullableTrimmedStringSchema$6,
2039
- ownerName: nullableTrimmedStringSchema$6,
2040
- agentControllerRef: nullableTrimmedStringSchema$6
2037
+ mentionAlias: nullableTrimmedStringSchema$8,
2038
+ ownerUserId: nullableTrimmedStringSchema$8,
2039
+ ownerName: nullableTrimmedStringSchema$8,
2040
+ agentControllerRef: nullableTrimmedStringSchema$8
2041
2041
  }).superRefine((value, ctx) => {
2042
2042
  validateRuntimeProfileIdForMemberKind({
2043
2043
  profileId: value.profileId,
@@ -2047,8 +2047,8 @@ const spaceIdentityDirectoryEntrySchema = z.strictObject({
2047
2047
  });
2048
2048
  });
2049
2049
  const spaceIdentityDirectorySchema = z.strictObject({
2050
- spaceId: trimmedNonEmptyStringSchema$13,
2051
- generatedAt: ISO_DATE_TIME_SCHEMA$13,
2050
+ spaceId: trimmedNonEmptyStringSchema$15,
2051
+ generatedAt: ISO_DATE_TIME_SCHEMA$15,
2052
2052
  entries: z.array(spaceIdentityDirectoryEntrySchema)
2053
2053
  });
2054
2054
  const currentSpaceMemberDirectoryAllowedRelationsSchema = z.strictObject({
@@ -2063,23 +2063,23 @@ const spaceMemberDirectoryAllowedRelationsSchema = z.preprocess((value) => {
2063
2063
  return currentRelations;
2064
2064
  }, currentSpaceMemberDirectoryAllowedRelationsSchema);
2065
2065
  const spaceMemberDirectoryCardSchema = z.strictObject({
2066
- role: nullableTrimmedStringSchema$6,
2067
- roleDescription: nullableTrimmedStringSchema$6
2066
+ role: nullableTrimmedStringSchema$8,
2067
+ roleDescription: nullableTrimmedStringSchema$8
2068
2068
  });
2069
2069
  const spaceMemberDirectoryEntrySchema = z.strictObject({
2070
2070
  profileId: profileIdSchema,
2071
2071
  profileKind: spaceMemberKindSchema,
2072
- displayName: trimmedNonEmptyStringSchema$13,
2072
+ displayName: trimmedNonEmptyStringSchema$15,
2073
2073
  primaryMentionLabel: spaceMentionLabelSchema,
2074
2074
  mentionLabels: z.array(spaceMentionLabelSchema).min(1),
2075
- mentionAlias: nullableTrimmedStringSchema$6,
2075
+ mentionAlias: nullableTrimmedStringSchema$8,
2076
2076
  labelSource: spaceMentionLabelSourceSchema,
2077
- lookupTokens: z.array(trimmedNonEmptyStringSchema$13).min(1),
2078
- preferredLookupToken: trimmedNonEmptyStringSchema$13,
2079
- profileIdShort: trimmedNonEmptyStringSchema$13,
2077
+ lookupTokens: z.array(trimmedNonEmptyStringSchema$15).min(1),
2078
+ preferredLookupToken: trimmedNonEmptyStringSchema$15,
2079
+ profileIdShort: trimmedNonEmptyStringSchema$15,
2080
2080
  allowedRelations: spaceMemberDirectoryAllowedRelationsSchema,
2081
- ownerUserId: nullableTrimmedStringSchema$6,
2082
- ownerName: nullableTrimmedStringSchema$6,
2081
+ ownerUserId: nullableTrimmedStringSchema$8,
2082
+ ownerName: nullableTrimmedStringSchema$8,
2083
2083
  agentCard: z.union([spaceMemberDirectoryCardSchema, z.null()]),
2084
2084
  spaceRole: z.union([spaceMemberDirectoryCardSchema, z.null()])
2085
2085
  }).superRefine((value, ctx) => {
@@ -2101,8 +2101,8 @@ const spaceMemberDirectoryEntrySchema = z.strictObject({
2101
2101
  });
2102
2102
  });
2103
2103
  const spaceMemberDirectorySchema = z.strictObject({
2104
- spaceId: trimmedNonEmptyStringSchema$13,
2105
- generatedAt: ISO_DATE_TIME_SCHEMA$13,
2104
+ spaceId: trimmedNonEmptyStringSchema$15,
2105
+ generatedAt: ISO_DATE_TIME_SCHEMA$15,
2106
2106
  members: z.array(spaceMemberDirectoryEntrySchema)
2107
2107
  });
2108
2108
  const postSpaceMembersBodySchema = z.strictObject({ memberProfileIds: z.array(profileIdSchema).min(1).max(MAX_SPACE_MEMBERS_BATCH_SIZE) });
@@ -2125,11 +2125,11 @@ const addOrganizationDirectoryProfilesToSpaceBodySchema = z.strictObject({
2125
2125
  const removeSpaceMembersBodySchema = z.strictObject({ memberProfileIds: z.array(profileIdSchema).min(1).max(MAX_SPACE_MEMBERS_BATCH_SIZE) });
2126
2126
  const resolvedSpaceMemberProfileSchema = z.strictObject({
2127
2127
  profileId: profileIdSchema,
2128
- profileName: trimmedNonEmptyStringSchema$13,
2128
+ profileName: trimmedNonEmptyStringSchema$15,
2129
2129
  profileKind: spaceMemberKindSchema,
2130
- ownerUserId: nullableTrimmedStringSchema$6,
2131
- ownerName: nullableTrimmedStringSchema$6,
2132
- agentControllerRef: nullableTrimmedStringSchema$6
2130
+ ownerUserId: nullableTrimmedStringSchema$8,
2131
+ ownerName: nullableTrimmedStringSchema$8,
2132
+ agentControllerRef: nullableTrimmedStringSchema$8
2133
2133
  }).superRefine((value, ctx) => {
2134
2134
  validateRuntimeProfileIdForMemberKind({
2135
2135
  profileId: value.profileId,
@@ -3580,7 +3580,7 @@ const agentControllerInterfaceSnapshotSchema = z.strictObject({
3580
3580
  });
3581
3581
  //#endregion
3582
3582
  //#region ../../packages/schemas/dist/schemas/http/local-runtimes.js
3583
- const ISO_DATE_TIME_SCHEMA$12 = z.iso.datetime({ offset: true });
3583
+ const ISO_DATE_TIME_SCHEMA$14 = z.iso.datetime({ offset: true });
3584
3584
  const reasonCodeSchema$3 = z.string().trim().min(1).max(256);
3585
3585
  const localRuntimeDisplayNameSourceSchema = z.enum([
3586
3586
  "user",
@@ -3788,7 +3788,7 @@ const localRuntimeReplyReadinessNextActionSchema = z.enum([
3788
3788
  ]);
3789
3789
  const currentLocalRuntimeReplyReadinessResponseSchema = z.strictObject({
3790
3790
  canReplyFromThisComputer: z.boolean(),
3791
- generatedAt: ISO_DATE_TIME_SCHEMA$12,
3791
+ generatedAt: ISO_DATE_TIME_SCHEMA$14,
3792
3792
  message: z.string().trim().min(1).max(500),
3793
3793
  nextAction: localRuntimeReplyReadinessNextActionSchema,
3794
3794
  primaryBlocker: localRuntimeReplyReadinessPrimaryBlockerSchema,
@@ -3820,7 +3820,7 @@ const currentLocalRuntimeReplyReadinessResponseSchema = z.strictObject({
3820
3820
  //#endregion
3821
3821
  //#region ../../packages/schemas/dist/schemas/http/organization-member-openmeld-service-status.js
3822
3822
  const BOUNDED_ID_SCHEMA$1 = z.string().trim().min(1).max(256);
3823
- const ISO_DATE_TIME_SCHEMA$11 = z.iso.datetime({ offset: true });
3823
+ const ISO_DATE_TIME_SCHEMA$13 = z.iso.datetime({ offset: true });
3824
3824
  const organizationMemberOpenMeldServiceStateSchema = z.enum([
3825
3825
  "connected",
3826
3826
  "needs_attention",
@@ -3833,19 +3833,19 @@ const organizationMemberOpenMeldServiceStatusSchema = z.strictObject({
3833
3833
  });
3834
3834
  z.strictObject({ memberUserId: BOUNDED_ID_SCHEMA$1 });
3835
3835
  z.strictObject({
3836
- generatedAt: ISO_DATE_TIME_SCHEMA$11,
3836
+ generatedAt: ISO_DATE_TIME_SCHEMA$13,
3837
3837
  member: organizationMemberOpenMeldServiceStatusSchema,
3838
3838
  organizationId: BOUNDED_ID_SCHEMA$1
3839
3839
  });
3840
3840
  const organizationMemberOpenMeldServiceStatusesResponseSchema = z.strictObject({
3841
- generatedAt: ISO_DATE_TIME_SCHEMA$11,
3841
+ generatedAt: ISO_DATE_TIME_SCHEMA$13,
3842
3842
  members: z.array(organizationMemberOpenMeldServiceStatusSchema),
3843
3843
  organizationId: BOUNDED_ID_SCHEMA$1
3844
3844
  });
3845
3845
  //#endregion
3846
3846
  //#region ../../packages/schemas/dist/schemas/http/organization-computers.js
3847
3847
  const BOUNDED_ID_SCHEMA = z.string().trim().min(1).max(256);
3848
- const ISO_DATE_TIME_SCHEMA$10 = z.iso.datetime({ offset: true });
3848
+ const ISO_DATE_TIME_SCHEMA$12 = z.iso.datetime({ offset: true });
3849
3849
  const REASON_CODES_SCHEMA = z.array(BOUNDED_ID_SCHEMA).max(64);
3850
3850
  const organizationComputerOpenMeldToolsSchema = z.strictObject({
3851
3851
  cli: z.strictObject({
@@ -3876,7 +3876,7 @@ const organizationComputerOpenMeldToolsSchema = z.strictObject({
3876
3876
  const organizationComputerLocalAgentDetailsSchema = z.strictObject({
3877
3877
  capabilities: agentControllerInterfaceCapabilitiesSchema,
3878
3878
  check: agentControllerInterfaceCheckSnapshotSchema.optional(),
3879
- checkedAt: ISO_DATE_TIME_SCHEMA$10,
3879
+ checkedAt: ISO_DATE_TIME_SCHEMA$12,
3880
3880
  conversationCapabilities: agentControllerConversationCapabilitySchema.optional(),
3881
3881
  launch: z.strictObject({
3882
3882
  installChoiceCount: z.number().int().nonnegative(),
@@ -3888,7 +3888,7 @@ const organizationComputerLocalAgentDetailsSchema = z.strictObject({
3888
3888
  usageLimits: agentControllerUsageLimitsSchema.optional(),
3889
3889
  version: BOUNDED_ID_SCHEMA.nullable(),
3890
3890
  versionAdvisory: z.strictObject({
3891
- checkedAt: ISO_DATE_TIME_SCHEMA$10.nullable(),
3891
+ checkedAt: ISO_DATE_TIME_SCHEMA$12.nullable(),
3892
3892
  currentVersion: BOUNDED_ID_SCHEMA.nullable(),
3893
3893
  latestVersion: BOUNDED_ID_SCHEMA.nullable(),
3894
3894
  status: agentControllerInterfaceVersionAdvisoryStatusSchema
@@ -3944,12 +3944,12 @@ const organizationComputerSchema = z.strictObject({
3944
3944
  });
3945
3945
  const organizationComputersResponseSchema = z.strictObject({
3946
3946
  computers: z.array(organizationComputerSchema),
3947
- generatedAt: ISO_DATE_TIME_SCHEMA$10,
3947
+ generatedAt: ISO_DATE_TIME_SCHEMA$12,
3948
3948
  organizationId: BOUNDED_ID_SCHEMA
3949
3949
  });
3950
3950
  //#endregion
3951
3951
  //#region ../../packages/schemas/dist/schemas/http/profiles.js
3952
- const ISO_DATE_TIME_SCHEMA$9 = z.iso.datetime({ offset: true });
3952
+ const ISO_DATE_TIME_SCHEMA$11 = z.iso.datetime({ offset: true });
3953
3953
  const ADDITIONAL_HUMAN_PROFILE_CREATION_DISABLED_CODE = "profile.additional_human_profile_creation_disabled";
3954
3954
  const ADDITIONAL_HUMAN_PROFILE_CREATION_DISABLED_MESSAGE = "Creating additional Human Profiles is currently unavailable. Use your default Human Profile, or create an Agent Profile.";
3955
3955
  const profileErrorStatusSchema = z.union([
@@ -3988,9 +3988,9 @@ const authProfileViewSchema = z.strictObject({
3988
3988
  createdByUserId: z.string().min(1).nullable(),
3989
3989
  creationActorProfileId: z.string().min(1).nullable().optional(),
3990
3990
  creatorProfileId: z.string().min(1).nullable(),
3991
- lastUsedAt: ISO_DATE_TIME_SCHEMA$9.nullable(),
3992
- createdAt: ISO_DATE_TIME_SCHEMA$9,
3993
- updatedAt: ISO_DATE_TIME_SCHEMA$9
3991
+ lastUsedAt: ISO_DATE_TIME_SCHEMA$11.nullable(),
3992
+ createdAt: ISO_DATE_TIME_SCHEMA$11,
3993
+ updatedAt: ISO_DATE_TIME_SCHEMA$11
3994
3994
  }).superRefine((profile, context) => {
3995
3995
  if (profile.defaultProjectId === void 0 || profile.profileKind === "agent" && profile.managedRole === null) return;
3996
3996
  context.addIssue({
@@ -4057,56 +4057,56 @@ z.strictObject({
4057
4057
  });
4058
4058
  //#endregion
4059
4059
  //#region ../../packages/schemas/dist/schemas/http/organization-directory.js
4060
- const ISO_DATE_TIME_SCHEMA$8 = z.iso.datetime({ offset: true });
4061
- const trimmedNonEmptyStringSchema$12 = z.string().trim().min(1);
4062
- const nullableTrimmedStringSchema$5 = z.union([trimmedNonEmptyStringSchema$12, z.null()]);
4060
+ const ISO_DATE_TIME_SCHEMA$10 = z.iso.datetime({ offset: true });
4061
+ const trimmedNonEmptyStringSchema$14 = z.string().trim().min(1);
4062
+ const nullableTrimmedStringSchema$7 = z.union([trimmedNonEmptyStringSchema$14, z.null()]);
4063
4063
  const organizationDirectoryHumanProfileSchema = z.strictObject({
4064
- lastUsedAt: z.union([ISO_DATE_TIME_SCHEMA$8, z.null()]).optional(),
4064
+ lastUsedAt: z.union([ISO_DATE_TIME_SCHEMA$10, z.null()]).optional(),
4065
4065
  profileId: uuidProfileIdSchema,
4066
- profileName: trimmedNonEmptyStringSchema$12,
4067
- profileHandle: trimmedNonEmptyStringSchema$12,
4066
+ profileName: trimmedNonEmptyStringSchema$14,
4067
+ profileHandle: trimmedNonEmptyStringSchema$14,
4068
4068
  status: z.enum(["active", "disabled"])
4069
4069
  });
4070
4070
  const organizationDirectoryMemberSchema = z.strictObject({
4071
- lastActiveAt: z.union([ISO_DATE_TIME_SCHEMA$8, z.null()]).optional(),
4072
- memberId: trimmedNonEmptyStringSchema$12,
4073
- organizationId: trimmedNonEmptyStringSchema$12,
4074
- userId: trimmedNonEmptyStringSchema$12,
4075
- role: trimmedNonEmptyStringSchema$12,
4076
- joinedAt: ISO_DATE_TIME_SCHEMA$8,
4071
+ lastActiveAt: z.union([ISO_DATE_TIME_SCHEMA$10, z.null()]).optional(),
4072
+ memberId: trimmedNonEmptyStringSchema$14,
4073
+ organizationId: trimmedNonEmptyStringSchema$14,
4074
+ userId: trimmedNonEmptyStringSchema$14,
4075
+ role: trimmedNonEmptyStringSchema$14,
4076
+ joinedAt: ISO_DATE_TIME_SCHEMA$10,
4077
4077
  user: z.strictObject({
4078
- id: trimmedNonEmptyStringSchema$12,
4079
- name: trimmedNonEmptyStringSchema$12,
4080
- email: trimmedNonEmptyStringSchema$12,
4081
- image: nullableTrimmedStringSchema$5
4078
+ id: trimmedNonEmptyStringSchema$14,
4079
+ name: trimmedNonEmptyStringSchema$14,
4080
+ email: trimmedNonEmptyStringSchema$14,
4081
+ image: nullableTrimmedStringSchema$7
4082
4082
  }),
4083
4083
  humanProfile: organizationDirectoryHumanProfileSchema.nullable()
4084
4084
  });
4085
4085
  const organizationDirectoryAgentProfileSchema = z.strictObject({
4086
- organizationId: trimmedNonEmptyStringSchema$12,
4086
+ organizationId: trimmedNonEmptyStringSchema$14,
4087
4087
  profileId: agentProfileIdSchema,
4088
- profileName: trimmedNonEmptyStringSchema$12,
4089
- profileHandle: trimmedNonEmptyStringSchema$12,
4088
+ profileName: trimmedNonEmptyStringSchema$14,
4089
+ profileHandle: trimmedNonEmptyStringSchema$14,
4090
4090
  profileKind: z.literal("agent"),
4091
4091
  isDefault: z.literal(false),
4092
4092
  status: z.enum(["active", "disabled"]),
4093
- ownerUserId: trimmedNonEmptyStringSchema$12,
4094
- ownerName: trimmedNonEmptyStringSchema$12.optional(),
4095
- avatarUrl: trimmedNonEmptyStringSchema$12.optional(),
4096
- source: trimmedNonEmptyStringSchema$12,
4093
+ ownerUserId: trimmedNonEmptyStringSchema$14,
4094
+ ownerName: trimmedNonEmptyStringSchema$14.optional(),
4095
+ avatarUrl: trimmedNonEmptyStringSchema$14.optional(),
4096
+ source: trimmedNonEmptyStringSchema$14,
4097
4097
  managedRole: z.union([authProfileManagedRoleSchema, z.null()]),
4098
- createdByUserId: nullableTrimmedStringSchema$5,
4099
- creatorProfileId: nullableTrimmedStringSchema$5,
4100
- lastUsedAt: z.union([ISO_DATE_TIME_SCHEMA$8, z.null()]),
4101
- createdAt: ISO_DATE_TIME_SCHEMA$8,
4102
- updatedAt: ISO_DATE_TIME_SCHEMA$8
4098
+ createdByUserId: nullableTrimmedStringSchema$7,
4099
+ creatorProfileId: nullableTrimmedStringSchema$7,
4100
+ lastUsedAt: z.union([ISO_DATE_TIME_SCHEMA$10, z.null()]),
4101
+ createdAt: ISO_DATE_TIME_SCHEMA$10,
4102
+ updatedAt: ISO_DATE_TIME_SCHEMA$10
4103
4103
  }).extend({
4104
4104
  isCenterAgent: z.boolean().optional(),
4105
4105
  readiness: getAgentExecutionReadinessResponseSchema
4106
4106
  });
4107
4107
  const organizationDirectoryResponseSchema = z.strictObject({
4108
- organizationId: trimmedNonEmptyStringSchema$12,
4109
- generatedAt: ISO_DATE_TIME_SCHEMA$8,
4108
+ organizationId: trimmedNonEmptyStringSchema$14,
4109
+ generatedAt: ISO_DATE_TIME_SCHEMA$10,
4110
4110
  members: z.array(organizationDirectoryMemberSchema),
4111
4111
  agentProfiles: z.array(organizationDirectoryAgentProfileSchema)
4112
4112
  });
@@ -4505,17 +4505,17 @@ const spaceAccessModeStateSchema = z.strictObject({
4505
4505
  });
4506
4506
  //#endregion
4507
4507
  //#region ../../packages/schemas/dist/schemas/http/space-meta.js
4508
- const trimmedNonEmptyStringSchema$11 = z.string().trim().min(1);
4508
+ const trimmedNonEmptyStringSchema$13 = z.string().trim().min(1);
4509
4509
  const isoDateTimeSchema$7 = z.iso.datetime({ offset: true });
4510
4510
  const MAX_SPACE_GUIDE_LENGTH = 4e3;
4511
4511
  const spaceOrganizationVisibilitySchema = z.enum(["public", "private"]);
4512
4512
  const spaceCreatorSchema = z.strictObject({
4513
4513
  profileId: openMeldRuntimeProfileIdSchema,
4514
- profileName: trimmedNonEmptyStringSchema$11.optional(),
4514
+ profileName: trimmedNonEmptyStringSchema$13.optional(),
4515
4515
  kind: profileKindSchema.optional(),
4516
- profile: trimmedNonEmptyStringSchema$11.optional(),
4517
- ownerUserId: trimmedNonEmptyStringSchema$11.optional(),
4518
- ownerName: trimmedNonEmptyStringSchema$11.optional()
4516
+ profile: trimmedNonEmptyStringSchema$13.optional(),
4517
+ ownerUserId: trimmedNonEmptyStringSchema$13.optional(),
4518
+ ownerName: trimmedNonEmptyStringSchema$13.optional()
4519
4519
  }).superRefine((value, ctx) => {
4520
4520
  if (!value.kind) return;
4521
4521
  if ((value.kind === "agent" ? agentProfileIdSchema : uuidProfileIdSchema).safeParse(value.profileId).success) return;
@@ -4532,17 +4532,17 @@ const spaceStorageUsageSchema = z.strictObject({
4532
4532
  });
4533
4533
  const spaceDirectMessageMetaSchema = z.strictObject({
4534
4534
  convertedAt: isoDateTimeSchema$7.optional(),
4535
- pairKey: trimmedNonEmptyStringSchema$11
4535
+ pairKey: trimmedNonEmptyStringSchema$13
4536
4536
  });
4537
4537
  const spaceMetaSchema = z.strictObject({
4538
- spaceId: trimmedNonEmptyStringSchema$11,
4539
- organizationId: trimmedNonEmptyStringSchema$11,
4538
+ spaceId: trimmedNonEmptyStringSchema$13,
4539
+ organizationId: trimmedNonEmptyStringSchema$13,
4540
4540
  visibility: spaceOrganizationVisibilitySchema,
4541
- name: trimmedNonEmptyStringSchema$11.optional(),
4542
- purpose: trimmedNonEmptyStringSchema$11.optional(),
4541
+ name: trimmedNonEmptyStringSchema$13.optional(),
4542
+ purpose: trimmedNonEmptyStringSchema$13.optional(),
4543
4543
  directMessage: spaceDirectMessageMetaSchema.optional(),
4544
4544
  creator: spaceCreatorSchema.optional(),
4545
- guide: trimmedNonEmptyStringSchema$11.optional(),
4545
+ guide: trimmedNonEmptyStringSchema$13.optional(),
4546
4546
  accessMode: spaceAccessModeSchema.optional(),
4547
4547
  passwordProtected: z.boolean().optional(),
4548
4548
  createdAt: isoDateTimeSchema$7.optional(),
@@ -4567,29 +4567,29 @@ const patchSpaceMetaBodySchema = z.strictObject({
4567
4567
  }));
4568
4568
  //#endregion
4569
4569
  //#region ../../packages/schemas/dist/schemas/http/organization-space-directory.js
4570
- const ISO_DATE_TIME_SCHEMA$7 = z.iso.datetime({ offset: true });
4571
- const trimmedNonEmptyStringSchema$10 = z.string().trim().min(1);
4572
- const nullableIsoDateTimeSchema$5 = z.union([ISO_DATE_TIME_SCHEMA$7, z.null()]);
4570
+ const ISO_DATE_TIME_SCHEMA$9 = z.iso.datetime({ offset: true });
4571
+ const trimmedNonEmptyStringSchema$12 = z.string().trim().min(1);
4572
+ const nullableIsoDateTimeSchema$5 = z.union([ISO_DATE_TIME_SCHEMA$9, z.null()]);
4573
4573
  const organizationSpaceDirectoryItemSchema = z.strictObject({
4574
- spaceId: trimmedNonEmptyStringSchema$10,
4575
- name: trimmedNonEmptyStringSchema$10,
4576
- organizationId: trimmedNonEmptyStringSchema$10,
4574
+ spaceId: trimmedNonEmptyStringSchema$12,
4575
+ name: trimmedNonEmptyStringSchema$12,
4576
+ organizationId: trimmedNonEmptyStringSchema$12,
4577
4577
  visibility: spaceOrganizationVisibilitySchema,
4578
4578
  joined: z.boolean(),
4579
4579
  lastJoinedAt: nullableIsoDateTimeSchema$5,
4580
4580
  spaceCreatedAt: nullableIsoDateTimeSchema$5,
4581
4581
  spaceUpdatedAt: nullableIsoDateTimeSchema$5,
4582
- updatedAt: ISO_DATE_TIME_SCHEMA$7
4582
+ updatedAt: ISO_DATE_TIME_SCHEMA$9
4583
4583
  });
4584
4584
  const organizationSpaceDirectoryResponseSchema = z.strictObject({
4585
- organizationId: trimmedNonEmptyStringSchema$10,
4586
- generatedAt: ISO_DATE_TIME_SCHEMA$7,
4585
+ organizationId: trimmedNonEmptyStringSchema$12,
4586
+ generatedAt: ISO_DATE_TIME_SCHEMA$9,
4587
4587
  spaces: z.array(organizationSpaceDirectoryItemSchema)
4588
4588
  });
4589
4589
  const organizationSpaceDirectoryWithMemberCountsItemSchema = organizationSpaceDirectoryItemSchema.extend({ activeMemberCount: z.number().int().nonnegative().nullable() });
4590
4590
  const organizationSpaceDirectoryWithMemberCountsResponseSchema = z.strictObject({
4591
- organizationId: trimmedNonEmptyStringSchema$10,
4592
- generatedAt: ISO_DATE_TIME_SCHEMA$7,
4591
+ organizationId: trimmedNonEmptyStringSchema$12,
4592
+ generatedAt: ISO_DATE_TIME_SCHEMA$9,
4593
4593
  spaces: z.array(organizationSpaceDirectoryWithMemberCountsItemSchema)
4594
4594
  });
4595
4595
  //#endregion
@@ -4954,8 +4954,8 @@ const CENTER_AGENT_CONTEXT_ERROR_CODES = [
4954
4954
  "center_agent.context_load_selection_duplicate",
4955
4955
  "center_agent.context_load_selection_invalid"
4956
4956
  ];
4957
- const ISO_DATE_TIME_SCHEMA$6 = z.iso.datetime({ offset: true });
4958
- const trimmedNonEmptyStringSchema$9 = z.string().trim().min(1);
4957
+ const ISO_DATE_TIME_SCHEMA$8 = z.iso.datetime({ offset: true });
4958
+ const trimmedNonEmptyStringSchema$11 = z.string().trim().min(1);
4959
4959
  const contentHashSchema$1 = z.string().regex(/^sha256:[0-9a-f]{64}$/u);
4960
4960
  const centerAgentContextManifestIdSchema = z.string().regex(/^center_agent_context_manifest_[0-9a-f-]{36}$/u);
4961
4961
  const loadReceiptIdSchema = z.string().regex(/^center_agent_context_load_receipt_[0-9a-f-]{36}$/u);
@@ -4968,23 +4968,23 @@ const createCenterAgentContextManifestBodySchema = z.strictObject({
4968
4968
  view: centerAgentContextManifestViewSchema.default("messages")
4969
4969
  });
4970
4970
  const centerAgentContextManifestSourceRefSchema = z.strictObject({
4971
- id: trimmedNonEmptyStringSchema$9,
4971
+ id: trimmedNonEmptyStringSchema$11,
4972
4972
  type: z.literal("space_signal"),
4973
4973
  uri: z.string().regex(/^openmeld:\/\/spaces\/[^/]+\/signals\/[^/]+$/u),
4974
4974
  version: contentHashSchema$1
4975
4975
  });
4976
4976
  const centerAgentContextManifestEntrySchema = z.strictObject({
4977
4977
  author: z.strictObject({
4978
- profileId: trimmedNonEmptyStringSchema$9,
4978
+ profileId: trimmedNonEmptyStringSchema$11,
4979
4979
  profileKind: z.enum([
4980
4980
  "agent",
4981
4981
  "human",
4982
4982
  "system"
4983
4983
  ]),
4984
- profileName: trimmedNonEmptyStringSchema$9
4984
+ profileName: trimmedNonEmptyStringSchema$11
4985
4985
  }),
4986
4986
  carrier: z.strictObject({
4987
- client: trimmedNonEmptyStringSchema$9.max(80),
4987
+ client: trimmedNonEmptyStringSchema$11.max(80),
4988
4988
  kind: z.literal("local_agent")
4989
4989
  }).optional(),
4990
4990
  content: z.strictObject({
@@ -4994,13 +4994,13 @@ const centerAgentContextManifestEntrySchema = z.strictObject({
4994
4994
  type: z.literal("text")
4995
4995
  }),
4996
4996
  materializedContentHash: contentHashSchema$1,
4997
- occurredAt: ISO_DATE_TIME_SCHEMA$6,
4997
+ occurredAt: ISO_DATE_TIME_SCHEMA$8,
4998
4998
  redactions: z.array(z.enum([
4999
4999
  "attachments_not_in_messages_view",
5000
5000
  "local_session_locator_omitted",
5001
5001
  "message_content_budget"
5002
5002
  ])),
5003
- replyToSignalId: trimmedNonEmptyStringSchema$9.optional(),
5003
+ replyToSignalId: trimmedNonEmptyStringSchema$11.optional(),
5004
5004
  sourceRef: centerAgentContextManifestSourceRefSchema
5005
5005
  });
5006
5006
  z.strictObject({
@@ -5010,7 +5010,7 @@ z.strictObject({
5010
5010
  });
5011
5011
  const centerAgentContextLoadSelectedEntrySchema = z.strictObject({
5012
5012
  materializedContentHash: contentHashSchema$1,
5013
- sourceRefId: trimmedNonEmptyStringSchema$9
5013
+ sourceRefId: trimmedNonEmptyStringSchema$11
5014
5014
  });
5015
5015
  const centerAgentContextLoadSelectionSchema = z.discriminatedUnion("kind", [z.strictObject({ kind: z.literal("all_manifest_entries") }), z.strictObject({
5016
5016
  entries: z.array(centerAgentContextLoadSelectedEntrySchema).min(1).max(50),
@@ -5044,20 +5044,20 @@ const createCenterAgentContextManifestResponseSchema = z.strictObject({
5044
5044
  hasMore: z.boolean()
5045
5045
  }),
5046
5046
  entries: z.array(centerAgentContextManifestEntrySchema),
5047
- generatedAt: ISO_DATE_TIME_SCHEMA$6,
5047
+ generatedAt: ISO_DATE_TIME_SCHEMA$8,
5048
5048
  manifestId: centerAgentContextManifestIdSchema,
5049
5049
  provenance: z.strictObject({
5050
- auditEntryId: trimmedNonEmptyStringSchema$9,
5050
+ auditEntryId: trimmedNonEmptyStringSchema$11,
5051
5051
  contentProjection: z.literal("user_visible_space_signals")
5052
5052
  }),
5053
5053
  request: z.strictObject({ source: centerAgentInteractionSourceSchema }),
5054
5054
  schemaVersion: z.literal(CENTER_AGENT_CONTEXT_MANIFEST_VERSION),
5055
5055
  subject: z.strictObject({
5056
- centerAgentProfileId: trimmedNonEmptyStringSchema$9,
5057
- conversationId: trimmedNonEmptyStringSchema$9,
5056
+ centerAgentProfileId: trimmedNonEmptyStringSchema$11,
5057
+ conversationId: trimmedNonEmptyStringSchema$11,
5058
5058
  kind: z.literal("center_agent_conversation"),
5059
- memberProfileId: trimmedNonEmptyStringSchema$9,
5060
- organizationId: trimmedNonEmptyStringSchema$9
5059
+ memberProfileId: trimmedNonEmptyStringSchema$11,
5060
+ organizationId: trimmedNonEmptyStringSchema$11
5061
5061
  }),
5062
5062
  view: centerAgentContextManifestViewSchema
5063
5063
  });
@@ -5066,9 +5066,9 @@ const createCenterAgentContextLoadReceiptResponseSchema = z.strictObject({
5066
5066
  principal: z.literal("authenticated_member"),
5067
5067
  scope: z.literal("requester_private")
5068
5068
  }),
5069
- provenance: z.strictObject({ auditEntryId: trimmedNonEmptyStringSchema$9 }),
5069
+ provenance: z.strictObject({ auditEntryId: trimmedNonEmptyStringSchema$11 }),
5070
5070
  receipt: z.strictObject({
5071
- client: trimmedNonEmptyStringSchema$9.max(80),
5071
+ client: trimmedNonEmptyStringSchema$11.max(80),
5072
5072
  estimatedTokens: z.number().int().nonnegative(),
5073
5073
  id: loadReceiptIdSchema,
5074
5074
  includedMessages: z.number().int().min(1).max(50),
@@ -5076,7 +5076,7 @@ const createCenterAgentContextLoadReceiptResponseSchema = z.strictObject({
5076
5076
  selectedEntries: z.array(centerAgentContextLoadSelectedEntrySchema).min(1).max(50),
5077
5077
  status: z.literal("loaded")
5078
5078
  }),
5079
- recordedAt: ISO_DATE_TIME_SCHEMA$6,
5079
+ recordedAt: ISO_DATE_TIME_SCHEMA$8,
5080
5080
  schemaVersion: z.literal(CENTER_AGENT_CONTEXT_LOAD_RECEIPT_VERSION)
5081
5081
  });
5082
5082
  //#endregion
@@ -5308,7 +5308,7 @@ const messageChannelIdentityLinkConsumeResponseSchema = z.strictObject({
5308
5308
  });
5309
5309
  //#endregion
5310
5310
  //#region ../../packages/schemas/dist/schemas/http/center-agent-member-research.js
5311
- const trimmedNonEmptyStringSchema$8 = z.string().trim().min(1);
5311
+ const trimmedNonEmptyStringSchema$10 = z.string().trim().min(1);
5312
5312
  const isoDateTimeSchema$6 = z.iso.datetime({ offset: true });
5313
5313
  const memberResearchTextSchema = z.string().trim().min(1).max(1e3);
5314
5314
  const CENTER_AGENT_MEMBER_RESEARCH_COVERAGE_SOURCES = [
@@ -5335,8 +5335,8 @@ const centerAgentMemberResearchEvidenceSourceSchema = z.enum([
5335
5335
  const centerAgentMemberResearchEvidenceItemSchema = z.strictObject({
5336
5336
  date: z.iso.date(),
5337
5337
  source: centerAgentMemberResearchEvidenceSourceSchema,
5338
- sourceId: trimmedNonEmptyStringSchema$8.max(256),
5339
- sourceName: trimmedNonEmptyStringSchema$8.max(120).optional(),
5338
+ sourceId: trimmedNonEmptyStringSchema$10.max(256),
5339
+ sourceName: trimmedNonEmptyStringSchema$10.max(120).optional(),
5340
5340
  sourceUrl: z.url().max(2048).optional(),
5341
5341
  text: memberResearchTextSchema
5342
5342
  }).superRefine((item, context) => {
@@ -5375,7 +5375,7 @@ const centerAgentMemberResearchCoverageSchema = z.strictObject({
5375
5375
  evidence: memberResearchTextSchema.max(500),
5376
5376
  source: centerAgentMemberResearchCoverageSourceSchema,
5377
5377
  status: centerAgentMemberResearchCoverageStatusSchema,
5378
- timeRange: trimmedNonEmptyStringSchema$8.max(120)
5378
+ timeRange: trimmedNonEmptyStringSchema$10.max(120)
5379
5379
  });
5380
5380
  const centerAgentMemberResearchCoverageListSchema = z.array(centerAgentMemberResearchCoverageSchema).min(LEGACY_CENTER_AGENT_MEMBER_RESEARCH_COVERAGE_SOURCES.length).max(CENTER_AGENT_MEMBER_RESEARCH_COVERAGE_SOURCES.length).superRefine((coverage, context) => {
5381
5381
  const expectedSources = coverage.length === LEGACY_CENTER_AGENT_MEMBER_RESEARCH_COVERAGE_SOURCES.length ? LEGACY_CENTER_AGENT_MEMBER_RESEARCH_COVERAGE_SOURCES : CENTER_AGENT_MEMBER_RESEARCH_COVERAGE_SOURCES;
@@ -5424,12 +5424,12 @@ const centerAgentMemberResearchTaskStatusSchema = z.enum([
5424
5424
  "failed"
5425
5425
  ]);
5426
5426
  const centerAgentMemberResearchTaskSchema = z.strictObject({
5427
- id: trimmedNonEmptyStringSchema$8,
5428
- subjectUserId: trimmedNonEmptyStringSchema$8,
5429
- subjectDisplayName: trimmedNonEmptyStringSchema$8,
5427
+ id: trimmedNonEmptyStringSchema$10,
5428
+ subjectUserId: trimmedNonEmptyStringSchema$10,
5429
+ subjectDisplayName: trimmedNonEmptyStringSchema$10,
5430
5430
  position: z.number().int().positive(),
5431
5431
  status: centerAgentMemberResearchTaskStatusSchema,
5432
- failureCode: trimmedNonEmptyStringSchema$8.nullable(),
5432
+ failureCode: trimmedNonEmptyStringSchema$10.nullable(),
5433
5433
  startedAt: isoDateTimeSchema$6.nullable(),
5434
5434
  finishedAt: isoDateTimeSchema$6.nullable()
5435
5435
  }).superRefine((task, context) => {
@@ -5445,8 +5445,8 @@ const centerAgentMemberResearchTaskSchema = z.strictObject({
5445
5445
  });
5446
5446
  });
5447
5447
  const centerAgentMemberResearchBatchSchema = z.strictObject({
5448
- id: trimmedNonEmptyStringSchema$8,
5449
- organizationId: trimmedNonEmptyStringSchema$8,
5448
+ id: trimmedNonEmptyStringSchema$10,
5449
+ organizationId: trimmedNonEmptyStringSchema$10,
5450
5450
  scope: centerAgentMemberResearchScopeSchema,
5451
5451
  status: centerAgentMemberResearchBatchStatusSchema,
5452
5452
  totalCount: z.number().int().positive(),
@@ -5508,11 +5508,11 @@ const centerAgentMemberResearchBatchSchema = z.strictObject({
5508
5508
  });
5509
5509
  });
5510
5510
  const startCenterAgentMemberResearchBodySchema = z.discriminatedUnion("scope", [z.strictObject({
5511
- expectedOrganizationId: trimmedNonEmptyStringSchema$8,
5511
+ expectedOrganizationId: trimmedNonEmptyStringSchema$10,
5512
5512
  scope: z.literal("member"),
5513
- subjectUserId: trimmedNonEmptyStringSchema$8
5513
+ subjectUserId: trimmedNonEmptyStringSchema$10
5514
5514
  }), z.strictObject({
5515
- expectedOrganizationId: trimmedNonEmptyStringSchema$8,
5515
+ expectedOrganizationId: trimmedNonEmptyStringSchema$10,
5516
5516
  scope: z.literal("all")
5517
5517
  })]);
5518
5518
  const startCenterAgentMemberResearchResponseSchema = z.strictObject({ batch: centerAgentMemberResearchBatchSchema });
@@ -5522,7 +5522,7 @@ z.strictObject({
5522
5522
  speakerMember: centerAgentToolSpeakerSchema
5523
5523
  });
5524
5524
  const getCenterAgentMemberResearchStatusResponseSchema = z.strictObject({
5525
- organizationId: trimmedNonEmptyStringSchema$8,
5525
+ organizationId: trimmedNonEmptyStringSchema$10,
5526
5526
  latestBatch: centerAgentMemberResearchBatchSchema.nullable()
5527
5527
  });
5528
5528
  z.strictObject({ context: openMeldRequestContextSchema });
@@ -5930,7 +5930,7 @@ function validateCenterAgentDraftTarget(value, context) {
5930
5930
  }
5931
5931
  //#endregion
5932
5932
  //#region ../../packages/schemas/dist/schemas/http/gateway-error.js
5933
- const trimmedNonEmptyStringSchema$7 = z.string().trim().min(1);
5933
+ const trimmedNonEmptyStringSchema$9 = z.string().trim().min(1);
5934
5934
  const SPACE_ADDRESSING_TARGET_INVALID_ERROR_CODE = "space.addressing.target_invalid";
5935
5935
  const gatewayErrorCodeSchema = z.enum([
5936
5936
  "bad_request",
@@ -6050,8 +6050,8 @@ const gatewayErrorCodeSchema = z.enum([
6050
6050
  ]);
6051
6051
  const gatewayErrorSchema = commonErrorSchema.extend({
6052
6052
  code: gatewayErrorCodeSchema,
6053
- requestId: trimmedNonEmptyStringSchema$7,
6054
- upstreamCode: trimmedNonEmptyStringSchema$7.optional()
6053
+ requestId: trimmedNonEmptyStringSchema$9,
6054
+ upstreamCode: trimmedNonEmptyStringSchema$9.optional()
6055
6055
  });
6056
6056
  const gatewayErrorEnvelopeSchema = z.strictObject({
6057
6057
  ok: z.literal(false),
@@ -6067,15 +6067,15 @@ const identityImageMimeTypeSchema = z.enum([
6067
6067
  ]);
6068
6068
  //#endregion
6069
6069
  //#region ../../packages/schemas/dist/schemas/http/profile-space-history.js
6070
- const ISO_DATE_TIME_SCHEMA$5 = z.iso.datetime({ offset: true });
6070
+ const ISO_DATE_TIME_SCHEMA$7 = z.iso.datetime({ offset: true });
6071
6071
  const GATEWAY_HOST_MAX_LENGTH = 255;
6072
6072
  const PROFILE_SPACE_HISTORY_MAX_LIMIT = 500;
6073
6073
  const NON_NEGATIVE_INT_RE$2 = /^\d+$/;
6074
6074
  const GATEWAY_HOST_PATH_CHARS_RE = /[/?#]/;
6075
- const trimmedNonEmptyStringSchema$6 = z.string().trim().min(1);
6076
- const nullableTrimmedStringSchema$4 = z.union([trimmedNonEmptyStringSchema$6, z.null()]);
6075
+ const trimmedNonEmptyStringSchema$8 = z.string().trim().min(1);
6076
+ const nullableTrimmedStringSchema$6 = z.union([trimmedNonEmptyStringSchema$8, z.null()]);
6077
6077
  const nullableNonNegativeIntSchema$1 = z.union([z.number().int().min(0), z.null()]);
6078
- const nullableIsoDateTimeSchema$4 = z.union([ISO_DATE_TIME_SCHEMA$5, z.null()]);
6078
+ const nullableIsoDateTimeSchema$4 = z.union([ISO_DATE_TIME_SCHEMA$7, z.null()]);
6079
6079
  const profileSpaceHistoryGatewayHostSchema = z.string().transform((value, ctx) => {
6080
6080
  const normalized = value.trim().toLowerCase();
6081
6081
  if (normalized.length === 0) {
@@ -6144,20 +6144,20 @@ const profileSpaceHistoryStatusListSchema = z.union([profileSpaceHistoryStatusSc
6144
6144
  return Array.isArray(value) ? value : [value];
6145
6145
  });
6146
6146
  const profileSpaceHistoryRecordSchema = z.strictObject({
6147
- profileId: trimmedNonEmptyStringSchema$6,
6147
+ profileId: trimmedNonEmptyStringSchema$8,
6148
6148
  gatewayHost: profileSpaceHistoryGatewayHostSchema,
6149
- spaceId: trimmedNonEmptyStringSchema$6,
6150
- spaceName: nullableTrimmedStringSchema$4,
6151
- creatorProfileId: nullableTrimmedStringSchema$4,
6149
+ spaceId: trimmedNonEmptyStringSchema$8,
6150
+ spaceName: nullableTrimmedStringSchema$6,
6151
+ creatorProfileId: nullableTrimmedStringSchema$6,
6152
6152
  creatorKind: z.union([profileSpaceCreatorKindSchema, z.null()]),
6153
6153
  spaceCreatedAt: nullableIsoDateTimeSchema$4,
6154
6154
  spaceUpdatedAt: nullableIsoDateTimeSchema$4,
6155
- lastJoinedAt: ISO_DATE_TIME_SCHEMA$5,
6155
+ lastJoinedAt: ISO_DATE_TIME_SCHEMA$7,
6156
6156
  lastSeenTs: nullableNonNegativeIntSchema$1,
6157
6157
  pinnedAt: nullableIsoDateTimeSchema$4,
6158
6158
  status: profileSpaceHistoryStatusSchema,
6159
- createdAt: ISO_DATE_TIME_SCHEMA$5,
6160
- updatedAt: ISO_DATE_TIME_SCHEMA$5
6159
+ createdAt: ISO_DATE_TIME_SCHEMA$7,
6160
+ updatedAt: ISO_DATE_TIME_SCHEMA$7
6161
6161
  });
6162
6162
  z.strictObject({
6163
6163
  gatewayHost: profileSpaceHistoryGatewayHostSchema,
@@ -6177,12 +6177,12 @@ const profileSpaceHistorySpaceIndexOverlaySchema = z.strictObject({
6177
6177
  });
6178
6178
  z.strictObject({
6179
6179
  gatewayHost: profileSpaceHistoryGatewayHostSchema,
6180
- spaceName: nullableTrimmedStringSchema$4.optional(),
6181
- creatorProfileId: nullableTrimmedStringSchema$4.optional(),
6180
+ spaceName: nullableTrimmedStringSchema$6.optional(),
6181
+ creatorProfileId: nullableTrimmedStringSchema$6.optional(),
6182
6182
  creatorKind: z.union([profileSpaceCreatorKindSchema, z.null()]).optional(),
6183
6183
  spaceCreatedAt: nullableIsoDateTimeSchema$4.optional(),
6184
6184
  spaceUpdatedAt: nullableIsoDateTimeSchema$4.optional(),
6185
- lastJoinedAt: ISO_DATE_TIME_SCHEMA$5.optional(),
6185
+ lastJoinedAt: ISO_DATE_TIME_SCHEMA$7.optional(),
6186
6186
  lastSeenTs: nullableNonNegativeIntSchema$1.optional(),
6187
6187
  pinnedAt: nullableIsoDateTimeSchema$4.optional(),
6188
6188
  status: profileSpaceHistoryStatusSchema.optional()
@@ -6197,19 +6197,19 @@ z.strictObject({
6197
6197
  reason: z.string().trim().min(1).max(500).optional()
6198
6198
  });
6199
6199
  const patchProfileSpaceHistoryStatusResponseSchema = z.strictObject({
6200
- profileId: trimmedNonEmptyStringSchema$6,
6200
+ profileId: trimmedNonEmptyStringSchema$8,
6201
6201
  gatewayHost: profileSpaceHistoryGatewayHostSchema,
6202
- spaceId: trimmedNonEmptyStringSchema$6,
6202
+ spaceId: trimmedNonEmptyStringSchema$8,
6203
6203
  status: profileSpaceHistoryStatusSchema,
6204
- updatedAt: ISO_DATE_TIME_SCHEMA$5
6204
+ updatedAt: ISO_DATE_TIME_SCHEMA$7
6205
6205
  });
6206
6206
  //#endregion
6207
6207
  //#region ../../packages/schemas/dist/schemas/http/account-space-index.js
6208
- const ISO_DATE_TIME_SCHEMA$4 = z.iso.datetime({ offset: true });
6209
- const trimmedNonEmptyStringSchema$5 = z.string().trim().min(1);
6210
- const nullableTrimmedStringSchema$3 = z.union([trimmedNonEmptyStringSchema$5, z.null()]);
6208
+ const ISO_DATE_TIME_SCHEMA$6 = z.iso.datetime({ offset: true });
6209
+ const trimmedNonEmptyStringSchema$7 = z.string().trim().min(1);
6210
+ const nullableTrimmedStringSchema$5 = z.union([trimmedNonEmptyStringSchema$7, z.null()]);
6211
6211
  const nullableNonNegativeIntSchema = z.union([z.number().int().min(0), z.null()]);
6212
- const nullableIsoDateTimeSchema$3 = z.union([ISO_DATE_TIME_SCHEMA$4, z.null()]);
6212
+ const nullableIsoDateTimeSchema$3 = z.union([ISO_DATE_TIME_SCHEMA$6, z.null()]);
6213
6213
  const ACCOUNT_SPACE_INDEX_MAX_LIMIT = 500;
6214
6214
  const NON_NEGATIVE_INT_RE$1 = /^\d+$/;
6215
6215
  const accountSpaceIndexScopeSchema = z.enum(["account", "profile"]);
@@ -6234,46 +6234,46 @@ z.strictObject({
6234
6234
  includePurposes: accountSpaceIndexIncludePurposesSchema,
6235
6235
  limit: accountSpaceIndexLimitSchema,
6236
6236
  scope: accountSpaceIndexScopeSchema.default("account"),
6237
- selectedProfileId: trimmedNonEmptyStringSchema$5
6237
+ selectedProfileId: trimmedNonEmptyStringSchema$7
6238
6238
  });
6239
6239
  const accountSpaceIndexJoinedProfileSchema = z.strictObject({
6240
- lastJoinedAt: ISO_DATE_TIME_SCHEMA$4,
6240
+ lastJoinedAt: ISO_DATE_TIME_SCHEMA$6,
6241
6241
  pinnedAt: nullableIsoDateTimeSchema$3,
6242
- profileId: trimmedNonEmptyStringSchema$5,
6243
- profileName: trimmedNonEmptyStringSchema$5
6242
+ profileId: trimmedNonEmptyStringSchema$7,
6243
+ profileName: trimmedNonEmptyStringSchema$7
6244
6244
  });
6245
6245
  const accountSpaceIndexItemSchema = z.strictObject({
6246
6246
  creatorKind: z.union([profileSpaceCreatorKindSchema, z.null()]),
6247
- creatorOwnerUserId: nullableTrimmedStringSchema$3,
6248
- creatorProfileId: nullableTrimmedStringSchema$3,
6249
- creatorProfileName: nullableTrimmedStringSchema$3,
6247
+ creatorOwnerUserId: nullableTrimmedStringSchema$5,
6248
+ creatorProfileId: nullableTrimmedStringSchema$5,
6249
+ creatorProfileName: nullableTrimmedStringSchema$5,
6250
6250
  gatewayHost: profileSpaceHistoryGatewayHostSchema,
6251
6251
  joinedProfiles: z.array(accountSpaceIndexJoinedProfileSchema),
6252
- lastJoinedAt: ISO_DATE_TIME_SCHEMA$4,
6252
+ lastJoinedAt: ISO_DATE_TIME_SCHEMA$6,
6253
6253
  lastSeenTs: nullableNonNegativeIntSchema,
6254
- openProfileId: trimmedNonEmptyStringSchema$5,
6255
- openProfileName: trimmedNonEmptyStringSchema$5,
6256
- organizationId: trimmedNonEmptyStringSchema$5,
6254
+ openProfileId: trimmedNonEmptyStringSchema$7,
6255
+ openProfileName: trimmedNonEmptyStringSchema$7,
6256
+ organizationId: trimmedNonEmptyStringSchema$7,
6257
6257
  pinnedAt: nullableIsoDateTimeSchema$3,
6258
- pinnedProfileIds: z.array(trimmedNonEmptyStringSchema$5),
6258
+ pinnedProfileIds: z.array(trimmedNonEmptyStringSchema$7),
6259
6259
  spaceCreatedAt: nullableIsoDateTimeSchema$3,
6260
- spaceId: trimmedNonEmptyStringSchema$5,
6261
- spaceName: trimmedNonEmptyStringSchema$5,
6260
+ spaceId: trimmedNonEmptyStringSchema$7,
6261
+ spaceName: trimmedNonEmptyStringSchema$7,
6262
6262
  activeAgentCount: nullableNonNegativeIntSchema.optional(),
6263
6263
  activeHumanCount: nullableNonNegativeIntSchema.optional(),
6264
6264
  activeMemberCount: nullableNonNegativeIntSchema.optional(),
6265
6265
  directMessageConvertedAt: nullableIsoDateTimeSchema$3.optional(),
6266
- spacePurpose: nullableTrimmedStringSchema$3.optional(),
6266
+ spacePurpose: nullableTrimmedStringSchema$5.optional(),
6267
6267
  spaceUpdatedAt: nullableIsoDateTimeSchema$3,
6268
- status: trimmedNonEmptyStringSchema$5,
6269
- updatedAt: ISO_DATE_TIME_SCHEMA$4,
6268
+ status: trimmedNonEmptyStringSchema$7,
6269
+ updatedAt: ISO_DATE_TIME_SCHEMA$6,
6270
6270
  visibility: spaceOrganizationVisibilitySchema
6271
6271
  });
6272
6272
  const accountSpaceIndexDeletedItemSchema = z.strictObject({
6273
- deletedAt: ISO_DATE_TIME_SCHEMA$4,
6274
- deletedByProfileName: nullableTrimmedStringSchema$3,
6275
- spaceId: trimmedNonEmptyStringSchema$5,
6276
- spaceName: nullableTrimmedStringSchema$3
6273
+ deletedAt: ISO_DATE_TIME_SCHEMA$6,
6274
+ deletedByProfileName: nullableTrimmedStringSchema$5,
6275
+ spaceId: trimmedNonEmptyStringSchema$7,
6276
+ spaceName: nullableTrimmedStringSchema$5
6277
6277
  });
6278
6278
  const accountSpaceIndexResponseSchema = z.strictObject({
6279
6279
  pinnedItems: z.array(accountSpaceIndexItemSchema),
@@ -6934,7 +6934,7 @@ const CONNECTOR_APP_REQUEST_STATUSES = [
6934
6934
  "available",
6935
6935
  "declined"
6936
6936
  ];
6937
- const trimmedNonEmptyStringSchema$4 = z.string().trim().min(1);
6937
+ const trimmedNonEmptyStringSchema$6 = z.string().trim().min(1);
6938
6938
  const timestampMsSchema$1 = z.number().int().nonnegative();
6939
6939
  const connectorCredentialValueSchema = z.string().min(1).max(8192);
6940
6940
  const connectorAppRequestOptionalTextSchema = z.string().trim().min(1).max(2e3).nullable();
@@ -6953,30 +6953,30 @@ const connectorConnectionSchema = z.strictObject({
6953
6953
  connectionName: connectorConnectionNameSchema,
6954
6954
  createdAtMs: timestampMsSchema$1,
6955
6955
  disconnectedAtMs: timestampMsSchema$1.nullable(),
6956
- organizationId: trimmedNonEmptyStringSchema$4,
6957
- ownerDisplayName: trimmedNonEmptyStringSchema$4,
6956
+ organizationId: trimmedNonEmptyStringSchema$6,
6957
+ ownerDisplayName: trimmedNonEmptyStringSchema$6,
6958
6958
  scope: connectorConnectionScopeSchema.default("member"),
6959
6959
  service: connectorServiceSchema,
6960
6960
  status: connectorConnectionStatusSchema,
6961
6961
  updatedAtMs: timestampMsSchema$1,
6962
- userId: trimmedNonEmptyStringSchema$4
6962
+ userId: trimmedNonEmptyStringSchema$6
6963
6963
  });
6964
6964
  z.strictObject({
6965
6965
  connections: z.array(connectorConnectionSchema),
6966
- currentUserId: trimmedNonEmptyStringSchema$4,
6967
- organizationId: trimmedNonEmptyStringSchema$4
6966
+ currentUserId: trimmedNonEmptyStringSchema$6,
6967
+ organizationId: trimmedNonEmptyStringSchema$6
6968
6968
  });
6969
6969
  const connectorAppRequestSchema = z.strictObject({
6970
6970
  availableAtMs: timestampMsSchema$1.nullable(),
6971
6971
  createdAtMs: timestampMsSchema$1,
6972
6972
  id: z.string().trim().min(1).max(128),
6973
6973
  notifiedAtMs: timestampMsSchema$1.nullable(),
6974
- organizationId: trimmedNonEmptyStringSchema$4,
6974
+ organizationId: trimmedNonEmptyStringSchema$6,
6975
6975
  providerId: z.string().trim().min(1).max(160).nullable(),
6976
6976
  providerName: z.string().trim().min(1).max(120),
6977
6977
  requestedCapabilities: connectorAppRequestedCapabilitiesSchema,
6978
- requesterMemberId: trimmedNonEmptyStringSchema$4.nullable(),
6979
- requesterUserId: trimmedNonEmptyStringSchema$4.nullable(),
6978
+ requesterMemberId: trimmedNonEmptyStringSchema$6.nullable(),
6979
+ requesterUserId: trimmedNonEmptyStringSchema$6.nullable(),
6980
6980
  source: connectorAppRequestSourceSchema,
6981
6981
  status: connectorAppRequestStatusSchema,
6982
6982
  updatedAtMs: timestampMsSchema$1,
@@ -7002,8 +7002,8 @@ z.strictObject({
7002
7002
  });
7003
7003
  z.strictObject({ request: connectorAppRequestSchema });
7004
7004
  z.strictObject({
7005
- currentUserId: trimmedNonEmptyStringSchema$4,
7006
- organizationId: trimmedNonEmptyStringSchema$4,
7005
+ currentUserId: trimmedNonEmptyStringSchema$6,
7006
+ organizationId: trimmedNonEmptyStringSchema$6,
7007
7007
  requests: z.array(connectorAppRequestSchema).max(500)
7008
7008
  });
7009
7009
  const connectorAppCatalogProviderSchema = z.strictObject({
@@ -7018,7 +7018,7 @@ const connectorAppCatalogProviderSchema = z.strictObject({
7018
7018
  service: z.string().trim().min(1).max(160)
7019
7019
  });
7020
7020
  z.strictObject({
7021
- organizationId: trimmedNonEmptyStringSchema$4,
7021
+ organizationId: trimmedNonEmptyStringSchema$6,
7022
7022
  providers: z.array(connectorAppCatalogProviderSchema).max(5e3)
7023
7023
  });
7024
7024
  z.strictObject({
@@ -7038,12 +7038,12 @@ z.strictObject({
7038
7038
  });
7039
7039
  z.discriminatedUnion("status", [
7040
7040
  z.strictObject({
7041
- actorProfileId: trimmedNonEmptyStringSchema$4,
7041
+ actorProfileId: trimmedNonEmptyStringSchema$6,
7042
7042
  installationId: githubAppInstallationIdSchema,
7043
- organizationId: trimmedNonEmptyStringSchema$4,
7043
+ organizationId: trimmedNonEmptyStringSchema$6,
7044
7044
  status: z.literal("valid"),
7045
7045
  targetConnectionName: connectorConnectionNameSchema,
7046
- userId: trimmedNonEmptyStringSchema$4,
7046
+ userId: trimmedNonEmptyStringSchema$6,
7047
7047
  verificationConnectionName: connectorConnectionNameSchema
7048
7048
  }),
7049
7049
  z.strictObject({ status: z.literal("expired") }),
@@ -7051,10 +7051,10 @@ z.discriminatedUnion("status", [
7051
7051
  ]);
7052
7052
  z.strictObject({
7053
7053
  installationId: githubAppInstallationIdSchema,
7054
- organizationId: trimmedNonEmptyStringSchema$4,
7054
+ organizationId: trimmedNonEmptyStringSchema$6,
7055
7055
  status: z.literal("verifying"),
7056
7056
  targetConnectionName: connectorConnectionNameSchema,
7057
- userId: trimmedNonEmptyStringSchema$4,
7057
+ userId: trimmedNonEmptyStringSchema$6,
7058
7058
  verificationConnectionName: connectorConnectionNameSchema
7059
7059
  }).nullable();
7060
7060
  const connectorCredentialAuthTypeSchema = z.enum(["api_key", "custom_credential"]);
@@ -7064,10 +7064,10 @@ z.strictObject({
7064
7064
  });
7065
7065
  z.strictObject({ connection: connectorConnectionSchema });
7066
7066
  z.strictObject({
7067
- expectedOrganizationId: trimmedNonEmptyStringSchema$4,
7067
+ expectedOrganizationId: trimmedNonEmptyStringSchema$6,
7068
7068
  includeAuthorizationExpiry: z.literal("true").optional()
7069
7069
  });
7070
- z.strictObject({ userId: trimmedNonEmptyStringSchema$4 });
7070
+ z.strictObject({ userId: trimmedNonEmptyStringSchema$6 });
7071
7071
  z.strictObject({ connection: connectorConnectionSchema });
7072
7072
  z.strictObject({
7073
7073
  availableConnectionNames: z.array(connectorConnectionNameSchema).max(500),
@@ -7496,6 +7496,143 @@ const submitRuntimeProviderConversationProofsResponseSchema = z.strictObject({
7496
7496
  });
7497
7497
  });
7498
7498
  //#endregion
7499
+ //#region ../../packages/schemas/dist/schemas/http/slack-workspace-directory.js
7500
+ const ISO_DATE_TIME_SCHEMA$5 = z.iso.datetime({ offset: true });
7501
+ const trimmedNonEmptyStringSchema$5 = z.string().trim().min(1);
7502
+ const nullableTrimmedStringSchema$4 = z.union([trimmedNonEmptyStringSchema$5, z.null()]);
7503
+ z.strictObject({
7504
+ cursor: trimmedNonEmptyStringSchema$5.max(2048).optional(),
7505
+ includeMemberUserId: z.literal(true).optional(),
7506
+ limit: z.number().int().min(1).max(200).optional()
7507
+ });
7508
+ const slackWorkspaceMembershipSchema = z.discriminatedUnion("status", [
7509
+ z.strictObject({
7510
+ matchedBy: z.enum(["identity_link", "email"]),
7511
+ memberDisplayName: trimmedNonEmptyStringSchema$5,
7512
+ memberUserId: trimmedNonEmptyStringSchema$5.optional(),
7513
+ status: z.literal("member")
7514
+ }),
7515
+ z.strictObject({ status: z.literal("not_member") }),
7516
+ z.strictObject({
7517
+ reason: z.literal("email_unavailable"),
7518
+ status: z.literal("unknown")
7519
+ })
7520
+ ]);
7521
+ const slackWorkspaceDirectoryMemberSchema = z.strictObject({
7522
+ displayName: trimmedNonEmptyStringSchema$5,
7523
+ email: nullableTrimmedStringSchema$4,
7524
+ isAdmin: z.boolean(),
7525
+ isGuest: z.boolean(),
7526
+ isOwner: z.boolean(),
7527
+ realName: nullableTrimmedStringSchema$4,
7528
+ slackUserId: trimmedNonEmptyStringSchema$5,
7529
+ title: nullableTrimmedStringSchema$4,
7530
+ openMeldMembership: slackWorkspaceMembershipSchema
7531
+ });
7532
+ const slackWorkspaceDirectoryResponseSchema = z.strictObject({
7533
+ generatedAt: ISO_DATE_TIME_SCHEMA$5,
7534
+ members: z.array(slackWorkspaceDirectoryMemberSchema),
7535
+ nextCursor: nullableTrimmedStringSchema$4,
7536
+ organizationId: trimmedNonEmptyStringSchema$5
7537
+ });
7538
+ const slackReadUnavailableResponseSchema = z.strictObject({
7539
+ message: trimmedNonEmptyStringSchema$5.max(500),
7540
+ nextAction: trimmedNonEmptyStringSchema$5.max(500),
7541
+ organizationId: trimmedNonEmptyStringSchema$5,
7542
+ reasonCode: z.enum([
7543
+ "channel_access_required",
7544
+ "connection_state_unavailable",
7545
+ "slack_not_connected"
7546
+ ]),
7547
+ status: z.literal("unavailable")
7548
+ });
7549
+ z.union([slackWorkspaceDirectoryResponseSchema, slackReadUnavailableResponseSchema]);
7550
+ //#endregion
7551
+ //#region ../../packages/schemas/dist/schemas/http/slack-channel-reads.js
7552
+ const ISO_DATE_TIME_SCHEMA$4 = z.iso.datetime({ offset: true });
7553
+ const trimmedNonEmptyStringSchema$4 = z.string().trim().min(1);
7554
+ const nullableTrimmedStringSchema$3 = z.union([trimmedNonEmptyStringSchema$4, z.null()]);
7555
+ const slackChannelNameSchema = trimmedNonEmptyStringSchema$4.max(80);
7556
+ const slackCursorSchema = trimmedNonEmptyStringSchema$4.max(2048).optional();
7557
+ const CENTER_AGENT_SLACK_FILE_MAX_BASE64_CHARACTERS = Math.ceil(5242880 / 3) * 4;
7558
+ const slackFileContentBase64Schema = z.string().max(CENTER_AGENT_SLACK_FILE_MAX_BASE64_CHARACTERS).regex(/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/u);
7559
+ z.strictObject({
7560
+ cursor: slackCursorSchema,
7561
+ limit: z.number().int().min(1).max(200).optional()
7562
+ });
7563
+ z.strictObject({
7564
+ channelName: slackChannelNameSchema,
7565
+ cursor: slackCursorSchema,
7566
+ includeChannelId: z.literal(true).optional(),
7567
+ limit: z.number().int().min(1).max(200).optional()
7568
+ });
7569
+ z.strictObject({
7570
+ channelName: slackChannelNameSchema,
7571
+ cursor: slackCursorSchema,
7572
+ expectedChannelId: trimmedNonEmptyStringSchema$4.max(80).optional(),
7573
+ includeFiles: z.literal(true).optional(),
7574
+ limit: z.number().int().min(1).max(15).optional()
7575
+ });
7576
+ z.union([z.strictObject({
7577
+ channelName: slackChannelNameSchema,
7578
+ fileId: trimmedNonEmptyStringSchema$4.max(256)
7579
+ }), z.strictObject({
7580
+ channelId: trimmedNonEmptyStringSchema$4.max(80),
7581
+ fileId: trimmedNonEmptyStringSchema$4.max(256)
7582
+ })]);
7583
+ const slackChannelSummarySchema = z.strictObject({
7584
+ channelName: slackChannelNameSchema,
7585
+ isMember: z.boolean(),
7586
+ isPrivate: z.boolean(),
7587
+ memberCount: z.number().int().nonnegative().nullable()
7588
+ });
7589
+ const slackChannelListResponseSchema = z.strictObject({
7590
+ channels: z.array(slackChannelSummarySchema),
7591
+ generatedAt: ISO_DATE_TIME_SCHEMA$4,
7592
+ nextCursor: nullableTrimmedStringSchema$3,
7593
+ organizationId: trimmedNonEmptyStringSchema$4
7594
+ });
7595
+ const slackChannelMembersResponseSchema = z.strictObject({
7596
+ channelId: trimmedNonEmptyStringSchema$4.max(80).optional(),
7597
+ channelName: slackChannelNameSchema,
7598
+ generatedAt: ISO_DATE_TIME_SCHEMA$4,
7599
+ members: z.array(slackWorkspaceDirectoryMemberSchema),
7600
+ nextCursor: nullableTrimmedStringSchema$3,
7601
+ organizationId: trimmedNonEmptyStringSchema$4
7602
+ });
7603
+ const slackFileMetadataSchema = z.strictObject({
7604
+ fileId: trimmedNonEmptyStringSchema$4.max(256),
7605
+ mimeType: nullableTrimmedStringSchema$3,
7606
+ name: nullableTrimmedStringSchema$3,
7607
+ permalink: z.union([z.url({ protocol: /^https$/u }), z.null()]),
7608
+ sizeBytes: z.number().int().nonnegative().nullable()
7609
+ });
7610
+ const slackChannelHistoryMessageSchema = z.strictObject({
7611
+ authorDisplayName: nullableTrimmedStringSchema$3,
7612
+ authorSlackUserId: nullableTrimmedStringSchema$3,
7613
+ isAuthorBot: z.boolean(),
7614
+ messageTs: trimmedNonEmptyStringSchema$4,
7615
+ files: z.array(slackFileMetadataSchema).optional(),
7616
+ text: nullableTrimmedStringSchema$3
7617
+ });
7618
+ const slackChannelHistoryResponseSchema = z.strictObject({
7619
+ channelName: slackChannelNameSchema,
7620
+ generatedAt: ISO_DATE_TIME_SCHEMA$4,
7621
+ messages: z.array(slackChannelHistoryMessageSchema),
7622
+ nextCursor: nullableTrimmedStringSchema$3,
7623
+ organizationId: trimmedNonEmptyStringSchema$4
7624
+ });
7625
+ const slackFileReadResponseSchema = z.strictObject({
7626
+ channelName: slackChannelNameSchema.optional(),
7627
+ contentBase64: slackFileContentBase64Schema,
7628
+ file: slackFileMetadataSchema,
7629
+ organizationId: trimmedNonEmptyStringSchema$4
7630
+ });
7631
+ z.union([slackChannelListResponseSchema, slackReadUnavailableResponseSchema]);
7632
+ z.union([slackChannelMembersResponseSchema, slackReadUnavailableResponseSchema]);
7633
+ z.union([slackChannelHistoryResponseSchema, slackReadUnavailableResponseSchema]);
7634
+ z.union([slackFileReadResponseSchema, slackReadUnavailableResponseSchema]);
7635
+ //#endregion
7499
7636
  //#region ../../packages/schemas/dist/schemas/http/space-status.js
7500
7637
  const isoDateTimeSchema$3 = z.iso.datetime({ offset: true });
7501
7638
  const optionalTrimmedStringSchema = z.preprocess((value) => {
@@ -9872,9 +10009,11 @@ const centerAgentActionSchema = z.enum([
9872
10009
  "add_members_to_space",
9873
10010
  "add_agent_profiles_to_space",
9874
10011
  "post_slack_channel_message",
10012
+ "post_slack_file",
9875
10013
  "list_slack_channels",
9876
10014
  "read_slack_channel_members",
9877
10015
  "read_slack_channel_history",
10016
+ "read_slack_file",
9878
10017
  "search_slack_messages",
9879
10018
  "post_space_message",
9880
10019
  "remove_agent_profiles_from_space",
@@ -10231,7 +10370,8 @@ const listCenterAgentAuditJournalQuerySchema = z.strictObject({
10231
10370
  "v17",
10232
10371
  "v18",
10233
10372
  "v19",
10234
- "v20"
10373
+ "v20",
10374
+ "v21"
10235
10375
  ]).optional(),
10236
10376
  limit: z.coerce.number().int().min(1).max(200).optional()
10237
10377
  });
@@ -10366,6 +10506,29 @@ z.union([z.strictObject({
10366
10506
  publicationSource: centerAgentRemoteAgentExecutionPublicationSourceSchema,
10367
10507
  threadTs: z.string().trim().regex(/^\d+\.\d+$/).max(32)
10368
10508
  })]);
10509
+ const centerAgentSlackFilePublicationCommonFields = {
10510
+ contentBase64: z.string().max(CENTER_AGENT_SLACK_FILE_MAX_BASE64_CHARACTERS).regex(/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/u),
10511
+ contentSha256: z.string().regex(/^[0-9a-f]{64}$/u),
10512
+ fileName: trimmedNonEmptyStringSchema$2.max(255),
10513
+ initialComment: z.string().trim().min(1).max(MAX_TEXT_LENGTH$1).optional(),
10514
+ publicationSource: centerAgentRemoteAgentExecutionPublicationSourceSchema,
10515
+ speakerMember: centerAgentToolSpeakerSchema,
10516
+ title: trimmedNonEmptyStringSchema$2.max(255).optional()
10517
+ };
10518
+ z.union([
10519
+ z.strictObject({
10520
+ ...centerAgentSlackFilePublicationCommonFields,
10521
+ currentThread: z.literal(true)
10522
+ }),
10523
+ z.strictObject({
10524
+ ...centerAgentSlackFilePublicationCommonFields,
10525
+ channelName: trimmedNonEmptyStringSchema$2.max(80)
10526
+ }),
10527
+ z.strictObject({
10528
+ ...centerAgentSlackFilePublicationCommonFields,
10529
+ threadPermalink: slackThreadPublicationPermalinkSchema
10530
+ })
10531
+ ]);
10369
10532
  z.strictObject({
10370
10533
  includeBots: z.boolean().optional(),
10371
10534
  query: trimmedNonEmptyStringSchema$2.max(500),
@@ -10810,6 +10973,13 @@ z.strictObject({
10810
10973
  messageTs: trimmedNonEmptyStringSchema$2,
10811
10974
  organizationId: trimmedNonEmptyStringSchema$2
10812
10975
  });
10976
+ z.strictObject({
10977
+ attribution: centerAgentAttributionSchema,
10978
+ channelName: trimmedNonEmptyStringSchema$2.max(80),
10979
+ file: slackFileMetadataSchema,
10980
+ joinedChannel: z.boolean(),
10981
+ organizationId: trimmedNonEmptyStringSchema$2
10982
+ });
10813
10983
  const centerAgentSlackSearchFailureSchema = z.strictObject({
10814
10984
  organizationId: trimmedNonEmptyStringSchema$2,
10815
10985
  reason: trimmedNonEmptyStringSchema$2.max(500),
@@ -17646,4 +17816,4 @@ function composeAbortSignals(parent, timeout) {
17646
17816
  //#endregion
17647
17817
  export { ownerComputerDiagnosticsSchema as $, agentActivityInventorySessionStatusSchema as $t, MAX_TEXT_LENGTH as A, createCenterAgentRoutineResponseSchema as At, sleep as B, agentActivityProviderSchema as Bt, createSpaceApi as C, authProfileKindSchema as Ct, toStructuredApiClientFailure as D, organizationComputersResponseSchema as Dt, resolveProfileSpaceHistoryGatewayHost as E, profileErrorResponseSchema as Et, OPENMELD_HEADER_PROFILE_ID as F, resumeCenterAgentRoutineResponseSchema as Ft, projectSpaceDispatchTraceFinalVisibleOutcome as G, localProjectControlDaemonFrameSchema as Gt, getSpaceUpdatesResponseSchema as H, agentActivitySnapshotQuerySchema as Ht, OPENMELD_HEADER_REQUESTED_ORGANIZATION_ID as I, updateCenterAgentRoutineResponseSchema as It, spaceDispatchTraceDispatchStatusSchema as J, postSpaceMembersResponseSchema as Jt, resolveSpaceDispatchTraceRootCause as K, localProjectControlDiscoverProjectsResponseSchema as Kt, OPENMELD_HEADER_REQUEST_ID as L, AGENT_ACTIVITY_EVENT_MAX_BYTES as Lt, parseIncoming as M, listCenterAgentRoutineRunsResponseSchema as Mt, parseServerErrorFrame as N, listCenterAgentRoutinesResponseSchema as Nt, DAEMON_STREAM_KEEPALIVE_PING as O, submitFeedbackIssueRequestSchema as Ot, resolveCustomMentionAliasOverride as P, pauseCenterAgentRoutineResponseSchema as Pt, submitAgentControllerTaskLifecycleEventItemSchema as Q, agentActivityInventorySessionOriginSchema as Qt, buildOpenMeldRequestContextHeaders as R, AGENT_ACTIVITY_PRESENCE_TTL_MAX_MS as Rt, createRuntimeReportingApi as S, ADDITIONAL_HUMAN_PROFILE_CREATION_DISABLED_MESSAGE as St, resolveAccountSpaceIndexGatewayHost as T, profileCapabilitiesResponseSchema as Tt, SPACE_DISPATCH_TRACE_PROMPT_PREVIEW_MAX_CHARS as U, agentActivitySnapshotResponseSchema as Ut, toErrorMessage$3 as V, agentActivitySessionStatusSchema as Vt, SPACE_DISPATCH_TRACE_RESPONSE_CONTRACT_VERSION_HEADER as W, localProjectControlConnectionSchema as Wt, observabilityWakeTraceSelectorSchema as X, spaceMemberDirectoryEntrySchema as Xt, spaceDispatchTraceResponseSchema as Y, removeSpaceMembersResponseSchema as Yt, projectObservabilityWakeCorrelation as Z, spaceMemberDirectorySchema as Zt, createOrganizationSkillsApi as _, agentControllerPermissionModeSchema as _n, organizationSkillReleaseSummarySchema as _t, buildSpaceAttachmentDownloadPath as a, createProjectResponseSchema as an, COMPUTER_FILE_ACCESS_RUNTIME_CAPABILITY as at, createProjectsApi as b, organizationDirectoryResponseSchema as bt, createAgentProfileBindingApi as c, updateProjectResponseSchema as cn, computerFileAccessPolicyInputSchema as ct, createCurrentDeviceApi as d, START_BOUNDED_ID_SCHEMA as dn, organizationSpaceDirectoryWithMemberCountsResponseSchema as dt, agentActivitySessionInventoryQuerySchema as en, projectOwnerComputerLocalRuntimes as et, createFeedbackApi as f, START_BOUNDED_VERSION_SCHEMA as fn, spaceCreatorSchema as ft, createOrganizationApi as g, localAgentCatalogSchema as gn, organizationSkillBundleSchema as gt, createOpenMeldApiClient as h, startReplyReadinessSummarySchema as hn, listOrganizationSkillsResponseSchema as ht, buildProfileSpaceHistoryUpsertPath as i, archiveProjectResponseSchema as in, gatewayErrorEnvelopeSchema as it, parseEnvelope as j, deleteCenterAgentRoutineResponseSchema as jt, DAEMON_STREAM_KEEPALIVE_PONG as k, submitFeedbackIssueResponseSchema as kt, createCenterAgentApi as l, centerAgentToolSpeakerSchema as ln, computerFileAccessPolicySchema as lt, createLocalRuntimeExpectedRoutesApi as m, START_TRIMMED_NON_EMPTY_STRING_SCHEMA as mn, getOrganizationSkillResponseSchema as mt, OpenMeldApiClientInvalidResponseError as n, localAgentSessionProviderSchema as nn, DEFAULT_AGENT_PROFILE_CREATION_CONFIGURATION as nt, createAccountSpaceIndexApi as o, listProjectsResponseSchema as on, OPENMELD_RUNTIME_CAPABILITIES_HEADER as ot, createFetchTransport as p, START_ISO_DATE_TIME_SCHEMA as pn, spaceMetaSchema as pt, spaceDispatchTraceAttemptStatusSchema as q, leaveSpaceResponseSchema as qt, buildProfileSpaceHistoryStatusPath as r, observedLocalAgentSessionSchema as rn, agentProfileCreationConfigurationSchema as rt, createAgentActivityApi as s, projectSchema as sn, computerFileAccessDaemonFrameSchema as st, OpenMeldApiClientHttpError as t, agentActivitySessionInventoryResponseSchema as tn, summarizeComputerFileAccessPolicy as tt, createComputerFileAccessApi as u, openCodePermissionConfigSchema as un, modelCatalogSchema as ut, createPrepareReadinessApi as v, agentControllerCollaborationModeSchema as vn, organizationSkillSummarySchema as vt, dist_exports as w, authProfileManagedRoleSchema as wt, createRoutinesApi as x, ADDITIONAL_HUMAN_PROFILE_CREATION_DISABLED_CODE as xt, createProfileSpaceHistoryApi as y, toLegacySpaceAddressingWireValue as yn, stringifyOrganizationSkillBundleCanonicalJson as yt, toErrorMessage$2 as z, agentActivityEventSchema as zt };
17648
17818
 
17649
- //# sourceMappingURL=dist-tBSl0WJC.js.map
17819
+ //# sourceMappingURL=dist-DVDx0sTd.js.map