wakeloop 0.1.1 → 0.2.0
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-Dh1vHFLA.js → add-me-membership-ClvZxLF8.js} +3 -3
- package/dist/{add-me-membership-Dh1vHFLA.js.map → add-me-membership-ClvZxLF8.js.map} +1 -1
- package/dist/api-client-foundation-BmaHLmWr.js +6 -0
- package/dist/auth-session-Bi8Vzyml.js +6 -0
- package/dist/{base-url-7O9DNTTC.js → base-url-Bp-avdIi.js} +6 -6
- package/dist/{base-url-7O9DNTTC.js.map → base-url-Bp-avdIi.js.map} +1 -1
- package/dist/daemon-runtime-lease-DcbNGfne.js +6 -0
- package/dist/dist-DtyWoaXC.js +6 -0
- package/dist/{dist-JdCv_fuW.js → dist-gbpVUIxv.js} +638 -395
- package/dist/dist-gbpVUIxv.js.map +1 -0
- package/dist/{lock-BYUpcHBF.js → lock-BnMoxq4l.js} +4 -4
- package/dist/{lock-BYUpcHBF.js.map → lock-BnMoxq4l.js.map} +1 -1
- package/dist/{paths-F1dfknFj.js → paths-CI0MoSDY.js} +1 -1
- package/dist/{paths-F1dfknFj.js.map → paths-CI0MoSDY.js.map} +1 -1
- package/dist/{urls-B8ZoQgpS.js → urls-RVvjm5ga.js} +1 -1
- package/dist/{urls-B8ZoQgpS.js.map → urls-RVvjm5ga.js.map} +1 -1
- package/dist/wakeloop-dev.js +2 -2
- package/dist/wakeloop.js +25771 -23345
- package/dist/wakeloop.js.map +1 -1
- package/package.json +4 -3
- package/skills/wakeloop-cli/SKILL.md +1 -1
- package/skills/wakeloop-cli/playbooks/space-ops.md +1 -1
- package/skills/wakeloop-cli/references/commands.md +36 -1
- package/dist/api-client-foundation-Bw60iEgQ.js +0 -6
- package/dist/auth-session-CYafUSmo.js +0 -6
- package/dist/daemon-runtime-lease-BdIKGl39.js +0 -6
- package/dist/dist-BqpHxhFh.js +0 -6
- package/dist/dist-JdCv_fuW.js.map +0 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import { z } from "zod/v4";
|
|
4
4
|
|
|
5
|
-
//#region ../../packages/schemas/dist/runtime-transport-
|
|
5
|
+
//#region ../../packages/schemas/dist/runtime-transport-DSJbT3in.js
|
|
6
6
|
const agentControllerConversationExternalImportCapabilitySchema = z.enum(["unsupported", "by_ref_id"]);
|
|
7
7
|
const agentControllerConversationResumeCapabilitySchema = z.enum(["unsupported", "by_ref_id"]);
|
|
8
8
|
const agentControllerConversationDiscoverCapabilitySchema = z.literal("unsupported");
|
|
@@ -1556,11 +1556,11 @@ const agentControllerConversationKindSchema = z.enum([
|
|
|
1556
1556
|
"thread",
|
|
1557
1557
|
"context"
|
|
1558
1558
|
]);
|
|
1559
|
-
const trimmedNonEmptyStringSchema$
|
|
1559
|
+
const trimmedNonEmptyStringSchema$12 = z.string().trim().min(1);
|
|
1560
1560
|
const agentControllerConversationRefSchema = z.strictObject({
|
|
1561
|
-
agentControllerRef: trimmedNonEmptyStringSchema$
|
|
1561
|
+
agentControllerRef: trimmedNonEmptyStringSchema$12,
|
|
1562
1562
|
agentControllerConversationKind: agentControllerConversationKindSchema,
|
|
1563
|
-
agentControllerConversationId: trimmedNonEmptyStringSchema$
|
|
1563
|
+
agentControllerConversationId: trimmedNonEmptyStringSchema$12
|
|
1564
1564
|
});
|
|
1565
1565
|
const conversationPolicySchema = z.strictObject({
|
|
1566
1566
|
fallbackModel: z.string().min(1).optional(),
|
|
@@ -1680,7 +1680,7 @@ const dispatchExecutionSchema = z.strictObject({
|
|
|
1680
1680
|
localRuntimeContext: localRuntimeContextExecutionSchema,
|
|
1681
1681
|
bootstrap: conversationBootstrapSchema
|
|
1682
1682
|
});
|
|
1683
|
-
const ISO_DATE_TIME_SCHEMA$
|
|
1683
|
+
const ISO_DATE_TIME_SCHEMA$13 = z.iso.datetime({ offset: true });
|
|
1684
1684
|
const bootstrapTemplateFactsSchema = z.strictObject({
|
|
1685
1685
|
templateVersion: z.string().min(1),
|
|
1686
1686
|
contentFingerprint: z.string().min(1)
|
|
@@ -1691,13 +1691,13 @@ const conversationExecutionStateSchema = z.strictObject({
|
|
|
1691
1691
|
lastResolvedAgentControllerConversation: agentControllerConversationRefSchema.optional(),
|
|
1692
1692
|
lastRuntimeWorkspacePath: profileWorkingDirectorySchema.optional(),
|
|
1693
1693
|
runtimeWorkspaceFingerprint: z.string().min(1),
|
|
1694
|
-
bootstrapLastAppliedAt: ISO_DATE_TIME_SCHEMA$
|
|
1695
|
-
bootstrapLastActivatedAt: ISO_DATE_TIME_SCHEMA$
|
|
1694
|
+
bootstrapLastAppliedAt: ISO_DATE_TIME_SCHEMA$13.optional(),
|
|
1695
|
+
bootstrapLastActivatedAt: ISO_DATE_TIME_SCHEMA$13.optional(),
|
|
1696
1696
|
dispatchesSinceBootstrapApplied: z.number().int().min(0),
|
|
1697
1697
|
lastAppliedTemplateVersion: z.string().min(1).optional(),
|
|
1698
1698
|
lastAppliedContentFingerprint: z.string().min(1).optional(),
|
|
1699
1699
|
pendingBootstrapReason: conversationBootstrapReasonSchema.optional(),
|
|
1700
|
-
updatedAt: ISO_DATE_TIME_SCHEMA$
|
|
1700
|
+
updatedAt: ISO_DATE_TIME_SCHEMA$13
|
|
1701
1701
|
});
|
|
1702
1702
|
const providerDispatchRuntimeContextSchema = z.strictObject({ providerRuntimeWorkingDirectory: z.string().trim().min(1).max(MAX_PROFILE_WORKING_DIRECTORY_LENGTH).refine((value) => !value.includes("\0"), { message: "providerRuntimeWorkingDirectory must not contain NUL bytes" }) });
|
|
1703
1703
|
const WAKELOOP_DAEMON_CONTROL_PLANE_SCHEMA_VERSION = 1;
|
|
@@ -2990,6 +2990,7 @@ const runtimeTransportDeliverDispatchPayloadSchema = z.strictObject({
|
|
|
2990
2990
|
spacePassword: spacePasswordSchema.optional(),
|
|
2991
2991
|
targetProfileName: z.string().min(1).max(MAX_PROFILE_NAME_LENGTH).optional(),
|
|
2992
2992
|
targetProfileMentionLabel: spaceMentionLabelSchema.optional(),
|
|
2993
|
+
targetProfileIsCenterAgent: z.boolean().optional(),
|
|
2993
2994
|
agentControllerConversationId: z.string().trim().min(1).optional(),
|
|
2994
2995
|
deliveryRecoveryReason: wakeLoopDaemonDispatchDeliveryRecoveryReasonSchema.optional(),
|
|
2995
2996
|
dispatchChainId: z.string().min(1).optional(),
|
|
@@ -3186,6 +3187,7 @@ const runtimeTransportRuntimeCoordinatorHeadNoExecutionReasonCodeSchema = z.enum
|
|
|
3186
3187
|
"agent_profile_binding.missing",
|
|
3187
3188
|
"agent_profile_binding.disabled",
|
|
3188
3189
|
"agent_profile_binding.owner_mismatch",
|
|
3190
|
+
"organization_binding_authorization.required",
|
|
3189
3191
|
"local_service.identity_mismatch",
|
|
3190
3192
|
"daemon.profile.offline",
|
|
3191
3193
|
"service.update_required"
|
|
@@ -3200,6 +3202,7 @@ const runtimeTransportRuntimeCoordinatorHeadNoExecutionRecoveryActionSchema = z.
|
|
|
3200
3202
|
"set_up_agent_binding",
|
|
3201
3203
|
"enable_agent_binding",
|
|
3202
3204
|
"repair_agent_binding",
|
|
3205
|
+
"authorize_agent_binding_for_organization",
|
|
3203
3206
|
"reconnect_agent_binding",
|
|
3204
3207
|
"start_or_restart_wakeloop_service",
|
|
3205
3208
|
"update_wakeloop_service"
|
|
@@ -3630,7 +3633,7 @@ const daemonStreamErrorFrameSchema = z.strictObject({
|
|
|
3630
3633
|
});
|
|
3631
3634
|
|
|
3632
3635
|
//#endregion
|
|
3633
|
-
//#region ../../packages/schemas/dist/entry-brief-
|
|
3636
|
+
//#region ../../packages/schemas/dist/entry-brief-dawroT7C.js
|
|
3634
3637
|
const AGENT_EXECUTION_READINESS_IMPACT_FRESH_TTL_MS = 1800 * 1e3;
|
|
3635
3638
|
const AGENT_EXECUTION_READINESS_IMPACT_REASON_CODES = [
|
|
3636
3639
|
"controller.launch.choice_required",
|
|
@@ -3977,6 +3980,7 @@ const wakeLoopActorContextSchema = z.strictObject({
|
|
|
3977
3980
|
});
|
|
3978
3981
|
const wakeLoopRequestContextSchema = z.strictObject({
|
|
3979
3982
|
actorContext: wakeLoopActorContextSchema,
|
|
3983
|
+
activeOrganizationId: nonEmptyTextSchema.optional(),
|
|
3980
3984
|
agentControllerConversationId: nonEmptyTextSchema.optional()
|
|
3981
3985
|
});
|
|
3982
3986
|
const onboardingActionIdSchema = z.enum([
|
|
@@ -4127,6 +4131,31 @@ const updateAgentProfilePrimaryBindingModelSelectionBodySchema = z.strictObject(
|
|
|
4127
4131
|
});
|
|
4128
4132
|
});
|
|
4129
4133
|
const updateAgentProfilePrimaryBindingAgentControllerPermissionModeBodySchema = z.strictObject({ agentControllerPermissionMode: agentProfileBindingAgentControllerPermissionModeSchema });
|
|
4134
|
+
const authorizeAgentProfileBindingForOrganizationResponseSchema = z.strictObject({
|
|
4135
|
+
agentProfileId: boundedIdentifierSchema$7,
|
|
4136
|
+
authorizedBy: boundedIdentifierSchema$7,
|
|
4137
|
+
bindingId: boundedIdentifierSchema$7,
|
|
4138
|
+
createdAt: z.iso.datetime({ offset: true }),
|
|
4139
|
+
organizationId: boundedIdentifierSchema$7,
|
|
4140
|
+
status: z.enum(["authorized", "already_authorized"])
|
|
4141
|
+
});
|
|
4142
|
+
const organizationBindingAuthorizationSchema = z.strictObject({
|
|
4143
|
+
agentProfileId: boundedIdentifierSchema$7,
|
|
4144
|
+
authorizedBy: boundedIdentifierSchema$7,
|
|
4145
|
+
bindingId: boundedIdentifierSchema$7,
|
|
4146
|
+
createdAt: z.iso.datetime({ offset: true })
|
|
4147
|
+
});
|
|
4148
|
+
const listOrganizationBindingAuthorizationsResponseSchema = z.strictObject({
|
|
4149
|
+
organizationId: boundedIdentifierSchema$7,
|
|
4150
|
+
authorizations: z.array(organizationBindingAuthorizationSchema)
|
|
4151
|
+
});
|
|
4152
|
+
const revokeAgentProfileBindingForOrganizationResponseSchema = z.strictObject({
|
|
4153
|
+
agentProfileId: boundedIdentifierSchema$7,
|
|
4154
|
+
bindingId: boundedIdentifierSchema$7.nullable(),
|
|
4155
|
+
organizationId: boundedIdentifierSchema$7,
|
|
4156
|
+
revoked: z.boolean(),
|
|
4157
|
+
status: z.enum(["revoked", "missing"])
|
|
4158
|
+
});
|
|
4130
4159
|
const disableAgentProfilePrimaryBindingResponseSchema = z.strictObject({
|
|
4131
4160
|
agentProfileId: boundedIdentifierSchema$7,
|
|
4132
4161
|
disabled: z.boolean(),
|
|
@@ -4529,10 +4558,10 @@ const getPrepareReadinessResponseSchema = z.strictObject({
|
|
|
4529
4558
|
path: ["wakeLoopServiceRuntimeId"]
|
|
4530
4559
|
});
|
|
4531
4560
|
});
|
|
4532
|
-
const ISO_DATE_TIME_SCHEMA$
|
|
4533
|
-
const trimmedNonEmptyStringSchema$
|
|
4534
|
-
const nullableTrimmedStringSchema$
|
|
4535
|
-
const nullableIsoDateTimeSchema$
|
|
4561
|
+
const ISO_DATE_TIME_SCHEMA$12 = z.iso.datetime({ offset: true });
|
|
4562
|
+
const trimmedNonEmptyStringSchema$11 = z.string().trim().min(1);
|
|
4563
|
+
const nullableTrimmedStringSchema$10 = z.union([trimmedNonEmptyStringSchema$11, z.null()]);
|
|
4564
|
+
const nullableIsoDateTimeSchema$6 = z.union([ISO_DATE_TIME_SCHEMA$12, z.null()]);
|
|
4536
4565
|
const agentExecutionReadinessRouteParamsSchema = z.strictObject({ agentProfileId: agentProfileIdSchema });
|
|
4537
4566
|
const agentExecutionReadinessTargetRuntimeSchema = z.discriminatedUnion("kind", [z.strictObject({ kind: z.literal("current_local_runtime") }), z.strictObject({
|
|
4538
4567
|
kind: z.literal("wakeloop_service_runtime_id"),
|
|
@@ -4563,7 +4592,7 @@ const agentExecutionReadinessPrimaryActionPlanSchema = z.discriminatedUnion("act
|
|
|
4563
4592
|
z.strictObject({
|
|
4564
4593
|
action: z.literal("reconnect_binding"),
|
|
4565
4594
|
target: z.union([z.strictObject({ kind: z.literal("choose_local_agent") }), z.strictObject({
|
|
4566
|
-
agentControllerRef: trimmedNonEmptyStringSchema$
|
|
4595
|
+
agentControllerRef: trimmedNonEmptyStringSchema$11,
|
|
4567
4596
|
kind: z.literal("local_agent_connection")
|
|
4568
4597
|
})])
|
|
4569
4598
|
}),
|
|
@@ -4590,8 +4619,8 @@ const agentExecutionReadinessPrimaryActionPlanSchema = z.discriminatedUnion("act
|
|
|
4590
4619
|
const wakeRouteEvidenceSchema = daemonRouteObservationSummarySchema;
|
|
4591
4620
|
const wakeRouteStatusSchema = z.discriminatedUnion("status", [z.strictObject({
|
|
4592
4621
|
connectionGeneration: z.int().positive(),
|
|
4593
|
-
daemonSessionId: trimmedNonEmptyStringSchema$
|
|
4594
|
-
deviceId: trimmedNonEmptyStringSchema$
|
|
4622
|
+
daemonSessionId: trimmedNonEmptyStringSchema$11,
|
|
4623
|
+
deviceId: trimmedNonEmptyStringSchema$11,
|
|
4595
4624
|
lane: daemonServiceLaneSchema,
|
|
4596
4625
|
lastHeartbeatMs: z.int().nonnegative(),
|
|
4597
4626
|
leaseEpoch: z.int().positive(),
|
|
@@ -4611,12 +4640,12 @@ const agentWakeRouteRegistrationStatusSchema = z.enum([
|
|
|
4611
4640
|
]);
|
|
4612
4641
|
const agentWakeRouteRegistrationSchema = z.strictObject({
|
|
4613
4642
|
status: agentWakeRouteRegistrationStatusSchema,
|
|
4614
|
-
reasonCode: nullableTrimmedStringSchema$
|
|
4643
|
+
reasonCode: nullableTrimmedStringSchema$10,
|
|
4615
4644
|
reportedAtMs: z.number().int().nonnegative().nullable(),
|
|
4616
|
-
daemonSessionId: nullableTrimmedStringSchema$
|
|
4617
|
-
deviceId: nullableTrimmedStringSchema$
|
|
4645
|
+
daemonSessionId: nullableTrimmedStringSchema$10,
|
|
4646
|
+
deviceId: nullableTrimmedStringSchema$10,
|
|
4618
4647
|
lane: z.union([daemonServiceLaneSchema, z.null()]),
|
|
4619
|
-
serviceVersion: nullableTrimmedStringSchema$
|
|
4648
|
+
serviceVersion: nullableTrimmedStringSchema$10
|
|
4620
4649
|
});
|
|
4621
4650
|
const agentWakeAvailabilityStatusSchema = z.enum([
|
|
4622
4651
|
"available_for_wake",
|
|
@@ -4645,15 +4674,15 @@ const agentWakeAvailabilityPhaseSchema = z.enum([
|
|
|
4645
4674
|
]);
|
|
4646
4675
|
const agentWakeAvailabilitySchema = z.strictObject({
|
|
4647
4676
|
action: agentExecutionReadinessPrimaryActionSchema,
|
|
4648
|
-
badgeLabel: trimmedNonEmptyStringSchema$
|
|
4677
|
+
badgeLabel: trimmedNonEmptyStringSchema$11,
|
|
4649
4678
|
category: agentWakeAvailabilityCategorySchema,
|
|
4650
4679
|
isRefreshing: z.boolean(),
|
|
4651
|
-
label: trimmedNonEmptyStringSchema$
|
|
4680
|
+
label: trimmedNonEmptyStringSchema$11,
|
|
4652
4681
|
phase: agentWakeAvailabilityPhaseSchema,
|
|
4653
|
-
reasonCode: nullableTrimmedStringSchema$
|
|
4682
|
+
reasonCode: nullableTrimmedStringSchema$10,
|
|
4654
4683
|
status: agentWakeAvailabilityStatusSchema,
|
|
4655
|
-
summary: trimmedNonEmptyStringSchema$
|
|
4656
|
-
tooltip: trimmedNonEmptyStringSchema$
|
|
4684
|
+
summary: trimmedNonEmptyStringSchema$11,
|
|
4685
|
+
tooltip: trimmedNonEmptyStringSchema$11
|
|
4657
4686
|
});
|
|
4658
4687
|
const agentExecutionReadinessSchema = z.strictObject({
|
|
4659
4688
|
agentProfileId: agentProfileIdSchema,
|
|
@@ -4666,7 +4695,7 @@ const agentExecutionReadinessSchema = z.strictObject({
|
|
|
4666
4695
|
facts: z.strictObject({
|
|
4667
4696
|
profile: z.strictObject({
|
|
4668
4697
|
active: z.boolean(),
|
|
4669
|
-
reasonCodes: z.array(trimmedNonEmptyStringSchema$
|
|
4698
|
+
reasonCodes: z.array(trimmedNonEmptyStringSchema$11),
|
|
4670
4699
|
source: z.enum([
|
|
4671
4700
|
"not_checked",
|
|
4672
4701
|
"profile_identity",
|
|
@@ -4674,7 +4703,7 @@ const agentExecutionReadinessSchema = z.strictObject({
|
|
|
4674
4703
|
])
|
|
4675
4704
|
}),
|
|
4676
4705
|
binding: z.strictObject({
|
|
4677
|
-
reasonCodes: z.array(trimmedNonEmptyStringSchema$
|
|
4706
|
+
reasonCodes: z.array(trimmedNonEmptyStringSchema$11),
|
|
4678
4707
|
routable: z.boolean(),
|
|
4679
4708
|
source: z.enum([
|
|
4680
4709
|
"binding_truth",
|
|
@@ -4687,7 +4716,7 @@ const agentExecutionReadinessSchema = z.strictObject({
|
|
|
4687
4716
|
claim: z.strictObject({
|
|
4688
4717
|
executionBlocked: z.boolean(),
|
|
4689
4718
|
grantsClaimSuccess: z.literal(false),
|
|
4690
|
-
reasonCodes: z.array(trimmedNonEmptyStringSchema$
|
|
4719
|
+
reasonCodes: z.array(trimmedNonEmptyStringSchema$11),
|
|
4691
4720
|
source: z.enum(["claim_diagnostics", "not_checked"])
|
|
4692
4721
|
}),
|
|
4693
4722
|
providerAccount: z.strictObject({
|
|
@@ -4695,20 +4724,20 @@ const agentExecutionReadinessSchema = z.strictObject({
|
|
|
4695
4724
|
expiresAtMs: z.number().int().nonnegative().nullable(),
|
|
4696
4725
|
observedAtMs: z.number().int().nonnegative().nullable(),
|
|
4697
4726
|
provider: z.union([z.literal("claude-code"), z.null()]),
|
|
4698
|
-
reasonCodes: z.array(trimmedNonEmptyStringSchema$
|
|
4727
|
+
reasonCodes: z.array(trimmedNonEmptyStringSchema$11),
|
|
4699
4728
|
source: z.enum(["not_checked", "wake_failure"])
|
|
4700
4729
|
}),
|
|
4701
4730
|
providerConversation: z.strictObject({
|
|
4702
|
-
agentControllerConversationId: nullableTrimmedStringSchema$
|
|
4703
|
-
errorCode: nullableTrimmedStringSchema$
|
|
4704
|
-
errorMessage: nullableTrimmedStringSchema$
|
|
4705
|
-
errorType: nullableTrimmedStringSchema$
|
|
4731
|
+
agentControllerConversationId: nullableTrimmedStringSchema$10,
|
|
4732
|
+
errorCode: nullableTrimmedStringSchema$10,
|
|
4733
|
+
errorMessage: nullableTrimmedStringSchema$10,
|
|
4734
|
+
errorType: nullableTrimmedStringSchema$10,
|
|
4706
4735
|
expiresAtMs: z.number().int().nonnegative().nullable(),
|
|
4707
4736
|
method: z.union([z.literal("codex_app_server_thread_resume"), z.null()]),
|
|
4708
4737
|
observedAtMs: z.number().int().nonnegative().nullable(),
|
|
4709
4738
|
provider: z.union([z.literal("codex"), z.null()]),
|
|
4710
4739
|
ready: z.boolean(),
|
|
4711
|
-
reasonCodes: z.array(trimmedNonEmptyStringSchema$
|
|
4740
|
+
reasonCodes: z.array(trimmedNonEmptyStringSchema$11),
|
|
4712
4741
|
required: z.boolean(),
|
|
4713
4742
|
source: z.enum([
|
|
4714
4743
|
"not_required",
|
|
@@ -4728,13 +4757,13 @@ const agentExecutionReadinessSchema = z.strictObject({
|
|
|
4728
4757
|
expiresAtMs: z.number().int().nonnegative().nullable(),
|
|
4729
4758
|
impactKind: z.union([agentExecutionReadinessImpactKindSchema, z.null()]),
|
|
4730
4759
|
observedAtMs: z.number().int().nonnegative().nullable(),
|
|
4731
|
-
reasonCodes: z.array(trimmedNonEmptyStringSchema$
|
|
4760
|
+
reasonCodes: z.array(trimmedNonEmptyStringSchema$11),
|
|
4732
4761
|
source: z.union([z.literal("not_checked"), agentExecutionReadinessImpactSourceSchema])
|
|
4733
4762
|
}),
|
|
4734
4763
|
localService: z.strictObject({
|
|
4735
4764
|
reachable: z.boolean(),
|
|
4736
4765
|
refreshable: z.boolean(),
|
|
4737
|
-
reasonCodes: z.array(trimmedNonEmptyStringSchema$
|
|
4766
|
+
reasonCodes: z.array(trimmedNonEmptyStringSchema$11),
|
|
4738
4767
|
source: z.enum([
|
|
4739
4768
|
"runtime_transport",
|
|
4740
4769
|
"not_checked",
|
|
@@ -4744,8 +4773,8 @@ const agentExecutionReadinessSchema = z.strictObject({
|
|
|
4744
4773
|
service: z.strictObject({
|
|
4745
4774
|
executionCompatible: z.boolean(),
|
|
4746
4775
|
expectedEpoch: z.literal(CURRENT_DAEMON_EXECUTION_CONTRACT_EPOCH),
|
|
4747
|
-
observedEpoch: z.union([trimmedNonEmptyStringSchema$
|
|
4748
|
-
reasonCodes: z.array(trimmedNonEmptyStringSchema$
|
|
4776
|
+
observedEpoch: z.union([trimmedNonEmptyStringSchema$11, z.null()]),
|
|
4777
|
+
reasonCodes: z.array(trimmedNonEmptyStringSchema$11),
|
|
4749
4778
|
source: z.enum([
|
|
4750
4779
|
"runtime_transport",
|
|
4751
4780
|
"not_checked",
|
|
@@ -4753,47 +4782,47 @@ const agentExecutionReadinessSchema = z.strictObject({
|
|
|
4753
4782
|
])
|
|
4754
4783
|
}),
|
|
4755
4784
|
route: z.strictObject({
|
|
4756
|
-
deviceId: nullableTrimmedStringSchema$
|
|
4785
|
+
deviceId: nullableTrimmedStringSchema$10,
|
|
4757
4786
|
lane: z.union([daemonServiceLaneSchema, z.null()]),
|
|
4758
|
-
observedAt: nullableIsoDateTimeSchema$
|
|
4787
|
+
observedAt: nullableIsoDateTimeSchema$6,
|
|
4759
4788
|
online: z.boolean(),
|
|
4760
|
-
reasonCodes: z.array(trimmedNonEmptyStringSchema$
|
|
4789
|
+
reasonCodes: z.array(trimmedNonEmptyStringSchema$11),
|
|
4761
4790
|
source: z.enum(["daemon_route", "missing"])
|
|
4762
4791
|
}),
|
|
4763
4792
|
runtime: z.strictObject({
|
|
4764
4793
|
ready: z.boolean(),
|
|
4765
|
-
reasonCodes: z.array(trimmedNonEmptyStringSchema$
|
|
4794
|
+
reasonCodes: z.array(trimmedNonEmptyStringSchema$11),
|
|
4766
4795
|
source: z.enum(["missing", "prepare_readiness"])
|
|
4767
4796
|
})
|
|
4768
4797
|
}),
|
|
4769
4798
|
primaryAction: agentExecutionReadinessPrimaryActionSchema,
|
|
4770
|
-
reasonCodes: z.array(trimmedNonEmptyStringSchema$
|
|
4799
|
+
reasonCodes: z.array(trimmedNonEmptyStringSchema$11)
|
|
4771
4800
|
});
|
|
4772
4801
|
const getAgentExecutionReadinessResponseSchema = z.strictObject({
|
|
4773
4802
|
agentExecutionReadiness: agentExecutionReadinessSchema,
|
|
4774
4803
|
agentWakeAvailability: agentWakeAvailabilitySchema,
|
|
4775
4804
|
agentWakeRouteRegistration: agentWakeRouteRegistrationSchema,
|
|
4776
4805
|
agentProfileId: agentProfileIdSchema,
|
|
4777
|
-
agentControllerRef: nullableTrimmedStringSchema$
|
|
4778
|
-
generatedAt: ISO_DATE_TIME_SCHEMA$
|
|
4779
|
-
ownerUserId: nullableTrimmedStringSchema$
|
|
4806
|
+
agentControllerRef: nullableTrimmedStringSchema$10,
|
|
4807
|
+
generatedAt: ISO_DATE_TIME_SCHEMA$12,
|
|
4808
|
+
ownerUserId: nullableTrimmedStringSchema$10,
|
|
4780
4809
|
primaryBinding: agentProfileBindingProjectionSchema.nullable().optional(),
|
|
4781
4810
|
primaryActionPlan: agentExecutionReadinessPrimaryActionPlanSchema,
|
|
4782
|
-
profileName: nullableTrimmedStringSchema$
|
|
4783
|
-
routeDeviceId: nullableTrimmedStringSchema$
|
|
4811
|
+
profileName: nullableTrimmedStringSchema$10,
|
|
4812
|
+
routeDeviceId: nullableTrimmedStringSchema$10,
|
|
4784
4813
|
routeLane: z.union([daemonServiceLaneSchema, z.null()]),
|
|
4785
|
-
runtimeDeviceDisplayName: nullableTrimmedStringSchema$
|
|
4814
|
+
runtimeDeviceDisplayName: nullableTrimmedStringSchema$10,
|
|
4786
4815
|
wakeRouteEvidence: wakeRouteEvidenceSchema,
|
|
4787
4816
|
wakeRouteStatus: wakeRouteStatusSchema
|
|
4788
4817
|
});
|
|
4789
4818
|
const getAgentExecutionReadinessBatchResponseSchema = z.strictObject({ items: z.array(getAgentExecutionReadinessResponseSchema) });
|
|
4790
|
-
const ISO_DATE_TIME_SCHEMA$
|
|
4819
|
+
const ISO_DATE_TIME_SCHEMA$11 = z.iso.datetime({ offset: true });
|
|
4791
4820
|
const MAX_SPACE_MEMBERS_BATCH_SIZE = 100;
|
|
4792
|
-
const trimmedNonEmptyStringSchema$
|
|
4821
|
+
const trimmedNonEmptyStringSchema$10 = z.string().trim().min(1);
|
|
4793
4822
|
const profileIdSchema = wakeLoopRuntimeProfileIdSchema;
|
|
4794
|
-
const nullableTrimmedStringSchema$
|
|
4823
|
+
const nullableTrimmedStringSchema$9 = z.union([trimmedNonEmptyStringSchema$10, z.null()]);
|
|
4795
4824
|
const nullableRuntimeProfileIdSchema = z.union([profileIdSchema, z.null()]);
|
|
4796
|
-
const nullableIsoDateTimeSchema$
|
|
4825
|
+
const nullableIsoDateTimeSchema$5 = z.union([ISO_DATE_TIME_SCHEMA$11, z.null()]);
|
|
4797
4826
|
const retiredAgentSnapshotKeys = new Set([
|
|
4798
4827
|
"agentExecutionReadiness",
|
|
4799
4828
|
"daemonRouteObservation",
|
|
@@ -4846,33 +4875,33 @@ const spaceMemberAgentOwnerWakeDiagnosticsSchema = z.object({
|
|
|
4846
4875
|
});
|
|
4847
4876
|
const baseSpaceMemberSnapshotSchema = z.object({
|
|
4848
4877
|
profileId: profileIdSchema,
|
|
4849
|
-
profileName: trimmedNonEmptyStringSchema$
|
|
4878
|
+
profileName: trimmedNonEmptyStringSchema$10,
|
|
4850
4879
|
profileKind: spaceMemberKindSchema,
|
|
4851
4880
|
status: spaceMemberStatusSchema,
|
|
4852
4881
|
memberSource: spaceMemberSourceSchema,
|
|
4853
|
-
memberSourceLabel: trimmedNonEmptyStringSchema$
|
|
4854
|
-
addedAt: ISO_DATE_TIME_SCHEMA$
|
|
4855
|
-
removedAt: nullableIsoDateTimeSchema$
|
|
4856
|
-
createdAt: ISO_DATE_TIME_SCHEMA$
|
|
4857
|
-
updatedAt: ISO_DATE_TIME_SCHEMA$
|
|
4882
|
+
memberSourceLabel: trimmedNonEmptyStringSchema$10,
|
|
4883
|
+
addedAt: ISO_DATE_TIME_SCHEMA$11,
|
|
4884
|
+
removedAt: nullableIsoDateTimeSchema$5,
|
|
4885
|
+
createdAt: ISO_DATE_TIME_SCHEMA$11,
|
|
4886
|
+
updatedAt: ISO_DATE_TIME_SCHEMA$11,
|
|
4858
4887
|
addedByProfileId: nullableRuntimeProfileIdSchema,
|
|
4859
|
-
addedByOwnerUserId: nullableTrimmedStringSchema$
|
|
4860
|
-
addedByDisplayName: nullableTrimmedStringSchema$
|
|
4888
|
+
addedByOwnerUserId: nullableTrimmedStringSchema$9,
|
|
4889
|
+
addedByDisplayName: nullableTrimmedStringSchema$9,
|
|
4861
4890
|
removedByProfileId: nullableRuntimeProfileIdSchema,
|
|
4862
|
-
removedByOwnerUserId: nullableTrimmedStringSchema$
|
|
4863
|
-
removalReason: nullableTrimmedStringSchema$
|
|
4864
|
-
firstEnteredAt: nullableIsoDateTimeSchema$
|
|
4865
|
-
lastEnteredAt: nullableIsoDateTimeSchema$
|
|
4866
|
-
lastSeenAt: nullableIsoDateTimeSchema$
|
|
4867
|
-
lastSeenLabel: nullableTrimmedStringSchema$
|
|
4891
|
+
removedByOwnerUserId: nullableTrimmedStringSchema$9,
|
|
4892
|
+
removalReason: nullableTrimmedStringSchema$9,
|
|
4893
|
+
firstEnteredAt: nullableIsoDateTimeSchema$5,
|
|
4894
|
+
lastEnteredAt: nullableIsoDateTimeSchema$5,
|
|
4895
|
+
lastSeenAt: nullableIsoDateTimeSchema$5,
|
|
4896
|
+
lastSeenLabel: nullableTrimmedStringSchema$9,
|
|
4868
4897
|
liveNow: z.boolean(),
|
|
4869
|
-
avatarUrl: nullableTrimmedStringSchema$
|
|
4898
|
+
avatarUrl: nullableTrimmedStringSchema$9.optional()
|
|
4870
4899
|
});
|
|
4871
4900
|
const spaceMemberHumanSnapshotSchema = baseSpaceMemberSnapshotSchema.extend({
|
|
4872
4901
|
profileKind: z.literal("human"),
|
|
4873
|
-
mentionAlias: nullableTrimmedStringSchema$
|
|
4874
|
-
ownerUserId: nullableTrimmedStringSchema$
|
|
4875
|
-
ownerName: nullableTrimmedStringSchema$
|
|
4902
|
+
mentionAlias: nullableTrimmedStringSchema$9,
|
|
4903
|
+
ownerUserId: nullableTrimmedStringSchema$9,
|
|
4904
|
+
ownerName: nullableTrimmedStringSchema$9
|
|
4876
4905
|
}).superRefine((value, ctx) => {
|
|
4877
4906
|
validateRuntimeProfileIdForMemberKind({
|
|
4878
4907
|
profileId: value.profileId,
|
|
@@ -4883,13 +4912,13 @@ const spaceMemberHumanSnapshotSchema = baseSpaceMemberSnapshotSchema.extend({
|
|
|
4883
4912
|
});
|
|
4884
4913
|
const spaceMemberAgentSnapshotSchema = rejectRetiredAgentSnapshotKeysSchema.pipe(baseSpaceMemberSnapshotSchema.extend({
|
|
4885
4914
|
profileKind: z.literal("agent"),
|
|
4886
|
-
mentionAlias: nullableTrimmedStringSchema$
|
|
4887
|
-
ownerUserId: nullableTrimmedStringSchema$
|
|
4888
|
-
ownerName: nullableTrimmedStringSchema$
|
|
4889
|
-
agentControllerRef: nullableTrimmedStringSchema$
|
|
4915
|
+
mentionAlias: nullableTrimmedStringSchema$9,
|
|
4916
|
+
ownerUserId: nullableTrimmedStringSchema$9,
|
|
4917
|
+
ownerName: nullableTrimmedStringSchema$9,
|
|
4918
|
+
agentControllerRef: nullableTrimmedStringSchema$9,
|
|
4890
4919
|
agentControllerPermissionMode: agentControllerPermissionModeSchema.optional(),
|
|
4891
|
-
runtimeDeviceDisplayName: nullableTrimmedStringSchema$
|
|
4892
|
-
agentControllerConversationId: nullableTrimmedStringSchema$
|
|
4920
|
+
runtimeDeviceDisplayName: nullableTrimmedStringSchema$9.optional(),
|
|
4921
|
+
agentControllerConversationId: nullableTrimmedStringSchema$9,
|
|
4893
4922
|
modelSelection: agentProfileBindingModelSelectionSchema.optional(),
|
|
4894
4923
|
workingDirectory: profileWorkingDirectorySchema.nullable().optional(),
|
|
4895
4924
|
agentWakeAvailability: spaceMemberAgentWakeAvailabilitySchema.optional(),
|
|
@@ -4913,8 +4942,8 @@ const spaceMembersSummarySchema = z.object({
|
|
|
4913
4942
|
unavailableAgentCount: z.number().int().min(0).optional()
|
|
4914
4943
|
});
|
|
4915
4944
|
const spaceMembersSnapshotSchema = z.object({
|
|
4916
|
-
spaceId: trimmedNonEmptyStringSchema$
|
|
4917
|
-
generatedAt: ISO_DATE_TIME_SCHEMA$
|
|
4945
|
+
spaceId: trimmedNonEmptyStringSchema$10,
|
|
4946
|
+
generatedAt: ISO_DATE_TIME_SCHEMA$11,
|
|
4918
4947
|
summary: spaceMembersSummarySchema,
|
|
4919
4948
|
humans: z.array(spaceMemberHumanSnapshotSchema),
|
|
4920
4949
|
agents: z.array(spaceMemberAgentSnapshotSchema)
|
|
@@ -4985,22 +5014,22 @@ const spaceMembersSnapshotSchema = z.object({
|
|
|
4985
5014
|
const spaceViewerMembershipProfileSchema = z.strictObject({
|
|
4986
5015
|
profileId: profileIdSchema,
|
|
4987
5016
|
profileKind: spaceMemberKindSchema,
|
|
4988
|
-
profileName: trimmedNonEmptyStringSchema$
|
|
4989
|
-
lastEnteredAt: nullableIsoDateTimeSchema$
|
|
5017
|
+
profileName: trimmedNonEmptyStringSchema$10,
|
|
5018
|
+
lastEnteredAt: nullableIsoDateTimeSchema$5
|
|
4990
5019
|
});
|
|
4991
5020
|
const spaceViewerMembershipResponseSchema = z.strictObject({
|
|
4992
|
-
spaceId: trimmedNonEmptyStringSchema$
|
|
5021
|
+
spaceId: trimmedNonEmptyStringSchema$10,
|
|
4993
5022
|
activeMemberProfiles: z.array(spaceViewerMembershipProfileSchema),
|
|
4994
5023
|
preferredOpenProfileId: nullableRuntimeProfileIdSchema
|
|
4995
5024
|
});
|
|
4996
5025
|
const spaceIdentityDirectoryEntrySchema = z.strictObject({
|
|
4997
5026
|
profileId: profileIdSchema,
|
|
4998
|
-
profileName: trimmedNonEmptyStringSchema$
|
|
5027
|
+
profileName: trimmedNonEmptyStringSchema$10,
|
|
4999
5028
|
profileKind: spaceMemberKindSchema,
|
|
5000
|
-
mentionAlias: nullableTrimmedStringSchema$
|
|
5001
|
-
ownerUserId: nullableTrimmedStringSchema$
|
|
5002
|
-
ownerName: nullableTrimmedStringSchema$
|
|
5003
|
-
agentControllerRef: nullableTrimmedStringSchema$
|
|
5029
|
+
mentionAlias: nullableTrimmedStringSchema$9,
|
|
5030
|
+
ownerUserId: nullableTrimmedStringSchema$9,
|
|
5031
|
+
ownerName: nullableTrimmedStringSchema$9,
|
|
5032
|
+
agentControllerRef: nullableTrimmedStringSchema$9
|
|
5004
5033
|
}).superRefine((value, ctx) => {
|
|
5005
5034
|
validateRuntimeProfileIdForMemberKind({
|
|
5006
5035
|
profileId: value.profileId,
|
|
@@ -5010,8 +5039,8 @@ const spaceIdentityDirectoryEntrySchema = z.strictObject({
|
|
|
5010
5039
|
});
|
|
5011
5040
|
});
|
|
5012
5041
|
const spaceIdentityDirectorySchema = z.strictObject({
|
|
5013
|
-
spaceId: trimmedNonEmptyStringSchema$
|
|
5014
|
-
generatedAt: ISO_DATE_TIME_SCHEMA$
|
|
5042
|
+
spaceId: trimmedNonEmptyStringSchema$10,
|
|
5043
|
+
generatedAt: ISO_DATE_TIME_SCHEMA$11,
|
|
5015
5044
|
entries: z.array(spaceIdentityDirectoryEntrySchema)
|
|
5016
5045
|
});
|
|
5017
5046
|
const spaceMemberDirectoryAllowedRelationsSchema = z.strictObject({
|
|
@@ -5020,23 +5049,23 @@ const spaceMemberDirectoryAllowedRelationsSchema = z.strictObject({
|
|
|
5020
5049
|
cc: z.boolean()
|
|
5021
5050
|
});
|
|
5022
5051
|
const spaceMemberDirectoryCardSchema = z.strictObject({
|
|
5023
|
-
role: nullableTrimmedStringSchema$
|
|
5024
|
-
roleDescription: nullableTrimmedStringSchema$
|
|
5052
|
+
role: nullableTrimmedStringSchema$9,
|
|
5053
|
+
roleDescription: nullableTrimmedStringSchema$9
|
|
5025
5054
|
});
|
|
5026
5055
|
const spaceMemberDirectoryEntrySchema = z.strictObject({
|
|
5027
5056
|
profileId: profileIdSchema,
|
|
5028
5057
|
profileKind: spaceMemberKindSchema,
|
|
5029
|
-
displayName: trimmedNonEmptyStringSchema$
|
|
5058
|
+
displayName: trimmedNonEmptyStringSchema$10,
|
|
5030
5059
|
primaryMentionLabel: spaceMentionLabelSchema,
|
|
5031
5060
|
mentionLabels: z.array(spaceMentionLabelSchema).min(1),
|
|
5032
|
-
mentionAlias: nullableTrimmedStringSchema$
|
|
5061
|
+
mentionAlias: nullableTrimmedStringSchema$9,
|
|
5033
5062
|
labelSource: spaceMentionLabelSourceSchema,
|
|
5034
|
-
lookupTokens: z.array(trimmedNonEmptyStringSchema$
|
|
5035
|
-
preferredLookupToken: trimmedNonEmptyStringSchema$
|
|
5036
|
-
profileIdShort: trimmedNonEmptyStringSchema$
|
|
5063
|
+
lookupTokens: z.array(trimmedNonEmptyStringSchema$10).min(1),
|
|
5064
|
+
preferredLookupToken: trimmedNonEmptyStringSchema$10,
|
|
5065
|
+
profileIdShort: trimmedNonEmptyStringSchema$10,
|
|
5037
5066
|
allowedRelations: spaceMemberDirectoryAllowedRelationsSchema,
|
|
5038
|
-
ownerUserId: nullableTrimmedStringSchema$
|
|
5039
|
-
ownerName: nullableTrimmedStringSchema$
|
|
5067
|
+
ownerUserId: nullableTrimmedStringSchema$9,
|
|
5068
|
+
ownerName: nullableTrimmedStringSchema$9,
|
|
5040
5069
|
agentCard: z.union([spaceMemberDirectoryCardSchema, z.null()]),
|
|
5041
5070
|
spaceRole: z.union([spaceMemberDirectoryCardSchema, z.null()])
|
|
5042
5071
|
}).superRefine((value, ctx) => {
|
|
@@ -5058,19 +5087,19 @@ const spaceMemberDirectoryEntrySchema = z.strictObject({
|
|
|
5058
5087
|
});
|
|
5059
5088
|
});
|
|
5060
5089
|
const spaceMemberDirectorySchema = z.strictObject({
|
|
5061
|
-
spaceId: trimmedNonEmptyStringSchema$
|
|
5062
|
-
generatedAt: ISO_DATE_TIME_SCHEMA$
|
|
5090
|
+
spaceId: trimmedNonEmptyStringSchema$10,
|
|
5091
|
+
generatedAt: ISO_DATE_TIME_SCHEMA$11,
|
|
5063
5092
|
members: z.array(spaceMemberDirectoryEntrySchema)
|
|
5064
5093
|
});
|
|
5065
5094
|
const postSpaceMembersBodySchema = z.strictObject({ memberProfileIds: z.array(profileIdSchema).min(1).max(MAX_SPACE_MEMBERS_BATCH_SIZE) });
|
|
5066
5095
|
const removeSpaceMembersBodySchema = z.strictObject({ memberProfileIds: z.array(profileIdSchema).min(1).max(MAX_SPACE_MEMBERS_BATCH_SIZE) });
|
|
5067
5096
|
const resolvedSpaceMemberProfileSchema = z.strictObject({
|
|
5068
5097
|
profileId: profileIdSchema,
|
|
5069
|
-
profileName: trimmedNonEmptyStringSchema$
|
|
5098
|
+
profileName: trimmedNonEmptyStringSchema$10,
|
|
5070
5099
|
profileKind: spaceMemberKindSchema,
|
|
5071
|
-
ownerUserId: nullableTrimmedStringSchema$
|
|
5072
|
-
ownerName: nullableTrimmedStringSchema$
|
|
5073
|
-
agentControllerRef: nullableTrimmedStringSchema$
|
|
5100
|
+
ownerUserId: nullableTrimmedStringSchema$9,
|
|
5101
|
+
ownerName: nullableTrimmedStringSchema$9,
|
|
5102
|
+
agentControllerRef: nullableTrimmedStringSchema$9
|
|
5074
5103
|
}).superRefine((value, ctx) => {
|
|
5075
5104
|
validateRuntimeProfileIdForMemberKind({
|
|
5076
5105
|
profileId: value.profileId,
|
|
@@ -5529,8 +5558,8 @@ const daemonBootstrapRecommendationResultSchema = z.strictObject({
|
|
|
5529
5558
|
code: z.literal("daemon.bootstrap.recommended"),
|
|
5530
5559
|
payload: daemonBootstrapRecommendationPayloadSchema
|
|
5531
5560
|
});
|
|
5532
|
-
const trimmedNonEmptyStringSchema$
|
|
5533
|
-
const nullableTrimmedStringSchema$
|
|
5561
|
+
const trimmedNonEmptyStringSchema$9 = z.string().trim().min(1);
|
|
5562
|
+
const nullableTrimmedStringSchema$8 = z.union([trimmedNonEmptyStringSchema$9, z.null()]);
|
|
5534
5563
|
const DB_FACT_SCHEMA_VERSION = 3;
|
|
5535
5564
|
const dbFactModeSchema = z.enum(["runtime", "tooling"]);
|
|
5536
5565
|
const dbFactPhaseSchema = z.enum(["refactor_no_physical_change", "migration_phase"]);
|
|
@@ -5558,10 +5587,10 @@ const dbFactSubjectSchema = z.enum([
|
|
|
5558
5587
|
"shared"
|
|
5559
5588
|
]);
|
|
5560
5589
|
const dbFactSourceSchema = z.strictObject({
|
|
5561
|
-
kind: trimmedNonEmptyStringSchema$
|
|
5562
|
-
owner: trimmedNonEmptyStringSchema$
|
|
5563
|
-
path: trimmedNonEmptyStringSchema$
|
|
5564
|
-
note: nullableTrimmedStringSchema$
|
|
5590
|
+
kind: trimmedNonEmptyStringSchema$9,
|
|
5591
|
+
owner: trimmedNonEmptyStringSchema$9,
|
|
5592
|
+
path: trimmedNonEmptyStringSchema$9,
|
|
5593
|
+
note: nullableTrimmedStringSchema$8
|
|
5565
5594
|
});
|
|
5566
5595
|
const dbFactTargetSchema = z.strictObject({
|
|
5567
5596
|
targetKind: z.enum([
|
|
@@ -5569,31 +5598,31 @@ const dbFactTargetSchema = z.strictObject({
|
|
|
5569
5598
|
"d1_local_sqlite",
|
|
5570
5599
|
"d1_http"
|
|
5571
5600
|
]),
|
|
5572
|
-
bindingName: trimmedNonEmptyStringSchema$
|
|
5573
|
-
databaseId: nullableTrimmedStringSchema$
|
|
5574
|
-
databaseName: nullableTrimmedStringSchema$
|
|
5575
|
-
localPath: nullableTrimmedStringSchema$
|
|
5576
|
-
resolvedFrom: nullableTrimmedStringSchema$
|
|
5601
|
+
bindingName: trimmedNonEmptyStringSchema$9,
|
|
5602
|
+
databaseId: nullableTrimmedStringSchema$8,
|
|
5603
|
+
databaseName: nullableTrimmedStringSchema$8,
|
|
5604
|
+
localPath: nullableTrimmedStringSchema$8,
|
|
5605
|
+
resolvedFrom: nullableTrimmedStringSchema$8
|
|
5577
5606
|
});
|
|
5578
5607
|
const dbDebtRegistryItemSchema = z.strictObject({
|
|
5579
|
-
id: trimmedNonEmptyStringSchema$
|
|
5608
|
+
id: trimmedNonEmptyStringSchema$9,
|
|
5580
5609
|
service: dbFactServiceSchema,
|
|
5581
|
-
path: trimmedNonEmptyStringSchema$
|
|
5582
|
-
marker: trimmedNonEmptyStringSchema$
|
|
5583
|
-
owner: trimmedNonEmptyStringSchema$
|
|
5584
|
-
keepReason: trimmedNonEmptyStringSchema$
|
|
5585
|
-
replacementDirection: trimmedNonEmptyStringSchema$
|
|
5586
|
-
note: nullableTrimmedStringSchema$
|
|
5610
|
+
path: trimmedNonEmptyStringSchema$9,
|
|
5611
|
+
marker: trimmedNonEmptyStringSchema$9,
|
|
5612
|
+
owner: trimmedNonEmptyStringSchema$9,
|
|
5613
|
+
keepReason: trimmedNonEmptyStringSchema$9,
|
|
5614
|
+
replacementDirection: trimmedNonEmptyStringSchema$9,
|
|
5615
|
+
note: nullableTrimmedStringSchema$8
|
|
5587
5616
|
});
|
|
5588
5617
|
const dbFactSnapshotSchema = z.strictObject({
|
|
5589
5618
|
subject: dbFactSubjectSchema,
|
|
5590
5619
|
mode: dbFactModeSchema,
|
|
5591
|
-
bindingName: trimmedNonEmptyStringSchema$
|
|
5620
|
+
bindingName: trimmedNonEmptyStringSchema$9,
|
|
5592
5621
|
schemaSources: z.array(dbFactSourceSchema),
|
|
5593
5622
|
migrationSources: z.array(dbFactSourceSchema),
|
|
5594
5623
|
target: dbFactTargetSchema,
|
|
5595
|
-
d1LocalDbPath: nullableTrimmedStringSchema$
|
|
5596
|
-
notes: z.array(trimmedNonEmptyStringSchema$
|
|
5624
|
+
d1LocalDbPath: nullableTrimmedStringSchema$8,
|
|
5625
|
+
notes: z.array(trimmedNonEmptyStringSchema$9)
|
|
5597
5626
|
});
|
|
5598
5627
|
const dbDiagnosticsPayloadSchema = z.strictObject({
|
|
5599
5628
|
contractVersion: z.literal(DB_FACT_SCHEMA_VERSION),
|
|
@@ -5602,26 +5631,26 @@ const dbDiagnosticsPayloadSchema = z.strictObject({
|
|
|
5602
5631
|
});
|
|
5603
5632
|
const dbCommandFactSummarySchema = z.strictObject({
|
|
5604
5633
|
contractVersion: z.literal(DB_FACT_SCHEMA_VERSION),
|
|
5605
|
-
command: trimmedNonEmptyStringSchema$
|
|
5606
|
-
cwd: trimmedNonEmptyStringSchema$
|
|
5634
|
+
command: trimmedNonEmptyStringSchema$9,
|
|
5635
|
+
cwd: trimmedNonEmptyStringSchema$9,
|
|
5607
5636
|
phase: dbFactPhaseSchema,
|
|
5608
5637
|
subject: dbFactSubjectSchema,
|
|
5609
5638
|
result: dbFactResultSchema,
|
|
5610
|
-
blockedReason: nullableTrimmedStringSchema$
|
|
5639
|
+
blockedReason: nullableTrimmedStringSchema$8,
|
|
5611
5640
|
snapshot: dbFactSnapshotSchema
|
|
5612
5641
|
});
|
|
5613
5642
|
const dbInspectionCheckSchema = z.strictObject({
|
|
5614
5643
|
status: dbInspectionCheckStatusSchema,
|
|
5615
|
-
detail: nullableTrimmedStringSchema$
|
|
5644
|
+
detail: nullableTrimmedStringSchema$8
|
|
5616
5645
|
});
|
|
5617
5646
|
const dbInspectionSummarySchema = z.strictObject({
|
|
5618
5647
|
contractVersion: z.literal(DB_FACT_SCHEMA_VERSION),
|
|
5619
|
-
command: trimmedNonEmptyStringSchema$
|
|
5620
|
-
cwd: trimmedNonEmptyStringSchema$
|
|
5648
|
+
command: trimmedNonEmptyStringSchema$9,
|
|
5649
|
+
cwd: trimmedNonEmptyStringSchema$9,
|
|
5621
5650
|
subject: z.literal("shared"),
|
|
5622
5651
|
mode: dbInspectionModeSchema,
|
|
5623
5652
|
result: dbInspectionResultSchema,
|
|
5624
|
-
blockedReason: nullableTrimmedStringSchema$
|
|
5653
|
+
blockedReason: nullableTrimmedStringSchema$8,
|
|
5625
5654
|
snapshot: dbFactSnapshotSchema.extend({
|
|
5626
5655
|
subject: z.literal("shared"),
|
|
5627
5656
|
mode: z.literal("tooling")
|
|
@@ -5630,17 +5659,17 @@ const dbInspectionSummarySchema = z.strictObject({
|
|
|
5630
5659
|
legacyCoreDispatchShape: dbInspectionCheckSchema,
|
|
5631
5660
|
sharedCoreDispatchPhysicalContract: dbInspectionCheckSchema
|
|
5632
5661
|
}),
|
|
5633
|
-
notes: z.array(trimmedNonEmptyStringSchema$
|
|
5662
|
+
notes: z.array(trimmedNonEmptyStringSchema$9)
|
|
5634
5663
|
});
|
|
5635
|
-
const ISO_DATE_TIME_SCHEMA$
|
|
5664
|
+
const ISO_DATE_TIME_SCHEMA$10 = z.iso.datetime({ offset: true });
|
|
5636
5665
|
const GATEWAY_HOST_MAX_LENGTH$1 = 255;
|
|
5637
5666
|
const PROFILE_SPACE_HISTORY_MAX_LIMIT = 500;
|
|
5638
5667
|
const NON_NEGATIVE_INT_RE$2 = /^\d+$/;
|
|
5639
5668
|
const GATEWAY_HOST_PATH_CHARS_RE$1 = /[/?#]/;
|
|
5640
|
-
const trimmedNonEmptyStringSchema$
|
|
5641
|
-
const nullableTrimmedStringSchema$
|
|
5669
|
+
const trimmedNonEmptyStringSchema$8 = z.string().trim().min(1);
|
|
5670
|
+
const nullableTrimmedStringSchema$7 = z.union([trimmedNonEmptyStringSchema$8, z.null()]);
|
|
5642
5671
|
const nullableNonNegativeIntSchema$1 = z.union([z.number().int().min(0), z.null()]);
|
|
5643
|
-
const nullableIsoDateTimeSchema$
|
|
5672
|
+
const nullableIsoDateTimeSchema$4 = z.union([ISO_DATE_TIME_SCHEMA$10, z.null()]);
|
|
5644
5673
|
const profileSpaceHistoryGatewayHostSchema = z.string().transform((value, ctx) => {
|
|
5645
5674
|
const normalized = value.trim().toLowerCase();
|
|
5646
5675
|
if (normalized.length === 0) {
|
|
@@ -5709,20 +5738,20 @@ const profileSpaceHistoryStatusListSchema = z.union([profileSpaceHistoryStatusSc
|
|
|
5709
5738
|
return Array.isArray(value) ? value : [value];
|
|
5710
5739
|
});
|
|
5711
5740
|
const profileSpaceHistoryRecordSchema = z.strictObject({
|
|
5712
|
-
profileId: trimmedNonEmptyStringSchema$
|
|
5741
|
+
profileId: trimmedNonEmptyStringSchema$8,
|
|
5713
5742
|
gatewayHost: profileSpaceHistoryGatewayHostSchema,
|
|
5714
|
-
spaceId: trimmedNonEmptyStringSchema$
|
|
5715
|
-
spaceName: nullableTrimmedStringSchema$
|
|
5716
|
-
creatorProfileId: nullableTrimmedStringSchema$
|
|
5743
|
+
spaceId: trimmedNonEmptyStringSchema$8,
|
|
5744
|
+
spaceName: nullableTrimmedStringSchema$7,
|
|
5745
|
+
creatorProfileId: nullableTrimmedStringSchema$7,
|
|
5717
5746
|
creatorKind: z.union([profileSpaceCreatorKindSchema, z.null()]),
|
|
5718
|
-
spaceCreatedAt: nullableIsoDateTimeSchema$
|
|
5719
|
-
spaceUpdatedAt: nullableIsoDateTimeSchema$
|
|
5720
|
-
lastJoinedAt: ISO_DATE_TIME_SCHEMA$
|
|
5747
|
+
spaceCreatedAt: nullableIsoDateTimeSchema$4,
|
|
5748
|
+
spaceUpdatedAt: nullableIsoDateTimeSchema$4,
|
|
5749
|
+
lastJoinedAt: ISO_DATE_TIME_SCHEMA$10,
|
|
5721
5750
|
lastSeenTs: nullableNonNegativeIntSchema$1,
|
|
5722
|
-
pinnedAt: nullableIsoDateTimeSchema$
|
|
5751
|
+
pinnedAt: nullableIsoDateTimeSchema$4,
|
|
5723
5752
|
status: profileSpaceHistoryStatusSchema,
|
|
5724
|
-
createdAt: ISO_DATE_TIME_SCHEMA$
|
|
5725
|
-
updatedAt: ISO_DATE_TIME_SCHEMA$
|
|
5753
|
+
createdAt: ISO_DATE_TIME_SCHEMA$10,
|
|
5754
|
+
updatedAt: ISO_DATE_TIME_SCHEMA$10
|
|
5726
5755
|
});
|
|
5727
5756
|
const listProfileSpaceHistoryQuerySchema = z.strictObject({
|
|
5728
5757
|
gatewayHost: profileSpaceHistoryGatewayHostSchema,
|
|
@@ -5742,14 +5771,14 @@ const profileSpaceHistorySpaceIndexOverlaySchema = z.strictObject({
|
|
|
5742
5771
|
});
|
|
5743
5772
|
const upsertProfileSpaceHistoryBodySchema = z.strictObject({
|
|
5744
5773
|
gatewayHost: profileSpaceHistoryGatewayHostSchema,
|
|
5745
|
-
spaceName: nullableTrimmedStringSchema$
|
|
5746
|
-
creatorProfileId: nullableTrimmedStringSchema$
|
|
5774
|
+
spaceName: nullableTrimmedStringSchema$7.optional(),
|
|
5775
|
+
creatorProfileId: nullableTrimmedStringSchema$7.optional(),
|
|
5747
5776
|
creatorKind: z.union([profileSpaceCreatorKindSchema, z.null()]).optional(),
|
|
5748
|
-
spaceCreatedAt: nullableIsoDateTimeSchema$
|
|
5749
|
-
spaceUpdatedAt: nullableIsoDateTimeSchema$
|
|
5750
|
-
lastJoinedAt: ISO_DATE_TIME_SCHEMA$
|
|
5777
|
+
spaceCreatedAt: nullableIsoDateTimeSchema$4.optional(),
|
|
5778
|
+
spaceUpdatedAt: nullableIsoDateTimeSchema$4.optional(),
|
|
5779
|
+
lastJoinedAt: ISO_DATE_TIME_SCHEMA$10.optional(),
|
|
5751
5780
|
lastSeenTs: nullableNonNegativeIntSchema$1.optional(),
|
|
5752
|
-
pinnedAt: nullableIsoDateTimeSchema$
|
|
5781
|
+
pinnedAt: nullableIsoDateTimeSchema$4.optional(),
|
|
5753
5782
|
status: profileSpaceHistoryStatusSchema.optional()
|
|
5754
5783
|
});
|
|
5755
5784
|
const upsertProfileSpaceHistoryResponseSchema = z.strictObject({
|
|
@@ -5762,17 +5791,83 @@ const patchProfileSpaceHistoryStatusBodySchema = z.strictObject({
|
|
|
5762
5791
|
reason: z.string().trim().min(1).max(500).optional()
|
|
5763
5792
|
});
|
|
5764
5793
|
const patchProfileSpaceHistoryStatusResponseSchema = z.strictObject({
|
|
5765
|
-
profileId: trimmedNonEmptyStringSchema$
|
|
5794
|
+
profileId: trimmedNonEmptyStringSchema$8,
|
|
5766
5795
|
gatewayHost: profileSpaceHistoryGatewayHostSchema,
|
|
5767
|
-
spaceId: trimmedNonEmptyStringSchema$
|
|
5796
|
+
spaceId: trimmedNonEmptyStringSchema$8,
|
|
5768
5797
|
status: profileSpaceHistoryStatusSchema,
|
|
5769
|
-
updatedAt: ISO_DATE_TIME_SCHEMA$
|
|
5798
|
+
updatedAt: ISO_DATE_TIME_SCHEMA$10
|
|
5770
5799
|
});
|
|
5771
|
-
const
|
|
5772
|
-
|
|
5773
|
-
|
|
5800
|
+
const SPACE_ACCESS_MODES = [
|
|
5801
|
+
"public",
|
|
5802
|
+
"public_view_join_password",
|
|
5803
|
+
"protected"
|
|
5804
|
+
];
|
|
5805
|
+
const spaceAccessModeSchema = z.enum(SPACE_ACCESS_MODES);
|
|
5806
|
+
const setSpaceAccessModeBodySchema = z.strictObject({
|
|
5807
|
+
accessMode: spaceAccessModeSchema,
|
|
5808
|
+
password: spacePasswordSchema.optional()
|
|
5809
|
+
});
|
|
5810
|
+
const spaceAccessModeStateSchema = z.strictObject({
|
|
5811
|
+
spaceId: z.string().trim().min(1),
|
|
5812
|
+
accessMode: spaceAccessModeSchema,
|
|
5813
|
+
passwordProtected: z.boolean()
|
|
5814
|
+
});
|
|
5815
|
+
const trimmedNonEmptyStringSchema$7 = z.string().trim().min(1);
|
|
5816
|
+
const isoDateTimeSchema$2 = z.iso.datetime({ offset: true });
|
|
5817
|
+
const spaceOrganizationVisibilitySchema = z.enum(["public", "private"]);
|
|
5818
|
+
const spaceCreatorSchema = z.strictObject({
|
|
5819
|
+
profileId: wakeLoopRuntimeProfileIdSchema,
|
|
5820
|
+
profileName: trimmedNonEmptyStringSchema$7.optional(),
|
|
5821
|
+
kind: profileKindSchema.optional(),
|
|
5822
|
+
profile: trimmedNonEmptyStringSchema$7.optional(),
|
|
5823
|
+
ownerUserId: trimmedNonEmptyStringSchema$7.optional(),
|
|
5824
|
+
ownerName: trimmedNonEmptyStringSchema$7.optional()
|
|
5825
|
+
}).superRefine((value, ctx) => {
|
|
5826
|
+
if (!value.kind) return;
|
|
5827
|
+
if ((value.kind === "agent" ? agentProfileIdSchema : uuidProfileIdSchema).safeParse(value.profileId).success) return;
|
|
5828
|
+
ctx.addIssue({
|
|
5829
|
+
code: "custom",
|
|
5830
|
+
message: value.kind === "agent" ? "agent profileId must use agt_<UUID>" : "human/system profileId must be a UUID",
|
|
5831
|
+
path: ["profileId"]
|
|
5832
|
+
});
|
|
5833
|
+
});
|
|
5834
|
+
const spaceStorageUsageSchema = z.strictObject({
|
|
5835
|
+
usedBytes: z.number().finite().min(0),
|
|
5836
|
+
softLimitBytes: z.number().finite().positive(),
|
|
5837
|
+
usagePercent: z.number().finite().min(0)
|
|
5838
|
+
});
|
|
5839
|
+
const spaceMetaSchema = z.strictObject({
|
|
5840
|
+
spaceId: trimmedNonEmptyStringSchema$7,
|
|
5841
|
+
organizationId: trimmedNonEmptyStringSchema$7,
|
|
5842
|
+
visibility: spaceOrganizationVisibilitySchema,
|
|
5843
|
+
name: trimmedNonEmptyStringSchema$7.optional(),
|
|
5844
|
+
purpose: trimmedNonEmptyStringSchema$7.optional(),
|
|
5845
|
+
creator: spaceCreatorSchema.optional(),
|
|
5846
|
+
guide: trimmedNonEmptyStringSchema$7.optional(),
|
|
5847
|
+
accessMode: spaceAccessModeSchema.optional(),
|
|
5848
|
+
passwordProtected: z.boolean().optional(),
|
|
5849
|
+
createdAt: isoDateTimeSchema$2.optional(),
|
|
5850
|
+
updatedAt: isoDateTimeSchema$2.optional(),
|
|
5851
|
+
storageUsage: spaceStorageUsageSchema.optional()
|
|
5852
|
+
});
|
|
5853
|
+
const patchSpaceMetaBodySchema = z.strictObject({
|
|
5854
|
+
purpose: z.string().optional(),
|
|
5855
|
+
guide: z.string().optional()
|
|
5856
|
+
}).superRefine((value, ctx) => {
|
|
5857
|
+
if (value.purpose !== void 0 || value.guide !== void 0) return;
|
|
5858
|
+
ctx.addIssue({
|
|
5859
|
+
code: "custom",
|
|
5860
|
+
message: "Expected purpose or guide"
|
|
5861
|
+
});
|
|
5862
|
+
}).transform((value) => ({
|
|
5863
|
+
...value.purpose === void 0 ? {} : { purpose: value.purpose },
|
|
5864
|
+
...value.guide === void 0 ? {} : { guide: value.guide }
|
|
5865
|
+
}));
|
|
5866
|
+
const ISO_DATE_TIME_SCHEMA$9 = z.iso.datetime({ offset: true });
|
|
5867
|
+
const trimmedNonEmptyStringSchema$6 = z.string().trim().min(1);
|
|
5868
|
+
const nullableTrimmedStringSchema$6 = z.union([trimmedNonEmptyStringSchema$6, z.null()]);
|
|
5774
5869
|
const nullableNonNegativeIntSchema = z.union([z.number().int().min(0), z.null()]);
|
|
5775
|
-
const nullableIsoDateTimeSchema$
|
|
5870
|
+
const nullableIsoDateTimeSchema$3 = z.union([ISO_DATE_TIME_SCHEMA$9, z.null()]);
|
|
5776
5871
|
const ACCOUNT_SPACE_INDEX_MAX_LIMIT = 500;
|
|
5777
5872
|
const NON_NEGATIVE_INT_RE$1 = /^\d+$/;
|
|
5778
5873
|
const accountSpaceIndexScopeSchema = z.enum(["account", "profile"]);
|
|
@@ -5797,40 +5892,42 @@ const accountSpaceIndexQuerySchema = z.strictObject({
|
|
|
5797
5892
|
includePurposes: accountSpaceIndexIncludePurposesSchema,
|
|
5798
5893
|
limit: accountSpaceIndexLimitSchema,
|
|
5799
5894
|
scope: accountSpaceIndexScopeSchema.default("account"),
|
|
5800
|
-
selectedProfileId: trimmedNonEmptyStringSchema$
|
|
5895
|
+
selectedProfileId: trimmedNonEmptyStringSchema$6
|
|
5801
5896
|
});
|
|
5802
5897
|
const accountSpaceIndexJoinedProfileSchema = z.strictObject({
|
|
5803
|
-
lastJoinedAt: ISO_DATE_TIME_SCHEMA$
|
|
5804
|
-
pinnedAt: nullableIsoDateTimeSchema$
|
|
5805
|
-
profileId: trimmedNonEmptyStringSchema$
|
|
5806
|
-
profileName: trimmedNonEmptyStringSchema$
|
|
5898
|
+
lastJoinedAt: ISO_DATE_TIME_SCHEMA$9,
|
|
5899
|
+
pinnedAt: nullableIsoDateTimeSchema$3,
|
|
5900
|
+
profileId: trimmedNonEmptyStringSchema$6,
|
|
5901
|
+
profileName: trimmedNonEmptyStringSchema$6
|
|
5807
5902
|
});
|
|
5808
5903
|
const accountSpaceIndexItemSchema = z.strictObject({
|
|
5809
5904
|
creatorKind: z.union([profileSpaceCreatorKindSchema, z.null()]),
|
|
5810
|
-
creatorOwnerUserId: nullableTrimmedStringSchema$
|
|
5811
|
-
creatorProfileId: nullableTrimmedStringSchema$
|
|
5812
|
-
creatorProfileName: nullableTrimmedStringSchema$
|
|
5905
|
+
creatorOwnerUserId: nullableTrimmedStringSchema$6,
|
|
5906
|
+
creatorProfileId: nullableTrimmedStringSchema$6,
|
|
5907
|
+
creatorProfileName: nullableTrimmedStringSchema$6,
|
|
5813
5908
|
gatewayHost: profileSpaceHistoryGatewayHostSchema,
|
|
5814
5909
|
joinedProfiles: z.array(accountSpaceIndexJoinedProfileSchema),
|
|
5815
|
-
lastJoinedAt: ISO_DATE_TIME_SCHEMA$
|
|
5910
|
+
lastJoinedAt: ISO_DATE_TIME_SCHEMA$9,
|
|
5816
5911
|
lastSeenTs: nullableNonNegativeIntSchema,
|
|
5817
|
-
openProfileId: trimmedNonEmptyStringSchema$
|
|
5818
|
-
openProfileName: trimmedNonEmptyStringSchema$
|
|
5819
|
-
|
|
5820
|
-
|
|
5821
|
-
|
|
5822
|
-
|
|
5823
|
-
|
|
5824
|
-
|
|
5825
|
-
|
|
5826
|
-
|
|
5827
|
-
|
|
5912
|
+
openProfileId: trimmedNonEmptyStringSchema$6,
|
|
5913
|
+
openProfileName: trimmedNonEmptyStringSchema$6,
|
|
5914
|
+
organizationId: trimmedNonEmptyStringSchema$6,
|
|
5915
|
+
pinnedAt: nullableIsoDateTimeSchema$3,
|
|
5916
|
+
pinnedProfileIds: z.array(trimmedNonEmptyStringSchema$6),
|
|
5917
|
+
spaceCreatedAt: nullableIsoDateTimeSchema$3,
|
|
5918
|
+
spaceId: trimmedNonEmptyStringSchema$6,
|
|
5919
|
+
spaceName: trimmedNonEmptyStringSchema$6,
|
|
5920
|
+
spacePurpose: nullableTrimmedStringSchema$6.optional(),
|
|
5921
|
+
spaceUpdatedAt: nullableIsoDateTimeSchema$3,
|
|
5922
|
+
status: trimmedNonEmptyStringSchema$6,
|
|
5923
|
+
updatedAt: ISO_DATE_TIME_SCHEMA$9,
|
|
5924
|
+
visibility: spaceOrganizationVisibilitySchema
|
|
5828
5925
|
});
|
|
5829
5926
|
const accountSpaceIndexDeletedItemSchema = z.strictObject({
|
|
5830
|
-
deletedAt: ISO_DATE_TIME_SCHEMA$
|
|
5831
|
-
deletedByProfileName: nullableTrimmedStringSchema$
|
|
5832
|
-
spaceId: trimmedNonEmptyStringSchema$
|
|
5833
|
-
spaceName: nullableTrimmedStringSchema$
|
|
5927
|
+
deletedAt: ISO_DATE_TIME_SCHEMA$9,
|
|
5928
|
+
deletedByProfileName: nullableTrimmedStringSchema$6,
|
|
5929
|
+
spaceId: trimmedNonEmptyStringSchema$6,
|
|
5930
|
+
spaceName: nullableTrimmedStringSchema$6
|
|
5834
5931
|
});
|
|
5835
5932
|
const accountSpaceIndexResponseSchema = z.strictObject({
|
|
5836
5933
|
pinnedItems: z.array(accountSpaceIndexItemSchema),
|
|
@@ -5874,6 +5971,279 @@ const catchupResponseSchema = z.strictObject({
|
|
|
5874
5971
|
nextCursor
|
|
5875
5972
|
};
|
|
5876
5973
|
});
|
|
5974
|
+
const ISO_DATE_TIME_SCHEMA$8 = z.iso.datetime({ offset: true });
|
|
5975
|
+
const authProfileKindSchema = z.enum(["human", "agent"]);
|
|
5976
|
+
const authProfileStatusSchema = z.enum(["active", "disabled"]);
|
|
5977
|
+
const authProfileManagedRoleSchema = z.enum(["wakeloop_assistant"]);
|
|
5978
|
+
const authProfileViewManagedRoleSchema = authProfileManagedRoleSchema.nullish().transform((value) => value ?? null);
|
|
5979
|
+
const authProfileViewSchema = z.strictObject({
|
|
5980
|
+
wakeLoopProfileId: z.string().min(1),
|
|
5981
|
+
profileName: z.string().min(1),
|
|
5982
|
+
profileHandle: z.string().min(1),
|
|
5983
|
+
profileKind: authProfileKindSchema,
|
|
5984
|
+
isDefault: z.boolean(),
|
|
5985
|
+
status: authProfileStatusSchema,
|
|
5986
|
+
ownerUserId: z.string().min(1),
|
|
5987
|
+
ownerName: z.string().min(1).optional(),
|
|
5988
|
+
avatarUrl: z.string().min(1).optional(),
|
|
5989
|
+
source: z.string().min(1),
|
|
5990
|
+
managedRole: authProfileViewManagedRoleSchema,
|
|
5991
|
+
createdByUserId: z.string().min(1).nullable(),
|
|
5992
|
+
creatorProfileId: z.string().min(1).nullable(),
|
|
5993
|
+
lastUsedAt: ISO_DATE_TIME_SCHEMA$8.nullable(),
|
|
5994
|
+
createdAt: ISO_DATE_TIME_SCHEMA$8,
|
|
5995
|
+
updatedAt: ISO_DATE_TIME_SCHEMA$8
|
|
5996
|
+
});
|
|
5997
|
+
const createHumanProfileBodySchema = z.strictObject({
|
|
5998
|
+
profileName: z.string().trim().min(1),
|
|
5999
|
+
creatorProfileId: z.string().min(1).optional()
|
|
6000
|
+
});
|
|
6001
|
+
const createAgentProfileBodySchema = z.strictObject({
|
|
6002
|
+
profileName: z.string().trim().min(1),
|
|
6003
|
+
creatorProfileId: z.string().min(1).optional()
|
|
6004
|
+
});
|
|
6005
|
+
const ensureManagedAgentProfileBodySchema = z.strictObject({
|
|
6006
|
+
profileName: z.string().trim().min(1),
|
|
6007
|
+
managedRole: authProfileManagedRoleSchema,
|
|
6008
|
+
creatorProfileId: z.string().min(1).optional()
|
|
6009
|
+
});
|
|
6010
|
+
const listProfilesResponseSchema = z.strictObject({
|
|
6011
|
+
ok: z.literal(true),
|
|
6012
|
+
profiles: z.array(authProfileViewSchema)
|
|
6013
|
+
});
|
|
6014
|
+
const resolveProfileResponseSchema = z.strictObject({
|
|
6015
|
+
ok: z.literal(true),
|
|
6016
|
+
profile: authProfileViewSchema
|
|
6017
|
+
});
|
|
6018
|
+
const createHumanProfileResponseSchema = z.strictObject({
|
|
6019
|
+
ok: z.literal(true),
|
|
6020
|
+
profile: authProfileViewSchema
|
|
6021
|
+
});
|
|
6022
|
+
const createAgentProfileResponseSchema = z.strictObject({
|
|
6023
|
+
ok: z.literal(true),
|
|
6024
|
+
profile: authProfileViewSchema
|
|
6025
|
+
});
|
|
6026
|
+
const ensureManagedAgentProfileResponseSchema = z.strictObject({
|
|
6027
|
+
ok: z.literal(true),
|
|
6028
|
+
profile: authProfileViewSchema
|
|
6029
|
+
});
|
|
6030
|
+
const updateProfileResponseSchema = z.strictObject({
|
|
6031
|
+
ok: z.literal(true),
|
|
6032
|
+
profile: authProfileViewSchema
|
|
6033
|
+
});
|
|
6034
|
+
const deleteProfileResponseSchema = z.strictObject({
|
|
6035
|
+
ok: z.literal(true),
|
|
6036
|
+
profile: authProfileViewSchema
|
|
6037
|
+
});
|
|
6038
|
+
const createSpaceBodySchema = z.strictObject({
|
|
6039
|
+
name: z.unknown().optional(),
|
|
6040
|
+
purpose: z.unknown().optional(),
|
|
6041
|
+
guide: z.unknown().optional(),
|
|
6042
|
+
visibility: z.unknown().optional(),
|
|
6043
|
+
accessMode: z.unknown().optional(),
|
|
6044
|
+
password: z.unknown().optional()
|
|
6045
|
+
}).transform((value, ctx) => {
|
|
6046
|
+
const next = {};
|
|
6047
|
+
if (typeof value.name === "string") {
|
|
6048
|
+
const normalizedName = value.name.trim();
|
|
6049
|
+
if (normalizedName.length > 0) next.name = normalizedName;
|
|
6050
|
+
}
|
|
6051
|
+
if (Object.hasOwn(value, "purpose")) {
|
|
6052
|
+
if (typeof value.purpose !== "string") {
|
|
6053
|
+
ctx.addIssue({
|
|
6054
|
+
code: "custom",
|
|
6055
|
+
message: "Invalid purpose",
|
|
6056
|
+
path: ["purpose"]
|
|
6057
|
+
});
|
|
6058
|
+
return z.NEVER;
|
|
6059
|
+
}
|
|
6060
|
+
next.purpose = value.purpose.trim();
|
|
6061
|
+
}
|
|
6062
|
+
if (Object.hasOwn(value, "guide")) {
|
|
6063
|
+
if (typeof value.guide !== "string") {
|
|
6064
|
+
ctx.addIssue({
|
|
6065
|
+
code: "custom",
|
|
6066
|
+
message: "Invalid guide",
|
|
6067
|
+
path: ["guide"]
|
|
6068
|
+
});
|
|
6069
|
+
return z.NEVER;
|
|
6070
|
+
}
|
|
6071
|
+
next.guide = value.guide.trim();
|
|
6072
|
+
}
|
|
6073
|
+
const parsedVisibility = spaceOrganizationVisibilitySchema.safeParse(value.visibility);
|
|
6074
|
+
if (!parsedVisibility.success) {
|
|
6075
|
+
ctx.addIssue({
|
|
6076
|
+
code: "custom",
|
|
6077
|
+
message: "Invalid visibility",
|
|
6078
|
+
path: ["visibility"]
|
|
6079
|
+
});
|
|
6080
|
+
return z.NEVER;
|
|
6081
|
+
}
|
|
6082
|
+
if (Object.hasOwn(value, "accessMode")) {
|
|
6083
|
+
const parsedAccessMode = spaceAccessModeSchema.safeParse(value.accessMode);
|
|
6084
|
+
if (!parsedAccessMode.success) {
|
|
6085
|
+
ctx.addIssue({
|
|
6086
|
+
code: "custom",
|
|
6087
|
+
message: "Invalid accessMode",
|
|
6088
|
+
path: ["accessMode"]
|
|
6089
|
+
});
|
|
6090
|
+
return z.NEVER;
|
|
6091
|
+
}
|
|
6092
|
+
next.accessMode = parsedAccessMode.data;
|
|
6093
|
+
}
|
|
6094
|
+
if (Object.hasOwn(value, "password")) {
|
|
6095
|
+
const parsedPassword = spacePasswordSchema.safeParse(value.password);
|
|
6096
|
+
if (!parsedPassword.success) {
|
|
6097
|
+
ctx.addIssue({
|
|
6098
|
+
code: "custom",
|
|
6099
|
+
message: "Invalid password",
|
|
6100
|
+
path: ["password"]
|
|
6101
|
+
});
|
|
6102
|
+
return z.NEVER;
|
|
6103
|
+
}
|
|
6104
|
+
next.password = parsedPassword.data;
|
|
6105
|
+
}
|
|
6106
|
+
if (next.accessMode === "public" && next.password !== void 0) {
|
|
6107
|
+
ctx.addIssue({
|
|
6108
|
+
code: "custom",
|
|
6109
|
+
message: "Password cannot be set for public access",
|
|
6110
|
+
path: ["password"]
|
|
6111
|
+
});
|
|
6112
|
+
return z.NEVER;
|
|
6113
|
+
}
|
|
6114
|
+
if (next.accessMode !== void 0 && next.accessMode !== "public" && next.password === void 0) {
|
|
6115
|
+
ctx.addIssue({
|
|
6116
|
+
code: "custom",
|
|
6117
|
+
message: "Password required for this access",
|
|
6118
|
+
path: ["password"]
|
|
6119
|
+
});
|
|
6120
|
+
return z.NEVER;
|
|
6121
|
+
}
|
|
6122
|
+
return {
|
|
6123
|
+
...next,
|
|
6124
|
+
visibility: parsedVisibility.data
|
|
6125
|
+
};
|
|
6126
|
+
});
|
|
6127
|
+
const ISO_DATE_TIME_SCHEMA$7 = z.iso.datetime({ offset: true });
|
|
6128
|
+
const trimmedNonEmptyStringSchema$5 = z.string().trim().min(1);
|
|
6129
|
+
const nullableTrimmedStringSchema$5 = z.union([trimmedNonEmptyStringSchema$5, z.null()]);
|
|
6130
|
+
const centerAgentActionSchema = z.enum([
|
|
6131
|
+
"create_space",
|
|
6132
|
+
"create_agent_profile",
|
|
6133
|
+
"enable_agent_profile",
|
|
6134
|
+
"invite_member",
|
|
6135
|
+
"read_org_directory",
|
|
6136
|
+
"read_org_space_directory"
|
|
6137
|
+
]);
|
|
6138
|
+
const centerAgentResourceSchema = z.strictObject({
|
|
6139
|
+
type: trimmedNonEmptyStringSchema$5,
|
|
6140
|
+
id: trimmedNonEmptyStringSchema$5
|
|
6141
|
+
});
|
|
6142
|
+
const centerAgentOnBehalfOfInputSchema = z.strictObject({ profileId: wakeLoopRuntimeProfileIdSchema });
|
|
6143
|
+
const centerAgentAttributionSchema = z.strictObject({
|
|
6144
|
+
actorProfileId: agentProfileIdSchema,
|
|
6145
|
+
onBehalfOf: z.strictObject({
|
|
6146
|
+
profileId: wakeLoopRuntimeProfileIdSchema,
|
|
6147
|
+
userId: nullableTrimmedStringSchema$5,
|
|
6148
|
+
displayName: trimmedNonEmptyStringSchema$5
|
|
6149
|
+
}).nullable()
|
|
6150
|
+
});
|
|
6151
|
+
const centerAgentDesignationSchema = z.strictObject({
|
|
6152
|
+
organizationId: trimmedNonEmptyStringSchema$5,
|
|
6153
|
+
agentProfileId: agentProfileIdSchema,
|
|
6154
|
+
duty: z.null(),
|
|
6155
|
+
designatedBy: trimmedNonEmptyStringSchema$5,
|
|
6156
|
+
createdAt: ISO_DATE_TIME_SCHEMA$7
|
|
6157
|
+
});
|
|
6158
|
+
const getCenterAgentDesignationResponseSchema = z.strictObject({
|
|
6159
|
+
organizationId: trimmedNonEmptyStringSchema$5,
|
|
6160
|
+
designation: centerAgentDesignationSchema.nullable()
|
|
6161
|
+
});
|
|
6162
|
+
const designateCenterAgentBodySchema = z.strictObject({ agentProfileId: agentProfileIdSchema });
|
|
6163
|
+
const designateCenterAgentResponseSchema = z.strictObject({
|
|
6164
|
+
organizationId: trimmedNonEmptyStringSchema$5,
|
|
6165
|
+
designation: centerAgentDesignationSchema,
|
|
6166
|
+
status: z.enum([
|
|
6167
|
+
"designated",
|
|
6168
|
+
"replaced",
|
|
6169
|
+
"unchanged"
|
|
6170
|
+
])
|
|
6171
|
+
});
|
|
6172
|
+
const revokeCenterAgentResponseSchema = z.strictObject({
|
|
6173
|
+
organizationId: trimmedNonEmptyStringSchema$5,
|
|
6174
|
+
revoked: z.boolean(),
|
|
6175
|
+
revokedAgentProfileId: agentProfileIdSchema.nullable()
|
|
6176
|
+
});
|
|
6177
|
+
const centerAgentAuditJournalEntrySchema = z.strictObject({
|
|
6178
|
+
id: trimmedNonEmptyStringSchema$5,
|
|
6179
|
+
organizationId: trimmedNonEmptyStringSchema$5,
|
|
6180
|
+
actorProfileId: agentProfileIdSchema,
|
|
6181
|
+
action: centerAgentActionSchema,
|
|
6182
|
+
onBehalfOf: z.strictObject({
|
|
6183
|
+
profileId: wakeLoopRuntimeProfileIdSchema,
|
|
6184
|
+
userId: nullableTrimmedStringSchema$5,
|
|
6185
|
+
displayName: trimmedNonEmptyStringSchema$5
|
|
6186
|
+
}).nullable(),
|
|
6187
|
+
resource: centerAgentResourceSchema.nullable(),
|
|
6188
|
+
createdAt: ISO_DATE_TIME_SCHEMA$7
|
|
6189
|
+
});
|
|
6190
|
+
const listCenterAgentAuditJournalQuerySchema = z.strictObject({ limit: z.coerce.number().int().min(1).max(200).optional() });
|
|
6191
|
+
const listCenterAgentAuditJournalResponseSchema = z.strictObject({
|
|
6192
|
+
organizationId: trimmedNonEmptyStringSchema$5,
|
|
6193
|
+
entries: z.array(centerAgentAuditJournalEntrySchema)
|
|
6194
|
+
});
|
|
6195
|
+
const centerAgentCreateSpaceBodySchema = z.strictObject({
|
|
6196
|
+
name: z.unknown().optional(),
|
|
6197
|
+
purpose: z.unknown().optional(),
|
|
6198
|
+
guide: z.unknown().optional(),
|
|
6199
|
+
visibility: z.unknown().optional(),
|
|
6200
|
+
accessMode: z.unknown().optional(),
|
|
6201
|
+
password: z.unknown().optional(),
|
|
6202
|
+
onBehalfOf: centerAgentOnBehalfOfInputSchema.optional()
|
|
6203
|
+
}).transform((value, ctx) => {
|
|
6204
|
+
const { onBehalfOf, ...spaceBody } = value;
|
|
6205
|
+
const parsedSpaceBody = createSpaceBodySchema.safeParse(spaceBody);
|
|
6206
|
+
if (!parsedSpaceBody.success) {
|
|
6207
|
+
ctx.addIssue({
|
|
6208
|
+
code: "custom",
|
|
6209
|
+
message: parsedSpaceBody.error.issues[0]?.message ?? "Invalid Center Agent Space payload"
|
|
6210
|
+
});
|
|
6211
|
+
return z.NEVER;
|
|
6212
|
+
}
|
|
6213
|
+
return {
|
|
6214
|
+
...parsedSpaceBody.data,
|
|
6215
|
+
...onBehalfOf === void 0 ? {} : { onBehalfOf }
|
|
6216
|
+
};
|
|
6217
|
+
});
|
|
6218
|
+
const centerAgentCreateAgentProfileBodySchema = z.strictObject({
|
|
6219
|
+
profileName: trimmedNonEmptyStringSchema$5,
|
|
6220
|
+
onBehalfOf: centerAgentOnBehalfOfInputSchema.optional()
|
|
6221
|
+
});
|
|
6222
|
+
const centerAgentEnableAgentProfileBodySchema = z.strictObject({ onBehalfOf: centerAgentOnBehalfOfInputSchema.optional() });
|
|
6223
|
+
const centerAgentInviteMemberBodySchema = z.strictObject({
|
|
6224
|
+
email: z.email(),
|
|
6225
|
+
role: z.enum(["admin", "member"]).default("member"),
|
|
6226
|
+
onBehalfOf: centerAgentOnBehalfOfInputSchema.optional()
|
|
6227
|
+
});
|
|
6228
|
+
const centerAgentConciergeActionResponseSchema = z.strictObject({
|
|
6229
|
+
organizationId: trimmedNonEmptyStringSchema$5,
|
|
6230
|
+
attribution: centerAgentAttributionSchema,
|
|
6231
|
+
resource: centerAgentResourceSchema.nullable()
|
|
6232
|
+
});
|
|
6233
|
+
const centerAgentCreateSpaceResponseSchema = centerAgentConciergeActionResponseSchema.extend({ spaceId: trimmedNonEmptyStringSchema$5 });
|
|
6234
|
+
const centerAgentCreateAgentProfileResponseSchema = centerAgentConciergeActionResponseSchema.extend({ profile: authProfileViewSchema });
|
|
6235
|
+
const centerAgentEnableAgentProfileResponseSchema = centerAgentConciergeActionResponseSchema.extend({
|
|
6236
|
+
agentProfileId: agentProfileIdSchema,
|
|
6237
|
+
enabled: z.boolean()
|
|
6238
|
+
});
|
|
6239
|
+
const centerAgentInviteMemberResponseSchema = centerAgentConciergeActionResponseSchema.extend({ invited: z.literal(true) });
|
|
6240
|
+
const openCenterAgentDirectMessageSpaceResponseSchema = z.strictObject({
|
|
6241
|
+
organizationId: trimmedNonEmptyStringSchema$5,
|
|
6242
|
+
centerAgentProfileId: agentProfileIdSchema,
|
|
6243
|
+
memberProfileId: wakeLoopRuntimeProfileIdSchema,
|
|
6244
|
+
spaceId: trimmedNonEmptyStringSchema$5,
|
|
6245
|
+
created: z.boolean()
|
|
6246
|
+
});
|
|
5877
6247
|
const currentDeviceTargetDeviceIdSchema = START_BOUNDED_ID_SCHEMA;
|
|
5878
6248
|
const currentDeviceTargetResolvedSchema = z.strictObject({
|
|
5879
6249
|
availability: z.literal("resolved"),
|
|
@@ -6017,7 +6387,7 @@ const agentControllerInterfaceSnapshotSchema = z.strictObject({
|
|
|
6017
6387
|
version: ACI_BOUNDED_ID_SCHEMA.nullable(),
|
|
6018
6388
|
versionAdvisory: agentControllerInterfaceVersionAdvisorySchema.optional()
|
|
6019
6389
|
});
|
|
6020
|
-
const ISO_DATE_TIME_SCHEMA$
|
|
6390
|
+
const ISO_DATE_TIME_SCHEMA$6 = z.iso.datetime({ offset: true });
|
|
6021
6391
|
const reasonCodeSchema$2 = z.string().trim().min(1).max(256);
|
|
6022
6392
|
const localRuntimeDisplayNameSourceSchema = z.enum([
|
|
6023
6393
|
"user",
|
|
@@ -6164,7 +6534,7 @@ const localRuntimeReplyReadinessNextActionSchema = z.enum([
|
|
|
6164
6534
|
]);
|
|
6165
6535
|
const currentLocalRuntimeReplyReadinessResponseSchema = z.strictObject({
|
|
6166
6536
|
canReplyFromThisComputer: z.boolean(),
|
|
6167
|
-
generatedAt: ISO_DATE_TIME_SCHEMA$
|
|
6537
|
+
generatedAt: ISO_DATE_TIME_SCHEMA$6,
|
|
6168
6538
|
message: z.string().trim().min(1).max(500),
|
|
6169
6539
|
nextAction: localRuntimeReplyReadinessNextActionSchema,
|
|
6170
6540
|
primaryBlocker: localRuntimeReplyReadinessPrimaryBlockerSchema,
|
|
@@ -6203,7 +6573,7 @@ const observedDeviceMetadataSchema = z.strictObject({
|
|
|
6203
6573
|
});
|
|
6204
6574
|
const writeCurrentDeviceObservedMetadataBodySchema = z.strictObject({ metadata: observedDeviceMetadataSchema });
|
|
6205
6575
|
const writeCurrentDeviceObservedMetadataResponseSchema = writeCurrentDeviceObservedMetadataBodySchema;
|
|
6206
|
-
const trimmedNonEmptyStringSchema$
|
|
6576
|
+
const trimmedNonEmptyStringSchema$4 = z.string().trim().min(1);
|
|
6207
6577
|
const gatewayErrorCodeSchema = z.enum([
|
|
6208
6578
|
"bad_request",
|
|
6209
6579
|
"upstream_error",
|
|
@@ -6217,11 +6587,29 @@ const gatewayErrorCodeSchema = z.enum([
|
|
|
6217
6587
|
"auth.unauthenticated",
|
|
6218
6588
|
"profile.not_found",
|
|
6219
6589
|
"profile.invalid_input",
|
|
6590
|
+
"organization.context_required",
|
|
6591
|
+
"organization.context_unavailable",
|
|
6592
|
+
"organization.membership_required",
|
|
6593
|
+
"organization.role_required",
|
|
6594
|
+
"organization_binding_authorization.binding_required",
|
|
6595
|
+
"organization_binding_authorization.profile_org_mismatch",
|
|
6596
|
+
"center_agent.designation_required",
|
|
6597
|
+
"center_agent.designation_store_unavailable",
|
|
6598
|
+
"center_agent.not_designated",
|
|
6599
|
+
"center_agent.permission_required",
|
|
6600
|
+
"center_agent.profile_binding_required",
|
|
6601
|
+
"center_agent.profile_org_mismatch",
|
|
6602
|
+
"center_agent.profile_invalid",
|
|
6603
|
+
"center_agent.profile_not_found",
|
|
6604
|
+
"center_agent.audit_store_unavailable",
|
|
6220
6605
|
"connected_computer.enrollment_invalid",
|
|
6221
6606
|
"device.forgotten",
|
|
6222
6607
|
"invalid_password_payload",
|
|
6223
6608
|
"space.not_found",
|
|
6224
6609
|
"space.forbidden",
|
|
6610
|
+
"space.join.human_profile_required",
|
|
6611
|
+
"space.join.private",
|
|
6612
|
+
"space.organization_mismatch",
|
|
6225
6613
|
"space.human_confirmation_required",
|
|
6226
6614
|
"space.leave_space.creator_forbidden",
|
|
6227
6615
|
"space.members.creator_forbidden",
|
|
@@ -6258,8 +6646,8 @@ const gatewayErrorCodeSchema = z.enum([
|
|
|
6258
6646
|
]);
|
|
6259
6647
|
const gatewayErrorSchema = commonErrorSchema.extend({
|
|
6260
6648
|
code: gatewayErrorCodeSchema,
|
|
6261
|
-
requestId: trimmedNonEmptyStringSchema$
|
|
6262
|
-
upstreamCode: trimmedNonEmptyStringSchema$
|
|
6649
|
+
requestId: trimmedNonEmptyStringSchema$4,
|
|
6650
|
+
upstreamCode: trimmedNonEmptyStringSchema$4.optional()
|
|
6263
6651
|
});
|
|
6264
6652
|
const gatewayErrorEnvelopeSchema = z.strictObject({
|
|
6265
6653
|
ok: z.literal(false),
|
|
@@ -6463,7 +6851,7 @@ const listSignalsQuerySchema = listSignalsQueryInputSchema.superRefine((value, c
|
|
|
6463
6851
|
const boundedIdentifierSchema$2 = z.string().trim().min(1).max(256);
|
|
6464
6852
|
const runtimeIdentifierSchema = z.string().trim().min(1).max(512);
|
|
6465
6853
|
const reasonCodeSchema$1 = z.string().trim().min(1).max(256);
|
|
6466
|
-
const ISO_DATE_TIME_SCHEMA$
|
|
6854
|
+
const ISO_DATE_TIME_SCHEMA$5 = z.iso.datetime({ offset: true });
|
|
6467
6855
|
const getLocalRuntimeExpectedRoutesQuerySchema = z.strictObject({
|
|
6468
6856
|
deviceId: boundedIdentifierSchema$2,
|
|
6469
6857
|
lane: boundedIdentifierSchema$2
|
|
@@ -6495,7 +6883,7 @@ const getLocalRuntimeExpectedRoutesResponseSchema = z.strictObject({
|
|
|
6495
6883
|
wakeLoopServiceRuntimeId: runtimeIdentifierSchema.nullable(),
|
|
6496
6884
|
excludedProfiles: z.array(localRuntimeExpectedRouteExclusionSchema).max(400),
|
|
6497
6885
|
expectedRoutes: z.array(localRuntimeExpectedRouteSchema).max(200),
|
|
6498
|
-
generatedAt: ISO_DATE_TIME_SCHEMA$
|
|
6886
|
+
generatedAt: ISO_DATE_TIME_SCHEMA$5,
|
|
6499
6887
|
runtimeResolution: z.enum([
|
|
6500
6888
|
"resolved",
|
|
6501
6889
|
"missing",
|
|
@@ -6815,69 +7203,63 @@ const observabilityCloudflareAnalyticsDataPointSchema = z.strictObject({
|
|
|
6815
7203
|
doubles: z.array(z.number().finite()).length(OBSERVABILITY_CLOUDFLARE_ANALYTICS_DOUBLES.length),
|
|
6816
7204
|
indexes: z.array(z.string().min(1)).length(1)
|
|
6817
7205
|
});
|
|
6818
|
-
const ISO_DATE_TIME_SCHEMA$
|
|
6819
|
-
const
|
|
6820
|
-
const
|
|
6821
|
-
const
|
|
6822
|
-
|
|
6823
|
-
|
|
6824
|
-
|
|
6825
|
-
|
|
6826
|
-
|
|
6827
|
-
|
|
6828
|
-
|
|
6829
|
-
|
|
6830
|
-
|
|
6831
|
-
|
|
6832
|
-
|
|
6833
|
-
|
|
6834
|
-
|
|
6835
|
-
|
|
6836
|
-
|
|
6837
|
-
|
|
6838
|
-
|
|
6839
|
-
|
|
6840
|
-
});
|
|
6841
|
-
const createHumanProfileBodySchema = z.strictObject({
|
|
6842
|
-
profileName: z.string().trim().min(1),
|
|
6843
|
-
creatorProfileId: z.string().min(1).optional()
|
|
6844
|
-
});
|
|
6845
|
-
const createAgentProfileBodySchema = z.strictObject({
|
|
6846
|
-
profileName: z.string().trim().min(1),
|
|
6847
|
-
creatorProfileId: z.string().min(1).optional()
|
|
6848
|
-
});
|
|
6849
|
-
const ensureManagedAgentProfileBodySchema = z.strictObject({
|
|
6850
|
-
profileName: z.string().trim().min(1),
|
|
6851
|
-
managedRole: authProfileManagedRoleSchema,
|
|
6852
|
-
creatorProfileId: z.string().min(1).optional()
|
|
6853
|
-
});
|
|
6854
|
-
const listProfilesResponseSchema = z.strictObject({
|
|
6855
|
-
ok: z.literal(true),
|
|
6856
|
-
profiles: z.array(authProfileViewSchema)
|
|
6857
|
-
});
|
|
6858
|
-
const resolveProfileResponseSchema = z.strictObject({
|
|
6859
|
-
ok: z.literal(true),
|
|
6860
|
-
profile: authProfileViewSchema
|
|
6861
|
-
});
|
|
6862
|
-
const createHumanProfileResponseSchema = z.strictObject({
|
|
6863
|
-
ok: z.literal(true),
|
|
6864
|
-
profile: authProfileViewSchema
|
|
6865
|
-
});
|
|
6866
|
-
const createAgentProfileResponseSchema = z.strictObject({
|
|
6867
|
-
ok: z.literal(true),
|
|
6868
|
-
profile: authProfileViewSchema
|
|
7206
|
+
const ISO_DATE_TIME_SCHEMA$4 = z.iso.datetime({ offset: true });
|
|
7207
|
+
const trimmedNonEmptyStringSchema$3 = z.string().trim().min(1);
|
|
7208
|
+
const nullableTrimmedStringSchema$4 = z.union([trimmedNonEmptyStringSchema$3, z.null()]);
|
|
7209
|
+
const organizationDirectoryHumanProfileSchema = z.strictObject({
|
|
7210
|
+
profileId: uuidProfileIdSchema,
|
|
7211
|
+
profileName: trimmedNonEmptyStringSchema$3,
|
|
7212
|
+
profileHandle: trimmedNonEmptyStringSchema$3,
|
|
7213
|
+
status: z.enum(["active", "disabled"])
|
|
7214
|
+
});
|
|
7215
|
+
const organizationDirectoryMemberSchema = z.strictObject({
|
|
7216
|
+
memberId: trimmedNonEmptyStringSchema$3,
|
|
7217
|
+
organizationId: trimmedNonEmptyStringSchema$3,
|
|
7218
|
+
userId: trimmedNonEmptyStringSchema$3,
|
|
7219
|
+
role: trimmedNonEmptyStringSchema$3,
|
|
7220
|
+
joinedAt: ISO_DATE_TIME_SCHEMA$4,
|
|
7221
|
+
user: z.strictObject({
|
|
7222
|
+
id: trimmedNonEmptyStringSchema$3,
|
|
7223
|
+
name: trimmedNonEmptyStringSchema$3,
|
|
7224
|
+
email: trimmedNonEmptyStringSchema$3,
|
|
7225
|
+
image: nullableTrimmedStringSchema$4
|
|
7226
|
+
}),
|
|
7227
|
+
humanProfile: organizationDirectoryHumanProfileSchema.nullable()
|
|
6869
7228
|
});
|
|
6870
|
-
const
|
|
6871
|
-
|
|
6872
|
-
|
|
7229
|
+
const organizationDirectoryAgentProfileSchema = z.strictObject({
|
|
7230
|
+
organizationId: trimmedNonEmptyStringSchema$3,
|
|
7231
|
+
profileId: agentProfileIdSchema,
|
|
7232
|
+
profileName: trimmedNonEmptyStringSchema$3,
|
|
7233
|
+
profileHandle: trimmedNonEmptyStringSchema$3,
|
|
7234
|
+
status: z.enum(["active", "disabled"]),
|
|
7235
|
+
ownerUserId: trimmedNonEmptyStringSchema$3,
|
|
7236
|
+
isCenterAgent: z.boolean().optional(),
|
|
7237
|
+
readiness: getAgentExecutionReadinessResponseSchema
|
|
7238
|
+
});
|
|
7239
|
+
const organizationDirectoryResponseSchema = z.strictObject({
|
|
7240
|
+
organizationId: trimmedNonEmptyStringSchema$3,
|
|
7241
|
+
generatedAt: ISO_DATE_TIME_SCHEMA$4,
|
|
7242
|
+
members: z.array(organizationDirectoryMemberSchema),
|
|
7243
|
+
agentProfiles: z.array(organizationDirectoryAgentProfileSchema)
|
|
6873
7244
|
});
|
|
6874
|
-
const
|
|
6875
|
-
|
|
6876
|
-
|
|
7245
|
+
const ISO_DATE_TIME_SCHEMA$3 = z.iso.datetime({ offset: true });
|
|
7246
|
+
const trimmedNonEmptyStringSchema$2 = z.string().trim().min(1);
|
|
7247
|
+
const nullableIsoDateTimeSchema$2 = z.union([ISO_DATE_TIME_SCHEMA$3, z.null()]);
|
|
7248
|
+
const organizationSpaceDirectoryItemSchema = z.strictObject({
|
|
7249
|
+
spaceId: trimmedNonEmptyStringSchema$2,
|
|
7250
|
+
name: trimmedNonEmptyStringSchema$2,
|
|
7251
|
+
organizationId: trimmedNonEmptyStringSchema$2,
|
|
7252
|
+
visibility: spaceOrganizationVisibilitySchema,
|
|
7253
|
+
joined: z.boolean(),
|
|
7254
|
+
lastJoinedAt: nullableIsoDateTimeSchema$2,
|
|
7255
|
+
spaceCreatedAt: nullableIsoDateTimeSchema$2,
|
|
7256
|
+
spaceUpdatedAt: nullableIsoDateTimeSchema$2,
|
|
7257
|
+
updatedAt: ISO_DATE_TIME_SCHEMA$3
|
|
6877
7258
|
});
|
|
6878
|
-
const
|
|
6879
|
-
|
|
6880
|
-
|
|
7259
|
+
const organizationSpaceDirectoryResponseSchema = z.strictObject({
|
|
7260
|
+
organizationId: trimmedNonEmptyStringSchema$2,
|
|
7261
|
+
generatedAt: ISO_DATE_TIME_SCHEMA$3,
|
|
7262
|
+
spaces: z.array(organizationSpaceDirectoryItemSchema)
|
|
6881
7263
|
});
|
|
6882
7264
|
const boundedIdentifierSchema$1 = z.string().trim().min(1).max(256);
|
|
6883
7265
|
const reasonCodeSchema = z.string().trim().min(1).max(256);
|
|
@@ -7162,23 +7544,8 @@ const slackOAuthCallbackResponseSchema = z.strictObject({
|
|
|
7162
7544
|
spaceId: boundedIdentifierSchema,
|
|
7163
7545
|
status: z.literal("connected")
|
|
7164
7546
|
});
|
|
7165
|
-
const SPACE_ACCESS_MODES = [
|
|
7166
|
-
"public",
|
|
7167
|
-
"public_view_join_password",
|
|
7168
|
-
"protected"
|
|
7169
|
-
];
|
|
7170
|
-
const spaceAccessModeSchema = z.enum(SPACE_ACCESS_MODES);
|
|
7171
|
-
const setSpaceAccessModeBodySchema = z.strictObject({
|
|
7172
|
-
accessMode: spaceAccessModeSchema,
|
|
7173
|
-
password: spacePasswordSchema.optional()
|
|
7174
|
-
});
|
|
7175
|
-
const spaceAccessModeStateSchema = z.strictObject({
|
|
7176
|
-
spaceId: z.string().trim().min(1),
|
|
7177
|
-
accessMode: spaceAccessModeSchema,
|
|
7178
|
-
passwordProtected: z.boolean()
|
|
7179
|
-
});
|
|
7180
7547
|
const spaceRouteParamsSchema = z.strictObject({ spaceId: nonEmptyTrimmedStringFromUnknown });
|
|
7181
|
-
const isoDateTimeSchema$
|
|
7548
|
+
const isoDateTimeSchema$1 = z.iso.datetime({ offset: true });
|
|
7182
7549
|
const optionalTrimmedStringSchema = z.preprocess((value) => {
|
|
7183
7550
|
const normalized = String(value ?? "").trim();
|
|
7184
7551
|
return normalized.length > 0 ? normalized : void 0;
|
|
@@ -7190,7 +7557,7 @@ const spaceStatusLatestVisibleUpdateSchema = z.object({
|
|
|
7190
7557
|
"signal.status",
|
|
7191
7558
|
"signal.system_notice"
|
|
7192
7559
|
]),
|
|
7193
|
-
createdAt: isoDateTimeSchema$
|
|
7560
|
+
createdAt: isoDateTimeSchema$1,
|
|
7194
7561
|
actorProfileId: wakeLoopRuntimeProfileIdSchema,
|
|
7195
7562
|
actorName: optionalTrimmedStringSchema,
|
|
7196
7563
|
previewText: nonEmptyTrimmedStringFromUnknown
|
|
@@ -7201,7 +7568,7 @@ const spaceStatusMembersSummarySchema = spaceMembersSummarySchema.extend({
|
|
|
7201
7568
|
});
|
|
7202
7569
|
const getSpaceStatusResponseSchema = z.object({
|
|
7203
7570
|
spaceId: nonEmptyTrimmedStringFromUnknown,
|
|
7204
|
-
generatedAt: isoDateTimeSchema$
|
|
7571
|
+
generatedAt: isoDateTimeSchema$1,
|
|
7205
7572
|
name: optionalTrimmedStringSchema,
|
|
7206
7573
|
accessMode: spaceAccessModeSchema,
|
|
7207
7574
|
passwordProtected: z.boolean(),
|
|
@@ -7359,130 +7726,6 @@ const patchSpaceContractBodySchema = spaceContractFieldsSchema.pick({
|
|
|
7359
7726
|
});
|
|
7360
7727
|
const getSpaceContractResponseSchema = spaceContractSchema;
|
|
7361
7728
|
const patchSpaceContractResponseSchema = spaceContractSchema;
|
|
7362
|
-
const createSpaceBodySchema = z.strictObject({
|
|
7363
|
-
name: z.unknown().optional(),
|
|
7364
|
-
purpose: z.unknown().optional(),
|
|
7365
|
-
guide: z.unknown().optional(),
|
|
7366
|
-
accessMode: z.unknown().optional(),
|
|
7367
|
-
password: z.unknown().optional()
|
|
7368
|
-
}).transform((value, ctx) => {
|
|
7369
|
-
const next = {};
|
|
7370
|
-
if (typeof value.name === "string") {
|
|
7371
|
-
const normalizedName = value.name.trim();
|
|
7372
|
-
if (normalizedName.length > 0) next.name = normalizedName;
|
|
7373
|
-
}
|
|
7374
|
-
if (Object.hasOwn(value, "purpose")) {
|
|
7375
|
-
if (typeof value.purpose !== "string") {
|
|
7376
|
-
ctx.addIssue({
|
|
7377
|
-
code: "custom",
|
|
7378
|
-
message: "Invalid purpose",
|
|
7379
|
-
path: ["purpose"]
|
|
7380
|
-
});
|
|
7381
|
-
return z.NEVER;
|
|
7382
|
-
}
|
|
7383
|
-
next.purpose = value.purpose.trim();
|
|
7384
|
-
}
|
|
7385
|
-
if (Object.hasOwn(value, "guide")) {
|
|
7386
|
-
if (typeof value.guide !== "string") {
|
|
7387
|
-
ctx.addIssue({
|
|
7388
|
-
code: "custom",
|
|
7389
|
-
message: "Invalid guide",
|
|
7390
|
-
path: ["guide"]
|
|
7391
|
-
});
|
|
7392
|
-
return z.NEVER;
|
|
7393
|
-
}
|
|
7394
|
-
next.guide = value.guide.trim();
|
|
7395
|
-
}
|
|
7396
|
-
if (Object.hasOwn(value, "accessMode")) {
|
|
7397
|
-
const parsedAccessMode = spaceAccessModeSchema.safeParse(value.accessMode);
|
|
7398
|
-
if (!parsedAccessMode.success) {
|
|
7399
|
-
ctx.addIssue({
|
|
7400
|
-
code: "custom",
|
|
7401
|
-
message: "Invalid accessMode",
|
|
7402
|
-
path: ["accessMode"]
|
|
7403
|
-
});
|
|
7404
|
-
return z.NEVER;
|
|
7405
|
-
}
|
|
7406
|
-
next.accessMode = parsedAccessMode.data;
|
|
7407
|
-
}
|
|
7408
|
-
if (Object.hasOwn(value, "password")) {
|
|
7409
|
-
const parsedPassword = spacePasswordSchema.safeParse(value.password);
|
|
7410
|
-
if (!parsedPassword.success) {
|
|
7411
|
-
ctx.addIssue({
|
|
7412
|
-
code: "custom",
|
|
7413
|
-
message: "Invalid password",
|
|
7414
|
-
path: ["password"]
|
|
7415
|
-
});
|
|
7416
|
-
return z.NEVER;
|
|
7417
|
-
}
|
|
7418
|
-
next.password = parsedPassword.data;
|
|
7419
|
-
}
|
|
7420
|
-
if (next.accessMode === "public" && next.password !== void 0) {
|
|
7421
|
-
ctx.addIssue({
|
|
7422
|
-
code: "custom",
|
|
7423
|
-
message: "Password cannot be set for public access",
|
|
7424
|
-
path: ["password"]
|
|
7425
|
-
});
|
|
7426
|
-
return z.NEVER;
|
|
7427
|
-
}
|
|
7428
|
-
if (next.accessMode !== void 0 && next.accessMode !== "public" && next.password === void 0) {
|
|
7429
|
-
ctx.addIssue({
|
|
7430
|
-
code: "custom",
|
|
7431
|
-
message: "Password required for this access",
|
|
7432
|
-
path: ["password"]
|
|
7433
|
-
});
|
|
7434
|
-
return z.NEVER;
|
|
7435
|
-
}
|
|
7436
|
-
return next;
|
|
7437
|
-
});
|
|
7438
|
-
const trimmedNonEmptyStringSchema$2 = z.string().trim().min(1);
|
|
7439
|
-
const isoDateTimeSchema$1 = z.iso.datetime({ offset: true });
|
|
7440
|
-
const spaceCreatorSchema = z.strictObject({
|
|
7441
|
-
profileId: wakeLoopRuntimeProfileIdSchema,
|
|
7442
|
-
profileName: trimmedNonEmptyStringSchema$2.optional(),
|
|
7443
|
-
kind: profileKindSchema.optional(),
|
|
7444
|
-
profile: trimmedNonEmptyStringSchema$2.optional(),
|
|
7445
|
-
ownerUserId: trimmedNonEmptyStringSchema$2.optional(),
|
|
7446
|
-
ownerName: trimmedNonEmptyStringSchema$2.optional()
|
|
7447
|
-
}).superRefine((value, ctx) => {
|
|
7448
|
-
if (!value.kind) return;
|
|
7449
|
-
if ((value.kind === "agent" ? agentProfileIdSchema : uuidProfileIdSchema).safeParse(value.profileId).success) return;
|
|
7450
|
-
ctx.addIssue({
|
|
7451
|
-
code: "custom",
|
|
7452
|
-
message: value.kind === "agent" ? "agent profileId must use agt_<UUID>" : "human/system profileId must be a UUID",
|
|
7453
|
-
path: ["profileId"]
|
|
7454
|
-
});
|
|
7455
|
-
});
|
|
7456
|
-
const spaceStorageUsageSchema = z.strictObject({
|
|
7457
|
-
usedBytes: z.number().finite().min(0),
|
|
7458
|
-
softLimitBytes: z.number().finite().positive(),
|
|
7459
|
-
usagePercent: z.number().finite().min(0)
|
|
7460
|
-
});
|
|
7461
|
-
const spaceMetaSchema = z.strictObject({
|
|
7462
|
-
spaceId: trimmedNonEmptyStringSchema$2,
|
|
7463
|
-
name: trimmedNonEmptyStringSchema$2.optional(),
|
|
7464
|
-
purpose: trimmedNonEmptyStringSchema$2.optional(),
|
|
7465
|
-
creator: spaceCreatorSchema.optional(),
|
|
7466
|
-
guide: trimmedNonEmptyStringSchema$2.optional(),
|
|
7467
|
-
accessMode: spaceAccessModeSchema.optional(),
|
|
7468
|
-
passwordProtected: z.boolean().optional(),
|
|
7469
|
-
createdAt: isoDateTimeSchema$1.optional(),
|
|
7470
|
-
updatedAt: isoDateTimeSchema$1.optional(),
|
|
7471
|
-
storageUsage: spaceStorageUsageSchema.optional()
|
|
7472
|
-
});
|
|
7473
|
-
const patchSpaceMetaBodySchema = z.strictObject({
|
|
7474
|
-
purpose: z.string().optional(),
|
|
7475
|
-
guide: z.string().optional()
|
|
7476
|
-
}).superRefine((value, ctx) => {
|
|
7477
|
-
if (value.purpose !== void 0 || value.guide !== void 0) return;
|
|
7478
|
-
ctx.addIssue({
|
|
7479
|
-
code: "custom",
|
|
7480
|
-
message: "Expected purpose or guide"
|
|
7481
|
-
});
|
|
7482
|
-
}).transform((value) => ({
|
|
7483
|
-
...value.purpose === void 0 ? {} : { purpose: value.purpose },
|
|
7484
|
-
...value.guide === void 0 ? {} : { guide: value.guide }
|
|
7485
|
-
}));
|
|
7486
7729
|
const createSpaceResponseSchema = z.strictObject({
|
|
7487
7730
|
spaceId: spaceMetaSchema.shape.spaceId,
|
|
7488
7731
|
meta: spaceMetaSchema.optional()
|
|
@@ -10663,5 +10906,5 @@ function resolvePublicAgentFailureBody(body, targetName) {
|
|
|
10663
10906
|
}
|
|
10664
10907
|
|
|
10665
10908
|
//#endregion
|
|
10666
|
-
export {
|
|
10667
|
-
//# sourceMappingURL=dist-
|
|
10909
|
+
export { getAgentProfilePrimaryBindingResponseSchema as $, MAX_VISITED_PROFILE_IDS as $n, runtimeTransportLocalAgentControlRefreshCatalogFramePayloadSchema as $r, projectSpaceDispatchTraceFinalVisibleOutcome as $t, createSpaceResponseSchema as A, submitRuntimeProviderConversationProofsResponseSchema as An, parseAgentControllerRef as Ar, normalizeListSignalsReadQuerySemantics as At, designateCenterAgentResponseSchema as B, AGENT_REPLYING_PURPOSE as Bn, runtimeAgentControllerLaunchContractSchema as Br, patchSpaceContractBodySchema as Bt, centerAgentInviteMemberBodySchema as C, spaceMembersSnapshotSchema as Cn, getSpaceMessageAddressingRelationSupportForTargetKind as Cr, listSpaceThreadsResponseSchema as Ct, createSpaceBodySchema as D, submitRuntimeAgentControllerReportsBodySchema as Dn, normalizeMessageEnvelope as Dr, localRuntimesQuerySchema as Dt, continuitySchema as E, structuredGuidePayloadFromInputSchema as En, normalizeKnownBuiltinAgentControllerId as Er, localRuntimeEnrollmentResponseSchema as Et, daemonRouteCatalogCacheSchema as F, upsertProfileSpaceHistoryResponseSchema as Fn, providerDispatchRuntimeContextSchema as Fr, observabilityWakeTraceSelectorSchema as Ft, forgetComputerResponseSchema as G, DISPATCH_ACTIVITY_DISPATCHING_PURPOSE as Gn, runtimeTransportDispatchLifecycleRequestSchema as Gr, postSpaceMembersResponseSchema as Gt, ensureAgentProfilePrimaryBindingBodySchema as H, AGENT_REPLY_PREVIEW_PURPOSE as Hn, runtimeCoordinatorExecutionTokenEnvelopeSchema as Hr, postNormalMessageBodySchema as Ht, daemonRouteObservationResponseSchema as I, wakeLoopRequestContextSchema as In, resolveBuiltinAgentControllerConversationKind as Ir, openCenterAgentDirectMessageSpaceResponseSchema as It, gatewayErrorEnvelopeSchema as J, LEGACY_RUNTIME_DISPATCH_POLICY as Jn, runtimeTransportDispatchRuntimeEvidenceRequestSchema as Jr, prepareSessionResponseSchema as Jt, forgetCurrentComputerResponseSchema as K, DISPATCH_ACTIVITY_FAILED_PURPOSE as Kn, runtimeTransportDispatchPreviewEndRequestSchema as Kr, postSpaceThreadSignalBodySchema as Kt, daemonRuntimeLeaseSchema as L, writeCurrentDeviceObservedMetadataBodySchema as Ln, resolveMessageEnvelopeTargetField as Lr, organizationDirectoryResponseSchema as Lt, createSpaceThreadResponseSchema as M, submitRuntimeRegistrationResponseSchema as Mn, postSpaceWakeStopBodySchema as Mr, notifyAgentProfileRouteCatalogChangedBodySchema as Mt, currentDeviceTargetResponseSchema as N, updateAgentProfilePrimaryBindingAgentControllerPermissionModeBodySchema as Nn, postSpaceWakeStopResponseSchema as Nr, notifyAgentProfileRouteCatalogChangedResponseSchema as Nt, createSpaceDiagnosticReportBodySchema as O, submitRuntimeAgentControllerReportsResponseSchema as On, normalizeOptionalWorkingDirectory as Or, localRuntimesResponseSchema as Ot, currentLocalRuntimeReplyReadinessResponseSchema as P, updateAgentProfilePrimaryBindingModelSelectionBodySchema as Pn, profileWorkspaceModeSchema as Pr, notifyAgentProfilesRouteCatalogChangedBodySchema as Pt, getAgentExecutionReadinessResponseSchema as Q, MAX_SIGNAL_REPLY_TO_PREVIEW_LENGTH as Qn, runtimeTransportLocalAgentControlInterruptFramePayloadSchema as Qr, projectObservabilityWakeCorrelation as Qt, deleteSpaceResponseSchema as R, writeCurrentDeviceObservedMetadataResponseSchema as Rn, resolveSingleSpaceMentionLabels as Rr, organizationSpaceDirectoryResponseSchema as Rt, centerAgentEnableAgentProfileResponseSchema as S, spaceMemberDirectorySchema as Sn, formatLocalSetupActionLabel as Sr, listSpaceThreadSignalsResponseSchema as St, cliJsonOutputEnvelopeSchema as T, spaceViewerMembershipResponseSchema as Tn, normalizeBuiltinAgentControllerId as Tr, localRuntimeEnrollmentBodySchema as Tt, ensureAgentProfilePrimaryBindingResponseSchema as U, CONVERSATION_CONTINUITY_WARNING_PURPOSE as Un, runtimeTransportDeliverDispatchRequestSchema as Ur, postNormalMessageResponseSchema as Ut, dispatchBriefSchema as V, AGENT_REPLY_PREVIEW_END_PURPOSE as Vn, runtimeAgentControllerSettingsSchema as Vr, patchSpaceContractResponseSchema as Vt, entryBriefSchema as W, CURRENT_DAEMON_EXECUTION_CONTRACT_EPOCH as Wn, runtimeTransportDeliveryExecutionIdentitySchema as Wr, postSpaceMembersBodySchema as Wt, getAgentExecutionReadinessBatchBodySchema as X, MAX_PROFILE_ID_LENGTH as Xn, runtimeTransportHeartbeatResponseSchema as Xr, prepareSetupBootstrapWriteSchema as Xt, getActiveSpaceWakeProgressResponseSchema as Y, LOCAL_COMPONENTS_SCHEMA_VERSION as Yn, runtimeTransportHeartbeatRequestSchema as Yr, prepareSessionStreamServerFrameSchema as Yt, getAgentExecutionReadinessBatchResponseSchema as Z, MAX_PROFILE_WORKING_DIRECTORY_LENGTH as Zn, runtimeTransportLocalAgentControlCancelFramePayloadSchema as Zr, prepareStepDiagnosticsBundleSchema as Zt, centerAgentCreateAgentProfileBodySchema as _, spaceBootstrapResponseSchema as _n, daemonStreamFrameSchema as _r, listCenterAgentAuditJournalQuerySchema as _t, DAEMON_ROUTE_CATALOG_CACHE_SCHEMA_VERSION as a, sanitizeSignalTextPreview as ai, resolveSpaceDispatchTraceRootCause as an, SPACE_PASSWORD_MIN_LENGTH as ar, getPrepareReadinessResponseSchema as at, centerAgentCreateSpaceResponseSchema as b, spaceIdentityDirectorySchema as bn, formatLocalComponentsSummaryLabel as br, listProfileSpaceHistoryResponseSchema as bt, SETUP_PLAN_AGENT_VIEW_CODE as c, wakeLoopDaemonTaskResultEnvelopeWriteSchema as ci, serverErrorFrameSchema as cn, WAKELOOP_DAEMON_TASK_RESULT_SCHEMA_VERSION as cr, getSpaceDispatchResultResponseSchema as ct, accountSpaceIndexResponseSchema as d, wakeLoopRuntimeProfileIdSchema as di, setLocalRuntimeDisplayNameBodySchema as dn, canonicalizeAgentControllerRef as dr, getSpaceThreadResponseSchema as dt, runtimeTransportLocalAgentControlSetEnabledFramePayloadSchema as ei, redactPrepareStepDiagnosticsBundle as en, MESSAGE_MENTION_TYPE_VALUES as er, getCenterAgentDesignationResponseSchema as et, agentControllerPermissionModeSchema as f, wakeLoopSpaceEgressActionSchema as fi, setSpaceAccessModeBodySchema as fn, canonicalizeBuiltinAgentControllerRef as fr, getSpaceUpdatesResponseSchema as ft, catchupResponseSchema as g, spaceAccessModeStateSchema as gn, daemonServiceLaneSchema as gr, leaveSpaceResponseSchema as gt, authorizeAgentProfileBindingForOrganizationResponseSchema as h, signalEnvelopeSchema as hn, daemonServiceContractSchema as hr, incomingServerMessageSchema as ht, DAEMON_ROUTE_CATALOG_CACHE_SCHEMA_NAME as i, runtimeTransportSubmitTaskResultRequestSchema as ii, removeSpaceMembersResponseSchema as in, SPACE_MENTION_REJECT_NOTICE_PURPOSE as ir, getPrepareReadinessQuerySchema as it, createSpaceThreadBodySchema as j, submitRuntimeRegistrationBodySchema as jn, parseOptionalClientMessageId as jr, normalizeSpaceCursorPatch as jt, createSpaceDiagnosticReportResponseSchema as k, submitRuntimeProviderConversationProofsBodySchema as kn, normalizeSpacePasswordText as kr, modelCatalogSchema as kt, SETUP_PLAN_AGENT_VIEW_SCHEMA_VERSION as l, wakeLoopDaemonTaskResultOpenClawGatewayVisibilityStatusSchema as li, setCurrentLocalAgentEnabledBodySchema as ln, buildAgentControllerConversationRef as lr, getSpaceMessageDetailsResponseSchema as lt, agentProfileBindingRouteParamsSchema as m, setupPlanAgentViewPayloadSchema as mn, conversationExecutionStateSchema as mr, getSpaceWakeTraceWaterfallResponseSchema as mt, resolveDetailedPublicAgentFailureReason as n, runtimeTransportRegisterSessionResponseSchema as ni, redactPrepareStepDiagnosticsValue as nn, SPACE_MEMBER_JOIN_NOTICE_PURPOSE as nr, getLocalRuntimeExpectedRoutesResponseSchema as nt, PREPARE_SESSION_STREAM_PROTOCOL_VERSION as o, wakeLoopDaemonControlPlaneRequestSchema as oi, revokeAgentProfileBindingForOrganizationResponseSchema as on, SPACE_UPDATES_MAX_LIMIT as or, getSpaceContractResponseSchema as ot, agentExecutionReadinessRouteParamsSchema as p, setupPlanAgentViewEventSchema as pn, collectCanonicalMentionTextFragments as pr, getSpaceWakeProgressResponseSchema as pt, gatewayErrorCodeSchema as q, DISPATCH_ACTIVITY_RETRYING_PURPOSE as qn, runtimeTransportDispatchPreviewRequestSchema as qr, postSpaceThreadSignalResponseSchema as qt, resolveMappedPublicAgentFailureReason as r, runtimeTransportRouteCatalogChangedFramePayloadSchema as ri, refreshCurrentLocalAgentCatalogResponseSchema as rn, SPACE_MEMBER_REMOVE_NOTICE_PURPOSE as rr, getModelCatalogResponseSchema as rt, PREPARE_STEP_DIAGNOSTICS_MAX_CHARS as s, wakeLoopDaemonControlPlaneResponseSchema as si, revokeCenterAgentResponseSchema as sn, WAKELOOP_DAEMON_CONTROL_PLANE_SCHEMA_VERSION as sr, getSpaceDispatchLookupResponseSchema as st, resolveBuiltinAgentControllerBrand as t, runtimeTransportRegisterSessionRequestSchema as ti, redactPrepareStepDiagnosticsText as tn, RUNTIME_TRANSPORT_SCHEMA_VERSION as tr, getLocalRuntimeExpectedRoutesQuerySchema as tt, SPACE_DISPATCH_TRACE_PROMPT_PREVIEW_MAX_CHARS as u, wakeLoopDaemonTaskResultPayloadSchema as ui, setCurrentLocalAgentEnabledResponseSchema as un, buildAgentControllerRoutingKey as ur, getSpaceStatusResponseSchema as ut, centerAgentCreateAgentProfileResponseSchema as v, spaceCreatorSchema as vn, formatCanonicalMentionLiteral as vr, listCenterAgentAuditJournalResponseSchema as vt, centerAgentInviteMemberResponseSchema as w, spaceMetaSchema as wn, installedLocalComponentsSnapshotSchema as wr, localAgentCatalogSchema as wt, centerAgentEnableAgentProfileBodySchema as x, spaceMemberDirectoryEntrySchema as xn, formatLocalSetupActionDescription as xr, listSpaceThreadEventsResponseSchema as xt, centerAgentCreateSpaceBodySchema as y, spaceDispatchTraceResponseSchema as yn, formatLocalComponentsSummaryDescription as yr, listOrganizationBindingAuthorizationsResponseSchema as yt, designateCenterAgentBodySchema as z, AGENT_REPLYING_END_PURPOSE as zn, resolveSpaceMentionLabels as zr, patchProfileSpaceHistoryStatusResponseSchema as zt };
|
|
10910
|
+
//# sourceMappingURL=dist-gbpVUIxv.js.map
|