openmeld 0.3.161 → 0.3.163

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 (36) hide show
  1. package/dist/{add-me-membership-zhgufZnd.js → add-me-membership-BGHiNfW1.js} +2 -2
  2. package/dist/{add-me-membership-zhgufZnd.js.map → add-me-membership-BGHiNfW1.js.map} +1 -1
  3. package/dist/{api-client-foundation-DoUewyi_.js → api-client-foundation-CM_YDN01.js} +1 -1
  4. package/dist/{api-client-foundation-C2Ji0552.js → api-client-foundation-DyJw6DSc.js} +3 -3
  5. package/dist/{api-client-foundation-C2Ji0552.js.map → api-client-foundation-DyJw6DSc.js.map} +1 -1
  6. package/dist/auth-session-DWjyI9bE.js +4 -0
  7. package/dist/{auth-session-DnS-Axyz.js → auth-session-xj7oUO1L.js} +2 -2
  8. package/dist/{auth-session-DnS-Axyz.js.map → auth-session-xj7oUO1L.js.map} +1 -1
  9. package/dist/{command-cgFedSaF.js → command-CZ8e1Yrm.js} +8 -8
  10. package/dist/{command-cgFedSaF.js.map → command-CZ8e1Yrm.js.map} +1 -1
  11. package/dist/{dist-BVrzz3du.js → dist-DL_cNw8Y.js} +555 -434
  12. package/dist/dist-DL_cNw8Y.js.map +1 -0
  13. package/dist/dist-DOwOSSty.js +4 -0
  14. package/dist/{elapsed-time-0R9PAYtt.js → elapsed-time-CwU1_Va7.js} +3 -3
  15. package/dist/{elapsed-time-0R9PAYtt.js.map → elapsed-time-CwU1_Va7.js.map} +1 -1
  16. package/dist/{installer-C3AuWZ_h.js → installer-BBCQQtVT.js} +3 -3
  17. package/dist/{installer-C3AuWZ_h.js.map → installer-BBCQQtVT.js.map} +1 -1
  18. package/dist/{openmeld-DmYjQa7n.js → openmeld-CY8m1A8E.js} +15 -13
  19. package/dist/openmeld-CY8m1A8E.js.map +1 -0
  20. package/dist/{openmeld-maintenance-worker-Bfj_RQbe.js → openmeld-maintenance-worker-aXOaUwRQ.js} +3 -3
  21. package/dist/{openmeld-maintenance-worker-Bfj_RQbe.js.map → openmeld-maintenance-worker-aXOaUwRQ.js.map} +1 -1
  22. package/dist/{openmeld-tools-update-coordinator-CwIVD1Fx.js → openmeld-tools-update-coordinator-CY2CSXlX.js} +9 -9
  23. package/dist/{openmeld-tools-update-coordinator-CwIVD1Fx.js.map → openmeld-tools-update-coordinator-CY2CSXlX.js.map} +1 -1
  24. package/dist/openmeld.js +3 -3
  25. package/dist/{runtime-transport-BsvsUfwb.js → runtime-transport-w7zmmzEz.js} +7 -2
  26. package/dist/runtime-transport-w7zmmzEz.js.map +1 -0
  27. package/dist/{upgrade-hBZIXIcH.js → upgrade-Bk_n_j01.js} +4 -4
  28. package/dist/{upgrade-hBZIXIcH.js.map → upgrade-Bk_n_j01.js.map} +1 -1
  29. package/dist/upgrade-C5abaU0o.js +4 -0
  30. package/package.json +1 -1
  31. package/dist/auth-session-DMovqZYd.js +0 -4
  32. package/dist/dist-BVrzz3du.js.map +0 -1
  33. package/dist/dist-CGL0GrR6.js +0 -4
  34. package/dist/openmeld-DmYjQa7n.js.map +0 -1
  35. package/dist/runtime-transport-BsvsUfwb.js.map +0 -1
  36. package/dist/upgrade-D-iPQ9qO.js +0 -4
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
 
3
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, $r as openMeldRequestContextSchema, $t as stageSpaceComposerUploadResponseSchema, Ar as postSpaceWakeStopResponseSchema, At as spaceAttachmentFileNameSchema, B as openMeldDaemonOriginalErrorSchema, Br as normalizeSpacePasswordText, Bt as createSpaceFolderResponseSchema, Cn as targetWakeLifecycleIdentitySchema, Cr as string, Dr as unknown, Dt as signalTextSchema, Er as union, Et as signalTextDataSchema, Fn as spaceAgentStreamPresenceSchema, Fr as runtimeCoordinatorExecutionRecordSchema, Ft as conversationCompactionMarkerSchema, Gr as spaceMentionLabelSourceSchema, Gt as listSpaceFilesResponseSchema, Hn as agentInteractionResponseSchema, Ht as getSpaceFileResponseSchema, I as runtimeTransportRuntimeCoordinatorRespondInteractionResponseSchema, In as spaceAgentStreamSnapshotSchema, Jr as updateOrganizationInformationProtectionPolicyBodySchema, Jt as restoreSpaceFileEntryResponseSchema, K as openMeldDaemonTaskResultProjectFailureContextSchema, Kr as organizationInformationProtectionPolicyResponseSchema, Kt as publishSpaceComposerUploadResponseSchema, Ln as spaceAgentStreamTerminalFrameSchema, Lt as centerAgentInteractionSourceSchema, Mn as agentStreamToolPartSchema, Mt as spaceAttachmentSizeBytesSchema, Nn as spaceAgentStreamDeltaFrameSchema, Nr as runtimeCoordinatorExecutionCreationDiagnosticSchema, Nt as spaceMessageAttachmentSchema, On as messageEnvelopeSchema, Or as url, Ot as spaceAttachmentDescriptorSchema, Pn as spaceAgentStreamPartFrameSchema, Pr as runtimeCoordinatorExecutionEventSchema, Pt as spaceMessageAttachmentsSchema, Qt as spaceMessageFileReferencesSchema, Rr as spaceTraceExecutionIdentityProjectionSchema, Rt as SPACE_FILE_ERROR_CODES, Si as openMeldWebUrlSchema, Sn as workingLanguageTagSchema, Sr as strictObject, St as centerAgentTaskReferenceSchema, Tr as undefinedFactory, Tt as signalSystemNoticeDataSchema, V as openMeldDaemonProviderAccessEvidenceProviderSchema, Vr as spacePasswordSchema, Vt as discardSpaceComposerUploadResponseSchema, Wr as spaceMentionLabelSchema, Wt as listSpaceFileRevisionsResponseSchema, Xn as localComponentUpdateProjectionSchema, Xr as executeExecutionRecoveryResponseSchema, Xt as spaceFileMimeTypeSchema, Yn as localComponentUpdatePolicySchema, Yr as executeExecutionRecoveryBodySchema, Yt as restoreSpaceFileRevisionResponseSchema, Zn as localComponentUpdateStatusSchema, Zr as inspectExecutionRecoveryResponseSchema, _n as resultArchivePolicySchema, _r as nullFactory, ai as profileSchema, at as agentTaskHandleSchema, bi as computerSetupModeSchema, bn as spaceDispatchPolicySchema, br as preprocess, ci as uuidProfileIdSchema, cr as boolean, ct as buildAgentTaskKey, di as optionalBooleanQuerySchema, dn as spaceThreadContextSchema, dr as email, en as trashSpaceFileEntryResponseSchema, er as openMeldToolsMaintenanceProjectionSchema, et as localFolderPickerResultSchema, fi as trimmedStringFromUnknown, fn as spaceThreadEventSchema, fr as enumFactory, gr as neverFactory, hr as literal, ii as profileKindSchema, ir as openMeldToolsUpdateRequestResultSchema, it as agentTaskCompletionObservationSchema, jn as AGENT_STREAM_SNAPSHOT_MAX_CHARS, jr as clientMessageIdSchema$1, jt as spaceAttachmentMimeTypeSchema, kr as postSpaceWakeStopBodySchema, kt as spaceAttachmentDimensionSchema, li as finiteIntegerNumber, lr as coerce, lt as controllerAgentTaskHandleSchema, mi as agentProfileWorkRecoveryActionKindSchema, mn as spaceThreadSignalPlacementSchema, mr as iso, n as daemonExecutionCompatibilitySchema, nn as uploadSpaceFileResponseSchema, nt as agentDelegationSnapshotSchema, oi as profileWorkingDirectorySchema, on as openMeldDaemonSyncRouteCatalogPayloadSchema, or as NEVER, ot as agentTaskTerminalOutcomeSchema, pi as MAX_TEXT_LENGTH$1, pn as spaceThreadSchema, pr as int, qr as organizationProtectedInformationSchema, ri as openMeldRuntimeProfileIdSchema, rn as localAgentInstallationOptionSchema, rr as openMeldToolsUpdateOperationSchema, rt as agentTaskCompletionConditionSchema, si as profileWorkspaceModeSchema, sr as array, st as areAgentTaskTerminalOutcomesEqual, t as CURRENT_DAEMON_EXECUTION_CONTRACT_EPOCH, ti as agentProfileIdSchema, tn as updateSpaceFileEntryResponseSchema, tt as localFolderPathSchema, ui as nonEmptyTrimmedStringFromUnknown, un as dispatchExecutionSchema, ur as discriminatedUnion, ut as spaceWakeAgentTaskHandleSchema, vn as spaceAllowedActionsSchema, vr as number, wr as tuple, wt as signalStatusDataSchema, xi as openMeldNavigationTargetSchema, xn as workingLanguageGuidanceSchema, xr as record, yn as spacePublicationModeSchema, yr as object, zn as agentInteractionPendingSummarySchema, zr as SPACE_PASSWORD_RATE_LIMITED_ERROR_CODE, zt as SPACE_FILE_MAX_SIZE_BYTES } from "./runtime-transport-BsvsUfwb.js";
4
+ import { $ as localFolderPickerRequestSchema, $n as openMeldToolsMaintenanceMutationResultSchema, $r as openMeldRequestContextSchema, $t as stageSpaceComposerUploadResponseSchema, Ar as postSpaceWakeStopResponseSchema, At as spaceAttachmentFileNameSchema, B as openMeldDaemonOriginalErrorSchema, Br as normalizeSpacePasswordText, Bt as createSpaceFolderResponseSchema, Cn as targetWakeLifecycleIdentitySchema, Cr as string, Dr as unknown, Dt as signalTextSchema, Er as union, Et as signalTextDataSchema, Fn as spaceAgentStreamPresenceSchema, Fr as runtimeCoordinatorExecutionRecordSchema, Ft as conversationCompactionMarkerSchema, Gr as spaceMentionLabelSourceSchema, Gt as listSpaceFilesResponseSchema, Hn as agentInteractionResponseSchema, Ht as getSpaceFileResponseSchema, I as runtimeTransportRuntimeCoordinatorRespondInteractionResponseSchema, In as spaceAgentStreamSnapshotSchema, Jr as updateOrganizationInformationProtectionPolicyBodySchema, Jt as restoreSpaceFileEntryResponseSchema, K as openMeldDaemonTaskResultProjectFailureContextSchema, Kr as organizationInformationProtectionPolicyResponseSchema, Kt as publishSpaceComposerUploadResponseSchema, Ln as spaceAgentStreamTerminalFrameSchema, Lt as centerAgentInteractionSourceSchema, Mn as agentStreamToolPartSchema, Mt as spaceAttachmentSizeBytesSchema, Nn as spaceAgentStreamDeltaFrameSchema, Nr as runtimeCoordinatorExecutionCreationDiagnosticSchema, Nt as spaceMessageAttachmentSchema, On as messageEnvelopeSchema, Or as url, Ot as spaceAttachmentDescriptorSchema, Pn as spaceAgentStreamPartFrameSchema, Pr as runtimeCoordinatorExecutionEventSchema, Pt as spaceMessageAttachmentsSchema, Qt as spaceMessageFileReferencesSchema, Rr as spaceTraceExecutionIdentityProjectionSchema, Rt as SPACE_FILE_ERROR_CODES, Si as openMeldWebUrlSchema, Sn as workingLanguageTagSchema, Sr as strictObject, St as centerAgentTaskReferenceSchema, Tr as undefinedFactory, Tt as signalSystemNoticeDataSchema, V as openMeldDaemonProviderAccessEvidenceProviderSchema, Vr as spacePasswordSchema, Vt as discardSpaceComposerUploadResponseSchema, Wr as spaceMentionLabelSchema, Wt as listSpaceFileRevisionsResponseSchema, Xn as localComponentUpdateProjectionSchema, Xr as executeExecutionRecoveryResponseSchema, Xt as spaceFileMimeTypeSchema, Yn as localComponentUpdatePolicySchema, Yr as executeExecutionRecoveryBodySchema, Yt as restoreSpaceFileRevisionResponseSchema, Zn as localComponentUpdateStatusSchema, Zr as inspectExecutionRecoveryResponseSchema, _n as resultArchivePolicySchema, _r as nullFactory, ai as profileSchema, at as agentTaskHandleSchema, bi as computerSetupModeSchema, bn as spaceDispatchPolicySchema, br as preprocess, ci as uuidProfileIdSchema, cr as boolean, ct as buildAgentTaskKey, di as optionalBooleanQuerySchema, dn as spaceThreadContextSchema, dr as email, en as trashSpaceFileEntryResponseSchema, er as openMeldToolsMaintenanceProjectionSchema, et as localFolderPickerResultSchema, fi as trimmedStringFromUnknown, fn as spaceThreadEventSchema, fr as enumFactory, gr as neverFactory, hr as literal, ii as profileKindSchema, ir as openMeldToolsUpdateRequestResultSchema, it as agentTaskCompletionObservationSchema, jn as AGENT_STREAM_SNAPSHOT_MAX_CHARS, jr as clientMessageIdSchema$1, jt as spaceAttachmentMimeTypeSchema, kr as postSpaceWakeStopBodySchema, kt as spaceAttachmentDimensionSchema, li as finiteIntegerNumber, lr as coerce, lt as controllerAgentTaskHandleSchema, mi as agentProfileWorkRecoveryActionKindSchema, mn as spaceThreadSignalPlacementSchema, mr as iso, n as daemonExecutionCompatibilitySchema, nn as uploadSpaceFileResponseSchema, nt as agentDelegationSnapshotSchema, oi as profileWorkingDirectorySchema, on as openMeldDaemonSyncRouteCatalogPayloadSchema, or as NEVER, ot as agentTaskTerminalOutcomeSchema, pi as MAX_TEXT_LENGTH$1, pn as spaceThreadSchema, pr as int, qr as organizationProtectedInformationSchema, ri as openMeldRuntimeProfileIdSchema, rn as localAgentInstallationOptionSchema, rr as openMeldToolsUpdateOperationSchema, rt as agentTaskCompletionConditionSchema, si as profileWorkspaceModeSchema, sr as array, st as areAgentTaskTerminalOutcomesEqual, t as CURRENT_DAEMON_EXECUTION_CONTRACT_EPOCH, ti as agentProfileIdSchema, tn as updateSpaceFileEntryResponseSchema, tt as localFolderPathSchema, ui as nonEmptyTrimmedStringFromUnknown, un as dispatchExecutionSchema, ur as discriminatedUnion, ut as spaceWakeAgentTaskHandleSchema, vn as spaceAllowedActionsSchema, vr as number, wr as tuple, wt as signalStatusDataSchema, xi as openMeldNavigationTargetSchema, xn as workingLanguageGuidanceSchema, xr as record, yn as spacePublicationModeSchema, yr as object, zn as agentInteractionPendingSummarySchema, zr as SPACE_PASSWORD_RATE_LIMITED_ERROR_CODE, zt as SPACE_FILE_MAX_SIZE_BYTES } from "./runtime-transport-w7zmmzEz.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";
@@ -5086,6 +5086,47 @@ const postNormalMessageBodySchema = z$1.strictObject({
5086
5086
  });
5087
5087
  const postNormalMessageResponseSchema = signalTextEnvelopeSchema;
5088
5088
  //#endregion
5089
+ //#region ../../packages/schemas/dist/schemas/http/center-agent-direct-message-space.js
5090
+ const CENTER_AGENT_DIRECT_MESSAGE_SPACE_KIND = "center_agent_direct_message_space";
5091
+ const ISO_DATE_TIME_SCHEMA$8 = z$1.iso.datetime({ offset: true });
5092
+ const trimmedNonEmptyStringSchema$11 = z$1.string().trim().min(1);
5093
+ const createCenterAgentSessionBodySchema = z$1.strictObject({ creationId: z$1.uuid() });
5094
+ const centerAgentSessionSelectorSchema = z$1.strictObject({ spaceId: trimmedNonEmptyStringSchema$11.max(128) });
5095
+ const centerAgentDirectMessageSpaceProjectionSchema = z$1.strictObject({
5096
+ centerAgentProfileId: trimmedNonEmptyStringSchema$11,
5097
+ isCenterAgentDirectMessageSpace: z$1.literal(true),
5098
+ kind: z$1.literal(CENTER_AGENT_DIRECT_MESSAGE_SPACE_KIND),
5099
+ memberProfileId: trimmedNonEmptyStringSchema$11,
5100
+ organizationId: trimmedNonEmptyStringSchema$11,
5101
+ spaceId: trimmedNonEmptyStringSchema$11
5102
+ });
5103
+ const getCenterAgentDirectMessageSpaceProjectionResponseSchema = z$1.strictObject({
5104
+ generatedAt: ISO_DATE_TIME_SCHEMA$8,
5105
+ organizationId: trimmedNonEmptyStringSchema$11,
5106
+ projection: z$1.union([centerAgentDirectMessageSpaceProjectionSchema, z$1.null()])
5107
+ });
5108
+ const listCenterAgentSessionsQuerySchema = z$1.strictObject({
5109
+ cursor: z$1.string().trim().min(1).max(1024).optional(),
5110
+ limit: z$1.number().int().min(1).max(100).default(20)
5111
+ });
5112
+ z$1.strictObject({
5113
+ v: z$1.literal(1),
5114
+ organizationId: trimmedNonEmptyStringSchema$11,
5115
+ pairKey: trimmedNonEmptyStringSchema$11,
5116
+ createdAtMs: z$1.number().int().nonnegative(),
5117
+ spaceId: centerAgentSessionSelectorSchema.shape.spaceId
5118
+ });
5119
+ const centerAgentSessionListItemSchema = centerAgentDirectMessageSpaceProjectionSchema.extend({
5120
+ name: z$1.string().nullable(),
5121
+ createdAt: ISO_DATE_TIME_SCHEMA$8.nullable()
5122
+ });
5123
+ const listCenterAgentSessionsResponseSchema = z$1.strictObject({
5124
+ generatedAt: ISO_DATE_TIME_SCHEMA$8,
5125
+ organizationId: trimmedNonEmptyStringSchema$11,
5126
+ sessions: z$1.array(centerAgentSessionListItemSchema).max(100),
5127
+ nextCursor: z$1.string().min(1).max(1024).nullable()
5128
+ });
5129
+ //#endregion
5089
5130
  //#region ../../packages/schemas/dist/schemas/http/center-agent-context-manifest.js
5090
5131
  const CENTER_AGENT_CONTEXT_MANIFEST_VERSION = "center_agent_context_manifest.v1";
5091
5132
  const CENTER_AGENT_CONTEXT_LOAD_RECEIPT_VERSION = "center_agent_context_load_receipt.v1";
@@ -5103,13 +5144,14 @@ const CENTER_AGENT_CONTEXT_ERROR_CODES = [
5103
5144
  "center_agent.context_load_selection_duplicate",
5104
5145
  "center_agent.context_load_selection_invalid"
5105
5146
  ];
5106
- const ISO_DATE_TIME_SCHEMA$8 = iso.datetime({ offset: true });
5107
- const trimmedNonEmptyStringSchema$11 = string().trim().min(1);
5147
+ const ISO_DATE_TIME_SCHEMA$7 = iso.datetime({ offset: true });
5148
+ const trimmedNonEmptyStringSchema$10 = string().trim().min(1);
5108
5149
  const contentHashSchema$1 = string().regex(/^sha256:[0-9a-f]{64}$/u);
5109
5150
  const centerAgentContextManifestIdSchema = string().regex(/^center_agent_context_manifest_[0-9a-f-]{36}$/u);
5110
5151
  const loadReceiptIdSchema = string().regex(/^center_agent_context_load_receipt_[0-9a-f-]{36}$/u);
5111
5152
  const centerAgentContextManifestViewSchema = literal("messages");
