openmeld 0.3.231 → 0.3.233
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-0KyMk1wi.js → add-me-membership-_O3IzRLn.js} +2 -2
- package/dist/{add-me-membership-0KyMk1wi.js.map → add-me-membership-_O3IzRLn.js.map} +1 -1
- package/dist/{agents-Bkx6ldpV.js → agents-B5E7c7sQ.js} +11 -11
- package/dist/{agents-Bkx6ldpV.js.map → agents-B5E7c7sQ.js.map} +1 -1
- package/dist/{api-client-foundation-d4E5XWdJ.js → api-client-foundation-1p1VVFJ_.js} +1 -1
- package/dist/{api-client-foundation-DgTXf3Gb.js → api-client-foundation-C-RPnq_p.js} +3 -3
- package/dist/{api-client-foundation-DgTXf3Gb.js.map → api-client-foundation-C-RPnq_p.js.map} +1 -1
- package/dist/auth-session-CmjjkLiB.js +4 -0
- package/dist/{auth-session-pLaN5cnC.js → auth-session-iXCJO5oB.js} +6 -6
- package/dist/{auth-session-pLaN5cnC.js.map → auth-session-iXCJO5oB.js.map} +1 -1
- package/dist/auth-url-6Bb6YdNm.js +24 -0
- package/dist/auth-url-6Bb6YdNm.js.map +1 -0
- package/dist/{base-url-eck31vC8.js → base-url-0AoeTi3w.js} +3 -3
- package/dist/{base-url-eck31vC8.js.map → base-url-0AoeTi3w.js.map} +1 -1
- package/dist/{base-url-B8eWb2md.js → base-url-Bdjp-5vy.js} +1 -1
- package/dist/{channel-DppbHxHw.js → channel-BciBrA3Y.js} +25 -5
- package/dist/channel-BciBrA3Y.js.map +1 -0
- package/dist/{cli-binary-manifest-Bjf6T7Ef.js → cli-binary-manifest-ETxqCzfS.js} +8 -1
- package/dist/cli-binary-manifest-ETxqCzfS.js.map +1 -0
- package/dist/{command-CBWv24uj.js → command-D0pcAIoE.js} +19 -19
- package/dist/{command-CBWv24uj.js.map → command-D0pcAIoE.js.map} +1 -1
- package/dist/{computer-connection-DMkamVpB.js → computer-connection-CHP1-0rK.js} +2 -2
- package/dist/{computer-connection-DMkamVpB.js.map → computer-connection-CHP1-0rK.js.map} +1 -1
- package/dist/{computer-connection-review-BSPMGVhN.js → computer-connection-review-dHotFqmD.js} +6 -6
- package/dist/{computer-connection-review-BSPMGVhN.js.map → computer-connection-review-dHotFqmD.js.map} +1 -1
- package/dist/{computer-disconnect-BQ_MDeeA.js → computer-disconnect-B2DLDxWx.js} +9 -9
- package/dist/{computer-disconnect-BQ_MDeeA.js.map → computer-disconnect-B2DLDxWx.js.map} +1 -1
- package/dist/{computer-setup-continuation-Cd293Yzi.js → computer-setup-continuation-Cv_c1B-7.js} +3 -3
- package/dist/{computer-setup-continuation-Cd293Yzi.js.map → computer-setup-continuation-Cv_c1B-7.js.map} +1 -1
- package/dist/{context-qbQXVLF5.js → context-BnhlFS8m.js} +5 -5
- package/dist/{context-qbQXVLF5.js.map → context-BnhlFS8m.js.map} +1 -1
- package/dist/{control-plane-rTE2rHZ5.js → control-plane-QqGL-jtT.js} +2 -2
- package/dist/{control-plane-rTE2rHZ5.js.map → control-plane-QqGL-jtT.js.map} +1 -1
- package/dist/{daemon-device-id-B6iDyQEs.js → daemon-device-id-DbSIqHoZ.js} +8 -8
- package/dist/{daemon-device-id-B6iDyQEs.js.map → daemon-device-id-DbSIqHoZ.js.map} +1 -1
- package/dist/{daemon-lifecycle-journal-DrwEygzu.js → daemon-lifecycle-journal-DsVVvKJe.js} +10 -10
- package/dist/{daemon-lifecycle-journal-DrwEygzu.js.map → daemon-lifecycle-journal-DsVVvKJe.js.map} +1 -1
- package/dist/{daemon-runtime-lease-C1wkT4Bi.js → daemon-runtime-lease-Bv6vhqOe.js} +2 -2
- package/dist/{daemon-runtime-lease-C1wkT4Bi.js.map → daemon-runtime-lease-Bv6vhqOe.js.map} +1 -1
- package/dist/{daemon-runtime-lease-DAQyRUc5.js → daemon-runtime-lease-ZjP0urJt.js} +1 -1
- package/dist/{daemon-service-contract-DhEfbzHt.js → daemon-service-contract-COPKbCy_.js} +4 -4
- package/dist/{daemon-service-contract-DhEfbzHt.js.map → daemon-service-contract-COPKbCy_.js.map} +1 -1
- package/dist/{daemon-service-manager-CRnFxPKA.js → daemon-service-manager-BXAp21GH.js} +6 -6
- package/dist/{daemon-service-manager-CRnFxPKA.js.map → daemon-service-manager-BXAp21GH.js.map} +1 -1
- package/dist/{daemon-service-manager-l0unaDGa.js → daemon-service-manager-C_ny0JhB.js} +1 -1
- package/dist/{daemon-service-runtime-B4nWB2Qx.js → daemon-service-runtime-DZI6Ke3_.js} +16 -15
- package/dist/{daemon-service-runtime-B4nWB2Qx.js.map → daemon-service-runtime-DZI6Ke3_.js.map} +1 -1
- package/dist/{daemon-service-update-coordinator-C8cW7Vn_.js → daemon-service-update-coordinator-BgVBlJ4d.js} +29 -24
- package/dist/daemon-service-update-coordinator-BgVBlJ4d.js.map +1 -0
- package/dist/{daemon-state-B6G5xe7f.js → daemon-state-Dte9re5V.js} +4 -4
- package/dist/{daemon-state-B6G5xe7f.js.map → daemon-state-Dte9re5V.js.map} +1 -1
- package/dist/{daemon-frame-transport-xQnNyg6E.js → dispatch-owned-runtime-BeIQetEt.js} +550 -53
- package/dist/dispatch-owned-runtime-BeIQetEt.js.map +1 -0
- package/dist/{dist-CAypwFRu.js → dist-BgYBvEBB.js} +206 -190
- package/dist/dist-BgYBvEBB.js.map +1 -0
- package/dist/{dist-DFhd6JmQ.js → dist-DQS0XYkb.js} +3 -3
- package/dist/{dist-DFhd6JmQ.js.map → dist-DQS0XYkb.js.map} +1 -1
- package/dist/{dist-olOaAWkl.js → dist-z72xYz5Z.js} +1 -1
- package/dist/{elapsed-time-COv3bjEl.js → elapsed-time-C7S-6bWV.js} +6 -6
- package/dist/{elapsed-time-COv3bjEl.js.map → elapsed-time-C7S-6bWV.js.map} +1 -1
- package/dist/{entry-DIjUKIep.js → entry-CX24qHnm.js} +81 -17
- package/dist/entry-CX24qHnm.js.map +1 -0
- package/dist/{installation-inventory-DllgoKT1.js → installation-inventory-B3mwQFEA.js} +5 -5
- package/dist/{installation-inventory-DllgoKT1.js.map → installation-inventory-B3mwQFEA.js.map} +1 -1
- package/dist/{installer-Sc79LhuA.js → installer-DnIJ4y3l.js} +2 -2
- package/dist/{installer-Sc79LhuA.js.map → installer-DnIJ4y3l.js.map} +1 -1
- package/dist/{local-components-DleLEzSU.js → local-components-DJiMS67S.js} +36 -3
- package/dist/local-components-DJiMS67S.js.map +1 -0
- package/dist/{lock-CMH9eoS7.js → lock-BMI00i2F.js} +2 -2
- package/dist/{lock-CMH9eoS7.js.map → lock-BMI00i2F.js.map} +1 -1
- package/dist/meta-api-DgHkiIdr.js +371 -0
- package/dist/meta-api-DgHkiIdr.js.map +1 -0
- package/dist/openmeld-dev.js +17 -9
- package/dist/openmeld-dev.js.map +1 -1
- package/dist/{openmeld-environment-target-Cw3V0WnE.js → openmeld-environment-target-BgYR6ozy.js} +8 -25
- package/dist/openmeld-environment-target-BgYR6ozy.js.map +1 -0
- package/dist/{openmeld-BUYFXSyY.js → openmeld-kYp99hOl.js} +41 -39
- package/dist/{openmeld-BUYFXSyY.js.map → openmeld-kYp99hOl.js.map} +1 -1
- package/dist/{openmeld-maintenance-worker-Br6WIhhe.js → openmeld-maintenance-worker-BqU1Asrm.js} +14 -14
- package/dist/{openmeld-maintenance-worker-Br6WIhhe.js.map → openmeld-maintenance-worker-BqU1Asrm.js.map} +1 -1
- package/dist/{openmeld-tools-update-join-B1l6RER6.js → openmeld-tools-update-join-BKJnGR5h.js} +4 -4
- package/dist/{openmeld-tools-update-join-B1l6RER6.js.map → openmeld-tools-update-join-BKJnGR5h.js.map} +1 -1
- package/dist/{openmeld-tools-update-process-frame-DbEZ3fEh.js → openmeld-tools-update-process-frame-Csy2XKUf.js} +1 -1
- package/dist/{openmeld-tools-update-process-frame-BtFKp70p.js → openmeld-tools-update-process-frame-YLOS82E3.js} +2 -2
- package/dist/{openmeld-tools-update-process-frame-BtFKp70p.js.map → openmeld-tools-update-process-frame-YLOS82E3.js.map} +1 -1
- package/dist/openmeld.js +6 -6
- package/dist/{paths-DSkUuEu3.js → paths-De9xdA2h.js} +11 -6
- package/dist/paths-De9xdA2h.js.map +1 -0
- package/dist/{prepare-provider-runtime-DfsSj_N_.js → prepare-provider-runtime-CD6XRt7X.js} +385 -181
- package/dist/prepare-provider-runtime-CD6XRt7X.js.map +1 -0
- package/dist/{prepare-session-executor-CrYpWljb.js → prepare-session-executor-DY2s4FuY.js} +26 -26
- package/dist/{prepare-session-executor-CrYpWljb.js.map → prepare-session-executor-DY2s4FuY.js.map} +1 -1
- package/dist/{process-channel-DmTb_kO4.js → process-channel-CzgOWiuh.js} +2 -2
- package/dist/{process-channel-DmTb_kO4.js.map → process-channel-CzgOWiuh.js.map} +1 -1
- package/dist/{published-production-safety-CgXxtdMK.js → published-production-safety-zANGAGDI.js} +5 -6
- package/dist/published-production-safety-zANGAGDI.js.map +1 -0
- package/dist/{runtime-ZLBVtFFY.js → runtime-Br4Ga0rJ.js} +77 -23
- package/dist/runtime-Br4Ga0rJ.js.map +1 -0
- package/dist/{runtime-agent-controller-reporting-submission-CbaUsNTF.js → runtime-agent-controller-reporting-submission-CQjbBiHh.js} +146 -37
- package/dist/runtime-agent-controller-reporting-submission-CQjbBiHh.js.map +1 -0
- package/dist/{runtime-reporting-health-state-DOg9iwwO.js → runtime-reporting-health-state-a1FUE1S-.js} +120 -25
- package/dist/runtime-reporting-health-state-a1FUE1S-.js.map +1 -0
- package/dist/{runtime-transport-D4x8_AmR.js → runtime-transport-D4CVffnp.js} +88 -8
- package/dist/runtime-transport-D4CVffnp.js.map +1 -0
- package/dist/{service-B9y1SQlB.js → service-D9QVc4_y.js} +99 -30
- package/dist/service-D9QVc4_y.js.map +1 -0
- package/dist/{service-account-authorization-Di59Cjth.js → service-account-authorization-DLhUgGDb.js} +6 -6
- package/dist/{service-account-authorization-Di59Cjth.js.map → service-account-authorization-DLhUgGDb.js.map} +1 -1
- package/dist/{service-account-control-DALO1USM.js → service-account-control-DIdQILmo.js} +13 -13
- package/dist/{service-account-control-DALO1USM.js.map → service-account-control-DIdQILmo.js.map} +1 -1
- package/dist/{service-control-capabilities-B9ZxDPOJ.js → service-control-capabilities-BvHU_NcX.js} +1 -1
- package/dist/{service-control-capabilities-CKwU9Er5.js → service-control-capabilities-CGv5Cuxo.js} +5 -5
- package/dist/{service-control-capabilities-CKwU9Er5.js.map → service-control-capabilities-CGv5Cuxo.js.map} +1 -1
- package/dist/{state-CdSbKM0J.js → state-AWe5DSV8.js} +3 -3
- package/dist/{state-CdSbKM0J.js.map → state-AWe5DSV8.js.map} +1 -1
- package/dist/upgrade-CLnZ4WBF.js +4 -0
- package/dist/{upgrade-DLJJlkbf.js → upgrade-CcnlL7FH.js} +9 -9
- package/dist/{upgrade-DLJJlkbf.js.map → upgrade-CcnlL7FH.js.map} +1 -1
- package/dist/{windows-preview-channel-DPrYuLyY.js → windows-preview-channel-BPhfSwji.js} +2 -2
- package/dist/{windows-preview-channel-DPrYuLyY.js.map → windows-preview-channel-BPhfSwji.js.map} +1 -1
- package/dist/{windows-user-task-BR-WB7hr.js → windows-user-task-CTsMnmD4.js} +3 -3
- package/dist/{windows-user-task-BR-WB7hr.js.map → windows-user-task-CTsMnmD4.js.map} +1 -1
- package/dist/{windows-user-task-m9eMEUEq.js → windows-user-task-DnxKO3oB.js} +1 -1
- package/package.json +10 -10
- package/dist/auth-session-DExyUwLo.js +0 -4
- package/dist/channel-DppbHxHw.js.map +0 -1
- package/dist/cli-binary-manifest-Bjf6T7Ef.js.map +0 -1
- package/dist/daemon-frame-transport-xQnNyg6E.js.map +0 -1
- package/dist/daemon-service-update-coordinator-C8cW7Vn_.js.map +0 -1
- package/dist/dist-CAypwFRu.js.map +0 -1
- package/dist/entry-DIjUKIep.js.map +0 -1
- package/dist/local-components-DleLEzSU.js.map +0 -1
- package/dist/meta-api-CEw8eOeN.js +0 -845
- package/dist/meta-api-CEw8eOeN.js.map +0 -1
- package/dist/openmeld-environment-target-Cw3V0WnE.js.map +0 -1
- package/dist/paths-DSkUuEu3.js.map +0 -1
- package/dist/prepare-provider-runtime-DfsSj_N_.js.map +0 -1
- package/dist/published-production-safety-CgXxtdMK.js.map +0 -1
- package/dist/runtime-ZLBVtFFY.js.map +0 -1
- package/dist/runtime-agent-controller-reporting-submission-CbaUsNTF.js.map +0 -1
- package/dist/runtime-reporting-health-state-DOg9iwwO.js.map +0 -1
- package/dist/runtime-transport-D4x8_AmR.js.map +0 -1
- package/dist/service-B9y1SQlB.js.map +0 -1
- package/dist/upgrade-BFWUxFpJ.js +0 -4
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { C as resolveBuiltinAgentControllerConversationCapability, S as agentControllerConversationCapabilitySchema, b as normalizeKnownBuiltinAgentControllerId, h as agentControllerRefSchema, s as runtimeTransportModeSchema } from "./controller-contract-DAOCaefz.js";
|
|
4
|
-
import { $
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { A as
|
|
4
|
+
import { $t as discardSpaceComposerUploadResponseSchema, At as signalTextDataSchema, Bn as spaceAllowedActionsSchema, Br as organizationProtectedInformationSchema, Bt as conversationCompactionMarkerSchema, Cn as spaceFolderDescriptorSchema, Cr as clientMessageIdSchema$1, Dn as trashSpaceFileEntryResponseSchema, Dr as runtimeCoordinatorExecutionRecordSchema, En as stageSpaceComposerUploadResponseSchema, Er as runtimeCoordinatorExecutionEventSchema, Fn as spaceThreadSchema, Ft as spaceAttachmentFileNameSchema, Gr as executeExecutionRecoveryBodySchema, Gt as spaceWorkHandoffSchema, H as runtimeTransportRuntimeCoordinatorRespondInteractionResponseSchema, Hn as spaceDispatchPolicySchema, Ht as centerAgentInteractionSourceSchema, In as spaceThreadSignalPlacementSchema, It as spaceAttachmentMimeTypeSchema, Jr as agentProfileWorkRecoveryActionKindSchema, K as openMeldDaemonOriginalErrorSchema, Kn as targetWakeLifecycleIdentitySchema, Kr as executeExecutionRecoveryResponseSchema, Lr as spaceMentionLabelSchema, Lt as spaceAttachmentSizeBytesSchema, Mn as executionHostObservationSchema, Mr as SPACE_PASSWORD_RATE_LIMITED_ERROR_CODE, Mt as wakeDeviceWaitTargetSchema, Nn as spaceThreadContextSchema, Nr as normalizeSpacePasswordText, Nt as spaceAttachmentDescriptorSchema, On as updateSpaceFileEntryResponseSchema, Ot as signalStatusDataSchema, Pn as spaceThreadEventSchema, Pr as spacePasswordSchema, Pt as spaceAttachmentDimensionSchema, Q as openMeldDaemonTaskResultProjectFailureContextSchema, Qt as createSpaceFolderResponseSchema, Rr as spaceMentionLabelSourceSchema, Rt as spaceMessageAttachmentSchema, Si as updateProfileResponseSchema, Sn as spaceFileRevisionSchema, Sr as postSpaceWakeStopResponseSchema, Ti as MAX_TEXT_LENGTH$1, Tn as spaceMessageFileReferencesSchema, Tr as runtimeCoordinatorExecutionCreationDiagnosticSchema, Un as workingLanguageGuidanceSchema, Vn as spacePublicationModeSchema, Vr as updateOrganizationInformationProtectionPolicyBodySchema, Wn as workingLanguageTagSchema, Wr as localAgentReasoningPreferencesSchema, Xt as SPACE_FILE_MAX_SIZE_BYTES, Yt as SPACE_FILE_ERROR_CODES, Zn as messageEnvelopeSchema, _i as authProfileViewSchema, _n as spaceFileEntryIdSchema, _r as agentInteractionPendingSummarySchema, ar as connectorServiceSchema, bi as updateAgentProfileDefaultProjectBodySchema, bn as spaceFileOriginSchema, br as agentInteractionResponseSchema, ci as localAgentCatalogLaunchStatusSchema, cn as restoreSpaceFileRevisionResponseSchema, ct as agentTaskCompletionConditionSchema, dn as spaceFileActorSchema, dr as spaceAgentStreamDeltaFrameSchema, dt as agentTaskTerminalOutcomeSchema, ei as localFolderPickerRequestSchema, en as getSpaceFileResponseSchema, er as computerSetupModeSchema, et as AGENT_REPLY_PLACEMENT_HEADER, fn as spaceFileBaseRevisionSchema, fr as spaceAgentStreamPartFrameSchema, ft as areAgentTaskTerminalOutcomesEqual, gi as authProfileManagedRoleSchema, gn as spaceFileDescriptorSchema, hn as spaceFileClientMutationIdSchema, hr as spaceAgentStreamTerminalFrameSchema, ht as spaceWakeAgentTaskHandleSchema, i as daemonExecutionCompatibilitySchema, in as publishSpaceComposerUploadResponseSchema, ir as connectorConnectionScopeSchema, jn as computerCareObservationSchema, jr as spaceTraceExecutionIdentityProjectionSchema, jt as signalTextSchema, kn as uploadSpaceFileResponseSchema, kt as signalSystemNoticeDataSchema, ln as spaceComposerUploadDescriptorSchema, lr as AGENT_STREAM_SNAPSHOT_MAX_CHARS, lt as agentTaskCompletionObservationSchema, mi as agentAvatarStyleSchema, mn as spaceFileCapabilitiesSchema, mr as spaceAgentStreamSnapshotSchema, mt as controllerAgentTaskHandleSchema, ni as localFolderPathSchema, nn as listSpaceFileRevisionsResponseSchema, nr as openMeldWebUrlSchema, ot as spaceCallerContextSchema, pi as CENTER_AGENT_BOT_AVATAR_TYPES, pn as spaceFileBreadcrumbSchema, pr as spaceAgentStreamPresenceSchema, pt as buildAgentTaskKey, q as openMeldDaemonProviderAccessEvidenceProviderSchema, qr as inspectExecutionRecoveryResponseSchema, ri as START_BOUNDED_ID_SCHEMA, rn as listSpaceFilesResponseSchema, rr as connectorConnectionNameSchema, sn as restoreSpaceFileEntryResponseSchema, st as agentDelegationSnapshotSchema, ti as localFolderPickerResultSchema, tr as openMeldNavigationTargetSchema, ui as localAgentCatalogWithLifecycleSchema, un as spaceComposerUploadIdSchema, ur as agentStreamToolPartSchema, ut as agentTaskHandleSchema, vn as spaceFileMimeTypeSchema, wi as openMeldRequestContextSchema, xi as updateAgentProfileDefaultProjectResponseSchema, xn as spaceFileRevisionNumberSchema, xr as postSpaceWakeStopBodySchema, yn as spaceFileNameSchema, zn as resultArchivePolicySchema, zr as organizationInformationProtectionPolicyResponseSchema, zt as spaceMessageAttachmentsSchema } from "./runtime-transport-D4CVffnp.js";
|
|
5
|
+
import { A as boolean, B as nullFactory, D as NEVER, F as int, G as strictObject, H as object, I as iso, J as undefinedFactory, K as string, L as lazySchema, M as discriminatedUnion, N as email, P as enumFactory, R as literal, S as openMeldToolsUpdateOperationSchema, U as preprocess, V as number, W as record, X as unknown, Y as union, Z as url, _ as openMeldToolsMaintenanceMutationResultSchema, c as localComponentUpdatePolicySchema, j as coerce, k as array, l as localComponentUpdateProjectionSchema, q as tuple, u as localComponentUpdateStatusSchema, v as openMeldToolsMaintenanceProjectionSchema, w as openMeldToolsUpdateRequestResultSchema, z as neverFactory } from "./local-components-DJiMS67S.js";
|
|
6
|
+
import { i as cliBinaryManifestSchema } from "./cli-binary-manifest-ETxqCzfS.js";
|
|
7
|
+
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-QqGL-jtT.js";
|
|
8
8
|
import { r as daemonServiceLaneSchema } from "./service-contract-CRyDcIIf.js";
|
|
9
9
|
import { n as agentControllerPermissionModeSchema, r as agentControllerCollaborationModeSchema, t as openCodePermissionConfigSchema } from "./open-code-permission-DHFJYc_o.js";
|
|
10
10
|
import { n as toErrorMessage$3 } from "./dist-BLuEEVHh.js";
|
|
@@ -783,6 +783,12 @@ const agentControllerUsageLimitSchema = z$1.strictObject({
|
|
|
783
783
|
label: ACI_BOUNDED_LABEL_SCHEMA,
|
|
784
784
|
observedAt: ACI_ISO_DATE_TIME_SCHEMA,
|
|
785
785
|
provider: agentControllerUsageProviderSchema.optional(),
|
|
786
|
+
reason: z$1.enum([
|
|
787
|
+
"not_authenticated",
|
|
788
|
+
"not_applicable",
|
|
789
|
+
"not_reported",
|
|
790
|
+
"refresh_failed"
|
|
791
|
+
]).optional(),
|
|
786
792
|
resetsAt: ACI_ISO_DATE_TIME_SCHEMA.nullable(),
|
|
787
793
|
status: agentControllerUsageLimitStatusSchema,
|
|
788
794
|
usedPercent: z$1.number().finite().min(0).max(100).nullable()
|
|
@@ -807,9 +813,9 @@ const agentControllerUsageLimitSchema = z$1.strictObject({
|
|
|
807
813
|
message: "available usage limits require usedPercent below 100",
|
|
808
814
|
path: ["usedPercent"]
|
|
809
815
|
});
|
|
810
|
-
if ((value.status === "unavailable" || value.status === "unsupported") && (value.usedPercent !== null || value.resetsAt !== null)) context.addIssue({
|
|
816
|
+
if ((value.status === "unavailable" || value.status === "unsupported") && (value.usedPercent !== null || value.status === "unsupported" && value.resetsAt !== null)) context.addIssue({
|
|
811
817
|
code: "custom",
|
|
812
|
-
message: `${value.status} usage limits
|
|
818
|
+
message: `${value.status} usage limits require unknown usage; unsupported limits also require unknown reset`
|
|
813
819
|
});
|
|
814
820
|
});
|
|
815
821
|
const agentControllerUsageLimitsSchema = z$1.array(agentControllerUsageLimitSchema).max(32).superRefine((limits, context) => {
|
|
@@ -1223,7 +1229,8 @@ const localRuntimeReplyReadinessPrimaryBlockerSchema = enumFactory([
|
|
|
1223
1229
|
"agent_controller_report_unknown",
|
|
1224
1230
|
"service_not_connected",
|
|
1225
1231
|
"service_update_required",
|
|
1226
|
-
"service_unavailable"
|
|
1232
|
+
"service_unavailable",
|
|
1233
|
+
"execution_host_unavailable"
|
|
1227
1234
|
]);
|
|
1228
1235
|
const localRuntimeReplyReadinessNextActionSchema = enumFactory([
|
|
1229
1236
|
"none",
|
|
@@ -1257,6 +1264,7 @@ const currentLocalRuntimeReplyReadinessResponseSchema = strictObject({
|
|
|
1257
1264
|
}),
|
|
1258
1265
|
service: strictObject({
|
|
1259
1266
|
connected: boolean(),
|
|
1267
|
+
executionHost: executionHostObservationSchema.nullable().optional(),
|
|
1260
1268
|
executionCompatibility: daemonExecutionCompatibilitySchema.nullable(),
|
|
1261
1269
|
matchingCurrentRuntime: boolean(),
|
|
1262
1270
|
reasonCodes: array(reasonCodeSchema$4),
|
|
@@ -5889,6 +5897,8 @@ const spaceMemberAgentSnapshotSchema = rejectRetiredAgentSnapshotKeysSchema.pipe
|
|
|
5889
5897
|
deviceWaitTarget: wakeDeviceWaitTargetSchema.optional(),
|
|
5890
5898
|
agentControllerConversationId: nullableTrimmedStringSchema$5,
|
|
5891
5899
|
modelSelection: agentProfileBindingModelSelectionSchema.optional(),
|
|
5900
|
+
avatarStyle: agentAvatarStyleSchema.nullable().optional(),
|
|
5901
|
+
avatarModelId: nullableTrimmedStringSchema$5.optional(),
|
|
5892
5902
|
workingDirectory: profileWorkingDirectorySchema.nullable().optional(),
|
|
5893
5903
|
agentWakeAvailability: spaceMemberAgentWakeAvailabilitySchema.optional(),
|
|
5894
5904
|
ownerWakeDiagnostics: union([spaceMemberAgentOwnerWakeDiagnosticsSchema, nullFactory()]).optional()
|
|
@@ -6438,6 +6448,9 @@ const instructionsSchema = string().max(ORGANIZATION_SKILL_INSTRUCTIONS_MAX_CHAR
|
|
|
6438
6448
|
const sourceUrlSchema = url().max(2048);
|
|
6439
6449
|
const operationIdSchema$2 = string().trim().min(1).max(256);
|
|
6440
6450
|
const metadataSchema = record(string().trim().min(1).max(128), string().max(1024));
|
|
6451
|
+
const organizationSkillFileEncodingSchema = enumFactory(["base64", "utf8"]);
|
|
6452
|
+
const organizationSkillFileMediaTypeSchema = string().trim().min(1).max(256);
|
|
6453
|
+
const organizationSkillFilePathSchema = string().trim().min(1).max(1024).refine(isSafePortableSkillPath, "Skill file path is not safe.");
|
|
6441
6454
|
const organizationSkillGitHubSourceSchema = strictObject({
|
|
6442
6455
|
commitSha: string().regex(/^[a-f0-9]{40}$/),
|
|
6443
6456
|
kind: literal("github"),
|
|
@@ -6455,9 +6468,9 @@ const organizationSkillPortableMetadataSchema = strictObject({
|
|
|
6455
6468
|
});
|
|
6456
6469
|
const organizationSkillFileSchema = strictObject({
|
|
6457
6470
|
content: string().max(ORGANIZATION_SKILL_FILE_MAX_ENCODED_CHARS),
|
|
6458
|
-
encoding:
|
|
6459
|
-
mediaType:
|
|
6460
|
-
path:
|
|
6471
|
+
encoding: organizationSkillFileEncodingSchema,
|
|
6472
|
+
mediaType: organizationSkillFileMediaTypeSchema,
|
|
6473
|
+
path: organizationSkillFilePathSchema,
|
|
6461
6474
|
size: number().int().nonnegative().max(ORGANIZATION_SKILL_FILE_MAX_BYTES)
|
|
6462
6475
|
});
|
|
6463
6476
|
const organizationSkillResourceMetadataSchema = organizationSkillFileSchema.omit({ content: true }).safeExtend({ size: number().int().nonnegative() });
|
|
@@ -6632,8 +6645,8 @@ const organizationSkillGitHubPreviewSchema = strictObject({
|
|
|
6632
6645
|
path: true,
|
|
6633
6646
|
size: true
|
|
6634
6647
|
}).extend({
|
|
6635
|
-
encoding:
|
|
6636
|
-
mediaType:
|
|
6648
|
+
encoding: organizationSkillFileEncodingSchema.optional(),
|
|
6649
|
+
mediaType: organizationSkillFileMediaTypeSchema.optional()
|
|
6637
6650
|
})),
|
|
6638
6651
|
instructionsCharacters: number().int().nonnegative(),
|
|
6639
6652
|
portable: organizationSkillPortableMetadataSchema,
|
|
@@ -6861,10 +6874,10 @@ strictObject({
|
|
|
6861
6874
|
context: openMeldRequestContextSchema,
|
|
6862
6875
|
preparationIdempotencyKey: string().min(1).max(2048).optional(),
|
|
6863
6876
|
releases: array(organizationSkillRuntimeReleaseSelectionSchema).max(64)
|
|
6864
|
-
});
|
|
6877
|
+
}).extend({ skipUnavailableSelectedReleases: boolean().optional() });
|
|
6865
6878
|
strictObject({
|
|
6866
6879
|
context: openMeldRequestContextSchema,
|
|
6867
|
-
path:
|
|
6880
|
+
path: organizationSkillFilePathSchema,
|
|
6868
6881
|
preparationIdempotencyKey: string().min(1).max(2048).optional(),
|
|
6869
6882
|
release: organizationSkillRuntimeReleaseSelectionSchema
|
|
6870
6883
|
});
|
|
@@ -9597,7 +9610,10 @@ const updateCenterAgentOperatingStateResponseSchema = getCenterAgentOperatingSta
|
|
|
9597
9610
|
affectedTaskCount: number().int().nonnegative(),
|
|
9598
9611
|
changed: boolean()
|
|
9599
9612
|
});
|
|
9600
|
-
const centerAgentUpdateProfileBodySchema = strictObject({
|
|
9613
|
+
const centerAgentUpdateProfileBodySchema = strictObject({
|
|
9614
|
+
profileName: trimmedNonEmptyStringSchema$8.optional(),
|
|
9615
|
+
avatarStyle: enumFactory(["fluid", ...CENTER_AGENT_BOT_AVATAR_TYPES]).optional()
|
|
9616
|
+
}).refine((value) => value.profileName !== void 0 || value.avatarStyle !== void 0, { message: "Choose a profile name or avatar." });
|
|
9601
9617
|
const centerAgentUpdateProfileResponseSchema = strictObject({
|
|
9602
9618
|
organizationId: trimmedNonEmptyStringSchema$8,
|
|
9603
9619
|
profile: authProfileViewSchema
|
|
@@ -10723,6 +10739,8 @@ const organizationDirectoryAgentProfileIdentitySchema = strictObject({
|
|
|
10723
10739
|
ownerUserId: nullableTrimmedStringSchema$2,
|
|
10724
10740
|
ownerName: trimmedNonEmptyStringSchema$7.optional(),
|
|
10725
10741
|
avatarUrl: trimmedNonEmptyStringSchema$7.optional(),
|
|
10742
|
+
avatarStyle: agentAvatarStyleSchema.nullable().optional(),
|
|
10743
|
+
avatarModelId: nullableTrimmedStringSchema$2.optional(),
|
|
10726
10744
|
source: trimmedNonEmptyStringSchema$7,
|
|
10727
10745
|
managedRole: union([authProfileManagedRoleSchema, nullFactory()]),
|
|
10728
10746
|
createdByUserId: nullableTrimmedStringSchema$2,
|
|
@@ -10867,23 +10885,120 @@ const postNormalMessageBodySchema = z$1.strictObject({
|
|
|
10867
10885
|
});
|
|
10868
10886
|
const postNormalMessageResponseSchema = signalTextEnvelopeSchema;
|
|
10869
10887
|
//#endregion
|
|
10870
|
-
//#region ../../packages/schemas/dist/schemas/http/
|
|
10871
|
-
const CENTER_AGENT_DIRECT_MESSAGE_SPACE_KIND = "center_agent_direct_message_space";
|
|
10888
|
+
//#region ../../packages/schemas/dist/schemas/http/account-space-index.js
|
|
10872
10889
|
const ISO_DATE_TIME_SCHEMA$3 = z$1.iso.datetime({ offset: true });
|
|
10873
10890
|
const trimmedNonEmptyStringSchema$5 = z$1.string().trim().min(1);
|
|
10891
|
+
const nullableTrimmedStringSchema$1 = z$1.union([trimmedNonEmptyStringSchema$5, z$1.null()]);
|
|
10892
|
+
const nullableNonNegativeIntSchema = z$1.union([z$1.number().int().min(0), z$1.null()]);
|
|
10893
|
+
const nullableIsoDateTimeSchema$1 = z$1.union([ISO_DATE_TIME_SCHEMA$3, z$1.null()]);
|
|
10894
|
+
const ACCOUNT_SPACE_INDEX_MAX_LIMIT = 500;
|
|
10895
|
+
const NON_NEGATIVE_INT_RE$1 = /^\d+$/;
|
|
10896
|
+
const accountSpaceIndexScopeSchema = z$1.enum(["account", "profile"]);
|
|
10897
|
+
const accountSpaceIndexLimitSchema = z$1.preprocess((value) => {
|
|
10898
|
+
if (typeof value === "number") return value;
|
|
10899
|
+
if (typeof value !== "string") return value;
|
|
10900
|
+
const normalized = value.trim();
|
|
10901
|
+
if (!NON_NEGATIVE_INT_RE$1.test(normalized)) return NaN;
|
|
10902
|
+
return Number.parseInt(normalized, 10);
|
|
10903
|
+
}, z$1.number().int().min(1).max(ACCOUNT_SPACE_INDEX_MAX_LIMIT)).optional();
|
|
10904
|
+
const accountSpaceIndexIncludeRecentlyDeletedItemsSchema = z$1.preprocess((value) => {
|
|
10905
|
+
if (typeof value === "boolean") return value;
|
|
10906
|
+
return value === "true";
|
|
10907
|
+
}, z$1.boolean()).optional();
|
|
10908
|
+
const accountSpaceIndexIncludePurposesSchema = z$1.preprocess((value) => {
|
|
10909
|
+
if (typeof value === "boolean") return value;
|
|
10910
|
+
return value === "true";
|
|
10911
|
+
}, z$1.boolean()).optional();
|
|
10912
|
+
const accountSpaceIndexIncludeDirectMessageProfileIdsSchema = z$1.preprocess((value) => {
|
|
10913
|
+
if (typeof value === "boolean") return value;
|
|
10914
|
+
return value === "true";
|
|
10915
|
+
}, z$1.boolean()).optional();
|
|
10916
|
+
z$1.strictObject({
|
|
10917
|
+
includeMessagePreviews: z$1.preprocess((value) => value === true || value === "true", z$1.boolean()).optional(),
|
|
10918
|
+
includeMemberPreviews: z$1.preprocess((value) => value === true || value === "true", z$1.boolean()).optional(),
|
|
10919
|
+
gatewayHost: profileSpaceHistoryGatewayHostSchema,
|
|
10920
|
+
includeDirectMessageProfileIds: accountSpaceIndexIncludeDirectMessageProfileIdsSchema,
|
|
10921
|
+
includeRecentlyDeletedItems: accountSpaceIndexIncludeRecentlyDeletedItemsSchema,
|
|
10922
|
+
includePurposes: accountSpaceIndexIncludePurposesSchema,
|
|
10923
|
+
limit: accountSpaceIndexLimitSchema,
|
|
10924
|
+
scope: accountSpaceIndexScopeSchema.default("account"),
|
|
10925
|
+
selectedProfileId: trimmedNonEmptyStringSchema$5
|
|
10926
|
+
});
|
|
10927
|
+
const accountSpaceIndexJoinedProfileSchema = z$1.strictObject({
|
|
10928
|
+
lastJoinedAt: ISO_DATE_TIME_SCHEMA$3,
|
|
10929
|
+
pinnedAt: nullableIsoDateTimeSchema$1,
|
|
10930
|
+
profileId: trimmedNonEmptyStringSchema$5,
|
|
10931
|
+
profileName: trimmedNonEmptyStringSchema$5
|
|
10932
|
+
});
|
|
10933
|
+
const accountSpaceIndexItemSchema = z$1.strictObject({
|
|
10934
|
+
messagePreview: z$1.strictObject({
|
|
10935
|
+
signalId: trimmedNonEmptyStringSchema$5,
|
|
10936
|
+
profileId: trimmedNonEmptyStringSchema$5,
|
|
10937
|
+
timestamp: z$1.number().int().nonnegative(),
|
|
10938
|
+
text: z$1.string().max(240)
|
|
10939
|
+
}).nullable().optional(),
|
|
10940
|
+
memberPreviews: z$1.array(z$1.strictObject({
|
|
10941
|
+
profileId: trimmedNonEmptyStringSchema$5,
|
|
10942
|
+
profileName: trimmedNonEmptyStringSchema$5,
|
|
10943
|
+
profileKind: z$1.enum(["human", "agent"]),
|
|
10944
|
+
agentControllerRef: nullableTrimmedStringSchema$1
|
|
10945
|
+
})).max(3).optional(),
|
|
10946
|
+
creatorKind: z$1.union([profileSpaceCreatorKindSchema, z$1.null()]),
|
|
10947
|
+
creatorOwnerUserId: nullableTrimmedStringSchema$1,
|
|
10948
|
+
creatorProfileId: nullableTrimmedStringSchema$1,
|
|
10949
|
+
creatorProfileName: nullableTrimmedStringSchema$1,
|
|
10950
|
+
gatewayHost: profileSpaceHistoryGatewayHostSchema,
|
|
10951
|
+
joinedProfiles: z$1.array(accountSpaceIndexJoinedProfileSchema),
|
|
10952
|
+
lastJoinedAt: ISO_DATE_TIME_SCHEMA$3,
|
|
10953
|
+
lastSeenTs: nullableNonNegativeIntSchema,
|
|
10954
|
+
openProfileId: trimmedNonEmptyStringSchema$5,
|
|
10955
|
+
openProfileName: trimmedNonEmptyStringSchema$5,
|
|
10956
|
+
organizationId: trimmedNonEmptyStringSchema$5,
|
|
10957
|
+
pinnedAt: nullableIsoDateTimeSchema$1,
|
|
10958
|
+
pinnedProfileIds: z$1.array(trimmedNonEmptyStringSchema$5),
|
|
10959
|
+
spaceCreatedAt: nullableIsoDateTimeSchema$1,
|
|
10960
|
+
spaceId: trimmedNonEmptyStringSchema$5,
|
|
10961
|
+
spaceName: trimmedNonEmptyStringSchema$5,
|
|
10962
|
+
activeAgentCount: nullableNonNegativeIntSchema.optional(),
|
|
10963
|
+
activeHumanCount: nullableNonNegativeIntSchema.optional(),
|
|
10964
|
+
activeMemberCount: nullableNonNegativeIntSchema.optional(),
|
|
10965
|
+
directMessageConvertedAt: nullableIsoDateTimeSchema$1.optional(),
|
|
10966
|
+
directMessageProfileIds: z$1.union([z$1.tuple([trimmedNonEmptyStringSchema$5, trimmedNonEmptyStringSchema$5]), z$1.null()]).optional(),
|
|
10967
|
+
spacePurpose: nullableTrimmedStringSchema$1.optional(),
|
|
10968
|
+
spaceUpdatedAt: nullableIsoDateTimeSchema$1,
|
|
10969
|
+
status: trimmedNonEmptyStringSchema$5,
|
|
10970
|
+
updatedAt: ISO_DATE_TIME_SCHEMA$3,
|
|
10971
|
+
visibility: spaceOrganizationVisibilitySchema
|
|
10972
|
+
});
|
|
10973
|
+
const accountSpaceIndexDeletedItemSchema = z$1.strictObject({
|
|
10974
|
+
deletedAt: ISO_DATE_TIME_SCHEMA$3,
|
|
10975
|
+
deletedByProfileName: nullableTrimmedStringSchema$1,
|
|
10976
|
+
spaceId: trimmedNonEmptyStringSchema$5,
|
|
10977
|
+
spaceName: nullableTrimmedStringSchema$1
|
|
10978
|
+
});
|
|
10979
|
+
const accountSpaceIndexResponseSchema = z$1.strictObject({
|
|
10980
|
+
pinnedItems: z$1.array(accountSpaceIndexItemSchema),
|
|
10981
|
+
recentlyDeletedItems: z$1.array(accountSpaceIndexDeletedItemSchema).optional(),
|
|
10982
|
+
spaceItems: z$1.array(accountSpaceIndexItemSchema)
|
|
10983
|
+
});
|
|
10984
|
+
//#endregion
|
|
10985
|
+
//#region ../../packages/schemas/dist/schemas/http/center-agent-direct-message-space.js
|
|
10986
|
+
const CENTER_AGENT_DIRECT_MESSAGE_SPACE_KIND = "center_agent_direct_message_space";
|
|
10987
|
+
const ISO_DATE_TIME_SCHEMA$2 = z$1.iso.datetime({ offset: true });
|
|
10988
|
+
const trimmedNonEmptyStringSchema$4 = z$1.string().trim().min(1);
|
|
10874
10989
|
const createCenterAgentSessionBodySchema = z$1.strictObject({ creationId: z$1.uuid() });
|
|
10875
|
-
const centerAgentSessionSelectorSchema = z$1.strictObject({ spaceId: trimmedNonEmptyStringSchema$
|
|
10990
|
+
const centerAgentSessionSelectorSchema = z$1.strictObject({ spaceId: trimmedNonEmptyStringSchema$4.max(128) });
|
|
10876
10991
|
const centerAgentDirectMessageSpaceProjectionSchema = z$1.strictObject({
|
|
10877
|
-
centerAgentProfileId: trimmedNonEmptyStringSchema$
|
|
10992
|
+
centerAgentProfileId: trimmedNonEmptyStringSchema$4,
|
|
10878
10993
|
isCenterAgentDirectMessageSpace: z$1.literal(true),
|
|
10879
10994
|
kind: z$1.literal(CENTER_AGENT_DIRECT_MESSAGE_SPACE_KIND),
|
|
10880
|
-
memberProfileId: trimmedNonEmptyStringSchema$
|
|
10881
|
-
organizationId: trimmedNonEmptyStringSchema$
|
|
10882
|
-
spaceId: trimmedNonEmptyStringSchema$
|
|
10995
|
+
memberProfileId: trimmedNonEmptyStringSchema$4,
|
|
10996
|
+
organizationId: trimmedNonEmptyStringSchema$4,
|
|
10997
|
+
spaceId: trimmedNonEmptyStringSchema$4
|
|
10883
10998
|
});
|
|
10884
10999
|
const getCenterAgentDirectMessageSpaceProjectionResponseSchema = z$1.strictObject({
|
|
10885
|
-
generatedAt: ISO_DATE_TIME_SCHEMA$
|
|
10886
|
-
organizationId: trimmedNonEmptyStringSchema$
|
|
11000
|
+
generatedAt: ISO_DATE_TIME_SCHEMA$2,
|
|
11001
|
+
organizationId: trimmedNonEmptyStringSchema$4,
|
|
10887
11002
|
projection: z$1.union([centerAgentDirectMessageSpaceProjectionSchema, z$1.null()])
|
|
10888
11003
|
});
|
|
10889
11004
|
const listCenterAgentSessionsQuerySchema = z$1.strictObject({
|
|
@@ -10892,18 +11007,19 @@ const listCenterAgentSessionsQuerySchema = z$1.strictObject({
|
|
|
10892
11007
|
});
|
|
10893
11008
|
z$1.strictObject({
|
|
10894
11009
|
v: z$1.literal(1),
|
|
10895
|
-
organizationId: trimmedNonEmptyStringSchema$
|
|
10896
|
-
pairKey: trimmedNonEmptyStringSchema$
|
|
11010
|
+
organizationId: trimmedNonEmptyStringSchema$4,
|
|
11011
|
+
pairKey: trimmedNonEmptyStringSchema$4,
|
|
10897
11012
|
createdAtMs: z$1.number().int().nonnegative(),
|
|
10898
11013
|
spaceId: centerAgentSessionSelectorSchema.shape.spaceId
|
|
10899
11014
|
});
|
|
10900
11015
|
const centerAgentSessionListItemSchema = centerAgentDirectMessageSpaceProjectionSchema.extend({
|
|
10901
11016
|
name: z$1.string().nullable(),
|
|
10902
|
-
createdAt: ISO_DATE_TIME_SCHEMA$
|
|
11017
|
+
createdAt: ISO_DATE_TIME_SCHEMA$2.nullable(),
|
|
11018
|
+
messagePreview: accountSpaceIndexItemSchema.shape.messagePreview
|
|
10903
11019
|
});
|
|
10904
11020
|
const listCenterAgentSessionsResponseSchema = z$1.strictObject({
|
|
10905
|
-
generatedAt: ISO_DATE_TIME_SCHEMA$
|
|
10906
|
-
organizationId: trimmedNonEmptyStringSchema$
|
|
11021
|
+
generatedAt: ISO_DATE_TIME_SCHEMA$2,
|
|
11022
|
+
organizationId: trimmedNonEmptyStringSchema$4,
|
|
10907
11023
|
sessions: z$1.array(centerAgentSessionListItemSchema).max(100),
|
|
10908
11024
|
nextCursor: z$1.string().min(1).max(1024).nullable()
|
|
10909
11025
|
});
|
|
@@ -10925,8 +11041,8 @@ const CENTER_AGENT_CONTEXT_ERROR_CODES = [
|
|
|
10925
11041
|
"center_agent.context_load_selection_duplicate",
|
|
10926
11042
|
"center_agent.context_load_selection_invalid"
|
|
10927
11043
|
];
|
|
10928
|
-
const ISO_DATE_TIME_SCHEMA$
|
|
10929
|
-
const trimmedNonEmptyStringSchema$
|
|
11044
|
+
const ISO_DATE_TIME_SCHEMA$1 = iso.datetime({ offset: true });
|
|
11045
|
+
const trimmedNonEmptyStringSchema$3 = string().trim().min(1);
|
|
10930
11046
|
const contentHashSchema = string().regex(/^sha256:[0-9a-f]{64}$/u);
|
|
10931
11047
|
const centerAgentContextManifestIdSchema = string().regex(/^center_agent_context_manifest_[0-9a-f-]{36}$/u);
|
|
10932
11048
|
const loadReceiptIdSchema = string().regex(/^center_agent_context_load_receipt_[0-9a-f-]{36}$/u);
|
|
@@ -10940,7 +11056,7 @@ const createCenterAgentContextManifestBodySchema = strictObject({
|
|
|
10940
11056
|
view: centerAgentContextManifestViewSchema.default("messages")
|
|
10941
11057
|
});
|
|
10942
11058
|
const centerAgentContextManifestSourceRefSchema = strictObject({
|
|
10943
|
-
id: trimmedNonEmptyStringSchema$
|
|
11059
|
+
id: trimmedNonEmptyStringSchema$3,
|
|
10944
11060
|
type: literal("space_signal"),
|
|
10945
11061
|
uri: string().regex(/^openmeld:\/\/spaces\/[^/]+\/signals\/[^/]+$/u),
|
|
10946
11062
|
version: contentHashSchema
|
|
@@ -10948,16 +11064,16 @@ const centerAgentContextManifestSourceRefSchema = strictObject({
|
|
|
10948
11064
|
const centerAgentContextManifestEntrySchema = strictObject({
|
|
10949
11065
|
reactions: spaceMessageReactionsSchema.optional(),
|
|
10950
11066
|
author: strictObject({
|
|
10951
|
-
profileId: trimmedNonEmptyStringSchema$
|
|
11067
|
+
profileId: trimmedNonEmptyStringSchema$3,
|
|
10952
11068
|
profileKind: enumFactory([
|
|
10953
11069
|
"agent",
|
|
10954
11070
|
"human",
|
|
10955
11071
|
"system"
|
|
10956
11072
|
]),
|
|
10957
|
-
profileName: trimmedNonEmptyStringSchema$
|
|
11073
|
+
profileName: trimmedNonEmptyStringSchema$3
|
|
10958
11074
|
}),
|
|
10959
11075
|
carrier: strictObject({
|
|
10960
|
-
client: trimmedNonEmptyStringSchema$
|
|
11076
|
+
client: trimmedNonEmptyStringSchema$3.max(80),
|
|
10961
11077
|
kind: literal("local_agent")
|
|
10962
11078
|
}).optional(),
|
|
10963
11079
|
content: strictObject({
|
|
@@ -10967,13 +11083,13 @@ const centerAgentContextManifestEntrySchema = strictObject({
|
|
|
10967
11083
|
type: literal("text")
|
|
10968
11084
|
}),
|
|
10969
11085
|
materializedContentHash: contentHashSchema,
|
|
10970
|
-
occurredAt: ISO_DATE_TIME_SCHEMA$
|
|
11086
|
+
occurredAt: ISO_DATE_TIME_SCHEMA$1,
|
|
10971
11087
|
redactions: array(enumFactory([
|
|
10972
11088
|
"attachments_not_in_messages_view",
|
|
10973
11089
|
"local_session_locator_omitted",
|
|
10974
11090
|
"message_content_budget"
|
|
10975
11091
|
])),
|
|
10976
|
-
replyToSignalId: trimmedNonEmptyStringSchema$
|
|
11092
|
+
replyToSignalId: trimmedNonEmptyStringSchema$3.optional(),
|
|
10977
11093
|
sourceRef: centerAgentContextManifestSourceRefSchema
|
|
10978
11094
|
});
|
|
10979
11095
|
strictObject({
|
|
@@ -10983,7 +11099,7 @@ strictObject({
|
|
|
10983
11099
|
});
|
|
10984
11100
|
const centerAgentContextLoadSelectedEntrySchema = strictObject({
|
|
10985
11101
|
materializedContentHash: contentHashSchema,
|
|
10986
|
-
sourceRefId: trimmedNonEmptyStringSchema$
|
|
11102
|
+
sourceRefId: trimmedNonEmptyStringSchema$3
|
|
10987
11103
|
});
|
|
10988
11104
|
const createCenterAgentContextLoadReceiptBodySchema = strictObject({
|
|
10989
11105
|
selection: discriminatedUnion("kind", [strictObject({ kind: literal("all_manifest_entries") }), strictObject({
|
|
@@ -11016,20 +11132,20 @@ const createCenterAgentContextManifestResponseSchema = strictObject({
|
|
|
11016
11132
|
hasMore: boolean()
|
|
11017
11133
|
}),
|
|
11018
11134
|
entries: array(centerAgentContextManifestEntrySchema),
|
|
11019
|
-
generatedAt: ISO_DATE_TIME_SCHEMA$
|
|
11135
|
+
generatedAt: ISO_DATE_TIME_SCHEMA$1,
|
|
11020
11136
|
manifestId: centerAgentContextManifestIdSchema,
|
|
11021
11137
|
provenance: strictObject({
|
|
11022
|
-
auditEntryId: trimmedNonEmptyStringSchema$
|
|
11138
|
+
auditEntryId: trimmedNonEmptyStringSchema$3,
|
|
11023
11139
|
contentProjection: literal("user_visible_space_signals")
|
|
11024
11140
|
}),
|
|
11025
11141
|
request: strictObject({ source: centerAgentInteractionSourceSchema }),
|
|
11026
11142
|
schemaVersion: literal(CENTER_AGENT_CONTEXT_MANIFEST_VERSION),
|
|
11027
11143
|
subject: strictObject({
|
|
11028
|
-
centerAgentProfileId: trimmedNonEmptyStringSchema$
|
|
11029
|
-
conversationId: trimmedNonEmptyStringSchema$
|
|
11144
|
+
centerAgentProfileId: trimmedNonEmptyStringSchema$3,
|
|
11145
|
+
conversationId: trimmedNonEmptyStringSchema$3,
|
|
11030
11146
|
kind: literal("center_agent_conversation"),
|
|
11031
|
-
memberProfileId: trimmedNonEmptyStringSchema$
|
|
11032
|
-
organizationId: trimmedNonEmptyStringSchema$
|
|
11147
|
+
memberProfileId: trimmedNonEmptyStringSchema$3,
|
|
11148
|
+
organizationId: trimmedNonEmptyStringSchema$3
|
|
11033
11149
|
}),
|
|
11034
11150
|
view: centerAgentContextManifestViewSchema
|
|
11035
11151
|
});
|
|
@@ -11038,9 +11154,9 @@ const createCenterAgentContextLoadReceiptResponseSchema = strictObject({
|
|
|
11038
11154
|
principal: literal("authenticated_member"),
|
|
11039
11155
|
scope: literal("requester_private")
|
|
11040
11156
|
}),
|
|
11041
|
-
provenance: strictObject({ auditEntryId: trimmedNonEmptyStringSchema$
|
|
11157
|
+
provenance: strictObject({ auditEntryId: trimmedNonEmptyStringSchema$3 }),
|
|
11042
11158
|
receipt: strictObject({
|
|
11043
|
-
client: trimmedNonEmptyStringSchema$
|
|
11159
|
+
client: trimmedNonEmptyStringSchema$3.max(80),
|
|
11044
11160
|
estimatedTokens: number().int().nonnegative(),
|
|
11045
11161
|
id: loadReceiptIdSchema,
|
|
11046
11162
|
includedMessages: number().int().min(1).max(50),
|
|
@@ -11048,7 +11164,7 @@ const createCenterAgentContextLoadReceiptResponseSchema = strictObject({
|
|
|
11048
11164
|
selectedEntries: array(centerAgentContextLoadSelectedEntrySchema).min(1).max(50),
|
|
11049
11165
|
status: literal("loaded")
|
|
11050
11166
|
}),
|
|
11051
|
-
recordedAt: ISO_DATE_TIME_SCHEMA$
|
|
11167
|
+
recordedAt: ISO_DATE_TIME_SCHEMA$1,
|
|
11052
11168
|
schemaVersion: literal(CENTER_AGENT_CONTEXT_LOAD_RECEIPT_VERSION)
|
|
11053
11169
|
});
|
|
11054
11170
|
//#endregion
|
|
@@ -11293,7 +11409,7 @@ const messageChannelIdentityLinkConsumeResponseSchema = strictObject({
|
|
|
11293
11409
|
});
|
|
11294
11410
|
//#endregion
|
|
11295
11411
|
//#region ../../packages/schemas/dist/schemas/http/center-agent-member-research.js
|
|
11296
|
-
const trimmedNonEmptyStringSchema$
|
|
11412
|
+
const trimmedNonEmptyStringSchema$2 = z$1.string().trim().min(1);
|
|
11297
11413
|
const isoDateTimeSchema$2 = z$1.iso.datetime({ offset: true });
|
|
11298
11414
|
const memberResearchTextSchema = z$1.string().trim().min(1).max(1e3);
|
|
11299
11415
|
const CENTER_AGENT_MEMBER_RESEARCH_COVERAGE_SOURCES = [
|
|
@@ -11320,8 +11436,8 @@ const centerAgentMemberResearchEvidenceSourceSchema = z$1.enum([
|
|
|
11320
11436
|
const centerAgentMemberResearchEvidenceItemSchema = z$1.strictObject({
|
|
11321
11437
|
date: z$1.iso.date(),
|
|
11322
11438
|
source: centerAgentMemberResearchEvidenceSourceSchema,
|
|
11323
|
-
sourceId: trimmedNonEmptyStringSchema$
|
|
11324
|
-
sourceName: trimmedNonEmptyStringSchema$
|
|
11439
|
+
sourceId: trimmedNonEmptyStringSchema$2.max(256),
|
|
11440
|
+
sourceName: trimmedNonEmptyStringSchema$2.max(120).optional(),
|
|
11325
11441
|
sourceUrl: z$1.url().max(2048).optional(),
|
|
11326
11442
|
text: memberResearchTextSchema
|
|
11327
11443
|
}).superRefine((item, context) => {
|
|
@@ -11360,7 +11476,7 @@ const centerAgentMemberResearchCoverageSchema = z$1.strictObject({
|
|
|
11360
11476
|
evidence: memberResearchTextSchema.max(500),
|
|
11361
11477
|
source: centerAgentMemberResearchCoverageSourceSchema,
|
|
11362
11478
|
status: centerAgentMemberResearchCoverageStatusSchema,
|
|
11363
|
-
timeRange: trimmedNonEmptyStringSchema$
|
|
11479
|
+
timeRange: trimmedNonEmptyStringSchema$2.max(120)
|
|
11364
11480
|
});
|
|
11365
11481
|
const centerAgentMemberResearchCoverageListSchema = z$1.array(centerAgentMemberResearchCoverageSchema).min(LEGACY_CENTER_AGENT_MEMBER_RESEARCH_COVERAGE_SOURCES.length).max(CENTER_AGENT_MEMBER_RESEARCH_COVERAGE_SOURCES.length).superRefine((coverage, context) => {
|
|
11366
11482
|
const expectedSources = coverage.length === LEGACY_CENTER_AGENT_MEMBER_RESEARCH_COVERAGE_SOURCES.length ? LEGACY_CENTER_AGENT_MEMBER_RESEARCH_COVERAGE_SOURCES : CENTER_AGENT_MEMBER_RESEARCH_COVERAGE_SOURCES;
|
|
@@ -11409,12 +11525,12 @@ const centerAgentMemberResearchTaskStatusSchema = z$1.enum([
|
|
|
11409
11525
|
"failed"
|
|
11410
11526
|
]);
|
|
11411
11527
|
const centerAgentMemberResearchTaskSchema = z$1.strictObject({
|
|
11412
|
-
id: trimmedNonEmptyStringSchema$
|
|
11413
|
-
subjectUserId: trimmedNonEmptyStringSchema$
|
|
11414
|
-
subjectDisplayName: trimmedNonEmptyStringSchema$
|
|
11528
|
+
id: trimmedNonEmptyStringSchema$2,
|
|
11529
|
+
subjectUserId: trimmedNonEmptyStringSchema$2,
|
|
11530
|
+
subjectDisplayName: trimmedNonEmptyStringSchema$2,
|
|
11415
11531
|
position: z$1.number().int().positive(),
|
|
11416
11532
|
status: centerAgentMemberResearchTaskStatusSchema,
|
|
11417
|
-
failureCode: trimmedNonEmptyStringSchema$
|
|
11533
|
+
failureCode: trimmedNonEmptyStringSchema$2.nullable(),
|
|
11418
11534
|
startedAt: isoDateTimeSchema$2.nullable(),
|
|
11419
11535
|
finishedAt: isoDateTimeSchema$2.nullable()
|
|
11420
11536
|
}).superRefine((task, context) => {
|
|
@@ -11430,8 +11546,8 @@ const centerAgentMemberResearchTaskSchema = z$1.strictObject({
|
|
|
11430
11546
|
});
|
|
11431
11547
|
});
|
|
11432
11548
|
const centerAgentMemberResearchBatchSchema = z$1.strictObject({
|
|
11433
|
-
id: trimmedNonEmptyStringSchema$
|
|
11434
|
-
organizationId: trimmedNonEmptyStringSchema$
|
|
11549
|
+
id: trimmedNonEmptyStringSchema$2,
|
|
11550
|
+
organizationId: trimmedNonEmptyStringSchema$2,
|
|
11435
11551
|
scope: centerAgentMemberResearchScopeSchema,
|
|
11436
11552
|
status: centerAgentMemberResearchBatchStatusSchema,
|
|
11437
11553
|
totalCount: z$1.number().int().positive(),
|
|
@@ -11493,11 +11609,11 @@ const centerAgentMemberResearchBatchSchema = z$1.strictObject({
|
|
|
11493
11609
|
});
|
|
11494
11610
|
});
|
|
11495
11611
|
const startCenterAgentMemberResearchBodySchema = z$1.discriminatedUnion("scope", [z$1.strictObject({
|
|
11496
|
-
expectedOrganizationId: trimmedNonEmptyStringSchema$
|
|
11612
|
+
expectedOrganizationId: trimmedNonEmptyStringSchema$2,
|
|
11497
11613
|
scope: z$1.literal("member"),
|
|
11498
|
-
subjectUserId: trimmedNonEmptyStringSchema$
|
|
11614
|
+
subjectUserId: trimmedNonEmptyStringSchema$2
|
|
11499
11615
|
}), z$1.strictObject({
|
|
11500
|
-
expectedOrganizationId: trimmedNonEmptyStringSchema$
|
|
11616
|
+
expectedOrganizationId: trimmedNonEmptyStringSchema$2,
|
|
11501
11617
|
scope: z$1.literal("all")
|
|
11502
11618
|
})]);
|
|
11503
11619
|
const startCenterAgentMemberResearchResponseSchema = z$1.strictObject({ batch: centerAgentMemberResearchBatchSchema });
|
|
@@ -11507,7 +11623,7 @@ z$1.strictObject({
|
|
|
11507
11623
|
speakerMember: centerAgentToolSpeakerSchema
|
|
11508
11624
|
});
|
|
11509
11625
|
const getCenterAgentMemberResearchStatusResponseSchema = z$1.strictObject({
|
|
11510
|
-
organizationId: trimmedNonEmptyStringSchema$
|
|
11626
|
+
organizationId: trimmedNonEmptyStringSchema$2,
|
|
11511
11627
|
latestBatch: centerAgentMemberResearchBatchSchema.nullable()
|
|
11512
11628
|
});
|
|
11513
11629
|
z$1.strictObject({ context: openMeldRequestContextSchema });
|
|
@@ -12227,7 +12343,7 @@ const SPACE_TASK_ERROR_CODES = [
|
|
|
12227
12343
|
z$1.enum(SPACE_TASK_ERROR_CODES);
|
|
12228
12344
|
//#endregion
|
|
12229
12345
|
//#region ../../packages/schemas/dist/schemas/http/gateway-error.js
|
|
12230
|
-
const trimmedNonEmptyStringSchema$
|
|
12346
|
+
const trimmedNonEmptyStringSchema$1 = z$1.string().trim().min(1);
|
|
12231
12347
|
const SPACE_ADDRESSING_TARGET_INVALID_ERROR_CODE = "space.addressing.target_invalid";
|
|
12232
12348
|
const gatewayErrorCodeSchema = z$1.enum([
|
|
12233
12349
|
"bad_request",
|
|
@@ -12349,8 +12465,8 @@ const gatewayErrorCodeSchema = z$1.enum([
|
|
|
12349
12465
|
]);
|
|
12350
12466
|
const gatewayErrorSchema = commonErrorSchema.extend({
|
|
12351
12467
|
code: gatewayErrorCodeSchema,
|
|
12352
|
-
requestId: trimmedNonEmptyStringSchema$
|
|
12353
|
-
upstreamCode: trimmedNonEmptyStringSchema$
|
|
12468
|
+
requestId: trimmedNonEmptyStringSchema$1,
|
|
12469
|
+
upstreamCode: trimmedNonEmptyStringSchema$1.optional()
|
|
12354
12470
|
});
|
|
12355
12471
|
const gatewayErrorEnvelopeSchema = z$1.strictObject({
|
|
12356
12472
|
ok: z$1.literal(false),
|
|
@@ -12365,103 +12481,6 @@ const identityImageMimeTypeSchema = z$1.enum([
|
|
|
12365
12481
|
"image/webp"
|
|
12366
12482
|
]);
|
|
12367
12483
|
//#endregion
|
|
12368
|
-
//#region ../../packages/schemas/dist/schemas/http/account-space-index.js
|
|
12369
|
-
const ISO_DATE_TIME_SCHEMA$1 = z$1.iso.datetime({ offset: true });
|
|
12370
|
-
const trimmedNonEmptyStringSchema$1 = z$1.string().trim().min(1);
|
|
12371
|
-
const nullableTrimmedStringSchema$1 = z$1.union([trimmedNonEmptyStringSchema$1, z$1.null()]);
|
|
12372
|
-
const nullableNonNegativeIntSchema = z$1.union([z$1.number().int().min(0), z$1.null()]);
|
|
12373
|
-
const nullableIsoDateTimeSchema$1 = z$1.union([ISO_DATE_TIME_SCHEMA$1, z$1.null()]);
|
|
12374
|
-
const ACCOUNT_SPACE_INDEX_MAX_LIMIT = 500;
|
|
12375
|
-
const NON_NEGATIVE_INT_RE$1 = /^\d+$/;
|
|
12376
|
-
const accountSpaceIndexScopeSchema = z$1.enum(["account", "profile"]);
|
|
12377
|
-
const accountSpaceIndexLimitSchema = z$1.preprocess((value) => {
|
|
12378
|
-
if (typeof value === "number") return value;
|
|
12379
|
-
if (typeof value !== "string") return value;
|
|
12380
|
-
const normalized = value.trim();
|
|
12381
|
-
if (!NON_NEGATIVE_INT_RE$1.test(normalized)) return NaN;
|
|
12382
|
-
return Number.parseInt(normalized, 10);
|
|
12383
|
-
}, z$1.number().int().min(1).max(ACCOUNT_SPACE_INDEX_MAX_LIMIT)).optional();
|
|
12384
|
-
const accountSpaceIndexIncludeRecentlyDeletedItemsSchema = z$1.preprocess((value) => {
|
|
12385
|
-
if (typeof value === "boolean") return value;
|
|
12386
|
-
return value === "true";
|
|
12387
|
-
}, z$1.boolean()).optional();
|
|
12388
|
-
const accountSpaceIndexIncludePurposesSchema = z$1.preprocess((value) => {
|
|
12389
|
-
if (typeof value === "boolean") return value;
|
|
12390
|
-
return value === "true";
|
|
12391
|
-
}, z$1.boolean()).optional();
|
|
12392
|
-
const accountSpaceIndexIncludeDirectMessageProfileIdsSchema = z$1.preprocess((value) => {
|
|
12393
|
-
if (typeof value === "boolean") return value;
|
|
12394
|
-
return value === "true";
|
|
12395
|
-
}, z$1.boolean()).optional();
|
|
12396
|
-
z$1.strictObject({
|
|
12397
|
-
includeMessagePreviews: z$1.preprocess((value) => value === true || value === "true", z$1.boolean()).optional(),
|
|
12398
|
-
includeMemberPreviews: z$1.preprocess((value) => value === true || value === "true", z$1.boolean()).optional(),
|
|
12399
|
-
gatewayHost: profileSpaceHistoryGatewayHostSchema,
|
|
12400
|
-
includeDirectMessageProfileIds: accountSpaceIndexIncludeDirectMessageProfileIdsSchema,
|
|
12401
|
-
includeRecentlyDeletedItems: accountSpaceIndexIncludeRecentlyDeletedItemsSchema,
|
|
12402
|
-
includePurposes: accountSpaceIndexIncludePurposesSchema,
|
|
12403
|
-
limit: accountSpaceIndexLimitSchema,
|
|
12404
|
-
scope: accountSpaceIndexScopeSchema.default("account"),
|
|
12405
|
-
selectedProfileId: trimmedNonEmptyStringSchema$1
|
|
12406
|
-
});
|
|
12407
|
-
const accountSpaceIndexJoinedProfileSchema = z$1.strictObject({
|
|
12408
|
-
lastJoinedAt: ISO_DATE_TIME_SCHEMA$1,
|
|
12409
|
-
pinnedAt: nullableIsoDateTimeSchema$1,
|
|
12410
|
-
profileId: trimmedNonEmptyStringSchema$1,
|
|
12411
|
-
profileName: trimmedNonEmptyStringSchema$1
|
|
12412
|
-
});
|
|
12413
|
-
const accountSpaceIndexItemSchema = z$1.strictObject({
|
|
12414
|
-
messagePreview: z$1.strictObject({
|
|
12415
|
-
signalId: trimmedNonEmptyStringSchema$1,
|
|
12416
|
-
profileId: trimmedNonEmptyStringSchema$1,
|
|
12417
|
-
timestamp: z$1.number().int().nonnegative(),
|
|
12418
|
-
text: z$1.string().max(240)
|
|
12419
|
-
}).nullable().optional(),
|
|
12420
|
-
memberPreviews: z$1.array(z$1.strictObject({
|
|
12421
|
-
profileId: trimmedNonEmptyStringSchema$1,
|
|
12422
|
-
profileName: trimmedNonEmptyStringSchema$1,
|
|
12423
|
-
profileKind: z$1.enum(["human", "agent"]),
|
|
12424
|
-
agentControllerRef: nullableTrimmedStringSchema$1
|
|
12425
|
-
})).max(3).optional(),
|
|
12426
|
-
creatorKind: z$1.union([profileSpaceCreatorKindSchema, z$1.null()]),
|
|
12427
|
-
creatorOwnerUserId: nullableTrimmedStringSchema$1,
|
|
12428
|
-
creatorProfileId: nullableTrimmedStringSchema$1,
|
|
12429
|
-
creatorProfileName: nullableTrimmedStringSchema$1,
|
|
12430
|
-
gatewayHost: profileSpaceHistoryGatewayHostSchema,
|
|
12431
|
-
joinedProfiles: z$1.array(accountSpaceIndexJoinedProfileSchema),
|
|
12432
|
-
lastJoinedAt: ISO_DATE_TIME_SCHEMA$1,
|
|
12433
|
-
lastSeenTs: nullableNonNegativeIntSchema,
|
|
12434
|
-
openProfileId: trimmedNonEmptyStringSchema$1,
|
|
12435
|
-
openProfileName: trimmedNonEmptyStringSchema$1,
|
|
12436
|
-
organizationId: trimmedNonEmptyStringSchema$1,
|
|
12437
|
-
pinnedAt: nullableIsoDateTimeSchema$1,
|
|
12438
|
-
pinnedProfileIds: z$1.array(trimmedNonEmptyStringSchema$1),
|
|
12439
|
-
spaceCreatedAt: nullableIsoDateTimeSchema$1,
|
|
12440
|
-
spaceId: trimmedNonEmptyStringSchema$1,
|
|
12441
|
-
spaceName: trimmedNonEmptyStringSchema$1,
|
|
12442
|
-
activeAgentCount: nullableNonNegativeIntSchema.optional(),
|
|
12443
|
-
activeHumanCount: nullableNonNegativeIntSchema.optional(),
|
|
12444
|
-
activeMemberCount: nullableNonNegativeIntSchema.optional(),
|
|
12445
|
-
directMessageConvertedAt: nullableIsoDateTimeSchema$1.optional(),
|
|
12446
|
-
directMessageProfileIds: z$1.union([z$1.tuple([trimmedNonEmptyStringSchema$1, trimmedNonEmptyStringSchema$1]), z$1.null()]).optional(),
|
|
12447
|
-
spacePurpose: nullableTrimmedStringSchema$1.optional(),
|
|
12448
|
-
spaceUpdatedAt: nullableIsoDateTimeSchema$1,
|
|
12449
|
-
status: trimmedNonEmptyStringSchema$1,
|
|
12450
|
-
updatedAt: ISO_DATE_TIME_SCHEMA$1,
|
|
12451
|
-
visibility: spaceOrganizationVisibilitySchema
|
|
12452
|
-
});
|
|
12453
|
-
const accountSpaceIndexDeletedItemSchema = z$1.strictObject({
|
|
12454
|
-
deletedAt: ISO_DATE_TIME_SCHEMA$1,
|
|
12455
|
-
deletedByProfileName: nullableTrimmedStringSchema$1,
|
|
12456
|
-
spaceId: trimmedNonEmptyStringSchema$1,
|
|
12457
|
-
spaceName: nullableTrimmedStringSchema$1
|
|
12458
|
-
});
|
|
12459
|
-
const accountSpaceIndexResponseSchema = z$1.strictObject({
|
|
12460
|
-
pinnedItems: z$1.array(accountSpaceIndexItemSchema),
|
|
12461
|
-
recentlyDeletedItems: z$1.array(accountSpaceIndexDeletedItemSchema).optional(),
|
|
12462
|
-
spaceItems: z$1.array(accountSpaceIndexItemSchema)
|
|
12463
|
-
});
|
|
12464
|
-
//#endregion
|
|
12465
12484
|
//#region ../../packages/schemas/dist/schemas/http/agent-profile-creation-request.js
|
|
12466
12485
|
const identifierSchema$1 = z$1.string().trim().min(1).max(256);
|
|
12467
12486
|
const profileNameSchema = z$1.string().trim().min(1).max(80);
|
|
@@ -14416,30 +14435,6 @@ const getActiveSpaceWakeProgressResponseSchema = z$1.strictObject({
|
|
|
14416
14435
|
items: z$1.array(wakeProgressItemSchema)
|
|
14417
14436
|
});
|
|
14418
14437
|
//#endregion
|
|
14419
|
-
//#region ../../packages/schemas/dist/schemas/space-mesh/agent-reply-placement.js
|
|
14420
|
-
const AGENT_REPLY_PLACEMENT_HEADER = "x-openmeld-agent-reply-placement";
|
|
14421
|
-
const agentReplyPlacementSchema = z$1.enum(["conversation", "thread"]);
|
|
14422
|
-
z$1.strictObject({
|
|
14423
|
-
context: openMeldRequestContextSchema,
|
|
14424
|
-
placement: agentReplyPlacementSchema
|
|
14425
|
-
});
|
|
14426
|
-
z$1.strictObject({
|
|
14427
|
-
spaceId: z$1.string().min(1),
|
|
14428
|
-
dispatchId: z$1.string().min(1),
|
|
14429
|
-
sourceSignalId: z$1.string().min(1),
|
|
14430
|
-
profileId: z$1.string().min(1),
|
|
14431
|
-
defaultToThread: z$1.boolean(),
|
|
14432
|
-
lock: z$1.boolean(),
|
|
14433
|
-
placement: agentReplyPlacementSchema.optional()
|
|
14434
|
-
});
|
|
14435
|
-
z$1.strictObject({
|
|
14436
|
-
dispatchId: z$1.string().min(1),
|
|
14437
|
-
sourceSignalId: z$1.string().min(1),
|
|
14438
|
-
profileId: z$1.string().min(1),
|
|
14439
|
-
threadContext: spaceThreadContextSchema.nullable(),
|
|
14440
|
-
locked: z$1.boolean()
|
|
14441
|
-
});
|
|
14442
|
-
//#endregion
|
|
14443
14438
|
//#region ../../packages/schemas/dist/space-access-version.js
|
|
14444
14439
|
const SPACE_ACCESS_VERSION_HEADER = "x-openmeld-space-access-version";
|
|
14445
14440
|
//#endregion
|
|
@@ -15490,7 +15485,10 @@ const createCenterAgentApi = (client) => ({
|
|
|
15490
15485
|
signal: request.signal,
|
|
15491
15486
|
timeoutMs: request.timeoutMs,
|
|
15492
15487
|
headers: { "content-type": "application/json" },
|
|
15493
|
-
body: JSON.stringify({
|
|
15488
|
+
body: JSON.stringify({
|
|
15489
|
+
...request.profileName ? { profileName: request.profileName } : {},
|
|
15490
|
+
...request.avatarStyle ? { avatarStyle: request.avatarStyle } : {}
|
|
15491
|
+
}),
|
|
15494
15492
|
schema: centerAgentUpdateProfileResponseSchema,
|
|
15495
15493
|
invalidMessage: "Invalid Center Agent profile update response."
|
|
15496
15494
|
});
|
|
@@ -15689,7 +15687,10 @@ function validateAuditJournalInput(input) {
|
|
|
15689
15687
|
};
|
|
15690
15688
|
}
|
|
15691
15689
|
function validateUpdateProfileInput(input) {
|
|
15692
|
-
const parsed = centerAgentUpdateProfileBodySchema.safeParse({
|
|
15690
|
+
const parsed = centerAgentUpdateProfileBodySchema.safeParse({
|
|
15691
|
+
profileName: input.profileName,
|
|
15692
|
+
avatarStyle: input.avatarStyle
|
|
15693
|
+
});
|
|
15693
15694
|
if (!parsed.success) throw new Error(parsed.error.issues[0]?.message ?? "Invalid Center Agent profile update.");
|
|
15694
15695
|
validateRequestInput$1(input);
|
|
15695
15696
|
return input;
|
|
@@ -15841,8 +15842,8 @@ function normalizeHeaderRecord(headers) {
|
|
|
15841
15842
|
return normalized;
|
|
15842
15843
|
}
|
|
15843
15844
|
/** The authenticated client's explicit connection action approves an independent Computer session. */
|
|
15844
|
-
async function createComputerAuthorizationGrant(request) {
|
|
15845
|
-
const codeResult = betterAuthDeviceAuthorizationCodeResponseSchema.safeParse(await request("/device/code", "POST", betterAuthDeviceAuthorizationCodeRequestSchema.parse({ client_id: "openmeld-cli" })));
|
|
15845
|
+
async function createComputerAuthorizationGrant(request, input = {}) {
|
|
15846
|
+
const codeResult = betterAuthDeviceAuthorizationCodeResponseSchema.safeParse(await request("/device/code", "POST", betterAuthDeviceAuthorizationCodeRequestSchema.parse({ client_id: input.clientId ?? "openmeld-cli" })));
|
|
15846
15847
|
if (!codeResult.success) throw new Error("Auth returned an invalid computer authorization response.");
|
|
15847
15848
|
const code = codeResult.data;
|
|
15848
15849
|
if (!betterAuthDeviceAuthorizationClaimResponseSchema.safeParse(await request(`/device?user_code=${encodeURIComponent(code.user_code)}`, "GET")).success) throw new Error("Auth returned an invalid computer authorization claim.");
|
|
@@ -18361,6 +18362,21 @@ function buildAgentProfileDefaultProjectRoute(profileId) {
|
|
|
18361
18362
|
return `/v1/agent-profiles/${encodeURIComponent(profileId)}/default-project`;
|
|
18362
18363
|
}
|
|
18363
18364
|
const createProfilesApi = (client) => ({
|
|
18365
|
+
updateAgentAvatar: async (input) => {
|
|
18366
|
+
const avatarStyle = agentAvatarStyleSchema.safeParse(input.avatarStyle);
|
|
18367
|
+
const profileId = normalizeRequiredText(input.profileId, "profileId");
|
|
18368
|
+
if (!(avatarStyle.success && ["automatic", "fluid"].includes(avatarStyle.data))) throw new Error("Invalid Remote Agent avatar.");
|
|
18369
|
+
return await client.requestJson({
|
|
18370
|
+
body: JSON.stringify({ avatarStyle: avatarStyle.data }),
|
|
18371
|
+
headers: { "content-type": "application/json" },
|
|
18372
|
+
invalidMessage: "Invalid Remote Agent avatar response.",
|
|
18373
|
+
method: "PATCH",
|
|
18374
|
+
operation: "profile.updateAgentAvatar",
|
|
18375
|
+
requestContext: input.requestContext,
|
|
18376
|
+
schema: updateProfileResponseSchema,
|
|
18377
|
+
url: `/v1/profiles/agents/${encodeURIComponent(profileId)}/avatar`
|
|
18378
|
+
});
|
|
18379
|
+
},
|
|
18364
18380
|
rename: async (input) => {
|
|
18365
18381
|
const request = requireValidRenameProfileInput(input);
|
|
18366
18382
|
return await client.requestJson({
|
|
@@ -20563,4 +20579,4 @@ function shouldWrapNetworkRequestError(error) {
|
|
|
20563
20579
|
//#endregion
|
|
20564
20580
|
export { buildLocalFolderPickerPath as $, resolveCustomMentionAliasOverride as $n, spaceMemberDirectoryAllowedRelationsSchema as $r, createLocalRuntimeExpectedRoutesApi as $t, buildCurrentOrganizationDirectoryPath as A, agentActivitySnapshotQuerySchema as Ai, postSpaceWorkHandoff as An, projectSpaceDispatchTraceFinalVisibleOutcome as Ar, buildSpaceAttachmentDownloadPath as At, buildCurrentOrganizationMessageChannelsPath as B, createProjectResponseSchema as Bi, toStructuredApiClientFailure as Bn, getOrganizationSkillResponseSchema as Br, createAgentProfileWorkRecoveryApi as Bt, buildCenterAgentSessionPath as C, updateCenterAgentRoutineResponseSchema as Ci, isInboxItemVisibleConversation as Cn, spaceTaskMutationReceiptSchema as Cr, buildProjectsPath as Ct, buildCurrentAgentProfileSessionRoute as D, agentActivityEventSchema as Di, listSpaceTasks as Dn, submitFeedbackIssueResponseSchema as Dr, buildRoutineRunsPath as Dt, buildComputerFileAccessUpdatePath as E, AGENT_ACTIVITY_PRESENCE_TTL_MAX_MS as Ei, listSpaceFiles as En, submitFeedbackIssueRequestSchema as Er, buildRoutineResumePath as Et, buildCurrentOrganizationMessageChannelPath as F, signalTextEnvelopeSchema as Fi, readOrUpdateSpaceFilePins as Fn, spaceDispatchTraceResponseSchema as Fr, buildSpaceInboxUnreadTargetsPath as Ft, buildFeedbackIssueSubmissionPath as G, COMPUTER_FILE_ACCESS_RUNTIME_CAPABILITY as Gi, uploadSpaceAttachment as Gn, organizationSkillReleaseSummarySchema as Gr, createCurrentDeviceApi as Gt, buildCurrentOrganizationSpacesWithMemberCountsPath as H, projectSchema as Hi, updateSpaceFileContent as Hn, organizationSkillBundleSchema as Hr, createComputerAuthorizationGrant as Ht, buildCurrentOrganizationMessageChannelRegistrationPath as I, localProjectControlConnectionSchema as Ii, readOrUpdateSpaceMessagePins as In, observabilityWakeTraceSelectorSchema as Ir, createAccountSpaceIndexApi as It, buildInboxItemReadPath as J, computerFileAccessPolicyInputSchema as Ji, DAEMON_STREAM_KEEPALIVE_PONG as Jn, leaveSpaceResponseSchema as Jr, createFetchTransport as Jt, buildInboxItemDismissPath as K, OPENMELD_RUNTIME_CAPABILITIES_HEADER as Ki, uploadSpaceFile as Kn, organizationSkillSummarySchema as Kr, createDirectMessageApi as Kt, buildCurrentOrganizationMessageChannelRegistrationPollPath as L, localProjectControlDaemonFrameSchema as Li, resolveAccountSpaceIndexGatewayHost as Ln, projectObservabilityWakeCorrelation as Lr, createAgentActivityApi as Lt, buildCurrentOrganizationInformationProtectionPath as M, centerAgentToolSpeakerSchema as Mi, readAccountOrganizationContext as Mn, resolveSpaceDispatchTraceRootCause as Mr, buildSpaceFileContentPath as Mt, buildCurrentOrganizationLogoPath as N, serviceConnectionEvidenceEventSchema as Ni, readAccountSession as Nn, spaceDispatchTraceAttemptStatusSchema as Nr, buildSpaceInboxReadThroughPath as Nt, buildCurrentOrganizationCenterAgentMemoryWipeSelfPath as O, agentActivityProviderSchema as Oi, mutateSpaceTask as On, SPACE_DISPATCH_TRACE_PROMPT_PREVIEW_MAX_CHARS as Or, buildRoutineTargetSpacesPath as Ot, buildCurrentOrganizationMemberOpenMeldServiceStatusesPath as P, serviceConnectionEvidenceJournalSchema as Pi, readCliRelease as Pn, spaceDispatchTraceDispatchStatusSchema as Pr, buildSpaceInboxSummaryPath as Pt, buildInboxSummaryPath as Q, parseServerErrorFrame as Qn, spaceMemberAgentWakeAvailabilitySchema as Qr, createLocalProjectControlApi as Qt, buildCurrentOrganizationMessageChannelRegistrationsPath as R, localProjectControlDiscoverProjectsResponseSchema as Ri, resolveProfileSpaceHistoryGatewayHost as Rn, ORGANIZATION_SKILL_BUNDLE_MAX_BYTES as Rr, createAgentProfileBindingApi as Rt, buildCenterAgentProfilePath as S, resumeCenterAgentRoutineResponseSchema as Si, isInboxItemInOrganizationScope as Sn, spaceTaskIdSchema as Sr, buildProjectPath as St, buildComputerFileAccessReadPath as T, AGENT_ACTIVITY_EVENT_MAX_BYTES as Ti, listSpaceFileRevisions as Tn, organizationDirectoryResponseSchema as Tr, buildRoutinePausePath as Tt, buildDirectMessageConversionPath as U, updateProjectResponseSchema as Ui, updateSpaceFileEntry as Un, organizationSkillFileSchema as Ur, createComputerFileAccessApi as Ut, buildCurrentOrganizationSpacesPath as V, listProjectsResponseSchema as Vi, trashSpaceFileEntry as Vn, listOrganizationSkillsResponseSchema as Vr, createCenterAgentApi as Vt, buildDirectMessageSpacePath as W, COMPUTER_FILE_ACCESS_OWNER_CANCELLED_REASON_CODE as Wi, updateSpaceMeta as Wn, organizationSkillGitHubRepositoryPreviewSchema as Wr, createConfigApi as Wt, buildInboxPath as X, toLegacySpaceImageGeometryWireValue as Xi, parseEnvelope as Xn, removeSpaceMembersResponseSchema as Xr, createInboxApi as Xt, buildInboxMarkAllReadPath as Y, computerFileAccessPolicySchema as Yi, MAX_TEXT_LENGTH as Yn, postSpaceMembersResponseSchema as Yr, createFileRootApi as Yt, buildInboxPreferencesPath as Z, toCompatibleSpaceAddressingRequestWireValue as Zi, parseIncoming as Zn, resolvedSpaceMemberProfileSchema as Zr, createLocalFolderPickerApi as Zt, buildCenterAgentDirectMessageSpacePath as _, createCenterAgentRoutineResponseSchema as _i, downloadSpaceFileContent as _n, agentProfileCreationConfigurationSchema as _r, buildOrganizationUsageOverviewPath as _t, buildAgentActivitySessionsPath as a, projectOwnerComputerLocalRuntimes as ai, createPluginsApi as an, toErrorMessage$2 as ar, buildOrganizationDocumentsPath as at, buildCenterAgentMemberResearchPath as b, listCenterAgentRoutinesResponseSchema as bi, getSpaceTask as bn, createSpaceTaskBodySchema as br, buildProfileSpaceHistoryStatusPath as bt, buildAgentProfileCreationApprovalPreferencePath as c, agentActivityInventorySessionOriginSchema as ci, createProfilesApi as cn, pluginActionRequestSchema as cr, buildOrganizationSkillFilesImportPath as ct, buildAgentProfileCreationRequestDecisionPath as d, agentActivitySessionInventoryResponseSchema as di, createRoutinesApi as dn, betterAuthDeviceAuthorizationCodeResponseSchema as dr, buildOrganizationSkillGitHubPreviewPath as dt, spaceMemberDirectoryEntrySchema as ei, createOpenMeldApiClient as en, OPENMELD_HEADER_PROFILE_ID as er, buildLocalProjectControlPath as et, buildAgentProfileCreationRequestRetryPath as f, localAgentSessionProviderSchema as fi, createRuntimeReportingApi as fn, betterAuthDeviceAuthorizationErrorResponseSchema as fr, buildOrganizationSkillMaintainersPath as ft, buildCenterAgentDesignationPath as g, spaceMetaSchema as gi, createSpaceTask as gn, DEFAULT_AGENT_PROFILE_CREATION_CONFIGURATION as gr, buildOrganizationSkillsPath as gt, buildCenterAgentAuditJournalPath as h, spaceCreatorSchema as hi, createSpaceFolder as hn, betterAuthSessionSnapshotResponseSchema as hr, buildOrganizationSkillResourcePath as ht, buildAccountSpaceIndexPath as i, ownerComputerDiagnosticsSchema as ii, createOrganizationUsageApi as in, buildOpenMeldRequestContextHeaders as ir, buildOrganizationDocumentPath as it, buildCurrentOrganizationFeedbackReportingPolicyPath as j, agentActivitySnapshotResponseSchema as ji, publicSpaceUrls as jn, resolveRuntimeCoordinatorHeadStatusRootCause as jr, buildSpaceBootstrapReadPath as jt, buildCurrentOrganizationComputersPath as k, agentActivitySessionStatusSchema as ki, normalizeApiBaseUrl as kn, SPACE_DISPATCH_TRACE_RESPONSE_CONTRACT_VERSION_HEADER as kr, buildRoutinesPath as kt, buildAgentProfileCreationDefaultsPath as l, agentActivityInventorySessionStatusSchema as li, createProjectsApi as ln, BETTER_AUTH_DEVICE_AUTHORIZATION_GRANT_TYPE as lr, buildOrganizationSkillFilesPreviewPath as lt, buildAgentProfileWorkRecoveryRoute as m, resolveInitialSpaceAccessMode as mi, createSpaceApi as mn, betterAuthDeviceAuthorizationTokenResponseSchema as mr, buildOrganizationSkillRepositoryPreviewPath as mt, OpenMeldApiClientInvalidResponseError as n, spaceMemberKindSchema as ni, createOrganizationDocumentsApi as nn, OPENMELD_HEADER_REQUEST_ID as nr, buildOrganizationDocumentApproveDraftPath as nt, buildAgentActivitySnapshotPath as o, summarizeComputerFileAccessPolicy as oi, createPrepareReadinessApi as on, getSpaceUpdatesResponseSchema as or, buildOrganizationSkillCatalogPath as ot, buildAgentProfileCreationRequestsPath as p, observedLocalAgentSessionSchema as pi, createServiceConnectionEvidenceApi as pn, betterAuthDeviceAuthorizationTokenRequestSchema as pr, buildOrganizationSkillPath as pt, buildInboxItemPath as q, computerFileAccessDaemonFrameSchema as qi, DAEMON_STREAM_KEEPALIVE_PING as qn, stringifyOrganizationSkillBundleCanonicalJson as qr, createFeedbackApi as qt, buildAccountSpaceActiveWakeSummaryPath as r, submitAgentControllerTaskLifecycleEventItemSchema as ri, createOrganizationSkillsApi as rn, OPENMELD_HEADER_SPACE_ADDRESSING_VERSION as rr, buildOrganizationDocumentDiscardDraftPath as rt, buildAgentActivityStatsPath as s, organizationComputersResponseSchema as si, createProfileSpaceHistoryApi as sn, spaceEntryTargetSchema as sr, buildOrganizationSkillEnabledPath as st, OpenMeldApiClientHttpError as t, spaceMemberDirectorySchema as ti, createOrganizationApi as tn, OPENMELD_HEADER_REQUESTED_ORGANIZATION_ID as tr, buildModelCatalogPath as tt, buildAgentProfileCreationRequestCancelPath as u, agentActivitySessionInventoryQuerySchema as ui, createReasoningStreamApi as un, betterAuthDeviceAuthorizationCodeRequestSchema as ur, buildOrganizationSkillGitHubImportPath as ut, buildCenterAgentInboxReadThroughPath as v, deleteCenterAgentRoutineResponseSchema as vi, getModelCatalog as vn, createAgentProfileCreationRequestBodySchema as vr, buildProfileRoute as vt, buildCenterAgentSessionsPath as w, modelCatalogSchema as wi, isInboxNotificationEligible as wn, organizationSpaceDirectoryWithMemberCountsResponseSchema as wr, buildRoutinePath as wt, buildCenterAgentOperatingStatePath as x, pauseCenterAgentRoutineResponseSchema as xi, inboxMessageNotificationSpaceId as xn, mutateSpaceTaskBodySchema as xr, buildProfileSpaceHistoryUpsertPath as xt, buildCenterAgentInboxSummaryPath as y, listCenterAgentRoutineRunsResponseSchema as yi, getSpaceFile as yn, gatewayErrorEnvelopeSchema as yr, buildProfileSpaceHistoryListPath as yt, buildCurrentOrganizationMessageChannelSetupRequestsPath as z, archiveProjectResponseSchema as zi, setSpaceAccessMode as zn, ORGANIZATION_SKILL_FILE_MAX_BYTES as zr, createAgentProfileExecutionModeApi as zt };
|
|
20565
20581
|
|
|
20566
|
-
//# sourceMappingURL=dist-
|
|
20582
|
+
//# sourceMappingURL=dist-BgYBvEBB.js.map
|