openmeld 0.3.246 → 0.3.247
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-C7dYkfPz.js → add-me-membership-DUeJA9q4.js} +2 -2
- package/dist/{add-me-membership-C7dYkfPz.js.map → add-me-membership-DUeJA9q4.js.map} +1 -1
- package/dist/{agents-QisYIlFS.js → agents-woAcH0O6.js} +10 -10
- package/dist/{agents-QisYIlFS.js.map → agents-woAcH0O6.js.map} +1 -1
- package/dist/{api-client-foundation-CYbEdm9o.js → api-client-foundation-DMEfIARh.js} +3 -3
- package/dist/{api-client-foundation-CYbEdm9o.js.map → api-client-foundation-DMEfIARh.js.map} +1 -1
- package/dist/{api-client-foundation-B1aTRrIy.js → api-client-foundation-mqLjUunz.js} +1 -1
- package/dist/{auth-session-JhILeJRO.js → auth-session-D7hlE-47.js} +2 -2
- package/dist/{auth-session-JhILeJRO.js.map → auth-session-D7hlE-47.js.map} +1 -1
- package/dist/auth-session-DXxmGll1.js +4 -0
- package/dist/{channel-C6tm9T7P.js → channel-BeUv2bLR.js} +3 -3
- package/dist/{channel-C6tm9T7P.js.map → channel-BeUv2bLR.js.map} +1 -1
- package/dist/{cloud-computer-J2tdcTPm.js → cloud-computer-C81_vVOV.js} +4 -4
- package/dist/{cloud-computer-J2tdcTPm.js.map → cloud-computer-C81_vVOV.js.map} +1 -1
- package/dist/{command-BXJ-OwBD.js → command-qNknO9gl.js} +15 -15
- package/dist/{command-BXJ-OwBD.js.map → command-qNknO9gl.js.map} +1 -1
- package/dist/{computer-connection-BKtrn0d2.js → computer-connection-WpsIQfkh.js} +2 -2
- package/dist/{computer-connection-BKtrn0d2.js.map → computer-connection-WpsIQfkh.js.map} +1 -1
- package/dist/{computer-connection-review-bUqNKi6q.js → computer-connection-review-Df2G8VWY.js} +5 -5
- package/dist/{computer-connection-review-bUqNKi6q.js.map → computer-connection-review-Df2G8VWY.js.map} +1 -1
- package/dist/{computer-disconnect-D_Apsn9P.js → computer-disconnect-ttAH9WgN.js} +7 -7
- package/dist/{computer-disconnect-D_Apsn9P.js.map → computer-disconnect-ttAH9WgN.js.map} +1 -1
- package/dist/{computer-setup-continuation-occq0LmS.js → computer-setup-continuation-tbuUZSe5.js} +3 -3
- package/dist/{computer-setup-continuation-occq0LmS.js.map → computer-setup-continuation-tbuUZSe5.js.map} +1 -1
- package/dist/{context-M7dvalCp.js → context-x0T_qTHp.js} +4 -4
- package/dist/{context-M7dvalCp.js.map → context-x0T_qTHp.js.map} +1 -1
- package/dist/{daemon-device-id-C3gKch4E.js → daemon-device-id-DgwvQllt.js} +4 -4
- package/dist/{daemon-device-id-C3gKch4E.js.map → daemon-device-id-DgwvQllt.js.map} +1 -1
- package/dist/{daemon-lifecycle-journal-CGUuJshv.js → daemon-lifecycle-journal-C32I8p4n.js} +3 -3
- package/dist/{daemon-lifecycle-journal-CGUuJshv.js.map → daemon-lifecycle-journal-C32I8p4n.js.map} +1 -1
- package/dist/{daemon-service-runtime-CktU3ER4.js → daemon-service-runtime-DVqzJKke.js} +2 -2
- package/dist/{daemon-service-runtime-CktU3ER4.js.map → daemon-service-runtime-DVqzJKke.js.map} +1 -1
- package/dist/{daemon-service-update-coordinator-D0-15tZW.js → daemon-service-update-coordinator-BTlVzU-7.js} +14 -14
- package/dist/daemon-service-update-coordinator-BTlVzU-7.js.map +1 -0
- package/dist/{dispatch-owned-runtime-gOluDX5_.js → dispatch-owned-runtime-g2lLeYtx.js} +187 -50
- package/dist/dispatch-owned-runtime-g2lLeYtx.js.map +1 -0
- package/dist/dist-CXB_bdSS.js +4 -0
- package/dist/{dist-KibLweLD.js → dist-DGeoVaIx.js} +404 -279
- package/dist/dist-DGeoVaIx.js.map +1 -0
- package/dist/{dual-view-guide-catalog-0kSizTFt.js → dual-view-guide-catalog-CkcY09Kh.js} +3 -3
- package/dist/{dual-view-guide-catalog-0kSizTFt.js.map → dual-view-guide-catalog-CkcY09Kh.js.map} +1 -1
- package/dist/{elapsed-time-Bo1CJczC.js → elapsed-time-BMG1CU23.js} +3 -3
- package/dist/{elapsed-time-Bo1CJczC.js.map → elapsed-time-BMG1CU23.js.map} +1 -1
- package/dist/{entry-B11DkH2I.js → entry-CP7_Vgs4.js} +7 -7
- package/dist/{entry-B11DkH2I.js.map → entry-CP7_Vgs4.js.map} +1 -1
- package/dist/{installation-inventory-BZgQmVup.js → installation-inventory-7JOtUjyG.js} +3 -3
- package/dist/{installation-inventory-BZgQmVup.js.map → installation-inventory-7JOtUjyG.js.map} +1 -1
- package/dist/{installer-k2gOOs58.js → installer-BRpAz1X_.js} +2 -2
- package/dist/{installer-k2gOOs58.js.map → installer-BRpAz1X_.js.map} +1 -1
- package/dist/{meta-api-DruuiAx-.js → meta-api-QskBmfuf.js} +5 -5
- package/dist/{meta-api-DruuiAx-.js.map → meta-api-QskBmfuf.js.map} +1 -1
- package/dist/{open-code-permission-DHFJYc_o.js → open-code-permission-B5f1e5an.js} +2 -31
- package/dist/open-code-permission-B5f1e5an.js.map +1 -0
- package/dist/{openmeld-DUdN78WD.js → openmeld-BxTCCHMn.js} +194 -60
- package/dist/openmeld-BxTCCHMn.js.map +1 -0
- package/dist/{openmeld-maintenance-worker-DwkvZD0q.js → openmeld-maintenance-worker-BQ2YbwA9.js} +9 -9
- package/dist/{openmeld-maintenance-worker-DwkvZD0q.js.map → openmeld-maintenance-worker-BQ2YbwA9.js.map} +1 -1
- package/dist/{openmeld-tools-update-join-BNUIw_Lo.js → openmeld-tools-update-join-Dj-MEQW_.js} +4 -4
- package/dist/{openmeld-tools-update-join-BNUIw_Lo.js.map → openmeld-tools-update-join-Dj-MEQW_.js.map} +1 -1
- package/dist/openmeld.js +4 -4
- package/dist/{prepare-provider-runtime-_XRIioDp.js → prepare-provider-runtime-B6_dfpiZ.js} +74 -22
- package/dist/prepare-provider-runtime-B6_dfpiZ.js.map +1 -0
- package/dist/{prepare-session-executor-B5AjN0qz.js → prepare-session-executor-DA9saGAk.js} +18 -18
- package/dist/{prepare-session-executor-B5AjN0qz.js.map → prepare-session-executor-DA9saGAk.js.map} +1 -1
- package/dist/{process-channel-CTXWjlBP.js → process-channel-HthE5ehS.js} +2 -2
- package/dist/{process-channel-CTXWjlBP.js.map → process-channel-HthE5ehS.js.map} +1 -1
- package/dist/{runtime-DCBc6YOq.js → runtime-C7lY_Z2r.js} +103 -20
- package/dist/{runtime-DCBc6YOq.js.map → runtime-C7lY_Z2r.js.map} +1 -1
- package/dist/{runtime-agent-controller-reporting-submission-CGa3GGL6.js → runtime-agent-controller-reporting-submission-IhxMO4UA.js} +8 -8
- package/dist/{runtime-agent-controller-reporting-submission-CGa3GGL6.js.map → runtime-agent-controller-reporting-submission-IhxMO4UA.js.map} +1 -1
- package/dist/{runtime-transport-BzCp9hM3.js → runtime-transport-DRb5__yP.js} +188 -18
- package/dist/runtime-transport-DRb5__yP.js.map +1 -0
- package/dist/{service-BEH6-P8U.js → service-DveGEdh3.js} +312 -21
- package/dist/service-DveGEdh3.js.map +1 -0
- package/dist/{service-account-authorization-CtvSn02O.js → service-account-authorization-CAVkiKSF.js} +2 -2
- package/dist/{service-account-authorization-CtvSn02O.js.map → service-account-authorization-CAVkiKSF.js.map} +1 -1
- package/dist/{service-account-control-BUPiFEGo.js → service-account-control-BtE73wcO.js} +9 -9
- package/dist/{service-account-control-BUPiFEGo.js.map → service-account-control-BtE73wcO.js.map} +1 -1
- package/dist/{service-control-capabilities-PMvSlaJj.js → service-control-capabilities-BQrqIGBP.js} +3 -3
- package/dist/{service-control-capabilities-PMvSlaJj.js.map → service-control-capabilities-BQrqIGBP.js.map} +1 -1
- package/dist/{service-control-capabilities-D-Nhqqgo.js → service-control-capabilities-adDptMIH.js} +1 -1
- package/dist/{state-C_iJAzKh.js → state-DWwNdCy5.js} +2 -2
- package/dist/{state-C_iJAzKh.js.map → state-DWwNdCy5.js.map} +1 -1
- package/dist/{updates-api-s2-QB929.js → updates-api-9midbUU1.js} +12 -136
- package/dist/updates-api-9midbUU1.js.map +1 -0
- package/dist/upgrade-BvpBhL0U.js +4 -0
- package/dist/{upgrade-JmhCNmvs.js → upgrade-H-_QW75e.js} +8 -8
- package/dist/{upgrade-JmhCNmvs.js.map → upgrade-H-_QW75e.js.map} +1 -1
- package/package.json +12 -12
- package/skills/openmeld-cli/SKILL.md +2 -0
- package/skills/openmeld-cli/playbooks/computer.md +55 -0
- package/skills/openmeld-cli/playbooks/plugins.md +37 -0
- package/dist/auth-session-DUYOBXO3.js +0 -4
- package/dist/daemon-service-update-coordinator-D0-15tZW.js.map +0 -1
- package/dist/dispatch-owned-runtime-gOluDX5_.js.map +0 -1
- package/dist/dist-DMlKqjUf.js +0 -4
- package/dist/dist-KibLweLD.js.map +0 -1
- package/dist/open-code-permission-DHFJYc_o.js.map +0 -1
- package/dist/openmeld-DUdN78WD.js.map +0 -1
- package/dist/prepare-provider-runtime-_XRIioDp.js.map +0 -1
- package/dist/runtime-transport-BzCp9hM3.js.map +0 -1
- package/dist/service-BEH6-P8U.js.map +0 -1
- package/dist/updates-api-s2-QB929.js.map +0 -1
- package/dist/upgrade-Dikfgr8z.js +0 -4
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import { $n as
|
|
3
|
+
import { $n as clientMessageIdSchema$1, $r as updateProfileResponseSchema, $t as spaceEvidenceReferenceSchema, An as connectorConnectionScopeSchema, Bi as messageChannelConversationLocatorSchema, Bn as spaceAgentStreamDeltaFrameSchema, Bt as spaceAttachmentMimeTypeSchema, Ci as spaceFileEntryIdSchema, Cn as messageEnvelopeSchema, Cr as executeExecutionRecoveryResponseSchema, Di as spaceFileRevisionNumberSchema, Dn as openMeldNavigationTargetSchema, Ei as spaceFileOriginSchema, En as computerSetupModeSchema, Fi as uploadSpaceFileResponseSchema, Ft as wakeDeviceWaitSchema, Gi as messageChannelTransportSchema, Gr as agentAvatarStyleSchema, H as runtimeTransportRuntimeCoordinatorRespondInteractionResponseSchema, Hi as messageChannelParticipantIdentitySchema, Hn as spaceAgentStreamPresenceSchema, Ht as spaceMessageAttachmentSchema, Ii as centerAgentToolSpeakerSchema, It as wakeDeviceWaitTargetSchema, Jr as authProfileViewSchema, K as openMeldDaemonOriginalErrorSchema, Ki as slackMessagePermalinkSchema, Kn as agentInteractionPendingSummarySchema, Kt as centerAgentInteractionSourceSchema, Li as centerAgentVerifiedMemberToolSpeakerSchema, Lt as spaceAttachmentDescriptorSchema, Mi as stageSpaceComposerUploadResponseSchema, Mn as openConnectorRuntimeActionListSchema, Mr as localFolderPickerResultSchema, Mt as signalSystemNoticeDataSchema, Ni as trashSpaceFileEntryResponseSchema, Nn as pluginConnectionDescriptionSchema, Nr as localFolderPathSchema, Nt as signalTextDataSchema, Oi as spaceFileRevisionSchema, On as openMeldWebUrlSchema, Pi as updateSpaceFileEntryResponseSchema, Pn as pluginConnectionHealthSchema, Pr as START_BOUNDED_ID_SCHEMA, Pt as signalTextSchema, Q as openMeldDaemonTaskResultProjectFailureContextSchema, Qn as postSpaceWakeStopResponseSchema, Qr as updateAgentProfileDefaultProjectResponseSchema, Ri as MESSAGE_CHANNEL_PROVIDERS, Rn as AGENT_STREAM_SNAPSHOT_MAX_CHARS, Rt as spaceAttachmentDimensionSchema, Si as spaceFileDescriptorSchema, Sr as executeExecutionRecoveryBodySchema, Ti as spaceFileNameSchema, Tr as agentProfileWorkRecoveryActionKindSchema, Ui as messageChannelProviderSchema, Un as spaceAgentStreamSnapshotSchema, Ut as spaceMessageAttachmentsSchema, Vi as messageChannelIngressEnvelopeSchema, Vn as spaceAgentStreamPartFrameSchema, Vr as localAgentCatalogWithLifecycleSchema, Vt as spaceAttachmentSizeBytesSchema, Wi as messageChannelResourceDescriptorSchema, Wn as spaceAgentStreamTerminalFrameSchema, Wr as CENTER_AGENT_BOT_AVATAR_TYPES, Wt as conversationCompactionMarkerSchema, Xi as MAX_TEXT_LENGTH$1, Xn as agentControllerPermissionModeSchema, Yi as openMeldRequestContextSchema, Yn as agentInteractionResponseSchema, Yt as spaceWorkHandoffSchema, Zn as postSpaceWakeStopBodySchema, Zr as updateAgentProfileDefaultProjectBodySchema, _i as spaceFileActorSchema, _r as organizationProtectedInformationSchema, _t as spaceWakeAgentTaskHandleSchema, ai as discardSpaceComposerUploadResponseSchema, an as spaceThreadContextSchema, ar as runtimeCoordinatorExecutionTokenEchoSchema, bi as spaceFileCapabilitiesSchema, ci as listSpaceFileRevisionsResponseSchema, cn as spaceThreadSignalPlacementSchema, cr as spaceTraceExecutionIdentityProjectionSchema, ct as spaceCallerContextSchema, dn as resultArchivePolicySchema, dr as spacePasswordSchema, dt as agentTaskCompletionObservationSchema, en as spaceEvidenceReferencesSchema, et as AGENT_REPLY_PLACEMENT_HEADER, fn as spaceAllowedActionsSchema, ft as agentTaskHandleSchema, gi as spaceComposerUploadIdSchema, gn as workingLanguageTagSchema, gr as organizationInformationProtectionPolicyResponseSchema, gt as controllerAgentTaskHandleSchema, hi as spaceComposerUploadDescriptorSchema, hn as workingLanguageGuidanceSchema, hr as spaceMentionLabelSourceSchema, ht as buildAgentTaskKey, i as daemonExecutionCompatibilitySchema, ii as createSpaceFolderResponseSchema, in as executionHostObservationSchema, ji as spaceMessageFileReferencesSchema, jn as connectorServiceSchema, jr as localFolderPickerRequestSchema, jt as signalStatusDataSchema, ki as spaceFolderDescriptorSchema, kn as connectorConnectionNameSchema, kt as centerAgentExecutionInputTargetSchema, li as listSpaceFilesResponseSchema, lr as SPACE_PASSWORD_RATE_LIMITED_ERROR_CODE, lt as agentDelegationSnapshotSchema, mi as restoreSpaceFileRevisionResponseSchema, mn as spaceDispatchPolicySchema, mr as spaceMentionLabelSchema, mt as areAgentTaskTerminalOutcomesEqual, ni as SPACE_FILE_MAX_SIZE_BYTES, nr as runtimeCoordinatorExecutionEventSchema, nt as aiUsageQueryResponseSchema, oi as getSpaceFileResponseSchema, on as spaceThreadEventSchema, pi as restoreSpaceFileEntryResponseSchema, pn as spacePublicationModeSchema, pt as agentTaskTerminalOutcomeSchema, q as openMeldDaemonProviderAccessEvidenceProviderSchema, qi as slackThreadPublicationPermalinkSchema, qr as authProfileManagedRoleSchema, rn as computerCareObservationSchema, rr as runtimeCoordinatorExecutionRecordSchema, sn as spaceThreadSchema, ti as SPACE_FILE_ERROR_CODES, tr as runtimeCoordinatorExecutionCreationDiagnosticSchema, ui as publishSpaceComposerUploadResponseSchema, ur as normalizeSpacePasswordText, ut as agentTaskCompletionConditionSchema, vi as spaceFileBaseRevisionSchema, vn as targetWakeLifecycleIdentitySchema, vr as updateOrganizationInformationProtectionPolicyBodySchema, wi as spaceFileMimeTypeSchema, wr as inspectExecutionRecoveryResponseSchema, xi as spaceFileClientMutationIdSchema, xr as localAgentReasoningPreferencesSchema, yi as spaceFileBreadcrumbSchema, zi as buildMessageChannelConversationId, zn as agentStreamToolPartSchema, zr as localAgentCatalogLaunchStatusSchema, zt as spaceAttachmentFileNameSchema } from "./runtime-transport-DRb5__yP.js";
|
|
4
4
|
import { A as profileKindSchema, E as agentProfileIdSchema, F as uuidProfileIdSchema, I as finiteIntegerNumber, L as nonEmptyTrimmedStringFromUnknown, M as profileSchema, N as profileWorkingDirectorySchema, O as openMeldRuntimeProfileIdSchema, P as profileWorkspaceModeSchema, R as optionalBooleanQuerySchema, r as localAgentInstallationOptionSchema, v as openMeldDaemonSyncRouteCatalogPayloadSchema, w as dispatchExecutionSchema, z as trimmedStringFromUnknown } from "./control-plane-B93wmVS6.js";
|
|
5
5
|
import { A as boolean, B as neverFactory, D as NEVER, F as int, G as record, H as number, I as iso, J as tuple, K as strictObject, L as json, M as discriminatedUnion, N as email, P as enumFactory, Q as url, R as lazySchema, S as openMeldToolsUpdateOperationSchema, U as object, V as nullFactory, W as preprocess, X as union, Y as undefinedFactory, Z as unknown, _ as openMeldToolsMaintenanceMutationResultSchema, c as localComponentUpdatePolicySchema, j as coerce, k as array, l as localComponentUpdateProjectionSchema, q as string, u as localComponentUpdateStatusSchema, v as openMeldToolsMaintenanceProjectionSchema, w as openMeldToolsUpdateRequestResultSchema, z as literal } from "./local-components-jXECvlEY.js";
|
|
6
6
|
import { C as resolveBuiltinAgentControllerConversationCapability, S as agentControllerConversationCapabilitySchema, b as normalizeKnownBuiltinAgentControllerId, h as agentControllerRefSchema, s as runtimeTransportModeSchema } from "./controller-contract-DAOCaefz.js";
|
|
7
7
|
import { i as cliBinaryManifestSchema } from "./cli-binary-manifest-ChuzORh3.js";
|
|
8
8
|
import { r as daemonServiceLaneSchema } from "./service-contract-CRyDcIIf.js";
|
|
9
|
-
import { n as
|
|
9
|
+
import { n as agentControllerCollaborationModeSchema, t as openCodePermissionConfigSchema } from "./open-code-permission-B5f1e5an.js";
|
|
10
10
|
import { n as toErrorMessage$3 } from "./dist-BLuEEVHh.js";
|
|
11
11
|
import * as z$1 from "zod/v4";
|
|
12
12
|
//#region ../../packages/schemas/dist/schemas/http/space-file-upload.js
|
|
@@ -3598,6 +3598,10 @@ const spaceMetaSchema = z$1.strictObject({
|
|
|
3598
3598
|
storageUsage: spaceStorageUsageSchema.optional()
|
|
3599
3599
|
});
|
|
3600
3600
|
const patchSpaceMetaResponseSchema = spaceMetaSchema;
|
|
3601
|
+
z$1.strictObject({
|
|
3602
|
+
meta: spaceMetaSchema,
|
|
3603
|
+
activeMember: z$1.boolean()
|
|
3604
|
+
});
|
|
3601
3605
|
const patchSpaceMetaBodySchema = z$1.strictObject({
|
|
3602
3606
|
visibility: spaceOrganizationVisibilitySchema.optional(),
|
|
3603
3607
|
allowGuests: z$1.boolean().optional(),
|
|
@@ -3625,7 +3629,7 @@ const patchSpaceMetaBodySchema = z$1.strictObject({
|
|
|
3625
3629
|
//#endregion
|
|
3626
3630
|
//#region ../../packages/schemas/dist/schemas/runtime/channel-context.js
|
|
3627
3631
|
const CHANNEL_CONTEXT_MESSAGE_TEXT_MAX_CHARS = 4e3;
|
|
3628
|
-
const nonEmptyStringSchema$
|
|
3632
|
+
const nonEmptyStringSchema$3 = z$1.string().trim().min(1);
|
|
3629
3633
|
const channelContextAuthorSchema = z$1.strictObject({
|
|
3630
3634
|
kind: z$1.enum([
|
|
3631
3635
|
"human",
|
|
@@ -3634,14 +3638,14 @@ const channelContextAuthorSchema = z$1.strictObject({
|
|
|
3634
3638
|
"system",
|
|
3635
3639
|
"unknown"
|
|
3636
3640
|
]),
|
|
3637
|
-
id: nonEmptyStringSchema$
|
|
3638
|
-
displayName: nonEmptyStringSchema$
|
|
3641
|
+
id: nonEmptyStringSchema$3.max(256).optional(),
|
|
3642
|
+
displayName: nonEmptyStringSchema$3.max(256).optional()
|
|
3639
3643
|
});
|
|
3640
3644
|
const channelContextMessageSchema = z$1.strictObject({
|
|
3641
|
-
id: nonEmptyStringSchema$
|
|
3645
|
+
id: nonEmptyStringSchema$3.max(256),
|
|
3642
3646
|
author: channelContextAuthorSchema,
|
|
3643
3647
|
sentAtMs: z$1.number().int().nonnegative().max(Number.MAX_SAFE_INTEGER),
|
|
3644
|
-
text: nonEmptyStringSchema$
|
|
3648
|
+
text: nonEmptyStringSchema$3.max(CHANNEL_CONTEXT_MESSAGE_TEXT_MAX_CHARS)
|
|
3645
3649
|
});
|
|
3646
3650
|
const channelContextSyncSchema = z$1.strictObject({
|
|
3647
3651
|
mode: z$1.enum(["snapshot", "delta"]),
|
|
@@ -3655,8 +3659,8 @@ const channelContextSyncSchema = z$1.strictObject({
|
|
|
3655
3659
|
});
|
|
3656
3660
|
const channelContextSchema = z$1.strictObject({
|
|
3657
3661
|
provider: messageChannelProviderSchema,
|
|
3658
|
-
conversationId: nonEmptyStringSchema$
|
|
3659
|
-
currentMessageId: nonEmptyStringSchema$
|
|
3662
|
+
conversationId: nonEmptyStringSchema$3.max(512),
|
|
3663
|
+
currentMessageId: nonEmptyStringSchema$3.max(256),
|
|
3660
3664
|
sync: channelContextSyncSchema,
|
|
3661
3665
|
messages: z$1.array(channelContextMessageSchema).max(20)
|
|
3662
3666
|
}).superRefine((context, refinement) => {
|
|
@@ -3708,7 +3712,7 @@ const channelContextSchema = z$1.strictObject({
|
|
|
3708
3712
|
});
|
|
3709
3713
|
//#endregion
|
|
3710
3714
|
//#region ../../packages/schemas/dist/schemas/runtime/remote-agent-turn-envelope.js
|
|
3711
|
-
const nonEmptyStringSchema$
|
|
3715
|
+
const nonEmptyStringSchema$2 = string().trim().min(1);
|
|
3712
3716
|
const REMOTE_AGENT_TURN_ENVELOPE_MEMORY_ITEM_TEXT_MAX_CHARS = 1200;
|
|
3713
3717
|
const remoteAgentWorkLoopCheckpointSchema = strictObject({
|
|
3714
3718
|
reason: literal("tool_call_budget_exhausted"),
|
|
@@ -3717,7 +3721,7 @@ const remoteAgentWorkLoopCheckpointSchema = strictObject({
|
|
|
3717
3721
|
});
|
|
3718
3722
|
const remoteAgentWorkLoopContinuationSchema = strictObject({
|
|
3719
3723
|
attempt: number().int().positive().max(8),
|
|
3720
|
-
previousSubmissionId: nonEmptyStringSchema$
|
|
3724
|
+
previousSubmissionId: nonEmptyStringSchema$2,
|
|
3721
3725
|
reason: literal("tool_call_budget_exhausted"),
|
|
3722
3726
|
v: literal(1)
|
|
3723
3727
|
});
|
|
@@ -3758,11 +3762,11 @@ const centerAgentContextScopePlanSchema = strictObject({
|
|
|
3758
3762
|
});
|
|
3759
3763
|
const remoteAgentTurnEnvelopePersonSenderShape = {
|
|
3760
3764
|
callerContext: spaceCallerContextSchema.optional(),
|
|
3761
|
-
id: nonEmptyStringSchema$
|
|
3762
|
-
displayName: nonEmptyStringSchema$
|
|
3763
|
-
ownerUserId: nonEmptyStringSchema$
|
|
3764
|
-
profileId: nonEmptyStringSchema$
|
|
3765
|
-
role: nonEmptyStringSchema$
|
|
3765
|
+
id: nonEmptyStringSchema$2,
|
|
3766
|
+
displayName: nonEmptyStringSchema$2,
|
|
3767
|
+
ownerUserId: nonEmptyStringSchema$2.optional(),
|
|
3768
|
+
profileId: nonEmptyStringSchema$2.optional(),
|
|
3769
|
+
role: nonEmptyStringSchema$2.optional(),
|
|
3766
3770
|
messageChannelIdentity: messageChannelParticipantIdentitySchema.optional(),
|
|
3767
3771
|
verified: boolean()
|
|
3768
3772
|
};
|
|
@@ -3777,38 +3781,38 @@ const remoteAgentTurnEnvelopeSenderSchema = discriminatedUnion("kind", [
|
|
|
3777
3781
|
}),
|
|
3778
3782
|
strictObject({
|
|
3779
3783
|
kind: literal("routine"),
|
|
3780
|
-
routineId: nonEmptyStringSchema$
|
|
3781
|
-
createdByUserId: nonEmptyStringSchema$
|
|
3784
|
+
routineId: nonEmptyStringSchema$2,
|
|
3785
|
+
createdByUserId: nonEmptyStringSchema$2,
|
|
3782
3786
|
delegatedBy: strictObject({
|
|
3783
|
-
id: nonEmptyStringSchema$
|
|
3784
|
-
displayName: nonEmptyStringSchema$
|
|
3785
|
-
ownerUserId: nonEmptyStringSchema$
|
|
3786
|
-
profileId: nonEmptyStringSchema$
|
|
3787
|
-
role: nonEmptyStringSchema$
|
|
3787
|
+
id: nonEmptyStringSchema$2,
|
|
3788
|
+
displayName: nonEmptyStringSchema$2,
|
|
3789
|
+
ownerUserId: nonEmptyStringSchema$2,
|
|
3790
|
+
profileId: nonEmptyStringSchema$2.optional(),
|
|
3791
|
+
role: nonEmptyStringSchema$2.optional(),
|
|
3788
3792
|
verified: literal(true)
|
|
3789
3793
|
})
|
|
3790
3794
|
})
|
|
3791
3795
|
]);
|
|
3792
3796
|
const remoteAgentTurnEnvelopeSpaceSchema = strictObject({
|
|
3793
|
-
id: nonEmptyStringSchema$
|
|
3794
|
-
name: nonEmptyStringSchema$
|
|
3797
|
+
id: nonEmptyStringSchema$2,
|
|
3798
|
+
name: nonEmptyStringSchema$2,
|
|
3795
3799
|
kind: enumFactory(["dm", "space"]),
|
|
3796
3800
|
isCenterAgentDm: boolean(),
|
|
3797
|
-
guide: nonEmptyStringSchema$
|
|
3801
|
+
guide: nonEmptyStringSchema$2.max(MAX_SPACE_GUIDE_LENGTH).optional()
|
|
3798
3802
|
});
|
|
3799
3803
|
const remoteAgentTurnEnvelopeOrganizationSchema = strictObject({
|
|
3800
|
-
id: nonEmptyStringSchema$
|
|
3801
|
-
name: nonEmptyStringSchema$
|
|
3804
|
+
id: nonEmptyStringSchema$2,
|
|
3805
|
+
name: nonEmptyStringSchema$2,
|
|
3802
3806
|
personal: boolean(),
|
|
3803
3807
|
memberCount: number().int().nonnegative(),
|
|
3804
3808
|
webUrl: openMeldWebUrlSchema.optional(),
|
|
3805
3809
|
workingLanguage: workingLanguageGuidanceSchema.optional()
|
|
3806
3810
|
});
|
|
3807
3811
|
const remoteAgentTurnEnvelopeCenterAgentSchema = strictObject({
|
|
3808
|
-
profileName: nonEmptyStringSchema$
|
|
3809
|
-
profileHandle: nonEmptyStringSchema$
|
|
3812
|
+
profileName: nonEmptyStringSchema$2,
|
|
3813
|
+
profileHandle: nonEmptyStringSchema$2
|
|
3810
3814
|
});
|
|
3811
|
-
const remoteAgentSlackSearchAuthorizationSchema = strictObject({ encryptedAuthorization: nonEmptyStringSchema$
|
|
3815
|
+
const remoteAgentSlackSearchAuthorizationSchema = strictObject({ encryptedAuthorization: nonEmptyStringSchema$2.max(8192) });
|
|
3812
3816
|
const remoteAgentRoutineDestinationSchema = discriminatedUnion("kind", [
|
|
3813
3817
|
strictObject({
|
|
3814
3818
|
kind: literal("message_channel"),
|
|
@@ -3816,22 +3820,22 @@ const remoteAgentRoutineDestinationSchema = discriminatedUnion("kind", [
|
|
|
3816
3820
|
}),
|
|
3817
3821
|
strictObject({
|
|
3818
3822
|
kind: literal("space"),
|
|
3819
|
-
spaceId: nonEmptyStringSchema$
|
|
3823
|
+
spaceId: nonEmptyStringSchema$2
|
|
3820
3824
|
}),
|
|
3821
3825
|
strictObject({
|
|
3822
|
-
channelId: nonEmptyStringSchema$
|
|
3823
|
-
conversationId: nonEmptyStringSchema$
|
|
3826
|
+
channelId: nonEmptyStringSchema$2,
|
|
3827
|
+
conversationId: nonEmptyStringSchema$2,
|
|
3824
3828
|
kind: literal("slack_thread"),
|
|
3825
|
-
label: nonEmptyStringSchema$
|
|
3826
|
-
teamId: nonEmptyStringSchema$
|
|
3827
|
-
threadTs: nonEmptyStringSchema$
|
|
3829
|
+
label: nonEmptyStringSchema$2.optional(),
|
|
3830
|
+
teamId: nonEmptyStringSchema$2,
|
|
3831
|
+
threadTs: nonEmptyStringSchema$2
|
|
3828
3832
|
})
|
|
3829
3833
|
]);
|
|
3830
3834
|
const remoteAgentRoutineContinuationSchema = strictObject({
|
|
3831
3835
|
delegation: agentDelegationSnapshotSchema,
|
|
3832
|
-
delegationId: nonEmptyStringSchema$
|
|
3836
|
+
delegationId: nonEmptyStringSchema$2,
|
|
3833
3837
|
outcome: agentTaskTerminalOutcomeSchema,
|
|
3834
|
-
subscriptionId: nonEmptyStringSchema$
|
|
3838
|
+
subscriptionId: nonEmptyStringSchema$2,
|
|
3835
3839
|
watchedTask: agentTaskHandleSchema
|
|
3836
3840
|
});
|
|
3837
3841
|
const remoteAgentTurnEnvelopeTriggerSchema = discriminatedUnion("source", [
|
|
@@ -3839,11 +3843,11 @@ const remoteAgentTurnEnvelopeTriggerSchema = discriminatedUnion("source", [
|
|
|
3839
3843
|
strictObject({ source: literal("space_wake") }),
|
|
3840
3844
|
strictObject({
|
|
3841
3845
|
source: literal("slack"),
|
|
3842
|
-
teamId: nonEmptyStringSchema$
|
|
3843
|
-
channelId: nonEmptyStringSchema$
|
|
3844
|
-
threadTs: nonEmptyStringSchema$
|
|
3845
|
-
conversationId: nonEmptyStringSchema$
|
|
3846
|
-
channelName: nonEmptyStringSchema$
|
|
3846
|
+
teamId: nonEmptyStringSchema$2.optional(),
|
|
3847
|
+
channelId: nonEmptyStringSchema$2.optional(),
|
|
3848
|
+
threadTs: nonEmptyStringSchema$2.optional(),
|
|
3849
|
+
conversationId: nonEmptyStringSchema$2.optional(),
|
|
3850
|
+
channelName: nonEmptyStringSchema$2.optional(),
|
|
3847
3851
|
replyPlacement: enumFactory(["conversation", "thread"]).optional(),
|
|
3848
3852
|
searchAuthorization: remoteAgentSlackSearchAuthorizationSchema.optional()
|
|
3849
3853
|
}),
|
|
@@ -3851,8 +3855,8 @@ const remoteAgentTurnEnvelopeTriggerSchema = discriminatedUnion("source", [
|
|
|
3851
3855
|
source: literal("message_channel"),
|
|
3852
3856
|
routineLocator: messageChannelConversationLocatorSchema.optional(),
|
|
3853
3857
|
provider: messageChannelProviderSchema,
|
|
3854
|
-
connectionId: nonEmptyStringSchema$
|
|
3855
|
-
conversationId: nonEmptyStringSchema$
|
|
3858
|
+
connectionId: nonEmptyStringSchema$2,
|
|
3859
|
+
conversationId: nonEmptyStringSchema$2,
|
|
3856
3860
|
filePublicationSupported: literal(true).optional(),
|
|
3857
3861
|
resources: array(messageChannelResourceDescriptorSchema).max(10).optional()
|
|
3858
3862
|
}),
|
|
@@ -3860,34 +3864,34 @@ const remoteAgentTurnEnvelopeTriggerSchema = discriminatedUnion("source", [
|
|
|
3860
3864
|
authorizedActions: centerAgentRoutineAuthorizedActionsSchema.default([]),
|
|
3861
3865
|
externalActionPolicy: centerAgentRoutineExternalActionPolicySchema.optional(),
|
|
3862
3866
|
source: literal("routine"),
|
|
3863
|
-
routineId: nonEmptyStringSchema$
|
|
3864
|
-
runId: nonEmptyStringSchema$
|
|
3867
|
+
routineId: nonEmptyStringSchema$2,
|
|
3868
|
+
runId: nonEmptyStringSchema$2,
|
|
3865
3869
|
scheduledFor: number().int().nonnegative(),
|
|
3866
|
-
routineName: nonEmptyStringSchema$
|
|
3870
|
+
routineName: nonEmptyStringSchema$2.max(120),
|
|
3867
3871
|
destination: remoteAgentRoutineDestinationSchema.optional(),
|
|
3868
3872
|
continuation: remoteAgentRoutineContinuationSchema.optional()
|
|
3869
3873
|
}),
|
|
3870
3874
|
strictObject({
|
|
3871
3875
|
source: literal("member_research"),
|
|
3872
|
-
taskId: nonEmptyStringSchema$
|
|
3873
|
-
subjectUserId: nonEmptyStringSchema$
|
|
3874
|
-
subjectDisplayName: nonEmptyStringSchema$
|
|
3876
|
+
taskId: nonEmptyStringSchema$2,
|
|
3877
|
+
subjectUserId: nonEmptyStringSchema$2,
|
|
3878
|
+
subjectDisplayName: nonEmptyStringSchema$2
|
|
3875
3879
|
}),
|
|
3876
3880
|
strictObject({
|
|
3877
3881
|
delegation: agentDelegationSnapshotSchema.optional(),
|
|
3878
|
-
delegationId: nonEmptyStringSchema$
|
|
3882
|
+
delegationId: nonEmptyStringSchema$2,
|
|
3879
3883
|
outcome: agentTaskTerminalOutcomeSchema,
|
|
3880
3884
|
source: literal("task_continuation"),
|
|
3881
3885
|
summaryOnly: literal(true).optional(),
|
|
3882
|
-
subscriptionId: nonEmptyStringSchema$
|
|
3886
|
+
subscriptionId: nonEmptyStringSchema$2,
|
|
3883
3887
|
watchedTask: agentTaskHandleSchema
|
|
3884
3888
|
}),
|
|
3885
3889
|
strictObject({
|
|
3886
3890
|
outcome: agentTaskCompletionObservationSchema,
|
|
3887
3891
|
source: literal("task_watch_continuation"),
|
|
3888
|
-
subscriptionId: nonEmptyStringSchema$
|
|
3892
|
+
subscriptionId: nonEmptyStringSchema$2,
|
|
3889
3893
|
watchedTask: agentTaskHandleSchema,
|
|
3890
|
-
watchId: nonEmptyStringSchema$
|
|
3894
|
+
watchId: nonEmptyStringSchema$2
|
|
3891
3895
|
})
|
|
3892
3896
|
]);
|
|
3893
3897
|
enumFactory([
|
|
@@ -3898,7 +3902,7 @@ enumFactory([
|
|
|
3898
3902
|
"message_channel_conversation"
|
|
3899
3903
|
]);
|
|
3900
3904
|
const remoteAgentTurnEnvelopeMemorySubjectSchema = enumFactory(["member", "organization"]);
|
|
3901
|
-
const remoteAgentTurnEnvelopeMemoryItemTextSchema = nonEmptyStringSchema$
|
|
3905
|
+
const remoteAgentTurnEnvelopeMemoryItemTextSchema = nonEmptyStringSchema$2.max(REMOTE_AGENT_TURN_ENVELOPE_MEMORY_ITEM_TEXT_MAX_CHARS);
|
|
3902
3906
|
const remoteAgentTurnEnvelopeMemorySchema = strictObject({
|
|
3903
3907
|
items: array(discriminatedUnion("source", [strictObject({
|
|
3904
3908
|
source: enumFactory([
|
|
@@ -6966,10 +6970,10 @@ function compareOrganizationSkillJsonKeys(left, right) {
|
|
|
6966
6970
|
}
|
|
6967
6971
|
//#endregion
|
|
6968
6972
|
//#region ../../packages/schemas/dist/schemas/runtime/remote-agent-worker.js
|
|
6969
|
-
const nonEmptyStringSchema$
|
|
6970
|
-
const optionalNonEmptyStringSchema = nonEmptyStringSchema$
|
|
6971
|
-
const nullableNonEmptyStringSchema = nonEmptyStringSchema$
|
|
6972
|
-
const optionalDispatchErrorSummarySchema = nonEmptyStringSchema$
|
|
6973
|
+
const nonEmptyStringSchema$1 = string().trim().min(1);
|
|
6974
|
+
const optionalNonEmptyStringSchema = nonEmptyStringSchema$1.optional();
|
|
6975
|
+
const nullableNonEmptyStringSchema = nonEmptyStringSchema$1.nullable();
|
|
6976
|
+
const optionalDispatchErrorSummarySchema = nonEmptyStringSchema$1.max(512).optional();
|
|
6973
6977
|
const REMOTE_AGENT_CONVERSATION_CONTINUITY_ENTRY_TEXT_MAX_CHARS = 4e3;
|
|
6974
6978
|
const REMOTE_AGENT_LOGICAL_CONVERSATION_ID_MAX_CHARS = 1024;
|
|
6975
6979
|
const REMOTE_AGENT_RUNTIME_CONVERSATION_ID_MAX_CHARS = 2048;
|
|
@@ -6977,9 +6981,9 @@ const contentHashSchema$1 = string().regex(/^sha256:[0-9a-f]{64}$/u);
|
|
|
6977
6981
|
const isoDateTimeSchema$3 = iso.datetime({ offset: true });
|
|
6978
6982
|
strictObject({
|
|
6979
6983
|
v: literal(1),
|
|
6980
|
-
deliveryId: nonEmptyStringSchema$
|
|
6981
|
-
dispatchId: nonEmptyStringSchema$
|
|
6982
|
-
idempotencyKey: nonEmptyStringSchema$
|
|
6984
|
+
deliveryId: nonEmptyStringSchema$1,
|
|
6985
|
+
dispatchId: nonEmptyStringSchema$1,
|
|
6986
|
+
idempotencyKey: nonEmptyStringSchema$1,
|
|
6983
6987
|
attempt: number().int().positive(),
|
|
6984
6988
|
deliveryCreatedAtMs: number().int().nonnegative(),
|
|
6985
6989
|
currentAttemptSubmittedAtMs: number().int().nonnegative().nullable(),
|
|
@@ -6987,7 +6991,7 @@ strictObject({
|
|
|
6987
6991
|
retryDueAtMs: number().int().nonnegative().nullable(),
|
|
6988
6992
|
elapsedMs: number().int().nonnegative().optional(),
|
|
6989
6993
|
accepted: boolean().optional(),
|
|
6990
|
-
submissionId: nonEmptyStringSchema$
|
|
6994
|
+
submissionId: nonEmptyStringSchema$1.optional(),
|
|
6991
6995
|
outcome: enumFactory([
|
|
6992
6996
|
"acknowledged",
|
|
6993
6997
|
"rejected",
|
|
@@ -7015,8 +7019,8 @@ strictObject({
|
|
|
7015
7019
|
});
|
|
7016
7020
|
strictObject({
|
|
7017
7021
|
v: literal(1),
|
|
7018
|
-
idempotencyKey: nonEmptyStringSchema$
|
|
7019
|
-
subscriptionId: nonEmptyStringSchema$
|
|
7022
|
+
idempotencyKey: nonEmptyStringSchema$1,
|
|
7023
|
+
subscriptionId: nonEmptyStringSchema$1,
|
|
7020
7024
|
observedAtMs: number().int().nonnegative(),
|
|
7021
7025
|
subscriptionCreatedAtMs: number().int().nonnegative().optional(),
|
|
7022
7026
|
enqueuedAtMs: number().int().nonnegative().optional(),
|
|
@@ -7043,7 +7047,7 @@ function buildPersonalRemoteAgentConversationId(input) {
|
|
|
7043
7047
|
input.organizationId,
|
|
7044
7048
|
input.agentProfileId,
|
|
7045
7049
|
input.spaceId
|
|
7046
|
-
].map((value) => nonEmptyStringSchema$
|
|
7050
|
+
].map((value) => nonEmptyStringSchema$1.max(256).parse(value)).map((value) => `${value.length}:${value}`)].join("|");
|
|
7047
7051
|
}
|
|
7048
7052
|
/** A scheduled Run owns its execution history independently of its result destination. */
|
|
7049
7053
|
function buildRemoteAgentRoutineRunConversationId(input) {
|
|
@@ -7051,14 +7055,14 @@ function buildRemoteAgentRoutineRunConversationId(input) {
|
|
|
7051
7055
|
input.organizationId,
|
|
7052
7056
|
input.agentProfileId,
|
|
7053
7057
|
input.runId
|
|
7054
|
-
].map((value) => nonEmptyStringSchema$
|
|
7058
|
+
].map((value) => nonEmptyStringSchema$1.max(256).parse(value)).map((value) => `${value.length}:${value}`)].join("|");
|
|
7055
7059
|
}
|
|
7056
7060
|
function buildRemoteAgentRuntimeConversationId(input) {
|
|
7057
|
-
const organizationId = nonEmptyStringSchema$
|
|
7058
|
-
const logicalConversationId = nonEmptyStringSchema$
|
|
7061
|
+
const organizationId = nonEmptyStringSchema$1.max(256).parse(input.organizationId);
|
|
7062
|
+
const logicalConversationId = nonEmptyStringSchema$1.max(REMOTE_AGENT_LOGICAL_CONVERSATION_ID_MAX_CHARS).parse(input.logicalConversationId);
|
|
7059
7063
|
const generation = number().int().nonnegative().parse(input.generation);
|
|
7060
7064
|
if (generation === 0) return logicalConversationId;
|
|
7061
|
-
return nonEmptyStringSchema$
|
|
7065
|
+
return nonEmptyStringSchema$1.max(REMOTE_AGENT_RUNTIME_CONVERSATION_ID_MAX_CHARS).parse([
|
|
7062
7066
|
"remote-agent-runtime-generation.v1",
|
|
7063
7067
|
`${organizationId.length}:${organizationId}`,
|
|
7064
7068
|
`${logicalConversationId.length}:${logicalConversationId}`,
|
|
@@ -7067,13 +7071,13 @@ function buildRemoteAgentRuntimeConversationId(input) {
|
|
|
7067
7071
|
}
|
|
7068
7072
|
const remoteAgentConversationContinuityEntrySourceSchema = discriminatedUnion("kind", [strictObject({
|
|
7069
7073
|
kind: literal("space_signal"),
|
|
7070
|
-
signalId: nonEmptyStringSchema$
|
|
7071
|
-
spaceId: nonEmptyStringSchema$
|
|
7074
|
+
signalId: nonEmptyStringSchema$1.max(256),
|
|
7075
|
+
spaceId: nonEmptyStringSchema$1.max(256),
|
|
7072
7076
|
version: contentHashSchema$1
|
|
7073
7077
|
}), strictObject({
|
|
7074
|
-
conversationId: nonEmptyStringSchema$
|
|
7078
|
+
conversationId: nonEmptyStringSchema$1.max(512),
|
|
7075
7079
|
kind: literal("message_channel_message"),
|
|
7076
|
-
messageId: nonEmptyStringSchema$
|
|
7080
|
+
messageId: nonEmptyStringSchema$1.max(256),
|
|
7077
7081
|
provider: enumFactory([
|
|
7078
7082
|
"feishu",
|
|
7079
7083
|
"lark",
|
|
@@ -7083,8 +7087,8 @@ const remoteAgentConversationContinuityEntrySourceSchema = discriminatedUnion("k
|
|
|
7083
7087
|
const remoteAgentConversationContinuityContextSchema = strictObject({
|
|
7084
7088
|
entries: array(strictObject({
|
|
7085
7089
|
author: strictObject({
|
|
7086
|
-
displayName: nonEmptyStringSchema$
|
|
7087
|
-
id: nonEmptyStringSchema$
|
|
7090
|
+
displayName: nonEmptyStringSchema$1.max(256).optional(),
|
|
7091
|
+
id: nonEmptyStringSchema$1.max(256).optional(),
|
|
7088
7092
|
kind: enumFactory([
|
|
7089
7093
|
"agent",
|
|
7090
7094
|
"bot",
|
|
@@ -7116,7 +7120,7 @@ const remoteAgentConversationContinuityContextSchema = strictObject({
|
|
|
7116
7120
|
});
|
|
7117
7121
|
})).min(1).max(20),
|
|
7118
7122
|
fromGeneration: number().int().nonnegative(),
|
|
7119
|
-
logicalConversationId: nonEmptyStringSchema$
|
|
7123
|
+
logicalConversationId: nonEmptyStringSchema$1.max(REMOTE_AGENT_LOGICAL_CONVERSATION_ID_MAX_CHARS),
|
|
7120
7124
|
toGeneration: number().int().positive(),
|
|
7121
7125
|
truncated: boolean(),
|
|
7122
7126
|
v: literal(1)
|
|
@@ -7134,7 +7138,7 @@ const remoteAgentConversationContinuityContextSchema = strictObject({
|
|
|
7134
7138
|
});
|
|
7135
7139
|
const remoteAgentRuntimeConversationSchema = strictObject({
|
|
7136
7140
|
generation: number().int().nonnegative(),
|
|
7137
|
-
id: nonEmptyStringSchema$
|
|
7141
|
+
id: nonEmptyStringSchema$1.max(REMOTE_AGENT_RUNTIME_CONVERSATION_ID_MAX_CHARS)
|
|
7138
7142
|
});
|
|
7139
7143
|
const REMOTE_AGENT_STREAM_DELTA_MAX_CHARS = 1024;
|
|
7140
7144
|
enumFactory(Object.values({
|
|
@@ -7186,7 +7190,7 @@ const remoteAgentRuntimeEvidenceReasonCodeSchema = enumFactory(Object.values({
|
|
|
7186
7190
|
TURN_TIMEOUT: "remote_agent.turn.timeout"
|
|
7187
7191
|
}));
|
|
7188
7192
|
const remoteAgentWorkerSubmitMessagesResultSchema = strictObject({
|
|
7189
|
-
submissionId: nonEmptyStringSchema$
|
|
7193
|
+
submissionId: nonEmptyStringSchema$1,
|
|
7190
7194
|
idempotencyKey: optionalNonEmptyStringSchema,
|
|
7191
7195
|
requestId: optionalNonEmptyStringSchema,
|
|
7192
7196
|
status: enumFactory([
|
|
@@ -7223,7 +7227,7 @@ discriminatedUnion("status", [
|
|
|
7223
7227
|
status: literal("found"),
|
|
7224
7228
|
ack: remoteAgentWorkerSubmitMessagesResultSchema.extend({
|
|
7225
7229
|
accepted: literal(false),
|
|
7226
|
-
idempotencyKey: nonEmptyStringSchema$
|
|
7230
|
+
idempotencyKey: nonEmptyStringSchema$1
|
|
7227
7231
|
})
|
|
7228
7232
|
})
|
|
7229
7233
|
]);
|
|
@@ -7235,8 +7239,8 @@ const remoteAgentWorkerAdmissionRejectionCodeSchema = enumFactory([
|
|
|
7235
7239
|
]);
|
|
7236
7240
|
union([remoteAgentRuntimeEvidenceReasonCodeSchema, remoteAgentWorkerAdmissionRejectionCodeSchema]);
|
|
7237
7241
|
union([remoteAgentWorkerSubmitMessagesResultSchema, strictObject({
|
|
7238
|
-
idempotencyKey: nonEmptyStringSchema$
|
|
7239
|
-
message: nonEmptyStringSchema$
|
|
7242
|
+
idempotencyKey: nonEmptyStringSchema$1,
|
|
7243
|
+
message: nonEmptyStringSchema$1,
|
|
7240
7244
|
outcome: literal("rejected"),
|
|
7241
7245
|
reasonCode: remoteAgentWorkerAdmissionRejectionCodeSchema,
|
|
7242
7246
|
v: literal(1)
|
|
@@ -7248,7 +7252,7 @@ const remoteAgentWorkerInputAttachmentsSchema = array(union([spaceMessageAttachm
|
|
|
7248
7252
|
/**
|
|
7249
7253
|
* Core-resolved immutable object key for a canonical Space File revision.
|
|
7250
7254
|
*/
|
|
7251
|
-
objectKey: nonEmptyStringSchema$
|
|
7255
|
+
objectKey: nonEmptyStringSchema$1.max(4096),
|
|
7252
7256
|
removeAfterAdmission: neverFactory().optional(),
|
|
7253
7257
|
sizeBytes: number().int().finite().min(1).max(SPACE_FILE_MAX_SIZE_BYTES)
|
|
7254
7258
|
})])).max(10).superRefine((attachments, context) => {
|
|
@@ -7260,7 +7264,7 @@ const remoteAgentWorkerInputAttachmentsSchema = array(union([spaceMessageAttachm
|
|
|
7260
7264
|
});
|
|
7261
7265
|
const remoteAgentWorkerTurnMessageSchema = strictObject({
|
|
7262
7266
|
role: enumFactory(["user"]),
|
|
7263
|
-
content: nonEmptyStringSchema$
|
|
7267
|
+
content: nonEmptyStringSchema$1,
|
|
7264
7268
|
attachments: remoteAgentWorkerInputAttachmentsSchema.optional()
|
|
7265
7269
|
});
|
|
7266
7270
|
const remoteAgentWorkerAuthorContextSchema = strictObject({
|
|
@@ -7274,21 +7278,21 @@ const remoteAgentWorkerAuthorContextSchema = strictObject({
|
|
|
7274
7278
|
});
|
|
7275
7279
|
const remoteAgentWorkerSubmitTurnRequestShape = {
|
|
7276
7280
|
replyRecovery: strictObject({
|
|
7277
|
-
originalDispatchId: nonEmptyStringSchema$
|
|
7278
|
-
operationId: nonEmptyStringSchema$
|
|
7279
|
-
resultRef: nonEmptyStringSchema$
|
|
7281
|
+
originalDispatchId: nonEmptyStringSchema$1,
|
|
7282
|
+
operationId: nonEmptyStringSchema$1,
|
|
7283
|
+
resultRef: nonEmptyStringSchema$1.optional()
|
|
7280
7284
|
}).optional(),
|
|
7281
|
-
organizationId: nonEmptyStringSchema$
|
|
7282
|
-
spaceId: nonEmptyStringSchema$
|
|
7285
|
+
organizationId: nonEmptyStringSchema$1,
|
|
7286
|
+
spaceId: nonEmptyStringSchema$1,
|
|
7283
7287
|
conversationId: optionalNonEmptyStringSchema,
|
|
7284
7288
|
agentProfileId: agentProfileIdSchema,
|
|
7285
|
-
agentProfileOwnerUserId: nonEmptyStringSchema$
|
|
7286
|
-
bindingId: nonEmptyStringSchema$
|
|
7287
|
-
triggerMessageId: nonEmptyStringSchema$
|
|
7288
|
-
dispatchId: nonEmptyStringSchema$
|
|
7289
|
-
taskId: nonEmptyStringSchema$
|
|
7289
|
+
agentProfileOwnerUserId: nonEmptyStringSchema$1.nullable(),
|
|
7290
|
+
bindingId: nonEmptyStringSchema$1,
|
|
7291
|
+
triggerMessageId: nonEmptyStringSchema$1,
|
|
7292
|
+
dispatchId: nonEmptyStringSchema$1,
|
|
7293
|
+
taskId: nonEmptyStringSchema$1.optional(),
|
|
7290
7294
|
sourceClientMessageId: nullableNonEmptyStringSchema.optional(),
|
|
7291
|
-
idempotencyKey: nonEmptyStringSchema$
|
|
7295
|
+
idempotencyKey: nonEmptyStringSchema$1,
|
|
7292
7296
|
toolExecutionDeadlineAtMs: number().int().positive().max(Number.MAX_SAFE_INTEGER).optional(),
|
|
7293
7297
|
messages: array(remoteAgentWorkerTurnMessageSchema).min(1),
|
|
7294
7298
|
author: remoteAgentWorkerAuthorContextSchema,
|
|
@@ -7308,7 +7312,7 @@ const remoteAgentWorkerSubmitTurnRequestV2Schema = strictObject({
|
|
|
7308
7312
|
});
|
|
7309
7313
|
const remoteAgentWorkerConversationIdentitySchema = strictObject({
|
|
7310
7314
|
kind: literal("personal_agent"),
|
|
7311
|
-
agentProfileId: nonEmptyStringSchema$
|
|
7315
|
+
agentProfileId: nonEmptyStringSchema$1
|
|
7312
7316
|
});
|
|
7313
7317
|
discriminatedUnion("v", [
|
|
7314
7318
|
remoteAgentWorkerSubmitTurnRequestV1Schema,
|
|
@@ -7317,16 +7321,16 @@ discriminatedUnion("v", [
|
|
|
7317
7321
|
v: literal(4),
|
|
7318
7322
|
...remoteAgentWorkerSubmitTurnRequestShape,
|
|
7319
7323
|
conversationIdentity: remoteAgentWorkerConversationIdentitySchema.optional(),
|
|
7320
|
-
conversationId: nonEmptyStringSchema$
|
|
7324
|
+
conversationId: nonEmptyStringSchema$1.max(REMOTE_AGENT_LOGICAL_CONVERSATION_ID_MAX_CHARS),
|
|
7321
7325
|
continuityContext: remoteAgentConversationContinuityContextSchema.optional(),
|
|
7322
7326
|
sourceMessageEnvelope: messageEnvelopeSchema.optional(),
|
|
7323
7327
|
modelRoute: centerAgentModelRouteSchema,
|
|
7324
7328
|
runtimeConversation: remoteAgentRuntimeConversationSchema,
|
|
7325
7329
|
spaceDispatchContext: strictObject({
|
|
7326
|
-
dispatchChainId: nonEmptyStringSchema$
|
|
7330
|
+
dispatchChainId: nonEmptyStringSchema$1,
|
|
7327
7331
|
autoRelayDepth: number().int().nonnegative(),
|
|
7328
|
-
visitedProfileIds: array(nonEmptyStringSchema$
|
|
7329
|
-
visitedProfileIdsHash: nonEmptyStringSchema$
|
|
7332
|
+
visitedProfileIds: array(nonEmptyStringSchema$1).max(256),
|
|
7333
|
+
visitedProfileIdsHash: nonEmptyStringSchema$1
|
|
7330
7334
|
}).optional()
|
|
7331
7335
|
}).superRefine((request, context) => {
|
|
7332
7336
|
if (request.conversationIdentity?.kind === "personal_agent") {
|
|
@@ -7371,10 +7375,10 @@ discriminatedUnion("v", [
|
|
|
7371
7375
|
]);
|
|
7372
7376
|
const remoteAgentWorkerExecutionIdentitySchema = {
|
|
7373
7377
|
v: literal(1),
|
|
7374
|
-
organizationId: nonEmptyStringSchema$
|
|
7375
|
-
spaceId: nonEmptyStringSchema$
|
|
7376
|
-
submissionId: nonEmptyStringSchema$
|
|
7377
|
-
idempotencyKey: nonEmptyStringSchema$
|
|
7378
|
+
organizationId: nonEmptyStringSchema$1,
|
|
7379
|
+
spaceId: nonEmptyStringSchema$1,
|
|
7380
|
+
submissionId: nonEmptyStringSchema$1,
|
|
7381
|
+
idempotencyKey: nonEmptyStringSchema$1
|
|
7378
7382
|
};
|
|
7379
7383
|
const remoteAgentWorkerExecutionStatusSchema = enumFactory([
|
|
7380
7384
|
"pending",
|
|
@@ -7403,11 +7407,11 @@ strictObject({
|
|
|
7403
7407
|
});
|
|
7404
7408
|
const remoteAgentWorkerAdmissionStopIntentSchema = strictObject({
|
|
7405
7409
|
v: literal(1),
|
|
7406
|
-
organizationId: nonEmptyStringSchema$
|
|
7407
|
-
spaceId: nonEmptyStringSchema$
|
|
7408
|
-
idempotencyKey: nonEmptyStringSchema$
|
|
7410
|
+
organizationId: nonEmptyStringSchema$1,
|
|
7411
|
+
spaceId: nonEmptyStringSchema$1,
|
|
7412
|
+
idempotencyKey: nonEmptyStringSchema$1,
|
|
7409
7413
|
requestedAtMs: number().int().nonnegative(),
|
|
7410
|
-
reason: nonEmptyStringSchema$
|
|
7414
|
+
reason: nonEmptyStringSchema$1.max(512).nullable(),
|
|
7411
7415
|
summaryRecoveryId: optionalNonEmptyStringSchema
|
|
7412
7416
|
});
|
|
7413
7417
|
union([strictObject({
|
|
@@ -7429,7 +7433,7 @@ const remoteAgentWorkerExecutionStateSchema = strictObject({
|
|
|
7429
7433
|
lastProgressAtMs: number().int().nonnegative(),
|
|
7430
7434
|
lastProgressKind: remoteAgentWorkerExecutionProgressKindSchema,
|
|
7431
7435
|
completedAtMs: number().int().nonnegative().nullable(),
|
|
7432
|
-
cancellationReason: nonEmptyStringSchema$
|
|
7436
|
+
cancellationReason: nonEmptyStringSchema$1.max(512).nullable()
|
|
7433
7437
|
});
|
|
7434
7438
|
union([
|
|
7435
7439
|
strictObject({
|
|
@@ -7445,7 +7449,7 @@ union([
|
|
|
7445
7449
|
strictObject({
|
|
7446
7450
|
...remoteAgentWorkerExecutionIdentitySchema,
|
|
7447
7451
|
conversationId: optionalNonEmptyStringSchema,
|
|
7448
|
-
reason: nonEmptyStringSchema$
|
|
7452
|
+
reason: nonEmptyStringSchema$1.max(512).optional(),
|
|
7449
7453
|
summaryRecoveryId: optionalNonEmptyStringSchema
|
|
7450
7454
|
});
|
|
7451
7455
|
union([
|
|
@@ -7469,12 +7473,12 @@ union([
|
|
|
7469
7473
|
]);
|
|
7470
7474
|
strictObject({
|
|
7471
7475
|
organizationId: optionalNonEmptyStringSchema,
|
|
7472
|
-
runtimeConversationId: nonEmptyStringSchema$
|
|
7473
|
-
spaceId: nonEmptyStringSchema$
|
|
7476
|
+
runtimeConversationId: nonEmptyStringSchema$1.max(REMOTE_AGENT_RUNTIME_CONVERSATION_ID_MAX_CHARS),
|
|
7477
|
+
spaceId: nonEmptyStringSchema$1
|
|
7474
7478
|
});
|
|
7475
7479
|
strictObject({
|
|
7476
|
-
runtimeConversationId: nonEmptyStringSchema$
|
|
7477
|
-
spaceId: nonEmptyStringSchema$
|
|
7480
|
+
runtimeConversationId: nonEmptyStringSchema$1.max(REMOTE_AGENT_RUNTIME_CONVERSATION_ID_MAX_CHARS),
|
|
7481
|
+
spaceId: nonEmptyStringSchema$1
|
|
7478
7482
|
});
|
|
7479
7483
|
const nullableNonNegativeIntegerSchema = number().int().nonnegative().nullable();
|
|
7480
7484
|
const remoteAgentRuntimeSubmissionDiagnosticSchema = strictObject({
|
|
@@ -7498,37 +7502,37 @@ const remoteAgentRuntimeSubmissionDiagnosticSchema = strictObject({
|
|
|
7498
7502
|
"terminalizing",
|
|
7499
7503
|
"settled"
|
|
7500
7504
|
]),
|
|
7501
|
-
submissionId: nonEmptyStringSchema$
|
|
7505
|
+
submissionId: nonEmptyStringSchema$1,
|
|
7502
7506
|
timeoutAtMs: number().int().nonnegative()
|
|
7503
7507
|
});
|
|
7504
7508
|
const remoteAgentRuntimeAttemptMarkerDiagnosticSchema = strictObject({
|
|
7505
|
-
attemptId: nonEmptyStringSchema$
|
|
7509
|
+
attemptId: nonEmptyStringSchema$1,
|
|
7506
7510
|
createdAtMs: number().int().nonnegative(),
|
|
7507
|
-
submissionId: nonEmptyStringSchema$
|
|
7511
|
+
submissionId: nonEmptyStringSchema$1
|
|
7508
7512
|
});
|
|
7509
7513
|
const remoteAgentRuntimeActiveRunDiagnosticSchema = strictObject({
|
|
7510
7514
|
createdAtMs: number().int().nonnegative(),
|
|
7511
|
-
id: nonEmptyStringSchema$
|
|
7512
|
-
name: nonEmptyStringSchema$
|
|
7515
|
+
id: nonEmptyStringSchema$1,
|
|
7516
|
+
name: nonEmptyStringSchema$1
|
|
7513
7517
|
});
|
|
7514
7518
|
const remoteAgentRuntimeFiberDiagnosticSchema = strictObject({
|
|
7515
7519
|
completedAtMs: nullableNonNegativeIntegerSchema,
|
|
7516
7520
|
createdAtMs: number().int().nonnegative(),
|
|
7517
|
-
fiberId: nonEmptyStringSchema$
|
|
7521
|
+
fiberId: nonEmptyStringSchema$1,
|
|
7518
7522
|
idempotencyKey: nullableNonEmptyStringSchema,
|
|
7519
|
-
name: nonEmptyStringSchema$
|
|
7523
|
+
name: nonEmptyStringSchema$1,
|
|
7520
7524
|
startedAtMs: nullableNonNegativeIntegerSchema,
|
|
7521
|
-
status: nonEmptyStringSchema$
|
|
7525
|
+
status: nonEmptyStringSchema$1
|
|
7522
7526
|
});
|
|
7523
7527
|
const remoteAgentRuntimeScheduleDiagnosticSchema = strictObject({
|
|
7524
7528
|
callback: nullableNonEmptyStringSchema,
|
|
7525
7529
|
createdAtSeconds: number().int().nonnegative(),
|
|
7526
7530
|
delayInSeconds: nullableNonNegativeIntegerSchema,
|
|
7527
7531
|
executionStartedAtMs: nullableNonNegativeIntegerSchema,
|
|
7528
|
-
id: nonEmptyStringSchema$
|
|
7532
|
+
id: nonEmptyStringSchema$1,
|
|
7529
7533
|
running: boolean(),
|
|
7530
7534
|
timeMs: nullableNonNegativeIntegerSchema,
|
|
7531
|
-
type: nonEmptyStringSchema$
|
|
7535
|
+
type: nonEmptyStringSchema$1
|
|
7532
7536
|
});
|
|
7533
7537
|
const remoteAgentRuntimeCallbackContextDiagnosticSchema = strictObject({
|
|
7534
7538
|
conversationCompaction: conversationCompactionMarkerSchema.optional(),
|
|
@@ -7543,7 +7547,7 @@ const remoteAgentRuntimeCallbackContextDiagnosticSchema = strictObject({
|
|
|
7543
7547
|
"rejected",
|
|
7544
7548
|
"retryable"
|
|
7545
7549
|
]),
|
|
7546
|
-
dispatchId: nonEmptyStringSchema$
|
|
7550
|
+
dispatchId: nonEmptyStringSchema$1,
|
|
7547
7551
|
hasCompletedText: boolean(),
|
|
7548
7552
|
lastCoreResponseReasonCode: nullableNonEmptyStringSchema,
|
|
7549
7553
|
lastCoreResponseStatus: enumFactory([
|
|
@@ -7553,16 +7557,16 @@ const remoteAgentRuntimeCallbackContextDiagnosticSchema = strictObject({
|
|
|
7553
7557
|
"retryable"
|
|
7554
7558
|
]).nullable(),
|
|
7555
7559
|
lastFailureCode: nullableNonEmptyStringSchema,
|
|
7556
|
-
submissionId: nonEmptyStringSchema$
|
|
7560
|
+
submissionId: nonEmptyStringSchema$1,
|
|
7557
7561
|
updatedAtMs: number().int().nonnegative()
|
|
7558
7562
|
});
|
|
7559
7563
|
const remoteAgentRecentToolCallDiagnosticSchema = strictObject({
|
|
7560
7564
|
calledAtMs: number().int().nonnegative(),
|
|
7561
7565
|
source: enumFactory(["code_mode", "direct"]),
|
|
7562
|
-
toolName: nonEmptyStringSchema$
|
|
7566
|
+
toolName: nonEmptyStringSchema$1.max(160)
|
|
7563
7567
|
});
|
|
7564
7568
|
const remoteAgentCapabilityDiscoveryDiagnosticSchema = strictObject({
|
|
7565
|
-
capabilityNames: array(nonEmptyStringSchema$
|
|
7569
|
+
capabilityNames: array(nonEmptyStringSchema$1.max(160)).max(12),
|
|
7566
7570
|
observedAtMs: number().int().nonnegative(),
|
|
7567
7571
|
operation: enumFactory(["describe", "search"]),
|
|
7568
7572
|
resultCount: number().int().nonnegative()
|
|
@@ -7595,7 +7599,7 @@ const remoteAgentTurnRuntimeEvidenceSchema = strictObject({
|
|
|
7595
7599
|
recentCapabilityDiscovery: array(remoteAgentCapabilityDiscoveryDiagnosticSchema).max(16),
|
|
7596
7600
|
recentProviderRequests: array(remoteAgentProviderRequestDiagnosticSchema).max(16),
|
|
7597
7601
|
recentToolCalls: array(remoteAgentRecentToolCallDiagnosticSchema).max(32),
|
|
7598
|
-
submissionId: nonEmptyStringSchema$
|
|
7602
|
+
submissionId: nonEmptyStringSchema$1,
|
|
7599
7603
|
toolCallCount: number().int().nonnegative(),
|
|
7600
7604
|
toolCallLimit: number().int().positive(),
|
|
7601
7605
|
updatedAtMs: number().int().nonnegative()
|
|
@@ -7608,7 +7612,7 @@ const remoteAgentWorkerRuntimeDiagnosticsResponseV1Schema = strictObject({
|
|
|
7608
7612
|
durableObjectAlarmAtMs: nullableNonNegativeIntegerSchema,
|
|
7609
7613
|
fibers: array(remoteAgentRuntimeFiberDiagnosticSchema).max(50),
|
|
7610
7614
|
schedules: array(remoteAgentRuntimeScheduleDiagnosticSchema).max(50),
|
|
7611
|
-
spaceId: nonEmptyStringSchema$
|
|
7615
|
+
spaceId: nonEmptyStringSchema$1,
|
|
7612
7616
|
submissions: array(remoteAgentRuntimeSubmissionDiagnosticSchema).max(50),
|
|
7613
7617
|
turnObservability: array(remoteAgentTurnRuntimeEvidenceSchema).max(50).optional(),
|
|
7614
7618
|
v: literal(1)
|
|
@@ -7636,30 +7640,30 @@ const remoteAgentWorkerRuntimeDiagnosticsResponseSchema = discriminatedUnion("v"
|
|
|
7636
7640
|
v: literal(2)
|
|
7637
7641
|
})]);
|
|
7638
7642
|
const remoteAgentCoreCallbackIdentitySchema = {
|
|
7639
|
-
submissionId: nonEmptyStringSchema$
|
|
7640
|
-
idempotencyKey: nonEmptyStringSchema$
|
|
7641
|
-
organizationId: nonEmptyStringSchema$
|
|
7642
|
-
spaceId: nonEmptyStringSchema$
|
|
7643
|
+
submissionId: nonEmptyStringSchema$1,
|
|
7644
|
+
idempotencyKey: nonEmptyStringSchema$1,
|
|
7645
|
+
organizationId: nonEmptyStringSchema$1,
|
|
7646
|
+
spaceId: nonEmptyStringSchema$1,
|
|
7643
7647
|
agentProfileId: agentProfileIdSchema,
|
|
7644
|
-
bindingId: nonEmptyStringSchema$
|
|
7645
|
-
triggerMessageId: nonEmptyStringSchema$
|
|
7646
|
-
dispatchId: nonEmptyStringSchema$
|
|
7648
|
+
bindingId: nonEmptyStringSchema$1,
|
|
7649
|
+
triggerMessageId: nonEmptyStringSchema$1,
|
|
7650
|
+
dispatchId: nonEmptyStringSchema$1,
|
|
7647
7651
|
callbackAttempt: number().int().positive().optional()
|
|
7648
7652
|
};
|
|
7649
7653
|
const remoteAgentStreamDeltaCallbackIdentitySchema = {
|
|
7650
|
-
submissionId: nonEmptyStringSchema$
|
|
7651
|
-
idempotencyKey: nonEmptyStringSchema$
|
|
7652
|
-
organizationId: nonEmptyStringSchema$
|
|
7653
|
-
spaceId: nonEmptyStringSchema$
|
|
7654
|
+
submissionId: nonEmptyStringSchema$1,
|
|
7655
|
+
idempotencyKey: nonEmptyStringSchema$1,
|
|
7656
|
+
organizationId: nonEmptyStringSchema$1,
|
|
7657
|
+
spaceId: nonEmptyStringSchema$1,
|
|
7654
7658
|
agentProfileId: agentProfileIdSchema,
|
|
7655
|
-
bindingId: nonEmptyStringSchema$
|
|
7656
|
-
triggerMessageId: nonEmptyStringSchema$
|
|
7657
|
-
dispatchId: nonEmptyStringSchema$
|
|
7659
|
+
bindingId: nonEmptyStringSchema$1,
|
|
7660
|
+
triggerMessageId: nonEmptyStringSchema$1,
|
|
7661
|
+
dispatchId: nonEmptyStringSchema$1
|
|
7658
7662
|
};
|
|
7659
7663
|
strictObject({ ...remoteAgentStreamDeltaCallbackIdentitySchema });
|
|
7660
7664
|
const legacyRemoteAgentStreamDeltaCallbackBodySchema = strictObject({
|
|
7661
7665
|
v: literal(1),
|
|
7662
|
-
streamId: nonEmptyStringSchema$
|
|
7666
|
+
streamId: nonEmptyStringSchema$1,
|
|
7663
7667
|
sequence: number().int().positive(),
|
|
7664
7668
|
...remoteAgentStreamDeltaCallbackIdentitySchema,
|
|
7665
7669
|
source: enumFactory(["flue.text_delta", "simulated.final_text"]),
|
|
@@ -7669,7 +7673,7 @@ const legacyRemoteAgentStreamDeltaCallbackBodySchema = strictObject({
|
|
|
7669
7673
|
});
|
|
7670
7674
|
const typedRemoteAgentStreamDeltaCallbackIdentitySchema = {
|
|
7671
7675
|
v: literal(2),
|
|
7672
|
-
streamId: nonEmptyStringSchema$
|
|
7676
|
+
streamId: nonEmptyStringSchema$1,
|
|
7673
7677
|
sequence: number().int().positive(),
|
|
7674
7678
|
...remoteAgentStreamDeltaCallbackIdentitySchema,
|
|
7675
7679
|
delta: string().min(1).max(REMOTE_AGENT_STREAM_DELTA_MAX_CHARS),
|
|
@@ -7696,7 +7700,7 @@ union([
|
|
|
7696
7700
|
]);
|
|
7697
7701
|
strictObject({
|
|
7698
7702
|
v: literal(1),
|
|
7699
|
-
streamId: nonEmptyStringSchema$
|
|
7703
|
+
streamId: nonEmptyStringSchema$1,
|
|
7700
7704
|
sequence: number().int().positive(),
|
|
7701
7705
|
...remoteAgentStreamDeltaCallbackIdentitySchema,
|
|
7702
7706
|
source: literal("flue.tool"),
|
|
@@ -7718,12 +7722,12 @@ union([
|
|
|
7718
7722
|
strictObject({
|
|
7719
7723
|
status: literal("rejected"),
|
|
7720
7724
|
lastSequence: remoteAgentStreamLastSequenceSchema,
|
|
7721
|
-
reasonCode: nonEmptyStringSchema$
|
|
7725
|
+
reasonCode: nonEmptyStringSchema$1
|
|
7722
7726
|
}),
|
|
7723
7727
|
strictObject({
|
|
7724
7728
|
status: literal("retryable"),
|
|
7725
7729
|
lastSequence: remoteAgentStreamLastSequenceSchema,
|
|
7726
|
-
reasonCode: nonEmptyStringSchema$
|
|
7730
|
+
reasonCode: nonEmptyStringSchema$1,
|
|
7727
7731
|
retryAfterMs: remoteAgentRetryAfterMsSchema.optional()
|
|
7728
7732
|
})
|
|
7729
7733
|
]);
|
|
@@ -7733,15 +7737,15 @@ const remoteAgentCoreCallbackBodySchema = union([strictObject({
|
|
|
7733
7737
|
navigationTarget: openMeldNavigationTargetSchema.optional(),
|
|
7734
7738
|
status: literal("completed").optional(),
|
|
7735
7739
|
mentionTargets: array(openMeldRuntimeProfileIdSchema).max(25).optional(),
|
|
7736
|
-
text: nonEmptyStringSchema$
|
|
7740
|
+
text: nonEmptyStringSchema$1.max(MAX_TEXT_LENGTH$1),
|
|
7737
7741
|
attachments: spaceMessageAttachmentsSchema.optional(),
|
|
7738
7742
|
files: spaceMessageFileReferencesSchema.optional()
|
|
7739
7743
|
}), strictObject({
|
|
7740
7744
|
...remoteAgentCoreCallbackIdentitySchema,
|
|
7741
7745
|
status: literal("failed"),
|
|
7742
|
-
failureCode: nonEmptyStringSchema$
|
|
7746
|
+
failureCode: nonEmptyStringSchema$1,
|
|
7743
7747
|
failureDetail: optionalDispatchErrorSummarySchema,
|
|
7744
|
-
failureMessage: nonEmptyStringSchema$
|
|
7748
|
+
failureMessage: nonEmptyStringSchema$1
|
|
7745
7749
|
})]);
|
|
7746
7750
|
union([remoteAgentCoreCallbackBodySchema, strictObject({
|
|
7747
7751
|
...remoteAgentCoreCallbackIdentitySchema,
|
|
@@ -7752,7 +7756,7 @@ discriminatedUnion("kind", [strictObject({
|
|
|
7752
7756
|
callback: remoteAgentCoreCallbackBodySchema,
|
|
7753
7757
|
kind: literal("callback")
|
|
7754
7758
|
}), strictObject({
|
|
7755
|
-
failureCode: nonEmptyStringSchema$
|
|
7759
|
+
failureCode: nonEmptyStringSchema$1,
|
|
7756
7760
|
kind: literal("terminal_failure")
|
|
7757
7761
|
})]);
|
|
7758
7762
|
strictObject({
|
|
@@ -7760,16 +7764,16 @@ strictObject({
|
|
|
7760
7764
|
conversationCompaction: conversationCompactionMarkerSchema.optional(),
|
|
7761
7765
|
navigationTarget: openMeldNavigationTargetSchema.optional(),
|
|
7762
7766
|
status: literal("completed"),
|
|
7763
|
-
text: nonEmptyStringSchema$
|
|
7767
|
+
text: nonEmptyStringSchema$1.max(MAX_TEXT_LENGTH$1),
|
|
7764
7768
|
attachments: spaceMessageAttachmentsSchema.optional(),
|
|
7765
7769
|
files: spaceMessageFileReferencesSchema.optional()
|
|
7766
7770
|
});
|
|
7767
7771
|
strictObject({
|
|
7768
7772
|
...remoteAgentCoreCallbackIdentitySchema,
|
|
7769
7773
|
status: literal("failed"),
|
|
7770
|
-
failureCode: nonEmptyStringSchema$
|
|
7774
|
+
failureCode: nonEmptyStringSchema$1,
|
|
7771
7775
|
failureDetail: optionalDispatchErrorSummarySchema,
|
|
7772
|
-
failureMessage: nonEmptyStringSchema$
|
|
7776
|
+
failureMessage: nonEmptyStringSchema$1
|
|
7773
7777
|
});
|
|
7774
7778
|
strictObject({
|
|
7775
7779
|
status: enumFactory([
|
|
@@ -7778,8 +7782,8 @@ strictObject({
|
|
|
7778
7782
|
"rejected",
|
|
7779
7783
|
"retryable"
|
|
7780
7784
|
]),
|
|
7781
|
-
reasonCode: nonEmptyStringSchema$
|
|
7782
|
-
publishedSignalId: nonEmptyStringSchema$
|
|
7785
|
+
reasonCode: nonEmptyStringSchema$1.optional(),
|
|
7786
|
+
publishedSignalId: nonEmptyStringSchema$1.nullable().optional(),
|
|
7783
7787
|
retryAfterMs: remoteAgentRetryAfterMsSchema.optional()
|
|
7784
7788
|
});
|
|
7785
7789
|
//#endregion
|
|
@@ -9626,6 +9630,7 @@ const accountSpaceIndexIncludeDirectMessageProfileIdsSchema = z$1.preprocess((va
|
|
|
9626
9630
|
z$1.strictObject({
|
|
9627
9631
|
includeMessagePreviews: z$1.preprocess((value) => value === true || value === "true", z$1.boolean()).optional(),
|
|
9628
9632
|
includeMemberPreviews: z$1.preprocess((value) => value === true || value === "true", z$1.boolean()).optional(),
|
|
9633
|
+
includeDirectoryPreviews: z$1.preprocess((value) => value === true || value === "true", z$1.boolean()).optional(),
|
|
9629
9634
|
gatewayHost: profileSpaceHistoryGatewayHostSchema,
|
|
9630
9635
|
includeDirectMessageProfileIds: accountSpaceIndexIncludeDirectMessageProfileIdsSchema,
|
|
9631
9636
|
includeRecentlyDeletedItems: accountSpaceIndexIncludeRecentlyDeletedItemsSchema,
|
|
@@ -9640,19 +9645,21 @@ const accountSpaceIndexJoinedProfileSchema = z$1.strictObject({
|
|
|
9640
9645
|
profileId: trimmedNonEmptyStringSchema$8,
|
|
9641
9646
|
profileName: trimmedNonEmptyStringSchema$8
|
|
9642
9647
|
});
|
|
9648
|
+
const accountSpaceMessagePreviewSchema = z$1.strictObject({
|
|
9649
|
+
signalId: trimmedNonEmptyStringSchema$8,
|
|
9650
|
+
profileId: trimmedNonEmptyStringSchema$8,
|
|
9651
|
+
timestamp: z$1.number().int().nonnegative(),
|
|
9652
|
+
text: z$1.string().max(240)
|
|
9653
|
+
});
|
|
9643
9654
|
const accountSpaceIndexItemSchema = z$1.strictObject({
|
|
9644
|
-
|
|
9645
|
-
|
|
9646
|
-
profileId: trimmedNonEmptyStringSchema$8,
|
|
9647
|
-
timestamp: z$1.number().int().nonnegative(),
|
|
9648
|
-
text: z$1.string().max(240)
|
|
9649
|
-
}).nullable().optional(),
|
|
9655
|
+
recentMessagePreviews: z$1.array(accountSpaceMessagePreviewSchema).max(2).optional(),
|
|
9656
|
+
messagePreview: accountSpaceMessagePreviewSchema.nullable().optional(),
|
|
9650
9657
|
memberPreviews: z$1.array(z$1.strictObject({
|
|
9651
9658
|
profileId: trimmedNonEmptyStringSchema$8,
|
|
9652
9659
|
profileName: trimmedNonEmptyStringSchema$8,
|
|
9653
9660
|
profileKind: z$1.enum(["human", "agent"]),
|
|
9654
9661
|
agentControllerRef: nullableTrimmedStringSchema$3
|
|
9655
|
-
})).max(
|
|
9662
|
+
})).max(8).optional(),
|
|
9656
9663
|
creatorKind: z$1.union([profileSpaceCreatorKindSchema, z$1.null()]),
|
|
9657
9664
|
creatorOwnerUserId: nullableTrimmedStringSchema$3,
|
|
9658
9665
|
creatorProfileId: nullableTrimmedStringSchema$3,
|
|
@@ -11321,6 +11328,149 @@ const spaceHistoryNavigationSchema = z$1.object({
|
|
|
11321
11328
|
total: z$1.number().int().nonnegative()
|
|
11322
11329
|
});
|
|
11323
11330
|
//#endregion
|
|
11331
|
+
//#region ../../packages/schemas/dist/schemas/daemon/session-history.js
|
|
11332
|
+
const SESSION_HISTORY_RUNTIME_CAPABILITY = "session-history-v1";
|
|
11333
|
+
const SESSION_HISTORY_CAPABILITY_HEADER = "x-openmeld-session-history";
|
|
11334
|
+
const id = z$1.string().trim().min(1).max(512);
|
|
11335
|
+
const sessionHistoryConnectionSchema = z$1.strictObject({
|
|
11336
|
+
projectId: id,
|
|
11337
|
+
bindingGeneration: id
|
|
11338
|
+
});
|
|
11339
|
+
const sessionHistoryPolicyInputSchema = z$1.strictObject({
|
|
11340
|
+
enabled: z$1.boolean(),
|
|
11341
|
+
connections: z$1.array(sessionHistoryConnectionSchema).max(128),
|
|
11342
|
+
readerProfileIds: z$1.array(id).max(64)
|
|
11343
|
+
});
|
|
11344
|
+
const sessionHistoryPolicySchema = sessionHistoryPolicyInputSchema.extend({
|
|
11345
|
+
revision: z$1.number().int().positive(),
|
|
11346
|
+
updatedAtMs: z$1.number().int().nonnegative()
|
|
11347
|
+
});
|
|
11348
|
+
const sessionHistoryReadSchema = z$1.strictObject({
|
|
11349
|
+
operation: z$1.literal("read_session"),
|
|
11350
|
+
projectId: id,
|
|
11351
|
+
sessionId: id,
|
|
11352
|
+
offset: z$1.number().int().min(0).max(1e5).default(0),
|
|
11353
|
+
limit: z$1.number().int().min(1).max(50).default(20)
|
|
11354
|
+
});
|
|
11355
|
+
const sessionHistoryOperationSchema = z$1.discriminatedUnion("operation", [
|
|
11356
|
+
z$1.strictObject({ operation: z$1.literal("read_settings") }),
|
|
11357
|
+
z$1.strictObject({
|
|
11358
|
+
operation: z$1.literal("update_settings"),
|
|
11359
|
+
expectedRevision: z$1.number().int().positive(),
|
|
11360
|
+
policy: sessionHistoryPolicyInputSchema
|
|
11361
|
+
}),
|
|
11362
|
+
z$1.strictObject({ operation: z$1.literal("read_audit") }),
|
|
11363
|
+
sessionHistoryReadSchema
|
|
11364
|
+
]);
|
|
11365
|
+
const sessionHistoryRequesterSchema = z$1.strictObject({
|
|
11366
|
+
requestRootId: id,
|
|
11367
|
+
ownerUserId: id,
|
|
11368
|
+
requesterUserId: id,
|
|
11369
|
+
readerProfileId: id.nullable(),
|
|
11370
|
+
delegatorProfileId: id.nullable(),
|
|
11371
|
+
spaceId: id.nullable(),
|
|
11372
|
+
audience: z$1.enum([
|
|
11373
|
+
"owner_private",
|
|
11374
|
+
"space",
|
|
11375
|
+
"externally_shared"
|
|
11376
|
+
])
|
|
11377
|
+
});
|
|
11378
|
+
const sessionHistoryAuditSchema = z$1.strictObject({
|
|
11379
|
+
requestId: id,
|
|
11380
|
+
atMs: z$1.number().int().nonnegative(),
|
|
11381
|
+
requester: sessionHistoryRequesterSchema,
|
|
11382
|
+
projectId: id,
|
|
11383
|
+
sessionId: id,
|
|
11384
|
+
offset: z$1.number().int().nonnegative(),
|
|
11385
|
+
count: z$1.number().int().nonnegative(),
|
|
11386
|
+
outcome: z$1.enum([
|
|
11387
|
+
"allowed",
|
|
11388
|
+
"denied",
|
|
11389
|
+
"failed"
|
|
11390
|
+
])
|
|
11391
|
+
});
|
|
11392
|
+
const sessionHistoryPageSchema = z$1.strictObject({
|
|
11393
|
+
kind: z$1.literal("session"),
|
|
11394
|
+
sessionId: id,
|
|
11395
|
+
requester: sessionHistoryRequesterSchema,
|
|
11396
|
+
messages: z$1.array(z$1.strictObject({
|
|
11397
|
+
role: z$1.enum(["user", "assistant"]),
|
|
11398
|
+
text: z$1.string().max(8e3),
|
|
11399
|
+
truncated: z$1.boolean()
|
|
11400
|
+
})).max(50),
|
|
11401
|
+
nextOffset: z$1.number().int().nonnegative().nullable(),
|
|
11402
|
+
omittedNonMessageItems: z$1.boolean()
|
|
11403
|
+
});
|
|
11404
|
+
const sessionHistoryResultSchema = z$1.discriminatedUnion("kind", [
|
|
11405
|
+
z$1.strictObject({
|
|
11406
|
+
kind: z$1.literal("settings"),
|
|
11407
|
+
policy: sessionHistoryPolicySchema,
|
|
11408
|
+
connections: z$1.array(sessionHistoryConnectionSchema.extend({ projectSlug: id })).max(512)
|
|
11409
|
+
}),
|
|
11410
|
+
z$1.strictObject({
|
|
11411
|
+
kind: z$1.literal("audit"),
|
|
11412
|
+
entries: z$1.array(sessionHistoryAuditSchema).max(200)
|
|
11413
|
+
}),
|
|
11414
|
+
sessionHistoryPageSchema,
|
|
11415
|
+
z$1.strictObject({
|
|
11416
|
+
kind: z$1.literal("error"),
|
|
11417
|
+
code: z$1.enum([
|
|
11418
|
+
"denied",
|
|
11419
|
+
"changed",
|
|
11420
|
+
"unavailable",
|
|
11421
|
+
"unsupported",
|
|
11422
|
+
"failed"
|
|
11423
|
+
]),
|
|
11424
|
+
message: z$1.string().max(512)
|
|
11425
|
+
})
|
|
11426
|
+
]);
|
|
11427
|
+
z$1.strictObject({
|
|
11428
|
+
execution: z$1.strictObject({
|
|
11429
|
+
dispatchId: id,
|
|
11430
|
+
executionTokenEcho: runtimeCoordinatorExecutionTokenEchoSchema
|
|
11431
|
+
}).optional(),
|
|
11432
|
+
context: openMeldRequestContextSchema,
|
|
11433
|
+
organizationId: id,
|
|
11434
|
+
deviceId: id,
|
|
11435
|
+
runtimeLane: daemonServiceLaneSchema,
|
|
11436
|
+
request: sessionHistoryOperationSchema
|
|
11437
|
+
});
|
|
11438
|
+
const sessionHistoryServiceRequestSchema = z$1.strictObject({
|
|
11439
|
+
organizationId: id,
|
|
11440
|
+
expectedDeviceId: id,
|
|
11441
|
+
requester: sessionHistoryRequesterSchema,
|
|
11442
|
+
request: sessionHistoryOperationSchema
|
|
11443
|
+
});
|
|
11444
|
+
const sessionHistoryRequestFrameSchema = z$1.strictObject({
|
|
11445
|
+
v: z$1.literal(1),
|
|
11446
|
+
code: z$1.literal("daemon.session_history.request"),
|
|
11447
|
+
payload: z$1.strictObject({
|
|
11448
|
+
requestId: id,
|
|
11449
|
+
request: sessionHistoryServiceRequestSchema
|
|
11450
|
+
})
|
|
11451
|
+
});
|
|
11452
|
+
const sessionHistoryResultFrameSchema = z$1.strictObject({
|
|
11453
|
+
v: z$1.literal(1),
|
|
11454
|
+
code: z$1.literal("daemon.session_history.request_result"),
|
|
11455
|
+
payload: z$1.strictObject({
|
|
11456
|
+
requestId: id,
|
|
11457
|
+
result: sessionHistoryResultSchema
|
|
11458
|
+
})
|
|
11459
|
+
});
|
|
11460
|
+
z$1.strictObject({
|
|
11461
|
+
v: z$1.literal(1),
|
|
11462
|
+
ownerUserId: id,
|
|
11463
|
+
deviceId: id,
|
|
11464
|
+
lane: daemonServiceLaneSchema,
|
|
11465
|
+
requestId: id,
|
|
11466
|
+
request: sessionHistoryServiceRequestSchema
|
|
11467
|
+
});
|
|
11468
|
+
z$1.strictObject({
|
|
11469
|
+
context: openMeldRequestContextSchema,
|
|
11470
|
+
computerId: id,
|
|
11471
|
+
request: sessionHistoryReadSchema
|
|
11472
|
+
});
|
|
11473
|
+
//#endregion
|
|
11324
11474
|
//#region ../../packages/schemas/dist/schemas/http/feedback.js
|
|
11325
11475
|
const FEEDBACK_SUBMIT_INVALID_INPUT_ERROR_CODE = "feedback.submit.invalid_input";
|
|
11326
11476
|
const FEEDBACK_SUBMIT_INBOX_NOT_FOUND_ERROR_CODE = "feedback.submit.inbox_not_found";
|
|
@@ -11695,19 +11845,19 @@ const MESSAGE_CHANNEL_ERROR_CODES = [
|
|
|
11695
11845
|
"message_channel.setup_request_recipient_unavailable"
|
|
11696
11846
|
];
|
|
11697
11847
|
const LARK_PLATFORM_WEBHOOK_RAW_BODY_MAX_CHARS = 262144;
|
|
11698
|
-
const nonEmptyStringSchema
|
|
11699
|
-
const capabilityGroupSchema = nonEmptyStringSchema
|
|
11700
|
-
const reasonCodeSchema$1 = nonEmptyStringSchema
|
|
11848
|
+
const nonEmptyStringSchema = string().trim().min(1);
|
|
11849
|
+
const capabilityGroupSchema = nonEmptyStringSchema.max(64).regex(/^[a-z0-9][a-z0-9._-]*$/u);
|
|
11850
|
+
const reasonCodeSchema$1 = nonEmptyStringSchema.max(128).regex(/^[a-z0-9][a-z0-9._-]*$/u);
|
|
11701
11851
|
const messageChannelConnectionStatusSchema = enumFactory(MESSAGE_CHANNEL_CONNECTION_STATUSES);
|
|
11702
11852
|
const messageChannelSetupRequestBodySchema = strictObject({ provider: messageChannelProviderSchema });
|
|
11703
11853
|
const messageChannelSetupRequestResponseSchema = strictObject({
|
|
11704
|
-
organizationId: nonEmptyStringSchema
|
|
11854
|
+
organizationId: nonEmptyStringSchema.max(256),
|
|
11705
11855
|
provider: messageChannelProviderSchema,
|
|
11706
11856
|
recipientCount: number().int().positive(),
|
|
11707
|
-
requestId: nonEmptyStringSchema
|
|
11857
|
+
requestId: nonEmptyStringSchema.max(256),
|
|
11708
11858
|
status: enumFactory(["created", "already_requested"])
|
|
11709
11859
|
});
|
|
11710
|
-
const messageChannelIdentityLinkIdSchema = nonEmptyStringSchema
|
|
11860
|
+
const messageChannelIdentityLinkIdSchema = nonEmptyStringSchema.max(82).regex(/^channel_identity_[0-9a-f]{64}$/u);
|
|
11711
11861
|
const larkPlatformProviderSchema = enumFactory(["lark", "feishu"]);
|
|
11712
11862
|
const larkPlatformRegistrationBeginModeSchema = enumFactory([
|
|
11713
11863
|
"resume",
|
|
@@ -11716,13 +11866,13 @@ const larkPlatformRegistrationBeginModeSchema = enumFactory([
|
|
|
11716
11866
|
"reauthorize"
|
|
11717
11867
|
]);
|
|
11718
11868
|
const messageChannelConnectionProjectionSchema = strictObject({
|
|
11719
|
-
id: nonEmptyStringSchema
|
|
11869
|
+
id: nonEmptyStringSchema.max(256),
|
|
11720
11870
|
provider: messageChannelProviderSchema,
|
|
11721
11871
|
transport: messageChannelTransportSchema,
|
|
11722
11872
|
status: messageChannelConnectionStatusSchema,
|
|
11723
|
-
externalAccountId: nonEmptyStringSchema
|
|
11724
|
-
externalAccountName: nonEmptyStringSchema
|
|
11725
|
-
permissionBundleVersion: nonEmptyStringSchema
|
|
11873
|
+
externalAccountId: nonEmptyStringSchema.max(512).nullable(),
|
|
11874
|
+
externalAccountName: nonEmptyStringSchema.max(256).nullable(),
|
|
11875
|
+
permissionBundleVersion: nonEmptyStringSchema.max(128).nullable(),
|
|
11726
11876
|
grantedCapabilityGroups: array(capabilityGroupSchema).max(32),
|
|
11727
11877
|
lastVerifiedAt: iso.datetime({ offset: true }).nullable(),
|
|
11728
11878
|
reasonCode: reasonCodeSchema$1.nullable()
|
|
@@ -11736,13 +11886,13 @@ const messageChannelConnectionProjectionSchema = strictObject({
|
|
|
11736
11886
|
const messageChannelIdentityLinkProjectionSchema = strictObject({
|
|
11737
11887
|
connectedAt: iso.datetime({ offset: true }),
|
|
11738
11888
|
id: messageChannelIdentityLinkIdSchema,
|
|
11739
|
-
openMeldUserId: nonEmptyStringSchema
|
|
11889
|
+
openMeldUserId: nonEmptyStringSchema.max(256),
|
|
11740
11890
|
provider: messageChannelProviderSchema,
|
|
11741
11891
|
providerAccountEmail: email().max(320).nullable().default(null),
|
|
11742
|
-
providerAccountName: nonEmptyStringSchema
|
|
11892
|
+
providerAccountName: nonEmptyStringSchema.max(256).nullable()
|
|
11743
11893
|
});
|
|
11744
11894
|
const messageChannelConnectionListResponseSchema = strictObject({
|
|
11745
|
-
organizationId: nonEmptyStringSchema
|
|
11895
|
+
organizationId: nonEmptyStringSchema.max(256),
|
|
11746
11896
|
availableLarkPlatformProviders: array(larkPlatformProviderSchema).max(2),
|
|
11747
11897
|
connections: array(messageChannelConnectionProjectionSchema).max(MESSAGE_CHANNEL_PROVIDERS.length),
|
|
11748
11898
|
identityLinks: array(messageChannelIdentityLinkProjectionSchema).max(1e4).default([])
|
|
@@ -11766,7 +11916,7 @@ const messageChannelConnectionListResponseSchema = strictObject({
|
|
|
11766
11916
|
providers.add(connection.provider);
|
|
11767
11917
|
}
|
|
11768
11918
|
});
|
|
11769
|
-
const larkPlatformRegistrationAttemptIdSchema = nonEmptyStringSchema
|
|
11919
|
+
const larkPlatformRegistrationAttemptIdSchema = nonEmptyStringSchema.max(256);
|
|
11770
11920
|
const larkPlatformActiveRegistrationProjectionSchema = strictObject({
|
|
11771
11921
|
canResume: boolean(),
|
|
11772
11922
|
expiresAt: iso.datetime({ offset: true }),
|
|
@@ -11781,7 +11931,7 @@ const larkPlatformActiveRegistrationProjectionSchema = strictObject({
|
|
|
11781
11931
|
])
|
|
11782
11932
|
});
|
|
11783
11933
|
const larkPlatformActiveRegistrationListResponseSchema = strictObject({
|
|
11784
|
-
organizationId: nonEmptyStringSchema
|
|
11934
|
+
organizationId: nonEmptyStringSchema.max(256),
|
|
11785
11935
|
registrations: array(larkPlatformActiveRegistrationProjectionSchema).max(2)
|
|
11786
11936
|
}).superRefine((response, context) => {
|
|
11787
11937
|
const providers = /* @__PURE__ */ new Set();
|
|
@@ -11822,7 +11972,7 @@ const larkPlatformRegistrationAttemptProjectionSchema = strictObject({
|
|
|
11822
11972
|
}
|
|
11823
11973
|
});
|
|
11824
11974
|
const larkPlatformRegistrationResponseSchema = strictObject({
|
|
11825
|
-
organizationId: nonEmptyStringSchema
|
|
11975
|
+
organizationId: nonEmptyStringSchema.max(256),
|
|
11826
11976
|
attempt: larkPlatformRegistrationAttemptProjectionSchema,
|
|
11827
11977
|
connection: messageChannelConnectionProjectionSchema.nullable()
|
|
11828
11978
|
}).superRefine((response, context) => {
|
|
@@ -11834,21 +11984,21 @@ const larkPlatformRegistrationResponseSchema = strictObject({
|
|
|
11834
11984
|
});
|
|
11835
11985
|
strictObject({
|
|
11836
11986
|
provider: larkPlatformProviderSchema,
|
|
11837
|
-
connectionId: nonEmptyStringSchema
|
|
11987
|
+
connectionId: nonEmptyStringSchema.max(256),
|
|
11838
11988
|
surface: enumFactory(["events", "callbacks"]),
|
|
11839
11989
|
rawBody: string().min(2).max(LARK_PLATFORM_WEBHOOK_RAW_BODY_MAX_CHARS),
|
|
11840
11990
|
headers: strictObject({
|
|
11841
|
-
timestamp: nonEmptyStringSchema
|
|
11842
|
-
nonce: nonEmptyStringSchema
|
|
11843
|
-
signature: nonEmptyStringSchema
|
|
11991
|
+
timestamp: nonEmptyStringSchema.max(64).nullable(),
|
|
11992
|
+
nonce: nonEmptyStringSchema.max(256).nullable(),
|
|
11993
|
+
signature: nonEmptyStringSchema.max(256).nullable()
|
|
11844
11994
|
}),
|
|
11845
11995
|
receivedAtMs: number().int().nonnegative().max(Number.MAX_SAFE_INTEGER),
|
|
11846
|
-
gatewayRequestId: nonEmptyStringSchema
|
|
11996
|
+
gatewayRequestId: nonEmptyStringSchema.max(256)
|
|
11847
11997
|
});
|
|
11848
11998
|
discriminatedUnion("status", [
|
|
11849
11999
|
strictObject({
|
|
11850
12000
|
status: literal("challenge"),
|
|
11851
|
-
challenge: nonEmptyStringSchema
|
|
12001
|
+
challenge: nonEmptyStringSchema.max(2048)
|
|
11852
12002
|
}),
|
|
11853
12003
|
strictObject({
|
|
11854
12004
|
status: literal("enqueue"),
|
|
@@ -11869,12 +12019,12 @@ const messageChannelIdentityLinkPreviewResponseSchema = strictObject({
|
|
|
11869
12019
|
alreadyMember: boolean().default(true),
|
|
11870
12020
|
continuesRequest: boolean().default(false),
|
|
11871
12021
|
expiresAt: iso.datetime({ offset: true }),
|
|
11872
|
-
organizationId: nonEmptyStringSchema
|
|
11873
|
-
organizationName: nonEmptyStringSchema
|
|
12022
|
+
organizationId: nonEmptyStringSchema.max(256),
|
|
12023
|
+
organizationName: nonEmptyStringSchema.max(256),
|
|
11874
12024
|
provider: larkPlatformProviderSchema,
|
|
11875
|
-
providerUserDisplayName: nonEmptyStringSchema
|
|
11876
|
-
providerUserId: nonEmptyStringSchema
|
|
11877
|
-
openMeldAccountEmail: nonEmptyStringSchema
|
|
12025
|
+
providerUserDisplayName: nonEmptyStringSchema.max(256),
|
|
12026
|
+
providerUserId: nonEmptyStringSchema.max(512),
|
|
12027
|
+
openMeldAccountEmail: nonEmptyStringSchema.max(320),
|
|
11878
12028
|
replacesExistingLink: boolean().default(false)
|
|
11879
12029
|
});
|
|
11880
12030
|
const messageChannelIdentityLinkConsumeBodySchema = strictObject({ token: messageChannelIdentityLinkTokenSchema });
|
|
@@ -11884,13 +12034,13 @@ const messageChannelIdentityLinkConsumeResponseSchema = strictObject({
|
|
|
11884
12034
|
continuesRequest: boolean().default(false),
|
|
11885
12035
|
joinedOrganization: boolean().default(false),
|
|
11886
12036
|
linked: literal(true),
|
|
11887
|
-
organizationId: nonEmptyStringSchema
|
|
11888
|
-
organizationName: nonEmptyStringSchema
|
|
12037
|
+
organizationId: nonEmptyStringSchema.max(256),
|
|
12038
|
+
organizationName: nonEmptyStringSchema.max(256),
|
|
11889
12039
|
provider: larkPlatformProviderSchema,
|
|
11890
|
-
providerUserDisplayName: nonEmptyStringSchema
|
|
11891
|
-
providerUserId: nonEmptyStringSchema
|
|
12040
|
+
providerUserDisplayName: nonEmptyStringSchema.max(256),
|
|
12041
|
+
providerUserId: nonEmptyStringSchema.max(512),
|
|
11892
12042
|
replacedExistingLink: boolean().default(false),
|
|
11893
|
-
openMeldUserId: nonEmptyStringSchema
|
|
12043
|
+
openMeldUserId: nonEmptyStringSchema.max(256)
|
|
11894
12044
|
});
|
|
11895
12045
|
//#endregion
|
|
11896
12046
|
//#region ../../packages/schemas/dist/schemas/http/center-agent-member-research.js
|
|
@@ -13746,84 +13896,11 @@ const organizationUsageOverviewResponseSchema = z$1.strictObject({
|
|
|
13746
13896
|
});
|
|
13747
13897
|
z$1.strictObject({ context: openMeldRequestContextSchema });
|
|
13748
13898
|
//#endregion
|
|
13749
|
-
//#region ../../packages/schemas/dist/schemas/runtime/openconnector-runtime.js
|
|
13750
|
-
const nonEmptyStringSchema = z$1.string().trim().min(1);
|
|
13751
|
-
const jsonSchemaObjectSchema = z$1.record(z$1.string(), z$1.unknown());
|
|
13752
|
-
const openConnectorRuntimeActionEffectSchema = z$1.enum([
|
|
13753
|
-
"destructive",
|
|
13754
|
-
"read",
|
|
13755
|
-
"write"
|
|
13756
|
-
]);
|
|
13757
|
-
const openConnectorRuntimeActionExecutionSchema = z$1.strictObject({
|
|
13758
|
-
catalogOnly: z$1.boolean(),
|
|
13759
|
-
locallyExecutable: z$1.boolean(),
|
|
13760
|
-
needsCredential: z$1.boolean(),
|
|
13761
|
-
noAuthRunnable: z$1.boolean(),
|
|
13762
|
-
requiredAuthTypes: z$1.array(z$1.enum([
|
|
13763
|
-
"no_auth",
|
|
13764
|
-
"api_key",
|
|
13765
|
-
"custom_credential",
|
|
13766
|
-
"oauth2"
|
|
13767
|
-
]))
|
|
13768
|
-
}).superRefine((execution, context) => {
|
|
13769
|
-
if (execution.catalogOnly === execution.locallyExecutable) context.addIssue({
|
|
13770
|
-
code: "custom",
|
|
13771
|
-
message: "OpenConnector action execution must be either locally executable or catalog-only.",
|
|
13772
|
-
path: ["locallyExecutable"]
|
|
13773
|
-
});
|
|
13774
|
-
if (execution.needsCredential === execution.noAuthRunnable) context.addIssue({
|
|
13775
|
-
code: "custom",
|
|
13776
|
-
message: "OpenConnector action credential requirements are inconsistent.",
|
|
13777
|
-
path: ["needsCredential"]
|
|
13778
|
-
});
|
|
13779
|
-
});
|
|
13780
|
-
const openConnectorRuntimeActionSchema = z$1.strictObject({
|
|
13781
|
-
asyncLifecycle: z$1.strictObject({
|
|
13782
|
-
cancelActionId: nonEmptyStringSchema.optional(),
|
|
13783
|
-
startActionId: nonEmptyStringSchema,
|
|
13784
|
-
statusActionId: nonEmptyStringSchema
|
|
13785
|
-
}).nullable(),
|
|
13786
|
-
description: nonEmptyStringSchema,
|
|
13787
|
-
effect: openConnectorRuntimeActionEffectSchema.optional(),
|
|
13788
|
-
execution: openConnectorRuntimeActionExecutionSchema,
|
|
13789
|
-
followUpActions: z$1.array(z$1.strictObject({ actionId: nonEmptyStringSchema })),
|
|
13790
|
-
id: nonEmptyStringSchema,
|
|
13791
|
-
inputSchema: jsonSchemaObjectSchema,
|
|
13792
|
-
name: nonEmptyStringSchema,
|
|
13793
|
-
operationType: openConnectorRuntimeActionEffectSchema.optional(),
|
|
13794
|
-
outputSchema: jsonSchemaObjectSchema,
|
|
13795
|
-
providerPermissions: z$1.array(nonEmptyStringSchema),
|
|
13796
|
-
requiredScopes: z$1.array(nonEmptyStringSchema),
|
|
13797
|
-
service: nonEmptyStringSchema
|
|
13798
|
-
});
|
|
13799
|
-
const openConnectorRuntimeActionListSchema = z$1.array(openConnectorRuntimeActionSchema);
|
|
13800
|
-
const openConnectorRuntimeActionSearchResultSchema = z$1.strictObject({
|
|
13801
|
-
authenticated: z$1.boolean(),
|
|
13802
|
-
description: nonEmptyStringSchema,
|
|
13803
|
-
effect: openConnectorRuntimeActionEffectSchema.optional(),
|
|
13804
|
-
id: nonEmptyStringSchema,
|
|
13805
|
-
inputSchema: jsonSchemaObjectSchema,
|
|
13806
|
-
name: nonEmptyStringSchema,
|
|
13807
|
-
operationType: openConnectorRuntimeActionEffectSchema.optional(),
|
|
13808
|
-
outputSchema: jsonSchemaObjectSchema,
|
|
13809
|
-
service: nonEmptyStringSchema
|
|
13810
|
-
});
|
|
13811
|
-
z$1.array(openConnectorRuntimeActionSearchResultSchema);
|
|
13812
|
-
const openConnectorRuntimeActionOperationMetaSchema = z$1.strictObject({
|
|
13813
|
-
actionId: nonEmptyStringSchema,
|
|
13814
|
-
auditPersisted: z$1.boolean(),
|
|
13815
|
-
executionId: nonEmptyStringSchema
|
|
13816
|
-
});
|
|
13817
|
-
z$1.strictObject({
|
|
13818
|
-
data: z$1.json(),
|
|
13819
|
-
message: z$1.literal("OK"),
|
|
13820
|
-
meta: openConnectorRuntimeActionOperationMetaSchema,
|
|
13821
|
-
outputSchema: jsonSchemaObjectSchema.optional(),
|
|
13822
|
-
success: z$1.literal(true)
|
|
13823
|
-
});
|
|
13824
|
-
//#endregion
|
|
13825
13899
|
//#region ../../packages/schemas/dist/schemas/http/plugin-actions.js
|
|
13826
|
-
const selectedAccountSchema = centerAgentConnectorActionExecutionConnectionSchema.extend({
|
|
13900
|
+
const selectedAccountSchema = centerAgentConnectorActionExecutionConnectionSchema.extend({
|
|
13901
|
+
permission: enumFactory(["read", "write"]),
|
|
13902
|
+
health: pluginConnectionHealthSchema.optional()
|
|
13903
|
+
});
|
|
13827
13904
|
const selection = {
|
|
13828
13905
|
service: connectorServiceSchema,
|
|
13829
13906
|
account: enumFactory(["personal", "shared"])
|
|
@@ -13848,6 +13925,12 @@ const pluginActionRequestSchema = strictObject({
|
|
|
13848
13925
|
operation: literal("actions"),
|
|
13849
13926
|
...selection
|
|
13850
13927
|
}),
|
|
13928
|
+
strictObject({
|
|
13929
|
+
operation: literal("connection"),
|
|
13930
|
+
...selection,
|
|
13931
|
+
key: string().min(1).max(256),
|
|
13932
|
+
computer: boolean().optional()
|
|
13933
|
+
}),
|
|
13851
13934
|
strictObject({
|
|
13852
13935
|
operation: literal("execute"),
|
|
13853
13936
|
...selection,
|
|
@@ -13867,6 +13950,15 @@ strictObject({
|
|
|
13867
13950
|
request: pluginActionRequestSchema
|
|
13868
13951
|
});
|
|
13869
13952
|
const pluginActionResponseSchema = discriminatedUnion("kind", [
|
|
13953
|
+
strictObject({
|
|
13954
|
+
kind: literal("native_connection"),
|
|
13955
|
+
connection: selectedAccountSchema,
|
|
13956
|
+
description: pluginConnectionDescriptionSchema,
|
|
13957
|
+
baseUrl: string().url().optional(),
|
|
13958
|
+
expiresAtMs: number().optional(),
|
|
13959
|
+
environment: record(string(), string()).optional(),
|
|
13960
|
+
nextAction: string()
|
|
13961
|
+
}),
|
|
13870
13962
|
strictObject({
|
|
13871
13963
|
kind: literal("authorization_required"),
|
|
13872
13964
|
request: pluginActionRequestViewSchema
|
|
@@ -14892,6 +14984,19 @@ const cloudComputerSchema = strictObject({
|
|
|
14892
14984
|
provider: literal("cloudflare"),
|
|
14893
14985
|
createdAtMs: number().int().nonnegative()
|
|
14894
14986
|
});
|
|
14987
|
+
const cloudComputerStorageSchema = strictObject({
|
|
14988
|
+
scope: literal("persistent"),
|
|
14989
|
+
databaseBytes: number().int().nonnegative(),
|
|
14990
|
+
limitBytes: number().int().positive(),
|
|
14991
|
+
growthHeadroomBytes: number().int().nonnegative(),
|
|
14992
|
+
status: enumFactory([
|
|
14993
|
+
"available",
|
|
14994
|
+
"near_limit",
|
|
14995
|
+
"at_limit"
|
|
14996
|
+
]),
|
|
14997
|
+
observedAtMs: number().int().nonnegative(),
|
|
14998
|
+
guidance: string()
|
|
14999
|
+
});
|
|
14895
15000
|
const path$1 = string().min(1).max(4096);
|
|
14896
15001
|
const key = string().min(1).max(256);
|
|
14897
15002
|
const cloudComputerBackendSchema = enumFactory([
|
|
@@ -14992,7 +15097,7 @@ strictObject({
|
|
|
14992
15097
|
const cloudComputerOperationResultSchema = union([
|
|
14993
15098
|
strictObject({
|
|
14994
15099
|
kind: literal("capabilities"),
|
|
14995
|
-
capabilities:
|
|
15100
|
+
capabilities: object({ storage: cloudComputerStorageSchema.optional() }).catchall(unknown())
|
|
14996
15101
|
}),
|
|
14997
15102
|
strictObject({
|
|
14998
15103
|
kind: literal("files"),
|
|
@@ -15036,6 +15141,7 @@ const cloudComputerOperationResultSchema = union([
|
|
|
15036
15141
|
stderr: string().optional(),
|
|
15037
15142
|
after: number().optional(),
|
|
15038
15143
|
outputPending: literal(true).optional(),
|
|
15144
|
+
syncPending: literal(true).optional(),
|
|
15039
15145
|
outputTruncated: literal(true).optional(),
|
|
15040
15146
|
result: json().optional(),
|
|
15041
15147
|
nextAction: string().optional()
|
|
@@ -15635,6 +15741,7 @@ function buildAccountSpaceIndexPath(input) {
|
|
|
15635
15741
|
if (input.includePurposes === true) url.searchParams.set("includePurposes", "true");
|
|
15636
15742
|
if (input.includeMemberPreviews === true) url.searchParams.set("includeMemberPreviews", "true");
|
|
15637
15743
|
if (input.includeMessagePreviews === true) url.searchParams.set("includeMessagePreviews", "true");
|
|
15744
|
+
if (input.includeDirectoryPreviews === true) url.searchParams.set("includeDirectoryPreviews", "true");
|
|
15638
15745
|
return `${url.pathname}${url.search}`;
|
|
15639
15746
|
}
|
|
15640
15747
|
const createAccountSpaceIndexApi = (client) => {
|
|
@@ -19737,6 +19844,24 @@ function createServiceConnectionEvidenceApi(client) {
|
|
|
19737
19844
|
})
|
|
19738
19845
|
};
|
|
19739
19846
|
}
|
|
19847
|
+
function createSessionHistoryApi(client) {
|
|
19848
|
+
return { request: (input) => client.requestJson({
|
|
19849
|
+
method: "POST",
|
|
19850
|
+
operation: "computer.session-history",
|
|
19851
|
+
timeoutMs: 4e4,
|
|
19852
|
+
schema: sessionHistoryResultSchema,
|
|
19853
|
+
invalidMessage: "Invalid session history response.",
|
|
19854
|
+
url: `/v1/people-computers/${encodeURIComponent(input.deviceId)}/lanes/${encodeURIComponent(input.runtimeLane)}/session-history`,
|
|
19855
|
+
headers: { "content-type": "application/json" },
|
|
19856
|
+
body: JSON.stringify({
|
|
19857
|
+
organizationId: input.organizationId,
|
|
19858
|
+
request: input.request,
|
|
19859
|
+
...input.execution ? { execution: input.execution } : {}
|
|
19860
|
+
}),
|
|
19861
|
+
...input.requestContext ? { requestContext: input.requestContext } : {},
|
|
19862
|
+
...input.signal ? { signal: input.signal } : {}
|
|
19863
|
+
}) };
|
|
19864
|
+
}
|
|
19740
19865
|
function buildCreateSpacePath() {
|
|
19741
19866
|
return "/v1/spaces";
|
|
19742
19867
|
}
|
|
@@ -21430,6 +21555,6 @@ function shouldWrapNetworkRequestError(error) {
|
|
|
21430
21555
|
return message.includes("fetch failed") || message.includes("failed to fetch") || message.includes("network request failed");
|
|
21431
21556
|
}
|
|
21432
21557
|
//#endregion
|
|
21433
|
-
export { buildLocalFolderPickerPath as $, projectSchema as $i, buildSpaceThreadEvidence as $n, organizationSkillRuntimeReleaseSelectionSchema as $r, createLocalProjectControlApi as $t, buildCurrentOrganizationDirectoryPath as A, listRoutineManagementResponseSchema as Ai, normalizeApiBaseUrl as An, organizationSpaceDirectoryWithMemberCountsResponseSchema as Ar, buildSpaceAttachmentDownloadPath as At, buildCurrentOrganizationMessageChannelsPath as B, agentActivityProviderSchema as Bi, resolveProfileSpaceHistoryGatewayHost as Bn, spaceDispatchTraceAttemptStatusSchema as Br, createAgentProfileWorkRecoveryApi as Bt, buildCenterAgentSessionPath as C, spaceCreatorSchema as Ci, isInboxItemInOrganizationScope as Cn, agentProfileCreationConfigurationSchema as Cr, buildProjectsPath as Ct, buildCurrentAgentProfileSessionRoute as D, deleteCenterAgentRoutineResponseSchema as Di, listSpaceFiles as Dn, mutateSpaceTaskBodySchema as Dr, buildRoutineRunsPath as Dt, buildComputerFileAccessUpdatePath as E, createCenterAgentRoutineResponseSchema as Ei, listSpaceFileRevisions as En, createSpaceTaskBodySchema as Er, buildRoutineResumePath as Et, buildCurrentOrganizationMessageChannelPath as F, updateCenterAgentRoutineResponseSchema as Fi, readCliRelease as Fn, SPACE_DISPATCH_TRACE_PROMPT_PREVIEW_MAX_CHARS as Fr, buildSpaceInboxUnreadTargetsPath as Ft, buildFeedbackIssueSubmissionPath as G, serviceConnectionEvidenceJournalSchema as Gi, updateSpaceFileEntry as Gn, ORGANIZATION_SKILL_BUNDLE_MAX_BYTES as Gr, createConfigApi as Gt, buildCurrentOrganizationSpacesWithMemberCountsPath as H, agentActivitySnapshotQuerySchema as Hi, toStructuredApiClientFailure as Hn, spaceDispatchTraceResponseSchema as Hr, createCloudComputerApi as Ht, buildCurrentOrganizationMessageChannelRegistrationPath as I, modelCatalogSchema as Ii, readOrUpdateSpaceFilePins as In, SPACE_DISPATCH_TRACE_RESPONSE_CONTRACT_VERSION_HEADER as Ir, createAccountSpaceIndexApi as It, buildInboxItemReadPath as J, localProjectControlDaemonFrameSchema as Ji, uploadSpaceFile as Jn, listOrganizationSkillsResponseSchema as Jr, createFeedbackApi as Jt, buildInboxItemDismissPath as K, signalTextEnvelopeSchema as Ki, updateSpaceMeta as Kn, ORGANIZATION_SKILL_FILE_MAX_BYTES as Kr, createCurrentDeviceApi as Kt, buildCurrentOrganizationMessageChannelRegistrationPollPath as L, AGENT_ACTIVITY_EVENT_MAX_BYTES as Li, readOrUpdateSpaceInputQueue as Ln, projectSpaceDispatchTraceFinalVisibleOutcome as Lr, createAgentActivityApi as Lt, buildCurrentOrganizationInformationProtectionPath as M, resumeCenterAgentRoutineResponseSchema as Mi, publicSpaceUrls as Mn, submitFeedbackIssueRequestSchema as Mr, buildSpaceFileContentPath as Mt, buildCurrentOrganizationLogoPath as N, routineManagementSchema as Ni, readAccountOrganizationContext as Nn, submitFeedbackIssueResponseSchema as Nr, buildSpaceInboxReadThroughPath as Nt, buildCurrentOrganizationCenterAgentMemoryWipeSelfPath as O, listCenterAgentRoutineRunsResponseSchema as Oi, listSpaceTasks as On, spaceTaskIdSchema as Or, buildRoutineTargetSpacesPath as Ot, buildCurrentOrganizationMemberOpenMeldServiceStatusesPath as P, routineScopeSchema as Pi, readAccountSession as Pn, spaceThreadEvidenceResponseSchema as Pr, buildSpaceInboxSummaryPath as Pt, buildInboxSummaryPath as Q, listProjectsResponseSchema as Qi, buildSpaceMessageEvidence as Qn, organizationSkillReleaseSummarySchema as Qr, createLocalFolderPickerApi as Qt, buildCurrentOrganizationMessageChannelRegistrationsPath as R, AGENT_ACTIVITY_PRESENCE_TTL_MAX_MS as Ri, readOrUpdateSpaceMessagePins as Rn, resolveRuntimeCoordinatorHeadStatusRootCause as Rr, createAgentProfileBindingApi as Rt, buildCenterAgentProfilePath as S, resolveInitialSpaceAccessMode as Si, inboxMessageNotificationSpaceId as Sn, DEFAULT_AGENT_PROFILE_CREATION_CONFIGURATION as Sr, buildProjectPath as St, buildComputerFileAccessReadPath as T, centerAgentRoutineSchema as Ti, isInboxNotificationEligible as Tn, gatewayErrorEnvelopeSchema as Tr, buildRoutinePausePath as Tt, buildDirectMessageConversionPath as U, agentActivitySnapshotResponseSchema as Ui, trashSpaceFileEntry as Un, observabilityWakeTraceSelectorSchema as Ur, createComputerAuthorizationGrant as Ut, buildCurrentOrganizationSpacesPath as V, agentActivitySessionStatusSchema as Vi, setSpaceAccessMode as Vn, spaceDispatchTraceDispatchStatusSchema as Vr, createCenterAgentApi as Vt, buildDirectMessageSpacePath as W, serviceConnectionEvidenceEventSchema as Wi, updateSpaceFileContent as Wn, projectObservabilityWakeCorrelation as Wr, createComputerFileAccessApi as Wt, buildInboxPath as X, archiveProjectResponseSchema as Xi, DAEMON_STREAM_KEEPALIVE_PONG as Xn, organizationSkillFileSchema as Xr, createFileRootApi as Xt, buildInboxMarkAllReadPath as Y, localProjectControlDiscoverProjectsResponseSchema as Yi, DAEMON_STREAM_KEEPALIVE_PING as Yn, organizationSkillBundleSchema as Yr, createFetchTransport as Yt, buildInboxPreferencesPath as Z, createProjectResponseSchema as Zi, MAX_TEXT_LENGTH as Zn, organizationSkillGitHubRepositoryPreviewSchema as Zr, createInboxApi as Zt, buildCenterAgentDirectMessageSpacePath as _, agentActivityInventorySessionStatusSchema as _i, createSpaceTask as _n, betterAuthDeviceAuthorizationCodeResponseSchema as _r, buildOrganizationUsageOverviewPath as _t, buildAgentActivitySessionsPath as a, computerFileAccessPolicyInputSchema as aa, resolvedSpaceMemberProfileSchema as ai, createOrganizationUsageApi as an, OPENMELD_HEADER_REQUESTED_ORGANIZATION_ID as ar, buildOrganizationDocumentsPath as at, buildCenterAgentMemberResearchPath as b, localAgentSessionProviderSchema as bi, getSpaceFile as bn, betterAuthDeviceAuthorizationTokenResponseSchema as br, buildProfileSpaceHistoryStatusPath as bt, buildAgentProfileCreationApprovalPreferencePath as c, toCompatibleSpaceAddressingRequestWireValue as ca, spaceMemberDirectoryEntrySchema as ci, createProfileSpaceHistoryApi as cn, buildOpenMeldRequestContextHeaders as cr, buildOrganizationSkillFilesImportPath as ct, buildAgentProfileCreationRequestDecisionPath as d, submitAgentControllerTaskLifecycleEventItemSchema as di, createReasoningStreamApi as dn, getSpaceUpdatesResponseSchema as dr, buildOrganizationSkillGitHubPreviewPath as dt, updateProjectResponseSchema as ea, organizationSkillSummarySchema as ei, createLocalRuntimeExpectedRoutesApi as en, parseEnvelope as er, buildLocalProjectControlPath as et, buildAgentProfileCreationRequestRetryPath as f, ownerComputerDiagnosticsSchema as fi, createRoutinesApi as fn, spaceEntryTargetSchema as fr, buildOrganizationSkillMaintainersPath as ft, buildCenterAgentDesignationPath as g, agentActivityInventorySessionOriginSchema as gi, createSpaceFolder as gn, betterAuthDeviceAuthorizationCodeRequestSchema as gr, buildOrganizationSkillsPath as gt, buildCenterAgentAuditJournalPath as h, organizationComputersResponseSchema as hi, createSpaceApi as hn, BETTER_AUTH_DEVICE_AUTHORIZATION_GRANT_TYPE as hr, buildOrganizationSkillResourcePath as ht, buildAccountSpaceIndexPath as i, computerFileAccessDaemonFrameSchema as ia, removeSpaceMembersResponseSchema as ii, createOrganizationSkillsApi as in, OPENMELD_HEADER_PROFILE_ID as ir, buildOrganizationDocumentPath as it, buildCurrentOrganizationFeedbackReportingPolicyPath as j, pauseCenterAgentRoutineResponseSchema as ji, postSpaceWorkHandoff as jn, organizationDirectoryResponseSchema as jr, buildSpaceBootstrapReadPath as jt, buildCurrentOrganizationComputersPath as k, listCenterAgentRoutinesResponseSchema as ki, mutateSpaceTask as kn, spaceTaskMutationReceiptSchema as kr, buildRoutinesPath as kt, buildAgentProfileCreationDefaultsPath as l, spaceMemberDirectorySchema as li, createProfilesApi as ln, toErrorMessage$2 as lr, buildOrganizationSkillFilesPreviewPath as lt, buildAgentProfileWorkRecoveryRoute as m, summarizeComputerFileAccessPolicy as mi, createServiceConnectionEvidenceApi as mn, pluginActionRequestSchema as mr, buildOrganizationSkillRepositoryPreviewPath as mt, OpenMeldApiClientInvalidResponseError as n, COMPUTER_FILE_ACCESS_RUNTIME_CAPABILITY as na, leaveSpaceResponseSchema as ni, createOrganizationApi as nn, parseServerErrorFrame as nr, buildOrganizationDocumentApproveDraftPath as nt, buildAgentActivitySnapshotPath as o, computerFileAccessPolicySchema as oa, spaceMemberAgentWakeAvailabilitySchema as oi, createPluginsApi as on, OPENMELD_HEADER_REQUEST_ID as or, buildOrganizationSkillCatalogPath as ot, buildAgentProfileCreationRequestsPath as p, projectOwnerComputerLocalRuntimes as pi, createRuntimeReportingApi as pn, openDirectMessageSpaceBodySchema as pr, buildOrganizationSkillPath as pt, buildInboxItemPath as q, localProjectControlConnectionSchema as qi, uploadSpaceAttachment as qn, getOrganizationSkillResponseSchema as qr, createDirectMessageApi as qt, buildAccountSpaceActiveWakeSummaryPath as r, OPENMELD_RUNTIME_CAPABILITIES_HEADER as ra, postSpaceMembersResponseSchema as ri, createOrganizationDocumentsApi as rn, resolveCustomMentionAliasOverride as rr, buildOrganizationDocumentDiscardDraftPath as rt, buildAgentActivityStatsPath as s, toLegacySpaceImageGeometryWireValue as sa, spaceMemberDirectoryAllowedRelationsSchema as si, createPrepareReadinessApi as sn, OPENMELD_HEADER_SPACE_ADDRESSING_VERSION as sr, buildOrganizationSkillEnabledPath as st, OpenMeldApiClientHttpError as t, COMPUTER_FILE_ACCESS_OWNER_CANCELLED_REASON_CODE as ta, stringifyOrganizationSkillBundleCanonicalJson as ti, createOpenMeldApiClient as tn, parseIncoming as tr, buildModelCatalogPath as tt, buildAgentProfileCreationRequestCancelPath as u, spaceMemberKindSchema as ui, createProjectsApi as un, cloudComputerOperationSchema as ur, buildOrganizationSkillGitHubImportPath as ut, buildCenterAgentInboxReadThroughPath as v, agentActivitySessionInventoryQuerySchema as vi, downloadSpaceFileContent as vn, betterAuthDeviceAuthorizationErrorResponseSchema as vr, buildProfileRoute as vt, buildCenterAgentSessionsPath as w, spaceMetaSchema as wi, isInboxItemVisibleConversation as wn, createAgentProfileCreationRequestBodySchema as wr, buildRoutinePath as wt, buildCenterAgentOperatingStatePath as x, observedLocalAgentSessionSchema as xi, getSpaceTask as xn, betterAuthSessionSnapshotResponseSchema as xr, buildProfileSpaceHistoryUpsertPath as xt, buildCenterAgentInboxSummaryPath as y, agentActivitySessionInventoryResponseSchema as yi, getModelCatalog as yn, betterAuthDeviceAuthorizationTokenRequestSchema as yr, buildProfileSpaceHistoryListPath as yt, buildCurrentOrganizationMessageChannelSetupRequestsPath as z, agentActivityEventSchema as zi, resolveAccountSpaceIndexGatewayHost as zn, resolveSpaceDispatchTraceRootCause as zr, createAgentProfileExecutionModeApi as zt };
|
|
21558
|
+
export { buildLocalFolderPickerPath as $, agentActivitySnapshotResponseSchema as $i, buildSpaceMessageEvidence as $n, observabilityWakeTraceSelectorSchema as $r, createLocalProjectControlApi as $t, buildCurrentOrganizationDirectoryPath as A, localAgentSessionProviderSchema as Ai, mutateSpaceTask as An, spaceTaskMutationReceiptSchema as Ar, buildSpaceAttachmentDownloadPath as At, buildCurrentOrganizationMessageChannelsPath as B, listRoutineManagementResponseSchema as Bi, resolveAccountSpaceIndexGatewayHost as Bn, sessionHistoryReadSchema as Br, createAgentProfileWorkRecoveryApi as Bt, buildCenterAgentSessionPath as C, projectOwnerComputerLocalRuntimes as Ci, inboxMessageNotificationSpaceId as Cn, DEFAULT_AGENT_PROFILE_CREATION_CONFIGURATION as Cr, buildProjectsPath as Ct, buildCurrentAgentProfileSessionRoute as D, agentActivityInventorySessionStatusSchema as Di, listSpaceFileRevisions as Dn, createSpaceTaskBodySchema as Dr, buildRoutineRunsPath as Dt, buildComputerFileAccessUpdatePath as E, agentActivityInventorySessionOriginSchema as Ei, isInboxNotificationEligible as En, gatewayErrorEnvelopeSchema as Er, buildRoutineResumePath as Et, buildCurrentOrganizationMessageChannelPath as F, centerAgentRoutineSchema as Fi, readAccountSession as Fn, SESSION_HISTORY_CAPABILITY_HEADER as Fr, buildSpaceInboxUnreadTargetsPath as Ft, buildFeedbackIssueSubmissionPath as G, updateCenterAgentRoutineResponseSchema as Gi, updateSpaceFileContent as Gn, SPACE_DISPATCH_TRACE_PROMPT_PREVIEW_MAX_CHARS as Gr, createConfigApi as Gt, buildCurrentOrganizationSpacesWithMemberCountsPath as H, resumeCenterAgentRoutineResponseSchema as Hi, setSpaceAccessMode as Hn, sessionHistoryResultFrameSchema as Hr, createCloudComputerApi as Ht, buildCurrentOrganizationMessageChannelRegistrationPath as I, createCenterAgentRoutineResponseSchema as Ii, readCliRelease as In, SESSION_HISTORY_RUNTIME_CAPABILITY as Ir, createAccountSpaceIndexApi as It, buildInboxItemReadPath as J, AGENT_ACTIVITY_PRESENCE_TTL_MAX_MS as Ji, uploadSpaceAttachment as Jn, resolveRuntimeCoordinatorHeadStatusRootCause as Jr, createFeedbackApi as Jt, buildInboxItemDismissPath as K, modelCatalogSchema as Ki, updateSpaceFileEntry as Kn, SPACE_DISPATCH_TRACE_RESPONSE_CONTRACT_VERSION_HEADER as Kr, createCurrentDeviceApi as Kt, buildCurrentOrganizationMessageChannelRegistrationPollPath as L, deleteCenterAgentRoutineResponseSchema as Li, readOrUpdateSpaceFilePins as Ln, sessionHistoryAuditSchema as Lr, createAgentActivityApi as Lt, buildCurrentOrganizationInformationProtectionPath as M, resolveInitialSpaceAccessMode as Mi, postSpaceWorkHandoff as Mn, organizationDirectoryResponseSchema as Mr, buildSpaceFileContentPath as Mt, buildCurrentOrganizationLogoPath as N, spaceCreatorSchema as Ni, publicSpaceUrls as Nn, submitFeedbackIssueRequestSchema as Nr, buildSpaceInboxReadThroughPath as Nt, buildCurrentOrganizationCenterAgentMemoryWipeSelfPath as O, agentActivitySessionInventoryQuerySchema as Oi, listSpaceFiles as On, mutateSpaceTaskBodySchema as Or, buildRoutineTargetSpacesPath as Ot, buildCurrentOrganizationMemberOpenMeldServiceStatusesPath as P, spaceMetaSchema as Pi, readAccountOrganizationContext as Pn, submitFeedbackIssueResponseSchema as Pr, buildSpaceInboxSummaryPath as Pt, buildInboxSummaryPath as Q, agentActivitySnapshotQuerySchema as Qi, MAX_TEXT_LENGTH as Qn, spaceDispatchTraceResponseSchema as Qr, createLocalFolderPickerApi as Qt, buildCurrentOrganizationMessageChannelRegistrationsPath as R, listCenterAgentRoutineRunsResponseSchema as Ri, readOrUpdateSpaceInputQueue as Rn, sessionHistoryPageSchema as Rr, createAgentProfileBindingApi as Rt, buildCenterAgentProfilePath as S, ownerComputerDiagnosticsSchema as Si, getSpaceTask as Sn, betterAuthSessionSnapshotResponseSchema as Sr, buildProjectPath as St, buildComputerFileAccessReadPath as T, organizationComputersResponseSchema as Ti, isInboxItemVisibleConversation as Tn, createAgentProfileCreationRequestBodySchema as Tr, buildRoutinePausePath as Tt, buildDirectMessageConversionPath as U, routineManagementSchema as Ui, toStructuredApiClientFailure as Un, sessionHistoryResultSchema as Ur, createComputerAuthorizationGrant as Ut, buildCurrentOrganizationSpacesPath as V, pauseCenterAgentRoutineResponseSchema as Vi, resolveProfileSpaceHistoryGatewayHost as Vn, sessionHistoryRequestFrameSchema as Vr, createCenterAgentApi as Vt, buildDirectMessageSpacePath as W, routineScopeSchema as Wi, trashSpaceFileEntry as Wn, spaceThreadEvidenceResponseSchema as Wr, createComputerFileAccessApi as Wt, buildInboxPath as X, agentActivityProviderSchema as Xi, DAEMON_STREAM_KEEPALIVE_PING as Xn, spaceDispatchTraceAttemptStatusSchema as Xr, createFileRootApi as Xt, buildInboxMarkAllReadPath as Y, agentActivityEventSchema as Yi, uploadSpaceFile as Yn, resolveSpaceDispatchTraceRootCause as Yr, createFetchTransport as Yt, buildInboxPreferencesPath as Z, agentActivitySessionStatusSchema as Zi, DAEMON_STREAM_KEEPALIVE_PONG as Zn, spaceDispatchTraceDispatchStatusSchema as Zr, createInboxApi as Zt, buildCenterAgentDirectMessageSpacePath as _, toLegacySpaceImageGeometryWireValue as _a, spaceMemberDirectoryAllowedRelationsSchema as _i, createSpaceFolder as _n, betterAuthDeviceAuthorizationCodeRequestSchema as _r, buildOrganizationUsageOverviewPath as _t, buildAgentActivitySessionsPath as a, localProjectControlDiscoverProjectsResponseSchema as aa, organizationSkillBundleSchema as ai, createOrganizationUsageApi as an, OPENMELD_HEADER_PROFILE_ID as ar, buildOrganizationDocumentsPath as at, buildCenterAgentMemberResearchPath as b, spaceMemberKindSchema as bi, getModelCatalog as bn, betterAuthDeviceAuthorizationTokenRequestSchema as br, buildProfileSpaceHistoryStatusPath as bt, buildAgentProfileCreationApprovalPreferencePath as c, listProjectsResponseSchema as ca, organizationSkillReleaseSummarySchema as ci, createProfileSpaceHistoryApi as cn, OPENMELD_HEADER_SPACE_ADDRESSING_VERSION as cr, buildOrganizationSkillFilesImportPath as ct, buildAgentProfileCreationRequestDecisionPath as d, COMPUTER_FILE_ACCESS_OWNER_CANCELLED_REASON_CODE as da, stringifyOrganizationSkillBundleCanonicalJson as di, createReasoningStreamApi as dn, cloudComputerOperationSchema as dr, buildOrganizationSkillGitHubPreviewPath as dt, serviceConnectionEvidenceEventSchema as ea, projectObservabilityWakeCorrelation as ei, createLocalRuntimeExpectedRoutesApi as en, buildSpaceThreadEvidence as er, buildLocalProjectControlPath as et, buildAgentProfileCreationRequestRetryPath as f, COMPUTER_FILE_ACCESS_RUNTIME_CAPABILITY as fa, leaveSpaceResponseSchema as fi, createRoutinesApi as fn, getSpaceUpdatesResponseSchema as fr, buildOrganizationSkillMaintainersPath as ft, buildCenterAgentDesignationPath as g, computerFileAccessPolicySchema as ga, spaceMemberAgentWakeAvailabilitySchema as gi, createSpaceApi as gn, BETTER_AUTH_DEVICE_AUTHORIZATION_GRANT_TYPE as gr, buildOrganizationSkillsPath as gt, buildCenterAgentAuditJournalPath as h, computerFileAccessPolicyInputSchema as ha, resolvedSpaceMemberProfileSchema as hi, createSessionHistoryApi as hn, pluginActionRequestSchema as hr, buildOrganizationSkillResourcePath as ht, buildAccountSpaceIndexPath as i, localProjectControlDaemonFrameSchema as ia, listOrganizationSkillsResponseSchema as ii, createOrganizationSkillsApi as in, resolveCustomMentionAliasOverride as ir, buildOrganizationDocumentPath as it, buildCurrentOrganizationFeedbackReportingPolicyPath as j, observedLocalAgentSessionSchema as ji, normalizeApiBaseUrl as jn, organizationSpaceDirectoryWithMemberCountsResponseSchema as jr, buildSpaceBootstrapReadPath as jt, buildCurrentOrganizationComputersPath as k, agentActivitySessionInventoryResponseSchema as ki, listSpaceTasks as kn, spaceTaskIdSchema as kr, buildRoutinesPath as kt, buildAgentProfileCreationDefaultsPath as l, projectSchema as la, organizationSkillRuntimeReleaseSelectionSchema as li, createProfilesApi as ln, buildOpenMeldRequestContextHeaders as lr, buildOrganizationSkillFilesPreviewPath as lt, buildAgentProfileWorkRecoveryRoute as m, computerFileAccessDaemonFrameSchema as ma, removeSpaceMembersResponseSchema as mi, createServiceConnectionEvidenceApi as mn, openDirectMessageSpaceBodySchema as mr, buildOrganizationSkillRepositoryPreviewPath as mt, OpenMeldApiClientInvalidResponseError as n, signalTextEnvelopeSchema as na, ORGANIZATION_SKILL_FILE_MAX_BYTES as ni, createOrganizationApi as nn, parseIncoming as nr, buildOrganizationDocumentApproveDraftPath as nt, buildAgentActivitySnapshotPath as o, archiveProjectResponseSchema as oa, organizationSkillFileSchema as oi, createPluginsApi as on, OPENMELD_HEADER_REQUESTED_ORGANIZATION_ID as or, buildOrganizationSkillCatalogPath as ot, buildAgentProfileCreationRequestsPath as p, OPENMELD_RUNTIME_CAPABILITIES_HEADER as pa, postSpaceMembersResponseSchema as pi, createRuntimeReportingApi as pn, spaceEntryTargetSchema as pr, buildOrganizationSkillPath as pt, buildInboxItemPath as q, AGENT_ACTIVITY_EVENT_MAX_BYTES as qi, updateSpaceMeta as qn, projectSpaceDispatchTraceFinalVisibleOutcome as qr, createDirectMessageApi as qt, buildAccountSpaceActiveWakeSummaryPath as r, localProjectControlConnectionSchema as ra, getOrganizationSkillResponseSchema as ri, createOrganizationDocumentsApi as rn, parseServerErrorFrame as rr, buildOrganizationDocumentDiscardDraftPath as rt, buildAgentActivityStatsPath as s, createProjectResponseSchema as sa, organizationSkillGitHubRepositoryPreviewSchema as si, createPrepareReadinessApi as sn, OPENMELD_HEADER_REQUEST_ID as sr, buildOrganizationSkillEnabledPath as st, OpenMeldApiClientHttpError as t, serviceConnectionEvidenceJournalSchema as ta, ORGANIZATION_SKILL_BUNDLE_MAX_BYTES as ti, createOpenMeldApiClient as tn, parseEnvelope as tr, buildModelCatalogPath as tt, buildAgentProfileCreationRequestCancelPath as u, updateProjectResponseSchema as ua, organizationSkillSummarySchema as ui, createProjectsApi as un, toErrorMessage$2 as ur, buildOrganizationSkillGitHubImportPath as ut, buildCenterAgentInboxReadThroughPath as v, toCompatibleSpaceAddressingRequestWireValue as va, spaceMemberDirectoryEntrySchema as vi, createSpaceTask as vn, betterAuthDeviceAuthorizationCodeResponseSchema as vr, buildProfileRoute as vt, buildCenterAgentSessionsPath as w, summarizeComputerFileAccessPolicy as wi, isInboxItemInOrganizationScope as wn, agentProfileCreationConfigurationSchema as wr, buildRoutinePath as wt, buildCenterAgentOperatingStatePath as x, submitAgentControllerTaskLifecycleEventItemSchema as xi, getSpaceFile as xn, betterAuthDeviceAuthorizationTokenResponseSchema as xr, buildProfileSpaceHistoryUpsertPath as xt, buildCenterAgentInboxSummaryPath as y, spaceMemberDirectorySchema as yi, downloadSpaceFileContent as yn, betterAuthDeviceAuthorizationErrorResponseSchema as yr, buildProfileSpaceHistoryListPath as yt, buildCurrentOrganizationMessageChannelSetupRequestsPath as z, listCenterAgentRoutinesResponseSchema as zi, readOrUpdateSpaceMessagePins as zn, sessionHistoryPolicySchema as zr, createAgentProfileExecutionModeApi as zt };
|
|
21434
21559
|
|
|
21435
|
-
//# sourceMappingURL=dist-
|
|
21560
|
+
//# sourceMappingURL=dist-DGeoVaIx.js.map
|