openmeld 0.3.64 → 0.3.65
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-Cw6lGQlv.js → add-me-membership-V07v7WN2.js} +2 -2
- package/dist/{add-me-membership-Cw6lGQlv.js.map → add-me-membership-V07v7WN2.js.map} +1 -1
- package/dist/{api-client-foundation-usGslxQC.js → api-client-foundation-B2VXUaHu.js} +3 -3
- package/dist/{api-client-foundation-usGslxQC.js.map → api-client-foundation-B2VXUaHu.js.map} +1 -1
- package/dist/{auth-session-Dg72Xh3J.js → auth-session-je3kV35Z.js} +2 -2
- package/dist/{auth-session-Dg72Xh3J.js.map → auth-session-je3kV35Z.js.map} +1 -1
- package/dist/{command-Brdc6Xgg.js → command-DyBhBtjU.js} +243 -54
- package/dist/{command-Brdc6Xgg.js.map → command-DyBhBtjU.js.map} +1 -1
- package/dist/{dist-BL6E7nIb.js → dist-otYW6tMl.js} +202 -113
- package/dist/dist-otYW6tMl.js.map +1 -0
- package/dist/openmeld.js +19 -9
- package/dist/openmeld.js.map +1 -1
- package/dist/{runtime-transport-eiQG68PK.js → runtime-transport-DB1vho68.js} +66 -2
- package/dist/runtime-transport-DB1vho68.js.map +1 -0
- package/package.json +3 -3
- package/dist/dist-BL6E7nIb.js.map +0 -1
- package/dist/runtime-transport-eiQG68PK.js.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
3
|
import { cn as agentControllerRefSchema, hn as __exportAll, tn as runtimeTransportModeSchema } from "./base-url-KfrIdedc.js";
|
|
4
|
-
import { $ as
|
|
4
|
+
import { $ as localFolderPickerResultSchema, $n as updateOrganizationInformationProtectionPolicyBodySchema, At as spaceAttachmentDescriptorSchema, Bn as runtimeCoordinatorExecutionRecordSchema, Bt as localAgentInstallationOptionSchema, Ct as signalStatusDataSchema, Er as openMeldWebUrlSchema, Et as signalTextSchema, F as runtimeTransportRuntimeCoordinatorHeadNoExecutionRecoveryActionSchema, Fn as postSpaceWakeStopResponseSchema, Ft as spaceMessageAttachmentSchema, G as openMeldDaemonTaskResultProjectFailureContextSchema, Gn as normalizeSpacePasswordText, I as runtimeTransportRuntimeCoordinatorHeadWaitingCategorySchema, In as clientMessageIdSchema$1, It as spaceMessageAttachmentsSchema, Jt as spaceThreadContextSchema, Kn as spacePasswordSchema, L as runtimeTransportRuntimeCoordinatorHeadWaitingReasonCodeSchema, Lt as conversationCompactionMarkerSchema, M as runtimeTransportRuntimeCoordinatorHeadNoExecutionDecisionSourceSchema, Mn as localComponentUpdateProjectionSchema, Mt as spaceAttachmentFileNameSchema, N as runtimeTransportRuntimeCoordinatorHeadNoExecutionPublicationCategorySchema, Nt as spaceAttachmentMimeTypeSchema, P as runtimeTransportRuntimeCoordinatorHeadNoExecutionReasonCodeSchema, Pn as postSpaceWakeStopBodySchema, Pt as spaceAttachmentSizeBytesSchema, Q as localFolderPickerRequestSchema, Qn as organizationProtectedInformationSchema, R as runtimeTransportRuntimeCoordinatorHeadWaitingRecoveryActionSchema, Rn as runtimeCoordinatorExecutionCreationDiagnosticSchema, Sn as agentInteractionPendingSummarySchema, Tn as agentInteractionResponseSchema, Tr as openMeldNavigationTargetSchema, Tt as signalTextDataSchema, Un as spaceTraceExecutionIdentityProjectionSchema, Ut as openMeldDaemonSyncRouteCatalogPayloadSchema, V as openMeldDaemonProviderAccessEvidenceProviderSchema, Wn as SPACE_PASSWORD_RATE_LIMITED_ERROR_CODE, Xn as spaceMentionLabelSourceSchema, Xt as spaceThreadSchema, Yn as spaceMentionLabelSchema, Yt as spaceThreadEventSchema, Zn as organizationInformationProtectionPolicyResponseSchema, Zt as spaceThreadSignalPlacementSchema, _n as spaceAgentStreamPartFrameSchema, _r as trimmedStringFromUnknown, an as workingLanguageTagSchema, at as agentTaskTerminalOutcomeSchema, bn as spaceAgentStreamTerminalFrameSchema, cr as openMeldRuntimeProfileIdSchema, ct as controllerAgentTaskHandleSchema, dn as messageEnvelopeSchema, dr as profileWorkingDirectorySchema, en as resultArchivePolicySchema, er as executeExecutionRecoveryBodySchema, et as localFolderPathSchema, fr as profileWorkspaceModeSchema, gn as spaceAgentStreamDeltaFrameSchema, gr as optionalBooleanQuerySchema, hn as agentStreamToolPartSchema, hr as nonEmptyTrimmedStringFromUnknown, in as workingLanguageGuidanceSchema, ir as openMeldRequestContextSchema, it as agentTaskHandleSchema, j as runtimeTransportRuntimeCoordinatorHeadLifecycleStatusSchema, jt as spaceAttachmentDimensionSchema, lr as profileKindSchema, lt as spaceWakeAgentTaskHandleSchema, mn as AGENT_STREAM_SNAPSHOT_MAX_CHARS, mr as finiteIntegerNumber, n as daemonExecutionCompatibilitySchema, nn as spacePublicationModeSchema, nr as inspectExecutionRecoveryResponseSchema, nt as agentTaskCompletionConditionSchema, on as targetWakeLifecycleIdentitySchema, or as agentProfileIdSchema, ot as areAgentTaskTerminalOutcomesEqual, pr as uuidProfileIdSchema, qt as dispatchExecutionSchema, rn as spaceDispatchPolicySchema, rt as agentTaskCompletionObservationSchema, st as buildAgentTaskKey, t as CURRENT_DAEMON_EXECUTION_CONTRACT_EPOCH, tn as spaceAllowedActionsSchema, tr as executeExecutionRecoveryResponseSchema, tt as agentDelegationSnapshotSchema, ur as profileSchema, vn as spaceAgentStreamPresenceSchema, vr as MAX_TEXT_LENGTH$1, wr as computerSetupModeSchema, wt as signalSystemNoticeDataSchema, xt as centerAgentTaskReferenceSchema, yn as spaceAgentStreamSnapshotSchema, z as runtimeTransportRuntimeCoordinatorRespondInteractionResponseSchema, zn as runtimeCoordinatorExecutionEventSchema, zt as centerAgentInteractionSourceSchema } from "./runtime-transport-DB1vho68.js";
|
|
5
5
|
import { r as daemonServiceLaneSchema } from "./service-contract-DZWQdPz5.js";
|
|
6
6
|
import { z } from "zod/v4";
|
|
7
7
|
//#region ../../packages/schemas/dist/agent-execution-readiness-impact-taxonomy.js
|
|
@@ -906,10 +906,10 @@ const getPrepareReadinessResponseSchema = z.strictObject({
|
|
|
906
906
|
});
|
|
907
907
|
//#endregion
|
|
908
908
|
//#region ../../packages/schemas/dist/schemas/http/agent-execution-readiness.js
|
|
909
|
-
const ISO_DATE_TIME_SCHEMA$
|
|
909
|
+
const ISO_DATE_TIME_SCHEMA$14 = z.iso.datetime({ offset: true });
|
|
910
910
|
const trimmedNonEmptyStringSchema$14 = z.string().trim().min(1);
|
|
911
911
|
const nullableTrimmedStringSchema$7 = z.union([trimmedNonEmptyStringSchema$14, z.null()]);
|
|
912
|
-
const nullableIsoDateTimeSchema$7 = z.union([ISO_DATE_TIME_SCHEMA$
|
|
912
|
+
const nullableIsoDateTimeSchema$7 = z.union([ISO_DATE_TIME_SCHEMA$14, z.null()]);
|
|
913
913
|
const agentExecutionReadinessRouteParamsSchema = z.strictObject({ agentProfileId: agentProfileIdSchema });
|
|
914
914
|
const agentExecutionReadinessTargetRuntimeSchema = z.discriminatedUnion("kind", [z.strictObject({ kind: z.literal("current_local_runtime") }), z.strictObject({
|
|
915
915
|
kind: z.literal("openmeld_service_runtime_id"),
|
|
@@ -1153,7 +1153,7 @@ const getAgentExecutionReadinessResponseSchema = z.strictObject({
|
|
|
1153
1153
|
agentWakeRouteRegistration: agentWakeRouteRegistrationSchema,
|
|
1154
1154
|
agentProfileId: agentProfileIdSchema,
|
|
1155
1155
|
agentControllerRef: nullableTrimmedStringSchema$7,
|
|
1156
|
-
generatedAt: ISO_DATE_TIME_SCHEMA$
|
|
1156
|
+
generatedAt: ISO_DATE_TIME_SCHEMA$14,
|
|
1157
1157
|
ownerUserId: nullableTrimmedStringSchema$7,
|
|
1158
1158
|
primaryBinding: agentProfileBindingProjectionSchema.nullable().optional(),
|
|
1159
1159
|
primaryActionPlan: agentExecutionReadinessPrimaryActionPlanSchema,
|
|
@@ -1167,13 +1167,13 @@ const getAgentExecutionReadinessResponseSchema = z.strictObject({
|
|
|
1167
1167
|
const getAgentExecutionReadinessBatchResponseSchema = z.strictObject({ items: z.array(getAgentExecutionReadinessResponseSchema) });
|
|
1168
1168
|
//#endregion
|
|
1169
1169
|
//#region ../../packages/schemas/dist/schemas/http/space-members.js
|
|
1170
|
-
const ISO_DATE_TIME_SCHEMA$
|
|
1170
|
+
const ISO_DATE_TIME_SCHEMA$13 = z.iso.datetime({ offset: true });
|
|
1171
1171
|
const MAX_SPACE_MEMBERS_BATCH_SIZE = 100;
|
|
1172
1172
|
const trimmedNonEmptyStringSchema$13 = z.string().trim().min(1);
|
|
1173
1173
|
const profileIdSchema = openMeldRuntimeProfileIdSchema;
|
|
1174
1174
|
const nullableTrimmedStringSchema$6 = z.union([trimmedNonEmptyStringSchema$13, z.null()]);
|
|
1175
1175
|
const nullableRuntimeProfileIdSchema = z.union([profileIdSchema, z.null()]);
|
|
1176
|
-
const nullableIsoDateTimeSchema$6 = z.union([ISO_DATE_TIME_SCHEMA$
|
|
1176
|
+
const nullableIsoDateTimeSchema$6 = z.union([ISO_DATE_TIME_SCHEMA$13, z.null()]);
|
|
1177
1177
|
const retiredAgentSnapshotKeys = /* @__PURE__ */ new Set([
|
|
1178
1178
|
"agentExecutionReadiness",
|
|
1179
1179
|
"daemonRouteObservation",
|
|
@@ -1231,10 +1231,10 @@ const baseSpaceMemberSnapshotSchema = z.object({
|
|
|
1231
1231
|
status: spaceMemberStatusSchema,
|
|
1232
1232
|
memberSource: spaceMemberSourceSchema,
|
|
1233
1233
|
memberSourceLabel: trimmedNonEmptyStringSchema$13,
|
|
1234
|
-
addedAt: ISO_DATE_TIME_SCHEMA$
|
|
1234
|
+
addedAt: ISO_DATE_TIME_SCHEMA$13,
|
|
1235
1235
|
removedAt: nullableIsoDateTimeSchema$6,
|
|
1236
|
-
createdAt: ISO_DATE_TIME_SCHEMA$
|
|
1237
|
-
updatedAt: ISO_DATE_TIME_SCHEMA$
|
|
1236
|
+
createdAt: ISO_DATE_TIME_SCHEMA$13,
|
|
1237
|
+
updatedAt: ISO_DATE_TIME_SCHEMA$13,
|
|
1238
1238
|
addedByProfileId: nullableRuntimeProfileIdSchema,
|
|
1239
1239
|
addedByOwnerUserId: nullableTrimmedStringSchema$6,
|
|
1240
1240
|
addedByDisplayName: nullableTrimmedStringSchema$6,
|
|
@@ -1294,7 +1294,7 @@ const spaceMembersSummarySchema = z.object({
|
|
|
1294
1294
|
});
|
|
1295
1295
|
const spaceMembersSnapshotSchema = z.object({
|
|
1296
1296
|
spaceId: trimmedNonEmptyStringSchema$13,
|
|
1297
|
-
generatedAt: ISO_DATE_TIME_SCHEMA$
|
|
1297
|
+
generatedAt: ISO_DATE_TIME_SCHEMA$13,
|
|
1298
1298
|
summary: spaceMembersSummarySchema,
|
|
1299
1299
|
humans: z.array(spaceMemberHumanSnapshotSchema),
|
|
1300
1300
|
agents: z.array(spaceMemberAgentSnapshotSchema)
|
|
@@ -1391,7 +1391,7 @@ const spaceIdentityDirectoryEntrySchema = z.strictObject({
|
|
|
1391
1391
|
});
|
|
1392
1392
|
const spaceIdentityDirectorySchema = z.strictObject({
|
|
1393
1393
|
spaceId: trimmedNonEmptyStringSchema$13,
|
|
1394
|
-
generatedAt: ISO_DATE_TIME_SCHEMA$
|
|
1394
|
+
generatedAt: ISO_DATE_TIME_SCHEMA$13,
|
|
1395
1395
|
entries: z.array(spaceIdentityDirectoryEntrySchema)
|
|
1396
1396
|
});
|
|
1397
1397
|
const currentSpaceMemberDirectoryAllowedRelationsSchema = z.strictObject({
|
|
@@ -1445,7 +1445,7 @@ const spaceMemberDirectoryEntrySchema = z.strictObject({
|
|
|
1445
1445
|
});
|
|
1446
1446
|
const spaceMemberDirectorySchema = z.strictObject({
|
|
1447
1447
|
spaceId: trimmedNonEmptyStringSchema$13,
|
|
1448
|
-
generatedAt: ISO_DATE_TIME_SCHEMA$
|
|
1448
|
+
generatedAt: ISO_DATE_TIME_SCHEMA$13,
|
|
1449
1449
|
members: z.array(spaceMemberDirectoryEntrySchema)
|
|
1450
1450
|
});
|
|
1451
1451
|
const postSpaceMembersBodySchema = z.strictObject({ memberProfileIds: z.array(profileIdSchema).min(1).max(MAX_SPACE_MEMBERS_BATCH_SIZE) });
|
|
@@ -3091,7 +3091,7 @@ z.strictObject({ organizationId: boundedIdentifierSchema$6 });
|
|
|
3091
3091
|
const updateFeedbackReportingPolicyBodySchema = z.strictObject({ reportingEnabled: z.boolean() });
|
|
3092
3092
|
//#endregion
|
|
3093
3093
|
//#region ../../packages/schemas/dist/schemas/http/profiles.js
|
|
3094
|
-
const ISO_DATE_TIME_SCHEMA$
|
|
3094
|
+
const ISO_DATE_TIME_SCHEMA$12 = z.iso.datetime({ offset: true });
|
|
3095
3095
|
const ADDITIONAL_HUMAN_PROFILE_CREATION_DISABLED_CODE = "profile.additional_human_profile_creation_disabled";
|
|
3096
3096
|
const ADDITIONAL_HUMAN_PROFILE_CREATION_DISABLED_MESSAGE = "Creating additional Human Profiles is currently unavailable. Use your default Human Profile, or create an Agent Profile.";
|
|
3097
3097
|
const profileErrorStatusSchema = z.union([
|
|
@@ -3129,9 +3129,9 @@ const authProfileViewSchema = z.strictObject({
|
|
|
3129
3129
|
defaultProjectId: z.string().trim().min(1).nullable().optional(),
|
|
3130
3130
|
createdByUserId: z.string().min(1).nullable(),
|
|
3131
3131
|
creatorProfileId: z.string().min(1).nullable(),
|
|
3132
|
-
lastUsedAt: ISO_DATE_TIME_SCHEMA$
|
|
3133
|
-
createdAt: ISO_DATE_TIME_SCHEMA$
|
|
3134
|
-
updatedAt: ISO_DATE_TIME_SCHEMA$
|
|
3132
|
+
lastUsedAt: ISO_DATE_TIME_SCHEMA$12.nullable(),
|
|
3133
|
+
createdAt: ISO_DATE_TIME_SCHEMA$12,
|
|
3134
|
+
updatedAt: ISO_DATE_TIME_SCHEMA$12
|
|
3135
3135
|
}).superRefine((profile, context) => {
|
|
3136
3136
|
if (profile.defaultProjectId === void 0 || profile.profileKind === "agent" && profile.managedRole === null) return;
|
|
3137
3137
|
context.addIssue({
|
|
@@ -3197,11 +3197,11 @@ z.strictObject({
|
|
|
3197
3197
|
});
|
|
3198
3198
|
//#endregion
|
|
3199
3199
|
//#region ../../packages/schemas/dist/schemas/http/organization-directory.js
|
|
3200
|
-
const ISO_DATE_TIME_SCHEMA$
|
|
3200
|
+
const ISO_DATE_TIME_SCHEMA$11 = z.iso.datetime({ offset: true });
|
|
3201
3201
|
const trimmedNonEmptyStringSchema$12 = z.string().trim().min(1);
|
|
3202
3202
|
const nullableTrimmedStringSchema$5 = z.union([trimmedNonEmptyStringSchema$12, z.null()]);
|
|
3203
3203
|
const organizationDirectoryHumanProfileSchema = z.strictObject({
|
|
3204
|
-
lastUsedAt: z.union([ISO_DATE_TIME_SCHEMA$
|
|
3204
|
+
lastUsedAt: z.union([ISO_DATE_TIME_SCHEMA$11, z.null()]).optional(),
|
|
3205
3205
|
profileId: uuidProfileIdSchema,
|
|
3206
3206
|
profileName: trimmedNonEmptyStringSchema$12,
|
|
3207
3207
|
profileHandle: trimmedNonEmptyStringSchema$12,
|
|
@@ -3212,7 +3212,7 @@ const organizationDirectoryMemberSchema = z.strictObject({
|
|
|
3212
3212
|
organizationId: trimmedNonEmptyStringSchema$12,
|
|
3213
3213
|
userId: trimmedNonEmptyStringSchema$12,
|
|
3214
3214
|
role: trimmedNonEmptyStringSchema$12,
|
|
3215
|
-
joinedAt: ISO_DATE_TIME_SCHEMA$
|
|
3215
|
+
joinedAt: ISO_DATE_TIME_SCHEMA$11,
|
|
3216
3216
|
user: z.strictObject({
|
|
3217
3217
|
id: trimmedNonEmptyStringSchema$12,
|
|
3218
3218
|
name: trimmedNonEmptyStringSchema$12,
|
|
@@ -3236,16 +3236,16 @@ const organizationDirectoryAgentProfileSchema = z.strictObject({
|
|
|
3236
3236
|
managedRole: z.union([authProfileManagedRoleSchema, z.null()]),
|
|
3237
3237
|
createdByUserId: nullableTrimmedStringSchema$5,
|
|
3238
3238
|
creatorProfileId: nullableTrimmedStringSchema$5,
|
|
3239
|
-
lastUsedAt: z.union([ISO_DATE_TIME_SCHEMA$
|
|
3240
|
-
createdAt: ISO_DATE_TIME_SCHEMA$
|
|
3241
|
-
updatedAt: ISO_DATE_TIME_SCHEMA$
|
|
3239
|
+
lastUsedAt: z.union([ISO_DATE_TIME_SCHEMA$11, z.null()]),
|
|
3240
|
+
createdAt: ISO_DATE_TIME_SCHEMA$11,
|
|
3241
|
+
updatedAt: ISO_DATE_TIME_SCHEMA$11
|
|
3242
3242
|
}).extend({
|
|
3243
3243
|
isCenterAgent: z.boolean().optional(),
|
|
3244
3244
|
readiness: getAgentExecutionReadinessResponseSchema
|
|
3245
3245
|
});
|
|
3246
3246
|
const organizationDirectoryResponseSchema = z.strictObject({
|
|
3247
3247
|
organizationId: trimmedNonEmptyStringSchema$12,
|
|
3248
|
-
generatedAt: ISO_DATE_TIME_SCHEMA$
|
|
3248
|
+
generatedAt: ISO_DATE_TIME_SCHEMA$11,
|
|
3249
3249
|
members: z.array(organizationDirectoryMemberSchema),
|
|
3250
3250
|
agentProfiles: z.array(organizationDirectoryAgentProfileSchema)
|
|
3251
3251
|
});
|
|
@@ -3706,9 +3706,9 @@ const patchSpaceMetaBodySchema = z.strictObject({
|
|
|
3706
3706
|
}));
|
|
3707
3707
|
//#endregion
|
|
3708
3708
|
//#region ../../packages/schemas/dist/schemas/http/organization-space-directory.js
|
|
3709
|
-
const ISO_DATE_TIME_SCHEMA$
|
|
3709
|
+
const ISO_DATE_TIME_SCHEMA$10 = z.iso.datetime({ offset: true });
|
|
3710
3710
|
const trimmedNonEmptyStringSchema$10 = z.string().trim().min(1);
|
|
3711
|
-
const nullableIsoDateTimeSchema$5 = z.union([ISO_DATE_TIME_SCHEMA$
|
|
3711
|
+
const nullableIsoDateTimeSchema$5 = z.union([ISO_DATE_TIME_SCHEMA$10, z.null()]);
|
|
3712
3712
|
const organizationSpaceDirectoryItemSchema = z.strictObject({
|
|
3713
3713
|
spaceId: trimmedNonEmptyStringSchema$10,
|
|
3714
3714
|
name: trimmedNonEmptyStringSchema$10,
|
|
@@ -3718,17 +3718,17 @@ const organizationSpaceDirectoryItemSchema = z.strictObject({
|
|
|
3718
3718
|
lastJoinedAt: nullableIsoDateTimeSchema$5,
|
|
3719
3719
|
spaceCreatedAt: nullableIsoDateTimeSchema$5,
|
|
3720
3720
|
spaceUpdatedAt: nullableIsoDateTimeSchema$5,
|
|
3721
|
-
updatedAt: ISO_DATE_TIME_SCHEMA$
|
|
3721
|
+
updatedAt: ISO_DATE_TIME_SCHEMA$10
|
|
3722
3722
|
});
|
|
3723
3723
|
const organizationSpaceDirectoryResponseSchema = z.strictObject({
|
|
3724
3724
|
organizationId: trimmedNonEmptyStringSchema$10,
|
|
3725
|
-
generatedAt: ISO_DATE_TIME_SCHEMA$
|
|
3725
|
+
generatedAt: ISO_DATE_TIME_SCHEMA$10,
|
|
3726
3726
|
spaces: z.array(organizationSpaceDirectoryItemSchema)
|
|
3727
3727
|
});
|
|
3728
3728
|
const organizationSpaceDirectoryWithMemberCountsItemSchema = organizationSpaceDirectoryItemSchema.extend({ activeMemberCount: z.number().int().nonnegative().nullable() });
|
|
3729
3729
|
const organizationSpaceDirectoryWithMemberCountsResponseSchema = z.strictObject({
|
|
3730
3730
|
organizationId: trimmedNonEmptyStringSchema$10,
|
|
3731
|
-
generatedAt: ISO_DATE_TIME_SCHEMA$
|
|
3731
|
+
generatedAt: ISO_DATE_TIME_SCHEMA$10,
|
|
3732
3732
|
spaces: z.array(organizationSpaceDirectoryWithMemberCountsItemSchema)
|
|
3733
3733
|
});
|
|
3734
3734
|
//#endregion
|
|
@@ -3982,7 +3982,7 @@ const CENTER_AGENT_CONTEXT_ERROR_CODES = [
|
|
|
3982
3982
|
"center_agent.context_load_selection_duplicate",
|
|
3983
3983
|
"center_agent.context_load_selection_invalid"
|
|
3984
3984
|
];
|
|
3985
|
-
const ISO_DATE_TIME_SCHEMA$
|
|
3985
|
+
const ISO_DATE_TIME_SCHEMA$9 = z.iso.datetime({ offset: true });
|
|
3986
3986
|
const trimmedNonEmptyStringSchema$9 = z.string().trim().min(1);
|
|
3987
3987
|
const contentHashSchema$1 = z.string().regex(/^sha256:[0-9a-f]{64}$/u);
|
|
3988
3988
|
const centerAgentContextManifestIdSchema = z.string().regex(/^center_agent_context_manifest_[0-9a-f-]{36}$/u);
|
|
@@ -4022,7 +4022,7 @@ const centerAgentContextManifestEntrySchema = z.strictObject({
|
|
|
4022
4022
|
type: z.literal("text")
|
|
4023
4023
|
}),
|
|
4024
4024
|
materializedContentHash: contentHashSchema$1,
|
|
4025
|
-
occurredAt: ISO_DATE_TIME_SCHEMA$
|
|
4025
|
+
occurredAt: ISO_DATE_TIME_SCHEMA$9,
|
|
4026
4026
|
redactions: z.array(z.enum([
|
|
4027
4027
|
"attachments_not_in_messages_view",
|
|
4028
4028
|
"local_session_locator_omitted",
|
|
@@ -4072,7 +4072,7 @@ const createCenterAgentContextManifestResponseSchema = z.strictObject({
|
|
|
4072
4072
|
hasMore: z.boolean()
|
|
4073
4073
|
}),
|
|
4074
4074
|
entries: z.array(centerAgentContextManifestEntrySchema),
|
|
4075
|
-
generatedAt: ISO_DATE_TIME_SCHEMA$
|
|
4075
|
+
generatedAt: ISO_DATE_TIME_SCHEMA$9,
|
|
4076
4076
|
manifestId: centerAgentContextManifestIdSchema,
|
|
4077
4077
|
provenance: z.strictObject({
|
|
4078
4078
|
auditEntryId: trimmedNonEmptyStringSchema$9,
|
|
@@ -4104,7 +4104,7 @@ const createCenterAgentContextLoadReceiptResponseSchema = z.strictObject({
|
|
|
4104
4104
|
selectedEntries: z.array(centerAgentContextLoadSelectedEntrySchema).min(1).max(50),
|
|
4105
4105
|
status: z.literal("loaded")
|
|
4106
4106
|
}),
|
|
4107
|
-
recordedAt: ISO_DATE_TIME_SCHEMA$
|
|
4107
|
+
recordedAt: ISO_DATE_TIME_SCHEMA$9,
|
|
4108
4108
|
schemaVersion: z.literal(CENTER_AGENT_CONTEXT_LOAD_RECEIPT_VERSION)
|
|
4109
4109
|
});
|
|
4110
4110
|
//#endregion
|
|
@@ -5070,7 +5070,7 @@ const identityImageMimeTypeSchema = z.enum([
|
|
|
5070
5070
|
]);
|
|
5071
5071
|
//#endregion
|
|
5072
5072
|
//#region ../../packages/schemas/dist/schemas/http/profile-space-history.js
|
|
5073
|
-
const ISO_DATE_TIME_SCHEMA$
|
|
5073
|
+
const ISO_DATE_TIME_SCHEMA$8 = z.iso.datetime({ offset: true });
|
|
5074
5074
|
const GATEWAY_HOST_MAX_LENGTH = 255;
|
|
5075
5075
|
const PROFILE_SPACE_HISTORY_MAX_LIMIT = 500;
|
|
5076
5076
|
const NON_NEGATIVE_INT_RE$2 = /^\d+$/;
|
|
@@ -5078,7 +5078,7 @@ const GATEWAY_HOST_PATH_CHARS_RE = /[/?#]/;
|
|
|
5078
5078
|
const trimmedNonEmptyStringSchema$6 = z.string().trim().min(1);
|
|
5079
5079
|
const nullableTrimmedStringSchema$4 = z.union([trimmedNonEmptyStringSchema$6, z.null()]);
|
|
5080
5080
|
const nullableNonNegativeIntSchema$1 = z.union([z.number().int().min(0), z.null()]);
|
|
5081
|
-
const nullableIsoDateTimeSchema$4 = z.union([ISO_DATE_TIME_SCHEMA$
|
|
5081
|
+
const nullableIsoDateTimeSchema$4 = z.union([ISO_DATE_TIME_SCHEMA$8, z.null()]);
|
|
5082
5082
|
const profileSpaceHistoryGatewayHostSchema = z.string().transform((value, ctx) => {
|
|
5083
5083
|
const normalized = value.trim().toLowerCase();
|
|
5084
5084
|
if (normalized.length === 0) {
|
|
@@ -5155,12 +5155,12 @@ const profileSpaceHistoryRecordSchema = z.strictObject({
|
|
|
5155
5155
|
creatorKind: z.union([profileSpaceCreatorKindSchema, z.null()]),
|
|
5156
5156
|
spaceCreatedAt: nullableIsoDateTimeSchema$4,
|
|
5157
5157
|
spaceUpdatedAt: nullableIsoDateTimeSchema$4,
|
|
5158
|
-
lastJoinedAt: ISO_DATE_TIME_SCHEMA$
|
|
5158
|
+
lastJoinedAt: ISO_DATE_TIME_SCHEMA$8,
|
|
5159
5159
|
lastSeenTs: nullableNonNegativeIntSchema$1,
|
|
5160
5160
|
pinnedAt: nullableIsoDateTimeSchema$4,
|
|
5161
5161
|
status: profileSpaceHistoryStatusSchema,
|
|
5162
|
-
createdAt: ISO_DATE_TIME_SCHEMA$
|
|
5163
|
-
updatedAt: ISO_DATE_TIME_SCHEMA$
|
|
5162
|
+
createdAt: ISO_DATE_TIME_SCHEMA$8,
|
|
5163
|
+
updatedAt: ISO_DATE_TIME_SCHEMA$8
|
|
5164
5164
|
});
|
|
5165
5165
|
z.strictObject({
|
|
5166
5166
|
gatewayHost: profileSpaceHistoryGatewayHostSchema,
|
|
@@ -5185,7 +5185,7 @@ z.strictObject({
|
|
|
5185
5185
|
creatorKind: z.union([profileSpaceCreatorKindSchema, z.null()]).optional(),
|
|
5186
5186
|
spaceCreatedAt: nullableIsoDateTimeSchema$4.optional(),
|
|
5187
5187
|
spaceUpdatedAt: nullableIsoDateTimeSchema$4.optional(),
|
|
5188
|
-
lastJoinedAt: ISO_DATE_TIME_SCHEMA$
|
|
5188
|
+
lastJoinedAt: ISO_DATE_TIME_SCHEMA$8.optional(),
|
|
5189
5189
|
lastSeenTs: nullableNonNegativeIntSchema$1.optional(),
|
|
5190
5190
|
pinnedAt: nullableIsoDateTimeSchema$4.optional(),
|
|
5191
5191
|
status: profileSpaceHistoryStatusSchema.optional()
|
|
@@ -5204,15 +5204,15 @@ const patchProfileSpaceHistoryStatusResponseSchema = z.strictObject({
|
|
|
5204
5204
|
gatewayHost: profileSpaceHistoryGatewayHostSchema,
|
|
5205
5205
|
spaceId: trimmedNonEmptyStringSchema$6,
|
|
5206
5206
|
status: profileSpaceHistoryStatusSchema,
|
|
5207
|
-
updatedAt: ISO_DATE_TIME_SCHEMA$
|
|
5207
|
+
updatedAt: ISO_DATE_TIME_SCHEMA$8
|
|
5208
5208
|
});
|
|
5209
5209
|
//#endregion
|
|
5210
5210
|
//#region ../../packages/schemas/dist/schemas/http/account-space-index.js
|
|
5211
|
-
const ISO_DATE_TIME_SCHEMA$
|
|
5211
|
+
const ISO_DATE_TIME_SCHEMA$7 = z.iso.datetime({ offset: true });
|
|
5212
5212
|
const trimmedNonEmptyStringSchema$5 = z.string().trim().min(1);
|
|
5213
5213
|
const nullableTrimmedStringSchema$3 = z.union([trimmedNonEmptyStringSchema$5, z.null()]);
|
|
5214
5214
|
const nullableNonNegativeIntSchema = z.union([z.number().int().min(0), z.null()]);
|
|
5215
|
-
const nullableIsoDateTimeSchema$3 = z.union([ISO_DATE_TIME_SCHEMA$
|
|
5215
|
+
const nullableIsoDateTimeSchema$3 = z.union([ISO_DATE_TIME_SCHEMA$7, z.null()]);
|
|
5216
5216
|
const ACCOUNT_SPACE_INDEX_MAX_LIMIT = 500;
|
|
5217
5217
|
const NON_NEGATIVE_INT_RE$1 = /^\d+$/;
|
|
5218
5218
|
const accountSpaceIndexScopeSchema = z.enum(["account", "profile"]);
|
|
@@ -5240,7 +5240,7 @@ z.strictObject({
|
|
|
5240
5240
|
selectedProfileId: trimmedNonEmptyStringSchema$5
|
|
5241
5241
|
});
|
|
5242
5242
|
const accountSpaceIndexJoinedProfileSchema = z.strictObject({
|
|
5243
|
-
lastJoinedAt: ISO_DATE_TIME_SCHEMA$
|
|
5243
|
+
lastJoinedAt: ISO_DATE_TIME_SCHEMA$7,
|
|
5244
5244
|
pinnedAt: nullableIsoDateTimeSchema$3,
|
|
5245
5245
|
profileId: trimmedNonEmptyStringSchema$5,
|
|
5246
5246
|
profileName: trimmedNonEmptyStringSchema$5
|
|
@@ -5252,7 +5252,7 @@ const accountSpaceIndexItemSchema = z.strictObject({
|
|
|
5252
5252
|
creatorProfileName: nullableTrimmedStringSchema$3,
|
|
5253
5253
|
gatewayHost: profileSpaceHistoryGatewayHostSchema,
|
|
5254
5254
|
joinedProfiles: z.array(accountSpaceIndexJoinedProfileSchema),
|
|
5255
|
-
lastJoinedAt: ISO_DATE_TIME_SCHEMA$
|
|
5255
|
+
lastJoinedAt: ISO_DATE_TIME_SCHEMA$7,
|
|
5256
5256
|
lastSeenTs: nullableNonNegativeIntSchema,
|
|
5257
5257
|
openProfileId: trimmedNonEmptyStringSchema$5,
|
|
5258
5258
|
openProfileName: trimmedNonEmptyStringSchema$5,
|
|
@@ -5269,11 +5269,11 @@ const accountSpaceIndexItemSchema = z.strictObject({
|
|
|
5269
5269
|
spacePurpose: nullableTrimmedStringSchema$3.optional(),
|
|
5270
5270
|
spaceUpdatedAt: nullableIsoDateTimeSchema$3,
|
|
5271
5271
|
status: trimmedNonEmptyStringSchema$5,
|
|
5272
|
-
updatedAt: ISO_DATE_TIME_SCHEMA$
|
|
5272
|
+
updatedAt: ISO_DATE_TIME_SCHEMA$7,
|
|
5273
5273
|
visibility: spaceOrganizationVisibilitySchema
|
|
5274
5274
|
});
|
|
5275
5275
|
const accountSpaceIndexDeletedItemSchema = z.strictObject({
|
|
5276
|
-
deletedAt: ISO_DATE_TIME_SCHEMA$
|
|
5276
|
+
deletedAt: ISO_DATE_TIME_SCHEMA$7,
|
|
5277
5277
|
deletedByProfileName: nullableTrimmedStringSchema$3,
|
|
5278
5278
|
spaceId: trimmedNonEmptyStringSchema$5,
|
|
5279
5279
|
spaceName: nullableTrimmedStringSchema$3
|
|
@@ -6097,7 +6097,7 @@ const agentControllerInterfaceSnapshotSchema = z.strictObject({
|
|
|
6097
6097
|
});
|
|
6098
6098
|
//#endregion
|
|
6099
6099
|
//#region ../../packages/schemas/dist/schemas/http/local-runtimes.js
|
|
6100
|
-
const ISO_DATE_TIME_SCHEMA$
|
|
6100
|
+
const ISO_DATE_TIME_SCHEMA$6 = z.iso.datetime({ offset: true });
|
|
6101
6101
|
const reasonCodeSchema$2 = z.string().trim().min(1).max(256);
|
|
6102
6102
|
const localRuntimeDisplayNameSourceSchema = z.enum([
|
|
6103
6103
|
"user",
|
|
@@ -6135,6 +6135,7 @@ const localRuntimeExecutionTargetCapabilitySchema = z.strictObject({
|
|
|
6135
6135
|
});
|
|
6136
6136
|
});
|
|
6137
6137
|
const localRuntimeLocalAgentControlSchema = z.strictObject({
|
|
6138
|
+
manageInstallations: z.boolean().optional(),
|
|
6138
6139
|
refreshCatalog: z.boolean(),
|
|
6139
6140
|
setEnabled: z.boolean(),
|
|
6140
6141
|
setProfileWorkspace: z.boolean().optional()
|
|
@@ -6220,6 +6221,13 @@ const localRuntimesResponseSchema = z.strictObject({
|
|
|
6220
6221
|
const setLocalRuntimeDisplayNameBodySchema = z.strictObject({ displayName: z.string().trim().min(1).max(80).nullable() });
|
|
6221
6222
|
z.strictObject({ agentId: z.string().trim().min(1).max(256) });
|
|
6222
6223
|
const setCurrentLocalAgentEnabledBodySchema = z.strictObject({ enabled: z.boolean() });
|
|
6224
|
+
z.strictObject({ agentId: z.string().trim().min(1).max(256) });
|
|
6225
|
+
const selectCurrentLocalAgentInstallationBodySchema = z.strictObject({ installationId: z.string().trim().min(1).max(256) });
|
|
6226
|
+
const currentLocalAgentInstallationsResponseSchema = z.strictObject({
|
|
6227
|
+
agentId: z.string().trim().min(1).max(256),
|
|
6228
|
+
installations: z.array(localAgentInstallationOptionSchema),
|
|
6229
|
+
selectedInstallationId: z.string().trim().min(1).max(256).nullable()
|
|
6230
|
+
});
|
|
6223
6231
|
z.strictObject({ agentProfileId: agentProfileIdSchema });
|
|
6224
6232
|
const setCurrentAgentProfileWorkspaceBodySchema = z.strictObject({
|
|
6225
6233
|
workspaceMode: profileWorkspaceModeSchema,
|
|
@@ -6248,6 +6256,16 @@ const setCurrentLocalAgentEnabledResponseSchema = z.strictObject({
|
|
|
6248
6256
|
]),
|
|
6249
6257
|
status: z.enum(["updated", "unchanged"])
|
|
6250
6258
|
});
|
|
6259
|
+
const selectCurrentLocalAgentInstallationResponseSchema = currentLocalAgentInstallationsResponseSchema.extend({
|
|
6260
|
+
changed: z.boolean(),
|
|
6261
|
+
localRuntimes: localRuntimesResponseSchema,
|
|
6262
|
+
reportSyncStatus: z.enum([
|
|
6263
|
+
"submitted",
|
|
6264
|
+
"skipped",
|
|
6265
|
+
"failed"
|
|
6266
|
+
]),
|
|
6267
|
+
status: z.enum(["updated", "unchanged"])
|
|
6268
|
+
});
|
|
6251
6269
|
const setCurrentAgentProfileWorkspaceResponseSchema = z.strictObject({
|
|
6252
6270
|
agentProfileId: agentProfileIdSchema,
|
|
6253
6271
|
status: z.literal("updated"),
|
|
@@ -6284,7 +6302,7 @@ const localRuntimeReplyReadinessNextActionSchema = z.enum([
|
|
|
6284
6302
|
]);
|
|
6285
6303
|
const currentLocalRuntimeReplyReadinessResponseSchema = z.strictObject({
|
|
6286
6304
|
canReplyFromThisComputer: z.boolean(),
|
|
6287
|
-
generatedAt: ISO_DATE_TIME_SCHEMA$
|
|
6305
|
+
generatedAt: ISO_DATE_TIME_SCHEMA$6,
|
|
6288
6306
|
message: z.string().trim().min(1).max(500),
|
|
6289
6307
|
nextAction: localRuntimeReplyReadinessNextActionSchema,
|
|
6290
6308
|
primaryBlocker: localRuntimeReplyReadinessPrimaryBlockerSchema,
|
|
@@ -7652,7 +7670,7 @@ function normalizeOptionalClientMessageId(value) {
|
|
|
7652
7670
|
}
|
|
7653
7671
|
//#endregion
|
|
7654
7672
|
//#region ../../packages/schemas/dist/schemas/http/space-dispatch-trace.js
|
|
7655
|
-
const ISO_DATE_TIME_SCHEMA$
|
|
7673
|
+
const ISO_DATE_TIME_SCHEMA$5 = z.iso.datetime({ offset: true });
|
|
7656
7674
|
const trimmedNonEmptyStringSchema$3 = z.string().trim().min(1);
|
|
7657
7675
|
const SPACE_DISPATCH_TRACE_TIMEOUT_POLICY_MAX_MS = 6048e5;
|
|
7658
7676
|
const SPACE_DISPATCH_TRACE_PROMPT_LENGTH_MAX = 1e6;
|
|
@@ -7661,7 +7679,7 @@ const SPACE_DISPATCH_TRACE_INVALID_OUTPUT_PREVIEW_MAX_CHARS = 180;
|
|
|
7661
7679
|
const boundedNullableTrimmedStringSchema = (maxLength) => z.union([trimmedNonEmptyStringSchema$3.max(maxLength), z.null()]);
|
|
7662
7680
|
const nullableTrimmedStringSchema$2 = boundedNullableTrimmedStringSchema(4096);
|
|
7663
7681
|
const nullableSignalTextSchema = boundedNullableTrimmedStringSchema(MAX_TEXT_LENGTH$1);
|
|
7664
|
-
const nullableIsoDateTimeSchema$2 = z.union([ISO_DATE_TIME_SCHEMA$
|
|
7682
|
+
const nullableIsoDateTimeSchema$2 = z.union([ISO_DATE_TIME_SCHEMA$5, z.null()]);
|
|
7665
7683
|
const nullableIntegerSchema = z.union([z.int(), z.null()]);
|
|
7666
7684
|
const boundedNullableNonNegativeIntegerSchema = (maxValue) => z.union([z.int().min(0).max(maxValue), z.null()]);
|
|
7667
7685
|
const nullableProfileKindSchema = z.union([z.enum([
|
|
@@ -7706,8 +7724,8 @@ const spaceDispatchTraceDispatchSchema = z.strictObject({
|
|
|
7706
7724
|
owner: z.union([dispatchTraceOwnerSchema, z.null()]),
|
|
7707
7725
|
targetProfileId: trimmedNonEmptyStringSchema$3,
|
|
7708
7726
|
status: spaceDispatchTraceDispatchStatusSchema,
|
|
7709
|
-
firstSeenAt: ISO_DATE_TIME_SCHEMA$
|
|
7710
|
-
lastAttemptAt: ISO_DATE_TIME_SCHEMA$
|
|
7727
|
+
firstSeenAt: ISO_DATE_TIME_SCHEMA$5,
|
|
7728
|
+
lastAttemptAt: ISO_DATE_TIME_SCHEMA$5,
|
|
7711
7729
|
attemptCount: z.int().min(0),
|
|
7712
7730
|
latestAttemptId: nullableTrimmedStringSchema$2
|
|
7713
7731
|
});
|
|
@@ -7721,7 +7739,7 @@ const spaceDispatchTraceLatestAttemptSchema = z.strictObject({
|
|
|
7721
7739
|
daemonSessionId: nullableTrimmedStringSchema$2,
|
|
7722
7740
|
connectionGeneration: nullableIntegerSchema,
|
|
7723
7741
|
leaseEpoch: nullableIntegerSchema,
|
|
7724
|
-
createdAt: ISO_DATE_TIME_SCHEMA$
|
|
7742
|
+
createdAt: ISO_DATE_TIME_SCHEMA$5,
|
|
7725
7743
|
startedAt: nullableIsoDateTimeSchema$2,
|
|
7726
7744
|
finishedAt: nullableIsoDateTimeSchema$2,
|
|
7727
7745
|
errorCode: nullableTrimmedStringSchema$2,
|
|
@@ -7769,8 +7787,8 @@ const spaceDispatchTraceNativeDeliverySchema = z.strictObject({
|
|
|
7769
7787
|
]),
|
|
7770
7788
|
bindingUpdatedAt: nullableIsoDateTimeSchema$2
|
|
7771
7789
|
}),
|
|
7772
|
-
createdAt: ISO_DATE_TIME_SCHEMA$
|
|
7773
|
-
updatedAt: ISO_DATE_TIME_SCHEMA$
|
|
7790
|
+
createdAt: ISO_DATE_TIME_SCHEMA$5,
|
|
7791
|
+
updatedAt: ISO_DATE_TIME_SCHEMA$5
|
|
7774
7792
|
});
|
|
7775
7793
|
const spaceDispatchTraceOpsDecisionSchema = z.strictObject({
|
|
7776
7794
|
factSource: z.literal("ops_decision"),
|
|
@@ -7778,7 +7796,7 @@ const spaceDispatchTraceOpsDecisionSchema = z.strictObject({
|
|
|
7778
7796
|
decisionCode: trimmedNonEmptyStringSchema$3,
|
|
7779
7797
|
decidedBy: trimmedNonEmptyStringSchema$3,
|
|
7780
7798
|
source: trimmedNonEmptyStringSchema$3,
|
|
7781
|
-
decidedAt: ISO_DATE_TIME_SCHEMA$
|
|
7799
|
+
decidedAt: ISO_DATE_TIME_SCHEMA$5,
|
|
7782
7800
|
correlationId: nullableTrimmedStringSchema$2,
|
|
7783
7801
|
expectedRecoveryCriteria: nullableTrimmedStringSchema$2
|
|
7784
7802
|
});
|
|
@@ -7789,7 +7807,7 @@ const spaceDispatchTraceReplySignalSchema = z.strictObject({
|
|
|
7789
7807
|
profileKind: nullableProfileKindSchema,
|
|
7790
7808
|
profileName: nullableTrimmedStringSchema$2,
|
|
7791
7809
|
text: trimmedNonEmptyStringSchema$3,
|
|
7792
|
-
createdAt: ISO_DATE_TIME_SCHEMA$
|
|
7810
|
+
createdAt: ISO_DATE_TIME_SCHEMA$5
|
|
7793
7811
|
});
|
|
7794
7812
|
const spaceDispatchTraceFinalVisibleMessageFactSourceSchema = z.enum(["space_signal_by_published_signal_id", "space_final_reply_claim"]);
|
|
7795
7813
|
const spaceDispatchTraceFinalVisibleMessageSchema = z.strictObject({
|
|
@@ -7814,7 +7832,7 @@ const spaceDispatchTraceFinalVisibleMessageSchema = z.strictObject({
|
|
|
7814
7832
|
"wake_stopped"
|
|
7815
7833
|
]), z.null()]),
|
|
7816
7834
|
statusType: nullableTrimmedStringSchema$2,
|
|
7817
|
-
createdAt: ISO_DATE_TIME_SCHEMA$
|
|
7835
|
+
createdAt: ISO_DATE_TIME_SCHEMA$5
|
|
7818
7836
|
});
|
|
7819
7837
|
const spaceDispatchTraceFinalVisibleMessageLinkageStatusSchema = z.enum([
|
|
7820
7838
|
"matched_published_signal",
|
|
@@ -7888,9 +7906,9 @@ const spaceDispatchTraceClaimLeaseSchema = z.strictObject({
|
|
|
7888
7906
|
"superseded"
|
|
7889
7907
|
]),
|
|
7890
7908
|
claimTraceReason: nullableTrimmedStringSchema$2,
|
|
7891
|
-
createdAt: ISO_DATE_TIME_SCHEMA$
|
|
7892
|
-
updatedAt: ISO_DATE_TIME_SCHEMA$
|
|
7893
|
-
expiresAt: ISO_DATE_TIME_SCHEMA$
|
|
7909
|
+
createdAt: ISO_DATE_TIME_SCHEMA$5,
|
|
7910
|
+
updatedAt: ISO_DATE_TIME_SCHEMA$5,
|
|
7911
|
+
expiresAt: ISO_DATE_TIME_SCHEMA$5
|
|
7894
7912
|
});
|
|
7895
7913
|
const spaceDispatchTraceResultSchema = z.strictObject({
|
|
7896
7914
|
factSource: z.literal("dispatch_result"),
|
|
@@ -7900,7 +7918,7 @@ const spaceDispatchTraceResultSchema = z.strictObject({
|
|
|
7900
7918
|
publicOutcome: trimmedNonEmptyStringSchema$3,
|
|
7901
7919
|
publishedSignalId: nullableTrimmedStringSchema$2,
|
|
7902
7920
|
statusType: nullableTrimmedStringSchema$2,
|
|
7903
|
-
createdAt: ISO_DATE_TIME_SCHEMA$
|
|
7921
|
+
createdAt: ISO_DATE_TIME_SCHEMA$5
|
|
7904
7922
|
});
|
|
7905
7923
|
const spaceDispatchTraceResultInboxPublishStateSchema = z.enum([
|
|
7906
7924
|
"result_accepted",
|
|
@@ -7925,8 +7943,8 @@ const spaceDispatchTraceResultInboxSchema = z.strictObject({
|
|
|
7925
7943
|
publishState: spaceDispatchTraceResultInboxPublishStateSchema,
|
|
7926
7944
|
publishedSignalId: nullableTrimmedStringSchema$2,
|
|
7927
7945
|
publicationErrorCode: nullableTrimmedStringSchema$2,
|
|
7928
|
-
acceptedAt: ISO_DATE_TIME_SCHEMA$
|
|
7929
|
-
updatedAt: ISO_DATE_TIME_SCHEMA$
|
|
7946
|
+
acceptedAt: ISO_DATE_TIME_SCHEMA$5,
|
|
7947
|
+
updatedAt: ISO_DATE_TIME_SCHEMA$5
|
|
7930
7948
|
});
|
|
7931
7949
|
const spaceDispatchTraceStreamingSchema = z.strictObject({
|
|
7932
7950
|
streamingMode: z.enum(["final", "stream"]),
|
|
@@ -7985,7 +8003,7 @@ const spaceDispatchTraceRuntimeCoordinatorExecutionSchema = runtimeCoordinatorEx
|
|
|
7985
8003
|
const spaceDispatchTraceRuntimeCoordinatorCreationDiagnosticSchema = runtimeCoordinatorExecutionCreationDiagnosticSchema.extend({ factSource: z.literal("runtime_coordinator_projection") });
|
|
7986
8004
|
const spaceDispatchTraceRuntimeCoordinatorEventSchema = runtimeCoordinatorExecutionEventSchema.extend({ factSource: z.literal("runtime_coordinator_projection") });
|
|
7987
8005
|
const spaceDispatchTraceRuntimeCoordinatorHeadNoExecutionDecisionSchema = z.strictObject({
|
|
7988
|
-
decidedAt: ISO_DATE_TIME_SCHEMA$
|
|
8006
|
+
decidedAt: ISO_DATE_TIME_SCHEMA$5,
|
|
7989
8007
|
publicationCategory: runtimeTransportRuntimeCoordinatorHeadNoExecutionPublicationCategorySchema,
|
|
7990
8008
|
reasonCode: runtimeTransportRuntimeCoordinatorHeadNoExecutionReasonCodeSchema,
|
|
7991
8009
|
source: runtimeTransportRuntimeCoordinatorHeadNoExecutionDecisionSourceSchema,
|
|
@@ -7995,14 +8013,14 @@ const spaceDispatchTraceRuntimeCoordinatorHeadPublicationIntentSchema = z.union(
|
|
|
7995
8013
|
intentId: trimmedNonEmptyStringSchema$3.max(4096),
|
|
7996
8014
|
kind: z.literal("no_execution_failure"),
|
|
7997
8015
|
publicationCategory: runtimeTransportRuntimeCoordinatorHeadNoExecutionPublicationCategorySchema,
|
|
7998
|
-
readyAt: ISO_DATE_TIME_SCHEMA$
|
|
8016
|
+
readyAt: ISO_DATE_TIME_SCHEMA$5,
|
|
7999
8017
|
reasonCode: runtimeTransportRuntimeCoordinatorHeadNoExecutionReasonCodeSchema,
|
|
8000
8018
|
status: z.literal("ready_for_phase_6"),
|
|
8001
8019
|
userRecoveryAction: runtimeTransportRuntimeCoordinatorHeadNoExecutionRecoveryActionSchema
|
|
8002
8020
|
}), z.strictObject({
|
|
8003
8021
|
intentId: trimmedNonEmptyStringSchema$3.max(4096),
|
|
8004
8022
|
kind: z.literal("stopped_notice"),
|
|
8005
|
-
readyAt: ISO_DATE_TIME_SCHEMA$
|
|
8023
|
+
readyAt: ISO_DATE_TIME_SCHEMA$5,
|
|
8006
8024
|
reasonCode: z.literal("runtime_coordinator.pre_agent_stop_requested"),
|
|
8007
8025
|
status: z.literal("ready_for_phase_6")
|
|
8008
8026
|
})]);
|
|
@@ -8014,7 +8032,7 @@ const spaceDispatchTraceRuntimeCoordinatorHeadPublicationOutcomeSchema = z.stric
|
|
|
8014
8032
|
"success_reply",
|
|
8015
8033
|
"unknown"
|
|
8016
8034
|
]).nullable(),
|
|
8017
|
-
observedAt: ISO_DATE_TIME_SCHEMA$
|
|
8035
|
+
observedAt: ISO_DATE_TIME_SCHEMA$5,
|
|
8018
8036
|
publicationErrorCode: z.string().trim().min(1).max(160).nullable(),
|
|
8019
8037
|
publishedSignalId: trimmedNonEmptyStringSchema$3.nullable(),
|
|
8020
8038
|
status: z.enum([
|
|
@@ -8025,8 +8043,8 @@ const spaceDispatchTraceRuntimeCoordinatorHeadPublicationOutcomeSchema = z.stric
|
|
|
8025
8043
|
});
|
|
8026
8044
|
const spaceDispatchTraceRuntimeCoordinatorHeadPublicationExhaustionSchema = z.strictObject({
|
|
8027
8045
|
attemptCount: z.int().positive(),
|
|
8028
|
-
exhaustedAt: ISO_DATE_TIME_SCHEMA$
|
|
8029
|
-
lastFailureAt: ISO_DATE_TIME_SCHEMA$
|
|
8046
|
+
exhaustedAt: ISO_DATE_TIME_SCHEMA$5,
|
|
8047
|
+
lastFailureAt: ISO_DATE_TIME_SCHEMA$5,
|
|
8030
8048
|
lastReasonCode: z.string().trim().min(1).max(160),
|
|
8031
8049
|
reasonCode: z.literal("runtime_coordinator.publication_retry_exhausted"),
|
|
8032
8050
|
status: z.literal("publication_exhausted")
|
|
@@ -8036,22 +8054,22 @@ const spaceDispatchTraceRuntimeCoordinatorHeadTargetDisplaySchema = z.strictObje
|
|
|
8036
8054
|
targetProfileName: z.string().min(1).max(64).nullable()
|
|
8037
8055
|
});
|
|
8038
8056
|
const spaceDispatchTraceRuntimeCoordinatorHeadWaitingBoundarySchema = z.strictObject({
|
|
8039
|
-
deadlineAt: ISO_DATE_TIME_SCHEMA$
|
|
8057
|
+
deadlineAt: ISO_DATE_TIME_SCHEMA$5,
|
|
8040
8058
|
deadlineOutcome: z.literal("publication_intent_ready"),
|
|
8041
|
-
observedAt: ISO_DATE_TIME_SCHEMA$
|
|
8059
|
+
observedAt: ISO_DATE_TIME_SCHEMA$5,
|
|
8042
8060
|
reasonCode: runtimeTransportRuntimeCoordinatorHeadWaitingReasonCodeSchema,
|
|
8043
|
-
softDeadlineAt: ISO_DATE_TIME_SCHEMA$
|
|
8061
|
+
softDeadlineAt: ISO_DATE_TIME_SCHEMA$5,
|
|
8044
8062
|
trigger: z.literal("openmeld_service_route_connected"),
|
|
8045
8063
|
triggerOwner: z.literal("runtime_coordinator"),
|
|
8046
8064
|
userRecoveryAction: runtimeTransportRuntimeCoordinatorHeadWaitingRecoveryActionSchema,
|
|
8047
8065
|
userVisibleState: z.literal("waiting_for_openmeld_service"),
|
|
8048
8066
|
waitingCategory: runtimeTransportRuntimeCoordinatorHeadWaitingCategorySchema,
|
|
8049
8067
|
waitingFor: z.literal("openmeld_service_route_connection"),
|
|
8050
|
-
waitingSince: ISO_DATE_TIME_SCHEMA$
|
|
8068
|
+
waitingSince: ISO_DATE_TIME_SCHEMA$5
|
|
8051
8069
|
});
|
|
8052
8070
|
const spaceDispatchTraceRuntimeCoordinatorHeadLifecycleSchema = z.discriminatedUnion("readStatus", [
|
|
8053
8071
|
z.strictObject({
|
|
8054
|
-
createdAt: ISO_DATE_TIME_SCHEMA$
|
|
8072
|
+
createdAt: ISO_DATE_TIME_SCHEMA$5,
|
|
8055
8073
|
duplicateDispatchCount: z.int().min(0),
|
|
8056
8074
|
executionLinkedAt: nullableIsoDateTimeSchema$2,
|
|
8057
8075
|
factSource: z.literal("runtime_coordinator_head_lifecycle"),
|
|
@@ -8068,7 +8086,7 @@ const spaceDispatchTraceRuntimeCoordinatorHeadLifecycleSchema = z.discriminatedU
|
|
|
8068
8086
|
targetWakeLifecycleIdentity: targetWakeLifecycleIdentitySchema,
|
|
8069
8087
|
targetWakeLifecycleId: trimmedNonEmptyStringSchema$3.max(2048),
|
|
8070
8088
|
targetDisplay: spaceDispatchTraceRuntimeCoordinatorHeadTargetDisplaySchema.optional(),
|
|
8071
|
-
updatedAt: ISO_DATE_TIME_SCHEMA$
|
|
8089
|
+
updatedAt: ISO_DATE_TIME_SCHEMA$5,
|
|
8072
8090
|
waitingBoundary: z.union([spaceDispatchTraceRuntimeCoordinatorHeadWaitingBoundarySchema, z.null()])
|
|
8073
8091
|
}),
|
|
8074
8092
|
z.strictObject({
|
|
@@ -8834,10 +8852,10 @@ function expectNullTraceEvidence(context, actual, path) {
|
|
|
8834
8852
|
}
|
|
8835
8853
|
//#endregion
|
|
8836
8854
|
//#region ../../packages/schemas/dist/schemas/http/center-agent.js
|
|
8837
|
-
const ISO_DATE_TIME_SCHEMA$
|
|
8855
|
+
const ISO_DATE_TIME_SCHEMA$4 = z.iso.datetime({ offset: true });
|
|
8838
8856
|
const trimmedNonEmptyStringSchema$2 = z.string().trim().min(1);
|
|
8839
8857
|
const nullableTrimmedStringSchema$1 = z.union([trimmedNonEmptyStringSchema$2, z.null()]);
|
|
8840
|
-
const nullableIsoDateTimeSchema$1 = z.union([ISO_DATE_TIME_SCHEMA$
|
|
8858
|
+
const nullableIsoDateTimeSchema$1 = z.union([ISO_DATE_TIME_SCHEMA$4, z.null()]);
|
|
8841
8859
|
const nullableDiagnosticTextSchema = z.union([trimmedNonEmptyStringSchema$2.max(512), z.null()]);
|
|
8842
8860
|
const CENTER_AGENT_REFERENCE_OVERLAP_MESSAGE = "A profile cannot be both a Wake target and a Reference target.";
|
|
8843
8861
|
function findCenterAgentReferenceOverlapIndex(input) {
|
|
@@ -9005,7 +9023,7 @@ const centerAgentDesignationSchema = z.strictObject({
|
|
|
9005
9023
|
agentProfileId: agentProfileIdSchema,
|
|
9006
9024
|
duty: z.null(),
|
|
9007
9025
|
designatedBy: trimmedNonEmptyStringSchema$2,
|
|
9008
|
-
createdAt: ISO_DATE_TIME_SCHEMA$
|
|
9026
|
+
createdAt: ISO_DATE_TIME_SCHEMA$4
|
|
9009
9027
|
});
|
|
9010
9028
|
const centerAgentModelConfigurationResponseSchema = z.strictObject({
|
|
9011
9029
|
canManage: z.boolean(),
|
|
@@ -9056,7 +9074,7 @@ const slackIdentityLinkPreviewBodySchema = z.strictObject({ token: slackIdentity
|
|
|
9056
9074
|
const slackIdentityLinkPreviewResponseSchema = z.strictObject({
|
|
9057
9075
|
alreadyMember: z.boolean().default(true),
|
|
9058
9076
|
continuesRequest: z.boolean().default(true),
|
|
9059
|
-
expiresAt: ISO_DATE_TIME_SCHEMA$
|
|
9077
|
+
expiresAt: ISO_DATE_TIME_SCHEMA$4,
|
|
9060
9078
|
organizationId: trimmedNonEmptyStringSchema$2,
|
|
9061
9079
|
organizationName: trimmedNonEmptyStringSchema$2,
|
|
9062
9080
|
slackDisplayName: trimmedNonEmptyStringSchema$2,
|
|
@@ -9190,7 +9208,7 @@ const centerAgentAuditJournalEntrySchema = z.strictObject({
|
|
|
9190
9208
|
manifestId: trimmedNonEmptyStringSchema$2
|
|
9191
9209
|
}).optional(),
|
|
9192
9210
|
resource: centerAgentResourceSchema.nullable(),
|
|
9193
|
-
createdAt: ISO_DATE_TIME_SCHEMA$
|
|
9211
|
+
createdAt: ISO_DATE_TIME_SCHEMA$4
|
|
9194
9212
|
});
|
|
9195
9213
|
const listCenterAgentAuditJournalQuerySchema = z.strictObject({
|
|
9196
9214
|
actionSet: z.enum([
|
|
@@ -9711,7 +9729,7 @@ z.union([z.strictObject({
|
|
|
9711
9729
|
const centerAgentDispatchHistoryLatestAttemptSchema = z.strictObject({
|
|
9712
9730
|
attemptId: trimmedNonEmptyStringSchema$2,
|
|
9713
9731
|
attemptNo: z.int().min(1),
|
|
9714
|
-
createdAt: ISO_DATE_TIME_SCHEMA$
|
|
9732
|
+
createdAt: ISO_DATE_TIME_SCHEMA$4,
|
|
9715
9733
|
errorCode: nullableTrimmedStringSchema$1,
|
|
9716
9734
|
errorMessage: nullableDiagnosticTextSchema,
|
|
9717
9735
|
finishedAt: nullableIsoDateTimeSchema$1,
|
|
@@ -9721,8 +9739,8 @@ const centerAgentDispatchHistoryLatestAttemptSchema = z.strictObject({
|
|
|
9721
9739
|
const centerAgentDispatchHistoryEntrySchema = z.strictObject({
|
|
9722
9740
|
attemptCount: z.int().min(0),
|
|
9723
9741
|
dispatchId: trimmedNonEmptyStringSchema$2,
|
|
9724
|
-
firstSeenAt: ISO_DATE_TIME_SCHEMA$
|
|
9725
|
-
lastAttemptAt: ISO_DATE_TIME_SCHEMA$
|
|
9742
|
+
firstSeenAt: ISO_DATE_TIME_SCHEMA$4,
|
|
9743
|
+
lastAttemptAt: ISO_DATE_TIME_SCHEMA$4,
|
|
9726
9744
|
latestAttempt: z.union([centerAgentDispatchHistoryLatestAttemptSchema, z.null()]),
|
|
9727
9745
|
status: spaceDispatchTraceDispatchStatusSchema,
|
|
9728
9746
|
targetProfileId: trimmedNonEmptyStringSchema$2
|
|
@@ -9859,7 +9877,7 @@ const openCenterAgentDirectMessageSpaceResponseSchema = z.strictObject({
|
|
|
9859
9877
|
//#endregion
|
|
9860
9878
|
//#region ../../packages/schemas/dist/schemas/http/center-agent-direct-message-space.js
|
|
9861
9879
|
const CENTER_AGENT_DIRECT_MESSAGE_SPACE_KIND = "center_agent_direct_message_space";
|
|
9862
|
-
const ISO_DATE_TIME_SCHEMA$
|
|
9880
|
+
const ISO_DATE_TIME_SCHEMA$3 = z.iso.datetime({ offset: true });
|
|
9863
9881
|
const trimmedNonEmptyStringSchema$1 = z.string().trim().min(1);
|
|
9864
9882
|
const centerAgentDirectMessageSpaceProjectionSchema = z.strictObject({
|
|
9865
9883
|
centerAgentProfileId: trimmedNonEmptyStringSchema$1,
|
|
@@ -9870,7 +9888,7 @@ const centerAgentDirectMessageSpaceProjectionSchema = z.strictObject({
|
|
|
9870
9888
|
spaceId: trimmedNonEmptyStringSchema$1
|
|
9871
9889
|
});
|
|
9872
9890
|
const getCenterAgentDirectMessageSpaceProjectionResponseSchema = z.strictObject({
|
|
9873
|
-
generatedAt: ISO_DATE_TIME_SCHEMA$
|
|
9891
|
+
generatedAt: ISO_DATE_TIME_SCHEMA$3,
|
|
9874
9892
|
organizationId: trimmedNonEmptyStringSchema$1,
|
|
9875
9893
|
projection: z.union([centerAgentDirectMessageSpaceProjectionSchema, z.null()])
|
|
9876
9894
|
});
|
|
@@ -10735,7 +10753,7 @@ listSignalsQueryInputSchema.superRefine((value, ctx) => {
|
|
|
10735
10753
|
const boundedIdentifierSchema = z.string().trim().min(1).max(256);
|
|
10736
10754
|
const runtimeIdentifierSchema = z.string().trim().min(1).max(512);
|
|
10737
10755
|
const reasonCodeSchema = z.string().trim().min(1).max(256);
|
|
10738
|
-
const ISO_DATE_TIME_SCHEMA$
|
|
10756
|
+
const ISO_DATE_TIME_SCHEMA$2 = z.iso.datetime({ offset: true });
|
|
10739
10757
|
const getLocalRuntimeExpectedRoutesQuerySchema = z.strictObject({
|
|
10740
10758
|
contractVersion: z.enum(["v2", "v3"]).optional(),
|
|
10741
10759
|
deviceId: boundedIdentifierSchema,
|
|
@@ -10771,7 +10789,7 @@ const getLocalRuntimeExpectedRoutesResponseSchema = z.strictObject({
|
|
|
10771
10789
|
openMeldServiceRuntimeId: runtimeIdentifierSchema.nullable(),
|
|
10772
10790
|
excludedProfiles: z.array(localRuntimeExpectedRouteExclusionSchema).max(400),
|
|
10773
10791
|
expectedRoutes: z.array(localRuntimeExpectedRouteSchema).max(200),
|
|
10774
|
-
generatedAt: ISO_DATE_TIME_SCHEMA$
|
|
10792
|
+
generatedAt: ISO_DATE_TIME_SCHEMA$2,
|
|
10775
10793
|
runtimeResolution: z.enum([
|
|
10776
10794
|
"resolved",
|
|
10777
10795
|
"missing",
|
|
@@ -10779,6 +10797,61 @@ const getLocalRuntimeExpectedRoutesResponseSchema = z.strictObject({
|
|
|
10779
10797
|
])
|
|
10780
10798
|
});
|
|
10781
10799
|
//#endregion
|
|
10800
|
+
//#region ../../packages/schemas/dist/schemas/http/organization-member-openmeld-service-status.js
|
|
10801
|
+
const BOUNDED_ID_SCHEMA$1 = z.string().trim().min(1).max(256);
|
|
10802
|
+
const ISO_DATE_TIME_SCHEMA$1 = z.iso.datetime({ offset: true });
|
|
10803
|
+
const organizationMemberOpenMeldServiceStateSchema = z.enum([
|
|
10804
|
+
"connected",
|
|
10805
|
+
"needs_attention",
|
|
10806
|
+
"not_connected",
|
|
10807
|
+
"unknown"
|
|
10808
|
+
]);
|
|
10809
|
+
const organizationMemberOpenMeldServiceStatusSchema = z.strictObject({
|
|
10810
|
+
state: organizationMemberOpenMeldServiceStateSchema,
|
|
10811
|
+
userId: BOUNDED_ID_SCHEMA$1
|
|
10812
|
+
});
|
|
10813
|
+
z.strictObject({ memberUserId: BOUNDED_ID_SCHEMA$1 });
|
|
10814
|
+
z.strictObject({
|
|
10815
|
+
generatedAt: ISO_DATE_TIME_SCHEMA$1,
|
|
10816
|
+
member: organizationMemberOpenMeldServiceStatusSchema,
|
|
10817
|
+
organizationId: BOUNDED_ID_SCHEMA$1
|
|
10818
|
+
});
|
|
10819
|
+
const organizationMemberOpenMeldServiceStatusesResponseSchema = z.strictObject({
|
|
10820
|
+
generatedAt: ISO_DATE_TIME_SCHEMA$1,
|
|
10821
|
+
members: z.array(organizationMemberOpenMeldServiceStatusSchema),
|
|
10822
|
+
organizationId: BOUNDED_ID_SCHEMA$1
|
|
10823
|
+
});
|
|
10824
|
+
//#endregion
|
|
10825
|
+
//#region ../../packages/schemas/dist/schemas/http/organization-computers.js
|
|
10826
|
+
const BOUNDED_ID_SCHEMA = z.string().trim().min(1).max(256);
|
|
10827
|
+
const ISO_DATE_TIME_SCHEMA = z.iso.datetime({ offset: true });
|
|
10828
|
+
const organizationComputerLocalAgentSchema = z.strictObject({
|
|
10829
|
+
agentControllerRef: BOUNDED_ID_SCHEMA,
|
|
10830
|
+
enabled: z.boolean(),
|
|
10831
|
+
status: z.enum([
|
|
10832
|
+
"ready",
|
|
10833
|
+
"not_ready",
|
|
10834
|
+
"stale",
|
|
10835
|
+
"unknown"
|
|
10836
|
+
])
|
|
10837
|
+
});
|
|
10838
|
+
const organizationComputerSchema = z.strictObject({
|
|
10839
|
+
computerId: BOUNDED_ID_SCHEMA,
|
|
10840
|
+
deviceDisplayName: z.string().trim().min(1).max(256),
|
|
10841
|
+
deviceType: localRuntimeDeviceTypeSchema,
|
|
10842
|
+
lastSeenAtMs: z.number().int().nonnegative().nullable(),
|
|
10843
|
+
localAgents: z.array(organizationComputerLocalAgentSchema),
|
|
10844
|
+
osVersion: z.string().trim().min(1).max(120).nullable(),
|
|
10845
|
+
ownerUserId: BOUNDED_ID_SCHEMA,
|
|
10846
|
+
platformFamily: localRuntimePlatformFamilySchema,
|
|
10847
|
+
serviceState: organizationMemberOpenMeldServiceStateSchema
|
|
10848
|
+
});
|
|
10849
|
+
const organizationComputersResponseSchema = z.strictObject({
|
|
10850
|
+
computers: z.array(organizationComputerSchema),
|
|
10851
|
+
generatedAt: ISO_DATE_TIME_SCHEMA,
|
|
10852
|
+
organizationId: BOUNDED_ID_SCHEMA
|
|
10853
|
+
});
|
|
10854
|
+
//#endregion
|
|
10782
10855
|
//#region ../../packages/schemas/dist/schemas/http/organization-logo.js
|
|
10783
10856
|
const ORGANIZATION_LOGO_MAX_SIZE_BYTES = IDENTITY_IMAGE_MAX_SIZE_BYTES;
|
|
10784
10857
|
const organizationLogoMimeTypeSchema = identityImageMimeTypeSchema;
|
|
@@ -10827,31 +10900,6 @@ const organizationLogoResponseSchema = z.strictObject({
|
|
|
10827
10900
|
ok: z.literal(true)
|
|
10828
10901
|
});
|
|
10829
10902
|
//#endregion
|
|
10830
|
-
//#region ../../packages/schemas/dist/schemas/http/organization-member-openmeld-service-status.js
|
|
10831
|
-
const BOUNDED_ID_SCHEMA = z.string().trim().min(1).max(256);
|
|
10832
|
-
const ISO_DATE_TIME_SCHEMA = z.iso.datetime({ offset: true });
|
|
10833
|
-
const organizationMemberOpenMeldServiceStateSchema = z.enum([
|
|
10834
|
-
"connected",
|
|
10835
|
-
"needs_attention",
|
|
10836
|
-
"not_connected",
|
|
10837
|
-
"unknown"
|
|
10838
|
-
]);
|
|
10839
|
-
const organizationMemberOpenMeldServiceStatusSchema = z.strictObject({
|
|
10840
|
-
state: organizationMemberOpenMeldServiceStateSchema,
|
|
10841
|
-
userId: BOUNDED_ID_SCHEMA
|
|
10842
|
-
});
|
|
10843
|
-
z.strictObject({ memberUserId: BOUNDED_ID_SCHEMA });
|
|
10844
|
-
z.strictObject({
|
|
10845
|
-
generatedAt: ISO_DATE_TIME_SCHEMA,
|
|
10846
|
-
member: organizationMemberOpenMeldServiceStatusSchema,
|
|
10847
|
-
organizationId: BOUNDED_ID_SCHEMA
|
|
10848
|
-
});
|
|
10849
|
-
const organizationMemberOpenMeldServiceStatusesResponseSchema = z.strictObject({
|
|
10850
|
-
generatedAt: ISO_DATE_TIME_SCHEMA,
|
|
10851
|
-
members: z.array(organizationMemberOpenMeldServiceStatusSchema),
|
|
10852
|
-
organizationId: BOUNDED_ID_SCHEMA
|
|
10853
|
-
});
|
|
10854
|
-
//#endregion
|
|
10855
10903
|
//#region ../../packages/schemas/dist/schemas/http/organization-usage.js
|
|
10856
10904
|
const nonnegativeCountSchema = z.number().int().nonnegative();
|
|
10857
10905
|
const positiveLimitSchema = z.number().int().positive();
|
|
@@ -11876,6 +11924,7 @@ var dist_exports = /* @__PURE__ */ __exportAll({
|
|
|
11876
11924
|
buildComputerFileAccessReadPath: () => buildComputerFileAccessReadPath,
|
|
11877
11925
|
buildComputerFileAccessUpdatePath: () => buildComputerFileAccessUpdatePath,
|
|
11878
11926
|
buildCurrentOrganizationCenterAgentMemoryWipeSelfPath: () => buildCurrentOrganizationCenterAgentMemoryWipeSelfPath,
|
|
11927
|
+
buildCurrentOrganizationComputersPath: () => buildCurrentOrganizationComputersPath,
|
|
11879
11928
|
buildCurrentOrganizationDirectoryPath: () => buildCurrentOrganizationDirectoryPath,
|
|
11880
11929
|
buildCurrentOrganizationFeedbackReportingPolicyPath: () => buildCurrentOrganizationFeedbackReportingPolicyPath,
|
|
11881
11930
|
buildCurrentOrganizationInformationProtectionPath: () => buildCurrentOrganizationInformationProtectionPath,
|
|
@@ -13223,6 +13272,9 @@ function buildCurrentAgentProfileWorkspaceRoute(agentProfileId) {
|
|
|
13223
13272
|
function buildCurrentLocalAgentEnabledRoute(agentId) {
|
|
13224
13273
|
return `/v1/local-runtimes/current/local-agents/${encodeURIComponent(agentId)}/enabled`;
|
|
13225
13274
|
}
|
|
13275
|
+
function buildCurrentLocalAgentInstallationsRoute(agentId) {
|
|
13276
|
+
return `/v1/local-runtimes/current/local-agents/${encodeURIComponent(agentId)}/installations`;
|
|
13277
|
+
}
|
|
13226
13278
|
const LOCAL_RUNTIMES_ROUTE = "/v1/local-runtimes";
|
|
13227
13279
|
function buildLocalRuntimesRoute(input) {
|
|
13228
13280
|
if (!input?.connectionIdentityAdoption) return LOCAL_RUNTIMES_ROUTE;
|
|
@@ -13266,6 +13318,11 @@ function requireValidCurrentLocalAgentEnabledBody(input) {
|
|
|
13266
13318
|
if (!parsed.success) throw new Error(parsed.error.issues[0]?.message ?? "Invalid local agent enabled payload.");
|
|
13267
13319
|
return parsed.data;
|
|
13268
13320
|
}
|
|
13321
|
+
function requireValidCurrentLocalAgentInstallationBody(input) {
|
|
13322
|
+
const parsed = selectCurrentLocalAgentInstallationBodySchema.safeParse({ installationId: input.installationId });
|
|
13323
|
+
if (!parsed.success) throw new Error(parsed.error.issues[0]?.message ?? "Invalid local agent installation payload.");
|
|
13324
|
+
return parsed.data;
|
|
13325
|
+
}
|
|
13269
13326
|
function requireValidCurrentAgentProfileWorkspaceBody(input) {
|
|
13270
13327
|
const parsed = setCurrentAgentProfileWorkspaceBodySchema.safeParse({
|
|
13271
13328
|
workspaceMode: input.workspaceMode,
|
|
@@ -13350,6 +13407,25 @@ const createCurrentDeviceApi = (client) => {
|
|
|
13350
13407
|
invalidMessage: "Invalid local agent enabled response."
|
|
13351
13408
|
});
|
|
13352
13409
|
},
|
|
13410
|
+
getCurrentLocalAgentInstallations: async (input) => await client.requestJson({
|
|
13411
|
+
url: buildCurrentLocalAgentInstallationsRoute(input.agentId),
|
|
13412
|
+
operation: "local_runtime.current.local_agent_installations.read",
|
|
13413
|
+
method: "GET",
|
|
13414
|
+
schema: currentLocalAgentInstallationsResponseSchema,
|
|
13415
|
+
invalidMessage: "Invalid local agent installations response."
|
|
13416
|
+
}),
|
|
13417
|
+
selectCurrentLocalAgentInstallation: async (input) => {
|
|
13418
|
+
const body = requireValidCurrentLocalAgentInstallationBody(input);
|
|
13419
|
+
return await client.requestJson({
|
|
13420
|
+
url: buildCurrentLocalAgentInstallationsRoute(input.agentId),
|
|
13421
|
+
operation: "local_runtime.current.local_agent_installation.write",
|
|
13422
|
+
method: "PUT",
|
|
13423
|
+
headers: { "content-type": "application/json" },
|
|
13424
|
+
body: JSON.stringify(body),
|
|
13425
|
+
schema: selectCurrentLocalAgentInstallationResponseSchema,
|
|
13426
|
+
invalidMessage: "Invalid selected local agent installation response."
|
|
13427
|
+
});
|
|
13428
|
+
},
|
|
13353
13429
|
setCurrentAgentProfileWorkspace: async (input) => {
|
|
13354
13430
|
const body = requireValidCurrentAgentProfileWorkspaceBody(input);
|
|
13355
13431
|
return await client.requestJson({
|
|
@@ -13815,6 +13891,9 @@ function createLocalRuntimeExpectedRoutesApi(client) {
|
|
|
13815
13891
|
function buildCurrentOrganizationDirectoryPath() {
|
|
13816
13892
|
return "/v1/organizations/current/directory";
|
|
13817
13893
|
}
|
|
13894
|
+
function buildCurrentOrganizationComputersPath() {
|
|
13895
|
+
return "/v1/organizations/current/computers";
|
|
13896
|
+
}
|
|
13818
13897
|
function buildCurrentOrganizationMemberOpenMeldServiceStatusesPath() {
|
|
13819
13898
|
return "/v1/organizations/current/member-openmeld-service-statuses";
|
|
13820
13899
|
}
|
|
@@ -13943,6 +14022,16 @@ const createOrganizationApi = (client) => ({
|
|
|
13943
14022
|
schema: organizationDirectoryResponseSchema,
|
|
13944
14023
|
invalidMessage: "invalid Organization directory response"
|
|
13945
14024
|
}),
|
|
14025
|
+
getCurrentComputers: async (input = {}) => await client.requestJson({
|
|
14026
|
+
url: buildCurrentOrganizationComputersPath(),
|
|
14027
|
+
operation: "organization.computers.read",
|
|
14028
|
+
method: "GET",
|
|
14029
|
+
requestContext: input.requestContext,
|
|
14030
|
+
signal: input.signal,
|
|
14031
|
+
timeoutMs: input.timeoutMs,
|
|
14032
|
+
schema: organizationComputersResponseSchema,
|
|
14033
|
+
invalidMessage: "invalid Organization computers response"
|
|
14034
|
+
}),
|
|
13946
14035
|
getCurrentMemberOpenMeldServiceStatuses: async (input = {}) => await client.requestJson({
|
|
13947
14036
|
url: buildCurrentOrganizationMemberOpenMeldServiceStatusesPath(),
|
|
13948
14037
|
operation: "organization.member_service_statuses.read",
|
|
@@ -16060,4 +16149,4 @@ function composeAbortSignals(parent, timeout) {
|
|
|
16060
16149
|
//#endregion
|
|
16061
16150
|
export { OPENMELD_RUNTIME_CAPABILITIES_HEADER as $, START_ISO_DATE_TIME_SCHEMA as $t, parseEnvelope as A, AGENT_ACTIVITY_PRESENCE_TTL_MAX_MS as At, toErrorMessage$3 as B, archiveProjectResponseSchema as Bt, dist_exports as C, deleteCenterAgentRoutineResponseSchema as Ct, DAEMON_STREAM_KEEPALIVE_PING as D, resumeCenterAgentRoutineResponseSchema as Dt, toStructuredApiClientFailure as E, pauseCenterAgentRoutineResponseSchema as Et, OPENMELD_HEADER_REQUESTED_ORGANIZATION_ID as F, agentActivitySnapshotResponseSchema as Ft, spaceDispatchTraceAttemptStatusSchema as G, leaveSpaceResponseSchema as Gt, SPACE_DISPATCH_TRACE_PROMPT_PREVIEW_MAX_CHARS as H, listProjectsResponseSchema as Ht, OPENMELD_HEADER_REQUEST_ID as I, centerAgentToolSpeakerSchema as It, observabilityWakeTraceSelectorSchema as J, spaceMemberDirectoryEntrySchema as Jt, spaceDispatchTraceDispatchStatusSchema as K, postSpaceMembersResponseSchema as Kt, buildOpenMeldRequestContextHeaders as L, localProjectControlConnectionSchema as Lt, parseServerErrorFrame as M, agentActivityProviderSchema as Mt, resolveCustomMentionAliasOverride as N, agentActivitySessionStatusSchema as Nt, DAEMON_STREAM_KEEPALIVE_PONG as O, updateCenterAgentRoutineResponseSchema as Ot, OPENMELD_HEADER_PROFILE_ID as P, agentActivitySnapshotQuerySchema as Pt, COMPUTER_FILE_ACCESS_RUNTIME_CAPABILITY as Q, START_BOUNDED_VERSION_SCHEMA as Qt, toErrorMessage$2 as R, localProjectControlDaemonFrameSchema as Rt, createSpaceApi as S, createCenterAgentRoutineResponseSchema as St, resolveProfileSpaceHistoryGatewayHost as T, listCenterAgentRoutinesResponseSchema as Tt, projectSpaceDispatchTraceFinalVisibleOutcome as U, projectSchema as Ut, getSpaceUpdatesResponseSchema as V, createProjectResponseSchema as Vt, resolveSpaceDispatchTraceRootCause as W, updateProjectResponseSchema as Wt, submitAgentControllerTaskLifecycleEventItemSchema as X, openCodePermissionConfigSchema as Xt, projectObservabilityWakeCorrelation as Y, spaceMemberDirectorySchema as Yt, gatewayErrorEnvelopeSchema as Z, START_BOUNDED_ID_SCHEMA as Zt, createPrepareReadinessApi as _, authProfileManagedRoleSchema as _t, buildSpaceAttachmentDownloadPath as a, toLegacySpaceAddressingWireValue as an, spaceCreatorSchema as at, createRoutinesApi as b, submitFeedbackIssueRequestSchema as bt, createAgentProfileBindingApi as c, listOrganizationSkillsResponseSchema as ct, createFeedbackApi as d, organizationSkillSummarySchema as dt, START_TRIMMED_NON_EMPTY_STRING_SCHEMA as en, computerFileAccessDaemonFrameSchema as et, createFetchTransport as f, stringifyOrganizationSkillBundleCanonicalJson as ft, createOrganizationSkillsApi as g, authProfileKindSchema as gt, createOrganizationApi as h, ADDITIONAL_HUMAN_PROFILE_CREATION_DISABLED_MESSAGE as ht, buildProfileSpaceHistoryUpsertPath as i, agentControllerCollaborationModeSchema as in, organizationSpaceDirectoryWithMemberCountsResponseSchema as it, parseIncoming as j, agentActivityEventSchema as jt, MAX_TEXT_LENGTH as k, AGENT_ACTIVITY_EVENT_MAX_BYTES as kt, createCenterAgentApi as l, organizationSkillBundleSchema as lt, createOpenMeldApiClient as m, ADDITIONAL_HUMAN_PROFILE_CREATION_DISABLED_CODE as mt, OpenMeldApiClientInvalidResponseError as n, localAgentCatalogSchema as nn, computerFileAccessPolicySchema as nt, createAccountSpaceIndexApi as o, spaceMetaSchema as ot, createLocalRuntimeExpectedRoutesApi as p, organizationDirectoryResponseSchema as pt, spaceDispatchTraceResponseSchema as q, removeSpaceMembersResponseSchema as qt, buildProfileSpaceHistoryStatusPath as r, agentControllerPermissionModeSchema as rn, modelCatalogSchema as rt, createAgentActivityApi as s, getOrganizationSkillResponseSchema as st, OpenMeldApiClientHttpError as t, startReplyReadinessSummarySchema as tn, computerFileAccessPolicyInputSchema as tt, createCurrentDeviceApi as u, organizationSkillReleaseSummarySchema as ut, createProfileSpaceHistoryApi as v, profileCapabilitiesResponseSchema as vt, resolveAccountSpaceIndexGatewayHost as w, listCenterAgentRoutineRunsResponseSchema as wt, createRuntimeReportingApi as x, submitFeedbackIssueResponseSchema as xt, createProjectsApi as y, profileErrorResponseSchema as yt, sleep as z, localProjectControlDiscoverProjectsResponseSchema as zt };
|
|
16062
16151
|
|
|
16063
|
-
//# sourceMappingURL=dist-
|
|
16152
|
+
//# sourceMappingURL=dist-otYW6tMl.js.map
|