openmeld 0.3.196 → 0.3.198
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-BFGxL7es.js → add-me-membership-DKpC3EhG.js} +2 -2
- package/dist/{add-me-membership-BFGxL7es.js.map → add-me-membership-DKpC3EhG.js.map} +1 -1
- package/dist/{api-client-foundation-BsPHcY3o.js → api-client-foundation-DISAuROT.js} +3 -3
- package/dist/{api-client-foundation-BsPHcY3o.js.map → api-client-foundation-DISAuROT.js.map} +1 -1
- package/dist/{api-client-foundation-P2pFKSiO.js → api-client-foundation-e3LardOA.js} +1 -1
- package/dist/auth-session-B7OGmKso.js +4 -0
- package/dist/{auth-session-nklLwM9D.js → auth-session-BjZX32Cm.js} +2 -2
- package/dist/{auth-session-nklLwM9D.js.map → auth-session-BjZX32Cm.js.map} +1 -1
- package/dist/{command-Cv_zk6lk.js → command-DlzTGCgU.js} +35 -29
- package/dist/command-DlzTGCgU.js.map +1 -0
- package/dist/{dist-BusHUGTV.js → dist-BNSY0PaP.js} +1 -1
- package/dist/{dist-ChnRIPdJ.js → dist-Mhy5FanK.js} +397 -64
- package/dist/dist-Mhy5FanK.js.map +1 -0
- package/dist/{elapsed-time-DJjiBm-F.js → elapsed-time-BVaAdO2f.js} +3 -3
- package/dist/{elapsed-time-DJjiBm-F.js.map → elapsed-time-BVaAdO2f.js.map} +1 -1
- package/dist/{installer-DFtewadV.js → installer-Cb6dJ-Dj.js} +3 -3
- package/dist/{installer-DFtewadV.js.map → installer-Cb6dJ-Dj.js.map} +1 -1
- package/dist/{openmeld-aB7j_Ttf.js → openmeld-CcYTC54w.js} +47 -22
- package/dist/openmeld-CcYTC54w.js.map +1 -0
- package/dist/{openmeld-maintenance-worker-DeuMa2mv.js → openmeld-maintenance-worker-Bgn69UrV.js} +3 -3
- package/dist/{openmeld-maintenance-worker-DeuMa2mv.js.map → openmeld-maintenance-worker-Bgn69UrV.js.map} +1 -1
- package/dist/{openmeld-tools-update-coordinator-CXYGRejb.js → openmeld-tools-update-coordinator-AKsXMm44.js} +10 -10
- package/dist/openmeld-tools-update-coordinator-AKsXMm44.js.map +1 -0
- package/dist/openmeld.js +3 -3
- package/dist/{runtime-transport-4qeDrtxw.js → runtime-transport-B22M3ZUl.js} +43 -6
- package/dist/runtime-transport-B22M3ZUl.js.map +1 -0
- package/dist/upgrade-SXadeUxr.js +4 -0
- package/dist/{upgrade-uC1c8yT-.js → upgrade-i-HvIYsB.js} +4 -4
- package/dist/{upgrade-uC1c8yT-.js.map → upgrade-i-HvIYsB.js.map} +1 -1
- package/package.json +2 -2
- package/dist/auth-session-CF4NC2v0.js +0 -4
- package/dist/command-Cv_zk6lk.js.map +0 -1
- package/dist/dist-ChnRIPdJ.js.map +0 -1
- package/dist/openmeld-aB7j_Ttf.js.map +0 -1
- package/dist/openmeld-tools-update-coordinator-CXYGRejb.js.map +0 -1
- package/dist/runtime-transport-4qeDrtxw.js.map +0 -1
- package/dist/upgrade-Ct0DwGv5.js +0 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { C as resolveBuiltinAgentControllerConversationCapability, S as agentControllerConversationCapabilitySchema, b as normalizeKnownBuiltinAgentControllerId, h as agentControllerRefSchema, s as runtimeTransportModeSchema } from "./controller-contract-pe3_Re-c.js";
|
|
4
|
-
import { $ as localFolderPickerRequestSchema, $n as
|
|
4
|
+
import { $ as localFolderPickerRequestSchema, $n as spaceMentionLabelSchema, $r as clientMessageIdSchema$1, $t as runtimeCoordinatorExecutionCreationDiagnosticSchema, An as signalSystemNoticeDataSchema, Ar as array, At as agentInteractionPendingSummarySchema, B as openMeldDaemonOriginalErrorSchema, Bn as spaceMessageAttachmentsSchema, Br as neverFactory, Bt as localComponentUpdatePolicySchema, Ci as optionalBooleanQuerySchema, Ct as spaceAllowedActionsSchema, Dr as updateSpaceFileEntryResponseSchema, Dt as workingLanguageTagSchema, Er as trashSpaceFileEntryResponseSchema, Et as workingLanguageGuidanceSchema, Fn as spaceAttachmentDimensionSchema, Fr as enumFactory, Gn as messageEnvelopeSchema, Gr as record, Gt as openMeldToolsMaintenanceProjectionSchema, Hr as number, Ht as localComponentUpdateStatusSchema, I as runtimeTransportRuntimeCoordinatorRespondInteractionResponseSchema, In as spaceAttachmentFileNameSchema, Ir as int, Jn as conversationCompactionMarkerSchema, Jr as tuple, Jt as openMeldToolsUpdateOperationSchema, K as openMeldDaemonTaskResultProjectFailureContextSchema, Kr as strictObject, Ln as spaceAttachmentMimeTypeSchema, Lr as iso, Mi as openMeldNavigationTargetSchema, Mn as signalTextSchema, Mr as coerce, Ni as openMeldWebUrlSchema, Nn as wakeDeviceWaitTargetSchema, Nr as discriminatedUnion, Nt as agentInteractionResponseSchema, Or as uploadSpaceFileResponseSchema, Ot as targetWakeLifecycleIdentitySchema, Pn as spaceAttachmentDescriptorSchema, Pr as email, Qr as url, Qt as postSpaceWakeStopResponseSchema, Rn as spaceAttachmentSizeBytesSchema, Rr as lazySchema, Si as nonEmptyTrimmedStringFromUnknown, Sr as spaceFileNameSchema, St as resultArchivePolicySchema, Ti as MAX_TEXT_LENGTH$1, Tr as stageSpaceComposerUploadResponseSchema, Tt as spaceDispatchPolicySchema, Ur as object, V as openMeldDaemonProviderAccessEvidenceProviderSchema, Vr as nullFactory, Vt as localComponentUpdateProjectionSchema, Wr as preprocess, Wt as openMeldToolsMaintenanceMutationResultSchema, Xr as union, Yn as centerAgentInteractionSourceSchema, Yr as undefinedFactory, Yt as openMeldToolsUpdateRequestResultSchema, Zr as unknown, Zt as postSpaceWakeStopBodySchema, _i as profileSchema, _r as spaceFileActorSchema, ai as spaceAgentStreamPresenceSchema, an as SPACE_PASSWORD_RATE_LIMITED_ERROR_CODE, ar as discardSpaceComposerUploadResponseSchema, at as agentTaskCompletionObservationSchema, bi as uuidProfileIdSchema, br as spaceFileEntryIdSchema, ci as spaceThreadContextSchema, cn as organizationInformationProtectionPolicyResponseSchema, cr as listSpaceFileRevisionsResponseSchema, ct as areAgentTaskTerminalOutcomesEqual, di as spaceThreadSignalPlacementSchema, dn as executeExecutionRecoveryBodySchema, dt as spaceWakeAgentTaskHandleSchema, en as runtimeCoordinatorExecutionEventSchema, er as spaceMentionLabelSourceSchema, et as localFolderPickerResultSchema, fn as executeExecutionRecoveryResponseSchema, ft as localAgentInstallationOptionSchema, gi as profileKindSchema, gn as agentProfileWorkRecoveryActionKindSchema, gr as spaceComposerUploadIdSchema, hi as openMeldRuntimeProfileIdSchema, hn as openMeldRequestContextSchema, hr as spaceComposerUploadDescriptorSchema, ht as openMeldDaemonSyncRouteCatalogPayloadSchema, ii as spaceAgentStreamPartFrameSchema, in as spaceTraceExecutionIdentityProjectionSchema, ir as createSpaceFolderResponseSchema, it as agentTaskCompletionConditionSchema, ji as computerSetupModeSchema, jn as signalTextDataSchema, jr as boolean, kn as signalStatusDataSchema, kr as NEVER, li as spaceThreadEventSchema, ln as organizationProtectedInformationSchema, lr as listSpaceFilesResponseSchema, lt as buildAgentTaskKey, mr as restoreSpaceFileRevisionResponseSchema, n as daemonExecutionCompatibilitySchema, ni as agentStreamToolPartSchema, nr as SPACE_FILE_MAX_SIZE_BYTES, nt as spaceCallerContextSchema, oi as spaceAgentStreamSnapshotSchema, on as normalizeSpacePasswordText, or as getSpaceFileResponseSchema, ot as agentTaskHandleSchema, pi as agentProfileIdSchema, pn as inspectExecutionRecoveryResponseSchema, pr as restoreSpaceFileEntryResponseSchema, qr as string, ri as spaceAgentStreamDeltaFrameSchema, rt as agentDelegationSnapshotSchema, si as spaceAgentStreamTerminalFrameSchema, sn as spacePasswordSchema, st as agentTaskTerminalOutcomeSchema, t as CURRENT_DAEMON_EXECUTION_CONTRACT_EPOCH, ti as AGENT_STREAM_SNAPSHOT_MAX_CHARS, tn as runtimeCoordinatorExecutionRecordSchema, tr as SPACE_FILE_ERROR_CODES, tt as localFolderPathSchema, ui as spaceThreadSchema, un as updateOrganizationInformationProtectionPolicyBodySchema, ur as publishSpaceComposerUploadResponseSchema, ut as controllerAgentTaskHandleSchema, vi as profileWorkingDirectorySchema, vr as spaceFileClientMutationIdSchema, wi as trimmedStringFromUnknown, wr as spaceMessageFileReferencesSchema, wt as spacePublicationModeSchema, xi as finiteIntegerNumber, xr as spaceFileMimeTypeSchema, yi as profileWorkspaceModeSchema, yr as spaceFileDescriptorSchema, yt as dispatchExecutionSchema, zn as spaceMessageAttachmentSchema, zr as literal } from "./runtime-transport-B22M3ZUl.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";
|
|
@@ -93,6 +93,36 @@ function omitJsonField(value, fieldName) {
|
|
|
93
93
|
return Object.fromEntries(Object.entries(value).filter(([key]) => key !== fieldName));
|
|
94
94
|
}
|
|
95
95
|
//#endregion
|
|
96
|
+
//#region ../../packages/schemas/dist/schemas/http/space-link-previews.js
|
|
97
|
+
const previewUrlSchema = z$1.url().max(4096).refine((value) => {
|
|
98
|
+
const url = new URL(value);
|
|
99
|
+
return ["https:", "http:"].includes(url.protocol) && !url.username && !url.password;
|
|
100
|
+
});
|
|
101
|
+
const previewImageSchema = z$1.string().max(35e4).regex(/^data:image\/(?:png|jpeg|webp|gif|x-icon|vnd\.microsoft\.icon);base64,[A-Za-z0-9+/=]+$/).nullable();
|
|
102
|
+
z$1.object({
|
|
103
|
+
spaceId: z$1.string().regex(/^[0-9a-f]{64}$/),
|
|
104
|
+
signalId: z$1.string().min(1).max(256)
|
|
105
|
+
}).strict();
|
|
106
|
+
z$1.object({
|
|
107
|
+
signalId: z$1.string(),
|
|
108
|
+
revision: z$1.number().int().nonnegative(),
|
|
109
|
+
urls: z$1.array(previewUrlSchema).max(12)
|
|
110
|
+
}).strict();
|
|
111
|
+
const linkPreviewSchema = z$1.object({
|
|
112
|
+
url: previewUrlSchema,
|
|
113
|
+
title: z$1.string().max(300).nullable(),
|
|
114
|
+
description: z$1.string().max(500).nullable(),
|
|
115
|
+
siteName: z$1.string().max(100).nullable(),
|
|
116
|
+
image: previewImageSchema,
|
|
117
|
+
icon: previewImageSchema,
|
|
118
|
+
status: z$1.enum(["available", "unavailable"])
|
|
119
|
+
}).strict();
|
|
120
|
+
const getSpaceLinkPreviewsResponseSchema = z$1.object({
|
|
121
|
+
signalId: z$1.string(),
|
|
122
|
+
revision: z$1.number().int().nonnegative(),
|
|
123
|
+
previews: z$1.array(linkPreviewSchema).max(12)
|
|
124
|
+
}).strict();
|
|
125
|
+
//#endregion
|
|
96
126
|
//#region ../../packages/schemas/dist/schemas/space-mesh/message-reaction.js
|
|
97
127
|
const spaceReactionActorSchema = z$1.object({
|
|
98
128
|
profileId: z$1.string().min(1),
|
|
@@ -230,7 +260,9 @@ const spaceMessageMutationBodySchema = z$1.discriminatedUnion("action", [
|
|
|
230
260
|
expectedRevision: z$1.number().int().nonnegative(),
|
|
231
261
|
text: z$1.string().max(MAX_TEXT_LENGTH$1),
|
|
232
262
|
retainedFileIds: z$1.array(z$1.string().min(1)).optional(),
|
|
233
|
-
retainedAttachmentIds: z$1.array(z$1.string().min(1)).optional()
|
|
263
|
+
retainedAttachmentIds: z$1.array(z$1.string().min(1)).optional(),
|
|
264
|
+
messageEnvelope: messageEnvelopeSchema.optional(),
|
|
265
|
+
addedFiles: spaceMessageFileReferencesSchema.optional()
|
|
234
266
|
}),
|
|
235
267
|
z$1.strictObject({
|
|
236
268
|
action: z$1.literal("recall"),
|
|
@@ -239,6 +271,59 @@ const spaceMessageMutationBodySchema = z$1.discriminatedUnion("action", [
|
|
|
239
271
|
z$1.strictObject({ action: z$1.literal("restore_draft") })
|
|
240
272
|
]);
|
|
241
273
|
const spaceMessageMutationResponseSchema = z$1.strictObject({ message: signalTextEnvelopeSchema });
|
|
274
|
+
//#endregion
|
|
275
|
+
//#region ../../packages/schemas/dist/schemas/http/space-file-upload.js
|
|
276
|
+
const SPACE_FILE_UPLOAD_PART_BYTES = 8 * 1024 * 1024;
|
|
277
|
+
const spaceFileUploadMetadataSchema = object({
|
|
278
|
+
mimeType: spaceFileMimeTypeSchema,
|
|
279
|
+
sizeBytes: number().int().min(1).max(SPACE_FILE_MAX_SIZE_BYTES),
|
|
280
|
+
partDigests: array(string().regex(/^[a-f0-9]{64}$/u)).min(1).max(32),
|
|
281
|
+
target: discriminatedUnion("kind", [
|
|
282
|
+
object({
|
|
283
|
+
kind: literal("composer"),
|
|
284
|
+
name: spaceFileNameSchema
|
|
285
|
+
}),
|
|
286
|
+
object({
|
|
287
|
+
kind: literal("file"),
|
|
288
|
+
clientMutationId: spaceFileClientMutationIdSchema,
|
|
289
|
+
name: spaceFileNameSchema,
|
|
290
|
+
parentId: spaceFileEntryIdSchema.nullable()
|
|
291
|
+
}),
|
|
292
|
+
object({
|
|
293
|
+
kind: literal("revision"),
|
|
294
|
+
clientMutationId: spaceFileClientMutationIdSchema,
|
|
295
|
+
fileId: spaceFileEntryIdSchema,
|
|
296
|
+
baseRevision: number().int().min(1)
|
|
297
|
+
})
|
|
298
|
+
])
|
|
299
|
+
});
|
|
300
|
+
discriminatedUnion("action", [
|
|
301
|
+
object({
|
|
302
|
+
action: literal("start"),
|
|
303
|
+
metadata: spaceFileUploadMetadataSchema
|
|
304
|
+
}),
|
|
305
|
+
object({ action: literal("status") }),
|
|
306
|
+
object({
|
|
307
|
+
action: literal("part"),
|
|
308
|
+
partNumber: number().int().min(1).max(32)
|
|
309
|
+
}),
|
|
310
|
+
object({ action: literal("complete") }),
|
|
311
|
+
object({ action: literal("cancel") })
|
|
312
|
+
]);
|
|
313
|
+
const spaceFileUploadPartSchema = object({
|
|
314
|
+
partNumber: number().int().min(1).max(32),
|
|
315
|
+
etag: string().min(1),
|
|
316
|
+
sizeBytes: number().int().min(1).max(SPACE_FILE_UPLOAD_PART_BYTES)
|
|
317
|
+
});
|
|
318
|
+
const spaceFileUploadResponseSchema = object({
|
|
319
|
+
uploadId: spaceComposerUploadIdSchema,
|
|
320
|
+
expiresAt: string().datetime(),
|
|
321
|
+
partSizeBytes: literal(SPACE_FILE_UPLOAD_PART_BYTES),
|
|
322
|
+
parts: array(spaceFileUploadPartSchema),
|
|
323
|
+
file: spaceFileDescriptorSchema.optional(),
|
|
324
|
+
upload: spaceComposerUploadDescriptorSchema.optional(),
|
|
325
|
+
cancelled: boolean().optional()
|
|
326
|
+
});
|
|
242
327
|
z$1.strictObject({
|
|
243
328
|
startSignalId: z$1.string().min(1).max(200).optional(),
|
|
244
329
|
endSignalId: z$1.string().min(1).max(200).optional()
|
|
@@ -647,28 +732,40 @@ const messageChannelResourceDescriptorSchema = strictObject({
|
|
|
647
732
|
sizeBytes: number().int().nonnegative().max(Number.MAX_SAFE_INTEGER).nullable()
|
|
648
733
|
});
|
|
649
734
|
const messageChannelConversationEventShape = { locator: messageChannelConversationLocatorSchema };
|
|
735
|
+
const normalizedMessageChannelMessageEventSchema = strictObject({
|
|
736
|
+
kind: literal("message"),
|
|
737
|
+
messageId: providerIdSchema,
|
|
738
|
+
sentAtMs: timestampMsSchema$7,
|
|
739
|
+
senderId: providerIdSchema,
|
|
740
|
+
senderDisplayName: nonEmptyStringSchema$4.max(256).optional(),
|
|
741
|
+
senderTenantKey: providerIdSchema.optional(),
|
|
742
|
+
...messageChannelConversationEventShape,
|
|
743
|
+
text: nonEmptyStringSchema$4.max(MESSAGE_CHANNEL_EVENT_TEXT_MAX_CHARS),
|
|
744
|
+
mention: messageChannelMentionTypeSchema,
|
|
745
|
+
resources: array(messageChannelResourceDescriptorSchema).max(10)
|
|
746
|
+
});
|
|
747
|
+
const normalizedMessageChannelCardActionEventSchema = strictObject({
|
|
748
|
+
kind: literal("card_action"),
|
|
749
|
+
actionId: providerIdSchema,
|
|
750
|
+
occurredAtMs: timestampMsSchema$7,
|
|
751
|
+
senderId: providerIdSchema,
|
|
752
|
+
...messageChannelConversationEventShape,
|
|
753
|
+
actionName: nonEmptyStringSchema$4.max(128),
|
|
754
|
+
actionValue: nonEmptyStringSchema$4.max(8192).nullable()
|
|
755
|
+
});
|
|
756
|
+
discriminatedUnion("action", [strictObject({
|
|
757
|
+
v: literal(1),
|
|
758
|
+
action: literal("stop"),
|
|
759
|
+
deliveryId: providerIdSchema
|
|
760
|
+
}), strictObject({
|
|
761
|
+
v: literal(1),
|
|
762
|
+
action: literal("reply"),
|
|
763
|
+
deliveryId: providerIdSchema,
|
|
764
|
+
text: string().trim().min(1).max(1e3)
|
|
765
|
+
})]);
|
|
650
766
|
const normalizedMessageChannelEventSchema = discriminatedUnion("kind", [
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
messageId: providerIdSchema,
|
|
654
|
-
sentAtMs: timestampMsSchema$7,
|
|
655
|
-
senderId: providerIdSchema,
|
|
656
|
-
senderDisplayName: nonEmptyStringSchema$4.max(256).optional(),
|
|
657
|
-
senderTenantKey: providerIdSchema.optional(),
|
|
658
|
-
...messageChannelConversationEventShape,
|
|
659
|
-
text: nonEmptyStringSchema$4.max(MESSAGE_CHANNEL_EVENT_TEXT_MAX_CHARS),
|
|
660
|
-
mention: messageChannelMentionTypeSchema,
|
|
661
|
-
resources: array(messageChannelResourceDescriptorSchema).max(10)
|
|
662
|
-
}),
|
|
663
|
-
strictObject({
|
|
664
|
-
kind: literal("card_action"),
|
|
665
|
-
actionId: providerIdSchema,
|
|
666
|
-
occurredAtMs: timestampMsSchema$7,
|
|
667
|
-
senderId: providerIdSchema,
|
|
668
|
-
...messageChannelConversationEventShape,
|
|
669
|
-
actionName: nonEmptyStringSchema$4.max(128),
|
|
670
|
-
actionValue: nonEmptyStringSchema$4.max(2e3).nullable()
|
|
671
|
-
}),
|
|
767
|
+
normalizedMessageChannelMessageEventSchema,
|
|
768
|
+
normalizedMessageChannelCardActionEventSchema,
|
|
672
769
|
strictObject({
|
|
673
770
|
kind: literal("bot_added"),
|
|
674
771
|
chatId: providerIdSchema,
|
|
@@ -725,6 +822,23 @@ const messageChannelIngressEnvelopeSchema = strictObject({
|
|
|
725
822
|
]
|
|
726
823
|
});
|
|
727
824
|
});
|
|
825
|
+
function buildMessageChannelConversationId(locator) {
|
|
826
|
+
if (locator.provider === "slack") return [
|
|
827
|
+
locator.provider,
|
|
828
|
+
locator.connectionId,
|
|
829
|
+
locator.channelId,
|
|
830
|
+
locator.rootMessageId
|
|
831
|
+
].map(encodeConversationIdPart).join(":");
|
|
832
|
+
return [
|
|
833
|
+
locator.provider,
|
|
834
|
+
locator.connectionId,
|
|
835
|
+
locator.chatId,
|
|
836
|
+
locator.rootMessageId
|
|
837
|
+
].map(encodeConversationIdPart).join(":");
|
|
838
|
+
}
|
|
839
|
+
function encodeConversationIdPart(value) {
|
|
840
|
+
return encodeURIComponent(value);
|
|
841
|
+
}
|
|
728
842
|
//#endregion
|
|
729
843
|
//#region ../../packages/schemas/dist/schemas/http/center-agent-speaker.js
|
|
730
844
|
const CENTER_AGENT_ANONYMOUS_MEMBER_TOOL_NAMES = [
|
|
@@ -3135,6 +3249,7 @@ const CENTER_AGENT_ROUTINE_ERROR_CODES = [
|
|
|
3135
3249
|
"routine.target_space_org_mismatch",
|
|
3136
3250
|
"routine.target_space_publication_unavailable",
|
|
3137
3251
|
"routine.slack_thread_unavailable",
|
|
3252
|
+
"routine.message_channel_unavailable",
|
|
3138
3253
|
"routine.total_limit_reached"
|
|
3139
3254
|
];
|
|
3140
3255
|
const CENTER_AGENT_ROUTINE_STATUSES = [
|
|
@@ -3150,7 +3265,11 @@ const CENTER_AGENT_ROUTINE_RUN_STATUSES = [
|
|
|
3150
3265
|
"skipped"
|
|
3151
3266
|
];
|
|
3152
3267
|
const CENTER_AGENT_ROUTINE_TARGET_SPACE_KINDS = ["space", "center_agent_dm"];
|
|
3153
|
-
const CENTER_AGENT_ROUTINE_DESTINATION_KINDS = [
|
|
3268
|
+
const CENTER_AGENT_ROUTINE_DESTINATION_KINDS = [
|
|
3269
|
+
"space",
|
|
3270
|
+
"slack_thread",
|
|
3271
|
+
"message_channel"
|
|
3272
|
+
];
|
|
3154
3273
|
const CENTER_AGENT_ROUTINE_AUTHORIZED_ACTIONS = ["organization_documents.save_approved_knowledge", "slack.publish_channel_report"];
|
|
3155
3274
|
const CENTER_AGENT_ROUTINE_EXTERNAL_ACTION_POLICIES = ["standard", "read_only"];
|
|
3156
3275
|
const CENTER_AGENT_ROUTINE_PRACTICAL_CONTRACT = "practical-v2";
|
|
@@ -3196,6 +3315,7 @@ const routineScheduleShape = {
|
|
|
3196
3315
|
timezone: nullableTrimmedTextSchema(128)
|
|
3197
3316
|
};
|
|
3198
3317
|
const routineDestinationShape = {
|
|
3318
|
+
messageChannelLocator: messageChannelConversationLocatorSchema.nullable().optional(),
|
|
3199
3319
|
destinationKind: centerAgentRoutineDestinationKindSchema.default("space"),
|
|
3200
3320
|
slackChannelId: nullableTrimmedTextSchema(256).default(null),
|
|
3201
3321
|
slackConversationId: nullableTrimmedTextSchema(512).default(null),
|
|
@@ -3331,6 +3451,7 @@ strictObject({ routine: centerAgentRoutineLegacyV1Schema });
|
|
|
3331
3451
|
const centerAgentRoutineRouteParamsShape = { routineId: trimmedIdentifierSchema };
|
|
3332
3452
|
const centerAgentRoutineRouteParamsSchema = strictObject(centerAgentRoutineRouteParamsShape);
|
|
3333
3453
|
const routineUpdateShape = {
|
|
3454
|
+
messageChannelLocator: messageChannelConversationLocatorSchema.nullable().optional(),
|
|
3334
3455
|
authorizedActions: centerAgentRoutineAuthorizedActionsSchema.optional(),
|
|
3335
3456
|
externalActionPolicy: centerAgentRoutineExternalActionPolicySchema.optional(),
|
|
3336
3457
|
cronExpression: string().trim().min(1).max(256).nullable().optional(),
|
|
@@ -3444,7 +3565,7 @@ strictObject({
|
|
|
3444
3565
|
...centerAgentRoutineRouteParamsShape
|
|
3445
3566
|
});
|
|
3446
3567
|
function hasRoutineUpdate(value) {
|
|
3447
|
-
return value.authorizedActions !== void 0 || value.cronExpression !== void 0 || value.destinationKind !== void 0 || value.externalActionPolicy !== void 0 || value.instructions !== void 0 || value.name !== void 0 || value.runAtMs !== void 0 || value.scheduleKind !== void 0 || value.slackChannelId !== void 0 || value.slackConversationId !== void 0 || value.slackTeamId !== void 0 || value.slackThreadLabel !== void 0 || value.slackThreadTs !== void 0 || value.targetSpaceId !== void 0 || value.timezone !== void 0;
|
|
3568
|
+
return value.messageChannelLocator !== void 0 || value.authorizedActions !== void 0 || value.cronExpression !== void 0 || value.destinationKind !== void 0 || value.externalActionPolicy !== void 0 || value.instructions !== void 0 || value.name !== void 0 || value.runAtMs !== void 0 || value.scheduleKind !== void 0 || value.slackChannelId !== void 0 || value.slackConversationId !== void 0 || value.slackTeamId !== void 0 || value.slackThreadLabel !== void 0 || value.slackThreadTs !== void 0 || value.targetSpaceId !== void 0 || value.timezone !== void 0;
|
|
3448
3569
|
}
|
|
3449
3570
|
function validateRoutineScheduleAndDestination(value, context) {
|
|
3450
3571
|
const recurringScheduleComplete = Boolean(value.cronExpression && value.timezone && value.runAtMs === null);
|
|
@@ -3454,11 +3575,11 @@ function validateRoutineScheduleAndDestination(value, context) {
|
|
|
3454
3575
|
message: "A recurring Routine requires cronExpression and timezone; a one-time Routine requires only runAtMs.",
|
|
3455
3576
|
path: ["scheduleKind"]
|
|
3456
3577
|
});
|
|
3457
|
-
const spaceDestinationComplete = Boolean(value.targetSpaceId && !value.slackTeamId && !value.slackChannelId && !value.slackThreadTs && !value.slackConversationId);
|
|
3458
|
-
const slackDestinationComplete = Boolean(!value.targetSpaceId && value.slackTeamId && value.slackChannelId && value.slackThreadTs && value.slackConversationId);
|
|
3459
|
-
if (value.destinationKind === "space" && !spaceDestinationComplete || value.destinationKind === "slack_thread" && !slackDestinationComplete) context.addIssue({
|
|
3578
|
+
const spaceDestinationComplete = Boolean(value.targetSpaceId && !value.messageChannelLocator && !value.slackTeamId && !value.slackChannelId && !value.slackThreadTs && !value.slackConversationId);
|
|
3579
|
+
const slackDestinationComplete = Boolean(!(value.targetSpaceId || value.messageChannelLocator) && value.slackTeamId && value.slackChannelId && value.slackThreadTs && value.slackConversationId);
|
|
3580
|
+
if (value.destinationKind === "space" && !spaceDestinationComplete || value.destinationKind === "slack_thread" && !slackDestinationComplete || value.destinationKind === "message_channel" && !(value.messageChannelLocator && value.messageChannelLocator.provider !== "slack" && !value.targetSpaceId && !value.slackTeamId && !value.slackChannelId && !value.slackThreadTs && !value.slackConversationId)) context.addIssue({
|
|
3460
3581
|
code: "custom",
|
|
3461
|
-
message: "
|
|
3582
|
+
message: "Choose a Space, a Slack thread, or a Feishu or Lark conversation with its complete destination.",
|
|
3462
3583
|
path: ["destinationKind"]
|
|
3463
3584
|
});
|
|
3464
3585
|
}
|
|
@@ -4321,6 +4442,7 @@ const organizationDirectoryAgentProfileIdentitySchema = strictObject({
|
|
|
4321
4442
|
createdByUserId: nullableTrimmedStringSchema$7,
|
|
4322
4443
|
creatorProfileId: nullableTrimmedStringSchema$7,
|
|
4323
4444
|
lastUsedAt: union([ISO_DATE_TIME_SCHEMA$10, nullFactory()]),
|
|
4445
|
+
lastTaskActivityAt: ISO_DATE_TIME_SCHEMA$10.nullable().optional(),
|
|
4324
4446
|
createdAt: ISO_DATE_TIME_SCHEMA$10,
|
|
4325
4447
|
updatedAt: ISO_DATE_TIME_SCHEMA$10
|
|
4326
4448
|
});
|
|
@@ -4331,22 +4453,32 @@ const organizationDirectoryAgentProfileSchema = organizationDirectoryAgentProfil
|
|
|
4331
4453
|
});
|
|
4332
4454
|
const organizationProfileDirectoryAgentProfileSchema = organizationDirectoryAgentProfileIdentitySchema.extend({
|
|
4333
4455
|
agentControllerRef: nullableTrimmedStringSchema$7,
|
|
4456
|
+
modelSelection: agentProfileBindingModelSelectionSchema.nullable().optional(),
|
|
4334
4457
|
isCenterAgent: boolean().optional()
|
|
4335
4458
|
});
|
|
4336
4459
|
strictObject({
|
|
4460
|
+
includeTaskActivity: boolean().optional(),
|
|
4461
|
+
includeMemberLastActiveAt: boolean().optional(),
|
|
4462
|
+
includeModelSelection: boolean().optional()
|
|
4463
|
+
});
|
|
4464
|
+
strictObject({
|
|
4465
|
+
taskActivitySince: ISO_DATE_TIME_SCHEMA$10.optional(),
|
|
4337
4466
|
organizationId: trimmedNonEmptyStringSchema$14,
|
|
4338
4467
|
generatedAt: ISO_DATE_TIME_SCHEMA$10,
|
|
4339
4468
|
members: array(organizationDirectoryMemberSchema),
|
|
4340
4469
|
agentProfiles: array(organizationProfileDirectoryAgentProfileSchema)
|
|
4341
4470
|
});
|
|
4471
|
+
const organizationAgentRuntimeOverviewItemSchema = strictObject({
|
|
4472
|
+
profileId: agentProfileIdSchema,
|
|
4473
|
+
lastTaskActivityAt: ISO_DATE_TIME_SCHEMA$10.nullable().optional(),
|
|
4474
|
+
operationalContext: organizationDirectoryAgentProfileOperationalContextSchema.optional(),
|
|
4475
|
+
readiness: getAgentExecutionReadinessResponseSchema
|
|
4476
|
+
});
|
|
4342
4477
|
strictObject({
|
|
4343
4478
|
organizationId: trimmedNonEmptyStringSchema$14,
|
|
4344
4479
|
generatedAt: ISO_DATE_TIME_SCHEMA$10,
|
|
4345
|
-
|
|
4346
|
-
|
|
4347
|
-
operationalContext: organizationDirectoryAgentProfileOperationalContextSchema.optional(),
|
|
4348
|
-
readiness: getAgentExecutionReadinessResponseSchema
|
|
4349
|
-
}))
|
|
4480
|
+
taskActivitySince: ISO_DATE_TIME_SCHEMA$10.optional(),
|
|
4481
|
+
agentProfiles: array(organizationAgentRuntimeOverviewItemSchema)
|
|
4350
4482
|
});
|
|
4351
4483
|
const organizationDirectoryResponseSchema = strictObject({
|
|
4352
4484
|
organizationId: trimmedNonEmptyStringSchema$14,
|
|
@@ -4773,8 +4905,8 @@ const trimmedNonEmptyStringSchema$13 = z$1.string().trim().min(1);
|
|
|
4773
4905
|
const isoDateTimeSchema$6 = z$1.iso.datetime({ offset: true });
|
|
4774
4906
|
const MAX_SPACE_GUIDE_LENGTH = 4e3;
|
|
4775
4907
|
const spaceOrganizationVisibilitySchema = z$1.enum(["public", "private"]);
|
|
4776
|
-
function resolveInitialSpaceAccessMode(
|
|
4777
|
-
return
|
|
4908
|
+
function resolveInitialSpaceAccessMode(_visibility) {
|
|
4909
|
+
return "members_only";
|
|
4778
4910
|
}
|
|
4779
4911
|
const spaceCreatorSchema = z$1.strictObject({
|
|
4780
4912
|
profileId: openMeldRuntimeProfileIdSchema,
|
|
@@ -4809,6 +4941,8 @@ const spaceMetaSchema = z$1.strictObject({
|
|
|
4809
4941
|
purpose: trimmedNonEmptyStringSchema$13.optional(),
|
|
4810
4942
|
directMessage: spaceDirectMessageMetaSchema.optional(),
|
|
4811
4943
|
creator: spaceCreatorSchema.optional(),
|
|
4944
|
+
ownerUserIds: z$1.array(trimmedNonEmptyStringSchema$13).optional(),
|
|
4945
|
+
allowGuests: z$1.boolean().optional(),
|
|
4812
4946
|
guide: trimmedNonEmptyStringSchema$13.optional(),
|
|
4813
4947
|
accessMode: spaceAccessModeSchema.optional(),
|
|
4814
4948
|
passwordProtected: z$1.boolean().optional(),
|
|
@@ -4819,16 +4953,23 @@ const spaceMetaSchema = z$1.strictObject({
|
|
|
4819
4953
|
const patchSpaceMetaResponseSchema = spaceMetaSchema;
|
|
4820
4954
|
const patchSpaceMetaBodySchema = z$1.strictObject({
|
|
4821
4955
|
visibility: spaceOrganizationVisibilitySchema.optional(),
|
|
4956
|
+
allowGuests: z$1.boolean().optional(),
|
|
4957
|
+
ownership: z$1.strictObject({
|
|
4958
|
+
userId: trimmedNonEmptyStringSchema$13,
|
|
4959
|
+
role: z$1.enum(["owner", "member"])
|
|
4960
|
+
}).optional(),
|
|
4822
4961
|
name: spaceNameSchema.optional(),
|
|
4823
4962
|
purpose: z$1.string().optional(),
|
|
4824
4963
|
guide: z$1.string().max(MAX_SPACE_GUIDE_LENGTH).optional()
|
|
4825
4964
|
}).superRefine((value, ctx) => {
|
|
4826
|
-
if (value.name !== void 0 || value.visibility !== void 0 || value.purpose !== void 0 || value.guide !== void 0) return;
|
|
4965
|
+
if (value.ownership !== void 0 || value.allowGuests !== void 0 || value.name !== void 0 || value.visibility !== void 0 || value.purpose !== void 0 || value.guide !== void 0) return;
|
|
4827
4966
|
ctx.addIssue({
|
|
4828
4967
|
code: "custom",
|
|
4829
4968
|
message: "Expected name, purpose, guide or visibility"
|
|
4830
4969
|
});
|
|
4831
4970
|
}).transform((value) => ({
|
|
4971
|
+
...value.allowGuests === void 0 ? {} : { allowGuests: value.allowGuests },
|
|
4972
|
+
...value.ownership === void 0 ? {} : { ownership: value.ownership },
|
|
4832
4973
|
...value.visibility === void 0 ? {} : { visibility: value.visibility },
|
|
4833
4974
|
...value.name === void 0 ? {} : { name: value.name },
|
|
4834
4975
|
...value.purpose === void 0 ? {} : { purpose: value.purpose },
|
|
@@ -7022,6 +7163,7 @@ const centerAgentContextScopePlanSchema = strictObject({
|
|
|
7022
7163
|
v: literal(1)
|
|
7023
7164
|
});
|
|
7024
7165
|
const remoteAgentTurnEnvelopePersonSenderShape = {
|
|
7166
|
+
callerContext: spaceCallerContextSchema.optional(),
|
|
7025
7167
|
id: nonEmptyStringSchema$1,
|
|
7026
7168
|
displayName: nonEmptyStringSchema$1,
|
|
7027
7169
|
ownerUserId: nonEmptyStringSchema$1.optional(),
|
|
@@ -7073,17 +7215,24 @@ const remoteAgentTurnEnvelopeCenterAgentSchema = strictObject({
|
|
|
7073
7215
|
profileHandle: nonEmptyStringSchema$1
|
|
7074
7216
|
});
|
|
7075
7217
|
const remoteAgentSlackSearchAuthorizationSchema = strictObject({ encryptedAuthorization: nonEmptyStringSchema$1.max(8192) });
|
|
7076
|
-
const remoteAgentRoutineDestinationSchema = discriminatedUnion("kind", [
|
|
7077
|
-
|
|
7078
|
-
|
|
7079
|
-
|
|
7080
|
-
|
|
7081
|
-
|
|
7082
|
-
|
|
7083
|
-
|
|
7084
|
-
|
|
7085
|
-
|
|
7086
|
-
|
|
7218
|
+
const remoteAgentRoutineDestinationSchema = discriminatedUnion("kind", [
|
|
7219
|
+
strictObject({
|
|
7220
|
+
kind: literal("message_channel"),
|
|
7221
|
+
locator: messageChannelConversationLocatorSchema
|
|
7222
|
+
}),
|
|
7223
|
+
strictObject({
|
|
7224
|
+
kind: literal("space"),
|
|
7225
|
+
spaceId: nonEmptyStringSchema$1
|
|
7226
|
+
}),
|
|
7227
|
+
strictObject({
|
|
7228
|
+
channelId: nonEmptyStringSchema$1,
|
|
7229
|
+
conversationId: nonEmptyStringSchema$1,
|
|
7230
|
+
kind: literal("slack_thread"),
|
|
7231
|
+
label: nonEmptyStringSchema$1.optional(),
|
|
7232
|
+
teamId: nonEmptyStringSchema$1,
|
|
7233
|
+
threadTs: nonEmptyStringSchema$1
|
|
7234
|
+
})
|
|
7235
|
+
]);
|
|
7087
7236
|
const remoteAgentRoutineContinuationSchema = strictObject({
|
|
7088
7237
|
delegation: agentDelegationSnapshotSchema,
|
|
7089
7238
|
delegationId: nonEmptyStringSchema$1,
|
|
@@ -7106,6 +7255,7 @@ const remoteAgentTurnEnvelopeTriggerSchema = discriminatedUnion("source", [
|
|
|
7106
7255
|
}),
|
|
7107
7256
|
strictObject({
|
|
7108
7257
|
source: literal("message_channel"),
|
|
7258
|
+
routineLocator: messageChannelConversationLocatorSchema.optional(),
|
|
7109
7259
|
provider: messageChannelProviderSchema,
|
|
7110
7260
|
connectionId: nonEmptyStringSchema$1,
|
|
7111
7261
|
conversationId: nonEmptyStringSchema$1,
|
|
@@ -7208,6 +7358,11 @@ const remoteAgentTurnEnvelopeSchema = strictObject({
|
|
|
7208
7358
|
"ownerUserId"
|
|
7209
7359
|
]
|
|
7210
7360
|
});
|
|
7361
|
+
if (envelope.trigger.source === "routine" && envelope.trigger.destination?.kind === "message_channel" && (envelope.trigger.destination.locator.provider === "slack" || buildMessageChannelConversationId(envelope.trigger.destination.locator) !== envelope.space.id)) context.addIssue({
|
|
7362
|
+
code: "custom",
|
|
7363
|
+
message: "Routine destination must match its conversation.",
|
|
7364
|
+
path: ["trigger", "destination"]
|
|
7365
|
+
});
|
|
7211
7366
|
if (envelope.trigger.source === "routine" && envelope.trigger.destination && envelope.trigger.destination.kind === "space" && envelope.trigger.destination.spaceId !== envelope.space.id) context.addIssue({
|
|
7212
7367
|
code: "custom",
|
|
7213
7368
|
message: "Routine Space destination must match the envelope conversation.",
|
|
@@ -7241,6 +7396,12 @@ const remoteAgentTurnEnvelopeSchema = strictObject({
|
|
|
7241
7396
|
});
|
|
7242
7397
|
function validateMessageChannelTurn(envelope, context) {
|
|
7243
7398
|
if (envelope.trigger.source !== "message_channel") return;
|
|
7399
|
+
const locator = envelope.trigger.routineLocator;
|
|
7400
|
+
if (locator && (locator.provider !== envelope.trigger.provider || locator.connectionId !== envelope.trigger.connectionId || buildMessageChannelConversationId(locator) !== envelope.trigger.conversationId)) context.addIssue({
|
|
7401
|
+
code: "custom",
|
|
7402
|
+
message: "Routine origin must match the Message Channel trigger.",
|
|
7403
|
+
path: ["trigger", "routineLocator"]
|
|
7404
|
+
});
|
|
7244
7405
|
if (envelope.trigger.conversationId !== envelope.space.id) context.addIssue({
|
|
7245
7406
|
code: "custom",
|
|
7246
7407
|
message: "Message Channel trigger must match the envelope conversation.",
|
|
@@ -7287,6 +7448,8 @@ function validateTaskContinuationTrigger(trigger, context) {
|
|
|
7287
7448
|
});
|
|
7288
7449
|
}
|
|
7289
7450
|
const CONNECTOR_SERVICES = ["github", ...[
|
|
7451
|
+
"feishu",
|
|
7452
|
+
"lark",
|
|
7290
7453
|
"gmail",
|
|
7291
7454
|
"googlecalendar",
|
|
7292
7455
|
"googledrive",
|
|
@@ -8115,6 +8278,8 @@ const getSpaceStatusResponseSchema = z$1.object({
|
|
|
8115
8278
|
spacePurpose: optionalTrimmedStringSchema$1,
|
|
8116
8279
|
directMessageConvertedAt: isoDateTimeSchema$2.optional(),
|
|
8117
8280
|
organizationVisibility: spaceOrganizationVisibilitySchema.optional(),
|
|
8281
|
+
ownerUserIds: z$1.array(z$1.string().min(1)).optional(),
|
|
8282
|
+
allowGuests: z$1.boolean().optional(),
|
|
8118
8283
|
accessMode: spaceAccessModeSchema,
|
|
8119
8284
|
passwordProtected: z$1.boolean(),
|
|
8120
8285
|
dispatchPolicy: spaceDispatchPolicySchema,
|
|
@@ -8139,6 +8304,7 @@ const optionalThreadSignalLimitSchema = z$1.preprocess((value) => {
|
|
|
8139
8304
|
return decimalIntegerPattern.test(normalized) ? Number.parseInt(normalized, 10) : NaN;
|
|
8140
8305
|
}, z$1.number().int().min(1).max(100).optional());
|
|
8141
8306
|
const listSpaceThreadSignalsQuerySchema = z$1.strictObject({
|
|
8307
|
+
includeWakeContinuation: z$1.preprocess((value) => value === "true" ? true : value, z$1.literal(true).optional()),
|
|
8142
8308
|
afterSignalId: optionalThreadSignalAnchorSchema,
|
|
8143
8309
|
limit: optionalThreadSignalLimitSchema
|
|
8144
8310
|
}).superRefine((value, ctx) => {
|
|
@@ -8173,10 +8339,12 @@ const listSpaceThreadsResponseSchema = z$1.strictObject({
|
|
|
8173
8339
|
previews: z$1.array(spaceThreadPreviewSchema).default([])
|
|
8174
8340
|
});
|
|
8175
8341
|
const listSpaceThreadSignalsResponseSchema = z$1.strictObject({
|
|
8342
|
+
wakeContinuation: z$1.strictObject({ targetProfileId: z$1.string().min(1).nullable() }).optional(),
|
|
8176
8343
|
signals: z$1.array(signalEnvelopeSchema),
|
|
8177
8344
|
placements: z$1.array(spaceThreadSignalPlacementSchema)
|
|
8178
8345
|
});
|
|
8179
8346
|
const postSpaceThreadSignalBodySchema = z$1.strictObject({
|
|
8347
|
+
threadWakeContinuation: z$1.literal(true).optional(),
|
|
8180
8348
|
text: signalTextSchema.shape.data.shape.text,
|
|
8181
8349
|
deviceWait: signalTextSchema.shape.data.shape.deviceWait.optional(),
|
|
8182
8350
|
files: signalTextSchema.shape.data.shape.files.optional(),
|
|
@@ -12644,7 +12812,11 @@ const spaceEntryTargetSchema = z$1.strictObject({
|
|
|
12644
12812
|
});
|
|
12645
12813
|
const spaceEntryAllowedViewSchema = z$1.strictObject({
|
|
12646
12814
|
state: z$1.literal("allowed"),
|
|
12647
|
-
experience: z$1.enum([
|
|
12815
|
+
experience: z$1.enum([
|
|
12816
|
+
"member",
|
|
12817
|
+
"public",
|
|
12818
|
+
"guest"
|
|
12819
|
+
])
|
|
12648
12820
|
});
|
|
12649
12821
|
const spaceEntryBlockedViewSchema = z$1.discriminatedUnion("state", [
|
|
12650
12822
|
z$1.strictObject({ state: z$1.literal("sign_in_required") }),
|
|
@@ -12683,6 +12855,19 @@ const getSpaceEntryResolutionResponseSchema = z$1.strictObject({
|
|
|
12683
12855
|
recovery: spaceEntryRecoverySchema.nullable()
|
|
12684
12856
|
});
|
|
12685
12857
|
//#endregion
|
|
12858
|
+
//#region ../../packages/schemas/dist/schemas/http/space-file-update-settings.js
|
|
12859
|
+
const spaceFileUpdateSettingsSchema = z$1.strictObject({
|
|
12860
|
+
fileId: spaceFileEntryIdSchema,
|
|
12861
|
+
version: z$1.number().int().nonnegative(),
|
|
12862
|
+
recipientProfileIds: z$1.array(z$1.string().trim().min(1)).max(50),
|
|
12863
|
+
configuredBy: spaceFileActorSchema.nullable()
|
|
12864
|
+
});
|
|
12865
|
+
z$1.discriminatedUnion("action", [z$1.strictObject({ action: z$1.literal("read") }), z$1.strictObject({
|
|
12866
|
+
action: z$1.literal("configure"),
|
|
12867
|
+
baseVersion: z$1.number().int().nonnegative(),
|
|
12868
|
+
recipientProfileIds: z$1.array(z$1.string().trim().min(1)).max(50)
|
|
12869
|
+
})]);
|
|
12870
|
+
//#endregion
|
|
12686
12871
|
//#region ../../packages/schemas/dist/schemas/http/space-wake-trace-waterfall.js
|
|
12687
12872
|
const optionalSelectorSchema$1 = z$1.preprocess((value) => {
|
|
12688
12873
|
const normalized = String(value ?? "").trim();
|
|
@@ -13367,6 +13552,9 @@ const getActiveSpaceWakeProgressResponseSchema = z$1.strictObject({
|
|
|
13367
13552
|
items: z$1.array(wakeProgressItemSchema)
|
|
13368
13553
|
});
|
|
13369
13554
|
//#endregion
|
|
13555
|
+
//#region ../../packages/schemas/dist/space-access-version.js
|
|
13556
|
+
const SPACE_ACCESS_VERSION_HEADER = "x-openmeld-space-access-version";
|
|
13557
|
+
//#endregion
|
|
13370
13558
|
//#region ../../packages/gateway-contract/dist/index.js
|
|
13371
13559
|
const OPENMELD_HEADER_REQUEST_ID = "x-openmeld-request-id";
|
|
13372
13560
|
const OPENMELD_HEADER_CALLER_PRINCIPAL_ID = "x-openmeld-caller-principal-id";
|
|
@@ -17252,10 +17440,13 @@ function buildSpaceThreadEventsPath(spaceId, threadId) {
|
|
|
17252
17440
|
function buildSpaceThreadSignalsPath(spaceId, threadId, query) {
|
|
17253
17441
|
const path = `${buildSpaceThreadPath(spaceId, threadId)}/signals`;
|
|
17254
17442
|
if (!query) return path;
|
|
17255
|
-
|
|
17256
|
-
|
|
17257
|
-
|
|
17258
|
-
|
|
17443
|
+
const searchParams = new URLSearchParams();
|
|
17444
|
+
if (query.afterSignalId && query.limit !== void 0) {
|
|
17445
|
+
searchParams.set("afterSignalId", query.afterSignalId);
|
|
17446
|
+
searchParams.set("limit", String(query.limit));
|
|
17447
|
+
}
|
|
17448
|
+
if (query.includeWakeContinuation) searchParams.set("includeWakeContinuation", "true");
|
|
17449
|
+
return `${path}?${searchParams.toString()}`;
|
|
17259
17450
|
}
|
|
17260
17451
|
function buildSpaceRoutePath(spaceId, segment) {
|
|
17261
17452
|
return `/v1/spaces/${encodeURIComponent(spaceId)}/${segment}`;
|
|
@@ -17361,6 +17552,9 @@ function toRequestBody$1(bytes) {
|
|
|
17361
17552
|
function readRequestBodySize(body) {
|
|
17362
17553
|
return body instanceof Blob ? body.size : body.byteLength;
|
|
17363
17554
|
}
|
|
17555
|
+
function currentSpaceAccessHeaders() {
|
|
17556
|
+
return { [SPACE_ACCESS_VERSION_HEADER]: "1" };
|
|
17557
|
+
}
|
|
17364
17558
|
function currentSpaceAddressingHeaders(contentType) {
|
|
17365
17559
|
return {
|
|
17366
17560
|
...contentType ? { "content-type": contentType } : {},
|
|
@@ -17477,7 +17671,10 @@ async function getSpaceBootstrap(client, input) {
|
|
|
17477
17671
|
return await client.requestJson({
|
|
17478
17672
|
url: buildSpaceBootstrapReadPath(input.spaceId, input.historyQuery, input.includeAgentStreamPresence),
|
|
17479
17673
|
operation: "space.bootstrap.read",
|
|
17480
|
-
headers:
|
|
17674
|
+
headers: {
|
|
17675
|
+
...currentSpaceAddressingHeaders(),
|
|
17676
|
+
...currentSpaceAccessHeaders()
|
|
17677
|
+
},
|
|
17481
17678
|
requestContext: input.requestContext,
|
|
17482
17679
|
signal: input.signal,
|
|
17483
17680
|
timeoutMs: input.timeoutMs,
|
|
@@ -17500,7 +17697,10 @@ async function createSpace(client, input) {
|
|
|
17500
17697
|
url: buildCreateSpacePath(),
|
|
17501
17698
|
operation: "space.create",
|
|
17502
17699
|
method: "POST",
|
|
17503
|
-
headers: {
|
|
17700
|
+
headers: {
|
|
17701
|
+
...currentSpaceAccessHeaders(),
|
|
17702
|
+
"content-type": "application/json"
|
|
17703
|
+
},
|
|
17504
17704
|
body: JSON.stringify(parsedBody.data),
|
|
17505
17705
|
requestContext: input.requestContext,
|
|
17506
17706
|
schema: createSpaceResponseSchema,
|
|
@@ -17592,6 +17792,83 @@ async function executeSpaceExecutionRecovery(client, input) {
|
|
|
17592
17792
|
url: buildSpaceExecutionRecoveryPath(input.spaceId, input.dispatchId)
|
|
17593
17793
|
});
|
|
17594
17794
|
}
|
|
17795
|
+
async function spaceFileUpdateSettings(client, input) {
|
|
17796
|
+
const read = input.command.action === "read";
|
|
17797
|
+
return await client.requestJson({
|
|
17798
|
+
url: `/v1/spaces/${encodeURIComponent(input.spaceId)}/files/${encodeURIComponent(input.fileId)}/update-settings`,
|
|
17799
|
+
method: read ? "GET" : "PATCH",
|
|
17800
|
+
operation: "space.files.update-settings",
|
|
17801
|
+
headers: { "content-type": "application/json" },
|
|
17802
|
+
...read ? {} : { body: JSON.stringify(input.command) },
|
|
17803
|
+
requestContext: input.requestContext,
|
|
17804
|
+
signal: input.signal,
|
|
17805
|
+
timeoutMs: input.timeoutMs,
|
|
17806
|
+
...input.spacePassword === void 0 ? {} : { spacePassword: input.spacePassword },
|
|
17807
|
+
schema: spaceFileUpdateSettingsSchema,
|
|
17808
|
+
invalidMessage: "Invalid file update settings response"
|
|
17809
|
+
});
|
|
17810
|
+
}
|
|
17811
|
+
function bodySize(body) {
|
|
17812
|
+
return body instanceof Blob ? body.size : body.byteLength;
|
|
17813
|
+
}
|
|
17814
|
+
async function mutationUploadId(mutation) {
|
|
17815
|
+
const hash = await crypto.subtle.digest("SHA-256", new TextEncoder().encode(mutation));
|
|
17816
|
+
const hex = Array.from(new Uint8Array(hash), (b) => b.toString(16).padStart(2, "0")).join("");
|
|
17817
|
+
return `${hex.slice(0, 8)}-${hex.slice(8, 12)}-4${hex.slice(13, 16)}-a${hex.slice(17, 20)}-${hex.slice(20, 32)}`;
|
|
17818
|
+
}
|
|
17819
|
+
async function uploadMultipart(client, input, target, uploadId) {
|
|
17820
|
+
const body = toRequestBody(input.bytes);
|
|
17821
|
+
const blob = body instanceof Blob ? body : new Blob([body]);
|
|
17822
|
+
const url = `/v1/spaces/${encodeURIComponent(input.spaceId)}/file-uploads/${uploadId}`;
|
|
17823
|
+
const request = async (command, part) => {
|
|
17824
|
+
return await retryUploadRequest(input.signal, () => client.requestJson({
|
|
17825
|
+
...requestFields$1(input),
|
|
17826
|
+
url: command.action === "part" ? `${url}?part=${command.partNumber}` : url,
|
|
17827
|
+
method: "POST",
|
|
17828
|
+
operation: "space.files.upload",
|
|
17829
|
+
headers: { "content-type": part ? "application/octet-stream" : "application/json" },
|
|
17830
|
+
body: part ?? JSON.stringify(command),
|
|
17831
|
+
schema: spaceFileUploadResponseSchema,
|
|
17832
|
+
invalidMessage: "Invalid file upload response."
|
|
17833
|
+
}));
|
|
17834
|
+
};
|
|
17835
|
+
const partDigests = [];
|
|
17836
|
+
for (let offset = 0; offset < blob.size; offset += SPACE_FILE_UPLOAD_PART_BYTES) {
|
|
17837
|
+
input.signal?.throwIfAborted();
|
|
17838
|
+
const hash = await crypto.subtle.digest("SHA-256", await blob.slice(offset, offset + SPACE_FILE_UPLOAD_PART_BYTES).arrayBuffer());
|
|
17839
|
+
partDigests.push(Array.from(new Uint8Array(hash), (b) => b.toString(16).padStart(2, "0")).join(""));
|
|
17840
|
+
}
|
|
17841
|
+
let session = await request({
|
|
17842
|
+
action: "start",
|
|
17843
|
+
metadata: {
|
|
17844
|
+
target,
|
|
17845
|
+
mimeType: input.mimeType,
|
|
17846
|
+
sizeBytes: blob.size,
|
|
17847
|
+
partDigests
|
|
17848
|
+
}
|
|
17849
|
+
});
|
|
17850
|
+
if (session.file || session.upload) return session;
|
|
17851
|
+
input.onProgress?.(session.parts.reduce((n, p) => n + p.sizeBytes, 0), blob.size);
|
|
17852
|
+
for (let start = 0, number = 1; start < blob.size; start += session.partSizeBytes, number++) {
|
|
17853
|
+
if (session.parts.some((p) => p.partNumber === number)) continue;
|
|
17854
|
+
session = await request({
|
|
17855
|
+
action: "part",
|
|
17856
|
+
partNumber: number
|
|
17857
|
+
}, blob.slice(start, start + session.partSizeBytes));
|
|
17858
|
+
input.onProgress?.(session.parts.reduce((n, p) => n + p.sizeBytes, 0), blob.size);
|
|
17859
|
+
}
|
|
17860
|
+
return await request({ action: "complete" });
|
|
17861
|
+
}
|
|
17862
|
+
async function retryUploadRequest(signal, request) {
|
|
17863
|
+
for (let attempt = 0;; attempt++) try {
|
|
17864
|
+
signal?.throwIfAborted();
|
|
17865
|
+
return await request();
|
|
17866
|
+
} catch (error) {
|
|
17867
|
+
const status = error && typeof error === "object" && "status" in error ? error.status : void 0;
|
|
17868
|
+
if (signal?.aborted || attempt >= 2 || typeof status === "number" && status < 500 && status !== 429) throw error;
|
|
17869
|
+
await new Promise((resolve) => setTimeout(resolve, 250 * 2 ** attempt));
|
|
17870
|
+
}
|
|
17871
|
+
}
|
|
17595
17872
|
async function listSpaceFiles(client, input) {
|
|
17596
17873
|
const response = await client.requestJson({
|
|
17597
17874
|
...requestFields$1(input),
|
|
@@ -17698,6 +17975,16 @@ async function uploadSpaceFile(client, input) {
|
|
|
17698
17975
|
const body = toRequestBody(input.bytes);
|
|
17699
17976
|
validateSize(body);
|
|
17700
17977
|
const mimeType = parseMimeType(input.mimeType);
|
|
17978
|
+
if (bodySize(body) > 10485760) {
|
|
17979
|
+
const response = await uploadMultipart(client, input, {
|
|
17980
|
+
kind: "file",
|
|
17981
|
+
clientMutationId: input.clientMutationId,
|
|
17982
|
+
name: input.name,
|
|
17983
|
+
parentId: input.parentId ?? null
|
|
17984
|
+
}, await mutationUploadId(input.clientMutationId));
|
|
17985
|
+
if (!response.file) throw new Error("The upload did not return a file.");
|
|
17986
|
+
return response.file;
|
|
17987
|
+
}
|
|
17701
17988
|
return (await client.requestJson({
|
|
17702
17989
|
...requestFields$1(input),
|
|
17703
17990
|
url: buildSpaceFileUploadPath(input),
|
|
@@ -17713,6 +18000,14 @@ async function stageSpaceComposerUpload(client, input) {
|
|
|
17713
18000
|
const body = toRequestBody(input.bytes);
|
|
17714
18001
|
validateSize(body);
|
|
17715
18002
|
const mimeType = parseMimeType(input.mimeType);
|
|
18003
|
+
if (bodySize(body) > 10485760) {
|
|
18004
|
+
const response = await uploadMultipart(client, input, {
|
|
18005
|
+
kind: "composer",
|
|
18006
|
+
name: input.name
|
|
18007
|
+
}, input.uploadId);
|
|
18008
|
+
if (!response.upload) throw new Error("The upload did not return a staged file.");
|
|
18009
|
+
return response.upload;
|
|
18010
|
+
}
|
|
17716
18011
|
return (await client.requestJson({
|
|
17717
18012
|
...requestFields$1(input),
|
|
17718
18013
|
body,
|
|
@@ -17750,6 +18045,16 @@ async function updateSpaceFileContent(client, input) {
|
|
|
17750
18045
|
const body = toRequestBody(input.bytes);
|
|
17751
18046
|
validateSize(body);
|
|
17752
18047
|
const mimeType = parseMimeType(input.mimeType);
|
|
18048
|
+
if (bodySize(body) > 10485760) {
|
|
18049
|
+
const response = await uploadMultipart(client, input, {
|
|
18050
|
+
kind: "revision",
|
|
18051
|
+
clientMutationId: input.clientMutationId,
|
|
18052
|
+
fileId: input.fileId,
|
|
18053
|
+
baseRevision: input.baseRevision
|
|
18054
|
+
}, await mutationUploadId(input.clientMutationId));
|
|
18055
|
+
if (!response.file) throw new Error("The upload did not return a file.");
|
|
18056
|
+
return response.file;
|
|
18057
|
+
}
|
|
17753
18058
|
return (await client.requestJson({
|
|
17754
18059
|
...requestFields$1(input),
|
|
17755
18060
|
url: buildSpaceFileContentPath(input.spaceId, input.fileId, {
|
|
@@ -17765,6 +18070,13 @@ async function updateSpaceFileContent(client, input) {
|
|
|
17765
18070
|
})).file;
|
|
17766
18071
|
}
|
|
17767
18072
|
async function downloadSpaceFileContent(client, input) {
|
|
18073
|
+
const content = await streamSpaceFileContent(client, input);
|
|
18074
|
+
return {
|
|
18075
|
+
...content,
|
|
18076
|
+
bytes: await new Response(content.bytes).arrayBuffer()
|
|
18077
|
+
};
|
|
18078
|
+
}
|
|
18079
|
+
async function streamSpaceFileContent(client, input) {
|
|
17768
18080
|
const response = await client.requestResponse({
|
|
17769
18081
|
...requestFields$1(input),
|
|
17770
18082
|
url: buildSpaceFileContentPath(input.spaceId, input.fileId, { revision: input.revision }),
|
|
@@ -17777,8 +18089,9 @@ async function downloadSpaceFileContent(client, input) {
|
|
|
17777
18089
|
const mimeType = parseMimeType(response.headers.get("content-type") ?? "application/octet-stream");
|
|
17778
18090
|
const revision = Number(response.headers.get("x-openmeld-file-revision"));
|
|
17779
18091
|
if (!(Number.isInteger(revision) && revision > 0)) throw new Error("invalid Space file revision response header");
|
|
18092
|
+
if (!response.body) throw new Error("Space file download has no body.");
|
|
17780
18093
|
return {
|
|
17781
|
-
bytes:
|
|
18094
|
+
bytes: response.body,
|
|
17782
18095
|
mimeType,
|
|
17783
18096
|
revision
|
|
17784
18097
|
};
|
|
@@ -17803,7 +18116,7 @@ function toRequestBody(bytes) {
|
|
|
17803
18116
|
return copy.buffer;
|
|
17804
18117
|
}
|
|
17805
18118
|
function validateSize(body) {
|
|
17806
|
-
if ((body instanceof Blob ? body.size : body.byteLength) >
|
|
18119
|
+
if ((body instanceof Blob ? body.size : body.byteLength) > 262144e3) throw new Error("Space files must be 250 MiB or smaller");
|
|
17807
18120
|
}
|
|
17808
18121
|
function getSpaceHistoryNavigation(client, input) {
|
|
17809
18122
|
const query = new URLSearchParams();
|
|
@@ -17833,6 +18146,20 @@ async function leaveSpace(client, input) {
|
|
|
17833
18146
|
invalidMessage: "invalid leave space response"
|
|
17834
18147
|
});
|
|
17835
18148
|
}
|
|
18149
|
+
function getSpaceLinkPreviews(client, input) {
|
|
18150
|
+
const query = new URLSearchParams({ signalId: input.signalId });
|
|
18151
|
+
return client.requestJson({
|
|
18152
|
+
url: `/v1/spaces/${encodeURIComponent(input.spaceId)}/link-previews?${query}`,
|
|
18153
|
+
operation: "space.link_previews",
|
|
18154
|
+
method: "GET",
|
|
18155
|
+
requestContext: input.requestContext,
|
|
18156
|
+
signal: input.signal,
|
|
18157
|
+
timeoutMs: input.timeoutMs ?? 3e4,
|
|
18158
|
+
...input.spacePassword === void 0 ? {} : { spacePassword: input.spacePassword },
|
|
18159
|
+
schema: getSpaceLinkPreviewsResponseSchema,
|
|
18160
|
+
invalidMessage: "Invalid link preview response."
|
|
18161
|
+
});
|
|
18162
|
+
}
|
|
17836
18163
|
async function getSpaceMembersSnapshot(client, input) {
|
|
17837
18164
|
return await client.requestJson({
|
|
17838
18165
|
url: buildSpaceMembersPath(input.spaceId),
|
|
@@ -17988,6 +18315,8 @@ function requestFields(input) {
|
|
|
17988
18315
|
}
|
|
17989
18316
|
async function updateSpaceMeta(client, input) {
|
|
17990
18317
|
const parsedBody = patchSpaceMetaBodySchema.safeParse({
|
|
18318
|
+
...input.ownership === void 0 ? {} : { ownership: input.ownership },
|
|
18319
|
+
...input.allowGuests === void 0 ? {} : { allowGuests: input.allowGuests },
|
|
17991
18320
|
...input.visibility === void 0 ? {} : { visibility: input.visibility },
|
|
17992
18321
|
...input.name === void 0 ? {} : { name: input.name },
|
|
17993
18322
|
...input.purpose === void 0 ? {} : { purpose: input.purpose },
|
|
@@ -17998,7 +18327,10 @@ async function updateSpaceMeta(client, input) {
|
|
|
17998
18327
|
url: buildSpaceMetaPath(input.spaceId),
|
|
17999
18328
|
operation: "space.meta.update",
|
|
18000
18329
|
method: "PATCH",
|
|
18001
|
-
headers: {
|
|
18330
|
+
headers: {
|
|
18331
|
+
...currentSpaceAccessHeaders(),
|
|
18332
|
+
"content-type": "application/json"
|
|
18333
|
+
},
|
|
18002
18334
|
body: JSON.stringify(parsedBody.data),
|
|
18003
18335
|
requestContext: input.requestContext,
|
|
18004
18336
|
signal: input.signal,
|
|
@@ -18076,6 +18408,7 @@ async function getSpaceStatus(client, input) {
|
|
|
18076
18408
|
return await client.requestJson({
|
|
18077
18409
|
url: buildSpaceStatusPath(input.spaceId),
|
|
18078
18410
|
operation: "space.status.read",
|
|
18411
|
+
headers: currentSpaceAccessHeaders(),
|
|
18079
18412
|
requestContext: input.requestContext,
|
|
18080
18413
|
signal: input.signal,
|
|
18081
18414
|
timeoutMs: input.timeoutMs,
|
|
@@ -18149,16 +18482,13 @@ async function listSpaceThreadEvents(client, input) {
|
|
|
18149
18482
|
}
|
|
18150
18483
|
async function listSpaceThreadSignals(client, input) {
|
|
18151
18484
|
const parsedQuery = listSpaceThreadSignalsQuerySchema.safeParse({
|
|
18485
|
+
includeWakeContinuation: input.includeWakeContinuation,
|
|
18152
18486
|
afterSignalId: input.afterSignalId,
|
|
18153
18487
|
limit: input.limit
|
|
18154
18488
|
});
|
|
18155
18489
|
if (!parsedQuery.success) throw new Error(parsedQuery.error.issues[0]?.message ?? "Invalid bounded thread signals query");
|
|
18156
|
-
const hasBoundedQuery = parsedQuery.data.afterSignalId !== void 0;
|
|
18157
18490
|
return await client.requestJson({
|
|
18158
|
-
url: buildSpaceThreadSignalsPath(input.spaceId, input.threadId,
|
|
18159
|
-
afterSignalId: parsedQuery.data.afterSignalId,
|
|
18160
|
-
limit: parsedQuery.data.limit
|
|
18161
|
-
} : void 0),
|
|
18491
|
+
url: buildSpaceThreadSignalsPath(input.spaceId, input.threadId, parsedQuery.data.afterSignalId || parsedQuery.data.includeWakeContinuation ? parsedQuery.data : void 0),
|
|
18162
18492
|
operation: "space.thread.signals",
|
|
18163
18493
|
method: "GET",
|
|
18164
18494
|
headers: currentSpaceAddressingHeaders(),
|
|
@@ -18330,6 +18660,7 @@ const createSpaceApi = (client) => {
|
|
|
18330
18660
|
uploadAttachment: async (input) => await uploadSpaceAttachment(client, input),
|
|
18331
18661
|
listFiles: async (input) => await listSpaceFiles(client, input),
|
|
18332
18662
|
getFile: async (input) => await getSpaceFile(client, input),
|
|
18663
|
+
fileUpdateSettings: async (input) => await spaceFileUpdateSettings(client, input),
|
|
18333
18664
|
listFileRevisions: async (input) => await listSpaceFileRevisions(client, input),
|
|
18334
18665
|
createFolder: async (input) => await createSpaceFolder(client, input),
|
|
18335
18666
|
updateFileEntry: async (input) => await updateSpaceFileEntry(client, input),
|
|
@@ -18342,6 +18673,7 @@ const createSpaceApi = (client) => {
|
|
|
18342
18673
|
discardComposerUpload: async (input) => await discardSpaceComposerUpload(client, input),
|
|
18343
18674
|
updateFileContent: async (input) => await updateSpaceFileContent(client, input),
|
|
18344
18675
|
downloadFileContent: async (input) => await downloadSpaceFileContent(client, input),
|
|
18676
|
+
streamFileContent: async (input) => await streamSpaceFileContent(client, input),
|
|
18345
18677
|
removeMembers: async (input) => await removeSpaceMembers(client, input),
|
|
18346
18678
|
setAccessMode: async (input) => await setSpaceAccessMode(client, input),
|
|
18347
18679
|
updateMeta: async (input) => await updateSpaceMeta(client, input),
|
|
@@ -18367,6 +18699,7 @@ const createSpaceApi = (client) => {
|
|
|
18367
18699
|
getMessageReactions: (input) => getSpaceMessageReactions(client, input),
|
|
18368
18700
|
setMessageReaction: (input) => setSpaceMessageReaction(client, input),
|
|
18369
18701
|
getMessageDetails: async (input) => await getSpaceMessageDetails(client, input),
|
|
18702
|
+
getLinkPreviews: (input) => getSpaceLinkPreviews(client, input),
|
|
18370
18703
|
createDiagnosticReport: async (input) => await createSpaceDiagnosticReport(client, input),
|
|
18371
18704
|
mutateMessage: (input) => mutateSpaceMessage(client, input),
|
|
18372
18705
|
postNormalMessage: async (input) => await postSpaceNormalMessage(client, input),
|
|
@@ -18513,4 +18846,4 @@ function composeAbortSignals(parent, timeout) {
|
|
|
18513
18846
|
//#endregion
|
|
18514
18847
|
export { buildLocalFolderPickerPath as $, createAgentProfileCreationRequestBodySchema as $n, agentActivityInventorySessionOriginSchema as $r, createProjectsApi as $t, buildCurrentOrganizationDirectoryPath as A, OPENMELD_HEADER_PROFILE_ID as An, listCenterAgentRoutinesResponseSchema as Ar, createAccountSpaceIndexApi as At, buildCurrentOrganizationMessageChannelsPath as B, projectSpaceDispatchTraceFinalVisibleOutcome as Bn, agentActivitySnapshotResponseSchema as Br, createFetchTransport as Bt, buildCenterAgentSessionPath as C, DAEMON_STREAM_KEEPALIVE_PING as Cn, profileErrorResponseSchema as Cr, buildRoutineTargetSpacesPath as Ct, buildCurrentAgentProfileSessionRoute as D, parseIncoming as Dn, createCenterAgentRoutineResponseSchema as Dr, buildSpaceInboxReadThroughPath as Dt, buildComputerFileAccessUpdatePath as E, parseEnvelope as En, submitFeedbackIssueResponseSchema as Er, buildSpaceBootstrapReadPath as Et, buildCurrentOrganizationMessageChannelPath as F, toErrorMessage$2 as Fn, AGENT_ACTIVITY_PRESENCE_TTL_MAX_MS as Fr, createComputerFileAccessApi as Ft, buildFeedbackIssueSubmissionPath as G, observabilityWakeTraceSelectorSchema as Gn, postSpaceMembersResponseSchema as Gr, createOpenMeldApiClient as Gt, buildCurrentOrganizationSpacesWithMemberCountsPath as H, spaceDispatchTraceAttemptStatusSchema as Hn, localProjectControlDaemonFrameSchema as Hr, createLocalFolderPickerApi as Ht, buildCurrentOrganizationMessageChannelRegistrationPath as I, getSpaceUpdatesResponseSchema as In, agentActivityEventSchema as Ir, createConfigApi as It, buildInboxItemReadPath as J, ownerComputerDiagnosticsSchema as Jn, spaceMemberAgentWakeAvailabilitySchema as Jr, createOrganizationSkillsApi as Jt, buildInboxItemDismissPath as K, projectObservabilityWakeCorrelation as Kn, removeSpaceMembersResponseSchema as Kr, createOrganizationApi as Kt, buildCurrentOrganizationMessageChannelRegistrationPollPath as L, spaceEntryTargetSchema as Ln, agentActivityProviderSchema as Lr, createCurrentDeviceApi as Lt, buildCurrentOrganizationInformationProtectionPath as M, OPENMELD_HEADER_REQUEST_ID as Mn, resumeCenterAgentRoutineResponseSchema as Mr, createAgentProfileBindingApi as Mt, buildCurrentOrganizationLogoPath as N, OPENMELD_HEADER_SPACE_ADDRESSING_VERSION as Nn, updateCenterAgentRoutineResponseSchema as Nr, createAgentProfileWorkRecoveryApi as Nt, buildCurrentOrganizationCenterAgentMemoryWipeSelfPath as O, parseServerErrorFrame as On, deleteCenterAgentRoutineResponseSchema as Or, buildSpaceInboxSummaryPath as Ot, buildCurrentOrganizationMemberOpenMeldServiceStatusesPath as P, buildOpenMeldRequestContextHeaders as Pn, AGENT_ACTIVITY_EVENT_MAX_BYTES as Pr, createCenterAgentApi as Pt, buildInboxSummaryPath as Q, agentProfileCreationConfigurationSchema as Qn, spaceMemberKindSchema as Qr, createProfilesApi as Qt, buildCurrentOrganizationMessageChannelRegistrationsPath as R, SPACE_DISPATCH_TRACE_PROMPT_PREVIEW_MAX_CHARS as Rn, agentActivitySessionStatusSchema as Rr, createDirectMessageApi as Rt, buildCenterAgentProfilePath as S, uploadSpaceFile as Sn, profileCapabilitiesResponseSchema as Sr, buildRoutineRunsPath as St, buildComputerFileAccessReadPath as T, MAX_TEXT_LENGTH as Tn, submitFeedbackIssueRequestSchema as Tr, buildSpaceAttachmentDownloadPath as Tt, buildDirectMessageConversionPath as U, spaceDispatchTraceDispatchStatusSchema as Un, localProjectControlDiscoverProjectsResponseSchema as Ur, createLocalProjectControlApi as Ut, buildCurrentOrganizationSpacesPath as V, resolveSpaceDispatchTraceRootCause as Vn, localProjectControlConnectionSchema as Vr, createInboxApi as Vt, buildDirectMessageSpacePath as W, spaceDispatchTraceResponseSchema as Wn, leaveSpaceResponseSchema as Wr, createLocalRuntimeExpectedRoutesApi as Wt, buildInboxPath as X, summarizeComputerFileAccessPolicy as Xn, spaceMemberDirectoryEntrySchema as Xr, createPrepareReadinessApi as Xt, buildInboxMarkAllReadPath as Y, projectOwnerComputerLocalRuntimes as Yn, spaceMemberDirectoryAllowedRelationsSchema as Yr, createOrganizationUsageApi as Yt, buildInboxPreferencesPath as Z, DEFAULT_AGENT_PROFILE_CREATION_CONFIGURATION as Zn, spaceMemberDirectorySchema as Zr, createProfileSpaceHistoryApi as Zt, buildCenterAgentDirectMessageSpacePath as _, localAgentCatalogSchema as _i, trashSpaceFileEntry as _n, organizationDirectoryResponseSchema as _r, buildProjectPath as _t, buildAgentActivitySessionsPath as a, archiveProjectResponseSchema as ai, getModelCatalog as an, computerFileAccessPolicySchema as ar, buildOrganizationDocumentsPath as at, buildCenterAgentMemberResearchPath as b, toCompatibleSpaceAddressingRequestWireValue as bi, updateSpaceMeta as bn, authProfileKindSchema as br, buildRoutinePausePath as bt, buildAgentProfileCreationApprovalPreferencePath as c, projectSchema as ci, listSpaceFiles as cn, resolveInitialSpaceAccessMode as cr, buildOrganizationSkillGitHubPreviewPath as ct, buildAgentProfileCreationRequestDecisionPath as d, openCodePermissionConfigSchema as di, readOrUpdateSpaceFilePins as dn, getOrganizationSkillResponseSchema as dr, buildOrganizationSkillsPath as dt, agentActivityInventorySessionStatusSchema as ei, createRoutinesApi as en, gatewayErrorEnvelopeSchema as er, buildLocalProjectControlPath as et, buildAgentProfileCreationRequestRetryPath as f, START_BOUNDED_ID_SCHEMA as fi, readOrUpdateSpaceMessagePins as fn, listOrganizationSkillsResponseSchema as fr, buildOrganizationUsageOverviewPath as ft, buildCenterAgentDesignationPath as g, startReplyReadinessSummarySchema as gi, toStructuredApiClientFailure as gn, stringifyOrganizationSkillBundleCanonicalJson as gr, buildProfileSpaceHistoryUpsertPath as gt, buildCenterAgentAuditJournalPath as h, START_TRIMMED_NON_EMPTY_STRING_SCHEMA as hi, setSpaceAccessMode as hn, organizationSkillSummarySchema as hr, buildProfileSpaceHistoryStatusPath as ht, buildAccountSpaceIndexPath as i, observedLocalAgentSessionSchema as ii, downloadSpaceFileContent as in, computerFileAccessPolicyInputSchema as ir, buildOrganizationDocumentPath as it, buildCurrentOrganizationFeedbackReportingPolicyPath as j, OPENMELD_HEADER_REQUESTED_ORGANIZATION_ID as jn, pauseCenterAgentRoutineResponseSchema as jr, createAgentActivityApi as jt, buildCurrentOrganizationComputersPath as k, resolveCustomMentionAliasOverride as kn, listCenterAgentRoutineRunsResponseSchema as kr, buildSpaceInboxUnreadTargetsPath as kt, buildAgentProfileCreationDefaultsPath as l, updateProjectResponseSchema as li, normalizeApiBaseUrl as ln, spaceCreatorSchema as lr, buildOrganizationSkillMaintainersPath as lt, buildAgentProfileWorkRecoveryRoute as m, START_ISO_DATE_TIME_SCHEMA as mi, resolveProfileSpaceHistoryGatewayHost as mn, organizationSkillReleaseSummarySchema as mr, buildProfileSpaceHistoryListPath as mt, OpenMeldApiClientInvalidResponseError as n, agentActivitySessionInventoryResponseSchema as ni, createSpaceApi as nn, OPENMELD_RUNTIME_CAPABILITIES_HEADER as nr, buildOrganizationDocumentApproveDraftPath as nt, buildAgentActivitySnapshotPath as o, createProjectResponseSchema as oi, getSpaceFile as on, modelCatalogSchema as or, buildOrganizationSkillEnabledPath as ot, buildAgentProfileCreationRequestsPath as p, START_BOUNDED_VERSION_SCHEMA as pi, resolveAccountSpaceIndexGatewayHost as pn, organizationSkillBundleSchema as pr, buildProfileRoute as pt, buildInboxItemPath as q, submitAgentControllerTaskLifecycleEventItemSchema as qn, resolvedSpaceMemberProfileSchema as qr, createOrganizationDocumentsApi as qt, buildAccountSpaceActiveWakeSummaryPath as r, localAgentSessionProviderSchema as ri, createSpaceFolder as rn, computerFileAccessDaemonFrameSchema as rr, buildOrganizationDocumentDiscardDraftPath as rt, buildAgentActivityStatsPath as s, listProjectsResponseSchema as si, listSpaceFileRevisions as sn, organizationSpaceDirectoryWithMemberCountsResponseSchema as sr, buildOrganizationSkillGitHubImportPath as st, OpenMeldApiClientHttpError as t, agentActivitySessionInventoryQuerySchema as ti, createRuntimeReportingApi as tn, COMPUTER_FILE_ACCESS_RUNTIME_CAPABILITY as tr, buildModelCatalogPath as tt, buildAgentProfileCreationRequestCancelPath as u, centerAgentToolSpeakerSchema as ui, publicSpaceUrls as un, spaceMetaSchema as ur, buildOrganizationSkillPath as ut, buildCenterAgentInboxReadThroughPath as v, agentControllerPermissionModeSchema as vi, updateSpaceFileContent as vn, ADDITIONAL_HUMAN_PROFILE_CREATION_DISABLED_CODE as vr, buildProjectsPath as vt, buildCenterAgentSessionsPath as w, DAEMON_STREAM_KEEPALIVE_PONG as wn, organizationComputersResponseSchema as wr, buildRoutinesPath as wt, buildCenterAgentOperatingStatePath as x, uploadSpaceAttachment as xn, authProfileManagedRoleSchema as xr, buildRoutineResumePath as xt, buildCenterAgentInboxSummaryPath as y, agentControllerCollaborationModeSchema as yi, updateSpaceFileEntry as yn, ADDITIONAL_HUMAN_PROFILE_CREATION_DISABLED_MESSAGE as yr, buildRoutinePath as yt, buildCurrentOrganizationMessageChannelSetupRequestsPath as z, SPACE_DISPATCH_TRACE_RESPONSE_CONTRACT_VERSION_HEADER as zn, agentActivitySnapshotQuerySchema as zr, createFeedbackApi as zt };
|
|
18515
18848
|
|
|
18516
|
-
//# sourceMappingURL=dist-
|
|
18849
|
+
//# sourceMappingURL=dist-Mhy5FanK.js.map
|