5112
5153
  const createCenterAgentContextManifestBodySchema = strictObject({
5154
+ spaceId: centerAgentSessionSelectorSchema.shape.spaceId.optional(),
5113
5155
  cursor: string().trim().min(1).max(768).optional(),
5114
5156
  limit: number().int().min(1).max(50).default(20),
5115
5157
  maxContextTokens: number().int().min(256).max(CENTER_AGENT_CONTEXT_MAX_TOKEN_BUDGET).default(CENTER_AGENT_CONTEXT_DEFAULT_TOKEN_BUDGET),
@@ -5117,23 +5159,23 @@ const createCenterAgentContextManifestBodySchema = strictObject({
5117
5159
  view: centerAgentContextManifestViewSchema.default("messages")
5118
5160
  });
5119
5161
  const centerAgentContextManifestSourceRefSchema = strictObject({
5120
- id: trimmedNonEmptyStringSchema$11,
5162
+ id: trimmedNonEmptyStringSchema$10,
5121
5163
  type: literal("space_signal"),
5122
5164
  uri: string().regex(/^openmeld:\/\/spaces\/[^/]+\/signals\/[^/]+$/u),
5123
5165
  version: contentHashSchema$1
5124
5166
  });
5125
5167
  const centerAgentContextManifestEntrySchema = strictObject({
5126
5168
  author: strictObject({
5127
- profileId: trimmedNonEmptyStringSchema$11,
5169
+ profileId: trimmedNonEmptyStringSchema$10,
5128
5170
  profileKind: enumFactory([
5129
5171
  "agent",
5130
5172
  "human",
5131
5173
  "system"
5132
5174
  ]),
5133
- profileName: trimmedNonEmptyStringSchema$11
5175
+ profileName: trimmedNonEmptyStringSchema$10
5134
5176
  }),
5135
5177
  carrier: strictObject({
5136
- client: trimmedNonEmptyStringSchema$11.max(80),
5178
+ client: trimmedNonEmptyStringSchema$10.max(80),
5137
5179
  kind: literal("local_agent")
5138
5180
  }).optional(),
5139
5181
  content: strictObject({
@@ -5143,13 +5185,13 @@ const centerAgentContextManifestEntrySchema = strictObject({
5143
5185
  type: literal("text")
5144
5186
  }),
5145
5187
  materializedContentHash: contentHashSchema$1,
5146
- occurredAt: ISO_DATE_TIME_SCHEMA$8,
5188
+ occurredAt: ISO_DATE_TIME_SCHEMA$7,
5147
5189
  redactions: array(enumFactory([
5148
5190
  "attachments_not_in_messages_view",
5149
5191
  "local_session_locator_omitted",
5150
5192
  "message_content_budget"
5151
5193
  ])),
5152
- replyToSignalId: trimmedNonEmptyStringSchema$11.optional(),
5194
+ replyToSignalId: trimmedNonEmptyStringSchema$10.optional(),
5153
5195
  sourceRef: centerAgentContextManifestSourceRefSchema
5154
5196
  });
5155
5197
  strictObject({
@@ -5159,7 +5201,7 @@ strictObject({
5159
5201
  });
5160
5202
  const centerAgentContextLoadSelectedEntrySchema = strictObject({
5161
5203
  materializedContentHash: contentHashSchema$1,
5162
- sourceRefId: trimmedNonEmptyStringSchema$11
5204
+ sourceRefId: trimmedNonEmptyStringSchema$10
5163
5205
  });
5164
5206
  const createCenterAgentContextLoadReceiptBodySchema = strictObject({
5165
5207
  selection: discriminatedUnion("kind", [strictObject({ kind: literal("all_manifest_entries") }), strictObject({
@@ -5192,20 +5234,20 @@ const createCenterAgentContextManifestResponseSchema = strictObject({
5192
5234
  hasMore: boolean()
5193
5235
  }),
5194
5236
  entries: array(centerAgentContextManifestEntrySchema),
5195
- generatedAt: ISO_DATE_TIME_SCHEMA$8,
5237
+ generatedAt: ISO_DATE_TIME_SCHEMA$7,
5196
5238
  manifestId: centerAgentContextManifestIdSchema,
5197
5239
  provenance: strictObject({
5198
- auditEntryId: trimmedNonEmptyStringSchema$11,
5240
+ auditEntryId: trimmedNonEmptyStringSchema$10,
5199
5241
  contentProjection: literal("user_visible_space_signals")
5200
5242
  }),
5201
5243
  request: strictObject({ source: centerAgentInteractionSourceSchema }),
5202
5244
  schemaVersion: literal(CENTER_AGENT_CONTEXT_MANIFEST_VERSION),
5203
5245
  subject: strictObject({
5204
- centerAgentProfileId: trimmedNonEmptyStringSchema$11,
5205
- conversationId: trimmedNonEmptyStringSchema$11,
5246
+ centerAgentProfileId: trimmedNonEmptyStringSchema$10,
5247
+ conversationId: trimmedNonEmptyStringSchema$10,
5206
5248
  kind: literal("center_agent_conversation"),
5207
- memberProfileId: trimmedNonEmptyStringSchema$11,
5208
- organizationId: trimmedNonEmptyStringSchema$11
5249
+ memberProfileId: trimmedNonEmptyStringSchema$10,
5250
+ organizationId: trimmedNonEmptyStringSchema$10
5209
5251
  }),
5210
5252
  view: centerAgentContextManifestViewSchema
5211
5253
  });
@@ -5214,9 +5256,9 @@ const createCenterAgentContextLoadReceiptResponseSchema = strictObject({
5214
5256
  principal: literal("authenticated_member"),
5215
5257
  scope: literal("requester_private")
5216
5258
  }),
5217
- provenance: strictObject({ auditEntryId: trimmedNonEmptyStringSchema$11 }),
5259
+ provenance: strictObject({ auditEntryId: trimmedNonEmptyStringSchema$10 }),
5218
5260
  receipt: strictObject({
5219
- client: trimmedNonEmptyStringSchema$11.max(80),
5261
+ client: trimmedNonEmptyStringSchema$10.max(80),
5220
5262
  estimatedTokens: number().int().nonnegative(),
5221
5263
  id: loadReceiptIdSchema,
5222
5264
  includedMessages: number().int().min(1).max(50),
@@ -5224,7 +5266,7 @@ const createCenterAgentContextLoadReceiptResponseSchema = strictObject({
5224
5266
  selectedEntries: array(centerAgentContextLoadSelectedEntrySchema).min(1).max(50),
5225
5267
  status: literal("loaded")
5226
5268
  }),
5227
- recordedAt: ISO_DATE_TIME_SCHEMA$8,
5269
+ recordedAt: ISO_DATE_TIME_SCHEMA$7,
5228
5270
  schemaVersion: literal(CENTER_AGENT_CONTEXT_LOAD_RECEIPT_VERSION)
5229
5271
  });
5230
5272
  //#endregion
@@ -5456,7 +5498,7 @@ const messageChannelIdentityLinkConsumeResponseSchema = z$1.strictObject({
5456
5498
  });
5457
5499
  //#endregion
5458
5500
  //#region ../../packages/schemas/dist/schemas/http/center-agent-member-research.js
5459
- const trimmedNonEmptyStringSchema$10 = z$1.string().trim().min(1);
5501
+ const trimmedNonEmptyStringSchema$9 = z$1.string().trim().min(1);
5460
5502
  const isoDateTimeSchema$6 = z$1.iso.datetime({ offset: true });
5461
5503
  const memberResearchTextSchema = z$1.string().trim().min(1).max(1e3);
5462
5504
  const CENTER_AGENT_MEMBER_RESEARCH_COVERAGE_SOURCES = [
@@ -5483,8 +5525,8 @@ const centerAgentMemberResearchEvidenceSourceSchema = z$1.enum([
5483
5525
  const centerAgentMemberResearchEvidenceItemSchema = z$1.strictObject({
5484
5526
  date: z$1.iso.date(),
5485
5527
  source: centerAgentMemberResearchEvidenceSourceSchema,
5486
- sourceId: trimmedNonEmptyStringSchema$10.max(256),
5487
- sourceName: trimmedNonEmptyStringSchema$10.max(120).optional(),
5528
+ sourceId: trimmedNonEmptyStringSchema$9.max(256),
5529
+ sourceName: trimmedNonEmptyStringSchema$9.max(120).optional(),
5488
5530
  sourceUrl: z$1.url().max(2048).optional(),
5489
5531
  text: memberResearchTextSchema
5490
5532
  }).superRefine((item, context) => {
@@ -5523,7 +5565,7 @@ const centerAgentMemberResearchCoverageSchema = z$1.strictObject({
5523
5565
  evidence: memberResearchTextSchema.max(500),
5524
5566
  source: centerAgentMemberResearchCoverageSourceSchema,
5525
5567
  status: centerAgentMemberResearchCoverageStatusSchema,
5526
- timeRange: trimmedNonEmptyStringSchema$10.max(120)
5568
+ timeRange: trimmedNonEmptyStringSchema$9.max(120)
5527
5569
  });
5528
5570
  const centerAgentMemberResearchCoverageListSchema = z$1.array(centerAgentMemberResearchCoverageSchema).min(LEGACY_CENTER_AGENT_MEMBER_RESEARCH_COVERAGE_SOURCES.length).max(CENTER_AGENT_MEMBER_RESEARCH_COVERAGE_SOURCES.length).superRefine((coverage, context) => {
5529
5571
  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;
@@ -5572,12 +5614,12 @@ const centerAgentMemberResearchTaskStatusSchema = z$1.enum([
5572
5614
  "failed"
5573
5615
  ]);
5574
5616
  const centerAgentMemberResearchTaskSchema = z$1.strictObject({
5575
- id: trimmedNonEmptyStringSchema$10,
5576
- subjectUserId: trimmedNonEmptyStringSchema$10,
5577
- subjectDisplayName: trimmedNonEmptyStringSchema$10,
5617
+ id: trimmedNonEmptyStringSchema$9,
5618
+ subjectUserId: trimmedNonEmptyStringSchema$9,
5619
+ subjectDisplayName: trimmedNonEmptyStringSchema$9,
5578
5620
  position: z$1.number().int().positive(),
5579
5621
  status: centerAgentMemberResearchTaskStatusSchema,
5580
- failureCode: trimmedNonEmptyStringSchema$10.nullable(),
5622
+ failureCode: trimmedNonEmptyStringSchema$9.nullable(),
5581
5623
  startedAt: isoDateTimeSchema$6.nullable(),
5582
5624
  finishedAt: isoDateTimeSchema$6.nullable()
5583
5625
  }).superRefine((task, context) => {
@@ -5593,8 +5635,8 @@ const centerAgentMemberResearchTaskSchema = z$1.strictObject({
5593
5635
  });
5594
5636
  });
5595
5637
  const centerAgentMemberResearchBatchSchema = z$1.strictObject({
5596
- id: trimmedNonEmptyStringSchema$10,
5597
- organizationId: trimmedNonEmptyStringSchema$10,
5638
+ id: trimmedNonEmptyStringSchema$9,
5639
+ organizationId: trimmedNonEmptyStringSchema$9,
5598
5640
  scope: centerAgentMemberResearchScopeSchema,
5599
5641
  status: centerAgentMemberResearchBatchStatusSchema,
5600
5642
  totalCount: z$1.number().int().positive(),
@@ -5656,11 +5698,11 @@ const centerAgentMemberResearchBatchSchema = z$1.strictObject({
5656
5698
  });
5657
5699
  });
5658
5700
  const startCenterAgentMemberResearchBodySchema = z$1.discriminatedUnion("scope", [z$1.strictObject({
5659
- expectedOrganizationId: trimmedNonEmptyStringSchema$10,
5701
+ expectedOrganizationId: trimmedNonEmptyStringSchema$9,
5660
5702
  scope: z$1.literal("member"),
5661
- subjectUserId: trimmedNonEmptyStringSchema$10
5703
+ subjectUserId: trimmedNonEmptyStringSchema$9
5662
5704
  }), z$1.strictObject({
5663
- expectedOrganizationId: trimmedNonEmptyStringSchema$10,
5705
+ expectedOrganizationId: trimmedNonEmptyStringSchema$9,
5664
5706
  scope: z$1.literal("all")
5665
5707
  })]);
5666
5708
  const startCenterAgentMemberResearchResponseSchema = z$1.strictObject({ batch: centerAgentMemberResearchBatchSchema });
@@ -5670,7 +5712,7 @@ z$1.strictObject({
5670
5712
  speakerMember: centerAgentToolSpeakerSchema
5671
5713
  });
5672
5714
  const getCenterAgentMemberResearchStatusResponseSchema = z$1.strictObject({
5673
- organizationId: trimmedNonEmptyStringSchema$10,
5715
+ organizationId: trimmedNonEmptyStringSchema$9,
5674
5716
  latestBatch: centerAgentMemberResearchBatchSchema.nullable()
5675
5717
  });
5676
5718
  z$1.strictObject({ context: openMeldRequestContextSchema });
@@ -6072,7 +6114,7 @@ function validateCenterAgentDraftTarget(value, context) {
6072
6114
  }
6073
6115
  //#endregion
6074
6116
  //#region ../../packages/schemas/dist/schemas/http/gateway-error.js
6075
- const trimmedNonEmptyStringSchema$9 = z$1.string().trim().min(1);
6117
+ const trimmedNonEmptyStringSchema$8 = z$1.string().trim().min(1);
6076
6118
  const SPACE_ADDRESSING_TARGET_INVALID_ERROR_CODE = "space.addressing.target_invalid";
6077
6119
  const gatewayErrorCodeSchema = z$1.enum([
6078
6120
  "bad_request",
@@ -6192,8 +6234,8 @@ const gatewayErrorCodeSchema = z$1.enum([
6192
6234
  ]);
6193
6235
  const gatewayErrorSchema = commonErrorSchema.extend({
6194
6236
  code: gatewayErrorCodeSchema,
6195
- requestId: trimmedNonEmptyStringSchema$9,
6196
- upstreamCode: trimmedNonEmptyStringSchema$9.optional()
6237
+ requestId: trimmedNonEmptyStringSchema$8,
6238
+ upstreamCode: trimmedNonEmptyStringSchema$8.optional()
6197
6239
  });
6198
6240
  const gatewayErrorEnvelopeSchema = z$1.strictObject({
6199
6241
  ok: z$1.literal(false),
@@ -6209,15 +6251,15 @@ const identityImageMimeTypeSchema = z$1.enum([
6209
6251
  ]);
6210
6252
  //#endregion
6211
6253
  //#region ../../packages/schemas/dist/schemas/http/profile-space-history.js
6212
- const ISO_DATE_TIME_SCHEMA$7 = z$1.iso.datetime({ offset: true });
6254
+ const ISO_DATE_TIME_SCHEMA$6 = z$1.iso.datetime({ offset: true });
6213
6255
  const GATEWAY_HOST_MAX_LENGTH = 255;
6214
6256
  const PROFILE_SPACE_HISTORY_MAX_LIMIT = 500;
6215
6257
  const NON_NEGATIVE_INT_RE$2 = /^\d+$/;
6216
6258
  const GATEWAY_HOST_PATH_CHARS_RE = /[/?#]/;
6217
- const trimmedNonEmptyStringSchema$8 = z$1.string().trim().min(1);
6218
- const nullableTrimmedStringSchema$6 = z$1.union([trimmedNonEmptyStringSchema$8, z$1.null()]);
6259
+ const trimmedNonEmptyStringSchema$7 = z$1.string().trim().min(1);
6260
+ const nullableTrimmedStringSchema$6 = z$1.union([trimmedNonEmptyStringSchema$7, z$1.null()]);
6219
6261
  const nullableNonNegativeIntSchema$1 = z$1.union([z$1.number().int().min(0), z$1.null()]);
6220
- const nullableIsoDateTimeSchema$4 = z$1.union([ISO_DATE_TIME_SCHEMA$7, z$1.null()]);
6262
+ const nullableIsoDateTimeSchema$4 = z$1.union([ISO_DATE_TIME_SCHEMA$6, z$1.null()]);
6221
6263
  const profileSpaceHistoryGatewayHostSchema = z$1.string().transform((value, ctx) => {
6222
6264
  const normalized = value.trim().toLowerCase();
6223
6265
  if (normalized.length === 0) {
@@ -6286,20 +6328,20 @@ const profileSpaceHistoryStatusListSchema = z$1.union([profileSpaceHistoryStatus
6286
6328
  return Array.isArray(value) ? value : [value];
6287
6329
  });
6288
6330
  const profileSpaceHistoryRecordSchema = z$1.strictObject({
6289
- profileId: trimmedNonEmptyStringSchema$8,
6331
+ profileId: trimmedNonEmptyStringSchema$7,
6290
6332
  gatewayHost: profileSpaceHistoryGatewayHostSchema,
6291
- spaceId: trimmedNonEmptyStringSchema$8,
6333
+ spaceId: trimmedNonEmptyStringSchema$7,
6292
6334
  spaceName: nullableTrimmedStringSchema$6,
6293
6335
  creatorProfileId: nullableTrimmedStringSchema$6,
6294
6336
  creatorKind: z$1.union([profileSpaceCreatorKindSchema, z$1.null()]),
6295
6337
  spaceCreatedAt: nullableIsoDateTimeSchema$4,
6296
6338
  spaceUpdatedAt: nullableIsoDateTimeSchema$4,
6297
- lastJoinedAt: ISO_DATE_TIME_SCHEMA$7,
6339
+ lastJoinedAt: ISO_DATE_TIME_SCHEMA$6,
6298
6340
  lastSeenTs: nullableNonNegativeIntSchema$1,
6299
6341
  pinnedAt: nullableIsoDateTimeSchema$4,
6300
6342
  status: profileSpaceHistoryStatusSchema,
6301
- createdAt: ISO_DATE_TIME_SCHEMA$7,
6302
- updatedAt: ISO_DATE_TIME_SCHEMA$7
6343
+ createdAt: ISO_DATE_TIME_SCHEMA$6,
6344
+ updatedAt: ISO_DATE_TIME_SCHEMA$6
6303
6345
  });
6304
6346
  z$1.strictObject({
6305
6347
  gatewayHost: profileSpaceHistoryGatewayHostSchema,
@@ -6324,7 +6366,7 @@ z$1.strictObject({
6324
6366
  creatorKind: z$1.union([profileSpaceCreatorKindSchema, z$1.null()]).optional(),
6325
6367
  spaceCreatedAt: nullableIsoDateTimeSchema$4.optional(),
6326
6368
  spaceUpdatedAt: nullableIsoDateTimeSchema$4.optional(),
6327
- lastJoinedAt: ISO_DATE_TIME_SCHEMA$7.optional(),
6369
+ lastJoinedAt: ISO_DATE_TIME_SCHEMA$6.optional(),
6328
6370
  lastSeenTs: nullableNonNegativeIntSchema$1.optional(),
6329
6371
  pinnedAt: nullableIsoDateTimeSchema$4.optional(),
6330
6372
  status: profileSpaceHistoryStatusSchema.optional()
@@ -6339,19 +6381,19 @@ z$1.strictObject({
6339
6381
  reason: z$1.string().trim().min(1).max(500).optional()
6340
6382
  });
6341
6383
  const patchProfileSpaceHistoryStatusResponseSchema = z$1.strictObject({
6342
- profileId: trimmedNonEmptyStringSchema$8,
6384
+ profileId: trimmedNonEmptyStringSchema$7,
6343
6385
  gatewayHost: profileSpaceHistoryGatewayHostSchema,
6344
- spaceId: trimmedNonEmptyStringSchema$8,
6386
+ spaceId: trimmedNonEmptyStringSchema$7,
6345
6387
  status: profileSpaceHistoryStatusSchema,
6346
- updatedAt: ISO_DATE_TIME_SCHEMA$7
6388
+ updatedAt: ISO_DATE_TIME_SCHEMA$6
6347
6389
  });
6348
6390
  //#endregion
6349
6391
  //#region ../../packages/schemas/dist/schemas/http/account-space-index.js
6350
- const ISO_DATE_TIME_SCHEMA$6 = z$1.iso.datetime({ offset: true });
6351
- const trimmedNonEmptyStringSchema$7 = z$1.string().trim().min(1);
6352
- const nullableTrimmedStringSchema$5 = z$1.union([trimmedNonEmptyStringSchema$7, z$1.null()]);
6392
+ const ISO_DATE_TIME_SCHEMA$5 = z$1.iso.datetime({ offset: true });
6393
+ const trimmedNonEmptyStringSchema$6 = z$1.string().trim().min(1);
6394
+ const nullableTrimmedStringSchema$5 = z$1.union([trimmedNonEmptyStringSchema$6, z$1.null()]);
6353
6395
  const nullableNonNegativeIntSchema = z$1.union([z$1.number().int().min(0), z$1.null()]);
6354
- const nullableIsoDateTimeSchema$3 = z$1.union([ISO_DATE_TIME_SCHEMA$6, z$1.null()]);
6396
+ const nullableIsoDateTimeSchema$3 = z$1.union([ISO_DATE_TIME_SCHEMA$5, z$1.null()]);
6355
6397
  const ACCOUNT_SPACE_INDEX_MAX_LIMIT = 500;
6356
6398
  const NON_NEGATIVE_INT_RE$1 = /^\d+$/;
6357
6399
  const accountSpaceIndexScopeSchema = z$1.enum(["account", "profile"]);
@@ -6375,6 +6417,7 @@ const accountSpaceIndexIncludeDirectMessageProfileIdsSchema = z$1.preprocess((va
6375
6417
  return value === "true";
6376
6418
  }, z$1.boolean()).optional();
6377
6419
  z$1.strictObject({
6420
+ includeMessagePreviews: z$1.preprocess((value) => value === true || value === "true", z$1.boolean()).optional(),
6378
6421
  includeMemberPreviews: z$1.preprocess((value) => value === true || value === "true", z$1.boolean()).optional(),
6379
6422
  gatewayHost: profileSpaceHistoryGatewayHostSchema,
6380
6423
  includeDirectMessageProfileIds: accountSpaceIndexIncludeDirectMessageProfileIdsSchema,
@@ -6382,18 +6425,24 @@ z$1.strictObject({
6382
6425
  includePurposes: accountSpaceIndexIncludePurposesSchema,
6383
6426
  limit: accountSpaceIndexLimitSchema,
6384
6427
  scope: accountSpaceIndexScopeSchema.default("account"),
6385
- selectedProfileId: trimmedNonEmptyStringSchema$7
6428
+ selectedProfileId: trimmedNonEmptyStringSchema$6
6386
6429
  });
6387
6430
  const accountSpaceIndexJoinedProfileSchema = z$1.strictObject({
6388
- lastJoinedAt: ISO_DATE_TIME_SCHEMA$6,
6431
+ lastJoinedAt: ISO_DATE_TIME_SCHEMA$5,
6389
6432
  pinnedAt: nullableIsoDateTimeSchema$3,
6390
- profileId: trimmedNonEmptyStringSchema$7,
6391
- profileName: trimmedNonEmptyStringSchema$7
6433
+ profileId: trimmedNonEmptyStringSchema$6,
6434
+ profileName: trimmedNonEmptyStringSchema$6
6392
6435
  });
6393
6436
  const accountSpaceIndexItemSchema = z$1.strictObject({
6437
+ messagePreview: z$1.strictObject({
6438
+ signalId: trimmedNonEmptyStringSchema$6,
6439
+ profileId: trimmedNonEmptyStringSchema$6,
6440
+ timestamp: z$1.number().int().nonnegative(),
6441
+ text: z$1.string().max(240)
6442
+ }).nullable().optional(),
6394
6443
  memberPreviews: z$1.array(z$1.strictObject({
6395
- profileId: trimmedNonEmptyStringSchema$7,
6396
- profileName: trimmedNonEmptyStringSchema$7,
6444
+ profileId: trimmedNonEmptyStringSchema$6,
6445
+ profileName: trimmedNonEmptyStringSchema$6,
6397
6446
  profileKind: z$1.enum(["human", "agent"]),
6398
6447
  agentControllerRef: nullableTrimmedStringSchema$5
6399
6448
  })).max(3).optional(),
@@ -6403,31 +6452,31 @@ const accountSpaceIndexItemSchema = z$1.strictObject({
6403
6452
  creatorProfileName: nullableTrimmedStringSchema$5,
6404
6453
  gatewayHost: profileSpaceHistoryGatewayHostSchema,
6405
6454
  joinedProfiles: z$1.array(accountSpaceIndexJoinedProfileSchema),
6406
- lastJoinedAt: ISO_DATE_TIME_SCHEMA$6,
6455
+ lastJoinedAt: ISO_DATE_TIME_SCHEMA$5,
6407
6456
  lastSeenTs: nullableNonNegativeIntSchema,
6408
- openProfileId: trimmedNonEmptyStringSchema$7,
6409
- openProfileName: trimmedNonEmptyStringSchema$7,
6410
- organizationId: trimmedNonEmptyStringSchema$7,
6457
+ openProfileId: trimmedNonEmptyStringSchema$6,
6458
+ openProfileName: trimmedNonEmptyStringSchema$6,
6459
+ organizationId: trimmedNonEmptyStringSchema$6,
6411
6460
  pinnedAt: nullableIsoDateTimeSchema$3,
6412
- pinnedProfileIds: z$1.array(trimmedNonEmptyStringSchema$7),
6461
+ pinnedProfileIds: z$1.array(trimmedNonEmptyStringSchema$6),
6413
6462
  spaceCreatedAt: nullableIsoDateTimeSchema$3,
6414
- spaceId: trimmedNonEmptyStringSchema$7,
6415
- spaceName: trimmedNonEmptyStringSchema$7,
6463
+ spaceId: trimmedNonEmptyStringSchema$6,
6464
+ spaceName: trimmedNonEmptyStringSchema$6,
6416
6465
  activeAgentCount: nullableNonNegativeIntSchema.optional(),
6417
6466
  activeHumanCount: nullableNonNegativeIntSchema.optional(),
6418
6467
  activeMemberCount: nullableNonNegativeIntSchema.optional(),
6419
6468
  directMessageConvertedAt: nullableIsoDateTimeSchema$3.optional(),
6420
- directMessageProfileIds: z$1.union([z$1.tuple([trimmedNonEmptyStringSchema$7, trimmedNonEmptyStringSchema$7]), z$1.null()]).optional(),
6469
+ directMessageProfileIds: z$1.union([z$1.tuple([trimmedNonEmptyStringSchema$6, trimmedNonEmptyStringSchema$6]), z$1.null()]).optional(),
6421
6470
  spacePurpose: nullableTrimmedStringSchema$5.optional(),
6422
6471
  spaceUpdatedAt: nullableIsoDateTimeSchema$3,
6423
- status: trimmedNonEmptyStringSchema$7,
6424
- updatedAt: ISO_DATE_TIME_SCHEMA$6,
6472
+ status: trimmedNonEmptyStringSchema$6,
6473
+ updatedAt: ISO_DATE_TIME_SCHEMA$5,
6425
6474
  visibility: spaceOrganizationVisibilitySchema
6426
6475
  });
6427
6476
  const accountSpaceIndexDeletedItemSchema = z$1.strictObject({
6428
- deletedAt: ISO_DATE_TIME_SCHEMA$6,
6477
+ deletedAt: ISO_DATE_TIME_SCHEMA$5,
6429
6478
  deletedByProfileName: nullableTrimmedStringSchema$5,
6430
- spaceId: trimmedNonEmptyStringSchema$7,
6479
+ spaceId: trimmedNonEmptyStringSchema$6,
6431
6480
  spaceName: nullableTrimmedStringSchema$5
6432
6481
  });
6433
6482
  const accountSpaceIndexResponseSchema = z$1.strictObject({
@@ -7129,7 +7178,7 @@ const CONNECTOR_APP_REQUEST_STATUSES = [
7129
7178
  "available",
7130
7179
  "declined"
7131
7180
  ];
7132
- const trimmedNonEmptyStringSchema$6 = string().trim().min(1);
7181
+ const trimmedNonEmptyStringSchema$5 = string().trim().min(1);
7133
7182
  const timestampMsSchema$1 = number().int().nonnegative();
7134
7183
  const connectorCredentialValueSchema = string().min(1).max(8192);
7135
7184
  const connectorAppRequestOptionalTextSchema = string().trim().min(1).max(2e3).nullable();
@@ -7148,30 +7197,30 @@ const connectorConnectionSchema = strictObject({
7148
7197
  connectionName: connectorConnectionNameSchema,
7149
7198
  createdAtMs: timestampMsSchema$1,
7150
7199
  disconnectedAtMs: timestampMsSchema$1.nullable(),
7151
- organizationId: trimmedNonEmptyStringSchema$6,
7152
- ownerDisplayName: trimmedNonEmptyStringSchema$6,
7200
+ organizationId: trimmedNonEmptyStringSchema$5,
7201
+ ownerDisplayName: trimmedNonEmptyStringSchema$5,
7153
7202
  scope: connectorConnectionScopeSchema.default("member"),
7154
7203
  service: connectorServiceSchema,
7155
7204
  status: connectorConnectionStatusSchema,
7156
7205
  updatedAtMs: timestampMsSchema$1,
7157
- userId: trimmedNonEmptyStringSchema$6
7206
+ userId: trimmedNonEmptyStringSchema$5
7158
7207
  });
7159
7208
  strictObject({
7160
7209
  connections: array(connectorConnectionSchema),
7161
- currentUserId: trimmedNonEmptyStringSchema$6,
7162
- organizationId: trimmedNonEmptyStringSchema$6
7210
+ currentUserId: trimmedNonEmptyStringSchema$5,
7211
+ organizationId: trimmedNonEmptyStringSchema$5
7163
7212
  });
7164
7213
  const connectorAppRequestSchema = strictObject({
7165
7214
  availableAtMs: timestampMsSchema$1.nullable(),
7166
7215
  createdAtMs: timestampMsSchema$1,
7167
7216
  id: string().trim().min(1).max(128),
7168
7217
  notifiedAtMs: timestampMsSchema$1.nullable(),
7169
- organizationId: trimmedNonEmptyStringSchema$6,
7218
+ organizationId: trimmedNonEmptyStringSchema$5,
7170
7219
  providerId: string().trim().min(1).max(160).nullable(),
7171
7220
  providerName: string().trim().min(1).max(120),
7172
7221
  requestedCapabilities: connectorAppRequestedCapabilitiesSchema,
7173
- requesterMemberId: trimmedNonEmptyStringSchema$6.nullable(),
7174
- requesterUserId: trimmedNonEmptyStringSchema$6.nullable(),
7222
+ requesterMemberId: trimmedNonEmptyStringSchema$5.nullable(),
7223
+ requesterUserId: trimmedNonEmptyStringSchema$5.nullable(),
7175
7224
  source: connectorAppRequestSourceSchema,
7176
7225
  status: connectorAppRequestStatusSchema,
7177
7226
  updatedAtMs: timestampMsSchema$1,
@@ -7197,12 +7246,12 @@ strictObject({
7197
7246
  });
7198
7247
  strictObject({ request: connectorAppRequestSchema });
7199
7248
  strictObject({
7200
- currentUserId: trimmedNonEmptyStringSchema$6,
7201
- organizationId: trimmedNonEmptyStringSchema$6,
7249
+ currentUserId: trimmedNonEmptyStringSchema$5,
7250
+ organizationId: trimmedNonEmptyStringSchema$5,
7202
7251
  requests: array(connectorAppRequestSchema).max(500)
7203
7252
  });
7204
7253
  strictObject({
7205
- organizationId: trimmedNonEmptyStringSchema$6,
7254
+ organizationId: trimmedNonEmptyStringSchema$5,
7206
7255
  providers: array(strictObject({
7207
7256
  authTypes: array(string().trim().min(1).max(80)).max(12),
7208
7257
  categories: array(strictObject({
@@ -7232,12 +7281,12 @@ strictObject({
7232
7281
  });
7233
7282
  discriminatedUnion("status", [
7234
7283
  strictObject({
7235
- actorProfileId: trimmedNonEmptyStringSchema$6,
7284
+ actorProfileId: trimmedNonEmptyStringSchema$5,
7236
7285
  installationId: githubAppInstallationIdSchema,
7237
- organizationId: trimmedNonEmptyStringSchema$6,
7286
+ organizationId: trimmedNonEmptyStringSchema$5,
7238
7287
  status: literal("valid"),
7239
7288
  targetConnectionName: connectorConnectionNameSchema,
7240
- userId: trimmedNonEmptyStringSchema$6,
7289
+ userId: trimmedNonEmptyStringSchema$5,
7241
7290
  verificationConnectionName: connectorConnectionNameSchema
7242
7291
  }),
7243
7292
  strictObject({ status: literal("expired") }),
@@ -7245,10 +7294,10 @@ discriminatedUnion("status", [
7245
7294
  ]);
7246
7295
  strictObject({
7247
7296
  installationId: githubAppInstallationIdSchema,
7248
- organizationId: trimmedNonEmptyStringSchema$6,
7297
+ organizationId: trimmedNonEmptyStringSchema$5,
7249
7298
  status: literal("verifying"),
7250
7299
  targetConnectionName: connectorConnectionNameSchema,
7251
- userId: trimmedNonEmptyStringSchema$6,
7300
+ userId: trimmedNonEmptyStringSchema$5,
7252
7301
  verificationConnectionName: connectorConnectionNameSchema
7253
7302
  }).nullable();
7254
7303
  strictObject({
@@ -7257,10 +7306,10 @@ strictObject({
7257
7306
  });
7258
7307
  strictObject({ connection: connectorConnectionSchema });
7259
7308
  strictObject({
7260
- expectedOrganizationId: trimmedNonEmptyStringSchema$6,
7309
+ expectedOrganizationId: trimmedNonEmptyStringSchema$5,
7261
7310
  includeAuthorizationExpiry: literal("true").optional()
7262
7311
  });
7263
- strictObject({ userId: trimmedNonEmptyStringSchema$6 });
7312
+ strictObject({ userId: trimmedNonEmptyStringSchema$5 });
7264
7313
  strictObject({ connection: connectorConnectionSchema });
7265
7314
  strictObject({
7266
7315
  availableConnectionNames: array(connectorConnectionNameSchema).max(500),
@@ -7690,19 +7739,19 @@ const submitRuntimeProviderConversationProofsResponseSchema = z$1.strictObject({
7690
7739
  });
7691
7740
  //#endregion
7692
7741
  //#region ../../packages/schemas/dist/schemas/http/slack-workspace-directory.js
7693
- const ISO_DATE_TIME_SCHEMA$5 = z$1.iso.datetime({ offset: true });
7694
- const trimmedNonEmptyStringSchema$5 = z$1.string().trim().min(1);
7695
- const nullableTrimmedStringSchema$4 = z$1.union([trimmedNonEmptyStringSchema$5, z$1.null()]);
7742
+ const ISO_DATE_TIME_SCHEMA$4 = z$1.iso.datetime({ offset: true });
7743
+ const trimmedNonEmptyStringSchema$4 = z$1.string().trim().min(1);
7744
+ const nullableTrimmedStringSchema$4 = z$1.union([trimmedNonEmptyStringSchema$4, z$1.null()]);
7696
7745
  z$1.strictObject({
7697
- cursor: trimmedNonEmptyStringSchema$5.max(2048).optional(),
7746
+ cursor: trimmedNonEmptyStringSchema$4.max(2048).optional(),
7698
7747
  includeMemberUserId: z$1.literal(true).optional(),
7699
7748
  limit: z$1.number().int().min(1).max(200).optional()
7700
7749
  });
7701
7750
  const slackWorkspaceMembershipSchema = z$1.discriminatedUnion("status", [
7702
7751
  z$1.strictObject({
7703
7752
  matchedBy: z$1.enum(["identity_link", "email"]),
7704
- memberDisplayName: trimmedNonEmptyStringSchema$5,
7705
- memberUserId: trimmedNonEmptyStringSchema$5.optional(),
7753
+ memberDisplayName: trimmedNonEmptyStringSchema$4,
7754
+ memberUserId: trimmedNonEmptyStringSchema$4.optional(),
7706
7755
  status: z$1.literal("member")
7707
7756
  }),
7708
7757
  z$1.strictObject({ status: z$1.literal("not_member") }),
@@ -7712,26 +7761,26 @@ const slackWorkspaceMembershipSchema = z$1.discriminatedUnion("status", [
7712
7761
  })
7713
7762
  ]);
7714
7763
  const slackWorkspaceDirectoryMemberSchema = z$1.strictObject({
7715
- displayName: trimmedNonEmptyStringSchema$5,
7764
+ displayName: trimmedNonEmptyStringSchema$4,
7716
7765
  email: nullableTrimmedStringSchema$4,
7717
7766
  isAdmin: z$1.boolean(),
7718
7767
  isGuest: z$1.boolean(),
7719
7768
  isOwner: z$1.boolean(),
7720
7769
  realName: nullableTrimmedStringSchema$4,
7721
- slackUserId: trimmedNonEmptyStringSchema$5,
7770
+ slackUserId: trimmedNonEmptyStringSchema$4,
7722
7771
  title: nullableTrimmedStringSchema$4,
7723
7772
  openMeldMembership: slackWorkspaceMembershipSchema
7724
7773
  });
7725
7774
  const slackWorkspaceDirectoryResponseSchema = z$1.strictObject({
7726
- generatedAt: ISO_DATE_TIME_SCHEMA$5,
7775
+ generatedAt: ISO_DATE_TIME_SCHEMA$4,
7727
7776
  members: z$1.array(slackWorkspaceDirectoryMemberSchema),
7728
7777
  nextCursor: nullableTrimmedStringSchema$4,
7729
- organizationId: trimmedNonEmptyStringSchema$5
7778
+ organizationId: trimmedNonEmptyStringSchema$4
7730
7779
  });
7731
7780
  const slackReadUnavailableResponseSchema = z$1.strictObject({
7732
- message: trimmedNonEmptyStringSchema$5.max(500),
7733
- nextAction: trimmedNonEmptyStringSchema$5.max(500),
7734
- organizationId: trimmedNonEmptyStringSchema$5,
7781
+ message: trimmedNonEmptyStringSchema$4.max(500),
7782
+ nextAction: trimmedNonEmptyStringSchema$4.max(500),
7783
+ organizationId: trimmedNonEmptyStringSchema$4,
7735
7784
  reasonCode: z$1.enum([
7736
7785
  "channel_access_required",
7737
7786
  "connection_state_unavailable",
@@ -7742,11 +7791,11 @@ const slackReadUnavailableResponseSchema = z$1.strictObject({
7742
7791
  z$1.union([slackWorkspaceDirectoryResponseSchema, slackReadUnavailableResponseSchema]);
7743
7792
  //#endregion
7744
7793
  //#region ../../packages/schemas/dist/schemas/http/slack-channel-reads.js
7745
- const ISO_DATE_TIME_SCHEMA$4 = z$1.iso.datetime({ offset: true });
7746
- const trimmedNonEmptyStringSchema$4 = z$1.string().trim().min(1);
7747
- const nullableTrimmedStringSchema$3 = z$1.union([trimmedNonEmptyStringSchema$4, z$1.null()]);
7748
- const slackChannelNameSchema = trimmedNonEmptyStringSchema$4.max(80);
7749
- const slackCursorSchema = trimmedNonEmptyStringSchema$4.max(2048).optional();
7794
+ const ISO_DATE_TIME_SCHEMA$3 = z$1.iso.datetime({ offset: true });
7795
+ const trimmedNonEmptyStringSchema$3 = z$1.string().trim().min(1);
7796
+ const nullableTrimmedStringSchema$3 = z$1.union([trimmedNonEmptyStringSchema$3, z$1.null()]);
7797
+ const slackChannelNameSchema = trimmedNonEmptyStringSchema$3.max(80);
7798
+ const slackCursorSchema = trimmedNonEmptyStringSchema$3.max(2048).optional();
7750
7799
  const CENTER_AGENT_SLACK_FILE_MAX_BASE64_CHARACTERS = Math.ceil(5242880 / 3) * 4;
7751
7800
  const slackFileContentBase64Schema = z$1.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);
7752
7801
  z$1.strictObject({
@@ -7762,16 +7811,16 @@ z$1.strictObject({
7762
7811
  z$1.strictObject({
7763
7812
  channelName: slackChannelNameSchema,
7764
7813
  cursor: slackCursorSchema,
7765
- expectedChannelId: trimmedNonEmptyStringSchema$4.max(80).optional(),
7814
+ expectedChannelId: trimmedNonEmptyStringSchema$3.max(80).optional(),
7766
7815
  includeFiles: z$1.literal(true).optional(),
7767
7816
  limit: z$1.number().int().min(1).max(15).optional()
7768
7817
  });
7769
7818
  z$1.union([z$1.strictObject({
7770
7819
  channelName: slackChannelNameSchema,
7771
- fileId: trimmedNonEmptyStringSchema$4.max(256)
7820
+ fileId: trimmedNonEmptyStringSchema$3.max(256)
7772
7821
  }), z$1.strictObject({
7773
- channelId: trimmedNonEmptyStringSchema$4.max(80),
7774
- fileId: trimmedNonEmptyStringSchema$4.max(256)
7822
+ channelId: trimmedNonEmptyStringSchema$3.max(80),
7823
+ fileId: trimmedNonEmptyStringSchema$3.max(256)
7775
7824
  })]);
7776
7825
  const slackChannelSummarySchema = z$1.strictObject({
7777
7826
  channelName: slackChannelNameSchema,
@@ -7781,20 +7830,20 @@ const slackChannelSummarySchema = z$1.strictObject({
7781
7830
  });
7782
7831
  const slackChannelListResponseSchema = z$1.strictObject({
7783
7832
  channels: z$1.array(slackChannelSummarySchema),
7784
- generatedAt: ISO_DATE_TIME_SCHEMA$4,
7833
+ generatedAt: ISO_DATE_TIME_SCHEMA$3,
7785
7834
  nextCursor: nullableTrimmedStringSchema$3,
7786
- organizationId: trimmedNonEmptyStringSchema$4
7835
+ organizationId: trimmedNonEmptyStringSchema$3
7787
7836
  });
7788
7837
  const slackChannelMembersResponseSchema = z$1.strictObject({
7789
- channelId: trimmedNonEmptyStringSchema$4.max(80).optional(),
7838
+ channelId: trimmedNonEmptyStringSchema$3.max(80).optional(),
7790
7839
  channelName: slackChannelNameSchema,
7791
- generatedAt: ISO_DATE_TIME_SCHEMA$4,
7840
+ generatedAt: ISO_DATE_TIME_SCHEMA$3,
7792
7841
  members: z$1.array(slackWorkspaceDirectoryMemberSchema),
7793
7842
  nextCursor: nullableTrimmedStringSchema$3,
7794
- organizationId: trimmedNonEmptyStringSchema$4
7843
+ organizationId: trimmedNonEmptyStringSchema$3
7795
7844
  });
7796
7845
  const slackFileMetadataSchema = z$1.strictObject({
7797
- fileId: trimmedNonEmptyStringSchema$4.max(256),
7846
+ fileId: trimmedNonEmptyStringSchema$3.max(256),
7798
7847
  mimeType: nullableTrimmedStringSchema$3,
7799
7848
  name: nullableTrimmedStringSchema$3,
7800
7849
  permalink: z$1.union([z$1.url({ protocol: /^https$/u }), z$1.null()]),
@@ -7804,22 +7853,22 @@ const slackChannelHistoryMessageSchema = z$1.strictObject({
7804
7853
  authorDisplayName: nullableTrimmedStringSchema$3,
7805
7854
  authorSlackUserId: nullableTrimmedStringSchema$3,
7806
7855
  isAuthorBot: z$1.boolean(),
7807
- messageTs: trimmedNonEmptyStringSchema$4,
7856
+ messageTs: trimmedNonEmptyStringSchema$3,
7808
7857
  files: z$1.array(slackFileMetadataSchema).optional(),
7809
7858
  text: nullableTrimmedStringSchema$3
7810
7859
  });
7811
7860
  const slackChannelHistoryResponseSchema = z$1.strictObject({
7812
7861
  channelName: slackChannelNameSchema,
7813
- generatedAt: ISO_DATE_TIME_SCHEMA$4,
7862
+ generatedAt: ISO_DATE_TIME_SCHEMA$3,
7814
7863
  messages: z$1.array(slackChannelHistoryMessageSchema),
7815
7864
  nextCursor: nullableTrimmedStringSchema$3,
7816
- organizationId: trimmedNonEmptyStringSchema$4
7865
+ organizationId: trimmedNonEmptyStringSchema$3
7817
7866
  });
7818
7867
  const slackFileReadResponseSchema = z$1.strictObject({
7819
7868
  channelName: slackChannelNameSchema.optional(),
7820
7869
  contentBase64: slackFileContentBase64Schema,
7821
7870
  file: slackFileMetadataSchema,
7822
- organizationId: trimmedNonEmptyStringSchema$4
7871
+ organizationId: trimmedNonEmptyStringSchema$3
7823
7872
  });
7824
7873
  z$1.union([slackChannelListResponseSchema, slackReadUnavailableResponseSchema]);
7825
7874
  z$1.union([slackChannelMembersResponseSchema, slackReadUnavailableResponseSchema]);
@@ -8170,6 +8219,8 @@ enumFactory(Object.values({
8170
8219
  }));
8171
8220
  enumFactory(Object.values({
8172
8221
  CANCEL_EXECUTION: "cancelExecution",
8222
+ RECEIVE_EXECUTION_INPUT: "receiveExecutionInput",
8223
+ READ_EXECUTION_INPUT: "readExecutionInput",
8173
8224
  READ_EXECUTION_STATE: "readExecutionState",
8174
8225
  RECONCILE_EXECUTION: "reconcileExecution",
8175
8226
  READ_RUNTIME_DIAGNOSTICS: "readRuntimeDiagnostics",
@@ -8539,7 +8590,7 @@ const remoteAgentTurnRuntimeEvidenceSchema = strictObject({
8539
8590
  toolCallLimit: number().int().positive(),
8540
8591
  updatedAtMs: number().int().nonnegative()
8541
8592
  });
8542
- const remoteAgentWorkerRuntimeDiagnosticsResponseSchema = strictObject({
8593
+ const remoteAgentWorkerRuntimeDiagnosticsResponseV1Schema = strictObject({
8543
8594
  activeRuns: array(remoteAgentRuntimeActiveRunDiagnosticSchema).max(50),
8544
8595
  attemptMarkers: array(remoteAgentRuntimeAttemptMarkerDiagnosticSchema).max(50),
8545
8596
  callbackContexts: array(remoteAgentRuntimeCallbackContextDiagnosticSchema).max(50),
@@ -8552,6 +8603,28 @@ const remoteAgentWorkerRuntimeDiagnosticsResponseSchema = strictObject({
8552
8603
  turnObservability: array(remoteAgentTurnRuntimeEvidenceSchema).max(50).optional(),
8553
8604
  v: literal(1)
8554
8605
  });
8606
+ const remoteAgentWorkerRuntimeDiagnosticsResponseSchema = discriminatedUnion("v", [remoteAgentWorkerRuntimeDiagnosticsResponseV1Schema, remoteAgentWorkerRuntimeDiagnosticsResponseV1Schema.omit({
8607
+ attemptMarkers: true,
8608
+ submissions: true,
8609
+ v: true
8610
+ }).extend({
8611
+ submissions: array(remoteAgentRuntimeSubmissionDiagnosticSchema.omit({
8612
+ maxRetry: true,
8613
+ recoveryRequestedAtMs: true
8614
+ }).extend({
8615
+ maxAttempts: number().int().positive(),
8616
+ joinedInto: nullableNonEmptyStringSchema,
8617
+ status: enumFactory([
8618
+ "queued",
8619
+ "running",
8620
+ "terminalizing",
8621
+ "settled",
8622
+ "joining",
8623
+ "joined"
8624
+ ])
8625
+ })).max(50),
8626
+ v: literal(2)
8627
+ })]);
8555
8628
  const remoteAgentCoreCallbackIdentitySchema = {
8556
8629
  submissionId: nonEmptyStringSchema,
8557
8630
  idempotencyKey: nonEmptyStringSchema,
@@ -8918,19 +8991,27 @@ function normalizeOptionalClientMessageId(value) {
8918
8991
  }
8919
8992
  //#endregion
8920
8993
  //#region ../../packages/schemas/dist/schemas/http/space-dispatch-trace.js
8921
- const ISO_DATE_TIME_SCHEMA$3 = iso.datetime({ offset: true });
8922
- const trimmedNonEmptyStringSchema$3 = string().trim().min(1);
8994
+ const ISO_DATE_TIME_SCHEMA$2 = iso.datetime({ offset: true });
8995
+ const trimmedNonEmptyStringSchema$2 = string().trim().min(1);
8923
8996
  const SPACE_DISPATCH_TRACE_TIMEOUT_POLICY_MAX_MS = 6048e5;
8924
8997
  const SPACE_DISPATCH_TRACE_PROMPT_LENGTH_MAX = 1e6;
8925
8998
  const SPACE_DISPATCH_TRACE_PROMPT_PREVIEW_MAX_CHARS = 1200;
8926
8999
  const SPACE_DISPATCH_TRACE_RESPONSE_CONTRACT_VERSION_HEADER = "x-openmeld-space-dispatch-trace-response-version";
8927
9000
  const SPACE_DISPATCH_TRACE_INVALID_OUTPUT_PREVIEW_MAX_CHARS = 180;
8928
- union([literal(2), literal(3)]);
8929
- enumFactory([String(2), String(3)]).transform((value) => value === String(3) ? 3 : 2);
8930
- const boundedNullableTrimmedStringSchema = (maxLength) => union([trimmedNonEmptyStringSchema$3.max(maxLength), nullFactory()]);
9001
+ const spaceDispatchTraceResponseContractVersionSchema = union([
9002
+ literal(2),
9003
+ literal(3),
9004
+ literal(4)
9005
+ ]);
9006
+ enumFactory([
9007
+ "2",
9008
+ String(3),
9009
+ String(4)
9010
+ ]).transform(Number).pipe(spaceDispatchTraceResponseContractVersionSchema);
9011
+ const boundedNullableTrimmedStringSchema = (maxLength) => union([trimmedNonEmptyStringSchema$2.max(maxLength), nullFactory()]);
8931
9012
  const nullableTrimmedStringSchema$2 = boundedNullableTrimmedStringSchema(4096);
8932
9013
  const nullableSignalTextSchema = boundedNullableTrimmedStringSchema(MAX_TEXT_LENGTH$1);
8933
- const nullableIsoDateTimeSchema$2 = union([ISO_DATE_TIME_SCHEMA$3, nullFactory()]);
9014
+ const nullableIsoDateTimeSchema$2 = union([ISO_DATE_TIME_SCHEMA$2, nullFactory()]);
8934
9015
  const nullableIntegerSchema = union([int(), nullFactory()]);
8935
9016
  const boundedNullableNonNegativeIntegerSchema = (maxValue) => union([int().min(0).max(maxValue), nullFactory()]);
8936
9017
  const nullableProfileKindSchema = union([enumFactory([
@@ -8939,8 +9020,8 @@ const nullableProfileKindSchema = union([enumFactory([
8939
9020
  "system"
8940
9021
  ]), nullFactory()]);
8941
9022
  const dispatchTraceOwnerSchema = strictObject({
8942
- id: trimmedNonEmptyStringSchema$3,
8943
- kind: trimmedNonEmptyStringSchema$3
9023
+ id: trimmedNonEmptyStringSchema$2,
9024
+ kind: trimmedNonEmptyStringSchema$2
8944
9025
  });
8945
9026
  const spaceDispatchTraceDispatchStatusSchema = enumFactory([
8946
9027
  "queued",
@@ -8964,34 +9045,34 @@ const spaceDispatchTraceAttemptStatusSchema = enumFactory([
8964
9045
  "waiting_result"
8965
9046
  ]);
8966
9047
  const spaceDispatchTraceQuerySchema = strictObject({
8967
- spaceId: trimmedNonEmptyStringSchema$3,
8968
- dispatchId: trimmedNonEmptyStringSchema$3
9048
+ spaceId: trimmedNonEmptyStringSchema$2,
9049
+ dispatchId: trimmedNonEmptyStringSchema$2
8969
9050
  });
8970
9051
  const spaceDispatchTraceDispatchSchema = strictObject({
8971
9052
  factSource: literal("dispatch_ledger"),
8972
- dispatchId: trimmedNonEmptyStringSchema$3,
8973
- idempotencyKey: trimmedNonEmptyStringSchema$3,
8974
- sourceEventId: trimmedNonEmptyStringSchema$3,
9053
+ dispatchId: trimmedNonEmptyStringSchema$2,
9054
+ idempotencyKey: trimmedNonEmptyStringSchema$2,
9055
+ sourceEventId: trimmedNonEmptyStringSchema$2,
8975
9056
  sourceClientMessageId: nullableTrimmedStringSchema$2,
8976
9057
  owner: union([dispatchTraceOwnerSchema, nullFactory()]),
8977
- targetProfileId: trimmedNonEmptyStringSchema$3,
9058
+ targetProfileId: trimmedNonEmptyStringSchema$2,
8978
9059
  status: spaceDispatchTraceDispatchStatusSchema,
8979
- firstSeenAt: ISO_DATE_TIME_SCHEMA$3,
8980
- lastAttemptAt: ISO_DATE_TIME_SCHEMA$3,
9060
+ firstSeenAt: ISO_DATE_TIME_SCHEMA$2,
9061
+ lastAttemptAt: ISO_DATE_TIME_SCHEMA$2,
8981
9062
  attemptCount: int().min(0),
8982
9063
  latestAttemptId: nullableTrimmedStringSchema$2
8983
9064
  });
8984
9065
  const spaceDispatchTraceLatestAttemptSchema = strictObject({
8985
9066
  factSource: literal("dispatch_attempt"),
8986
- attemptId: trimmedNonEmptyStringSchema$3,
8987
- dispatchId: trimmedNonEmptyStringSchema$3,
8988
- idempotencyKey: trimmedNonEmptyStringSchema$3,
9067
+ attemptId: trimmedNonEmptyStringSchema$2,
9068
+ dispatchId: trimmedNonEmptyStringSchema$2,
9069
+ idempotencyKey: trimmedNonEmptyStringSchema$2,
8989
9070
  attemptNo: int().min(1),
8990
9071
  status: spaceDispatchTraceAttemptStatusSchema,
8991
9072
  daemonSessionId: nullableTrimmedStringSchema$2,
8992
9073
  connectionGeneration: nullableIntegerSchema,
8993
9074
  leaseEpoch: nullableIntegerSchema,
8994
- createdAt: ISO_DATE_TIME_SCHEMA$3,
9075
+ createdAt: ISO_DATE_TIME_SCHEMA$2,
8995
9076
  startedAt: nullableIsoDateTimeSchema$2,
8996
9077
  finishedAt: nullableIsoDateTimeSchema$2,
8997
9078
  errorCode: nullableTrimmedStringSchema$2,
@@ -8999,10 +9080,10 @@ const spaceDispatchTraceLatestAttemptSchema = strictObject({
8999
9080
  });
9000
9081
  const spaceDispatchTraceNativeDeliverySchema = strictObject({
9001
9082
  factSource: literal("remote_agent_native_delivery_ledger"),
9002
- deliveryId: trimmedNonEmptyStringSchema$3,
9003
- dispatchId: trimmedNonEmptyStringSchema$3,
9004
- idempotencyKey: trimmedNonEmptyStringSchema$3,
9005
- bindingId: trimmedNonEmptyStringSchema$3,
9083
+ deliveryId: trimmedNonEmptyStringSchema$2,
9084
+ dispatchId: trimmedNonEmptyStringSchema$2,
9085
+ idempotencyKey: trimmedNonEmptyStringSchema$2,
9086
+ bindingId: trimmedNonEmptyStringSchema$2,
9006
9087
  runtimeFamily: literal("hosted_center_agent"),
9007
9088
  status: enumFactory([
9008
9089
  "guardrail_rejected",
@@ -9022,9 +9103,9 @@ const spaceDispatchTraceNativeDeliverySchema = strictObject({
9022
9103
  "slack",
9023
9104
  "space"
9024
9105
  ]),
9025
- organizationId: trimmedNonEmptyStringSchema$3,
9026
- spaceId: trimmedNonEmptyStringSchema$3,
9027
- targetProfileId: trimmedNonEmptyStringSchema$3
9106
+ organizationId: trimmedNonEmptyStringSchema$2,
9107
+ spaceId: trimmedNonEmptyStringSchema$2,
9108
+ targetProfileId: trimmedNonEmptyStringSchema$2
9028
9109
  }),
9029
9110
  controllerNormalization: strictObject({
9030
9111
  factSource: literal("remote_agent_native_delivery_ledger"),
@@ -9039,38 +9120,38 @@ const spaceDispatchTraceNativeDeliverySchema = strictObject({
9039
9120
  ]),
9040
9121
  bindingUpdatedAt: nullableIsoDateTimeSchema$2
9041
9122
  }),
9042
- createdAt: ISO_DATE_TIME_SCHEMA$3,
9043
- updatedAt: ISO_DATE_TIME_SCHEMA$3
9123
+ createdAt: ISO_DATE_TIME_SCHEMA$2,
9124
+ updatedAt: ISO_DATE_TIME_SCHEMA$2
9044
9125
  });
9045
9126
  const spaceDispatchTraceOpsDecisionSchema = strictObject({
9046
9127
  factSource: literal("ops_decision"),
9047
- id: trimmedNonEmptyStringSchema$3,
9048
- decisionCode: trimmedNonEmptyStringSchema$3,
9049
- decidedBy: trimmedNonEmptyStringSchema$3,
9050
- source: trimmedNonEmptyStringSchema$3,
9051
- decidedAt: ISO_DATE_TIME_SCHEMA$3,
9128
+ id: trimmedNonEmptyStringSchema$2,
9129
+ decisionCode: trimmedNonEmptyStringSchema$2,
9130
+ decidedBy: trimmedNonEmptyStringSchema$2,
9131
+ source: trimmedNonEmptyStringSchema$2,
9132
+ decidedAt: ISO_DATE_TIME_SCHEMA$2,
9052
9133
  correlationId: nullableTrimmedStringSchema$2,
9053
9134
  expectedRecoveryCriteria: nullableTrimmedStringSchema$2
9054
9135
  });
9055
9136
  const spaceDispatchTraceReplySignalSchema = strictObject({
9056
9137
  factSource: enumFactory(["space_signal_by_published_signal_id", "space_signal_recent_window"]),
9057
- signalId: trimmedNonEmptyStringSchema$3,
9058
- profileId: trimmedNonEmptyStringSchema$3,
9138
+ signalId: trimmedNonEmptyStringSchema$2,
9139
+ profileId: trimmedNonEmptyStringSchema$2,
9059
9140
  profileKind: nullableProfileKindSchema,
9060
9141
  profileName: nullableTrimmedStringSchema$2,
9061
- text: trimmedNonEmptyStringSchema$3,
9062
- createdAt: ISO_DATE_TIME_SCHEMA$3
9142
+ text: trimmedNonEmptyStringSchema$2,
9143
+ createdAt: ISO_DATE_TIME_SCHEMA$2
9063
9144
  });
9064
9145
  const spaceDispatchTraceFinalVisibleMessageSchema = strictObject({
9065
9146
  factSource: enumFactory(["space_signal_by_published_signal_id", "space_final_reply_claim"]),
9066
- signalId: trimmedNonEmptyStringSchema$3,
9147
+ signalId: trimmedNonEmptyStringSchema$2,
9067
9148
  signalType: enumFactory([
9068
9149
  "signal.text",
9069
9150
  "signal.status",
9070
9151
  "signal.system_notice"
9071
9152
  ]),
9072
- dispatchId: trimmedNonEmptyStringSchema$3,
9073
- targetProfileId: trimmedNonEmptyStringSchema$3,
9153
+ dispatchId: trimmedNonEmptyStringSchema$2,
9154
+ targetProfileId: trimmedNonEmptyStringSchema$2,
9074
9155
  profileId: nullableTrimmedStringSchema$2,
9075
9156
  profileKind: nullableProfileKindSchema,
9076
9157
  profileName: nullableTrimmedStringSchema$2,
@@ -9083,7 +9164,7 @@ const spaceDispatchTraceFinalVisibleMessageSchema = strictObject({
9083
9164
  "wake_stopped"
9084
9165
  ]), nullFactory()]),
9085
9166
  statusType: nullableTrimmedStringSchema$2,
9086
- createdAt: ISO_DATE_TIME_SCHEMA$3
9167
+ createdAt: ISO_DATE_TIME_SCHEMA$2
9087
9168
  });
9088
9169
  const spaceDispatchTraceFinalVisibleMessageLinkageSchema = strictObject({
9089
9170
  status: enumFactory([
@@ -9099,7 +9180,7 @@ const spaceDispatchTraceFinalVisibleMessageLinkageSchema = strictObject({
9099
9180
  "space_final_reply_claim",
9100
9181
  "none"
9101
9182
  ]),
9102
- candidateSignalIds: array(trimmedNonEmptyStringSchema$3).max(16),
9183
+ candidateSignalIds: array(trimmedNonEmptyStringSchema$2).max(16),
9103
9184
  claimSignalId: nullableTrimmedStringSchema$2,
9104
9185
  selectedSignalId: nullableTrimmedStringSchema$2
9105
9186
  });
@@ -9139,14 +9220,14 @@ const spaceDispatchTraceFinalVisibleOutcomeSchema = strictObject({
9139
9220
  });
9140
9221
  const spaceDispatchTraceClaimLeaseSchema = strictObject({
9141
9222
  factSource: literal("dispatch_claim_lease"),
9142
- claimLeaseId: trimmedNonEmptyStringSchema$3,
9143
- dispatchId: trimmedNonEmptyStringSchema$3,
9144
- sourceEventId: trimmedNonEmptyStringSchema$3,
9223
+ claimLeaseId: trimmedNonEmptyStringSchema$2,
9224
+ dispatchId: trimmedNonEmptyStringSchema$2,
9225
+ sourceEventId: trimmedNonEmptyStringSchema$2,
9145
9226
  sourceClientMessageId: nullableTrimmedStringSchema$2,
9146
- targetProfileId: trimmedNonEmptyStringSchema$3,
9147
- bindingId: trimmedNonEmptyStringSchema$3,
9148
- openMeldServiceRuntimeId: trimmedNonEmptyStringSchema$3,
9149
- agentControllerRef: trimmedNonEmptyStringSchema$3,
9227
+ targetProfileId: trimmedNonEmptyStringSchema$2,
9228
+ bindingId: trimmedNonEmptyStringSchema$2,
9229
+ openMeldServiceRuntimeId: trimmedNonEmptyStringSchema$2,
9230
+ agentControllerRef: trimmedNonEmptyStringSchema$2,
9150
9231
  leaseState: enumFactory([
9151
9232
  "active",
9152
9233
  "cancelled",
@@ -9155,19 +9236,19 @@ const spaceDispatchTraceClaimLeaseSchema = strictObject({
9155
9236
  "superseded"
9156
9237
  ]),
9157
9238
  claimTraceReason: nullableTrimmedStringSchema$2,
9158
- createdAt: ISO_DATE_TIME_SCHEMA$3,
9159
- updatedAt: ISO_DATE_TIME_SCHEMA$3,
9160
- expiresAt: ISO_DATE_TIME_SCHEMA$3
9239
+ createdAt: ISO_DATE_TIME_SCHEMA$2,
9240
+ updatedAt: ISO_DATE_TIME_SCHEMA$2,
9241
+ expiresAt: ISO_DATE_TIME_SCHEMA$2
9161
9242
  });
9162
9243
  const spaceDispatchTraceResultSchema = strictObject({
9163
9244
  factSource: literal("dispatch_result"),
9164
- resultRef: trimmedNonEmptyStringSchema$3,
9165
- dispatchId: trimmedNonEmptyStringSchema$3,
9166
- resultKind: trimmedNonEmptyStringSchema$3,
9167
- publicOutcome: trimmedNonEmptyStringSchema$3,
9245
+ resultRef: trimmedNonEmptyStringSchema$2,
9246
+ dispatchId: trimmedNonEmptyStringSchema$2,
9247
+ resultKind: trimmedNonEmptyStringSchema$2,
9248
+ publicOutcome: trimmedNonEmptyStringSchema$2,
9168
9249
  publishedSignalId: nullableTrimmedStringSchema$2,
9169
9250
  statusType: nullableTrimmedStringSchema$2,
9170
- createdAt: ISO_DATE_TIME_SCHEMA$3
9251
+ createdAt: ISO_DATE_TIME_SCHEMA$2
9171
9252
  });
9172
9253
  const spaceDispatchTraceResultInboxPublishStateSchema = enumFactory([
9173
9254
  "result_accepted",
@@ -9180,20 +9261,20 @@ const spaceDispatchTraceResultInboxPublishStateSchema = enumFactory([
9180
9261
  ]);
9181
9262
  const spaceDispatchTraceResultInboxSchema = strictObject({
9182
9263
  factSource: literal("dispatch_result_inbox"),
9183
- resultKey: trimmedNonEmptyStringSchema$3,
9184
- dispatchId: trimmedNonEmptyStringSchema$3,
9185
- attemptId: trimmedNonEmptyStringSchema$3,
9186
- taskId: trimmedNonEmptyStringSchema$3,
9187
- targetProfileId: trimmedNonEmptyStringSchema$3,
9188
- daemonSessionId: trimmedNonEmptyStringSchema$3,
9264
+ resultKey: trimmedNonEmptyStringSchema$2,
9265
+ dispatchId: trimmedNonEmptyStringSchema$2,
9266
+ attemptId: trimmedNonEmptyStringSchema$2,
9267
+ taskId: trimmedNonEmptyStringSchema$2,
9268
+ targetProfileId: trimmedNonEmptyStringSchema$2,
9269
+ daemonSessionId: trimmedNonEmptyStringSchema$2,
9189
9270
  leaseEpoch: int(),
9190
9271
  submittedConnectionGeneration: int(),
9191
9272
  projectFailureContext: openMeldDaemonTaskResultProjectFailureContextSchema.optional(),
9192
9273
  publishState: spaceDispatchTraceResultInboxPublishStateSchema,
9193
9274
  publishedSignalId: nullableTrimmedStringSchema$2,
9194
9275
  publicationErrorCode: nullableTrimmedStringSchema$2,
9195
- acceptedAt: ISO_DATE_TIME_SCHEMA$3,
9196
- updatedAt: ISO_DATE_TIME_SCHEMA$3
9276
+ acceptedAt: ISO_DATE_TIME_SCHEMA$2,
9277
+ updatedAt: ISO_DATE_TIME_SCHEMA$2
9197
9278
  });
9198
9279
  const spaceDispatchTraceStreamingSchema = strictObject({
9199
9280
  streamingMode: enumFactory(["final", "stream"]),
@@ -9345,82 +9426,82 @@ const currentPublishedRuntimeCoordinatorHeadRecoveryActionSchema = enumFactory([
9345
9426
  "wait_for_wake_route_report"
9346
9427
  ]);
9347
9428
  const spaceDispatchTraceRuntimeCoordinatorHeadNoExecutionDecisionV1Schema = strictObject({
9348
- decidedAt: ISO_DATE_TIME_SCHEMA$3,
9429
+ decidedAt: ISO_DATE_TIME_SCHEMA$2,
9349
9430
  publicationCategory: legacyPublishedRuntimeCoordinatorHeadPublicationCategorySchema,
9350
9431
  reasonCode: legacyPublishedRuntimeCoordinatorHeadReasonCodeSchema,
9351
9432
  source: publishedRuntimeCoordinatorHeadDecisionSourceSchema,
9352
9433
  userRecoveryAction: legacyPublishedRuntimeCoordinatorHeadRecoveryActionSchema
9353
9434
  });
9354
9435
  const spaceDispatchTraceRuntimeCoordinatorHeadNoExecutionDecisionV2Schema = strictObject({
9355
- decidedAt: ISO_DATE_TIME_SCHEMA$3,
9436
+ decidedAt: ISO_DATE_TIME_SCHEMA$2,
9356
9437
  publicationCategory: publishedRuntimeCoordinatorHeadPublicationCategoryV2Schema,
9357
9438
  reasonCode: publishedRuntimeCoordinatorHeadReasonCodeV2Schema,
9358
9439
  source: publishedRuntimeCoordinatorHeadDecisionSourceSchema,
9359
9440
  userRecoveryAction: publishedRuntimeCoordinatorHeadRecoveryActionV2Schema
9360
9441
  });
9361
9442
  const spaceDispatchTraceRuntimeCoordinatorHeadNoExecutionDecisionSchema = strictObject({
9362
- decidedAt: ISO_DATE_TIME_SCHEMA$3,
9443
+ decidedAt: ISO_DATE_TIME_SCHEMA$2,
9363
9444
  publicationCategory: currentPublishedRuntimeCoordinatorHeadPublicationCategorySchema,
9364
9445
  reasonCode: currentPublishedRuntimeCoordinatorHeadReasonCodeSchema,
9365
9446
  source: publishedRuntimeCoordinatorHeadDecisionSourceSchema,
9366
9447
  userRecoveryAction: currentPublishedRuntimeCoordinatorHeadRecoveryActionSchema
9367
9448
  });
9368
9449
  const spaceDispatchTraceRuntimeCoordinatorHeadPublicationIntentV1Schema = union([strictObject({
9369
- intentId: trimmedNonEmptyStringSchema$3.max(4096),
9450
+ intentId: trimmedNonEmptyStringSchema$2.max(4096),
9370
9451
  kind: literal("no_execution_failure"),
9371
9452
  publicationCategory: legacyPublishedRuntimeCoordinatorHeadPublicationCategorySchema,
9372
- readyAt: ISO_DATE_TIME_SCHEMA$3,
9453
+ readyAt: ISO_DATE_TIME_SCHEMA$2,
9373
9454
  reasonCode: legacyPublishedRuntimeCoordinatorHeadReasonCodeSchema,
9374
9455
  status: literal("ready_for_phase_6"),
9375
9456
  userRecoveryAction: legacyPublishedRuntimeCoordinatorHeadRecoveryActionSchema
9376
9457
  }), strictObject({
9377
- intentId: trimmedNonEmptyStringSchema$3.max(4096),
9458
+ intentId: trimmedNonEmptyStringSchema$2.max(4096),
9378
9459
  kind: literal("stopped_notice"),
9379
- readyAt: ISO_DATE_TIME_SCHEMA$3,
9460
+ readyAt: ISO_DATE_TIME_SCHEMA$2,
9380
9461
  reasonCode: literal("runtime_coordinator.pre_agent_stop_requested"),
9381
9462
  status: literal("ready_for_phase_6")
9382
9463
  })]);
9383
9464
  const spaceDispatchTraceRuntimeCoordinatorHeadPublicationIntentV2Schema = union([strictObject({
9384
- intentId: trimmedNonEmptyStringSchema$3.max(4096),
9465
+ intentId: trimmedNonEmptyStringSchema$2.max(4096),
9385
9466
  kind: literal("no_execution_failure"),
9386
9467
  publicationCategory: publishedRuntimeCoordinatorHeadPublicationCategoryV2Schema,
9387
- readyAt: ISO_DATE_TIME_SCHEMA$3,
9468
+ readyAt: ISO_DATE_TIME_SCHEMA$2,
9388
9469
  reasonCode: publishedRuntimeCoordinatorHeadReasonCodeV2Schema,
9389
9470
  status: literal("ready_for_phase_6"),
9390
9471
  userRecoveryAction: publishedRuntimeCoordinatorHeadRecoveryActionV2Schema
9391
9472
  }), strictObject({
9392
- intentId: trimmedNonEmptyStringSchema$3.max(4096),
9473
+ intentId: trimmedNonEmptyStringSchema$2.max(4096),
9393
9474
  kind: literal("stopped_notice"),
9394
- readyAt: ISO_DATE_TIME_SCHEMA$3,
9475
+ readyAt: ISO_DATE_TIME_SCHEMA$2,
9395
9476
  reasonCode: literal("runtime_coordinator.pre_agent_stop_requested"),
9396
9477
  status: literal("ready_for_phase_6")
9397
9478
  })]);
9398
9479
  const spaceDispatchTraceRuntimeCoordinatorHeadPublicationIntentSchema = union([strictObject({
9399
- intentId: trimmedNonEmptyStringSchema$3.max(4096),
9480
+ intentId: trimmedNonEmptyStringSchema$2.max(4096),
9400
9481
  kind: literal("no_execution_failure"),
9401
9482
  publicationCategory: currentPublishedRuntimeCoordinatorHeadPublicationCategorySchema,
9402
- readyAt: ISO_DATE_TIME_SCHEMA$3,
9483
+ readyAt: ISO_DATE_TIME_SCHEMA$2,
9403
9484
  reasonCode: currentPublishedRuntimeCoordinatorHeadReasonCodeSchema,
9404
9485
  status: literal("ready_for_phase_6"),
9405
9486
  userRecoveryAction: currentPublishedRuntimeCoordinatorHeadRecoveryActionSchema
9406
9487
  }), strictObject({
9407
- intentId: trimmedNonEmptyStringSchema$3.max(4096),
9488
+ intentId: trimmedNonEmptyStringSchema$2.max(4096),
9408
9489
  kind: literal("stopped_notice"),
9409
- readyAt: ISO_DATE_TIME_SCHEMA$3,
9490
+ readyAt: ISO_DATE_TIME_SCHEMA$2,
9410
9491
  reasonCode: literal("runtime_coordinator.pre_agent_stop_requested"),
9411
9492
  status: literal("ready_for_phase_6")
9412
9493
  })]);
9413
9494
  const spaceDispatchTraceRuntimeCoordinatorHeadPublicationOutcomeSchema = strictObject({
9414
- failurePublicationCommandId: trimmedNonEmptyStringSchema$3.max(4096),
9495
+ failurePublicationCommandId: trimmedNonEmptyStringSchema$2.max(4096),
9415
9496
  finalMessageKind: enumFactory([
9416
9497
  "failure_notice",
9417
9498
  "status",
9418
9499
  "success_reply",
9419
9500
  "unknown"
9420
9501
  ]).nullable(),
9421
- observedAt: ISO_DATE_TIME_SCHEMA$3,
9502
+ observedAt: ISO_DATE_TIME_SCHEMA$2,
9422
9503
  publicationErrorCode: string().trim().min(1).max(160).nullable(),
9423
- publishedSignalId: trimmedNonEmptyStringSchema$3.nullable(),
9504
+ publishedSignalId: trimmedNonEmptyStringSchema$2.nullable(),
9424
9505
  status: enumFactory([
9425
9506
  "failure_published",
9426
9507
  "already_final",
@@ -9429,8 +9510,8 @@ const spaceDispatchTraceRuntimeCoordinatorHeadPublicationOutcomeSchema = strictO
9429
9510
  });
9430
9511
  const spaceDispatchTraceRuntimeCoordinatorHeadPublicationExhaustionSchema = strictObject({
9431
9512
  attemptCount: int().positive(),
9432
- exhaustedAt: ISO_DATE_TIME_SCHEMA$3,
9433
- lastFailureAt: ISO_DATE_TIME_SCHEMA$3,
9513
+ exhaustedAt: ISO_DATE_TIME_SCHEMA$2,
9514
+ lastFailureAt: ISO_DATE_TIME_SCHEMA$2,
9434
9515
  lastReasonCode: string().trim().min(1).max(160),
9435
9516
  reasonCode: literal("runtime_coordinator.publication_retry_exhausted"),
9436
9517
  status: literal("publication_exhausted")
@@ -9440,62 +9521,62 @@ const spaceDispatchTraceRuntimeCoordinatorHeadTargetDisplaySchema = strictObject
9440
9521
  targetProfileName: string().min(1).max(64).nullable()
9441
9522
  });
9442
9523
  const spaceDispatchTraceRuntimeCoordinatorHeadOfflineWaitingBoundarySchema = strictObject({
9443
- deadlineAt: ISO_DATE_TIME_SCHEMA$3,
9524
+ deadlineAt: ISO_DATE_TIME_SCHEMA$2,
9444
9525
  deadlineOutcome: literal("publication_intent_ready"),
9445
- observedAt: ISO_DATE_TIME_SCHEMA$3,
9526
+ observedAt: ISO_DATE_TIME_SCHEMA$2,
9446
9527
  reasonCode: literal("daemon.profile.offline"),
9447
- softDeadlineAt: ISO_DATE_TIME_SCHEMA$3,
9528
+ softDeadlineAt: ISO_DATE_TIME_SCHEMA$2,
9448
9529
  trigger: literal("openmeld_service_route_connected"),
9449
9530
  triggerOwner: literal("runtime_coordinator"),
9450
9531
  userRecoveryAction: literal("start_or_restart_openmeld_service"),
9451
9532
  userVisibleState: literal("waiting_for_openmeld_service"),
9452
9533
  waitingCategory: literal("service_not_connected"),
9453
9534
  waitingFor: literal("openmeld_service_route_connection"),
9454
- waitingSince: ISO_DATE_TIME_SCHEMA$3
9535
+ waitingSince: ISO_DATE_TIME_SCHEMA$2
9455
9536
  });
9456
9537
  const spaceDispatchTraceRuntimeCoordinatorHeadWaitingBoundarySchema = discriminatedUnion("reasonCode", [spaceDispatchTraceRuntimeCoordinatorHeadOfflineWaitingBoundarySchema, strictObject({
9457
- deadlineAt: ISO_DATE_TIME_SCHEMA$3,
9538
+ deadlineAt: ISO_DATE_TIME_SCHEMA$2,
9458
9539
  deadlineOutcome: literal("publication_intent_ready"),
9459
- observedAt: ISO_DATE_TIME_SCHEMA$3,
9540
+ observedAt: ISO_DATE_TIME_SCHEMA$2,
9460
9541
  reasonCode: literal("daemon.profile.pending_first_report"),
9461
- softDeadlineAt: ISO_DATE_TIME_SCHEMA$3,
9542
+ softDeadlineAt: ISO_DATE_TIME_SCHEMA$2,
9462
9543
  trigger: literal("wake_route_reported"),
9463
9544
  triggerOwner: literal("runtime_coordinator"),
9464
9545
  userRecoveryAction: literal("wait_for_wake_route_report"),
9465
9546
  userVisibleState: literal("waiting_for_wake_route_report"),
9466
9547
  waitingCategory: literal("wake_route_registration_pending"),
9467
9548
  waitingFor: literal("wake_route_report"),
9468
- waitingSince: ISO_DATE_TIME_SCHEMA$3
9549
+ waitingSince: ISO_DATE_TIME_SCHEMA$2
9469
9550
  })]);
9470
9551
  const spaceDispatchTraceRuntimeCoordinatorHeadFoundCommonShape = {
9471
- createdAt: ISO_DATE_TIME_SCHEMA$3,
9552
+ createdAt: ISO_DATE_TIME_SCHEMA$2,
9472
9553
  duplicateDispatchCount: int().min(0),
9473
9554
  executionLinkedAt: nullableIsoDateTimeSchema$2,
9474
9555
  factSource: literal("runtime_coordinator_head_lifecycle"),
9475
9556
  modelVersion: literal("openmeld.runtime_coordinator.head_lifecycle.v1"),
9476
- ownerUserId: trimmedNonEmptyStringSchema$3,
9477
- primaryDispatchId: trimmedNonEmptyStringSchema$3,
9557
+ ownerUserId: trimmedNonEmptyStringSchema$2,
9558
+ primaryDispatchId: trimmedNonEmptyStringSchema$2,
9478
9559
  publicationExhaustion: spaceDispatchTraceRuntimeCoordinatorHeadPublicationExhaustionSchema.optional(),
9479
9560
  publicationOutcome: spaceDispatchTraceRuntimeCoordinatorHeadPublicationOutcomeSchema.optional(),
9480
9561
  readStatus: literal("found"),
9481
9562
  runtimeCoordinatorExecutionId: runtimeCoordinatorExecutionRecordSchema.shape.runtimeCoordinatorExecutionId.nullable(),
9482
9563
  status: publishedRuntimeCoordinatorHeadLifecycleStatusSchema,
9483
9564
  targetWakeLifecycleIdentity: targetWakeLifecycleIdentitySchema,
9484
- targetWakeLifecycleId: trimmedNonEmptyStringSchema$3.max(2048),
9565
+ targetWakeLifecycleId: trimmedNonEmptyStringSchema$2.max(2048),
9485
9566
  targetDisplay: spaceDispatchTraceRuntimeCoordinatorHeadTargetDisplaySchema.optional(),
9486
- updatedAt: ISO_DATE_TIME_SCHEMA$3
9567
+ updatedAt: ISO_DATE_TIME_SCHEMA$2
9487
9568
  };
9488
9569
  const spaceDispatchTraceRuntimeCoordinatorHeadMissingSchema = strictObject({
9489
9570
  factSource: literal("runtime_coordinator_head_lifecycle"),
9490
9571
  readStatus: literal("missing"),
9491
9572
  reasonCode: literal("runtime_coordinator.head_lifecycle_not_found"),
9492
- targetWakeLifecycleId: trimmedNonEmptyStringSchema$3.max(2048)
9573
+ targetWakeLifecycleId: trimmedNonEmptyStringSchema$2.max(2048)
9493
9574
  });
9494
9575
  const spaceDispatchTraceRuntimeCoordinatorHeadAuthorityUnavailableSchema = strictObject({
9495
9576
  factSource: literal("runtime_coordinator_head_lifecycle"),
9496
9577
  readStatus: literal("authority_unavailable"),
9497
- reasonCode: trimmedNonEmptyStringSchema$3.max(160),
9498
- targetWakeLifecycleId: trimmedNonEmptyStringSchema$3.max(2048)
9578
+ reasonCode: trimmedNonEmptyStringSchema$2.max(160),
9579
+ targetWakeLifecycleId: trimmedNonEmptyStringSchema$2.max(2048)
9499
9580
  });
9500
9581
  const spaceDispatchTraceRuntimeCoordinatorHeadLifecycleV1Schema = discriminatedUnion("readStatus", [
9501
9582
  strictObject({
@@ -9545,7 +9626,7 @@ const spaceDispatchTraceStructuredActionFailureSchema = strictObject({
9545
9626
  spaceActionParseError: nullableTrimmedStringSchema$2
9546
9627
  });
9547
9628
  const spaceDispatchTraceOpenClawGatewayVisibilitySchema = strictObject({
9548
- agentId: trimmedNonEmptyStringSchema$3,
9629
+ agentId: trimmedNonEmptyStringSchema$2,
9549
9630
  gatewayRestartAttempted: boolean(),
9550
9631
  gatewayVisibility: enumFactory([
9551
9632
  "missing_after_restart",
@@ -10285,11 +10366,11 @@ function expectNullTraceEvidence(context, actual, path) {
10285
10366
  }
10286
10367
  //#endregion
10287
10368
  //#region ../../packages/schemas/dist/schemas/http/center-agent.js
10288
- const ISO_DATE_TIME_SCHEMA$2 = iso.datetime({ offset: true });
10289
- const trimmedNonEmptyStringSchema$2 = string().trim().min(1);
10290
- const nullableTrimmedStringSchema$1 = union([trimmedNonEmptyStringSchema$2, nullFactory()]);
10291
- const nullableIsoDateTimeSchema$1 = union([ISO_DATE_TIME_SCHEMA$2, nullFactory()]);
10292
- const nullableDiagnosticTextSchema = union([trimmedNonEmptyStringSchema$2.max(512), nullFactory()]);
10369
+ const ISO_DATE_TIME_SCHEMA$1 = iso.datetime({ offset: true });
10370
+ const trimmedNonEmptyStringSchema$1 = string().trim().min(1);
10371
+ const nullableTrimmedStringSchema$1 = union([trimmedNonEmptyStringSchema$1, nullFactory()]);
10372
+ const nullableIsoDateTimeSchema$1 = union([ISO_DATE_TIME_SCHEMA$1, nullFactory()]);
10373
+ const nullableDiagnosticTextSchema = union([trimmedNonEmptyStringSchema$1.max(512), nullFactory()]);
10293
10374
  const CENTER_AGENT_REFERENCE_OVERLAP_MESSAGE = "A profile cannot be both a Wake target and a Reference target.";
10294
10375
  function findCenterAgentReferenceOverlapIndex(input) {
10295
10376
  const executableProfileIds = new Set(input.activationTargets);
@@ -10374,15 +10455,15 @@ const centerAgentConnectorActionAuditOutcomeSchema = enumFactory([
10374
10455
  "outcome_unknown"
10375
10456
  ]);
10376
10457
  strictObject({
10377
- actionId: trimmedNonEmptyStringSchema$2.max(160),
10378
- operationId: trimmedNonEmptyStringSchema$2.max(256),
10458
+ actionId: trimmedNonEmptyStringSchema$1.max(160),
10459
+ operationId: trimmedNonEmptyStringSchema$1.max(256),
10379
10460
  outcome: centerAgentConnectorActionAuditOutcomeSchema,
10380
10461
  service: connectorServiceSchema,
10381
10462
  speakerMember: centerAgentToolSpeakerSchema
10382
10463
  });
10383
10464
  const centerAgentResourceSchema = strictObject({
10384
- type: trimmedNonEmptyStringSchema$2,
10385
- id: trimmedNonEmptyStringSchema$2
10465
+ type: trimmedNonEmptyStringSchema$1,
10466
+ id: trimmedNonEmptyStringSchema$1
10386
10467
  });
10387
10468
  const centerAgentOnBehalfOfInputSchema = strictObject({ profileId: openMeldRuntimeProfileIdSchema });
10388
10469
  const centerAgentAttributionSchema = strictObject({
@@ -10390,7 +10471,7 @@ const centerAgentAttributionSchema = strictObject({
10390
10471
  onBehalfOf: strictObject({
10391
10472
  profileId: openMeldRuntimeProfileIdSchema,
10392
10473
  userId: nullableTrimmedStringSchema$1,
10393
- displayName: trimmedNonEmptyStringSchema$2
10474
+ displayName: trimmedNonEmptyStringSchema$1
10394
10475
  }).nullable()
10395
10476
  });
10396
10477
  strictObject({
@@ -10405,22 +10486,22 @@ const centerAgentConnectorActionOperationStatusSchema = enumFactory([
10405
10486
  ]);
10406
10487
  const centerAgentConnectorActionExecutionConnectionSchema = strictObject({
10407
10488
  connectionName: connectorConnectionNameSchema,
10408
- ownerDisplayName: trimmedNonEmptyStringSchema$2,
10409
- ownerUserId: trimmedNonEmptyStringSchema$2,
10489
+ ownerDisplayName: trimmedNonEmptyStringSchema$1,
10490
+ ownerUserId: trimmedNonEmptyStringSchema$1,
10410
10491
  scope: connectorConnectionScopeSchema,
10411
10492
  service: connectorServiceSchema
10412
10493
  });
10413
10494
  strictObject({
10414
- actionId: trimmedNonEmptyStringSchema$2.max(160),
10415
- operationId: trimmedNonEmptyStringSchema$2.max(256),
10495
+ actionId: trimmedNonEmptyStringSchema$1.max(160),
10496
+ operationId: trimmedNonEmptyStringSchema$1.max(256),
10416
10497
  service: connectorServiceSchema,
10417
10498
  speakerMember: centerAgentToolSpeakerSchema
10418
10499
  });
10419
10500
  strictObject({ operation: strictObject({
10420
- actionId: trimmedNonEmptyStringSchema$2.max(160),
10501
+ actionId: trimmedNonEmptyStringSchema$1.max(160),
10421
10502
  connectionName: connectorConnectionNameSchema,
10422
10503
  executionConnection: centerAgentConnectorActionExecutionConnectionSchema.nullable().optional(),
10423
- operationId: trimmedNonEmptyStringSchema$2.max(256),
10504
+ operationId: trimmedNonEmptyStringSchema$1.max(256),
10424
10505
  service: connectorServiceSchema,
10425
10506
  status: centerAgentConnectorActionOperationStatusSchema
10426
10507
  }).superRefine((value, context) => {
@@ -10431,9 +10512,9 @@ strictObject({ operation: strictObject({
10431
10512
  });
10432
10513
  }).nullable() });
10433
10514
  strictObject({
10434
- actionId: trimmedNonEmptyStringSchema$2.max(160),
10515
+ actionId: trimmedNonEmptyStringSchema$1.max(160),
10435
10516
  connectionName: connectorConnectionNameSchema,
10436
- operationId: trimmedNonEmptyStringSchema$2.max(256),
10517
+ operationId: trimmedNonEmptyStringSchema$1.max(256),
10437
10518
  outcome: centerAgentConnectorActionAuditOutcomeSchema,
10438
10519
  providerExecutionId: nullableTrimmedStringSchema$1,
10439
10520
  requestSignature: string().regex(/^[0-9a-f]{64}$/),
@@ -10449,25 +10530,25 @@ strictObject({
10449
10530
  strictObject({
10450
10531
  attribution: centerAgentAttributionSchema,
10451
10532
  executionConnection: centerAgentConnectorActionExecutionConnectionSchema.nullable().optional(),
10452
- operationId: trimmedNonEmptyStringSchema$2.max(256),
10533
+ operationId: trimmedNonEmptyStringSchema$1.max(256),
10453
10534
  providerExecutionId: nullableTrimmedStringSchema$1,
10454
10535
  recorded: literal(true),
10455
10536
  replayed: boolean(),
10456
10537
  status: centerAgentConnectorActionOperationStatusSchema
10457
10538
  });
10458
10539
  const centerAgentDesignationSchema = strictObject({
10459
- organizationId: trimmedNonEmptyStringSchema$2,
10540
+ organizationId: trimmedNonEmptyStringSchema$1,
10460
10541
  agentProfileId: agentProfileIdSchema,
10461
10542
  duty: nullFactory(),
10462
- designatedBy: trimmedNonEmptyStringSchema$2,
10463
- createdAt: ISO_DATE_TIME_SCHEMA$2
10543
+ designatedBy: trimmedNonEmptyStringSchema$1,
10544
+ createdAt: ISO_DATE_TIME_SCHEMA$1
10464
10545
  });
10465
10546
  const centerAgentModelConfigurationResponseSchema = strictObject({
10466
10547
  canManage: boolean(),
10467
10548
  choices: array(centerAgentModelChoiceSchema).min(1),
10468
10549
  configurationRevision: number().int().nonnegative(),
10469
10550
  effectiveModel: centerAgentModelSummarySchema,
10470
- organizationId: trimmedNonEmptyStringSchema$2,
10551
+ organizationId: trimmedNonEmptyStringSchema$1,
10471
10552
  preference: centerAgentModelPreferenceSchema
10472
10553
  });
10473
10554
  const updateCenterAgentModelBodySchema = strictObject({
@@ -10491,19 +10572,19 @@ const centerAgentSlackWorkspaceConnectionSchema = strictObject({
10491
10572
  workspaceName: nullableTrimmedStringSchema$1
10492
10573
  });
10493
10574
  const getCenterAgentDesignationResponseSchema = strictObject({
10494
- organizationId: trimmedNonEmptyStringSchema$2,
10575
+ organizationId: trimmedNonEmptyStringSchema$1,
10495
10576
  designation: centerAgentDesignationSchema.nullable(),
10496
10577
  remoteRuntimeAvailability: centerAgentRemoteRuntimeAvailabilitySchema.optional(),
10497
10578
  slackConnection: centerAgentSlackWorkspaceConnectionSchema.optional()
10498
10579
  });
10499
- const centerAgentSlackWorkspaceConnectBodySchema = strictObject({ slackTeamId: trimmedNonEmptyStringSchema$2 });
10580
+ const centerAgentSlackWorkspaceConnectBodySchema = strictObject({ slackTeamId: trimmedNonEmptyStringSchema$1 });
10500
10581
  const centerAgentSlackWorkspaceConnectionResponseSchema = strictObject({
10501
- organizationId: trimmedNonEmptyStringSchema$2,
10582
+ organizationId: trimmedNonEmptyStringSchema$1,
10502
10583
  slackConnection: centerAgentSlackWorkspaceConnectionSchema
10503
10584
  });
10504
10585
  const centerAgentSlackWorkspaceDisconnectResponseSchema = strictObject({
10505
10586
  disconnected: boolean(),
10506
- organizationId: trimmedNonEmptyStringSchema$2,
10587
+ organizationId: trimmedNonEmptyStringSchema$1,
10507
10588
  slackConnection: centerAgentSlackWorkspaceConnectionSchema
10508
10589
  });
10509
10590
  const slackIdentityLinkTokenSchema = string().trim().regex(/^slacklink_[0-9a-f]{64}$/);
@@ -10511,15 +10592,15 @@ const slackIdentityLinkPreviewBodySchema = strictObject({ token: slackIdentityLi
10511
10592
  const slackIdentityLinkPreviewResponseSchema = strictObject({
10512
10593
  alreadyMember: boolean().default(true),
10513
10594
  continuesRequest: boolean().default(true),
10514
- expiresAt: ISO_DATE_TIME_SCHEMA$2,
10515
- organizationId: trimmedNonEmptyStringSchema$2,
10516
- organizationName: trimmedNonEmptyStringSchema$2,
10595
+ expiresAt: ISO_DATE_TIME_SCHEMA$1,
10596
+ organizationId: trimmedNonEmptyStringSchema$1,
10597
+ organizationName: trimmedNonEmptyStringSchema$1,
10517
10598
  slackAccountEmail: email().nullable().default(null),
10518
- slackDisplayName: trimmedNonEmptyStringSchema$2,
10519
- slackTeamId: trimmedNonEmptyStringSchema$2,
10520
- slackUserId: trimmedNonEmptyStringSchema$2,
10521
- slackWorkspaceLabel: trimmedNonEmptyStringSchema$2,
10522
- openMeldAccountEmail: trimmedNonEmptyStringSchema$2,
10599
+ slackDisplayName: trimmedNonEmptyStringSchema$1,
10600
+ slackTeamId: trimmedNonEmptyStringSchema$1,
10601
+ slackUserId: trimmedNonEmptyStringSchema$1,
10602
+ slackWorkspaceLabel: trimmedNonEmptyStringSchema$1,
10603
+ openMeldAccountEmail: trimmedNonEmptyStringSchema$1,
10523
10604
  replacesExistingLink: boolean().default(false)
10524
10605
  });
10525
10606
  const slackIdentityLinkConsumeBodySchema = strictObject({
@@ -10531,27 +10612,27 @@ const slackIdentityLinkConsumeResponseSchema = strictObject({
10531
10612
  continued: boolean().default(false),
10532
10613
  joinedOrganization: boolean().default(false),
10533
10614
  linked: literal(true),
10534
- openMeldProfileId: trimmedNonEmptyStringSchema$2.nullable().default(null),
10535
- organizationId: trimmedNonEmptyStringSchema$2,
10536
- organizationName: trimmedNonEmptyStringSchema$2,
10537
- organizationSlug: trimmedNonEmptyStringSchema$2.nullable().default(null),
10538
- slackDisplayName: trimmedNonEmptyStringSchema$2,
10539
- slackTeamId: trimmedNonEmptyStringSchema$2,
10615
+ openMeldProfileId: trimmedNonEmptyStringSchema$1.nullable().default(null),
10616
+ organizationId: trimmedNonEmptyStringSchema$1,
10617
+ organizationName: trimmedNonEmptyStringSchema$1,
10618
+ organizationSlug: trimmedNonEmptyStringSchema$1.nullable().default(null),
10619
+ slackDisplayName: trimmedNonEmptyStringSchema$1,
10620
+ slackTeamId: trimmedNonEmptyStringSchema$1,
10540
10621
  slackThreadPermalink: slackMessagePermalinkSchema.nullable().optional(),
10541
- slackUserId: trimmedNonEmptyStringSchema$2,
10622
+ slackUserId: trimmedNonEmptyStringSchema$1,
10542
10623
  replacedExistingLink: boolean().default(false),
10543
- openMeldUserId: trimmedNonEmptyStringSchema$2
10624
+ openMeldUserId: trimmedNonEmptyStringSchema$1
10544
10625
  });
10545
10626
  strictObject({
10546
- organizationId: trimmedNonEmptyStringSchema$2,
10547
- userId: trimmedNonEmptyStringSchema$2
10627
+ organizationId: trimmedNonEmptyStringSchema$1,
10628
+ userId: trimmedNonEmptyStringSchema$1
10548
10629
  });
10549
10630
  discriminatedUnion("ok", [strictObject({
10550
10631
  alreadyMember: boolean(),
10551
10632
  ok: literal(true),
10552
- organizationId: trimmedNonEmptyStringSchema$2,
10553
- organizationName: trimmedNonEmptyStringSchema$2,
10554
- organizationSlug: trimmedNonEmptyStringSchema$2,
10633
+ organizationId: trimmedNonEmptyStringSchema$1,
10634
+ organizationName: trimmedNonEmptyStringSchema$1,
10635
+ organizationSlug: trimmedNonEmptyStringSchema$1,
10555
10636
  role: enumFactory([
10556
10637
  "owner",
10557
10638
  "admin",
@@ -10565,24 +10646,24 @@ discriminatedUnion("ok", [strictObject({
10565
10646
  "slack.workspace_member_enrollment.organization_inactive",
10566
10647
  "slack.workspace_member_enrollment.personal_organization"
10567
10648
  ]),
10568
- message: trimmedNonEmptyStringSchema$2,
10649
+ message: trimmedNonEmptyStringSchema$1,
10569
10650
  ok: literal(false)
10570
10651
  })]);
10571
10652
  strictObject({
10572
- organizationId: trimmedNonEmptyStringSchema$2,
10653
+ organizationId: trimmedNonEmptyStringSchema$1,
10573
10654
  provider: enumFactory([
10574
10655
  "feishu",
10575
10656
  "lark",
10576
10657
  "slack"
10577
10658
  ]),
10578
- userId: trimmedNonEmptyStringSchema$2
10659
+ userId: trimmedNonEmptyStringSchema$1
10579
10660
  });
10580
10661
  discriminatedUnion("ok", [strictObject({
10581
10662
  alreadyMember: boolean(),
10582
10663
  ok: literal(true),
10583
- organizationId: trimmedNonEmptyStringSchema$2,
10584
- organizationName: trimmedNonEmptyStringSchema$2,
10585
- organizationSlug: trimmedNonEmptyStringSchema$2,
10664
+ organizationId: trimmedNonEmptyStringSchema$1,
10665
+ organizationName: trimmedNonEmptyStringSchema$1,
10666
+ organizationSlug: trimmedNonEmptyStringSchema$1,
10586
10667
  role: enumFactory([
10587
10668
  "owner",
10588
10669
  "admin",
@@ -10596,7 +10677,7 @@ discriminatedUnion("ok", [strictObject({
10596
10677
  "message_channel.member_enrollment.organization_inactive",
10597
10678
  "message_channel.member_enrollment.personal_organization"
10598
10679
  ]),
10599
- message: trimmedNonEmptyStringSchema$2,
10680
+ message: trimmedNonEmptyStringSchema$1,
10600
10681
  ok: literal(false)
10601
10682
  })]);
10602
10683
  const designateCenterAgentBodySchema = strictObject({
@@ -10604,7 +10685,7 @@ const designateCenterAgentBodySchema = strictObject({
10604
10685
  runtime: enumFactory(["self_hosted", "remote_agent"]).default("self_hosted")
10605
10686
  });
10606
10687
  const designateCenterAgentResponseSchema = strictObject({
10607
- organizationId: trimmedNonEmptyStringSchema$2,
10688
+ organizationId: trimmedNonEmptyStringSchema$1,
10608
10689
  designation: centerAgentDesignationSchema,
10609
10690
  status: enumFactory([
10610
10691
  "designated",
@@ -10616,7 +10697,7 @@ const centerAgentOperatingStateSchema = enumFactory(["active", "paused"]);
10616
10697
  const getCenterAgentOperatingStateResponseSchema = strictObject({
10617
10698
  canChangeOperatingState: boolean(),
10618
10699
  operatingState: centerAgentOperatingStateSchema,
10619
- organizationId: trimmedNonEmptyStringSchema$2,
10700
+ organizationId: trimmedNonEmptyStringSchema$1,
10620
10701
  pausedAt: nullableIsoDateTimeSchema$1
10621
10702
  });
10622
10703
  const updateCenterAgentOperatingStateBodySchema = strictObject({ operatingState: centerAgentOperatingStateSchema });
@@ -10624,23 +10705,23 @@ const updateCenterAgentOperatingStateResponseSchema = getCenterAgentOperatingSta
10624
10705
  affectedTaskCount: number().int().nonnegative(),
10625
10706
  changed: boolean()
10626
10707
  });
10627
- const centerAgentUpdateProfileBodySchema = strictObject({ profileName: trimmedNonEmptyStringSchema$2 });
10708
+ const centerAgentUpdateProfileBodySchema = strictObject({ profileName: trimmedNonEmptyStringSchema$1 });
10628
10709
  const centerAgentUpdateProfileResponseSchema = strictObject({
10629
- organizationId: trimmedNonEmptyStringSchema$2,
10710
+ organizationId: trimmedNonEmptyStringSchema$1,
10630
10711
  profile: authProfileViewSchema
10631
10712
  });
10632
10713
  const centerAgentAuditJournalEntrySchema = strictObject({
10633
- id: trimmedNonEmptyStringSchema$2,
10634
- organizationId: trimmedNonEmptyStringSchema$2,
10714
+ id: trimmedNonEmptyStringSchema$1,
10715
+ organizationId: trimmedNonEmptyStringSchema$1,
10635
10716
  actorProfileId: openMeldRuntimeProfileIdSchema,
10636
10717
  action: centerAgentActionSchema,
10637
10718
  onBehalfOf: strictObject({
10638
10719
  profileId: openMeldRuntimeProfileIdSchema,
10639
10720
  userId: nullableTrimmedStringSchema$1,
10640
- displayName: trimmedNonEmptyStringSchema$2
10721
+ displayName: trimmedNonEmptyStringSchema$1
10641
10722
  }).nullable(),
10642
10723
  interactionSource: strictObject({
10643
- client: trimmedNonEmptyStringSchema$2.max(80),
10724
+ client: trimmedNonEmptyStringSchema$1.max(80),
10644
10725
  kind: literal("local_agent")
10645
10726
  }).optional(),
10646
10727
  contextManifest: strictObject({
@@ -10651,11 +10732,11 @@ const centerAgentAuditJournalEntrySchema = strictObject({
10651
10732
  contextLoad: strictObject({
10652
10733
  estimatedTokens: number().int().nonnegative(),
10653
10734
  includedMessages: number().int().min(1).max(50),
10654
- manifestId: trimmedNonEmptyStringSchema$2
10735
+ manifestId: trimmedNonEmptyStringSchema$1
10655
10736
  }).optional(),
10656
10737
  resource: centerAgentResourceSchema.nullable(),
10657
- sourceSpaceId: trimmedNonEmptyStringSchema$2.nullable().optional(),
10658
- createdAt: ISO_DATE_TIME_SCHEMA$2
10738
+ sourceSpaceId: trimmedNonEmptyStringSchema$1.nullable().optional(),
10739
+ createdAt: ISO_DATE_TIME_SCHEMA$1
10659
10740
  });
10660
10741
  const listCenterAgentAuditJournalQuerySchema = strictObject({
10661
10742
  actionSet: enumFactory([
@@ -10683,7 +10764,7 @@ const listCenterAgentAuditJournalQuerySchema = strictObject({
10683
10764
  limit: coerce.number().int().min(1).max(200).optional()
10684
10765
  });
10685
10766
  const listCenterAgentAuditJournalResponseSchema = strictObject({
10686
- organizationId: trimmedNonEmptyStringSchema$2,
10767
+ organizationId: trimmedNonEmptyStringSchema$1,
10687
10768
  entries: array(centerAgentAuditJournalEntrySchema)
10688
10769
  });
10689
10770
  strictObject({
@@ -10710,25 +10791,25 @@ strictObject({
10710
10791
  };
10711
10792
  });
10712
10793
  strictObject({
10713
- profileName: trimmedNonEmptyStringSchema$2,
10794
+ profileName: trimmedNonEmptyStringSchema$1,
10714
10795
  onBehalfOf: centerAgentOnBehalfOfInputSchema.optional()
10715
10796
  });
10716
10797
  strictObject({ onBehalfOf: centerAgentOnBehalfOfInputSchema.optional() });
10717
10798
  strictObject({
10718
10799
  agentProfileIds: array(agentProfileIdSchema).min(1).max(100),
10719
10800
  onBehalfOf: centerAgentOnBehalfOfInputSchema.optional(),
10720
- password: trimmedNonEmptyStringSchema$2.optional(),
10721
- spaceId: trimmedNonEmptyStringSchema$2
10801
+ password: trimmedNonEmptyStringSchema$1.optional(),
10802
+ spaceId: trimmedNonEmptyStringSchema$1
10722
10803
  });
10723
10804
  strictObject({
10724
- memberUserIds: array(trimmedNonEmptyStringSchema$2).min(1).max(100),
10725
- spaceId: trimmedNonEmptyStringSchema$2,
10805
+ memberUserIds: array(trimmedNonEmptyStringSchema$1).min(1).max(100),
10806
+ spaceId: trimmedNonEmptyStringSchema$1,
10726
10807
  speakerMember: centerAgentToolSpeakerSchema
10727
10808
  });
10728
10809
  strictObject({
10729
10810
  agentProfileIds: array(agentProfileIdSchema).min(1).max(100),
10730
10811
  onBehalfOf: centerAgentOnBehalfOfInputSchema.optional(),
10731
- spaceId: trimmedNonEmptyStringSchema$2
10812
+ spaceId: trimmedNonEmptyStringSchema$1
10732
10813
  });
10733
10814
  const centerAgentSpaceContextScopeSchema = enumFactory([
10734
10815
  "source",
@@ -10743,13 +10824,13 @@ const centerAgentSpaceContextAnchorByScope = {
10743
10824
  thread: "threadId"
10744
10825
  };
10745
10826
  strictObject({
10746
- afterSignalId: trimmedNonEmptyStringSchema$2.optional(),
10827
+ afterSignalId: trimmedNonEmptyStringSchema$1.optional(),
10747
10828
  limit: number().int().min(1).max(100).optional(),
10748
10829
  requestedAddressingModel: literal("wake_reference_mention").optional(),
10749
10830
  scope: centerAgentSpaceContextScopeSchema.optional(),
10750
- sourceSignalId: trimmedNonEmptyStringSchema$2.optional(),
10751
- spaceId: trimmedNonEmptyStringSchema$2,
10752
- threadId: trimmedNonEmptyStringSchema$2.optional()
10831
+ sourceSignalId: trimmedNonEmptyStringSchema$1.optional(),
10832
+ spaceId: trimmedNonEmptyStringSchema$1,
10833
+ threadId: trimmedNonEmptyStringSchema$1.optional()
10753
10834
  }).superRefine((value, context) => {
10754
10835
  const requiredAnchor = value.scope ? centerAgentSpaceContextAnchorByScope[value.scope] : null;
10755
10836
  if (requiredAnchor && !value[requiredAnchor]) context.addIssue({
@@ -10768,17 +10849,17 @@ strictObject({
10768
10849
  });
10769
10850
  });
10770
10851
  strictObject({
10771
- dispatchId: trimmedNonEmptyStringSchema$2.optional(),
10852
+ dispatchId: trimmedNonEmptyStringSchema$1.optional(),
10772
10853
  limit: number().int().min(1).max(20).optional(),
10773
- spaceId: trimmedNonEmptyStringSchema$2,
10774
- targetProfileId: trimmedNonEmptyStringSchema$2.optional()
10854
+ spaceId: trimmedNonEmptyStringSchema$1,
10855
+ targetProfileId: trimmedNonEmptyStringSchema$1.optional()
10775
10856
  });
10776
10857
  strictObject({
10777
10858
  files: spaceMessageFileReferencesSchema.optional(),
10778
10859
  mentionProfileIds: array(openMeldRuntimeProfileIdSchema).max(25).optional(),
10779
10860
  onBehalfOf: centerAgentOnBehalfOfInputSchema.optional(),
10780
10861
  referenceProfileIds: array(openMeldRuntimeProfileIdSchema).max(25).optional(),
10781
- spaceId: trimmedNonEmptyStringSchema$2,
10862
+ spaceId: trimmedNonEmptyStringSchema$1,
10782
10863
  text: string().trim().min(1).max(MAX_TEXT_LENGTH$1)
10783
10864
  }).superRefine((value, context) => {
10784
10865
  const referenceProfileIds = new Set(value.referenceProfileIds ?? []);
@@ -10790,19 +10871,19 @@ strictObject({
10790
10871
  });
10791
10872
  });
10792
10873
  const centerAgentRemoteAgentExecutionPublicationSourceSchema = strictObject({
10793
- executionId: trimmedNonEmptyStringSchema$2.max(512),
10874
+ executionId: trimmedNonEmptyStringSchema$1.max(512),
10794
10875
  kind: literal("remote_agent_execution"),
10795
- operationId: trimmedNonEmptyStringSchema$2.max(256).optional()
10876
+ operationId: trimmedNonEmptyStringSchema$1.max(256).optional()
10796
10877
  });
10797
10878
  const centerAgentPublicationSourceSchema = discriminatedUnion("kind", [
10798
10879
  strictObject({
10799
- documentId: trimmedNonEmptyStringSchema$2.max(256),
10880
+ documentId: trimmedNonEmptyStringSchema$1.max(256),
10800
10881
  kind: literal("organization_document")
10801
10882
  }),
10802
10883
  centerAgentRemoteAgentExecutionPublicationSourceSchema,
10803
10884
  strictObject({
10804
10885
  kind: literal("routine_run"),
10805
- runId: trimmedNonEmptyStringSchema$2.max(256)
10886
+ runId: trimmedNonEmptyStringSchema$1.max(256)
10806
10887
  })
10807
10888
  ]);
10808
10889
  const centerAgentSlackMessageCommonBodyFields = {
@@ -10811,7 +10892,7 @@ const centerAgentSlackMessageCommonBodyFields = {
10811
10892
  };
10812
10893
  strictObject({
10813
10894
  ...centerAgentSlackMessageCommonBodyFields,
10814
- channelName: trimmedNonEmptyStringSchema$2.max(80),
10895
+ channelName: trimmedNonEmptyStringSchema$1.max(80),
10815
10896
  publicationSource: centerAgentPublicationSourceSchema.optional()
10816
10897
  });
10817
10898
  union([strictObject({
@@ -10820,18 +10901,18 @@ union([strictObject({
10820
10901
  threadPermalink: slackThreadPublicationPermalinkSchema
10821
10902
  }), strictObject({
10822
10903
  ...centerAgentSlackMessageCommonBodyFields,
10823
- channelName: trimmedNonEmptyStringSchema$2.max(80),
10904
+ channelName: trimmedNonEmptyStringSchema$1.max(80),
10824
10905
  publicationSource: centerAgentRemoteAgentExecutionPublicationSourceSchema,
10825
10906
  threadTs: string().trim().regex(/^\d+\.\d+$/).max(32)
10826
10907
  })]);
10827
10908
  const centerAgentSlackFilePublicationCommonFields = {
10828
10909
  contentBase64: 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),
10829
10910
  contentSha256: string().regex(/^[0-9a-f]{64}$/u),
10830
- fileName: trimmedNonEmptyStringSchema$2.max(255),
10911
+ fileName: trimmedNonEmptyStringSchema$1.max(255),
10831
10912
  initialComment: string().trim().min(1).max(MAX_TEXT_LENGTH$1).optional(),
10832
10913
  publicationSource: centerAgentRemoteAgentExecutionPublicationSourceSchema,
10833
10914
  speakerMember: centerAgentToolSpeakerSchema,
10834
- title: trimmedNonEmptyStringSchema$2.max(255).optional()
10915
+ title: trimmedNonEmptyStringSchema$1.max(255).optional()
10835
10916
  };
10836
10917
  union([
10837
10918
  strictObject({
@@ -10840,7 +10921,7 @@ union([
10840
10921
  }),
10841
10922
  strictObject({
10842
10923
  ...centerAgentSlackFilePublicationCommonFields,
10843
- channelName: trimmedNonEmptyStringSchema$2.max(80)
10924
+ channelName: trimmedNonEmptyStringSchema$1.max(80)
10844
10925
  }),
10845
10926
  strictObject({
10846
10927
  ...centerAgentSlackFilePublicationCommonFields,
@@ -10849,7 +10930,7 @@ union([
10849
10930
  ]);
10850
10931
  strictObject({
10851
10932
  includeBots: boolean().optional(),
10852
- query: trimmedNonEmptyStringSchema$2.max(500),
10933
+ query: trimmedNonEmptyStringSchema$1.max(500),
10853
10934
  searchAuthorization: remoteAgentSlackSearchAuthorizationSchema,
10854
10935
  speakerMember: centerAgentToolSpeakerSchema
10855
10936
  });
@@ -10867,7 +10948,7 @@ strictObject({
10867
10948
  mentionProfileIds: array(openMeldRuntimeProfileIdSchema).max(25).optional(),
10868
10949
  onBehalfOf: centerAgentOnBehalfOfInputSchema.optional(),
10869
10950
  referenceProfileIds: array(openMeldRuntimeProfileIdSchema).max(25).optional(),
10870
- spaceId: trimmedNonEmptyStringSchema$2,
10951
+ spaceId: trimmedNonEmptyStringSchema$1,
10871
10952
  text: string().trim().min(1).max(MAX_TEXT_LENGTH$1)
10872
10953
  }).superRefine((value, context) => {
10873
10954
  const otherAddressingProfileIds = /* @__PURE__ */ new Set([
@@ -10917,19 +10998,19 @@ strictObject({
10917
10998
  strictObject({
10918
10999
  activationTargets: array(agentProfileIdSchema).min(1),
10919
11000
  attribution: centerAgentAttributionSchema,
10920
- clientMessageId: trimmedNonEmptyStringSchema$2,
11001
+ clientMessageId: trimmedNonEmptyStringSchema$1,
10921
11002
  completionMode: centerAgentDelegationCompletionModeSchema,
10922
11003
  context: openMeldRequestContextSchema,
10923
- delegationId: trimmedNonEmptyStringSchema$2,
11004
+ delegationId: trimmedNonEmptyStringSchema$1,
10924
11005
  fallbackAgentProfileId: agentProfileIdSchema.nullable(),
10925
- organizationId: trimmedNonEmptyStringSchema$2,
10926
- parentSubmissionId: trimmedNonEmptyStringSchema$2,
11006
+ organizationId: trimmedNonEmptyStringSchema$1,
11007
+ parentSubmissionId: trimmedNonEmptyStringSchema$1,
10927
11008
  profile: profileSchema,
10928
11009
  mentionTargets: array(openMeldRuntimeProfileIdSchema).max(25).default([]),
10929
11010
  referenceTargets: array(openMeldRuntimeProfileIdSchema).max(25).default([]),
10930
11011
  spaceAddressingVersion: literal("1").optional(),
10931
- spaceId: trimmedNonEmptyStringSchema$2,
10932
- subscriptionIds: array(trimmedNonEmptyStringSchema$2).min(1),
11012
+ spaceId: trimmedNonEmptyStringSchema$1,
11013
+ subscriptionIds: array(trimmedNonEmptyStringSchema$1).min(1),
10933
11014
  text: string().trim().min(1).max(MAX_TEXT_LENGTH$1),
10934
11015
  v: literal(1)
10935
11016
  }).superRefine((value, context) => {
@@ -10959,7 +11040,7 @@ strictObject({
10959
11040
  onBehalfOf: centerAgentOnBehalfOfInputSchema.optional(),
10960
11041
  password: spacePasswordSchema.optional(),
10961
11042
  purpose: string().optional(),
10962
- spaceId: trimmedNonEmptyStringSchema$2
11043
+ spaceId: trimmedNonEmptyStringSchema$1
10963
11044
  }).superRefine((value, ctx) => {
10964
11045
  if (value.accessMode === void 0 && value.guide === void 0 && value.purpose === void 0) ctx.addIssue({
10965
11046
  code: "custom",
@@ -10999,24 +11080,24 @@ const centerAgentProductOperationStepSchema = strictObject({
10999
11080
  "failed",
11000
11081
  "skipped"
11001
11082
  ]),
11002
- message: trimmedNonEmptyStringSchema$2.optional(),
11003
- nextAction: trimmedNonEmptyStringSchema$2.optional()
11083
+ message: trimmedNonEmptyStringSchema$1.optional(),
11084
+ nextAction: trimmedNonEmptyStringSchema$1.optional()
11004
11085
  });
11005
11086
  const centerAgentLocalAgentConnectionCandidateSchema = strictObject({
11006
- agentControllerRef: trimmedNonEmptyStringSchema$2,
11007
- agentDisplayName: trimmedNonEmptyStringSchema$2,
11008
- candidateId: trimmedNonEmptyStringSchema$2,
11087
+ agentControllerRef: trimmedNonEmptyStringSchema$1,
11088
+ agentDisplayName: trimmedNonEmptyStringSchema$1,
11089
+ candidateId: trimmedNonEmptyStringSchema$1,
11009
11090
  connectable: boolean(),
11010
- deviceDisplayName: trimmedNonEmptyStringSchema$2,
11011
- deviceId: trimmedNonEmptyStringSchema$2,
11091
+ deviceDisplayName: trimmedNonEmptyStringSchema$1,
11092
+ deviceId: trimmedNonEmptyStringSchema$1,
11012
11093
  freshness: enumFactory([
11013
11094
  "fresh",
11014
11095
  "stale",
11015
11096
  "unknown"
11016
11097
  ]),
11017
11098
  lastObservedAtMs: number().int().nonnegative().nullable(),
11018
- reasonCodes: array(trimmedNonEmptyStringSchema$2),
11019
- runtimeLane: trimmedNonEmptyStringSchema$2,
11099
+ reasonCodes: array(trimmedNonEmptyStringSchema$1),
11100
+ runtimeLane: trimmedNonEmptyStringSchema$1,
11020
11101
  status: enumFactory([
11021
11102
  "ready",
11022
11103
  "not_ready",
@@ -11026,12 +11107,12 @@ const centerAgentLocalAgentConnectionCandidateSchema = strictObject({
11026
11107
  openMeldServiceRuntimeId: prepareReadinessRuntimeIdSchema
11027
11108
  });
11028
11109
  const centerAgentComputerSetupOptionSchema = strictObject({
11029
- connectedComputerId: trimmedNonEmptyStringSchema$2.nullable(),
11030
- deviceDisplayName: trimmedNonEmptyStringSchema$2,
11031
- deviceId: trimmedNonEmptyStringSchema$2,
11110
+ connectedComputerId: trimmedNonEmptyStringSchema$1.nullable(),
11111
+ deviceDisplayName: trimmedNonEmptyStringSchema$1,
11112
+ deviceId: trimmedNonEmptyStringSchema$1,
11032
11113
  isCurrent: boolean(),
11033
11114
  lastObservedAtMs: number().int().nonnegative().nullable(),
11034
- reasonCodes: array(trimmedNonEmptyStringSchema$2),
11115
+ reasonCodes: array(trimmedNonEmptyStringSchema$1),
11035
11116
  recommendedMode: computerSetupModeSchema.nullable(),
11036
11117
  status: enumFactory([
11037
11118
  "connected",
@@ -11049,7 +11130,7 @@ const centerAgentComputerSetupOptionSchema = strictObject({
11049
11130
  strictObject({});
11050
11131
  strictObject({
11051
11132
  candidates: array(centerAgentLocalAgentConnectionCandidateSchema),
11052
- organizationId: trimmedNonEmptyStringSchema$2
11133
+ organizationId: trimmedNonEmptyStringSchema$1
11053
11134
  });
11054
11135
  strictObject({
11055
11136
  includeDiagnostics: boolean().optional(),
@@ -11059,11 +11140,11 @@ strictObject({
11059
11140
  strictObject({
11060
11141
  computers: array(centerAgentComputerSetupOptionSchema),
11061
11142
  diagnostics: ownerComputerDiagnosticsSchema.optional(),
11062
- organizationId: trimmedNonEmptyStringSchema$2
11143
+ organizationId: trimmedNonEmptyStringSchema$1
11063
11144
  });
11064
11145
  strictObject({ speakerMember: centerAgentToolSpeakerSchema });
11065
11146
  strictObject({
11066
- organizationId: trimmedNonEmptyStringSchema$2,
11147
+ organizationId: trimmedNonEmptyStringSchema$1,
11067
11148
  result: requestCurrentOpenMeldToolsUpdateResponseSchema
11068
11149
  });
11069
11150
  strictObject({
@@ -11071,26 +11152,26 @@ strictObject({
11071
11152
  speakerMember: centerAgentToolSpeakerSchema
11072
11153
  });
11073
11154
  strictObject({
11074
- organizationId: trimmedNonEmptyStringSchema$2,
11155
+ organizationId: trimmedNonEmptyStringSchema$1,
11075
11156
  result: setCurrentOpenMeldToolsMaintenanceResponseSchema
11076
11157
  });
11077
11158
  strictObject({
11078
- agentId: trimmedNonEmptyStringSchema$2.max(256),
11159
+ agentId: trimmedNonEmptyStringSchema$1.max(256),
11079
11160
  speakerMember: centerAgentToolSpeakerSchema
11080
11161
  });
11081
- currentLocalAgentInstallationsResponseSchema.extend({ organizationId: trimmedNonEmptyStringSchema$2 });
11162
+ currentLocalAgentInstallationsResponseSchema.extend({ organizationId: trimmedNonEmptyStringSchema$1 });
11082
11163
  strictObject({
11083
- agentId: trimmedNonEmptyStringSchema$2.max(256),
11164
+ agentId: trimmedNonEmptyStringSchema$1.max(256),
11084
11165
  confirmed: literal(true),
11085
- installationId: trimmedNonEmptyStringSchema$2.max(256),
11166
+ installationId: trimmedNonEmptyStringSchema$1.max(256),
11086
11167
  speakerMember: centerAgentToolSpeakerSchema
11087
11168
  });
11088
- selectCurrentLocalAgentInstallationResponseSchema.extend({ organizationId: trimmedNonEmptyStringSchema$2 });
11169
+ selectCurrentLocalAgentInstallationResponseSchema.extend({ organizationId: trimmedNonEmptyStringSchema$1 });
11089
11170
  strictObject({
11090
11171
  includeUsageLimits: literal("true").optional(),
11091
- memberUserId: trimmedNonEmptyStringSchema$2
11172
+ memberUserId: trimmedNonEmptyStringSchema$1
11092
11173
  });
11093
- organizationComputersResponseSchema.extend({ memberUserId: trimmedNonEmptyStringSchema$2 }).superRefine((value, context) => {
11174
+ organizationComputersResponseSchema.extend({ memberUserId: trimmedNonEmptyStringSchema$1 }).superRefine((value, context) => {
11094
11175
  value.computers.forEach((computer, index) => {
11095
11176
  if (computer.ownerUserId !== value.memberUserId) context.addIssue({
11096
11177
  code: "custom",
@@ -11107,20 +11188,20 @@ strictObject({
11107
11188
  agentControllerCollaborationMode: agentProfileBindingAgentControllerCollaborationModeSchema.optional(),
11108
11189
  agentControllerPermissionMode: agentProfileBindingAgentControllerPermissionModeSchema.optional(),
11109
11190
  agentProfileId: agentProfileIdSchema,
11110
- candidateId: trimmedNonEmptyStringSchema$2,
11111
- modelId: trimmedNonEmptyStringSchema$2.optional(),
11191
+ candidateId: trimmedNonEmptyStringSchema$1,
11192
+ modelId: trimmedNonEmptyStringSchema$1.optional(),
11112
11193
  onBehalfOf: centerAgentOnBehalfOfInputSchema.optional(),
11113
11194
  openCodePermission: agentProfileBindingOpenCodePermissionSchema.optional(),
11114
- reasoningLevel: trimmedNonEmptyStringSchema$2.optional()
11195
+ reasoningLevel: trimmedNonEmptyStringSchema$1.optional()
11115
11196
  });
11116
11197
  strictObject({
11117
11198
  agentControllerCollaborationMode: agentProfileBindingAgentControllerCollaborationModeSchema.optional(),
11118
11199
  agentControllerPermissionMode: agentProfileBindingAgentControllerPermissionModeSchema.optional(),
11119
11200
  agentProfileId: agentProfileIdSchema,
11120
- modelId: trimmedNonEmptyStringSchema$2.optional(),
11201
+ modelId: trimmedNonEmptyStringSchema$1.optional(),
11121
11202
  onBehalfOf: centerAgentOnBehalfOfInputSchema.optional(),
11122
11203
  openCodePermission: agentProfileBindingOpenCodePermissionSchema.optional(),
11123
- reasoningLevel: trimmedNonEmptyStringSchema$2.optional(),
11204
+ reasoningLevel: trimmedNonEmptyStringSchema$1.optional(),
11124
11205
  workspaceMode: profileWorkspaceModeSchema.optional(),
11125
11206
  workspacePath: profileWorkingDirectorySchema.optional()
11126
11207
  }).superRefine((value, ctx) => {
@@ -11144,14 +11225,14 @@ strictObject({ onBehalfOf: centerAgentOnBehalfOfInputSchema.optional() });
11144
11225
  strictObject({
11145
11226
  agentControllerCollaborationMode: agentProfileBindingAgentControllerCollaborationModeSchema.optional(),
11146
11227
  agentControllerPermissionMode: agentProfileBindingAgentControllerPermissionModeSchema.optional(),
11147
- candidateId: trimmedNonEmptyStringSchema$2,
11228
+ candidateId: trimmedNonEmptyStringSchema$1,
11148
11229
  configuration: agentProfileCreationPreferenceSelectionSchema.optional(),
11149
- modelId: trimmedNonEmptyStringSchema$2.optional(),
11230
+ modelId: trimmedNonEmptyStringSchema$1.optional(),
11150
11231
  onBehalfOf: centerAgentOnBehalfOfInputSchema.optional(),
11151
11232
  openCodePermission: agentProfileBindingOpenCodePermissionSchema.optional(),
11152
- profileName: trimmedNonEmptyStringSchema$2,
11153
- reasoningLevel: trimmedNonEmptyStringSchema$2.optional(),
11154
- spaceId: trimmedNonEmptyStringSchema$2,
11233
+ profileName: trimmedNonEmptyStringSchema$1,
11234
+ reasoningLevel: trimmedNonEmptyStringSchema$1.optional(),
11235
+ spaceId: trimmedNonEmptyStringSchema$1,
11155
11236
  workspaceMode: profileWorkspaceModeSchema.optional(),
11156
11237
  workspacePath: profileWorkingDirectorySchema.optional()
11157
11238
  }).superRefine((value, ctx) => {
@@ -11169,13 +11250,13 @@ strictObject({
11169
11250
  const centerAgentCheckAgentProfileReadinessResponseSchema = strictObject({
11170
11251
  agentProfileId: agentProfileIdSchema,
11171
11252
  blockers: array(strictObject({
11172
- reasonCode: trimmedNonEmptyStringSchema$2,
11173
- explanation: trimmedNonEmptyStringSchema$2
11253
+ reasonCode: trimmedNonEmptyStringSchema$1,
11254
+ explanation: trimmedNonEmptyStringSchema$1
11174
11255
  })),
11175
11256
  canReply: boolean(),
11176
- organizationId: trimmedNonEmptyStringSchema$2,
11257
+ organizationId: trimmedNonEmptyStringSchema$1,
11177
11258
  readiness: getAgentExecutionReadinessResponseSchema,
11178
- summary: trimmedNonEmptyStringSchema$2
11259
+ summary: trimmedNonEmptyStringSchema$1
11179
11260
  });
11180
11261
  const centerAgentProductOperationStatusSchema = enumFactory(["completed", "blocked"]);
11181
11262
  const centerAgentConnectAgentProfileToLocalAgentResponseSchema = strictObject({
@@ -11183,7 +11264,7 @@ const centerAgentConnectAgentProfileToLocalAgentResponseSchema = strictObject({
11183
11264
  binding: ensureAgentProfilePrimaryBindingResponseSchema.optional(),
11184
11265
  canReply: boolean(),
11185
11266
  candidate: centerAgentLocalAgentConnectionCandidateSchema.optional(),
11186
- organizationId: trimmedNonEmptyStringSchema$2,
11267
+ organizationId: trimmedNonEmptyStringSchema$1,
11187
11268
  readiness: centerAgentCheckAgentProfileReadinessResponseSchema.optional(),
11188
11269
  status: centerAgentProductOperationStatusSchema,
11189
11270
  steps: array(centerAgentProductOperationStepSchema)
@@ -11192,7 +11273,7 @@ strictObject({
11192
11273
  agentProfileId: agentProfileIdSchema,
11193
11274
  binding: ensureAgentProfilePrimaryBindingResponseSchema.optional(),
11194
11275
  canReply: boolean(),
11195
- organizationId: trimmedNonEmptyStringSchema$2,
11276
+ organizationId: trimmedNonEmptyStringSchema$1,
11196
11277
  readiness: centerAgentCheckAgentProfileReadinessResponseSchema.optional(),
11197
11278
  status: centerAgentProductOperationStatusSchema,
11198
11279
  steps: array(centerAgentProductOperationStepSchema),
@@ -11202,22 +11283,22 @@ strictObject({
11202
11283
  agentProfileId: agentProfileIdSchema.optional(),
11203
11284
  canReply: boolean(),
11204
11285
  connection: centerAgentConnectAgentProfileToLocalAgentResponseSchema.optional(),
11205
- organizationId: trimmedNonEmptyStringSchema$2,
11286
+ organizationId: trimmedNonEmptyStringSchema$1,
11206
11287
  profile: authProfileViewSchema.optional(),
11207
11288
  readiness: centerAgentCheckAgentProfileReadinessResponseSchema.optional(),
11208
- spaceId: trimmedNonEmptyStringSchema$2,
11289
+ spaceId: trimmedNonEmptyStringSchema$1,
11209
11290
  status: centerAgentProductOperationStatusSchema,
11210
11291
  steps: array(centerAgentProductOperationStepSchema),
11211
11292
  workspace: setCurrentAgentProfileWorkspaceResponseSchema.optional()
11212
11293
  });
11213
11294
  const centerAgentConciergeActionResponseSchema = strictObject({
11214
- organizationId: trimmedNonEmptyStringSchema$2,
11295
+ organizationId: trimmedNonEmptyStringSchema$1,
11215
11296
  attribution: centerAgentAttributionSchema,
11216
11297
  resource: centerAgentResourceSchema.nullable()
11217
11298
  });
11218
11299
  centerAgentConciergeActionResponseSchema.extend({
11219
11300
  meta: spaceMetaSchema.optional(),
11220
- spaceId: trimmedNonEmptyStringSchema$2
11301
+ spaceId: trimmedNonEmptyStringSchema$1
11221
11302
  });
11222
11303
  centerAgentConciergeActionResponseSchema.extend({ profile: authProfileViewSchema });
11223
11304
  centerAgentConciergeActionResponseSchema.extend({
@@ -11226,49 +11307,49 @@ centerAgentConciergeActionResponseSchema.extend({
11226
11307
  });
11227
11308
  centerAgentConciergeActionResponseSchema.extend({
11228
11309
  agentProfileIds: array(agentProfileIdSchema),
11229
- spaceId: trimmedNonEmptyStringSchema$2,
11310
+ spaceId: trimmedNonEmptyStringSchema$1,
11230
11311
  membership: postSpaceMembersResponseSchema
11231
11312
  });
11232
11313
  const centerAgentAddMembersToSpaceResultSchema = discriminatedUnion("status", [strictObject({
11233
- memberUserId: trimmedNonEmptyStringSchema$2,
11314
+ memberUserId: trimmedNonEmptyStringSchema$1,
11234
11315
  profileId: openMeldRuntimeProfileIdSchema,
11235
11316
  status: enumFactory(["added", "already_member"])
11236
11317
  }), strictObject({
11237
11318
  code: enumFactory(["not_organization_member", "active_human_profile_required"]),
11238
- memberUserId: trimmedNonEmptyStringSchema$2,
11239
- message: trimmedNonEmptyStringSchema$2,
11319
+ memberUserId: trimmedNonEmptyStringSchema$1,
11320
+ message: trimmedNonEmptyStringSchema$1,
11240
11321
  status: literal("rejected")
11241
11322
  })]);
11242
11323
  centerAgentConciergeActionResponseSchema.extend({
11243
11324
  membership: postSpaceMembersResponseSchema,
11244
11325
  results: array(centerAgentAddMembersToSpaceResultSchema),
11245
- spaceId: trimmedNonEmptyStringSchema$2
11326
+ spaceId: trimmedNonEmptyStringSchema$1
11246
11327
  });
11247
11328
  centerAgentConciergeActionResponseSchema.extend({
11248
11329
  agentProfileIds: array(agentProfileIdSchema),
11249
- spaceId: trimmedNonEmptyStringSchema$2,
11330
+ spaceId: trimmedNonEmptyStringSchema$1,
11250
11331
  membership: removeSpaceMembersResponseSchema
11251
11332
  });
11252
11333
  const centerAgentSpaceContextBaseResponseShape = {
11253
- organizationId: trimmedNonEmptyStringSchema$2,
11254
- spaceId: trimmedNonEmptyStringSchema$2
11334
+ organizationId: trimmedNonEmptyStringSchema$1,
11335
+ spaceId: trimmedNonEmptyStringSchema$1
11255
11336
  };
11256
11337
  const centerAgentProgressiveSpaceContextSchema = discriminatedUnion("scope", [
11257
11338
  strictObject({
11258
11339
  scope: literal("source"),
11259
11340
  signals: array(signalEnvelopeSchema).max(1),
11260
- sourceSignalId: trimmedNonEmptyStringSchema$2,
11341
+ sourceSignalId: trimmedNonEmptyStringSchema$1,
11261
11342
  threadContext: union([spaceThreadContextSchema, nullFactory()]),
11262
11343
  truncated: literal(false)
11263
11344
  }),
11264
11345
  strictObject({
11265
11346
  scope: literal("thread"),
11266
11347
  signals: array(signalEnvelopeSchema).max(100),
11267
- threadId: trimmedNonEmptyStringSchema$2,
11348
+ threadId: trimmedNonEmptyStringSchema$1,
11268
11349
  truncated: boolean()
11269
11350
  }),
11270
11351
  strictObject({
11271
- afterSignalId: trimmedNonEmptyStringSchema$2,
11352
+ afterSignalId: trimmedNonEmptyStringSchema$1,
11272
11353
  scope: literal("delta"),
11273
11354
  signals: array(signalEnvelopeSchema).max(100),
11274
11355
  truncated: boolean()
@@ -11287,9 +11368,9 @@ union([strictObject({
11287
11368
  context: centerAgentProgressiveSpaceContextSchema
11288
11369
  })]);
11289
11370
  const centerAgentDispatchHistoryLatestAttemptSchema = strictObject({
11290
- attemptId: trimmedNonEmptyStringSchema$2,
11371
+ attemptId: trimmedNonEmptyStringSchema$1,
11291
11372
  attemptNo: int().min(1),
11292
- createdAt: ISO_DATE_TIME_SCHEMA$2,
11373
+ createdAt: ISO_DATE_TIME_SCHEMA$1,
11293
11374
  errorCode: nullableTrimmedStringSchema$1,
11294
11375
  errorMessage: nullableDiagnosticTextSchema,
11295
11376
  finishedAt: nullableIsoDateTimeSchema$1,
@@ -11299,20 +11380,20 @@ const centerAgentDispatchHistoryLatestAttemptSchema = strictObject({
11299
11380
  strictObject({
11300
11381
  entries: array(strictObject({
11301
11382
  attemptCount: int().min(0),
11302
- dispatchId: trimmedNonEmptyStringSchema$2,
11303
- firstSeenAt: ISO_DATE_TIME_SCHEMA$2,
11304
- lastAttemptAt: ISO_DATE_TIME_SCHEMA$2,
11383
+ dispatchId: trimmedNonEmptyStringSchema$1,
11384
+ firstSeenAt: ISO_DATE_TIME_SCHEMA$1,
11385
+ lastAttemptAt: ISO_DATE_TIME_SCHEMA$1,
11305
11386
  latestAttempt: union([centerAgentDispatchHistoryLatestAttemptSchema, nullFactory()]),
11306
11387
  status: spaceDispatchTraceDispatchStatusSchema,
11307
- targetProfileId: trimmedNonEmptyStringSchema$2
11388
+ targetProfileId: trimmedNonEmptyStringSchema$1
11308
11389
  })),
11309
- organizationId: trimmedNonEmptyStringSchema$2,
11310
- spaceId: trimmedNonEmptyStringSchema$2
11390
+ organizationId: trimmedNonEmptyStringSchema$1,
11391
+ spaceId: trimmedNonEmptyStringSchema$1
11311
11392
  });
11312
11393
  centerAgentConciergeActionResponseSchema.extend({
11313
11394
  accessModeState: spaceAccessModeStateSchema.optional(),
11314
11395
  meta: spaceMetaSchema.optional(),
11315
- spaceId: trimmedNonEmptyStringSchema$2
11396
+ spaceId: trimmedNonEmptyStringSchema$1
11316
11397
  });
11317
11398
  discriminatedUnion("addressingModel", [strictObject({
11318
11399
  addressingModel: literal("wake_reference"),
@@ -11324,25 +11405,25 @@ discriminatedUnion("addressingModel", [strictObject({
11324
11405
  })]);
11325
11406
  centerAgentConciergeActionResponseSchema.extend({
11326
11407
  signal: signalTextEnvelopeSchema,
11327
- spaceId: trimmedNonEmptyStringSchema$2
11408
+ spaceId: trimmedNonEmptyStringSchema$1
11328
11409
  });
11329
11410
  strictObject({
11330
11411
  attribution: centerAgentAttributionSchema,
11331
- channelName: trimmedNonEmptyStringSchema$2.max(80),
11412
+ channelName: trimmedNonEmptyStringSchema$1.max(80),
11332
11413
  joinedChannel: boolean(),
11333
- messageTs: trimmedNonEmptyStringSchema$2,
11334
- organizationId: trimmedNonEmptyStringSchema$2
11414
+ messageTs: trimmedNonEmptyStringSchema$1,
11415
+ organizationId: trimmedNonEmptyStringSchema$1
11335
11416
  });
11336
11417
  strictObject({
11337
11418
  attribution: centerAgentAttributionSchema,
11338
- channelName: trimmedNonEmptyStringSchema$2.max(80),
11419
+ channelName: trimmedNonEmptyStringSchema$1.max(80),
11339
11420
  file: slackFileMetadataSchema,
11340
11421
  joinedChannel: boolean(),
11341
- organizationId: trimmedNonEmptyStringSchema$2
11422
+ organizationId: trimmedNonEmptyStringSchema$1
11342
11423
  });
11343
11424
  const centerAgentSlackSearchFailureSchema = strictObject({
11344
- organizationId: trimmedNonEmptyStringSchema$2,
11345
- reason: trimmedNonEmptyStringSchema$2.max(500),
11425
+ organizationId: trimmedNonEmptyStringSchema$1,
11426
+ reason: trimmedNonEmptyStringSchema$1.max(500),
11346
11427
  retryAfterSeconds: number().int().nonnegative().optional(),
11347
11428
  status: enumFactory([
11348
11429
  "authorization_expired",
@@ -11352,36 +11433,36 @@ const centerAgentSlackSearchFailureSchema = strictObject({
11352
11433
  ])
11353
11434
  });
11354
11435
  const centerAgentSlackSearchEvidenceItemSchema = strictObject({
11355
- authorName: trimmedNonEmptyStringSchema$2.max(256),
11356
- authorUserId: trimmedNonEmptyStringSchema$2.max(256),
11357
- channelId: trimmedNonEmptyStringSchema$2.max(256),
11358
- channelName: trimmedNonEmptyStringSchema$2.max(256),
11359
- content: trimmedNonEmptyStringSchema$2.max(2e3),
11436
+ authorName: trimmedNonEmptyStringSchema$1.max(256),
11437
+ authorUserId: trimmedNonEmptyStringSchema$1.max(256),
11438
+ channelId: trimmedNonEmptyStringSchema$1.max(256),
11439
+ channelName: trimmedNonEmptyStringSchema$1.max(256),
11440
+ content: trimmedNonEmptyStringSchema$1.max(2e3),
11360
11441
  isAuthorBot: boolean(),
11361
- messageTs: trimmedNonEmptyStringSchema$2.max(64),
11442
+ messageTs: trimmedNonEmptyStringSchema$1.max(64),
11362
11443
  permalink: slackMessagePermalinkSchema
11363
11444
  });
11364
11445
  discriminatedUnion("status", [strictObject({
11365
11446
  messages: array(centerAgentSlackSearchEvidenceItemSchema.extend({ contextMessages: array(centerAgentSlackSearchEvidenceItemSchema).max(2) })).max(8),
11366
11447
  moreResultsAvailable: boolean(),
11367
- organizationId: trimmedNonEmptyStringSchema$2,
11448
+ organizationId: trimmedNonEmptyStringSchema$1,
11368
11449
  status: literal("found")
11369
11450
  }), centerAgentSlackSearchFailureSchema]);
11370
11451
  const centerAgentWakeAgentProfilesInSpaceResponseBaseSchema = centerAgentConciergeActionResponseSchema.extend({
11371
11452
  agentProfileIds: array(agentProfileIdSchema),
11372
11453
  childTasks: array(strictObject({
11373
11454
  completionCondition: literal("terminal"),
11374
- subscriptionId: trimmedNonEmptyStringSchema$2,
11455
+ subscriptionId: trimmedNonEmptyStringSchema$1,
11375
11456
  task: spaceWakeAgentTaskHandleSchema
11376
11457
  })).optional(),
11377
- delegationId: trimmedNonEmptyStringSchema$2.optional(),
11458
+ delegationId: trimmedNonEmptyStringSchema$1.optional(),
11378
11459
  fallbackTask: strictObject({
11379
- activationSubscriptionId: trimmedNonEmptyStringSchema$2,
11460
+ activationSubscriptionId: trimmedNonEmptyStringSchema$1,
11380
11461
  completionCondition: literal("terminal"),
11381
- subscriptionId: trimmedNonEmptyStringSchema$2,
11462
+ subscriptionId: trimmedNonEmptyStringSchema$1,
11382
11463
  task: spaceWakeAgentTaskHandleSchema
11383
11464
  }).optional(),
11384
- spaceId: trimmedNonEmptyStringSchema$2
11465
+ spaceId: trimmedNonEmptyStringSchema$1
11385
11466
  });
11386
11467
  union([centerAgentWakeAgentProfilesInSpaceResponseBaseSchema.extend({
11387
11468
  publicationStatus: literal("accepted").optional(),
@@ -11430,9 +11511,9 @@ centerAgentConciergeActionResponseSchema.extend({
11430
11511
  "condition_not_met"
11431
11512
  ]),
11432
11513
  outcome: union([agentTaskCompletionObservationSchema, nullFactory()]),
11433
- subscriptionId: trimmedNonEmptyStringSchema$2,
11514
+ subscriptionId: trimmedNonEmptyStringSchema$1,
11434
11515
  task: agentTaskHandleSchema,
11435
- watchId: trimmedNonEmptyStringSchema$2
11516
+ watchId: trimmedNonEmptyStringSchema$1
11436
11517
  });
11437
11518
  const centerAgentListAgentTaskSchema = strictObject({
11438
11519
  outcome: union([agentTaskTerminalOutcomeSchema, nullFactory()]),
@@ -11443,36 +11524,18 @@ const centerAgentListAgentTaskSchema = strictObject({
11443
11524
  });
11444
11525
  strictObject({
11445
11526
  hasMore: boolean(),
11446
- organizationId: trimmedNonEmptyStringSchema$2,
11527
+ organizationId: trimmedNonEmptyStringSchema$1,
11447
11528
  tasks: array(centerAgentListAgentTaskSchema).max(20)
11448
11529
  });
11449
11530
  centerAgentConciergeActionResponseSchema.extend({ invited: literal(true) });
11450
11531
  const openCenterAgentDirectMessageSpaceResponseSchema = strictObject({
11451
- organizationId: trimmedNonEmptyStringSchema$2,
11532
+ organizationId: trimmedNonEmptyStringSchema$1,
11452
11533
  centerAgentProfileId: agentProfileIdSchema,
11453
11534
  memberProfileId: openMeldRuntimeProfileIdSchema,
11454
- spaceId: trimmedNonEmptyStringSchema$2,
11535
+ spaceId: trimmedNonEmptyStringSchema$1,
11455
11536
  created: boolean()
11456
11537
  });
11457
11538
  //#endregion
11458
- //#region ../../packages/schemas/dist/schemas/http/center-agent-direct-message-space.js
11459
- const CENTER_AGENT_DIRECT_MESSAGE_SPACE_KIND = "center_agent_direct_message_space";
11460
- const ISO_DATE_TIME_SCHEMA$1 = z$1.iso.datetime({ offset: true });
11461
- const trimmedNonEmptyStringSchema$1 = z$1.string().trim().min(1);
11462
- const centerAgentDirectMessageSpaceProjectionSchema = z$1.strictObject({
11463
- centerAgentProfileId: trimmedNonEmptyStringSchema$1,
11464
- isCenterAgentDirectMessageSpace: z$1.literal(true),
11465
- kind: z$1.literal(CENTER_AGENT_DIRECT_MESSAGE_SPACE_KIND),
11466
- memberProfileId: trimmedNonEmptyStringSchema$1,
11467
- organizationId: trimmedNonEmptyStringSchema$1,
11468
- spaceId: trimmedNonEmptyStringSchema$1
11469
- });
11470
- const getCenterAgentDirectMessageSpaceProjectionResponseSchema = z$1.strictObject({
11471
- generatedAt: ISO_DATE_TIME_SCHEMA$1,
11472
- organizationId: trimmedNonEmptyStringSchema$1,
11473
- projection: z$1.union([centerAgentDirectMessageSpaceProjectionSchema, z$1.null()])
11474
- });
11475
- //#endregion
11476
11539
  //#region ../../packages/schemas/dist/schemas/http/center-agent-memory.js
11477
11540
  const boundedIdentifierSchema$1 = z$1.string().trim().min(1).max(256);
11478
11541
  const CENTER_AGENT_ORGANIZATION_MEMORY_FACT_MAX_CHARS = 1200;
@@ -13596,6 +13659,7 @@ function buildAccountSpaceIndexPath(input) {
13596
13659
  if (input.includeDirectMessageProfileIds === true) url.searchParams.set("includeDirectMessageProfileIds", "true");
13597
13660
  if (input.includePurposes === true) url.searchParams.set("includePurposes", "true");
13598
13661
  if (input.includeMemberPreviews === true) url.searchParams.set("includeMemberPreviews", "true");
13662
+ if (input.includeMessagePreviews === true) url.searchParams.set("includeMessagePreviews", "true");
13599
13663
  return `${url.pathname}${url.search}`;
13600
13664
  }
13601
13665
  const createAccountSpaceIndexApi = (client) => {
@@ -14000,6 +14064,12 @@ function buildCenterAgentAuditJournalPath() {
14000
14064
  function buildCenterAgentDirectMessageSpacePath() {
14001
14065
  return "/v1/organizations/current/center-agent/dm-space";
14002
14066
  }
14067
+ function buildCenterAgentSessionsPath() {
14068
+ return "/v1/organizations/current/center-agent/sessions";
14069
+ }
14070
+ function buildCenterAgentSessionPath(spaceId) {
14071
+ return `${buildCenterAgentSessionsPath()}/${encodeURIComponent(spaceId)}`;
14072
+ }
14003
14073
  function buildCenterAgentContextManifestPath() {
14004
14074
  return "/v1/organizations/current/center-agent/context-manifests";
14005
14075
  }
@@ -14187,6 +14257,7 @@ const createCenterAgentApi = (client) => ({
14187
14257
  const request = validateContextManifestInput(input);
14188
14258
  return await client.requestJson({
14189
14259
  body: JSON.stringify({
14260
+ ...request.spaceId === void 0 ? {} : { spaceId: request.spaceId },
14190
14261
  ...request.cursor === void 0 ? {} : { cursor: request.cursor },
14191
14262
  limit: request.limit,
14192
14263
  maxContextTokens: request.maxContextTokens,
@@ -14222,6 +14293,55 @@ const createCenterAgentApi = (client) => ({
14222
14293
  url: buildCenterAgentContextLoadReceiptPath(request.manifestId)
14223
14294
  });
14224
14295
  },
14296
+ createSession: async (input) => {
14297
+ const body = createCenterAgentSessionBodySchema.safeParse({ creationId: input.creationId });
14298
+ if (!body.success) throw new Error("Provide a valid session creation ID.");
14299
+ return await client.requestJson({
14300
+ url: buildCenterAgentSessionsPath(),
14301
+ operation: "center_agent.session.create",
14302
+ method: "POST",
14303
+ headers: { "content-type": "application/json" },
14304
+ body: JSON.stringify(body.data),
14305
+ requestContext: validateRequestInput$1(input).requestContext,
14306
+ signal: input.signal,
14307
+ timeoutMs: input.timeoutMs,
14308
+ schema: openCenterAgentDirectMessageSpaceResponseSchema,
14309
+ invalidMessage: "Invalid Center Agent session response."
14310
+ });
14311
+ },
14312
+ listSessions: async (input = {}) => {
14313
+ const parsed = listCenterAgentSessionsQuerySchema.safeParse({
14314
+ ...input.cursor === void 0 ? {} : { cursor: input.cursor },
14315
+ ...input.limit === void 0 ? {} : { limit: input.limit }
14316
+ });
14317
+ if (!parsed.success) throw new Error("Provide a valid chat-list cursor and limit.");
14318
+ const query = new URLSearchParams({ limit: String(parsed.data.limit) });
14319
+ if (parsed.data.cursor !== void 0) query.set("cursor", parsed.data.cursor);
14320
+ return await client.requestJson({
14321
+ url: `${buildCenterAgentSessionsPath()}?${query.toString()}`,
14322
+ operation: "center_agent.session.list",
14323
+ method: "GET",
14324
+ requestContext: validateRequestInput$1(input).requestContext,
14325
+ signal: input.signal,
14326
+ timeoutMs: input.timeoutMs,
14327
+ schema: listCenterAgentSessionsResponseSchema,
14328
+ invalidMessage: "Invalid Center Agent chat list."
14329
+ });
14330
+ },
14331
+ getSession: async (input) => {
14332
+ const selector = centerAgentSessionSelectorSchema.safeParse({ spaceId: input.spaceId });
14333
+ if (!selector.success) throw new Error("Provide a valid session ID.");
14334
+ return await client.requestJson({
14335
+ url: buildCenterAgentSessionPath(selector.data.spaceId),
14336
+ operation: "center_agent.session.read",
14337
+ method: "GET",
14338
+ requestContext: validateRequestInput$1(input).requestContext,
14339
+ signal: input.signal,
14340
+ timeoutMs: input.timeoutMs,
14341
+ schema: getCenterAgentDirectMessageSpaceProjectionResponseSchema,
14342
+ invalidMessage: "Invalid Center Agent session response."
14343
+ });
14344
+ },
14225
14345
  openDirectMessageSpace: async (input = {}) => await client.requestJson({
14226
14346
  url: buildCenterAgentDirectMessageSpacePath(),
14227
14347
  operation: "center_agent.dm_space.open",
@@ -14249,6 +14369,7 @@ function validateRequestInput$1(input) {
14249
14369
  }
14250
14370
  function validateContextManifestInput(input) {
14251
14371
  const parsed = createCenterAgentContextManifestBodySchema.safeParse({
14372
+ ...input.spaceId === void 0 ? {} : { spaceId: input.spaceId },
14252
14373
  ...input.cursor === void 0 ? {} : { cursor: input.cursor },
14253
14374
  ...input.limit === void 0 ? {} : { limit: input.limit },
14254
14375
  ...input.maxContextTokens === void 0 ? {} : { maxContextTokens: input.maxContextTokens },
@@ -18245,6 +18366,6 @@ function composeAbortSignals(parent, timeout) {
18245
18366
  };
18246
18367
  }
18247
18368
  //#endregion
18248
- export { buildInboxPath as $, DEFAULT_AGENT_PROFILE_CREATION_CONFIGURATION as $n, spaceMemberKindSchema as $r, createOrganizationUsageApi as $t, buildCurrentAgentProfileSessionRoute as A, parseServerErrorFrame as An, listCenterAgentRoutineRunsResponseSchema as Ar, buildSpaceInboxReadThroughPath as At, buildCurrentOrganizationMessageChannelRegistrationPollPath as B, SPACE_DISPATCH_TRACE_PROMPT_PREVIEW_MAX_CHARS as Bn, agentActivitySnapshotQuerySchema as Br, createConfigApi as Bt, buildCenterAgentTaskMessagesPath as C, uploadSpaceAttachment as Cn, profileCapabilitiesResponseSchema as Cr, buildRoutinePausePath as Ct, buildCenterAgentTasksPath as D, MAX_TEXT_LENGTH as Dn, submitFeedbackIssueResponseSchema as Dr, buildRoutinesPath as Dt, buildCenterAgentTaskStopPath as E, DAEMON_STREAM_KEEPALIVE_PONG as En, submitFeedbackIssueRequestSchema as Er, buildRoutineTargetSpacesPath as Et, buildCurrentOrganizationInformationProtectionPath as F, OPENMELD_HEADER_SPACE_ADDRESSING_VERSION as Fn, AGENT_ACTIVITY_EVENT_MAX_BYTES as Fr, createAgentProfileBindingApi as Ft, buildCurrentOrganizationSpacesWithMemberCountsPath as G, spaceDispatchTraceDispatchStatusSchema as Gn, leaveSpaceResponseSchema as Gr, createInboxApi as Gt, buildCurrentOrganizationMessageChannelSetupRequestsPath as H, projectSpaceDispatchTraceFinalVisibleOutcome as Hn, localProjectControlConnectionSchema as Hr, createDirectMessageApi as Ht, buildCurrentOrganizationLogoPath as I, buildOpenMeldRequestContextHeaders as In, AGENT_ACTIVITY_PRESENCE_TTL_MAX_MS as Ir, createAgentProfileWorkRecoveryApi as It, buildFeedbackIssueSubmissionPath as J, projectObservabilityWakeCorrelation as Jn, resolvedSpaceMemberProfileSchema as Jr, createLocalRuntimeExpectedRoutesApi as Jt, buildDirectMessageConversionPath as K, spaceDispatchTraceResponseSchema as Kn, postSpaceMembersResponseSchema as Kr, createLocalFolderPickerApi as Kt, buildCurrentOrganizationMemberOpenMeldServiceStatusesPath as L, toErrorMessage$2 as Ln, agentActivityEventSchema as Lr, createCenterAgentApi as Lt, buildCurrentOrganizationComputersPath as M, OPENMELD_HEADER_PROFILE_ID as Mn, pauseCenterAgentRoutineResponseSchema as Mr, buildSpaceInboxUnreadTargetsPath as Mt, buildCurrentOrganizationDirectoryPath as N, OPENMELD_HEADER_REQUESTED_ORGANIZATION_ID as Nn, resumeCenterAgentRoutineResponseSchema as Nr, createAccountSpaceIndexApi as Nt, buildComputerFileAccessReadPath as O, parseEnvelope as On, createCenterAgentRoutineResponseSchema as Or, buildSpaceAttachmentDownloadPath as Ot, buildCurrentOrganizationFeedbackReportingPolicyPath as P, OPENMELD_HEADER_REQUEST_ID as Pn, updateCenterAgentRoutineResponseSchema as Pr, createAgentActivityApi as Pt, buildInboxMarkAllReadPath as Q, summarizeComputerFileAccessPolicy as Qn, spaceMemberDirectorySchema as Qr, createOrganizationSkillsApi as Qt, buildCurrentOrganizationMessageChannelPath as R, getSpaceUpdatesResponseSchema as Rn, agentActivityProviderSchema as Rr, createCenterAgentTasksApi as Rt, buildCenterAgentProfilePath as S, updateSpaceMeta as Sn, authProfileManagedRoleSchema as Sr, buildRoutinePath as St, buildCenterAgentTaskRetryPath as T, DAEMON_STREAM_KEEPALIVE_PING as Tn, organizationComputersResponseSchema as Tr, buildRoutineRunsPath as Tt, buildCurrentOrganizationMessageChannelsPath as U, resolveSpaceDispatchTraceRootCause as Un, localProjectControlDaemonFrameSchema as Ur, createFeedbackApi as Ut, buildCurrentOrganizationMessageChannelRegistrationsPath as V, SPACE_DISPATCH_TRACE_RESPONSE_CONTRACT_VERSION_HEADER as Vn, agentActivitySnapshotResponseSchema as Vr, createCurrentDeviceApi as Vt, buildCurrentOrganizationSpacesPath as W, spaceDispatchTraceAttemptStatusSchema as Wn, localProjectControlDiscoverProjectsResponseSchema as Wr, createFetchTransport as Wt, buildInboxItemPath as X, ownerComputerDiagnosticsSchema as Xn, spaceMemberDirectoryAllowedRelationsSchema as Xr, createOrganizationApi as Xt, buildInboxItemDismissPath as Y, submitAgentControllerTaskLifecycleEventItemSchema as Yn, spaceMemberAgentWakeAvailabilitySchema as Yr, createOpenMeldApiClient as Yt, buildInboxItemReadPath as Z, projectOwnerComputerLocalRuntimes as Zn, spaceMemberDirectoryEntrySchema as Zr, createOrganizationDocumentsApi as Zt, buildCenterAgentDirectMessageSpacePath as _, startReplyReadinessSummarySchema as _i, setSpaceAccessMode as _n, stringifyOrganizationSkillBundleCanonicalJson as _r, buildProfileSpaceHistoryListPath as _t, buildAgentActivitySessionsPath as a, observedLocalAgentSessionSchema as ai, createRuntimeReportingApi as an, computerFileAccessPolicyInputSchema as ar, buildOrganizationDocumentApproveDraftPath as at, buildCenterAgentMemberResearchPath as b, agentControllerCollaborationModeSchema as bi, updateSpaceFileContent as bn, ADDITIONAL_HUMAN_PROFILE_CREATION_DISABLED_MESSAGE as br, buildProjectPath as bt, buildAgentProfileCreationApprovalPreferencePath as c, listProjectsResponseSchema as ci, downloadSpaceFileContent as cn, organizationSpaceDirectoryWithMemberCountsResponseSchema as cr, buildOrganizationDocumentsPath as ct, buildAgentProfileCreationRequestDecisionPath as d, centerAgentToolSpeakerSchema as di, listSpaceFileRevisions as dn, spaceMetaSchema as dr, buildOrganizationSkillGitHubPreviewPath as dt, agentActivityInventorySessionOriginSchema as ei, createPrepareReadinessApi as en, agentProfileCreationConfigurationSchema as er, buildInboxPreferencesPath as et, buildAgentProfileCreationRequestRetryPath as f, openCodePermissionConfigSchema as fi, listSpaceFiles as fn, getOrganizationSkillResponseSchema as fr, buildOrganizationSkillMaintainersPath as ft, buildCenterAgentDesignationPath as g, START_TRIMMED_NON_EMPTY_STRING_SCHEMA as gi, resolveProfileSpaceHistoryGatewayHost as gn, organizationSkillSummarySchema as gr, buildProfileRoute as gt, buildCenterAgentAuditJournalPath as h, START_ISO_DATE_TIME_SCHEMA as hi, resolveAccountSpaceIndexGatewayHost as hn, organizationSkillReleaseSummarySchema as hr, buildOrganizationUsageOverviewPath as ht, buildAccountSpaceIndexPath as i, localAgentSessionProviderSchema as ii, createRoutinesApi as in, computerFileAccessDaemonFrameSchema as ir, buildModelCatalogPath as it, buildCurrentOrganizationCenterAgentMemoryWipeSelfPath as j, resolveCustomMentionAliasOverride as jn, listCenterAgentRoutinesResponseSchema as jr, buildSpaceInboxSummaryPath as jt, buildComputerFileAccessUpdatePath as k, parseIncoming as kn, deleteCenterAgentRoutineResponseSchema as kr, buildSpaceBootstrapReadPath as kt, buildAgentProfileCreationDefaultsPath as l, projectSchema as li, getModelCatalog as ln, resolveInitialSpaceAccessMode as lr, buildOrganizationSkillEnabledPath as lt, buildAgentProfileWorkRecoveryRoute as m, START_BOUNDED_VERSION_SCHEMA as mi, publicSpaceUrls as mn, organizationSkillBundleSchema as mr, buildOrganizationSkillsPath as mt, OpenMeldApiClientInvalidResponseError as n, agentActivitySessionInventoryQuerySchema as ni, createProfilesApi as nn, COMPUTER_FILE_ACCESS_RUNTIME_CAPABILITY as nr, buildLocalFolderPickerPath as nt, buildAgentActivitySnapshotPath as o, archiveProjectResponseSchema as oi, createSpaceApi as on, computerFileAccessPolicySchema as or, buildOrganizationDocumentDiscardDraftPath as ot, buildAgentProfileCreationRequestsPath as p, START_BOUNDED_ID_SCHEMA as pi, normalizeApiBaseUrl as pn, listOrganizationSkillsResponseSchema as pr, buildOrganizationSkillPath as pt, buildDirectMessageSpacePath as q, observabilityWakeTraceSelectorSchema as qn, removeSpaceMembersResponseSchema as qr, createLocalProjectControlApi as qt, buildAccountSpaceActiveWakeSummaryPath as r, agentActivitySessionInventoryResponseSchema as ri, createProjectsApi as rn, OPENMELD_RUNTIME_CAPABILITIES_HEADER as rr, buildLocalProjectControlPath as rt, buildAgentActivityStatsPath as s, createProjectResponseSchema as si, createSpaceFolder as sn, modelCatalogSchema as sr, buildOrganizationDocumentPath as st, OpenMeldApiClientHttpError as t, agentActivityInventorySessionStatusSchema as ti, createProfileSpaceHistoryApi as tn, gatewayErrorEnvelopeSchema as tr, buildInboxSummaryPath as tt, buildAgentProfileCreationRequestCancelPath as u, updateProjectResponseSchema as ui, getSpaceFile as un, spaceCreatorSchema as ur, buildOrganizationSkillGitHubImportPath as ut, buildCenterAgentInboxReadThroughPath as v, localAgentCatalogSchema as vi, toStructuredApiClientFailure as vn, organizationDirectoryResponseSchema as vr, buildProfileSpaceHistoryStatusPath as vt, buildCenterAgentTaskPath as w, uploadSpaceFile as wn, profileErrorResponseSchema as wr, buildRoutineResumePath as wt, buildCenterAgentOperatingStatePath as x, toCompatibleSpaceAddressingRequestWireValue as xi, updateSpaceFileEntry as xn, authProfileKindSchema as xr, buildProjectsPath as xt, buildCenterAgentInboxSummaryPath as y, agentControllerPermissionModeSchema as yi, trashSpaceFileEntry as yn, ADDITIONAL_HUMAN_PROFILE_CREATION_DISABLED_CODE as yr, buildProfileSpaceHistoryUpsertPath as yt, buildCurrentOrganizationMessageChannelRegistrationPath as z, spaceEntryTargetSchema as zn, agentActivitySessionStatusSchema as zr, createComputerFileAccessApi as zt };
18369
+ 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 };
18249
18370
 
18250
- //# sourceMappingURL=dist-BVrzz3du.js.map
18371
+ //# sourceMappingURL=dist-DL_cNw8Y.js.map