openmeld 0.3.161 → 0.3.162
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.
- package/dist/{add-me-membership-zhgufZnd.js → add-me-membership-C9Y9OWxw.js} +2 -2
- package/dist/{add-me-membership-zhgufZnd.js.map → add-me-membership-C9Y9OWxw.js.map} +1 -1
- package/dist/{api-client-foundation-C2Ji0552.js → api-client-foundation-B653f1oL.js} +3 -3
- package/dist/{api-client-foundation-C2Ji0552.js.map → api-client-foundation-B653f1oL.js.map} +1 -1
- package/dist/{api-client-foundation-DoUewyi_.js → api-client-foundation-MuJJn5lD.js} +1 -1
- package/dist/auth-session-DWjyI9bE.js +4 -0
- package/dist/{auth-session-DnS-Axyz.js → auth-session-xj7oUO1L.js} +2 -2
- package/dist/{auth-session-DnS-Axyz.js.map → auth-session-xj7oUO1L.js.map} +1 -1
- package/dist/{command-cgFedSaF.js → command-Dc2TC2ol.js} +8 -8
- package/dist/{command-cgFedSaF.js.map → command-Dc2TC2ol.js.map} +1 -1
- package/dist/dist-CCEaxgwd.js +4 -0
- package/dist/{dist-BVrzz3du.js → dist-DdoxYSxj.js} +547 -434
- package/dist/dist-DdoxYSxj.js.map +1 -0
- package/dist/{elapsed-time-0R9PAYtt.js → elapsed-time-DlE75gVk.js} +3 -3
- package/dist/{elapsed-time-0R9PAYtt.js.map → elapsed-time-DlE75gVk.js.map} +1 -1
- package/dist/{installer-C3AuWZ_h.js → installer-BLq3-kJg.js} +3 -3
- package/dist/{installer-C3AuWZ_h.js.map → installer-BLq3-kJg.js.map} +1 -1
- package/dist/{openmeld-DmYjQa7n.js → openmeld-CUuOK6de.js} +15 -13
- package/dist/openmeld-CUuOK6de.js.map +1 -0
- package/dist/{openmeld-maintenance-worker-Bfj_RQbe.js → openmeld-maintenance-worker-D6rPVE2G.js} +3 -3
- package/dist/{openmeld-maintenance-worker-Bfj_RQbe.js.map → openmeld-maintenance-worker-D6rPVE2G.js.map} +1 -1
- package/dist/{openmeld-tools-update-coordinator-CwIVD1Fx.js → openmeld-tools-update-coordinator-BlAIre9U.js} +9 -9
- package/dist/{openmeld-tools-update-coordinator-CwIVD1Fx.js.map → openmeld-tools-update-coordinator-BlAIre9U.js.map} +1 -1
- package/dist/openmeld.js +3 -3
- package/dist/{runtime-transport-BsvsUfwb.js → runtime-transport-w7zmmzEz.js} +7 -2
- package/dist/runtime-transport-w7zmmzEz.js.map +1 -0
- package/dist/{upgrade-hBZIXIcH.js → upgrade-7ByxkBKE.js} +4 -4
- package/dist/{upgrade-hBZIXIcH.js.map → upgrade-7ByxkBKE.js.map} +1 -1
- package/dist/upgrade-DN0NpXH1.js +4 -0
- package/package.json +1 -1
- package/dist/auth-session-DMovqZYd.js +0 -4
- package/dist/dist-BVrzz3du.js.map +0 -1
- package/dist/dist-CGL0GrR6.js +0 -4
- package/dist/openmeld-DmYjQa7n.js.map +0 -1
- package/dist/runtime-transport-BsvsUfwb.js.map +0 -1
- 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-
|
|
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$
|
|
5107
|
-
const trimmedNonEmptyStringSchema$
|
|
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$
|
|
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$
|
|
5169
|
+
profileId: trimmedNonEmptyStringSchema$10,
|
|
5128
5170
|
profileKind: enumFactory([
|
|
5129
5171
|
"agent",
|
|
5130
5172
|
"human",
|
|
5131
5173
|
"system"
|
|
5132
5174
|
]),
|
|
5133
|
-
profileName: trimmedNonEmptyStringSchema$
|
|
5175
|
+
profileName: trimmedNonEmptyStringSchema$10
|
|
5134
5176
|
}),
|
|
5135
5177
|
carrier: strictObject({
|
|
5136
|
-
client: trimmedNonEmptyStringSchema$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
5237
|
+
generatedAt: ISO_DATE_TIME_SCHEMA$7,
|
|
5196
5238
|
manifestId: centerAgentContextManifestIdSchema,
|
|
5197
5239
|
provenance: strictObject({
|
|
5198
|
-
auditEntryId: trimmedNonEmptyStringSchema$
|
|
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$
|
|
5205
|
-
conversationId: trimmedNonEmptyStringSchema$
|
|
5246
|
+
centerAgentProfileId: trimmedNonEmptyStringSchema$10,
|
|
5247
|
+
conversationId: trimmedNonEmptyStringSchema$10,
|
|
5206
5248
|
kind: literal("center_agent_conversation"),
|
|
5207
|
-
memberProfileId: trimmedNonEmptyStringSchema$
|
|
5208
|
-
organizationId: trimmedNonEmptyStringSchema$
|
|
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$
|
|
5259
|
+
provenance: strictObject({ auditEntryId: trimmedNonEmptyStringSchema$10 }),
|
|
5218
5260
|
receipt: strictObject({
|
|
5219
|
-
client: trimmedNonEmptyStringSchema$
|
|
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$
|
|
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$
|
|
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$
|
|
5487
|
-
sourceName: trimmedNonEmptyStringSchema$
|
|
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$
|
|
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$
|
|
5576
|
-
subjectUserId: trimmedNonEmptyStringSchema$
|
|
5577
|
-
subjectDisplayName: trimmedNonEmptyStringSchema$
|
|
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$
|
|
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$
|
|
5597
|
-
organizationId: trimmedNonEmptyStringSchema$
|
|
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$
|
|
5701
|
+
expectedOrganizationId: trimmedNonEmptyStringSchema$9,
|
|
5660
5702
|
scope: z$1.literal("member"),
|
|
5661
|
-
subjectUserId: trimmedNonEmptyStringSchema$
|
|
5703
|
+
subjectUserId: trimmedNonEmptyStringSchema$9
|
|
5662
5704
|
}), z$1.strictObject({
|
|
5663
|
-
expectedOrganizationId: trimmedNonEmptyStringSchema$
|
|
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$
|
|
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$
|
|
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$
|
|
6196
|
-
upstreamCode: trimmedNonEmptyStringSchema$
|
|
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$
|
|
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$
|
|
6218
|
-
const nullableTrimmedStringSchema$6 = z$1.union([trimmedNonEmptyStringSchema$
|
|
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$
|
|
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$
|
|
6331
|
+
profileId: trimmedNonEmptyStringSchema$7,
|
|
6290
6332
|
gatewayHost: profileSpaceHistoryGatewayHostSchema,
|
|
6291
|
-
spaceId: trimmedNonEmptyStringSchema$
|
|
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$
|
|
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$
|
|
6302
|
-
updatedAt: ISO_DATE_TIME_SCHEMA$
|
|
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$
|
|
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$
|
|
6384
|
+
profileId: trimmedNonEmptyStringSchema$7,
|
|
6343
6385
|
gatewayHost: profileSpaceHistoryGatewayHostSchema,
|
|
6344
|
-
spaceId: trimmedNonEmptyStringSchema$
|
|
6386
|
+
spaceId: trimmedNonEmptyStringSchema$7,
|
|
6345
6387
|
status: profileSpaceHistoryStatusSchema,
|
|
6346
|
-
updatedAt: ISO_DATE_TIME_SCHEMA$
|
|
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$
|
|
6351
|
-
const trimmedNonEmptyStringSchema$
|
|
6352
|
-
const nullableTrimmedStringSchema$5 = z$1.union([trimmedNonEmptyStringSchema$
|
|
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$
|
|
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"]);
|
|
@@ -6382,18 +6424,18 @@ z$1.strictObject({
|
|
|
6382
6424
|
includePurposes: accountSpaceIndexIncludePurposesSchema,
|
|
6383
6425
|
limit: accountSpaceIndexLimitSchema,
|
|
6384
6426
|
scope: accountSpaceIndexScopeSchema.default("account"),
|
|
6385
|
-
selectedProfileId: trimmedNonEmptyStringSchema$
|
|
6427
|
+
selectedProfileId: trimmedNonEmptyStringSchema$6
|
|
6386
6428
|
});
|
|
6387
6429
|
const accountSpaceIndexJoinedProfileSchema = z$1.strictObject({
|
|
6388
|
-
lastJoinedAt: ISO_DATE_TIME_SCHEMA$
|
|
6430
|
+
lastJoinedAt: ISO_DATE_TIME_SCHEMA$5,
|
|
6389
6431
|
pinnedAt: nullableIsoDateTimeSchema$3,
|
|
6390
|
-
profileId: trimmedNonEmptyStringSchema$
|
|
6391
|
-
profileName: trimmedNonEmptyStringSchema$
|
|
6432
|
+
profileId: trimmedNonEmptyStringSchema$6,
|
|
6433
|
+
profileName: trimmedNonEmptyStringSchema$6
|
|
6392
6434
|
});
|
|
6393
6435
|
const accountSpaceIndexItemSchema = z$1.strictObject({
|
|
6394
6436
|
memberPreviews: z$1.array(z$1.strictObject({
|
|
6395
|
-
profileId: trimmedNonEmptyStringSchema$
|
|
6396
|
-
profileName: trimmedNonEmptyStringSchema$
|
|
6437
|
+
profileId: trimmedNonEmptyStringSchema$6,
|
|
6438
|
+
profileName: trimmedNonEmptyStringSchema$6,
|
|
6397
6439
|
profileKind: z$1.enum(["human", "agent"]),
|
|
6398
6440
|
agentControllerRef: nullableTrimmedStringSchema$5
|
|
6399
6441
|
})).max(3).optional(),
|
|
@@ -6403,31 +6445,31 @@ const accountSpaceIndexItemSchema = z$1.strictObject({
|
|
|
6403
6445
|
creatorProfileName: nullableTrimmedStringSchema$5,
|
|
6404
6446
|
gatewayHost: profileSpaceHistoryGatewayHostSchema,
|
|
6405
6447
|
joinedProfiles: z$1.array(accountSpaceIndexJoinedProfileSchema),
|
|
6406
|
-
lastJoinedAt: ISO_DATE_TIME_SCHEMA$
|
|
6448
|
+
lastJoinedAt: ISO_DATE_TIME_SCHEMA$5,
|
|
6407
6449
|
lastSeenTs: nullableNonNegativeIntSchema,
|
|
6408
|
-
openProfileId: trimmedNonEmptyStringSchema$
|
|
6409
|
-
openProfileName: trimmedNonEmptyStringSchema$
|
|
6410
|
-
organizationId: trimmedNonEmptyStringSchema$
|
|
6450
|
+
openProfileId: trimmedNonEmptyStringSchema$6,
|
|
6451
|
+
openProfileName: trimmedNonEmptyStringSchema$6,
|
|
6452
|
+
organizationId: trimmedNonEmptyStringSchema$6,
|
|
6411
6453
|
pinnedAt: nullableIsoDateTimeSchema$3,
|
|
6412
|
-
pinnedProfileIds: z$1.array(trimmedNonEmptyStringSchema$
|
|
6454
|
+
pinnedProfileIds: z$1.array(trimmedNonEmptyStringSchema$6),
|
|
6413
6455
|
spaceCreatedAt: nullableIsoDateTimeSchema$3,
|
|
6414
|
-
spaceId: trimmedNonEmptyStringSchema$
|
|
6415
|
-
spaceName: trimmedNonEmptyStringSchema$
|
|
6456
|
+
spaceId: trimmedNonEmptyStringSchema$6,
|
|
6457
|
+
spaceName: trimmedNonEmptyStringSchema$6,
|
|
6416
6458
|
activeAgentCount: nullableNonNegativeIntSchema.optional(),
|
|
6417
6459
|
activeHumanCount: nullableNonNegativeIntSchema.optional(),
|
|
6418
6460
|
activeMemberCount: nullableNonNegativeIntSchema.optional(),
|
|
6419
6461
|
directMessageConvertedAt: nullableIsoDateTimeSchema$3.optional(),
|
|
6420
|
-
directMessageProfileIds: z$1.union([z$1.tuple([trimmedNonEmptyStringSchema$
|
|
6462
|
+
directMessageProfileIds: z$1.union([z$1.tuple([trimmedNonEmptyStringSchema$6, trimmedNonEmptyStringSchema$6]), z$1.null()]).optional(),
|
|
6421
6463
|
spacePurpose: nullableTrimmedStringSchema$5.optional(),
|
|
6422
6464
|
spaceUpdatedAt: nullableIsoDateTimeSchema$3,
|
|
6423
|
-
status: trimmedNonEmptyStringSchema$
|
|
6424
|
-
updatedAt: ISO_DATE_TIME_SCHEMA$
|
|
6465
|
+
status: trimmedNonEmptyStringSchema$6,
|
|
6466
|
+
updatedAt: ISO_DATE_TIME_SCHEMA$5,
|
|
6425
6467
|
visibility: spaceOrganizationVisibilitySchema
|
|
6426
6468
|
});
|
|
6427
6469
|
const accountSpaceIndexDeletedItemSchema = z$1.strictObject({
|
|
6428
|
-
deletedAt: ISO_DATE_TIME_SCHEMA$
|
|
6470
|
+
deletedAt: ISO_DATE_TIME_SCHEMA$5,
|
|
6429
6471
|
deletedByProfileName: nullableTrimmedStringSchema$5,
|
|
6430
|
-
spaceId: trimmedNonEmptyStringSchema$
|
|
6472
|
+
spaceId: trimmedNonEmptyStringSchema$6,
|
|
6431
6473
|
spaceName: nullableTrimmedStringSchema$5
|
|
6432
6474
|
});
|
|
6433
6475
|
const accountSpaceIndexResponseSchema = z$1.strictObject({
|
|
@@ -7129,7 +7171,7 @@ const CONNECTOR_APP_REQUEST_STATUSES = [
|
|
|
7129
7171
|
"available",
|
|
7130
7172
|
"declined"
|
|
7131
7173
|
];
|
|
7132
|
-
const trimmedNonEmptyStringSchema$
|
|
7174
|
+
const trimmedNonEmptyStringSchema$5 = string().trim().min(1);
|
|
7133
7175
|
const timestampMsSchema$1 = number().int().nonnegative();
|
|
7134
7176
|
const connectorCredentialValueSchema = string().min(1).max(8192);
|
|
7135
7177
|
const connectorAppRequestOptionalTextSchema = string().trim().min(1).max(2e3).nullable();
|
|
@@ -7148,30 +7190,30 @@ const connectorConnectionSchema = strictObject({
|
|
|
7148
7190
|
connectionName: connectorConnectionNameSchema,
|
|
7149
7191
|
createdAtMs: timestampMsSchema$1,
|
|
7150
7192
|
disconnectedAtMs: timestampMsSchema$1.nullable(),
|
|
7151
|
-
organizationId: trimmedNonEmptyStringSchema$
|
|
7152
|
-
ownerDisplayName: trimmedNonEmptyStringSchema$
|
|
7193
|
+
organizationId: trimmedNonEmptyStringSchema$5,
|
|
7194
|
+
ownerDisplayName: trimmedNonEmptyStringSchema$5,
|
|
7153
7195
|
scope: connectorConnectionScopeSchema.default("member"),
|
|
7154
7196
|
service: connectorServiceSchema,
|
|
7155
7197
|
status: connectorConnectionStatusSchema,
|
|
7156
7198
|
updatedAtMs: timestampMsSchema$1,
|
|
7157
|
-
userId: trimmedNonEmptyStringSchema$
|
|
7199
|
+
userId: trimmedNonEmptyStringSchema$5
|
|
7158
7200
|
});
|
|
7159
7201
|
strictObject({
|
|
7160
7202
|
connections: array(connectorConnectionSchema),
|
|
7161
|
-
currentUserId: trimmedNonEmptyStringSchema$
|
|
7162
|
-
organizationId: trimmedNonEmptyStringSchema$
|
|
7203
|
+
currentUserId: trimmedNonEmptyStringSchema$5,
|
|
7204
|
+
organizationId: trimmedNonEmptyStringSchema$5
|
|
7163
7205
|
});
|
|
7164
7206
|
const connectorAppRequestSchema = strictObject({
|
|
7165
7207
|
availableAtMs: timestampMsSchema$1.nullable(),
|
|
7166
7208
|
createdAtMs: timestampMsSchema$1,
|
|
7167
7209
|
id: string().trim().min(1).max(128),
|
|
7168
7210
|
notifiedAtMs: timestampMsSchema$1.nullable(),
|
|
7169
|
-
organizationId: trimmedNonEmptyStringSchema$
|
|
7211
|
+
organizationId: trimmedNonEmptyStringSchema$5,
|
|
7170
7212
|
providerId: string().trim().min(1).max(160).nullable(),
|
|
7171
7213
|
providerName: string().trim().min(1).max(120),
|
|
7172
7214
|
requestedCapabilities: connectorAppRequestedCapabilitiesSchema,
|
|
7173
|
-
requesterMemberId: trimmedNonEmptyStringSchema$
|
|
7174
|
-
requesterUserId: trimmedNonEmptyStringSchema$
|
|
7215
|
+
requesterMemberId: trimmedNonEmptyStringSchema$5.nullable(),
|
|
7216
|
+
requesterUserId: trimmedNonEmptyStringSchema$5.nullable(),
|
|
7175
7217
|
source: connectorAppRequestSourceSchema,
|
|
7176
7218
|
status: connectorAppRequestStatusSchema,
|
|
7177
7219
|
updatedAtMs: timestampMsSchema$1,
|
|
@@ -7197,12 +7239,12 @@ strictObject({
|
|
|
7197
7239
|
});
|
|
7198
7240
|
strictObject({ request: connectorAppRequestSchema });
|
|
7199
7241
|
strictObject({
|
|
7200
|
-
currentUserId: trimmedNonEmptyStringSchema$
|
|
7201
|
-
organizationId: trimmedNonEmptyStringSchema$
|
|
7242
|
+
currentUserId: trimmedNonEmptyStringSchema$5,
|
|
7243
|
+
organizationId: trimmedNonEmptyStringSchema$5,
|
|
7202
7244
|
requests: array(connectorAppRequestSchema).max(500)
|
|
7203
7245
|
});
|
|
7204
7246
|
strictObject({
|
|
7205
|
-
organizationId: trimmedNonEmptyStringSchema$
|
|
7247
|
+
organizationId: trimmedNonEmptyStringSchema$5,
|
|
7206
7248
|
providers: array(strictObject({
|
|
7207
7249
|
authTypes: array(string().trim().min(1).max(80)).max(12),
|
|
7208
7250
|
categories: array(strictObject({
|
|
@@ -7232,12 +7274,12 @@ strictObject({
|
|
|
7232
7274
|
});
|
|
7233
7275
|
discriminatedUnion("status", [
|
|
7234
7276
|
strictObject({
|
|
7235
|
-
actorProfileId: trimmedNonEmptyStringSchema$
|
|
7277
|
+
actorProfileId: trimmedNonEmptyStringSchema$5,
|
|
7236
7278
|
installationId: githubAppInstallationIdSchema,
|
|
7237
|
-
organizationId: trimmedNonEmptyStringSchema$
|
|
7279
|
+
organizationId: trimmedNonEmptyStringSchema$5,
|
|
7238
7280
|
status: literal("valid"),
|
|
7239
7281
|
targetConnectionName: connectorConnectionNameSchema,
|
|
7240
|
-
userId: trimmedNonEmptyStringSchema$
|
|
7282
|
+
userId: trimmedNonEmptyStringSchema$5,
|
|
7241
7283
|
verificationConnectionName: connectorConnectionNameSchema
|
|
7242
7284
|
}),
|
|
7243
7285
|
strictObject({ status: literal("expired") }),
|
|
@@ -7245,10 +7287,10 @@ discriminatedUnion("status", [
|
|
|
7245
7287
|
]);
|
|
7246
7288
|
strictObject({
|
|
7247
7289
|
installationId: githubAppInstallationIdSchema,
|
|
7248
|
-
organizationId: trimmedNonEmptyStringSchema$
|
|
7290
|
+
organizationId: trimmedNonEmptyStringSchema$5,
|
|
7249
7291
|
status: literal("verifying"),
|
|
7250
7292
|
targetConnectionName: connectorConnectionNameSchema,
|
|
7251
|
-
userId: trimmedNonEmptyStringSchema$
|
|
7293
|
+
userId: trimmedNonEmptyStringSchema$5,
|
|
7252
7294
|
verificationConnectionName: connectorConnectionNameSchema
|
|
7253
7295
|
}).nullable();
|
|
7254
7296
|
strictObject({
|
|
@@ -7257,10 +7299,10 @@ strictObject({
|
|
|
7257
7299
|
});
|
|
7258
7300
|
strictObject({ connection: connectorConnectionSchema });
|
|
7259
7301
|
strictObject({
|
|
7260
|
-
expectedOrganizationId: trimmedNonEmptyStringSchema$
|
|
7302
|
+
expectedOrganizationId: trimmedNonEmptyStringSchema$5,
|
|
7261
7303
|
includeAuthorizationExpiry: literal("true").optional()
|
|
7262
7304
|
});
|
|
7263
|
-
strictObject({ userId: trimmedNonEmptyStringSchema$
|
|
7305
|
+
strictObject({ userId: trimmedNonEmptyStringSchema$5 });
|
|
7264
7306
|
strictObject({ connection: connectorConnectionSchema });
|
|
7265
7307
|
strictObject({
|
|
7266
7308
|
availableConnectionNames: array(connectorConnectionNameSchema).max(500),
|
|
@@ -7690,19 +7732,19 @@ const submitRuntimeProviderConversationProofsResponseSchema = z$1.strictObject({
|
|
|
7690
7732
|
});
|
|
7691
7733
|
//#endregion
|
|
7692
7734
|
//#region ../../packages/schemas/dist/schemas/http/slack-workspace-directory.js
|
|
7693
|
-
const ISO_DATE_TIME_SCHEMA$
|
|
7694
|
-
const trimmedNonEmptyStringSchema$
|
|
7695
|
-
const nullableTrimmedStringSchema$4 = z$1.union([trimmedNonEmptyStringSchema$
|
|
7735
|
+
const ISO_DATE_TIME_SCHEMA$4 = z$1.iso.datetime({ offset: true });
|
|
7736
|
+
const trimmedNonEmptyStringSchema$4 = z$1.string().trim().min(1);
|
|
7737
|
+
const nullableTrimmedStringSchema$4 = z$1.union([trimmedNonEmptyStringSchema$4, z$1.null()]);
|
|
7696
7738
|
z$1.strictObject({
|
|
7697
|
-
cursor: trimmedNonEmptyStringSchema$
|
|
7739
|
+
cursor: trimmedNonEmptyStringSchema$4.max(2048).optional(),
|
|
7698
7740
|
includeMemberUserId: z$1.literal(true).optional(),
|
|
7699
7741
|
limit: z$1.number().int().min(1).max(200).optional()
|
|
7700
7742
|
});
|
|
7701
7743
|
const slackWorkspaceMembershipSchema = z$1.discriminatedUnion("status", [
|
|
7702
7744
|
z$1.strictObject({
|
|
7703
7745
|
matchedBy: z$1.enum(["identity_link", "email"]),
|
|
7704
|
-
memberDisplayName: trimmedNonEmptyStringSchema$
|
|
7705
|
-
memberUserId: trimmedNonEmptyStringSchema$
|
|
7746
|
+
memberDisplayName: trimmedNonEmptyStringSchema$4,
|
|
7747
|
+
memberUserId: trimmedNonEmptyStringSchema$4.optional(),
|
|
7706
7748
|
status: z$1.literal("member")
|
|
7707
7749
|
}),
|
|
7708
7750
|
z$1.strictObject({ status: z$1.literal("not_member") }),
|
|
@@ -7712,26 +7754,26 @@ const slackWorkspaceMembershipSchema = z$1.discriminatedUnion("status", [
|
|
|
7712
7754
|
})
|
|
7713
7755
|
]);
|
|
7714
7756
|
const slackWorkspaceDirectoryMemberSchema = z$1.strictObject({
|
|
7715
|
-
displayName: trimmedNonEmptyStringSchema$
|
|
7757
|
+
displayName: trimmedNonEmptyStringSchema$4,
|
|
7716
7758
|
email: nullableTrimmedStringSchema$4,
|
|
7717
7759
|
isAdmin: z$1.boolean(),
|
|
7718
7760
|
isGuest: z$1.boolean(),
|
|
7719
7761
|
isOwner: z$1.boolean(),
|
|
7720
7762
|
realName: nullableTrimmedStringSchema$4,
|
|
7721
|
-
slackUserId: trimmedNonEmptyStringSchema$
|
|
7763
|
+
slackUserId: trimmedNonEmptyStringSchema$4,
|
|
7722
7764
|
title: nullableTrimmedStringSchema$4,
|
|
7723
7765
|
openMeldMembership: slackWorkspaceMembershipSchema
|
|
7724
7766
|
});
|
|
7725
7767
|
const slackWorkspaceDirectoryResponseSchema = z$1.strictObject({
|
|
7726
|
-
generatedAt: ISO_DATE_TIME_SCHEMA$
|
|
7768
|
+
generatedAt: ISO_DATE_TIME_SCHEMA$4,
|
|
7727
7769
|
members: z$1.array(slackWorkspaceDirectoryMemberSchema),
|
|
7728
7770
|
nextCursor: nullableTrimmedStringSchema$4,
|
|
7729
|
-
organizationId: trimmedNonEmptyStringSchema$
|
|
7771
|
+
organizationId: trimmedNonEmptyStringSchema$4
|
|
7730
7772
|
});
|
|
7731
7773
|
const slackReadUnavailableResponseSchema = z$1.strictObject({
|
|
7732
|
-
message: trimmedNonEmptyStringSchema$
|
|
7733
|
-
nextAction: trimmedNonEmptyStringSchema$
|
|
7734
|
-
organizationId: trimmedNonEmptyStringSchema$
|
|
7774
|
+
message: trimmedNonEmptyStringSchema$4.max(500),
|
|
7775
|
+
nextAction: trimmedNonEmptyStringSchema$4.max(500),
|
|
7776
|
+
organizationId: trimmedNonEmptyStringSchema$4,
|
|
7735
7777
|
reasonCode: z$1.enum([
|
|
7736
7778
|
"channel_access_required",
|
|
7737
7779
|
"connection_state_unavailable",
|
|
@@ -7742,11 +7784,11 @@ const slackReadUnavailableResponseSchema = z$1.strictObject({
|
|
|
7742
7784
|
z$1.union([slackWorkspaceDirectoryResponseSchema, slackReadUnavailableResponseSchema]);
|
|
7743
7785
|
//#endregion
|
|
7744
7786
|
//#region ../../packages/schemas/dist/schemas/http/slack-channel-reads.js
|
|
7745
|
-
const ISO_DATE_TIME_SCHEMA$
|
|
7746
|
-
const trimmedNonEmptyStringSchema$
|
|
7747
|
-
const nullableTrimmedStringSchema$3 = z$1.union([trimmedNonEmptyStringSchema$
|
|
7748
|
-
const slackChannelNameSchema = trimmedNonEmptyStringSchema$
|
|
7749
|
-
const slackCursorSchema = trimmedNonEmptyStringSchema$
|
|
7787
|
+
const ISO_DATE_TIME_SCHEMA$3 = z$1.iso.datetime({ offset: true });
|
|
7788
|
+
const trimmedNonEmptyStringSchema$3 = z$1.string().trim().min(1);
|
|
7789
|
+
const nullableTrimmedStringSchema$3 = z$1.union([trimmedNonEmptyStringSchema$3, z$1.null()]);
|
|
7790
|
+
const slackChannelNameSchema = trimmedNonEmptyStringSchema$3.max(80);
|
|
7791
|
+
const slackCursorSchema = trimmedNonEmptyStringSchema$3.max(2048).optional();
|
|
7750
7792
|
const CENTER_AGENT_SLACK_FILE_MAX_BASE64_CHARACTERS = Math.ceil(5242880 / 3) * 4;
|
|
7751
7793
|
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
7794
|
z$1.strictObject({
|
|
@@ -7762,16 +7804,16 @@ z$1.strictObject({
|
|
|
7762
7804
|
z$1.strictObject({
|
|
7763
7805
|
channelName: slackChannelNameSchema,
|
|
7764
7806
|
cursor: slackCursorSchema,
|
|
7765
|
-
expectedChannelId: trimmedNonEmptyStringSchema$
|
|
7807
|
+
expectedChannelId: trimmedNonEmptyStringSchema$3.max(80).optional(),
|
|
7766
7808
|
includeFiles: z$1.literal(true).optional(),
|
|
7767
7809
|
limit: z$1.number().int().min(1).max(15).optional()
|
|
7768
7810
|
});
|
|
7769
7811
|
z$1.union([z$1.strictObject({
|
|
7770
7812
|
channelName: slackChannelNameSchema,
|
|
7771
|
-
fileId: trimmedNonEmptyStringSchema$
|
|
7813
|
+
fileId: trimmedNonEmptyStringSchema$3.max(256)
|
|
7772
7814
|
}), z$1.strictObject({
|
|
7773
|
-
channelId: trimmedNonEmptyStringSchema$
|
|
7774
|
-
fileId: trimmedNonEmptyStringSchema$
|
|
7815
|
+
channelId: trimmedNonEmptyStringSchema$3.max(80),
|
|
7816
|
+
fileId: trimmedNonEmptyStringSchema$3.max(256)
|
|
7775
7817
|
})]);
|
|
7776
7818
|
const slackChannelSummarySchema = z$1.strictObject({
|
|
7777
7819
|
channelName: slackChannelNameSchema,
|
|
@@ -7781,20 +7823,20 @@ const slackChannelSummarySchema = z$1.strictObject({
|
|
|
7781
7823
|
});
|
|
7782
7824
|
const slackChannelListResponseSchema = z$1.strictObject({
|
|
7783
7825
|
channels: z$1.array(slackChannelSummarySchema),
|
|
7784
|
-
generatedAt: ISO_DATE_TIME_SCHEMA$
|
|
7826
|
+
generatedAt: ISO_DATE_TIME_SCHEMA$3,
|
|
7785
7827
|
nextCursor: nullableTrimmedStringSchema$3,
|
|
7786
|
-
organizationId: trimmedNonEmptyStringSchema$
|
|
7828
|
+
organizationId: trimmedNonEmptyStringSchema$3
|
|
7787
7829
|
});
|
|
7788
7830
|
const slackChannelMembersResponseSchema = z$1.strictObject({
|
|
7789
|
-
channelId: trimmedNonEmptyStringSchema$
|
|
7831
|
+
channelId: trimmedNonEmptyStringSchema$3.max(80).optional(),
|
|
7790
7832
|
channelName: slackChannelNameSchema,
|
|
7791
|
-
generatedAt: ISO_DATE_TIME_SCHEMA$
|
|
7833
|
+
generatedAt: ISO_DATE_TIME_SCHEMA$3,
|
|
7792
7834
|
members: z$1.array(slackWorkspaceDirectoryMemberSchema),
|
|
7793
7835
|
nextCursor: nullableTrimmedStringSchema$3,
|
|
7794
|
-
organizationId: trimmedNonEmptyStringSchema$
|
|
7836
|
+
organizationId: trimmedNonEmptyStringSchema$3
|
|
7795
7837
|
});
|
|
7796
7838
|
const slackFileMetadataSchema = z$1.strictObject({
|
|
7797
|
-
fileId: trimmedNonEmptyStringSchema$
|
|
7839
|
+
fileId: trimmedNonEmptyStringSchema$3.max(256),
|
|
7798
7840
|
mimeType: nullableTrimmedStringSchema$3,
|
|
7799
7841
|
name: nullableTrimmedStringSchema$3,
|
|
7800
7842
|
permalink: z$1.union([z$1.url({ protocol: /^https$/u }), z$1.null()]),
|
|
@@ -7804,22 +7846,22 @@ const slackChannelHistoryMessageSchema = z$1.strictObject({
|
|
|
7804
7846
|
authorDisplayName: nullableTrimmedStringSchema$3,
|
|
7805
7847
|
authorSlackUserId: nullableTrimmedStringSchema$3,
|
|
7806
7848
|
isAuthorBot: z$1.boolean(),
|
|
7807
|
-
messageTs: trimmedNonEmptyStringSchema$
|
|
7849
|
+
messageTs: trimmedNonEmptyStringSchema$3,
|
|
7808
7850
|
files: z$1.array(slackFileMetadataSchema).optional(),
|
|
7809
7851
|
text: nullableTrimmedStringSchema$3
|
|
7810
7852
|
});
|
|
7811
7853
|
const slackChannelHistoryResponseSchema = z$1.strictObject({
|
|
7812
7854
|
channelName: slackChannelNameSchema,
|
|
7813
|
-
generatedAt: ISO_DATE_TIME_SCHEMA$
|
|
7855
|
+
generatedAt: ISO_DATE_TIME_SCHEMA$3,
|
|
7814
7856
|
messages: z$1.array(slackChannelHistoryMessageSchema),
|
|
7815
7857
|
nextCursor: nullableTrimmedStringSchema$3,
|
|
7816
|
-
organizationId: trimmedNonEmptyStringSchema$
|
|
7858
|
+
organizationId: trimmedNonEmptyStringSchema$3
|
|
7817
7859
|
});
|
|
7818
7860
|
const slackFileReadResponseSchema = z$1.strictObject({
|
|
7819
7861
|
channelName: slackChannelNameSchema.optional(),
|
|
7820
7862
|
contentBase64: slackFileContentBase64Schema,
|
|
7821
7863
|
file: slackFileMetadataSchema,
|
|
7822
|
-
organizationId: trimmedNonEmptyStringSchema$
|
|
7864
|
+
organizationId: trimmedNonEmptyStringSchema$3
|
|
7823
7865
|
});
|
|
7824
7866
|
z$1.union([slackChannelListResponseSchema, slackReadUnavailableResponseSchema]);
|
|
7825
7867
|
z$1.union([slackChannelMembersResponseSchema, slackReadUnavailableResponseSchema]);
|
|
@@ -8170,6 +8212,8 @@ enumFactory(Object.values({
|
|
|
8170
8212
|
}));
|
|
8171
8213
|
enumFactory(Object.values({
|
|
8172
8214
|
CANCEL_EXECUTION: "cancelExecution",
|
|
8215
|
+
RECEIVE_EXECUTION_INPUT: "receiveExecutionInput",
|
|
8216
|
+
READ_EXECUTION_INPUT: "readExecutionInput",
|
|
8173
8217
|
READ_EXECUTION_STATE: "readExecutionState",
|
|
8174
8218
|
RECONCILE_EXECUTION: "reconcileExecution",
|
|
8175
8219
|
READ_RUNTIME_DIAGNOSTICS: "readRuntimeDiagnostics",
|
|
@@ -8539,7 +8583,7 @@ const remoteAgentTurnRuntimeEvidenceSchema = strictObject({
|
|
|
8539
8583
|
toolCallLimit: number().int().positive(),
|
|
8540
8584
|
updatedAtMs: number().int().nonnegative()
|
|
8541
8585
|
});
|
|
8542
|
-
const
|
|
8586
|
+
const remoteAgentWorkerRuntimeDiagnosticsResponseV1Schema = strictObject({
|
|
8543
8587
|
activeRuns: array(remoteAgentRuntimeActiveRunDiagnosticSchema).max(50),
|
|
8544
8588
|
attemptMarkers: array(remoteAgentRuntimeAttemptMarkerDiagnosticSchema).max(50),
|
|
8545
8589
|
callbackContexts: array(remoteAgentRuntimeCallbackContextDiagnosticSchema).max(50),
|
|
@@ -8552,6 +8596,28 @@ const remoteAgentWorkerRuntimeDiagnosticsResponseSchema = strictObject({
|
|
|
8552
8596
|
turnObservability: array(remoteAgentTurnRuntimeEvidenceSchema).max(50).optional(),
|
|
8553
8597
|
v: literal(1)
|
|
8554
8598
|
});
|
|
8599
|
+
const remoteAgentWorkerRuntimeDiagnosticsResponseSchema = discriminatedUnion("v", [remoteAgentWorkerRuntimeDiagnosticsResponseV1Schema, remoteAgentWorkerRuntimeDiagnosticsResponseV1Schema.omit({
|
|
8600
|
+
attemptMarkers: true,
|
|
8601
|
+
submissions: true,
|
|
8602
|
+
v: true
|
|
8603
|
+
}).extend({
|
|
8604
|
+
submissions: array(remoteAgentRuntimeSubmissionDiagnosticSchema.omit({
|
|
8605
|
+
maxRetry: true,
|
|
8606
|
+
recoveryRequestedAtMs: true
|
|
8607
|
+
}).extend({
|
|
8608
|
+
maxAttempts: number().int().positive(),
|
|
8609
|
+
joinedInto: nullableNonEmptyStringSchema,
|
|
8610
|
+
status: enumFactory([
|
|
8611
|
+
"queued",
|
|
8612
|
+
"running",
|
|
8613
|
+
"terminalizing",
|
|
8614
|
+
"settled",
|
|
8615
|
+
"joining",
|
|
8616
|
+
"joined"
|
|
8617
|
+
])
|
|
8618
|
+
})).max(50),
|
|
8619
|
+
v: literal(2)
|
|
8620
|
+
})]);
|
|
8555
8621
|
const remoteAgentCoreCallbackIdentitySchema = {
|
|
8556
8622
|
submissionId: nonEmptyStringSchema,
|
|
8557
8623
|
idempotencyKey: nonEmptyStringSchema,
|
|
@@ -8918,19 +8984,27 @@ function normalizeOptionalClientMessageId(value) {
|
|
|
8918
8984
|
}
|
|
8919
8985
|
//#endregion
|
|
8920
8986
|
//#region ../../packages/schemas/dist/schemas/http/space-dispatch-trace.js
|
|
8921
|
-
const ISO_DATE_TIME_SCHEMA$
|
|
8922
|
-
const trimmedNonEmptyStringSchema$
|
|
8987
|
+
const ISO_DATE_TIME_SCHEMA$2 = iso.datetime({ offset: true });
|
|
8988
|
+
const trimmedNonEmptyStringSchema$2 = string().trim().min(1);
|
|
8923
8989
|
const SPACE_DISPATCH_TRACE_TIMEOUT_POLICY_MAX_MS = 6048e5;
|
|
8924
8990
|
const SPACE_DISPATCH_TRACE_PROMPT_LENGTH_MAX = 1e6;
|
|
8925
8991
|
const SPACE_DISPATCH_TRACE_PROMPT_PREVIEW_MAX_CHARS = 1200;
|
|
8926
8992
|
const SPACE_DISPATCH_TRACE_RESPONSE_CONTRACT_VERSION_HEADER = "x-openmeld-space-dispatch-trace-response-version";
|
|
8927
8993
|
const SPACE_DISPATCH_TRACE_INVALID_OUTPUT_PREVIEW_MAX_CHARS = 180;
|
|
8928
|
-
union([
|
|
8929
|
-
|
|
8930
|
-
|
|
8994
|
+
const spaceDispatchTraceResponseContractVersionSchema = union([
|
|
8995
|
+
literal(2),
|
|
8996
|
+
literal(3),
|
|
8997
|
+
literal(4)
|
|
8998
|
+
]);
|
|
8999
|
+
enumFactory([
|
|
9000
|
+
"2",
|
|
9001
|
+
String(3),
|
|
9002
|
+
String(4)
|
|
9003
|
+
]).transform(Number).pipe(spaceDispatchTraceResponseContractVersionSchema);
|
|
9004
|
+
const boundedNullableTrimmedStringSchema = (maxLength) => union([trimmedNonEmptyStringSchema$2.max(maxLength), nullFactory()]);
|
|
8931
9005
|
const nullableTrimmedStringSchema$2 = boundedNullableTrimmedStringSchema(4096);
|
|
8932
9006
|
const nullableSignalTextSchema = boundedNullableTrimmedStringSchema(MAX_TEXT_LENGTH$1);
|
|
8933
|
-
const nullableIsoDateTimeSchema$2 = union([ISO_DATE_TIME_SCHEMA$
|
|
9007
|
+
const nullableIsoDateTimeSchema$2 = union([ISO_DATE_TIME_SCHEMA$2, nullFactory()]);
|
|
8934
9008
|
const nullableIntegerSchema = union([int(), nullFactory()]);
|
|
8935
9009
|
const boundedNullableNonNegativeIntegerSchema = (maxValue) => union([int().min(0).max(maxValue), nullFactory()]);
|
|
8936
9010
|
const nullableProfileKindSchema = union([enumFactory([
|
|
@@ -8939,8 +9013,8 @@ const nullableProfileKindSchema = union([enumFactory([
|
|
|
8939
9013
|
"system"
|
|
8940
9014
|
]), nullFactory()]);
|
|
8941
9015
|
const dispatchTraceOwnerSchema = strictObject({
|
|
8942
|
-
id: trimmedNonEmptyStringSchema$
|
|
8943
|
-
kind: trimmedNonEmptyStringSchema$
|
|
9016
|
+
id: trimmedNonEmptyStringSchema$2,
|
|
9017
|
+
kind: trimmedNonEmptyStringSchema$2
|
|
8944
9018
|
});
|
|
8945
9019
|
const spaceDispatchTraceDispatchStatusSchema = enumFactory([
|
|
8946
9020
|
"queued",
|
|
@@ -8964,34 +9038,34 @@ const spaceDispatchTraceAttemptStatusSchema = enumFactory([
|
|
|
8964
9038
|
"waiting_result"
|
|
8965
9039
|
]);
|
|
8966
9040
|
const spaceDispatchTraceQuerySchema = strictObject({
|
|
8967
|
-
spaceId: trimmedNonEmptyStringSchema$
|
|
8968
|
-
dispatchId: trimmedNonEmptyStringSchema$
|
|
9041
|
+
spaceId: trimmedNonEmptyStringSchema$2,
|
|
9042
|
+
dispatchId: trimmedNonEmptyStringSchema$2
|
|
8969
9043
|
});
|
|
8970
9044
|
const spaceDispatchTraceDispatchSchema = strictObject({
|
|
8971
9045
|
factSource: literal("dispatch_ledger"),
|
|
8972
|
-
dispatchId: trimmedNonEmptyStringSchema$
|
|
8973
|
-
idempotencyKey: trimmedNonEmptyStringSchema$
|
|
8974
|
-
sourceEventId: trimmedNonEmptyStringSchema$
|
|
9046
|
+
dispatchId: trimmedNonEmptyStringSchema$2,
|
|
9047
|
+
idempotencyKey: trimmedNonEmptyStringSchema$2,
|
|
9048
|
+
sourceEventId: trimmedNonEmptyStringSchema$2,
|
|
8975
9049
|
sourceClientMessageId: nullableTrimmedStringSchema$2,
|
|
8976
9050
|
owner: union([dispatchTraceOwnerSchema, nullFactory()]),
|
|
8977
|
-
targetProfileId: trimmedNonEmptyStringSchema$
|
|
9051
|
+
targetProfileId: trimmedNonEmptyStringSchema$2,
|
|
8978
9052
|
status: spaceDispatchTraceDispatchStatusSchema,
|
|
8979
|
-
firstSeenAt: ISO_DATE_TIME_SCHEMA$
|
|
8980
|
-
lastAttemptAt: ISO_DATE_TIME_SCHEMA$
|
|
9053
|
+
firstSeenAt: ISO_DATE_TIME_SCHEMA$2,
|
|
9054
|
+
lastAttemptAt: ISO_DATE_TIME_SCHEMA$2,
|
|
8981
9055
|
attemptCount: int().min(0),
|
|
8982
9056
|
latestAttemptId: nullableTrimmedStringSchema$2
|
|
8983
9057
|
});
|
|
8984
9058
|
const spaceDispatchTraceLatestAttemptSchema = strictObject({
|
|
8985
9059
|
factSource: literal("dispatch_attempt"),
|
|
8986
|
-
attemptId: trimmedNonEmptyStringSchema$
|
|
8987
|
-
dispatchId: trimmedNonEmptyStringSchema$
|
|
8988
|
-
idempotencyKey: trimmedNonEmptyStringSchema$
|
|
9060
|
+
attemptId: trimmedNonEmptyStringSchema$2,
|
|
9061
|
+
dispatchId: trimmedNonEmptyStringSchema$2,
|
|
9062
|
+
idempotencyKey: trimmedNonEmptyStringSchema$2,
|
|
8989
9063
|
attemptNo: int().min(1),
|
|
8990
9064
|
status: spaceDispatchTraceAttemptStatusSchema,
|
|
8991
9065
|
daemonSessionId: nullableTrimmedStringSchema$2,
|
|
8992
9066
|
connectionGeneration: nullableIntegerSchema,
|
|
8993
9067
|
leaseEpoch: nullableIntegerSchema,
|
|
8994
|
-
createdAt: ISO_DATE_TIME_SCHEMA$
|
|
9068
|
+
createdAt: ISO_DATE_TIME_SCHEMA$2,
|
|
8995
9069
|
startedAt: nullableIsoDateTimeSchema$2,
|
|
8996
9070
|
finishedAt: nullableIsoDateTimeSchema$2,
|
|
8997
9071
|
errorCode: nullableTrimmedStringSchema$2,
|
|
@@ -8999,10 +9073,10 @@ const spaceDispatchTraceLatestAttemptSchema = strictObject({
|
|
|
8999
9073
|
});
|
|
9000
9074
|
const spaceDispatchTraceNativeDeliverySchema = strictObject({
|
|
9001
9075
|
factSource: literal("remote_agent_native_delivery_ledger"),
|
|
9002
|
-
deliveryId: trimmedNonEmptyStringSchema$
|
|
9003
|
-
dispatchId: trimmedNonEmptyStringSchema$
|
|
9004
|
-
idempotencyKey: trimmedNonEmptyStringSchema$
|
|
9005
|
-
bindingId: trimmedNonEmptyStringSchema$
|
|
9076
|
+
deliveryId: trimmedNonEmptyStringSchema$2,
|
|
9077
|
+
dispatchId: trimmedNonEmptyStringSchema$2,
|
|
9078
|
+
idempotencyKey: trimmedNonEmptyStringSchema$2,
|
|
9079
|
+
bindingId: trimmedNonEmptyStringSchema$2,
|
|
9006
9080
|
runtimeFamily: literal("hosted_center_agent"),
|
|
9007
9081
|
status: enumFactory([
|
|
9008
9082
|
"guardrail_rejected",
|
|
@@ -9022,9 +9096,9 @@ const spaceDispatchTraceNativeDeliverySchema = strictObject({
|
|
|
9022
9096
|
"slack",
|
|
9023
9097
|
"space"
|
|
9024
9098
|
]),
|
|
9025
|
-
organizationId: trimmedNonEmptyStringSchema$
|
|
9026
|
-
spaceId: trimmedNonEmptyStringSchema$
|
|
9027
|
-
targetProfileId: trimmedNonEmptyStringSchema$
|
|
9099
|
+
organizationId: trimmedNonEmptyStringSchema$2,
|
|
9100
|
+
spaceId: trimmedNonEmptyStringSchema$2,
|
|
9101
|
+
targetProfileId: trimmedNonEmptyStringSchema$2
|
|
9028
9102
|
}),
|
|
9029
9103
|
controllerNormalization: strictObject({
|
|
9030
9104
|
factSource: literal("remote_agent_native_delivery_ledger"),
|
|
@@ -9039,38 +9113,38 @@ const spaceDispatchTraceNativeDeliverySchema = strictObject({
|
|
|
9039
9113
|
]),
|
|
9040
9114
|
bindingUpdatedAt: nullableIsoDateTimeSchema$2
|
|
9041
9115
|
}),
|
|
9042
|
-
createdAt: ISO_DATE_TIME_SCHEMA$
|
|
9043
|
-
updatedAt: ISO_DATE_TIME_SCHEMA$
|
|
9116
|
+
createdAt: ISO_DATE_TIME_SCHEMA$2,
|
|
9117
|
+
updatedAt: ISO_DATE_TIME_SCHEMA$2
|
|
9044
9118
|
});
|
|
9045
9119
|
const spaceDispatchTraceOpsDecisionSchema = strictObject({
|
|
9046
9120
|
factSource: literal("ops_decision"),
|
|
9047
|
-
id: trimmedNonEmptyStringSchema$
|
|
9048
|
-
decisionCode: trimmedNonEmptyStringSchema$
|
|
9049
|
-
decidedBy: trimmedNonEmptyStringSchema$
|
|
9050
|
-
source: trimmedNonEmptyStringSchema$
|
|
9051
|
-
decidedAt: ISO_DATE_TIME_SCHEMA$
|
|
9121
|
+
id: trimmedNonEmptyStringSchema$2,
|
|
9122
|
+
decisionCode: trimmedNonEmptyStringSchema$2,
|
|
9123
|
+
decidedBy: trimmedNonEmptyStringSchema$2,
|
|
9124
|
+
source: trimmedNonEmptyStringSchema$2,
|
|
9125
|
+
decidedAt: ISO_DATE_TIME_SCHEMA$2,
|
|
9052
9126
|
correlationId: nullableTrimmedStringSchema$2,
|
|
9053
9127
|
expectedRecoveryCriteria: nullableTrimmedStringSchema$2
|
|
9054
9128
|
});
|
|
9055
9129
|
const spaceDispatchTraceReplySignalSchema = strictObject({
|
|
9056
9130
|
factSource: enumFactory(["space_signal_by_published_signal_id", "space_signal_recent_window"]),
|
|
9057
|
-
signalId: trimmedNonEmptyStringSchema$
|
|
9058
|
-
profileId: trimmedNonEmptyStringSchema$
|
|
9131
|
+
signalId: trimmedNonEmptyStringSchema$2,
|
|
9132
|
+
profileId: trimmedNonEmptyStringSchema$2,
|
|
9059
9133
|
profileKind: nullableProfileKindSchema,
|
|
9060
9134
|
profileName: nullableTrimmedStringSchema$2,
|
|
9061
|
-
text: trimmedNonEmptyStringSchema$
|
|
9062
|
-
createdAt: ISO_DATE_TIME_SCHEMA$
|
|
9135
|
+
text: trimmedNonEmptyStringSchema$2,
|
|
9136
|
+
createdAt: ISO_DATE_TIME_SCHEMA$2
|
|
9063
9137
|
});
|
|
9064
9138
|
const spaceDispatchTraceFinalVisibleMessageSchema = strictObject({
|
|
9065
9139
|
factSource: enumFactory(["space_signal_by_published_signal_id", "space_final_reply_claim"]),
|
|
9066
|
-
signalId: trimmedNonEmptyStringSchema$
|
|
9140
|
+
signalId: trimmedNonEmptyStringSchema$2,
|
|
9067
9141
|
signalType: enumFactory([
|
|
9068
9142
|
"signal.text",
|
|
9069
9143
|
"signal.status",
|
|
9070
9144
|
"signal.system_notice"
|
|
9071
9145
|
]),
|
|
9072
|
-
dispatchId: trimmedNonEmptyStringSchema$
|
|
9073
|
-
targetProfileId: trimmedNonEmptyStringSchema$
|
|
9146
|
+
dispatchId: trimmedNonEmptyStringSchema$2,
|
|
9147
|
+
targetProfileId: trimmedNonEmptyStringSchema$2,
|
|
9074
9148
|
profileId: nullableTrimmedStringSchema$2,
|
|
9075
9149
|
profileKind: nullableProfileKindSchema,
|
|
9076
9150
|
profileName: nullableTrimmedStringSchema$2,
|
|
@@ -9083,7 +9157,7 @@ const spaceDispatchTraceFinalVisibleMessageSchema = strictObject({
|
|
|
9083
9157
|
"wake_stopped"
|
|
9084
9158
|
]), nullFactory()]),
|
|
9085
9159
|
statusType: nullableTrimmedStringSchema$2,
|
|
9086
|
-
createdAt: ISO_DATE_TIME_SCHEMA$
|
|
9160
|
+
createdAt: ISO_DATE_TIME_SCHEMA$2
|
|
9087
9161
|
});
|
|
9088
9162
|
const spaceDispatchTraceFinalVisibleMessageLinkageSchema = strictObject({
|
|
9089
9163
|
status: enumFactory([
|
|
@@ -9099,7 +9173,7 @@ const spaceDispatchTraceFinalVisibleMessageLinkageSchema = strictObject({
|
|
|
9099
9173
|
"space_final_reply_claim",
|
|
9100
9174
|
"none"
|
|
9101
9175
|
]),
|
|
9102
|
-
candidateSignalIds: array(trimmedNonEmptyStringSchema$
|
|
9176
|
+
candidateSignalIds: array(trimmedNonEmptyStringSchema$2).max(16),
|
|
9103
9177
|
claimSignalId: nullableTrimmedStringSchema$2,
|
|
9104
9178
|
selectedSignalId: nullableTrimmedStringSchema$2
|
|
9105
9179
|
});
|
|
@@ -9139,14 +9213,14 @@ const spaceDispatchTraceFinalVisibleOutcomeSchema = strictObject({
|
|
|
9139
9213
|
});
|
|
9140
9214
|
const spaceDispatchTraceClaimLeaseSchema = strictObject({
|
|
9141
9215
|
factSource: literal("dispatch_claim_lease"),
|
|
9142
|
-
claimLeaseId: trimmedNonEmptyStringSchema$
|
|
9143
|
-
dispatchId: trimmedNonEmptyStringSchema$
|
|
9144
|
-
sourceEventId: trimmedNonEmptyStringSchema$
|
|
9216
|
+
claimLeaseId: trimmedNonEmptyStringSchema$2,
|
|
9217
|
+
dispatchId: trimmedNonEmptyStringSchema$2,
|
|
9218
|
+
sourceEventId: trimmedNonEmptyStringSchema$2,
|
|
9145
9219
|
sourceClientMessageId: nullableTrimmedStringSchema$2,
|
|
9146
|
-
targetProfileId: trimmedNonEmptyStringSchema$
|
|
9147
|
-
bindingId: trimmedNonEmptyStringSchema$
|
|
9148
|
-
openMeldServiceRuntimeId: trimmedNonEmptyStringSchema$
|
|
9149
|
-
agentControllerRef: trimmedNonEmptyStringSchema$
|
|
9220
|
+
targetProfileId: trimmedNonEmptyStringSchema$2,
|
|
9221
|
+
bindingId: trimmedNonEmptyStringSchema$2,
|
|
9222
|
+
openMeldServiceRuntimeId: trimmedNonEmptyStringSchema$2,
|
|
9223
|
+
agentControllerRef: trimmedNonEmptyStringSchema$2,
|
|
9150
9224
|
leaseState: enumFactory([
|
|
9151
9225
|
"active",
|
|
9152
9226
|
"cancelled",
|
|
@@ -9155,19 +9229,19 @@ const spaceDispatchTraceClaimLeaseSchema = strictObject({
|
|
|
9155
9229
|
"superseded"
|
|
9156
9230
|
]),
|
|
9157
9231
|
claimTraceReason: nullableTrimmedStringSchema$2,
|
|
9158
|
-
createdAt: ISO_DATE_TIME_SCHEMA$
|
|
9159
|
-
updatedAt: ISO_DATE_TIME_SCHEMA$
|
|
9160
|
-
expiresAt: ISO_DATE_TIME_SCHEMA$
|
|
9232
|
+
createdAt: ISO_DATE_TIME_SCHEMA$2,
|
|
9233
|
+
updatedAt: ISO_DATE_TIME_SCHEMA$2,
|
|
9234
|
+
expiresAt: ISO_DATE_TIME_SCHEMA$2
|
|
9161
9235
|
});
|
|
9162
9236
|
const spaceDispatchTraceResultSchema = strictObject({
|
|
9163
9237
|
factSource: literal("dispatch_result"),
|
|
9164
|
-
resultRef: trimmedNonEmptyStringSchema$
|
|
9165
|
-
dispatchId: trimmedNonEmptyStringSchema$
|
|
9166
|
-
resultKind: trimmedNonEmptyStringSchema$
|
|
9167
|
-
publicOutcome: trimmedNonEmptyStringSchema$
|
|
9238
|
+
resultRef: trimmedNonEmptyStringSchema$2,
|
|
9239
|
+
dispatchId: trimmedNonEmptyStringSchema$2,
|
|
9240
|
+
resultKind: trimmedNonEmptyStringSchema$2,
|
|
9241
|
+
publicOutcome: trimmedNonEmptyStringSchema$2,
|
|
9168
9242
|
publishedSignalId: nullableTrimmedStringSchema$2,
|
|
9169
9243
|
statusType: nullableTrimmedStringSchema$2,
|
|
9170
|
-
createdAt: ISO_DATE_TIME_SCHEMA$
|
|
9244
|
+
createdAt: ISO_DATE_TIME_SCHEMA$2
|
|
9171
9245
|
});
|
|
9172
9246
|
const spaceDispatchTraceResultInboxPublishStateSchema = enumFactory([
|
|
9173
9247
|
"result_accepted",
|
|
@@ -9180,20 +9254,20 @@ const spaceDispatchTraceResultInboxPublishStateSchema = enumFactory([
|
|
|
9180
9254
|
]);
|
|
9181
9255
|
const spaceDispatchTraceResultInboxSchema = strictObject({
|
|
9182
9256
|
factSource: literal("dispatch_result_inbox"),
|
|
9183
|
-
resultKey: trimmedNonEmptyStringSchema$
|
|
9184
|
-
dispatchId: trimmedNonEmptyStringSchema$
|
|
9185
|
-
attemptId: trimmedNonEmptyStringSchema$
|
|
9186
|
-
taskId: trimmedNonEmptyStringSchema$
|
|
9187
|
-
targetProfileId: trimmedNonEmptyStringSchema$
|
|
9188
|
-
daemonSessionId: trimmedNonEmptyStringSchema$
|
|
9257
|
+
resultKey: trimmedNonEmptyStringSchema$2,
|
|
9258
|
+
dispatchId: trimmedNonEmptyStringSchema$2,
|
|
9259
|
+
attemptId: trimmedNonEmptyStringSchema$2,
|
|
9260
|
+
taskId: trimmedNonEmptyStringSchema$2,
|
|
9261
|
+
targetProfileId: trimmedNonEmptyStringSchema$2,
|
|
9262
|
+
daemonSessionId: trimmedNonEmptyStringSchema$2,
|
|
9189
9263
|
leaseEpoch: int(),
|
|
9190
9264
|
submittedConnectionGeneration: int(),
|
|
9191
9265
|
projectFailureContext: openMeldDaemonTaskResultProjectFailureContextSchema.optional(),
|
|
9192
9266
|
publishState: spaceDispatchTraceResultInboxPublishStateSchema,
|
|
9193
9267
|
publishedSignalId: nullableTrimmedStringSchema$2,
|
|
9194
9268
|
publicationErrorCode: nullableTrimmedStringSchema$2,
|
|
9195
|
-
acceptedAt: ISO_DATE_TIME_SCHEMA$
|
|
9196
|
-
updatedAt: ISO_DATE_TIME_SCHEMA$
|
|
9269
|
+
acceptedAt: ISO_DATE_TIME_SCHEMA$2,
|
|
9270
|
+
updatedAt: ISO_DATE_TIME_SCHEMA$2
|
|
9197
9271
|
});
|
|
9198
9272
|
const spaceDispatchTraceStreamingSchema = strictObject({
|
|
9199
9273
|
streamingMode: enumFactory(["final", "stream"]),
|
|
@@ -9345,82 +9419,82 @@ const currentPublishedRuntimeCoordinatorHeadRecoveryActionSchema = enumFactory([
|
|
|
9345
9419
|
"wait_for_wake_route_report"
|
|
9346
9420
|
]);
|
|
9347
9421
|
const spaceDispatchTraceRuntimeCoordinatorHeadNoExecutionDecisionV1Schema = strictObject({
|
|
9348
|
-
decidedAt: ISO_DATE_TIME_SCHEMA$
|
|
9422
|
+
decidedAt: ISO_DATE_TIME_SCHEMA$2,
|
|
9349
9423
|
publicationCategory: legacyPublishedRuntimeCoordinatorHeadPublicationCategorySchema,
|
|
9350
9424
|
reasonCode: legacyPublishedRuntimeCoordinatorHeadReasonCodeSchema,
|
|
9351
9425
|
source: publishedRuntimeCoordinatorHeadDecisionSourceSchema,
|
|
9352
9426
|
userRecoveryAction: legacyPublishedRuntimeCoordinatorHeadRecoveryActionSchema
|
|
9353
9427
|
});
|
|
9354
9428
|
const spaceDispatchTraceRuntimeCoordinatorHeadNoExecutionDecisionV2Schema = strictObject({
|
|
9355
|
-
decidedAt: ISO_DATE_TIME_SCHEMA$
|
|
9429
|
+
decidedAt: ISO_DATE_TIME_SCHEMA$2,
|
|
9356
9430
|
publicationCategory: publishedRuntimeCoordinatorHeadPublicationCategoryV2Schema,
|
|
9357
9431
|
reasonCode: publishedRuntimeCoordinatorHeadReasonCodeV2Schema,
|
|
9358
9432
|
source: publishedRuntimeCoordinatorHeadDecisionSourceSchema,
|
|
9359
9433
|
userRecoveryAction: publishedRuntimeCoordinatorHeadRecoveryActionV2Schema
|
|
9360
9434
|
});
|
|
9361
9435
|
const spaceDispatchTraceRuntimeCoordinatorHeadNoExecutionDecisionSchema = strictObject({
|
|
9362
|
-
decidedAt: ISO_DATE_TIME_SCHEMA$
|
|
9436
|
+
decidedAt: ISO_DATE_TIME_SCHEMA$2,
|
|
9363
9437
|
publicationCategory: currentPublishedRuntimeCoordinatorHeadPublicationCategorySchema,
|
|
9364
9438
|
reasonCode: currentPublishedRuntimeCoordinatorHeadReasonCodeSchema,
|
|
9365
9439
|
source: publishedRuntimeCoordinatorHeadDecisionSourceSchema,
|
|
9366
9440
|
userRecoveryAction: currentPublishedRuntimeCoordinatorHeadRecoveryActionSchema
|
|
9367
9441
|
});
|
|
9368
9442
|
const spaceDispatchTraceRuntimeCoordinatorHeadPublicationIntentV1Schema = union([strictObject({
|
|
9369
|
-
intentId: trimmedNonEmptyStringSchema$
|
|
9443
|
+
intentId: trimmedNonEmptyStringSchema$2.max(4096),
|
|
9370
9444
|
kind: literal("no_execution_failure"),
|
|
9371
9445
|
publicationCategory: legacyPublishedRuntimeCoordinatorHeadPublicationCategorySchema,
|
|
9372
|
-
readyAt: ISO_DATE_TIME_SCHEMA$
|
|
9446
|
+
readyAt: ISO_DATE_TIME_SCHEMA$2,
|
|
9373
9447
|
reasonCode: legacyPublishedRuntimeCoordinatorHeadReasonCodeSchema,
|
|
9374
9448
|
status: literal("ready_for_phase_6"),
|
|
9375
9449
|
userRecoveryAction: legacyPublishedRuntimeCoordinatorHeadRecoveryActionSchema
|
|
9376
9450
|
}), strictObject({
|
|
9377
|
-
intentId: trimmedNonEmptyStringSchema$
|
|
9451
|
+
intentId: trimmedNonEmptyStringSchema$2.max(4096),
|
|
9378
9452
|
kind: literal("stopped_notice"),
|
|
9379
|
-
readyAt: ISO_DATE_TIME_SCHEMA$
|
|
9453
|
+
readyAt: ISO_DATE_TIME_SCHEMA$2,
|
|
9380
9454
|
reasonCode: literal("runtime_coordinator.pre_agent_stop_requested"),
|
|
9381
9455
|
status: literal("ready_for_phase_6")
|
|
9382
9456
|
})]);
|
|
9383
9457
|
const spaceDispatchTraceRuntimeCoordinatorHeadPublicationIntentV2Schema = union([strictObject({
|
|
9384
|
-
intentId: trimmedNonEmptyStringSchema$
|
|
9458
|
+
intentId: trimmedNonEmptyStringSchema$2.max(4096),
|
|
9385
9459
|
kind: literal("no_execution_failure"),
|
|
9386
9460
|
publicationCategory: publishedRuntimeCoordinatorHeadPublicationCategoryV2Schema,
|
|
9387
|
-
readyAt: ISO_DATE_TIME_SCHEMA$
|
|
9461
|
+
readyAt: ISO_DATE_TIME_SCHEMA$2,
|
|
9388
9462
|
reasonCode: publishedRuntimeCoordinatorHeadReasonCodeV2Schema,
|
|
9389
9463
|
status: literal("ready_for_phase_6"),
|
|
9390
9464
|
userRecoveryAction: publishedRuntimeCoordinatorHeadRecoveryActionV2Schema
|
|
9391
9465
|
}), strictObject({
|
|
9392
|
-
intentId: trimmedNonEmptyStringSchema$
|
|
9466
|
+
intentId: trimmedNonEmptyStringSchema$2.max(4096),
|
|
9393
9467
|
kind: literal("stopped_notice"),
|
|
9394
|
-
readyAt: ISO_DATE_TIME_SCHEMA$
|
|
9468
|
+
readyAt: ISO_DATE_TIME_SCHEMA$2,
|
|
9395
9469
|
reasonCode: literal("runtime_coordinator.pre_agent_stop_requested"),
|
|
9396
9470
|
status: literal("ready_for_phase_6")
|
|
9397
9471
|
})]);
|
|
9398
9472
|
const spaceDispatchTraceRuntimeCoordinatorHeadPublicationIntentSchema = union([strictObject({
|
|
9399
|
-
intentId: trimmedNonEmptyStringSchema$
|
|
9473
|
+
intentId: trimmedNonEmptyStringSchema$2.max(4096),
|
|
9400
9474
|
kind: literal("no_execution_failure"),
|
|
9401
9475
|
publicationCategory: currentPublishedRuntimeCoordinatorHeadPublicationCategorySchema,
|
|
9402
|
-
readyAt: ISO_DATE_TIME_SCHEMA$
|
|
9476
|
+
readyAt: ISO_DATE_TIME_SCHEMA$2,
|
|
9403
9477
|
reasonCode: currentPublishedRuntimeCoordinatorHeadReasonCodeSchema,
|
|
9404
9478
|
status: literal("ready_for_phase_6"),
|
|
9405
9479
|
userRecoveryAction: currentPublishedRuntimeCoordinatorHeadRecoveryActionSchema
|
|
9406
9480
|
}), strictObject({
|
|
9407
|
-
intentId: trimmedNonEmptyStringSchema$
|
|
9481
|
+
intentId: trimmedNonEmptyStringSchema$2.max(4096),
|
|
9408
9482
|
kind: literal("stopped_notice"),
|
|
9409
|
-
readyAt: ISO_DATE_TIME_SCHEMA$
|
|
9483
|
+
readyAt: ISO_DATE_TIME_SCHEMA$2,
|
|
9410
9484
|
reasonCode: literal("runtime_coordinator.pre_agent_stop_requested"),
|
|
9411
9485
|
status: literal("ready_for_phase_6")
|
|
9412
9486
|
})]);
|
|
9413
9487
|
const spaceDispatchTraceRuntimeCoordinatorHeadPublicationOutcomeSchema = strictObject({
|
|
9414
|
-
failurePublicationCommandId: trimmedNonEmptyStringSchema$
|
|
9488
|
+
failurePublicationCommandId: trimmedNonEmptyStringSchema$2.max(4096),
|
|
9415
9489
|
finalMessageKind: enumFactory([
|
|
9416
9490
|
"failure_notice",
|
|
9417
9491
|
"status",
|
|
9418
9492
|
"success_reply",
|
|
9419
9493
|
"unknown"
|
|
9420
9494
|
]).nullable(),
|
|
9421
|
-
observedAt: ISO_DATE_TIME_SCHEMA$
|
|
9495
|
+
observedAt: ISO_DATE_TIME_SCHEMA$2,
|
|
9422
9496
|
publicationErrorCode: string().trim().min(1).max(160).nullable(),
|
|
9423
|
-
publishedSignalId: trimmedNonEmptyStringSchema$
|
|
9497
|
+
publishedSignalId: trimmedNonEmptyStringSchema$2.nullable(),
|
|
9424
9498
|
status: enumFactory([
|
|
9425
9499
|
"failure_published",
|
|
9426
9500
|
"already_final",
|
|
@@ -9429,8 +9503,8 @@ const spaceDispatchTraceRuntimeCoordinatorHeadPublicationOutcomeSchema = strictO
|
|
|
9429
9503
|
});
|
|
9430
9504
|
const spaceDispatchTraceRuntimeCoordinatorHeadPublicationExhaustionSchema = strictObject({
|
|
9431
9505
|
attemptCount: int().positive(),
|
|
9432
|
-
exhaustedAt: ISO_DATE_TIME_SCHEMA$
|
|
9433
|
-
lastFailureAt: ISO_DATE_TIME_SCHEMA$
|
|
9506
|
+
exhaustedAt: ISO_DATE_TIME_SCHEMA$2,
|
|
9507
|
+
lastFailureAt: ISO_DATE_TIME_SCHEMA$2,
|
|
9434
9508
|
lastReasonCode: string().trim().min(1).max(160),
|
|
9435
9509
|
reasonCode: literal("runtime_coordinator.publication_retry_exhausted"),
|
|
9436
9510
|
status: literal("publication_exhausted")
|
|
@@ -9440,62 +9514,62 @@ const spaceDispatchTraceRuntimeCoordinatorHeadTargetDisplaySchema = strictObject
|
|
|
9440
9514
|
targetProfileName: string().min(1).max(64).nullable()
|
|
9441
9515
|
});
|
|
9442
9516
|
const spaceDispatchTraceRuntimeCoordinatorHeadOfflineWaitingBoundarySchema = strictObject({
|
|
9443
|
-
deadlineAt: ISO_DATE_TIME_SCHEMA$
|
|
9517
|
+
deadlineAt: ISO_DATE_TIME_SCHEMA$2,
|
|
9444
9518
|
deadlineOutcome: literal("publication_intent_ready"),
|
|
9445
|
-
observedAt: ISO_DATE_TIME_SCHEMA$
|
|
9519
|
+
observedAt: ISO_DATE_TIME_SCHEMA$2,
|
|
9446
9520
|
reasonCode: literal("daemon.profile.offline"),
|
|
9447
|
-
softDeadlineAt: ISO_DATE_TIME_SCHEMA$
|
|
9521
|
+
softDeadlineAt: ISO_DATE_TIME_SCHEMA$2,
|
|
9448
9522
|
trigger: literal("openmeld_service_route_connected"),
|
|
9449
9523
|
triggerOwner: literal("runtime_coordinator"),
|
|
9450
9524
|
userRecoveryAction: literal("start_or_restart_openmeld_service"),
|
|
9451
9525
|
userVisibleState: literal("waiting_for_openmeld_service"),
|
|
9452
9526
|
waitingCategory: literal("service_not_connected"),
|
|
9453
9527
|
waitingFor: literal("openmeld_service_route_connection"),
|
|
9454
|
-
waitingSince: ISO_DATE_TIME_SCHEMA$
|
|
9528
|
+
waitingSince: ISO_DATE_TIME_SCHEMA$2
|
|
9455
9529
|
});
|
|
9456
9530
|
const spaceDispatchTraceRuntimeCoordinatorHeadWaitingBoundarySchema = discriminatedUnion("reasonCode", [spaceDispatchTraceRuntimeCoordinatorHeadOfflineWaitingBoundarySchema, strictObject({
|
|
9457
|
-
deadlineAt: ISO_DATE_TIME_SCHEMA$
|
|
9531
|
+
deadlineAt: ISO_DATE_TIME_SCHEMA$2,
|
|
9458
9532
|
deadlineOutcome: literal("publication_intent_ready"),
|
|
9459
|
-
observedAt: ISO_DATE_TIME_SCHEMA$
|
|
9533
|
+
observedAt: ISO_DATE_TIME_SCHEMA$2,
|
|
9460
9534
|
reasonCode: literal("daemon.profile.pending_first_report"),
|
|
9461
|
-
softDeadlineAt: ISO_DATE_TIME_SCHEMA$
|
|
9535
|
+
softDeadlineAt: ISO_DATE_TIME_SCHEMA$2,
|
|
9462
9536
|
trigger: literal("wake_route_reported"),
|
|
9463
9537
|
triggerOwner: literal("runtime_coordinator"),
|
|
9464
9538
|
userRecoveryAction: literal("wait_for_wake_route_report"),
|
|
9465
9539
|
userVisibleState: literal("waiting_for_wake_route_report"),
|
|
9466
9540
|
waitingCategory: literal("wake_route_registration_pending"),
|
|
9467
9541
|
waitingFor: literal("wake_route_report"),
|
|
9468
|
-
waitingSince: ISO_DATE_TIME_SCHEMA$
|
|
9542
|
+
waitingSince: ISO_DATE_TIME_SCHEMA$2
|
|
9469
9543
|
})]);
|
|
9470
9544
|
const spaceDispatchTraceRuntimeCoordinatorHeadFoundCommonShape = {
|
|
9471
|
-
createdAt: ISO_DATE_TIME_SCHEMA$
|
|
9545
|
+
createdAt: ISO_DATE_TIME_SCHEMA$2,
|
|
9472
9546
|
duplicateDispatchCount: int().min(0),
|
|
9473
9547
|
executionLinkedAt: nullableIsoDateTimeSchema$2,
|
|
9474
9548
|
factSource: literal("runtime_coordinator_head_lifecycle"),
|
|
9475
9549
|
modelVersion: literal("openmeld.runtime_coordinator.head_lifecycle.v1"),
|
|
9476
|
-
ownerUserId: trimmedNonEmptyStringSchema$
|
|
9477
|
-
primaryDispatchId: trimmedNonEmptyStringSchema$
|
|
9550
|
+
ownerUserId: trimmedNonEmptyStringSchema$2,
|
|
9551
|
+
primaryDispatchId: trimmedNonEmptyStringSchema$2,
|
|
9478
9552
|
publicationExhaustion: spaceDispatchTraceRuntimeCoordinatorHeadPublicationExhaustionSchema.optional(),
|
|
9479
9553
|
publicationOutcome: spaceDispatchTraceRuntimeCoordinatorHeadPublicationOutcomeSchema.optional(),
|
|
9480
9554
|
readStatus: literal("found"),
|
|
9481
9555
|
runtimeCoordinatorExecutionId: runtimeCoordinatorExecutionRecordSchema.shape.runtimeCoordinatorExecutionId.nullable(),
|
|
9482
9556
|
status: publishedRuntimeCoordinatorHeadLifecycleStatusSchema,
|
|
9483
9557
|
targetWakeLifecycleIdentity: targetWakeLifecycleIdentitySchema,
|
|
9484
|
-
targetWakeLifecycleId: trimmedNonEmptyStringSchema$
|
|
9558
|
+
targetWakeLifecycleId: trimmedNonEmptyStringSchema$2.max(2048),
|
|
9485
9559
|
targetDisplay: spaceDispatchTraceRuntimeCoordinatorHeadTargetDisplaySchema.optional(),
|
|
9486
|
-
updatedAt: ISO_DATE_TIME_SCHEMA$
|
|
9560
|
+
updatedAt: ISO_DATE_TIME_SCHEMA$2
|
|
9487
9561
|
};
|
|
9488
9562
|
const spaceDispatchTraceRuntimeCoordinatorHeadMissingSchema = strictObject({
|
|
9489
9563
|
factSource: literal("runtime_coordinator_head_lifecycle"),
|
|
9490
9564
|
readStatus: literal("missing"),
|
|
9491
9565
|
reasonCode: literal("runtime_coordinator.head_lifecycle_not_found"),
|
|
9492
|
-
targetWakeLifecycleId: trimmedNonEmptyStringSchema$
|
|
9566
|
+
targetWakeLifecycleId: trimmedNonEmptyStringSchema$2.max(2048)
|
|
9493
9567
|
});
|
|
9494
9568
|
const spaceDispatchTraceRuntimeCoordinatorHeadAuthorityUnavailableSchema = strictObject({
|
|
9495
9569
|
factSource: literal("runtime_coordinator_head_lifecycle"),
|
|
9496
9570
|
readStatus: literal("authority_unavailable"),
|
|
9497
|
-
reasonCode: trimmedNonEmptyStringSchema$
|
|
9498
|
-
targetWakeLifecycleId: trimmedNonEmptyStringSchema$
|
|
9571
|
+
reasonCode: trimmedNonEmptyStringSchema$2.max(160),
|
|
9572
|
+
targetWakeLifecycleId: trimmedNonEmptyStringSchema$2.max(2048)
|
|
9499
9573
|
});
|
|
9500
9574
|
const spaceDispatchTraceRuntimeCoordinatorHeadLifecycleV1Schema = discriminatedUnion("readStatus", [
|
|
9501
9575
|
strictObject({
|
|
@@ -9545,7 +9619,7 @@ const spaceDispatchTraceStructuredActionFailureSchema = strictObject({
|
|
|
9545
9619
|
spaceActionParseError: nullableTrimmedStringSchema$2
|
|
9546
9620
|
});
|
|
9547
9621
|
const spaceDispatchTraceOpenClawGatewayVisibilitySchema = strictObject({
|
|
9548
|
-
agentId: trimmedNonEmptyStringSchema$
|
|
9622
|
+
agentId: trimmedNonEmptyStringSchema$2,
|
|
9549
9623
|
gatewayRestartAttempted: boolean(),
|
|
9550
9624
|
gatewayVisibility: enumFactory([
|
|
9551
9625
|
"missing_after_restart",
|
|
@@ -10285,11 +10359,11 @@ function expectNullTraceEvidence(context, actual, path) {
|
|
|
10285
10359
|
}
|
|
10286
10360
|
//#endregion
|
|
10287
10361
|
//#region ../../packages/schemas/dist/schemas/http/center-agent.js
|
|
10288
|
-
const ISO_DATE_TIME_SCHEMA$
|
|
10289
|
-
const trimmedNonEmptyStringSchema$
|
|
10290
|
-
const nullableTrimmedStringSchema$1 = union([trimmedNonEmptyStringSchema$
|
|
10291
|
-
const nullableIsoDateTimeSchema$1 = union([ISO_DATE_TIME_SCHEMA$
|
|
10292
|
-
const nullableDiagnosticTextSchema = union([trimmedNonEmptyStringSchema$
|
|
10362
|
+
const ISO_DATE_TIME_SCHEMA$1 = iso.datetime({ offset: true });
|
|
10363
|
+
const trimmedNonEmptyStringSchema$1 = string().trim().min(1);
|
|
10364
|
+
const nullableTrimmedStringSchema$1 = union([trimmedNonEmptyStringSchema$1, nullFactory()]);
|
|
10365
|
+
const nullableIsoDateTimeSchema$1 = union([ISO_DATE_TIME_SCHEMA$1, nullFactory()]);
|
|
10366
|
+
const nullableDiagnosticTextSchema = union([trimmedNonEmptyStringSchema$1.max(512), nullFactory()]);
|
|
10293
10367
|
const CENTER_AGENT_REFERENCE_OVERLAP_MESSAGE = "A profile cannot be both a Wake target and a Reference target.";
|
|
10294
10368
|
function findCenterAgentReferenceOverlapIndex(input) {
|
|
10295
10369
|
const executableProfileIds = new Set(input.activationTargets);
|
|
@@ -10374,15 +10448,15 @@ const centerAgentConnectorActionAuditOutcomeSchema = enumFactory([
|
|
|
10374
10448
|
"outcome_unknown"
|
|
10375
10449
|
]);
|
|
10376
10450
|
strictObject({
|
|
10377
|
-
actionId: trimmedNonEmptyStringSchema$
|
|
10378
|
-
operationId: trimmedNonEmptyStringSchema$
|
|
10451
|
+
actionId: trimmedNonEmptyStringSchema$1.max(160),
|
|
10452
|
+
operationId: trimmedNonEmptyStringSchema$1.max(256),
|
|
10379
10453
|
outcome: centerAgentConnectorActionAuditOutcomeSchema,
|
|
10380
10454
|
service: connectorServiceSchema,
|
|
10381
10455
|
speakerMember: centerAgentToolSpeakerSchema
|
|
10382
10456
|
});
|
|
10383
10457
|
const centerAgentResourceSchema = strictObject({
|
|
10384
|
-
type: trimmedNonEmptyStringSchema$
|
|
10385
|
-
id: trimmedNonEmptyStringSchema$
|
|
10458
|
+
type: trimmedNonEmptyStringSchema$1,
|
|
10459
|
+
id: trimmedNonEmptyStringSchema$1
|
|
10386
10460
|
});
|
|
10387
10461
|
const centerAgentOnBehalfOfInputSchema = strictObject({ profileId: openMeldRuntimeProfileIdSchema });
|
|
10388
10462
|
const centerAgentAttributionSchema = strictObject({
|
|
@@ -10390,7 +10464,7 @@ const centerAgentAttributionSchema = strictObject({
|
|
|
10390
10464
|
onBehalfOf: strictObject({
|
|
10391
10465
|
profileId: openMeldRuntimeProfileIdSchema,
|
|
10392
10466
|
userId: nullableTrimmedStringSchema$1,
|
|
10393
|
-
displayName: trimmedNonEmptyStringSchema$
|
|
10467
|
+
displayName: trimmedNonEmptyStringSchema$1
|
|
10394
10468
|
}).nullable()
|
|
10395
10469
|
});
|
|
10396
10470
|
strictObject({
|
|
@@ -10405,22 +10479,22 @@ const centerAgentConnectorActionOperationStatusSchema = enumFactory([
|
|
|
10405
10479
|
]);
|
|
10406
10480
|
const centerAgentConnectorActionExecutionConnectionSchema = strictObject({
|
|
10407
10481
|
connectionName: connectorConnectionNameSchema,
|
|
10408
|
-
ownerDisplayName: trimmedNonEmptyStringSchema$
|
|
10409
|
-
ownerUserId: trimmedNonEmptyStringSchema$
|
|
10482
|
+
ownerDisplayName: trimmedNonEmptyStringSchema$1,
|
|
10483
|
+
ownerUserId: trimmedNonEmptyStringSchema$1,
|
|
10410
10484
|
scope: connectorConnectionScopeSchema,
|
|
10411
10485
|
service: connectorServiceSchema
|
|
10412
10486
|
});
|
|
10413
10487
|
strictObject({
|
|
10414
|
-
actionId: trimmedNonEmptyStringSchema$
|
|
10415
|
-
operationId: trimmedNonEmptyStringSchema$
|
|
10488
|
+
actionId: trimmedNonEmptyStringSchema$1.max(160),
|
|
10489
|
+
operationId: trimmedNonEmptyStringSchema$1.max(256),
|
|
10416
10490
|
service: connectorServiceSchema,
|
|
10417
10491
|
speakerMember: centerAgentToolSpeakerSchema
|
|
10418
10492
|
});
|
|
10419
10493
|
strictObject({ operation: strictObject({
|
|
10420
|
-
actionId: trimmedNonEmptyStringSchema$
|
|
10494
|
+
actionId: trimmedNonEmptyStringSchema$1.max(160),
|
|
10421
10495
|
connectionName: connectorConnectionNameSchema,
|
|
10422
10496
|
executionConnection: centerAgentConnectorActionExecutionConnectionSchema.nullable().optional(),
|
|
10423
|
-
operationId: trimmedNonEmptyStringSchema$
|
|
10497
|
+
operationId: trimmedNonEmptyStringSchema$1.max(256),
|
|
10424
10498
|
service: connectorServiceSchema,
|
|
10425
10499
|
status: centerAgentConnectorActionOperationStatusSchema
|
|
10426
10500
|
}).superRefine((value, context) => {
|
|
@@ -10431,9 +10505,9 @@ strictObject({ operation: strictObject({
|
|
|
10431
10505
|
});
|
|
10432
10506
|
}).nullable() });
|
|
10433
10507
|
strictObject({
|
|
10434
|
-
actionId: trimmedNonEmptyStringSchema$
|
|
10508
|
+
actionId: trimmedNonEmptyStringSchema$1.max(160),
|
|
10435
10509
|
connectionName: connectorConnectionNameSchema,
|
|
10436
|
-
operationId: trimmedNonEmptyStringSchema$
|
|
10510
|
+
operationId: trimmedNonEmptyStringSchema$1.max(256),
|
|
10437
10511
|
outcome: centerAgentConnectorActionAuditOutcomeSchema,
|
|
10438
10512
|
providerExecutionId: nullableTrimmedStringSchema$1,
|
|
10439
10513
|
requestSignature: string().regex(/^[0-9a-f]{64}$/),
|
|
@@ -10449,25 +10523,25 @@ strictObject({
|
|
|
10449
10523
|
strictObject({
|
|
10450
10524
|
attribution: centerAgentAttributionSchema,
|
|
10451
10525
|
executionConnection: centerAgentConnectorActionExecutionConnectionSchema.nullable().optional(),
|
|
10452
|
-
operationId: trimmedNonEmptyStringSchema$
|
|
10526
|
+
operationId: trimmedNonEmptyStringSchema$1.max(256),
|
|
10453
10527
|
providerExecutionId: nullableTrimmedStringSchema$1,
|
|
10454
10528
|
recorded: literal(true),
|
|
10455
10529
|
replayed: boolean(),
|
|
10456
10530
|
status: centerAgentConnectorActionOperationStatusSchema
|
|
10457
10531
|
});
|
|
10458
10532
|
const centerAgentDesignationSchema = strictObject({
|
|
10459
|
-
organizationId: trimmedNonEmptyStringSchema$
|
|
10533
|
+
organizationId: trimmedNonEmptyStringSchema$1,
|
|
10460
10534
|
agentProfileId: agentProfileIdSchema,
|
|
10461
10535
|
duty: nullFactory(),
|
|
10462
|
-
designatedBy: trimmedNonEmptyStringSchema$
|
|
10463
|
-
createdAt: ISO_DATE_TIME_SCHEMA$
|
|
10536
|
+
designatedBy: trimmedNonEmptyStringSchema$1,
|
|
10537
|
+
createdAt: ISO_DATE_TIME_SCHEMA$1
|
|
10464
10538
|
});
|
|
10465
10539
|
const centerAgentModelConfigurationResponseSchema = strictObject({
|
|
10466
10540
|
canManage: boolean(),
|
|
10467
10541
|
choices: array(centerAgentModelChoiceSchema).min(1),
|
|
10468
10542
|
configurationRevision: number().int().nonnegative(),
|
|
10469
10543
|
effectiveModel: centerAgentModelSummarySchema,
|
|
10470
|
-
organizationId: trimmedNonEmptyStringSchema$
|
|
10544
|
+
organizationId: trimmedNonEmptyStringSchema$1,
|
|
10471
10545
|
preference: centerAgentModelPreferenceSchema
|
|
10472
10546
|
});
|
|
10473
10547
|
const updateCenterAgentModelBodySchema = strictObject({
|
|
@@ -10491,19 +10565,19 @@ const centerAgentSlackWorkspaceConnectionSchema = strictObject({
|
|
|
10491
10565
|
workspaceName: nullableTrimmedStringSchema$1
|
|
10492
10566
|
});
|
|
10493
10567
|
const getCenterAgentDesignationResponseSchema = strictObject({
|
|
10494
|
-
organizationId: trimmedNonEmptyStringSchema$
|
|
10568
|
+
organizationId: trimmedNonEmptyStringSchema$1,
|
|
10495
10569
|
designation: centerAgentDesignationSchema.nullable(),
|
|
10496
10570
|
remoteRuntimeAvailability: centerAgentRemoteRuntimeAvailabilitySchema.optional(),
|
|
10497
10571
|
slackConnection: centerAgentSlackWorkspaceConnectionSchema.optional()
|
|
10498
10572
|
});
|
|
10499
|
-
const centerAgentSlackWorkspaceConnectBodySchema = strictObject({ slackTeamId: trimmedNonEmptyStringSchema$
|
|
10573
|
+
const centerAgentSlackWorkspaceConnectBodySchema = strictObject({ slackTeamId: trimmedNonEmptyStringSchema$1 });
|
|
10500
10574
|
const centerAgentSlackWorkspaceConnectionResponseSchema = strictObject({
|
|
10501
|
-
organizationId: trimmedNonEmptyStringSchema$
|
|
10575
|
+
organizationId: trimmedNonEmptyStringSchema$1,
|
|
10502
10576
|
slackConnection: centerAgentSlackWorkspaceConnectionSchema
|
|
10503
10577
|
});
|
|
10504
10578
|
const centerAgentSlackWorkspaceDisconnectResponseSchema = strictObject({
|
|
10505
10579
|
disconnected: boolean(),
|
|
10506
|
-
organizationId: trimmedNonEmptyStringSchema$
|
|
10580
|
+
organizationId: trimmedNonEmptyStringSchema$1,
|
|
10507
10581
|
slackConnection: centerAgentSlackWorkspaceConnectionSchema
|
|
10508
10582
|
});
|
|
10509
10583
|
const slackIdentityLinkTokenSchema = string().trim().regex(/^slacklink_[0-9a-f]{64}$/);
|
|
@@ -10511,15 +10585,15 @@ const slackIdentityLinkPreviewBodySchema = strictObject({ token: slackIdentityLi
|
|
|
10511
10585
|
const slackIdentityLinkPreviewResponseSchema = strictObject({
|
|
10512
10586
|
alreadyMember: boolean().default(true),
|
|
10513
10587
|
continuesRequest: boolean().default(true),
|
|
10514
|
-
expiresAt: ISO_DATE_TIME_SCHEMA$
|
|
10515
|
-
organizationId: trimmedNonEmptyStringSchema$
|
|
10516
|
-
organizationName: trimmedNonEmptyStringSchema$
|
|
10588
|
+
expiresAt: ISO_DATE_TIME_SCHEMA$1,
|
|
10589
|
+
organizationId: trimmedNonEmptyStringSchema$1,
|
|
10590
|
+
organizationName: trimmedNonEmptyStringSchema$1,
|
|
10517
10591
|
slackAccountEmail: email().nullable().default(null),
|
|
10518
|
-
slackDisplayName: trimmedNonEmptyStringSchema$
|
|
10519
|
-
slackTeamId: trimmedNonEmptyStringSchema$
|
|
10520
|
-
slackUserId: trimmedNonEmptyStringSchema$
|
|
10521
|
-
slackWorkspaceLabel: trimmedNonEmptyStringSchema$
|
|
10522
|
-
openMeldAccountEmail: trimmedNonEmptyStringSchema$
|
|
10592
|
+
slackDisplayName: trimmedNonEmptyStringSchema$1,
|
|
10593
|
+
slackTeamId: trimmedNonEmptyStringSchema$1,
|
|
10594
|
+
slackUserId: trimmedNonEmptyStringSchema$1,
|
|
10595
|
+
slackWorkspaceLabel: trimmedNonEmptyStringSchema$1,
|
|
10596
|
+
openMeldAccountEmail: trimmedNonEmptyStringSchema$1,
|
|
10523
10597
|
replacesExistingLink: boolean().default(false)
|
|
10524
10598
|
});
|
|
10525
10599
|
const slackIdentityLinkConsumeBodySchema = strictObject({
|
|
@@ -10531,27 +10605,27 @@ const slackIdentityLinkConsumeResponseSchema = strictObject({
|
|
|
10531
10605
|
continued: boolean().default(false),
|
|
10532
10606
|
joinedOrganization: boolean().default(false),
|
|
10533
10607
|
linked: literal(true),
|
|
10534
|
-
openMeldProfileId: trimmedNonEmptyStringSchema$
|
|
10535
|
-
organizationId: trimmedNonEmptyStringSchema$
|
|
10536
|
-
organizationName: trimmedNonEmptyStringSchema$
|
|
10537
|
-
organizationSlug: trimmedNonEmptyStringSchema$
|
|
10538
|
-
slackDisplayName: trimmedNonEmptyStringSchema$
|
|
10539
|
-
slackTeamId: trimmedNonEmptyStringSchema$
|
|
10608
|
+
openMeldProfileId: trimmedNonEmptyStringSchema$1.nullable().default(null),
|
|
10609
|
+
organizationId: trimmedNonEmptyStringSchema$1,
|
|
10610
|
+
organizationName: trimmedNonEmptyStringSchema$1,
|
|
10611
|
+
organizationSlug: trimmedNonEmptyStringSchema$1.nullable().default(null),
|
|
10612
|
+
slackDisplayName: trimmedNonEmptyStringSchema$1,
|
|
10613
|
+
slackTeamId: trimmedNonEmptyStringSchema$1,
|
|
10540
10614
|
slackThreadPermalink: slackMessagePermalinkSchema.nullable().optional(),
|
|
10541
|
-
slackUserId: trimmedNonEmptyStringSchema$
|
|
10615
|
+
slackUserId: trimmedNonEmptyStringSchema$1,
|
|
10542
10616
|
replacedExistingLink: boolean().default(false),
|
|
10543
|
-
openMeldUserId: trimmedNonEmptyStringSchema$
|
|
10617
|
+
openMeldUserId: trimmedNonEmptyStringSchema$1
|
|
10544
10618
|
});
|
|
10545
10619
|
strictObject({
|
|
10546
|
-
organizationId: trimmedNonEmptyStringSchema$
|
|
10547
|
-
userId: trimmedNonEmptyStringSchema$
|
|
10620
|
+
organizationId: trimmedNonEmptyStringSchema$1,
|
|
10621
|
+
userId: trimmedNonEmptyStringSchema$1
|
|
10548
10622
|
});
|
|
10549
10623
|
discriminatedUnion("ok", [strictObject({
|
|
10550
10624
|
alreadyMember: boolean(),
|
|
10551
10625
|
ok: literal(true),
|
|
10552
|
-
organizationId: trimmedNonEmptyStringSchema$
|
|
10553
|
-
organizationName: trimmedNonEmptyStringSchema$
|
|
10554
|
-
organizationSlug: trimmedNonEmptyStringSchema$
|
|
10626
|
+
organizationId: trimmedNonEmptyStringSchema$1,
|
|
10627
|
+
organizationName: trimmedNonEmptyStringSchema$1,
|
|
10628
|
+
organizationSlug: trimmedNonEmptyStringSchema$1,
|
|
10555
10629
|
role: enumFactory([
|
|
10556
10630
|
"owner",
|
|
10557
10631
|
"admin",
|
|
@@ -10565,24 +10639,24 @@ discriminatedUnion("ok", [strictObject({
|
|
|
10565
10639
|
"slack.workspace_member_enrollment.organization_inactive",
|
|
10566
10640
|
"slack.workspace_member_enrollment.personal_organization"
|
|
10567
10641
|
]),
|
|
10568
|
-
message: trimmedNonEmptyStringSchema$
|
|
10642
|
+
message: trimmedNonEmptyStringSchema$1,
|
|
10569
10643
|
ok: literal(false)
|
|
10570
10644
|
})]);
|
|
10571
10645
|
strictObject({
|
|
10572
|
-
organizationId: trimmedNonEmptyStringSchema$
|
|
10646
|
+
organizationId: trimmedNonEmptyStringSchema$1,
|
|
10573
10647
|
provider: enumFactory([
|
|
10574
10648
|
"feishu",
|
|
10575
10649
|
"lark",
|
|
10576
10650
|
"slack"
|
|
10577
10651
|
]),
|
|
10578
|
-
userId: trimmedNonEmptyStringSchema$
|
|
10652
|
+
userId: trimmedNonEmptyStringSchema$1
|
|
10579
10653
|
});
|
|
10580
10654
|
discriminatedUnion("ok", [strictObject({
|
|
10581
10655
|
alreadyMember: boolean(),
|
|
10582
10656
|
ok: literal(true),
|
|
10583
|
-
organizationId: trimmedNonEmptyStringSchema$
|
|
10584
|
-
organizationName: trimmedNonEmptyStringSchema$
|
|
10585
|
-
organizationSlug: trimmedNonEmptyStringSchema$
|
|
10657
|
+
organizationId: trimmedNonEmptyStringSchema$1,
|
|
10658
|
+
organizationName: trimmedNonEmptyStringSchema$1,
|
|
10659
|
+
organizationSlug: trimmedNonEmptyStringSchema$1,
|
|
10586
10660
|
role: enumFactory([
|
|
10587
10661
|
"owner",
|
|
10588
10662
|
"admin",
|
|
@@ -10596,7 +10670,7 @@ discriminatedUnion("ok", [strictObject({
|
|
|
10596
10670
|
"message_channel.member_enrollment.organization_inactive",
|
|
10597
10671
|
"message_channel.member_enrollment.personal_organization"
|
|
10598
10672
|
]),
|
|
10599
|
-
message: trimmedNonEmptyStringSchema$
|
|
10673
|
+
message: trimmedNonEmptyStringSchema$1,
|
|
10600
10674
|
ok: literal(false)
|
|
10601
10675
|
})]);
|
|
10602
10676
|
const designateCenterAgentBodySchema = strictObject({
|
|
@@ -10604,7 +10678,7 @@ const designateCenterAgentBodySchema = strictObject({
|
|
|
10604
10678
|
runtime: enumFactory(["self_hosted", "remote_agent"]).default("self_hosted")
|
|
10605
10679
|
});
|
|
10606
10680
|
const designateCenterAgentResponseSchema = strictObject({
|
|
10607
|
-
organizationId: trimmedNonEmptyStringSchema$
|
|
10681
|
+
organizationId: trimmedNonEmptyStringSchema$1,
|
|
10608
10682
|
designation: centerAgentDesignationSchema,
|
|
10609
10683
|
status: enumFactory([
|
|
10610
10684
|
"designated",
|
|
@@ -10616,7 +10690,7 @@ const centerAgentOperatingStateSchema = enumFactory(["active", "paused"]);
|
|
|
10616
10690
|
const getCenterAgentOperatingStateResponseSchema = strictObject({
|
|
10617
10691
|
canChangeOperatingState: boolean(),
|
|
10618
10692
|
operatingState: centerAgentOperatingStateSchema,
|
|
10619
|
-
organizationId: trimmedNonEmptyStringSchema$
|
|
10693
|
+
organizationId: trimmedNonEmptyStringSchema$1,
|
|
10620
10694
|
pausedAt: nullableIsoDateTimeSchema$1
|
|
10621
10695
|
});
|
|
10622
10696
|
const updateCenterAgentOperatingStateBodySchema = strictObject({ operatingState: centerAgentOperatingStateSchema });
|
|
@@ -10624,23 +10698,23 @@ const updateCenterAgentOperatingStateResponseSchema = getCenterAgentOperatingSta
|
|
|
10624
10698
|
affectedTaskCount: number().int().nonnegative(),
|
|
10625
10699
|
changed: boolean()
|
|
10626
10700
|
});
|
|
10627
|
-
const centerAgentUpdateProfileBodySchema = strictObject({ profileName: trimmedNonEmptyStringSchema$
|
|
10701
|
+
const centerAgentUpdateProfileBodySchema = strictObject({ profileName: trimmedNonEmptyStringSchema$1 });
|
|
10628
10702
|
const centerAgentUpdateProfileResponseSchema = strictObject({
|
|
10629
|
-
organizationId: trimmedNonEmptyStringSchema$
|
|
10703
|
+
organizationId: trimmedNonEmptyStringSchema$1,
|
|
10630
10704
|
profile: authProfileViewSchema
|
|
10631
10705
|
});
|
|
10632
10706
|
const centerAgentAuditJournalEntrySchema = strictObject({
|
|
10633
|
-
id: trimmedNonEmptyStringSchema$
|
|
10634
|
-
organizationId: trimmedNonEmptyStringSchema$
|
|
10707
|
+
id: trimmedNonEmptyStringSchema$1,
|
|
10708
|
+
organizationId: trimmedNonEmptyStringSchema$1,
|
|
10635
10709
|
actorProfileId: openMeldRuntimeProfileIdSchema,
|
|
10636
10710
|
action: centerAgentActionSchema,
|
|
10637
10711
|
onBehalfOf: strictObject({
|
|
10638
10712
|
profileId: openMeldRuntimeProfileIdSchema,
|
|
10639
10713
|
userId: nullableTrimmedStringSchema$1,
|
|
10640
|
-
displayName: trimmedNonEmptyStringSchema$
|
|
10714
|
+
displayName: trimmedNonEmptyStringSchema$1
|
|
10641
10715
|
}).nullable(),
|
|
10642
10716
|
interactionSource: strictObject({
|
|
10643
|
-
client: trimmedNonEmptyStringSchema$
|
|
10717
|
+
client: trimmedNonEmptyStringSchema$1.max(80),
|
|
10644
10718
|
kind: literal("local_agent")
|
|
10645
10719
|
}).optional(),
|
|
10646
10720
|
contextManifest: strictObject({
|
|
@@ -10651,11 +10725,11 @@ const centerAgentAuditJournalEntrySchema = strictObject({
|
|
|
10651
10725
|
contextLoad: strictObject({
|
|
10652
10726
|
estimatedTokens: number().int().nonnegative(),
|
|
10653
10727
|
includedMessages: number().int().min(1).max(50),
|
|
10654
|
-
manifestId: trimmedNonEmptyStringSchema$
|
|
10728
|
+
manifestId: trimmedNonEmptyStringSchema$1
|
|
10655
10729
|
}).optional(),
|
|
10656
10730
|
resource: centerAgentResourceSchema.nullable(),
|
|
10657
|
-
sourceSpaceId: trimmedNonEmptyStringSchema$
|
|
10658
|
-
createdAt: ISO_DATE_TIME_SCHEMA$
|
|
10731
|
+
sourceSpaceId: trimmedNonEmptyStringSchema$1.nullable().optional(),
|
|
10732
|
+
createdAt: ISO_DATE_TIME_SCHEMA$1
|
|
10659
10733
|
});
|
|
10660
10734
|
const listCenterAgentAuditJournalQuerySchema = strictObject({
|
|
10661
10735
|
actionSet: enumFactory([
|
|
@@ -10683,7 +10757,7 @@ const listCenterAgentAuditJournalQuerySchema = strictObject({
|
|
|
10683
10757
|
limit: coerce.number().int().min(1).max(200).optional()
|
|
10684
10758
|
});
|
|
10685
10759
|
const listCenterAgentAuditJournalResponseSchema = strictObject({
|
|
10686
|
-
organizationId: trimmedNonEmptyStringSchema$
|
|
10760
|
+
organizationId: trimmedNonEmptyStringSchema$1,
|
|
10687
10761
|
entries: array(centerAgentAuditJournalEntrySchema)
|
|
10688
10762
|
});
|
|
10689
10763
|
strictObject({
|
|
@@ -10710,25 +10784,25 @@ strictObject({
|
|
|
10710
10784
|
};
|
|
10711
10785
|
});
|
|
10712
10786
|
strictObject({
|
|
10713
|
-
profileName: trimmedNonEmptyStringSchema$
|
|
10787
|
+
profileName: trimmedNonEmptyStringSchema$1,
|
|
10714
10788
|
onBehalfOf: centerAgentOnBehalfOfInputSchema.optional()
|
|
10715
10789
|
});
|
|
10716
10790
|
strictObject({ onBehalfOf: centerAgentOnBehalfOfInputSchema.optional() });
|
|
10717
10791
|
strictObject({
|
|
10718
10792
|
agentProfileIds: array(agentProfileIdSchema).min(1).max(100),
|
|
10719
10793
|
onBehalfOf: centerAgentOnBehalfOfInputSchema.optional(),
|
|
10720
|
-
password: trimmedNonEmptyStringSchema$
|
|
10721
|
-
spaceId: trimmedNonEmptyStringSchema$
|
|
10794
|
+
password: trimmedNonEmptyStringSchema$1.optional(),
|
|
10795
|
+
spaceId: trimmedNonEmptyStringSchema$1
|
|
10722
10796
|
});
|
|
10723
10797
|
strictObject({
|
|
10724
|
-
memberUserIds: array(trimmedNonEmptyStringSchema$
|
|
10725
|
-
spaceId: trimmedNonEmptyStringSchema$
|
|
10798
|
+
memberUserIds: array(trimmedNonEmptyStringSchema$1).min(1).max(100),
|
|
10799
|
+
spaceId: trimmedNonEmptyStringSchema$1,
|
|
10726
10800
|
speakerMember: centerAgentToolSpeakerSchema
|
|
10727
10801
|
});
|
|
10728
10802
|
strictObject({
|
|
10729
10803
|
agentProfileIds: array(agentProfileIdSchema).min(1).max(100),
|
|
10730
10804
|
onBehalfOf: centerAgentOnBehalfOfInputSchema.optional(),
|
|
10731
|
-
spaceId: trimmedNonEmptyStringSchema$
|
|
10805
|
+
spaceId: trimmedNonEmptyStringSchema$1
|
|
10732
10806
|
});
|
|
10733
10807
|
const centerAgentSpaceContextScopeSchema = enumFactory([
|
|
10734
10808
|
"source",
|
|
@@ -10743,13 +10817,13 @@ const centerAgentSpaceContextAnchorByScope = {
|
|
|
10743
10817
|
thread: "threadId"
|
|
10744
10818
|
};
|
|
10745
10819
|
strictObject({
|
|
10746
|
-
afterSignalId: trimmedNonEmptyStringSchema$
|
|
10820
|
+
afterSignalId: trimmedNonEmptyStringSchema$1.optional(),
|
|
10747
10821
|
limit: number().int().min(1).max(100).optional(),
|
|
10748
10822
|
requestedAddressingModel: literal("wake_reference_mention").optional(),
|
|
10749
10823
|
scope: centerAgentSpaceContextScopeSchema.optional(),
|
|
10750
|
-
sourceSignalId: trimmedNonEmptyStringSchema$
|
|
10751
|
-
spaceId: trimmedNonEmptyStringSchema$
|
|
10752
|
-
threadId: trimmedNonEmptyStringSchema$
|
|
10824
|
+
sourceSignalId: trimmedNonEmptyStringSchema$1.optional(),
|
|
10825
|
+
spaceId: trimmedNonEmptyStringSchema$1,
|
|
10826
|
+
threadId: trimmedNonEmptyStringSchema$1.optional()
|
|
10753
10827
|
}).superRefine((value, context) => {
|
|
10754
10828
|
const requiredAnchor = value.scope ? centerAgentSpaceContextAnchorByScope[value.scope] : null;
|
|
10755
10829
|
if (requiredAnchor && !value[requiredAnchor]) context.addIssue({
|
|
@@ -10768,17 +10842,17 @@ strictObject({
|
|
|
10768
10842
|
});
|
|
10769
10843
|
});
|
|
10770
10844
|
strictObject({
|
|
10771
|
-
dispatchId: trimmedNonEmptyStringSchema$
|
|
10845
|
+
dispatchId: trimmedNonEmptyStringSchema$1.optional(),
|
|
10772
10846
|
limit: number().int().min(1).max(20).optional(),
|
|
10773
|
-
spaceId: trimmedNonEmptyStringSchema$
|
|
10774
|
-
targetProfileId: trimmedNonEmptyStringSchema$
|
|
10847
|
+
spaceId: trimmedNonEmptyStringSchema$1,
|
|
10848
|
+
targetProfileId: trimmedNonEmptyStringSchema$1.optional()
|
|
10775
10849
|
});
|
|
10776
10850
|
strictObject({
|
|
10777
10851
|
files: spaceMessageFileReferencesSchema.optional(),
|
|
10778
10852
|
mentionProfileIds: array(openMeldRuntimeProfileIdSchema).max(25).optional(),
|
|
10779
10853
|
onBehalfOf: centerAgentOnBehalfOfInputSchema.optional(),
|
|
10780
10854
|
referenceProfileIds: array(openMeldRuntimeProfileIdSchema).max(25).optional(),
|
|
10781
|
-
spaceId: trimmedNonEmptyStringSchema$
|
|
10855
|
+
spaceId: trimmedNonEmptyStringSchema$1,
|
|
10782
10856
|
text: string().trim().min(1).max(MAX_TEXT_LENGTH$1)
|
|
10783
10857
|
}).superRefine((value, context) => {
|
|
10784
10858
|
const referenceProfileIds = new Set(value.referenceProfileIds ?? []);
|
|
@@ -10790,19 +10864,19 @@ strictObject({
|
|
|
10790
10864
|
});
|
|
10791
10865
|
});
|
|
10792
10866
|
const centerAgentRemoteAgentExecutionPublicationSourceSchema = strictObject({
|
|
10793
|
-
executionId: trimmedNonEmptyStringSchema$
|
|
10867
|
+
executionId: trimmedNonEmptyStringSchema$1.max(512),
|
|
10794
10868
|
kind: literal("remote_agent_execution"),
|
|
10795
|
-
operationId: trimmedNonEmptyStringSchema$
|
|
10869
|
+
operationId: trimmedNonEmptyStringSchema$1.max(256).optional()
|
|
10796
10870
|
});
|
|
10797
10871
|
const centerAgentPublicationSourceSchema = discriminatedUnion("kind", [
|
|
10798
10872
|
strictObject({
|
|
10799
|
-
documentId: trimmedNonEmptyStringSchema$
|
|
10873
|
+
documentId: trimmedNonEmptyStringSchema$1.max(256),
|
|
10800
10874
|
kind: literal("organization_document")
|
|
10801
10875
|
}),
|
|
10802
10876
|
centerAgentRemoteAgentExecutionPublicationSourceSchema,
|
|
10803
10877
|
strictObject({
|
|
10804
10878
|
kind: literal("routine_run"),
|
|
10805
|
-
runId: trimmedNonEmptyStringSchema$
|
|
10879
|
+
runId: trimmedNonEmptyStringSchema$1.max(256)
|
|
10806
10880
|
})
|
|
10807
10881
|
]);
|
|
10808
10882
|
const centerAgentSlackMessageCommonBodyFields = {
|
|
@@ -10811,7 +10885,7 @@ const centerAgentSlackMessageCommonBodyFields = {
|
|
|
10811
10885
|
};
|
|
10812
10886
|
strictObject({
|
|
10813
10887
|
...centerAgentSlackMessageCommonBodyFields,
|
|
10814
|
-
channelName: trimmedNonEmptyStringSchema$
|
|
10888
|
+
channelName: trimmedNonEmptyStringSchema$1.max(80),
|
|
10815
10889
|
publicationSource: centerAgentPublicationSourceSchema.optional()
|
|
10816
10890
|
});
|
|
10817
10891
|
union([strictObject({
|
|
@@ -10820,18 +10894,18 @@ union([strictObject({
|
|
|
10820
10894
|
threadPermalink: slackThreadPublicationPermalinkSchema
|
|
10821
10895
|
}), strictObject({
|
|
10822
10896
|
...centerAgentSlackMessageCommonBodyFields,
|
|
10823
|
-
channelName: trimmedNonEmptyStringSchema$
|
|
10897
|
+
channelName: trimmedNonEmptyStringSchema$1.max(80),
|
|
10824
10898
|
publicationSource: centerAgentRemoteAgentExecutionPublicationSourceSchema,
|
|
10825
10899
|
threadTs: string().trim().regex(/^\d+\.\d+$/).max(32)
|
|
10826
10900
|
})]);
|
|
10827
10901
|
const centerAgentSlackFilePublicationCommonFields = {
|
|
10828
10902
|
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
10903
|
contentSha256: string().regex(/^[0-9a-f]{64}$/u),
|
|
10830
|
-
fileName: trimmedNonEmptyStringSchema$
|
|
10904
|
+
fileName: trimmedNonEmptyStringSchema$1.max(255),
|
|
10831
10905
|
initialComment: string().trim().min(1).max(MAX_TEXT_LENGTH$1).optional(),
|
|
10832
10906
|
publicationSource: centerAgentRemoteAgentExecutionPublicationSourceSchema,
|
|
10833
10907
|
speakerMember: centerAgentToolSpeakerSchema,
|
|
10834
|
-
title: trimmedNonEmptyStringSchema$
|
|
10908
|
+
title: trimmedNonEmptyStringSchema$1.max(255).optional()
|
|
10835
10909
|
};
|
|
10836
10910
|
union([
|
|
10837
10911
|
strictObject({
|
|
@@ -10840,7 +10914,7 @@ union([
|
|
|
10840
10914
|
}),
|
|
10841
10915
|
strictObject({
|
|
10842
10916
|
...centerAgentSlackFilePublicationCommonFields,
|
|
10843
|
-
channelName: trimmedNonEmptyStringSchema$
|
|
10917
|
+
channelName: trimmedNonEmptyStringSchema$1.max(80)
|
|
10844
10918
|
}),
|
|
10845
10919
|
strictObject({
|
|
10846
10920
|
...centerAgentSlackFilePublicationCommonFields,
|
|
@@ -10849,7 +10923,7 @@ union([
|
|
|
10849
10923
|
]);
|
|
10850
10924
|
strictObject({
|
|
10851
10925
|
includeBots: boolean().optional(),
|
|
10852
|
-
query: trimmedNonEmptyStringSchema$
|
|
10926
|
+
query: trimmedNonEmptyStringSchema$1.max(500),
|
|
10853
10927
|
searchAuthorization: remoteAgentSlackSearchAuthorizationSchema,
|
|
10854
10928
|
speakerMember: centerAgentToolSpeakerSchema
|
|
10855
10929
|
});
|
|
@@ -10867,7 +10941,7 @@ strictObject({
|
|
|
10867
10941
|
mentionProfileIds: array(openMeldRuntimeProfileIdSchema).max(25).optional(),
|
|
10868
10942
|
onBehalfOf: centerAgentOnBehalfOfInputSchema.optional(),
|
|
10869
10943
|
referenceProfileIds: array(openMeldRuntimeProfileIdSchema).max(25).optional(),
|
|
10870
|
-
spaceId: trimmedNonEmptyStringSchema$
|
|
10944
|
+
spaceId: trimmedNonEmptyStringSchema$1,
|
|
10871
10945
|
text: string().trim().min(1).max(MAX_TEXT_LENGTH$1)
|
|
10872
10946
|
}).superRefine((value, context) => {
|
|
10873
10947
|
const otherAddressingProfileIds = /* @__PURE__ */ new Set([
|
|
@@ -10917,19 +10991,19 @@ strictObject({
|
|
|
10917
10991
|
strictObject({
|
|
10918
10992
|
activationTargets: array(agentProfileIdSchema).min(1),
|
|
10919
10993
|
attribution: centerAgentAttributionSchema,
|
|
10920
|
-
clientMessageId: trimmedNonEmptyStringSchema$
|
|
10994
|
+
clientMessageId: trimmedNonEmptyStringSchema$1,
|
|
10921
10995
|
completionMode: centerAgentDelegationCompletionModeSchema,
|
|
10922
10996
|
context: openMeldRequestContextSchema,
|
|
10923
|
-
delegationId: trimmedNonEmptyStringSchema$
|
|
10997
|
+
delegationId: trimmedNonEmptyStringSchema$1,
|
|
10924
10998
|
fallbackAgentProfileId: agentProfileIdSchema.nullable(),
|
|
10925
|
-
organizationId: trimmedNonEmptyStringSchema$
|
|
10926
|
-
parentSubmissionId: trimmedNonEmptyStringSchema$
|
|
10999
|
+
organizationId: trimmedNonEmptyStringSchema$1,
|
|
11000
|
+
parentSubmissionId: trimmedNonEmptyStringSchema$1,
|
|
10927
11001
|
profile: profileSchema,
|
|
10928
11002
|
mentionTargets: array(openMeldRuntimeProfileIdSchema).max(25).default([]),
|
|
10929
11003
|
referenceTargets: array(openMeldRuntimeProfileIdSchema).max(25).default([]),
|
|
10930
11004
|
spaceAddressingVersion: literal("1").optional(),
|
|
10931
|
-
spaceId: trimmedNonEmptyStringSchema$
|
|
10932
|
-
subscriptionIds: array(trimmedNonEmptyStringSchema$
|
|
11005
|
+
spaceId: trimmedNonEmptyStringSchema$1,
|
|
11006
|
+
subscriptionIds: array(trimmedNonEmptyStringSchema$1).min(1),
|
|
10933
11007
|
text: string().trim().min(1).max(MAX_TEXT_LENGTH$1),
|
|
10934
11008
|
v: literal(1)
|
|
10935
11009
|
}).superRefine((value, context) => {
|
|
@@ -10959,7 +11033,7 @@ strictObject({
|
|
|
10959
11033
|
onBehalfOf: centerAgentOnBehalfOfInputSchema.optional(),
|
|
10960
11034
|
password: spacePasswordSchema.optional(),
|
|
10961
11035
|
purpose: string().optional(),
|
|
10962
|
-
spaceId: trimmedNonEmptyStringSchema$
|
|
11036
|
+
spaceId: trimmedNonEmptyStringSchema$1
|
|
10963
11037
|
}).superRefine((value, ctx) => {
|
|
10964
11038
|
if (value.accessMode === void 0 && value.guide === void 0 && value.purpose === void 0) ctx.addIssue({
|
|
10965
11039
|
code: "custom",
|
|
@@ -10999,24 +11073,24 @@ const centerAgentProductOperationStepSchema = strictObject({
|
|
|
10999
11073
|
"failed",
|
|
11000
11074
|
"skipped"
|
|
11001
11075
|
]),
|
|
11002
|
-
message: trimmedNonEmptyStringSchema$
|
|
11003
|
-
nextAction: trimmedNonEmptyStringSchema$
|
|
11076
|
+
message: trimmedNonEmptyStringSchema$1.optional(),
|
|
11077
|
+
nextAction: trimmedNonEmptyStringSchema$1.optional()
|
|
11004
11078
|
});
|
|
11005
11079
|
const centerAgentLocalAgentConnectionCandidateSchema = strictObject({
|
|
11006
|
-
agentControllerRef: trimmedNonEmptyStringSchema$
|
|
11007
|
-
agentDisplayName: trimmedNonEmptyStringSchema$
|
|
11008
|
-
candidateId: trimmedNonEmptyStringSchema$
|
|
11080
|
+
agentControllerRef: trimmedNonEmptyStringSchema$1,
|
|
11081
|
+
agentDisplayName: trimmedNonEmptyStringSchema$1,
|
|
11082
|
+
candidateId: trimmedNonEmptyStringSchema$1,
|
|
11009
11083
|
connectable: boolean(),
|
|
11010
|
-
deviceDisplayName: trimmedNonEmptyStringSchema$
|
|
11011
|
-
deviceId: trimmedNonEmptyStringSchema$
|
|
11084
|
+
deviceDisplayName: trimmedNonEmptyStringSchema$1,
|
|
11085
|
+
deviceId: trimmedNonEmptyStringSchema$1,
|
|
11012
11086
|
freshness: enumFactory([
|
|
11013
11087
|
"fresh",
|
|
11014
11088
|
"stale",
|
|
11015
11089
|
"unknown"
|
|
11016
11090
|
]),
|
|
11017
11091
|
lastObservedAtMs: number().int().nonnegative().nullable(),
|
|
11018
|
-
reasonCodes: array(trimmedNonEmptyStringSchema$
|
|
11019
|
-
runtimeLane: trimmedNonEmptyStringSchema$
|
|
11092
|
+
reasonCodes: array(trimmedNonEmptyStringSchema$1),
|
|
11093
|
+
runtimeLane: trimmedNonEmptyStringSchema$1,
|
|
11020
11094
|
status: enumFactory([
|
|
11021
11095
|
"ready",
|
|
11022
11096
|
"not_ready",
|
|
@@ -11026,12 +11100,12 @@ const centerAgentLocalAgentConnectionCandidateSchema = strictObject({
|
|
|
11026
11100
|
openMeldServiceRuntimeId: prepareReadinessRuntimeIdSchema
|
|
11027
11101
|
});
|
|
11028
11102
|
const centerAgentComputerSetupOptionSchema = strictObject({
|
|
11029
|
-
connectedComputerId: trimmedNonEmptyStringSchema$
|
|
11030
|
-
deviceDisplayName: trimmedNonEmptyStringSchema$
|
|
11031
|
-
deviceId: trimmedNonEmptyStringSchema$
|
|
11103
|
+
connectedComputerId: trimmedNonEmptyStringSchema$1.nullable(),
|
|
11104
|
+
deviceDisplayName: trimmedNonEmptyStringSchema$1,
|
|
11105
|
+
deviceId: trimmedNonEmptyStringSchema$1,
|
|
11032
11106
|
isCurrent: boolean(),
|
|
11033
11107
|
lastObservedAtMs: number().int().nonnegative().nullable(),
|
|
11034
|
-
reasonCodes: array(trimmedNonEmptyStringSchema$
|
|
11108
|
+
reasonCodes: array(trimmedNonEmptyStringSchema$1),
|
|
11035
11109
|
recommendedMode: computerSetupModeSchema.nullable(),
|
|
11036
11110
|
status: enumFactory([
|
|
11037
11111
|
"connected",
|
|
@@ -11049,7 +11123,7 @@ const centerAgentComputerSetupOptionSchema = strictObject({
|
|
|
11049
11123
|
strictObject({});
|
|
11050
11124
|
strictObject({
|
|
11051
11125
|
candidates: array(centerAgentLocalAgentConnectionCandidateSchema),
|
|
11052
|
-
organizationId: trimmedNonEmptyStringSchema$
|
|
11126
|
+
organizationId: trimmedNonEmptyStringSchema$1
|
|
11053
11127
|
});
|
|
11054
11128
|
strictObject({
|
|
11055
11129
|
includeDiagnostics: boolean().optional(),
|
|
@@ -11059,11 +11133,11 @@ strictObject({
|
|
|
11059
11133
|
strictObject({
|
|
11060
11134
|
computers: array(centerAgentComputerSetupOptionSchema),
|
|
11061
11135
|
diagnostics: ownerComputerDiagnosticsSchema.optional(),
|
|
11062
|
-
organizationId: trimmedNonEmptyStringSchema$
|
|
11136
|
+
organizationId: trimmedNonEmptyStringSchema$1
|
|
11063
11137
|
});
|
|
11064
11138
|
strictObject({ speakerMember: centerAgentToolSpeakerSchema });
|
|
11065
11139
|
strictObject({
|
|
11066
|
-
organizationId: trimmedNonEmptyStringSchema$
|
|
11140
|
+
organizationId: trimmedNonEmptyStringSchema$1,
|
|
11067
11141
|
result: requestCurrentOpenMeldToolsUpdateResponseSchema
|
|
11068
11142
|
});
|
|
11069
11143
|
strictObject({
|
|
@@ -11071,26 +11145,26 @@ strictObject({
|
|
|
11071
11145
|
speakerMember: centerAgentToolSpeakerSchema
|
|
11072
11146
|
});
|
|
11073
11147
|
strictObject({
|
|
11074
|
-
organizationId: trimmedNonEmptyStringSchema$
|
|
11148
|
+
organizationId: trimmedNonEmptyStringSchema$1,
|
|
11075
11149
|
result: setCurrentOpenMeldToolsMaintenanceResponseSchema
|
|
11076
11150
|
});
|
|
11077
11151
|
strictObject({
|
|
11078
|
-
agentId: trimmedNonEmptyStringSchema$
|
|
11152
|
+
agentId: trimmedNonEmptyStringSchema$1.max(256),
|
|
11079
11153
|
speakerMember: centerAgentToolSpeakerSchema
|
|
11080
11154
|
});
|
|
11081
|
-
currentLocalAgentInstallationsResponseSchema.extend({ organizationId: trimmedNonEmptyStringSchema$
|
|
11155
|
+
currentLocalAgentInstallationsResponseSchema.extend({ organizationId: trimmedNonEmptyStringSchema$1 });
|
|
11082
11156
|
strictObject({
|
|
11083
|
-
agentId: trimmedNonEmptyStringSchema$
|
|
11157
|
+
agentId: trimmedNonEmptyStringSchema$1.max(256),
|
|
11084
11158
|
confirmed: literal(true),
|
|
11085
|
-
installationId: trimmedNonEmptyStringSchema$
|
|
11159
|
+
installationId: trimmedNonEmptyStringSchema$1.max(256),
|
|
11086
11160
|
speakerMember: centerAgentToolSpeakerSchema
|
|
11087
11161
|
});
|
|
11088
|
-
selectCurrentLocalAgentInstallationResponseSchema.extend({ organizationId: trimmedNonEmptyStringSchema$
|
|
11162
|
+
selectCurrentLocalAgentInstallationResponseSchema.extend({ organizationId: trimmedNonEmptyStringSchema$1 });
|
|
11089
11163
|
strictObject({
|
|
11090
11164
|
includeUsageLimits: literal("true").optional(),
|
|
11091
|
-
memberUserId: trimmedNonEmptyStringSchema$
|
|
11165
|
+
memberUserId: trimmedNonEmptyStringSchema$1
|
|
11092
11166
|
});
|
|
11093
|
-
organizationComputersResponseSchema.extend({ memberUserId: trimmedNonEmptyStringSchema$
|
|
11167
|
+
organizationComputersResponseSchema.extend({ memberUserId: trimmedNonEmptyStringSchema$1 }).superRefine((value, context) => {
|
|
11094
11168
|
value.computers.forEach((computer, index) => {
|
|
11095
11169
|
if (computer.ownerUserId !== value.memberUserId) context.addIssue({
|
|
11096
11170
|
code: "custom",
|
|
@@ -11107,20 +11181,20 @@ strictObject({
|
|
|
11107
11181
|
agentControllerCollaborationMode: agentProfileBindingAgentControllerCollaborationModeSchema.optional(),
|
|
11108
11182
|
agentControllerPermissionMode: agentProfileBindingAgentControllerPermissionModeSchema.optional(),
|
|
11109
11183
|
agentProfileId: agentProfileIdSchema,
|
|
11110
|
-
candidateId: trimmedNonEmptyStringSchema$
|
|
11111
|
-
modelId: trimmedNonEmptyStringSchema$
|
|
11184
|
+
candidateId: trimmedNonEmptyStringSchema$1,
|
|
11185
|
+
modelId: trimmedNonEmptyStringSchema$1.optional(),
|
|
11112
11186
|
onBehalfOf: centerAgentOnBehalfOfInputSchema.optional(),
|
|
11113
11187
|
openCodePermission: agentProfileBindingOpenCodePermissionSchema.optional(),
|
|
11114
|
-
reasoningLevel: trimmedNonEmptyStringSchema$
|
|
11188
|
+
reasoningLevel: trimmedNonEmptyStringSchema$1.optional()
|
|
11115
11189
|
});
|
|
11116
11190
|
strictObject({
|
|
11117
11191
|
agentControllerCollaborationMode: agentProfileBindingAgentControllerCollaborationModeSchema.optional(),
|
|
11118
11192
|
agentControllerPermissionMode: agentProfileBindingAgentControllerPermissionModeSchema.optional(),
|
|
11119
11193
|
agentProfileId: agentProfileIdSchema,
|
|
11120
|
-
modelId: trimmedNonEmptyStringSchema$
|
|
11194
|
+
modelId: trimmedNonEmptyStringSchema$1.optional(),
|
|
11121
11195
|
onBehalfOf: centerAgentOnBehalfOfInputSchema.optional(),
|
|
11122
11196
|
openCodePermission: agentProfileBindingOpenCodePermissionSchema.optional(),
|
|
11123
|
-
reasoningLevel: trimmedNonEmptyStringSchema$
|
|
11197
|
+
reasoningLevel: trimmedNonEmptyStringSchema$1.optional(),
|
|
11124
11198
|
workspaceMode: profileWorkspaceModeSchema.optional(),
|
|
11125
11199
|
workspacePath: profileWorkingDirectorySchema.optional()
|
|
11126
11200
|
}).superRefine((value, ctx) => {
|
|
@@ -11144,14 +11218,14 @@ strictObject({ onBehalfOf: centerAgentOnBehalfOfInputSchema.optional() });
|
|
|
11144
11218
|
strictObject({
|
|
11145
11219
|
agentControllerCollaborationMode: agentProfileBindingAgentControllerCollaborationModeSchema.optional(),
|
|
11146
11220
|
agentControllerPermissionMode: agentProfileBindingAgentControllerPermissionModeSchema.optional(),
|
|
11147
|
-
candidateId: trimmedNonEmptyStringSchema$
|
|
11221
|
+
candidateId: trimmedNonEmptyStringSchema$1,
|
|
11148
11222
|
configuration: agentProfileCreationPreferenceSelectionSchema.optional(),
|
|
11149
|
-
modelId: trimmedNonEmptyStringSchema$
|
|
11223
|
+
modelId: trimmedNonEmptyStringSchema$1.optional(),
|
|
11150
11224
|
onBehalfOf: centerAgentOnBehalfOfInputSchema.optional(),
|
|
11151
11225
|
openCodePermission: agentProfileBindingOpenCodePermissionSchema.optional(),
|
|
11152
|
-
profileName: trimmedNonEmptyStringSchema$
|
|
11153
|
-
reasoningLevel: trimmedNonEmptyStringSchema$
|
|
11154
|
-
spaceId: trimmedNonEmptyStringSchema$
|
|
11226
|
+
profileName: trimmedNonEmptyStringSchema$1,
|
|
11227
|
+
reasoningLevel: trimmedNonEmptyStringSchema$1.optional(),
|
|
11228
|
+
spaceId: trimmedNonEmptyStringSchema$1,
|
|
11155
11229
|
workspaceMode: profileWorkspaceModeSchema.optional(),
|
|
11156
11230
|
workspacePath: profileWorkingDirectorySchema.optional()
|
|
11157
11231
|
}).superRefine((value, ctx) => {
|
|
@@ -11169,13 +11243,13 @@ strictObject({
|
|
|
11169
11243
|
const centerAgentCheckAgentProfileReadinessResponseSchema = strictObject({
|
|
11170
11244
|
agentProfileId: agentProfileIdSchema,
|
|
11171
11245
|
blockers: array(strictObject({
|
|
11172
|
-
reasonCode: trimmedNonEmptyStringSchema$
|
|
11173
|
-
explanation: trimmedNonEmptyStringSchema$
|
|
11246
|
+
reasonCode: trimmedNonEmptyStringSchema$1,
|
|
11247
|
+
explanation: trimmedNonEmptyStringSchema$1
|
|
11174
11248
|
})),
|
|
11175
11249
|
canReply: boolean(),
|
|
11176
|
-
organizationId: trimmedNonEmptyStringSchema$
|
|
11250
|
+
organizationId: trimmedNonEmptyStringSchema$1,
|
|
11177
11251
|
readiness: getAgentExecutionReadinessResponseSchema,
|
|
11178
|
-
summary: trimmedNonEmptyStringSchema$
|
|
11252
|
+
summary: trimmedNonEmptyStringSchema$1
|
|
11179
11253
|
});
|
|
11180
11254
|
const centerAgentProductOperationStatusSchema = enumFactory(["completed", "blocked"]);
|
|
11181
11255
|
const centerAgentConnectAgentProfileToLocalAgentResponseSchema = strictObject({
|
|
@@ -11183,7 +11257,7 @@ const centerAgentConnectAgentProfileToLocalAgentResponseSchema = strictObject({
|
|
|
11183
11257
|
binding: ensureAgentProfilePrimaryBindingResponseSchema.optional(),
|
|
11184
11258
|
canReply: boolean(),
|
|
11185
11259
|
candidate: centerAgentLocalAgentConnectionCandidateSchema.optional(),
|
|
11186
|
-
organizationId: trimmedNonEmptyStringSchema$
|
|
11260
|
+
organizationId: trimmedNonEmptyStringSchema$1,
|
|
11187
11261
|
readiness: centerAgentCheckAgentProfileReadinessResponseSchema.optional(),
|
|
11188
11262
|
status: centerAgentProductOperationStatusSchema,
|
|
11189
11263
|
steps: array(centerAgentProductOperationStepSchema)
|
|
@@ -11192,7 +11266,7 @@ strictObject({
|
|
|
11192
11266
|
agentProfileId: agentProfileIdSchema,
|
|
11193
11267
|
binding: ensureAgentProfilePrimaryBindingResponseSchema.optional(),
|
|
11194
11268
|
canReply: boolean(),
|
|
11195
|
-
organizationId: trimmedNonEmptyStringSchema$
|
|
11269
|
+
organizationId: trimmedNonEmptyStringSchema$1,
|
|
11196
11270
|
readiness: centerAgentCheckAgentProfileReadinessResponseSchema.optional(),
|
|
11197
11271
|
status: centerAgentProductOperationStatusSchema,
|
|
11198
11272
|
steps: array(centerAgentProductOperationStepSchema),
|
|
@@ -11202,22 +11276,22 @@ strictObject({
|
|
|
11202
11276
|
agentProfileId: agentProfileIdSchema.optional(),
|
|
11203
11277
|
canReply: boolean(),
|
|
11204
11278
|
connection: centerAgentConnectAgentProfileToLocalAgentResponseSchema.optional(),
|
|
11205
|
-
organizationId: trimmedNonEmptyStringSchema$
|
|
11279
|
+
organizationId: trimmedNonEmptyStringSchema$1,
|
|
11206
11280
|
profile: authProfileViewSchema.optional(),
|
|
11207
11281
|
readiness: centerAgentCheckAgentProfileReadinessResponseSchema.optional(),
|
|
11208
|
-
spaceId: trimmedNonEmptyStringSchema$
|
|
11282
|
+
spaceId: trimmedNonEmptyStringSchema$1,
|
|
11209
11283
|
status: centerAgentProductOperationStatusSchema,
|
|
11210
11284
|
steps: array(centerAgentProductOperationStepSchema),
|
|
11211
11285
|
workspace: setCurrentAgentProfileWorkspaceResponseSchema.optional()
|
|
11212
11286
|
});
|
|
11213
11287
|
const centerAgentConciergeActionResponseSchema = strictObject({
|
|
11214
|
-
organizationId: trimmedNonEmptyStringSchema$
|
|
11288
|
+
organizationId: trimmedNonEmptyStringSchema$1,
|
|
11215
11289
|
attribution: centerAgentAttributionSchema,
|
|
11216
11290
|
resource: centerAgentResourceSchema.nullable()
|
|
11217
11291
|
});
|
|
11218
11292
|
centerAgentConciergeActionResponseSchema.extend({
|
|
11219
11293
|
meta: spaceMetaSchema.optional(),
|
|
11220
|
-
spaceId: trimmedNonEmptyStringSchema$
|
|
11294
|
+
spaceId: trimmedNonEmptyStringSchema$1
|
|
11221
11295
|
});
|
|
11222
11296
|
centerAgentConciergeActionResponseSchema.extend({ profile: authProfileViewSchema });
|
|
11223
11297
|
centerAgentConciergeActionResponseSchema.extend({
|
|
@@ -11226,49 +11300,49 @@ centerAgentConciergeActionResponseSchema.extend({
|
|
|
11226
11300
|
});
|
|
11227
11301
|
centerAgentConciergeActionResponseSchema.extend({
|
|
11228
11302
|
agentProfileIds: array(agentProfileIdSchema),
|
|
11229
|
-
spaceId: trimmedNonEmptyStringSchema$
|
|
11303
|
+
spaceId: trimmedNonEmptyStringSchema$1,
|
|
11230
11304
|
membership: postSpaceMembersResponseSchema
|
|
11231
11305
|
});
|
|
11232
11306
|
const centerAgentAddMembersToSpaceResultSchema = discriminatedUnion("status", [strictObject({
|
|
11233
|
-
memberUserId: trimmedNonEmptyStringSchema$
|
|
11307
|
+
memberUserId: trimmedNonEmptyStringSchema$1,
|
|
11234
11308
|
profileId: openMeldRuntimeProfileIdSchema,
|
|
11235
11309
|
status: enumFactory(["added", "already_member"])
|
|
11236
11310
|
}), strictObject({
|
|
11237
11311
|
code: enumFactory(["not_organization_member", "active_human_profile_required"]),
|
|
11238
|
-
memberUserId: trimmedNonEmptyStringSchema$
|
|
11239
|
-
message: trimmedNonEmptyStringSchema$
|
|
11312
|
+
memberUserId: trimmedNonEmptyStringSchema$1,
|
|
11313
|
+
message: trimmedNonEmptyStringSchema$1,
|
|
11240
11314
|
status: literal("rejected")
|
|
11241
11315
|
})]);
|
|
11242
11316
|
centerAgentConciergeActionResponseSchema.extend({
|
|
11243
11317
|
membership: postSpaceMembersResponseSchema,
|
|
11244
11318
|
results: array(centerAgentAddMembersToSpaceResultSchema),
|
|
11245
|
-
spaceId: trimmedNonEmptyStringSchema$
|
|
11319
|
+
spaceId: trimmedNonEmptyStringSchema$1
|
|
11246
11320
|
});
|
|
11247
11321
|
centerAgentConciergeActionResponseSchema.extend({
|
|
11248
11322
|
agentProfileIds: array(agentProfileIdSchema),
|
|
11249
|
-
spaceId: trimmedNonEmptyStringSchema$
|
|
11323
|
+
spaceId: trimmedNonEmptyStringSchema$1,
|
|
11250
11324
|
membership: removeSpaceMembersResponseSchema
|
|
11251
11325
|
});
|
|
11252
11326
|
const centerAgentSpaceContextBaseResponseShape = {
|
|
11253
|
-
organizationId: trimmedNonEmptyStringSchema$
|
|
11254
|
-
spaceId: trimmedNonEmptyStringSchema$
|
|
11327
|
+
organizationId: trimmedNonEmptyStringSchema$1,
|
|
11328
|
+
spaceId: trimmedNonEmptyStringSchema$1
|
|
11255
11329
|
};
|
|
11256
11330
|
const centerAgentProgressiveSpaceContextSchema = discriminatedUnion("scope", [
|
|
11257
11331
|
strictObject({
|
|
11258
11332
|
scope: literal("source"),
|
|
11259
11333
|
signals: array(signalEnvelopeSchema).max(1),
|
|
11260
|
-
sourceSignalId: trimmedNonEmptyStringSchema$
|
|
11334
|
+
sourceSignalId: trimmedNonEmptyStringSchema$1,
|
|
11261
11335
|
threadContext: union([spaceThreadContextSchema, nullFactory()]),
|
|
11262
11336
|
truncated: literal(false)
|
|
11263
11337
|
}),
|
|
11264
11338
|
strictObject({
|
|
11265
11339
|
scope: literal("thread"),
|
|
11266
11340
|
signals: array(signalEnvelopeSchema).max(100),
|
|
11267
|
-
threadId: trimmedNonEmptyStringSchema$
|
|
11341
|
+
threadId: trimmedNonEmptyStringSchema$1,
|
|
11268
11342
|
truncated: boolean()
|
|
11269
11343
|
}),
|
|
11270
11344
|
strictObject({
|
|
11271
|
-
afterSignalId: trimmedNonEmptyStringSchema$
|
|
11345
|
+
afterSignalId: trimmedNonEmptyStringSchema$1,
|
|
11272
11346
|
scope: literal("delta"),
|
|
11273
11347
|
signals: array(signalEnvelopeSchema).max(100),
|
|
11274
11348
|
truncated: boolean()
|
|
@@ -11287,9 +11361,9 @@ union([strictObject({
|
|
|
11287
11361
|
context: centerAgentProgressiveSpaceContextSchema
|
|
11288
11362
|
})]);
|
|
11289
11363
|
const centerAgentDispatchHistoryLatestAttemptSchema = strictObject({
|
|
11290
|
-
attemptId: trimmedNonEmptyStringSchema$
|
|
11364
|
+
attemptId: trimmedNonEmptyStringSchema$1,
|
|
11291
11365
|
attemptNo: int().min(1),
|
|
11292
|
-
createdAt: ISO_DATE_TIME_SCHEMA$
|
|
11366
|
+
createdAt: ISO_DATE_TIME_SCHEMA$1,
|
|
11293
11367
|
errorCode: nullableTrimmedStringSchema$1,
|
|
11294
11368
|
errorMessage: nullableDiagnosticTextSchema,
|
|
11295
11369
|
finishedAt: nullableIsoDateTimeSchema$1,
|
|
@@ -11299,20 +11373,20 @@ const centerAgentDispatchHistoryLatestAttemptSchema = strictObject({
|
|
|
11299
11373
|
strictObject({
|
|
11300
11374
|
entries: array(strictObject({
|
|
11301
11375
|
attemptCount: int().min(0),
|
|
11302
|
-
dispatchId: trimmedNonEmptyStringSchema$
|
|
11303
|
-
firstSeenAt: ISO_DATE_TIME_SCHEMA$
|
|
11304
|
-
lastAttemptAt: ISO_DATE_TIME_SCHEMA$
|
|
11376
|
+
dispatchId: trimmedNonEmptyStringSchema$1,
|
|
11377
|
+
firstSeenAt: ISO_DATE_TIME_SCHEMA$1,
|
|
11378
|
+
lastAttemptAt: ISO_DATE_TIME_SCHEMA$1,
|
|
11305
11379
|
latestAttempt: union([centerAgentDispatchHistoryLatestAttemptSchema, nullFactory()]),
|
|
11306
11380
|
status: spaceDispatchTraceDispatchStatusSchema,
|
|
11307
|
-
targetProfileId: trimmedNonEmptyStringSchema$
|
|
11381
|
+
targetProfileId: trimmedNonEmptyStringSchema$1
|
|
11308
11382
|
})),
|
|
11309
|
-
organizationId: trimmedNonEmptyStringSchema$
|
|
11310
|
-
spaceId: trimmedNonEmptyStringSchema$
|
|
11383
|
+
organizationId: trimmedNonEmptyStringSchema$1,
|
|
11384
|
+
spaceId: trimmedNonEmptyStringSchema$1
|
|
11311
11385
|
});
|
|
11312
11386
|
centerAgentConciergeActionResponseSchema.extend({
|
|
11313
11387
|
accessModeState: spaceAccessModeStateSchema.optional(),
|
|
11314
11388
|
meta: spaceMetaSchema.optional(),
|
|
11315
|
-
spaceId: trimmedNonEmptyStringSchema$
|
|
11389
|
+
spaceId: trimmedNonEmptyStringSchema$1
|
|
11316
11390
|
});
|
|
11317
11391
|
discriminatedUnion("addressingModel", [strictObject({
|
|
11318
11392
|
addressingModel: literal("wake_reference"),
|
|
@@ -11324,25 +11398,25 @@ discriminatedUnion("addressingModel", [strictObject({
|
|
|
11324
11398
|
})]);
|
|
11325
11399
|
centerAgentConciergeActionResponseSchema.extend({
|
|
11326
11400
|
signal: signalTextEnvelopeSchema,
|
|
11327
|
-
spaceId: trimmedNonEmptyStringSchema$
|
|
11401
|
+
spaceId: trimmedNonEmptyStringSchema$1
|
|
11328
11402
|
});
|
|
11329
11403
|
strictObject({
|
|
11330
11404
|
attribution: centerAgentAttributionSchema,
|
|
11331
|
-
channelName: trimmedNonEmptyStringSchema$
|
|
11405
|
+
channelName: trimmedNonEmptyStringSchema$1.max(80),
|
|
11332
11406
|
joinedChannel: boolean(),
|
|
11333
|
-
messageTs: trimmedNonEmptyStringSchema$
|
|
11334
|
-
organizationId: trimmedNonEmptyStringSchema$
|
|
11407
|
+
messageTs: trimmedNonEmptyStringSchema$1,
|
|
11408
|
+
organizationId: trimmedNonEmptyStringSchema$1
|
|
11335
11409
|
});
|
|
11336
11410
|
strictObject({
|
|
11337
11411
|
attribution: centerAgentAttributionSchema,
|
|
11338
|
-
channelName: trimmedNonEmptyStringSchema$
|
|
11412
|
+
channelName: trimmedNonEmptyStringSchema$1.max(80),
|
|
11339
11413
|
file: slackFileMetadataSchema,
|
|
11340
11414
|
joinedChannel: boolean(),
|
|
11341
|
-
organizationId: trimmedNonEmptyStringSchema$
|
|
11415
|
+
organizationId: trimmedNonEmptyStringSchema$1
|
|
11342
11416
|
});
|
|
11343
11417
|
const centerAgentSlackSearchFailureSchema = strictObject({
|
|
11344
|
-
organizationId: trimmedNonEmptyStringSchema$
|
|
11345
|
-
reason: trimmedNonEmptyStringSchema$
|
|
11418
|
+
organizationId: trimmedNonEmptyStringSchema$1,
|
|
11419
|
+
reason: trimmedNonEmptyStringSchema$1.max(500),
|
|
11346
11420
|
retryAfterSeconds: number().int().nonnegative().optional(),
|
|
11347
11421
|
status: enumFactory([
|
|
11348
11422
|
"authorization_expired",
|
|
@@ -11352,36 +11426,36 @@ const centerAgentSlackSearchFailureSchema = strictObject({
|
|
|
11352
11426
|
])
|
|
11353
11427
|
});
|
|
11354
11428
|
const centerAgentSlackSearchEvidenceItemSchema = strictObject({
|
|
11355
|
-
authorName: trimmedNonEmptyStringSchema$
|
|
11356
|
-
authorUserId: trimmedNonEmptyStringSchema$
|
|
11357
|
-
channelId: trimmedNonEmptyStringSchema$
|
|
11358
|
-
channelName: trimmedNonEmptyStringSchema$
|
|
11359
|
-
content: trimmedNonEmptyStringSchema$
|
|
11429
|
+
authorName: trimmedNonEmptyStringSchema$1.max(256),
|
|
11430
|
+
authorUserId: trimmedNonEmptyStringSchema$1.max(256),
|
|
11431
|
+
channelId: trimmedNonEmptyStringSchema$1.max(256),
|
|
11432
|
+
channelName: trimmedNonEmptyStringSchema$1.max(256),
|
|
11433
|
+
content: trimmedNonEmptyStringSchema$1.max(2e3),
|
|
11360
11434
|
isAuthorBot: boolean(),
|
|
11361
|
-
messageTs: trimmedNonEmptyStringSchema$
|
|
11435
|
+
messageTs: trimmedNonEmptyStringSchema$1.max(64),
|
|
11362
11436
|
permalink: slackMessagePermalinkSchema
|
|
11363
11437
|
});
|
|
11364
11438
|
discriminatedUnion("status", [strictObject({
|
|
11365
11439
|
messages: array(centerAgentSlackSearchEvidenceItemSchema.extend({ contextMessages: array(centerAgentSlackSearchEvidenceItemSchema).max(2) })).max(8),
|
|
11366
11440
|
moreResultsAvailable: boolean(),
|
|
11367
|
-
organizationId: trimmedNonEmptyStringSchema$
|
|
11441
|
+
organizationId: trimmedNonEmptyStringSchema$1,
|
|
11368
11442
|
status: literal("found")
|
|
11369
11443
|
}), centerAgentSlackSearchFailureSchema]);
|
|
11370
11444
|
const centerAgentWakeAgentProfilesInSpaceResponseBaseSchema = centerAgentConciergeActionResponseSchema.extend({
|
|
11371
11445
|
agentProfileIds: array(agentProfileIdSchema),
|
|
11372
11446
|
childTasks: array(strictObject({
|
|
11373
11447
|
completionCondition: literal("terminal"),
|
|
11374
|
-
subscriptionId: trimmedNonEmptyStringSchema$
|
|
11448
|
+
subscriptionId: trimmedNonEmptyStringSchema$1,
|
|
11375
11449
|
task: spaceWakeAgentTaskHandleSchema
|
|
11376
11450
|
})).optional(),
|
|
11377
|
-
delegationId: trimmedNonEmptyStringSchema$
|
|
11451
|
+
delegationId: trimmedNonEmptyStringSchema$1.optional(),
|
|
11378
11452
|
fallbackTask: strictObject({
|
|
11379
|
-
activationSubscriptionId: trimmedNonEmptyStringSchema$
|
|
11453
|
+
activationSubscriptionId: trimmedNonEmptyStringSchema$1,
|
|
11380
11454
|
completionCondition: literal("terminal"),
|
|
11381
|
-
subscriptionId: trimmedNonEmptyStringSchema$
|
|
11455
|
+
subscriptionId: trimmedNonEmptyStringSchema$1,
|
|
11382
11456
|
task: spaceWakeAgentTaskHandleSchema
|
|
11383
11457
|
}).optional(),
|
|
11384
|
-
spaceId: trimmedNonEmptyStringSchema$
|
|
11458
|
+
spaceId: trimmedNonEmptyStringSchema$1
|
|
11385
11459
|
});
|
|
11386
11460
|
union([centerAgentWakeAgentProfilesInSpaceResponseBaseSchema.extend({
|
|
11387
11461
|
publicationStatus: literal("accepted").optional(),
|
|
@@ -11430,9 +11504,9 @@ centerAgentConciergeActionResponseSchema.extend({
|
|
|
11430
11504
|
"condition_not_met"
|
|
11431
11505
|
]),
|
|
11432
11506
|
outcome: union([agentTaskCompletionObservationSchema, nullFactory()]),
|
|
11433
|
-
subscriptionId: trimmedNonEmptyStringSchema$
|
|
11507
|
+
subscriptionId: trimmedNonEmptyStringSchema$1,
|
|
11434
11508
|
task: agentTaskHandleSchema,
|
|
11435
|
-
watchId: trimmedNonEmptyStringSchema$
|
|
11509
|
+
watchId: trimmedNonEmptyStringSchema$1
|
|
11436
11510
|
});
|
|
11437
11511
|
const centerAgentListAgentTaskSchema = strictObject({
|
|
11438
11512
|
outcome: union([agentTaskTerminalOutcomeSchema, nullFactory()]),
|
|
@@ -11443,36 +11517,18 @@ const centerAgentListAgentTaskSchema = strictObject({
|
|
|
11443
11517
|
});
|
|
11444
11518
|
strictObject({
|
|
11445
11519
|
hasMore: boolean(),
|
|
11446
|
-
organizationId: trimmedNonEmptyStringSchema$
|
|
11520
|
+
organizationId: trimmedNonEmptyStringSchema$1,
|
|
11447
11521
|
tasks: array(centerAgentListAgentTaskSchema).max(20)
|
|
11448
11522
|
});
|
|
11449
11523
|
centerAgentConciergeActionResponseSchema.extend({ invited: literal(true) });
|
|
11450
11524
|
const openCenterAgentDirectMessageSpaceResponseSchema = strictObject({
|
|
11451
|
-
organizationId: trimmedNonEmptyStringSchema$
|
|
11525
|
+
organizationId: trimmedNonEmptyStringSchema$1,
|
|
11452
11526
|
centerAgentProfileId: agentProfileIdSchema,
|
|
11453
11527
|
memberProfileId: openMeldRuntimeProfileIdSchema,
|
|
11454
|
-
spaceId: trimmedNonEmptyStringSchema$
|
|
11528
|
+
spaceId: trimmedNonEmptyStringSchema$1,
|
|
11455
11529
|
created: boolean()
|
|
11456
11530
|
});
|
|
11457
11531
|
//#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
11532
|
//#region ../../packages/schemas/dist/schemas/http/center-agent-memory.js
|
|
11477
11533
|
const boundedIdentifierSchema$1 = z$1.string().trim().min(1).max(256);
|
|
11478
11534
|
const CENTER_AGENT_ORGANIZATION_MEMORY_FACT_MAX_CHARS = 1200;
|
|
@@ -14000,6 +14056,12 @@ function buildCenterAgentAuditJournalPath() {
|
|
|
14000
14056
|
function buildCenterAgentDirectMessageSpacePath() {
|
|
14001
14057
|
return "/v1/organizations/current/center-agent/dm-space";
|
|
14002
14058
|
}
|
|
14059
|
+
function buildCenterAgentSessionsPath() {
|
|
14060
|
+
return "/v1/organizations/current/center-agent/sessions";
|
|
14061
|
+
}
|
|
14062
|
+
function buildCenterAgentSessionPath(spaceId) {
|
|
14063
|
+
return `${buildCenterAgentSessionsPath()}/${encodeURIComponent(spaceId)}`;
|
|
14064
|
+
}
|
|
14003
14065
|
function buildCenterAgentContextManifestPath() {
|
|
14004
14066
|
return "/v1/organizations/current/center-agent/context-manifests";
|
|
14005
14067
|
}
|
|
@@ -14187,6 +14249,7 @@ const createCenterAgentApi = (client) => ({
|
|
|
14187
14249
|
const request = validateContextManifestInput(input);
|
|
14188
14250
|
return await client.requestJson({
|
|
14189
14251
|
body: JSON.stringify({
|
|
14252
|
+
...request.spaceId === void 0 ? {} : { spaceId: request.spaceId },
|
|
14190
14253
|
...request.cursor === void 0 ? {} : { cursor: request.cursor },
|
|
14191
14254
|
limit: request.limit,
|
|
14192
14255
|
maxContextTokens: request.maxContextTokens,
|
|
@@ -14222,6 +14285,55 @@ const createCenterAgentApi = (client) => ({
|
|
|
14222
14285
|
url: buildCenterAgentContextLoadReceiptPath(request.manifestId)
|
|
14223
14286
|
});
|
|
14224
14287
|
},
|
|
14288
|
+
createSession: async (input) => {
|
|
14289
|
+
const body = createCenterAgentSessionBodySchema.safeParse({ creationId: input.creationId });
|
|
14290
|
+
if (!body.success) throw new Error("Provide a valid session creation ID.");
|
|
14291
|
+
return await client.requestJson({
|
|
14292
|
+
url: buildCenterAgentSessionsPath(),
|
|
14293
|
+
operation: "center_agent.session.create",
|
|
14294
|
+
method: "POST",
|
|
14295
|
+
headers: { "content-type": "application/json" },
|
|
14296
|
+
body: JSON.stringify(body.data),
|
|
14297
|
+
requestContext: validateRequestInput$1(input).requestContext,
|
|
14298
|
+
signal: input.signal,
|
|
14299
|
+
timeoutMs: input.timeoutMs,
|
|
14300
|
+
schema: openCenterAgentDirectMessageSpaceResponseSchema,
|
|
14301
|
+
invalidMessage: "Invalid Center Agent session response."
|
|
14302
|
+
});
|
|
14303
|
+
},
|
|
14304
|
+
listSessions: async (input = {}) => {
|
|
14305
|
+
const parsed = listCenterAgentSessionsQuerySchema.safeParse({
|
|
14306
|
+
...input.cursor === void 0 ? {} : { cursor: input.cursor },
|
|
14307
|
+
...input.limit === void 0 ? {} : { limit: input.limit }
|
|
14308
|
+
});
|
|
14309
|
+
if (!parsed.success) throw new Error("Provide a valid chat-list cursor and limit.");
|
|
14310
|
+
const query = new URLSearchParams({ limit: String(parsed.data.limit) });
|
|
14311
|
+
if (parsed.data.cursor !== void 0) query.set("cursor", parsed.data.cursor);
|
|
14312
|
+
return await client.requestJson({
|
|
14313
|
+
url: `${buildCenterAgentSessionsPath()}?${query.toString()}`,
|
|
14314
|
+
operation: "center_agent.session.list",
|
|
14315
|
+
method: "GET",
|
|
14316
|
+
requestContext: validateRequestInput$1(input).requestContext,
|
|
14317
|
+
signal: input.signal,
|
|
14318
|
+
timeoutMs: input.timeoutMs,
|
|
14319
|
+
schema: listCenterAgentSessionsResponseSchema,
|
|
14320
|
+
invalidMessage: "Invalid Center Agent chat list."
|
|
14321
|
+
});
|
|
14322
|
+
},
|
|
14323
|
+
getSession: async (input) => {
|
|
14324
|
+
const selector = centerAgentSessionSelectorSchema.safeParse({ spaceId: input.spaceId });
|
|
14325
|
+
if (!selector.success) throw new Error("Provide a valid session ID.");
|
|
14326
|
+
return await client.requestJson({
|
|
14327
|
+
url: buildCenterAgentSessionPath(selector.data.spaceId),
|
|
14328
|
+
operation: "center_agent.session.read",
|
|
14329
|
+
method: "GET",
|
|
14330
|
+
requestContext: validateRequestInput$1(input).requestContext,
|
|
14331
|
+
signal: input.signal,
|
|
14332
|
+
timeoutMs: input.timeoutMs,
|
|
14333
|
+
schema: getCenterAgentDirectMessageSpaceProjectionResponseSchema,
|
|
14334
|
+
invalidMessage: "Invalid Center Agent session response."
|
|
14335
|
+
});
|
|
14336
|
+
},
|
|
14225
14337
|
openDirectMessageSpace: async (input = {}) => await client.requestJson({
|
|
14226
14338
|
url: buildCenterAgentDirectMessageSpacePath(),
|
|
14227
14339
|
operation: "center_agent.dm_space.open",
|
|
@@ -14249,6 +14361,7 @@ function validateRequestInput$1(input) {
|
|
|
14249
14361
|
}
|
|
14250
14362
|
function validateContextManifestInput(input) {
|
|
14251
14363
|
const parsed = createCenterAgentContextManifestBodySchema.safeParse({
|
|
14364
|
+
...input.spaceId === void 0 ? {} : { spaceId: input.spaceId },
|
|
14252
14365
|
...input.cursor === void 0 ? {} : { cursor: input.cursor },
|
|
14253
14366
|
...input.limit === void 0 ? {} : { limit: input.limit },
|
|
14254
14367
|
...input.maxContextTokens === void 0 ? {} : { maxContextTokens: input.maxContextTokens },
|
|
@@ -18245,6 +18358,6 @@ function composeAbortSignals(parent, timeout) {
|
|
|
18245
18358
|
};
|
|
18246
18359
|
}
|
|
18247
18360
|
//#endregion
|
|
18248
|
-
export {
|
|
18361
|
+
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
18362
|
|
|
18250
|
-
//# sourceMappingURL=dist-
|
|
18363
|
+
//# sourceMappingURL=dist-DdoxYSxj.js.map
|