@kici-dev/engine 0.1.26 → 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.
Files changed (157) hide show
  1. package/dist/approval/types.d.ts +11 -4
  2. package/dist/approval/types.js +11 -4
  3. package/dist/artifacts/name.d.ts +60 -0
  4. package/dist/artifacts/name.js +71 -0
  5. package/dist/audit/access-log-policy.d.ts +1 -1
  6. package/dist/audit/access-log-policy.js +20 -11
  7. package/dist/audit/activity.d.ts +12 -12
  8. package/dist/audit/retention-policy.js +40 -22
  9. package/dist/billing/plan-type.d.ts +53 -0
  10. package/dist/billing/plan-type.js +70 -0
  11. package/dist/bundler/rolldown-config.d.ts +3 -3
  12. package/dist/check-mode.d.ts +1 -1
  13. package/dist/context/concurrency-strategy.d.ts +34 -0
  14. package/dist/context/concurrency-strategy.js +35 -0
  15. package/dist/context/held-run-job-id.d.ts +45 -0
  16. package/dist/context/held-run-job-id.js +56 -0
  17. package/dist/context/held-run-status.d.ts +33 -0
  18. package/dist/context/held-run-status.js +37 -0
  19. package/dist/context/hold-expiry.d.ts +20 -0
  20. package/dist/context/hold-expiry.js +25 -0
  21. package/dist/context/hold-reason.d.ts +33 -0
  22. package/dist/context/hold-reason.js +23 -0
  23. package/dist/context/hold-type.d.ts +40 -0
  24. package/dist/context/hold-type.js +61 -0
  25. package/dist/{environment → context}/host-match.js +1 -1
  26. package/dist/context/index.d.ts +14 -0
  27. package/dist/context/index.js +12 -0
  28. package/dist/context/multi-context.d.ts +30 -0
  29. package/dist/context/multi-context.js +38 -0
  30. package/dist/context/scope-name.d.ts +29 -0
  31. package/dist/context/scope-name.js +49 -0
  32. package/dist/context/scope-resolver.d.ts +79 -0
  33. package/dist/{environment → context}/scope-resolver.js +47 -17
  34. package/dist/{environment → context}/scope-template.js +1 -1
  35. package/dist/{environment → context}/types.d.ts +25 -22
  36. package/dist/{environment → context}/types.js +3 -3
  37. package/dist/dev-ops/operations.d.ts +9 -1
  38. package/dist/dev-ops/operations.js +37 -20
  39. package/dist/diagnostics/infra-alert.d.ts +71 -0
  40. package/dist/diagnostics/infra-alert.js +60 -0
  41. package/dist/env/environment-allowlist.d.ts +26 -3
  42. package/dist/env/environment-allowlist.js +35 -1
  43. package/dist/fanout/materialize.d.ts +16 -0
  44. package/dist/fanout/materialize.js +34 -5
  45. package/dist/index.d.ts +16 -7
  46. package/dist/index.js +38 -23
  47. package/dist/inputs/descriptor.d.ts +9 -9
  48. package/dist/inventory.d.ts +4 -4
  49. package/dist/labels.d.ts +82 -2
  50. package/dist/labels.js +119 -1
  51. package/dist/matrix/expand.d.ts +49 -2
  52. package/dist/matrix/expand.js +102 -13
  53. package/dist/matrix/format.d.ts +6 -1
  54. package/dist/matrix/format.js +6 -1
  55. package/dist/mcp/held-run-resolve.d.ts +7 -10
  56. package/dist/mcp/held-run-resolve.js +33 -7
  57. package/dist/metrics/catalog-policy.js +4 -4
  58. package/dist/metrics/metric-catalog.generated.d.ts +954 -734
  59. package/dist/metrics/metric-catalog.generated.js +296 -32
  60. package/dist/metrics/metric-kind-compat.d.ts +26 -0
  61. package/dist/metrics/metric-kind-compat.js +33 -0
  62. package/dist/protocol/analytics-events.d.ts +6 -6
  63. package/dist/protocol/dashboard-api-errors.d.ts +13 -0
  64. package/dist/protocol/dashboard-api-errors.js +17 -0
  65. package/dist/protocol/dashboard-write-operations.d.ts +143 -86
  66. package/dist/protocol/dashboard-write-operations.js +143 -69
  67. package/dist/protocol/messages/access-log.d.ts +438 -388
  68. package/dist/protocol/messages/access-log.js +24 -14
  69. package/dist/protocol/messages/actor.d.ts +2 -2
  70. package/dist/protocol/messages/agent-dev-ops.d.ts +4 -2
  71. package/dist/protocol/messages/agent-dev-ops.js +2 -5
  72. package/dist/protocol/messages/agent-run-result.d.ts +74 -64
  73. package/dist/protocol/messages/agent-run-result.js +1 -1
  74. package/dist/protocol/messages/auth.d.ts +35 -23
  75. package/dist/protocol/messages/browser.d.ts +81 -5
  76. package/dist/protocol/messages/browser.js +53 -2
  77. package/dist/protocol/messages/capabilities.d.ts +106 -31
  78. package/dist/protocol/messages/capabilities.js +94 -10
  79. package/dist/protocol/messages/common.d.ts +45 -2
  80. package/dist/protocol/messages/common.js +64 -3
  81. package/dist/protocol/messages/dashboard-sealed-write.d.ts +52 -0
  82. package/dist/protocol/messages/dashboard-sealed-write.js +57 -0
  83. package/dist/protocol/messages/dashboard.d.ts +1232 -706
  84. package/dist/protocol/messages/dashboard.js +387 -220
  85. package/dist/protocol/messages/deployment-identity.d.ts +37 -10
  86. package/dist/protocol/messages/deployment-identity.js +30 -3
  87. package/dist/protocol/messages/event-log.d.ts +5 -5
  88. package/dist/protocol/messages/execution-status.d.ts +198 -62
  89. package/dist/protocol/messages/execution-status.js +114 -46
  90. package/dist/protocol/messages/heartbeat-health.d.ts +83 -0
  91. package/dist/protocol/messages/heartbeat-health.js +87 -0
  92. package/dist/protocol/messages/log-stream.d.ts +18 -0
  93. package/dist/protocol/messages/log-stream.js +19 -0
  94. package/dist/protocol/messages/oidc-mint.d.ts +7 -0
  95. package/dist/protocol/messages/oidc-mint.js +7 -0
  96. package/dist/protocol/messages/orchestrator-agent.d.ts +264 -67
  97. package/dist/protocol/messages/orchestrator-agent.js +170 -5
  98. package/dist/protocol/messages/pat-kind.d.ts +1 -1
  99. package/dist/protocol/messages/peer.d.ts +122 -58
  100. package/dist/protocol/messages/peer.js +37 -2
  101. package/dist/protocol/messages/platform-orchestrator.d.ts +603 -258
  102. package/dist/protocol/messages/platform-orchestrator.js +131 -21
  103. package/dist/protocol/messages/run-events.d.ts +5 -5
  104. package/dist/protocol/messages/scaler-event.d.ts +3 -3
  105. package/dist/protocol/messages/source-registration.d.ts +56 -13
  106. package/dist/protocol/messages/source-registration.js +49 -6
  107. package/dist/protocol/session-policy.d.ts +20 -0
  108. package/dist/protocol/session-policy.js +25 -0
  109. package/dist/protocol/source-origin.d.ts +1 -1
  110. package/dist/provenance/attestation-origin.d.ts +1 -1
  111. package/dist/provenance/schema.d.ts +11 -11
  112. package/dist/provenance/verify.js +2 -1
  113. package/dist/provider/changed-files-fetcher.d.ts +21 -2
  114. package/dist/provider/check-run-conclusion.d.ts +2 -2
  115. package/dist/provider/check-status-poster.d.ts +23 -0
  116. package/dist/provider/index.d.ts +2 -2
  117. package/dist/registration/registerable-trigger-type.d.ts +14 -13
  118. package/dist/registration/registerable-trigger-type.js +1 -0
  119. package/dist/sandbox/capabilities.d.ts +6 -0
  120. package/dist/sandbox/capabilities.js +57 -0
  121. package/dist/scaler/scaler-backend-type.d.ts +1 -1
  122. package/dist/status/presentation.d.ts +89 -0
  123. package/dist/status/presentation.js +163 -0
  124. package/dist/trigger/compiled-matchers.d.ts +13 -0
  125. package/dist/trigger/compiled-matchers.js +44 -0
  126. package/dist/trigger/event-buckets.d.ts +44 -0
  127. package/dist/trigger/event-buckets.js +93 -0
  128. package/dist/trigger/matcher.d.ts +7 -3
  129. package/dist/trigger/matcher.js +53 -15
  130. package/dist/trigger/schedule-key.d.ts +14 -0
  131. package/dist/trigger/schedule-key.js +21 -0
  132. package/dist/trigger/trigger-event-type.d.ts +1 -1
  133. package/dist/trigger/trigger-event-type.js +2 -0
  134. package/dist/trigger/types.d.ts +178 -47
  135. package/dist/trigger/types.js +82 -24
  136. package/dist/webhook/event-types.d.ts +56 -0
  137. package/dist/webhook/event-types.js +59 -0
  138. package/dist/ws/ws-like.d.ts +13 -0
  139. package/package.json +26 -10
  140. package/sbom.spdx.json +10 -10
  141. package/dist/environment/index.d.ts +0 -6
  142. package/dist/environment/index.js +0 -5
  143. package/dist/environment/multi-env.d.ts +0 -30
  144. package/dist/environment/multi-env.js +0 -38
  145. package/dist/environment/scope-resolver.d.ts +0 -46
  146. package/dist/package-manager.d.ts +0 -20
  147. package/dist/protocol/messages/observe.d.ts +0 -76
  148. package/dist/protocol/messages/saas-orchestrator.d.ts +0 -2179
  149. package/dist/protocol/messages/test-run.d.ts +0 -59
  150. package/dist/state-machine/index.d.ts +0 -2
  151. package/dist/state-machine/index.js +0 -3
  152. package/dist/state-machine/machine.d.ts +0 -34
  153. package/dist/state-machine/machine.js +0 -103
  154. package/dist/state-machine/types.d.ts +0 -34
  155. package/dist/state-machine/types.js +0 -15
  156. /package/dist/{environment → context}/host-match.d.ts +0 -0
  157. /package/dist/{environment → context}/scope-template.d.ts +0 -0
@@ -3,7 +3,9 @@ import { CheckMode, CheckStepOutcome } from "../../check-mode.js";
3
3
  import { SourceOrigin } from "../source-origin.js";
4
4
  import { AttestationOrigin } from "../../provenance/attestation-origin.js";
5
5
  import { actorPrincipalSchema } from "./actor.js";
6
- import { StepConcurrencyKind, initFailureSchema } from "./execution-status.js";
6
+ import { HeldRunStatus } from "../../context/held-run-status.js";
7
+ import { dashboardSealedEnvelopeSchema } from "./dashboard-sealed-write.js";
8
+ import { StepConcurrencyKind, initFailureSchema, stateReplayRunSchema } from "./execution-status.js";
7
9
  import { agentRunResultSchema } from "./agent-run-result.js";
8
10
  import { kiciBundleSchema } from "../../provenance/bundle.js";
9
11
  import { dashboardAccessLogListRequestSchema, dashboardAccessLogListResponseSchema } from "./access-log.js";
@@ -15,6 +17,7 @@ import { ScalerBackendType } from "../../scaler/scaler-backend-type.js";
15
17
  import { ApprovalDecision, HoldScope, approverClauseSchema } from "../../approval/types.js";
16
18
  import { NeedsRunOn, OnUnreachableMode } from "../../trigger/types.js";
17
19
  import { HostTargetSelector } from "../../labels-match.js";
20
+ import { ConcurrencyStrategy } from "../../context/concurrency-strategy.js";
18
21
  import { HostInventoryEntry } from "../../inventory.js";
19
22
  import { globalWorkflowsGetRequestSchema, globalWorkflowsGetResponseSchema, globalWorkflowsUpdateRequestSchema, globalWorkflowsUpdateResponseSchema } from "./dashboard-global-workflows.js";
20
23
  import { z } from "zod";
@@ -44,6 +47,31 @@ const dashboardRunStructuredResponseSchema = z.object({
44
47
  result: agentRunResultSchema.nullable(),
45
48
  error: z.string().optional()
46
49
  });
50
+ /**
51
+ * Request the current mirror-projection state of a single run from the
52
+ * orchestrator. Unlike `dashboard.run.detail` (a user-plane read that
53
+ * access-logs), this is a **system reconciliation read**: the Platform's
54
+ * `RunMirrorReconciler` issues it for a run stuck non-terminal in the mirror to
55
+ * recover a terminal frame dropped on a live connection. The `actor` is always a
56
+ * `system` principal, and the orchestrator does NOT write an access-log row.
57
+ */
58
+ const dashboardRunStateRequestSchema = z.object({
59
+ type: z.literal("dashboard.run.state"),
60
+ requestId: z.string(),
61
+ actor: actorPrincipalSchema,
62
+ runId: z.string()
63
+ });
64
+ /**
65
+ * Response carrying the run's current `StateReplayRun` mirror-projection shape
66
+ * (the same shape `state.replay` carries), or `run: null` when the orchestrator
67
+ * has no such run. Consumed by `upsertRunMirror` on the Platform side.
68
+ */
69
+ const dashboardRunStateResponseSchema = z.object({
70
+ type: z.literal("dashboard.run.state.response"),
71
+ requestId: z.string(),
72
+ run: stateReplayRunSchema.nullable(),
73
+ error: z.string().optional()
74
+ });
47
75
  /** Request step logs from orchestrator. */
48
76
  const dashboardStepLogsRequestSchema = z.object({
49
77
  type: z.literal("dashboard.step.logs"),
@@ -107,17 +135,17 @@ const dashboardJobDetailSchema = z.object({
107
135
  /** Labels used for agent routing (e.g. ["kici:os:linux", "kici:arch:x64"]). */
108
136
  runsOnLabels: z.array(z.string()).nullable().optional(),
109
137
  /**
110
- * Ordered bound deployment-environment names for this job, in merge order
111
- * (later environments override earlier on key collisions). A `(dynamic)`
138
+ * Ordered bound deployment-context names for this job, in merge order
139
+ * (later contexts override earlier on key collisions). A `(dynamic)`
112
140
  * entry marks an element resolved at runtime. null/absent = no binding.
113
141
  */
114
- environments: z.array(z.string()).nullable().optional(),
142
+ contexts: z.array(z.string()).nullable().optional(),
115
143
  /**
116
- * Bound environments skipped on a test/local run (non-test or unconfigured).
144
+ * Bound contexts skipped on a test/local run (non-test or unconfigured).
117
145
  * null/absent when nothing was skipped.
118
146
  */
119
- skippedEnvironments: z.array(z.string()).nullable().optional(),
120
- /** User-visible warning naming the skipped test-run environments. null/absent when none. */
147
+ skippedContexts: z.array(z.string()).nullable().optional(),
148
+ /** User-visible warning naming the skipped test-run contexts. null/absent when none. */
121
149
  envWarning: z.string().nullable().optional(),
122
150
  /** Aggregated step outputs (step-keyed map). Present when job completed successfully with outputs. */
123
151
  outputs: z.record(z.string(), z.record(z.string(), z.unknown())).nullable().optional(),
@@ -239,6 +267,50 @@ const dashboardAttestationsListResponseSchema = z.object({
239
267
  type: z.literal("dashboard.attestations.list.response"),
240
268
  requestId: z.string(),
241
269
  attestations: z.array(attestationListItemSchema),
270
+ /**
271
+ * The provenance issuer that signs this orchestrator's attestations, when it
272
+ * owns signing (`KICI_ORCHESTRATOR_PROVENANCE_ISSUER`). The Platform surfaces
273
+ * it as `trustedIssuer` so the dashboard / CLI verify against the orchestrator
274
+ * that actually signed the bundles; absent → the Platform falls back to its own
275
+ * issuer (for historical Platform-signed bundles). Optional for backward
276
+ * compatibility with older orchestrators.
277
+ */
278
+ trustedIssuer: z.string().nullable().optional(),
279
+ error: z.string().optional()
280
+ });
281
+ /** Request the named artifacts uploaded by a run. */
282
+ const dashboardArtifactsListRequestSchema = z.object({
283
+ type: z.literal("dashboard.artifacts.list"),
284
+ requestId: z.string(),
285
+ actor: actorPrincipalSchema,
286
+ runId: z.string()
287
+ });
288
+ /**
289
+ * Single artifact in the list response. `downloadUrl` is a presigned GET the
290
+ * dashboard links directly; it is omitted when the backing object could not be
291
+ * resolved (expired / missing), in which case the row still lists the metadata.
292
+ */
293
+ const artifactListItemSchema = z.object({
294
+ name: z.string(),
295
+ jobId: z.string(),
296
+ sizeBytes: z.number(),
297
+ sha256: z.string(),
298
+ createdAt: z.string(),
299
+ downloadUrl: z.string().optional()
300
+ });
301
+ /** Response with the run's artifacts (correlates to dashboard.artifacts.list). */
302
+ const dashboardArtifactsListResponseSchema = z.object({
303
+ type: z.literal("dashboard.artifacts.list.response"),
304
+ requestId: z.string(),
305
+ artifacts: z.array(artifactListItemSchema),
306
+ /**
307
+ * Signature-validity window (seconds) of the presigned `downloadUrl`s in this
308
+ * response, from the storage backend's presigned-GET expiry; the dashboard
309
+ * refreshes the list on a fraction of it so a displayed link is never stale.
310
+ * Optional for backward compatibility with older orchestrators (mirrors
311
+ * `trustedIssuer`).
312
+ */
313
+ downloadUrlExpiresInSeconds: z.number().int().positive().optional(),
242
314
  error: z.string().optional()
243
315
  });
244
316
  /**
@@ -301,6 +373,8 @@ const dashboardAttestationsListAllResponseSchema = z.object({
301
373
  page: z.number().int(),
302
374
  pageSize: z.number().int(),
303
375
  total: z.number().int(),
376
+ /** See `dashboardAttestationsListResponseSchema.trustedIssuer`. */
377
+ trustedIssuer: z.string().nullable().optional(),
304
378
  error: z.string().optional()
305
379
  });
306
380
  /** Request a single attestation by id (detail page; inlines the one bundle). */
@@ -354,8 +428,8 @@ const dashboardRunSummarySchema = z.object({
354
428
  triggerEvent: z.string().optional(),
355
429
  commitMessage: z.string().optional(),
356
430
  jobCount: z.number().optional(),
357
- /** Distinct bound deployment-environment names across the run's jobs (first-seen order). */
358
- environments: z.array(z.string()).optional(),
431
+ /** Distinct bound deployment-context names across the run's jobs (first-seen order). */
432
+ contexts: z.array(z.string()).optional(),
359
433
  startedAt: z.string().optional(),
360
434
  completedAt: z.string().optional(),
361
435
  durationMs: z.number().optional(),
@@ -499,6 +573,12 @@ const runCancelResponseSchema = z.object({
499
573
  type: z.literal("run.cancel.response"),
500
574
  requestId: z.string(),
501
575
  cancelledJobs: z.number().optional(),
576
+ /**
577
+ * True when the run was already terminal, so the cancel wrote nothing. Optional
578
+ * so an orchestrator that predates the field still parses: an absent value
579
+ * means "not reported", not "false".
580
+ */
581
+ alreadyTerminal: z.boolean().optional(),
502
582
  error: z.string().optional()
503
583
  });
504
584
  /** Request the original webhook payload for a run. */
@@ -601,6 +681,36 @@ const dashboardEventLogDetailResponseSchema = z.object({
601
681
  item: eventLogListItemSchema.optional(),
602
682
  error: z.string().optional()
603
683
  });
684
+ /** Aggregate webhook-activity counts for a time window (org-scoped).
685
+ * Powers the Runs-page misconfig strip + the `kici runs` hint. No payloads,
686
+ * no repo identifiers — safe for all org members. */
687
+ const dashboardEventLogActivityRequestSchema = z.object({
688
+ type: z.literal("dashboard.event-log.activity"),
689
+ requestId: z.string(),
690
+ actor: actorPrincipalSchema,
691
+ orgId: z.string(),
692
+ /** ISO timestamp lower bound (inclusive). */
693
+ fromTimestamp: z.string(),
694
+ /** ISO timestamp upper bound (exclusive). */
695
+ toTimestamp: z.string()
696
+ });
697
+ /** Orchestrator-only bucketed counts over the window. `matched`/`unmatched`
698
+ * distinguish a trigger-no-match delivery from one that produced a run — a
699
+ * fact the Platform relay cannot compute (see the two-table architecture). */
700
+ const eventLogActivityCountsSchema = z.object({
701
+ total: z.number(),
702
+ matched: z.number(),
703
+ unmatched: z.number(),
704
+ lockfileMissing: z.number(),
705
+ lockfileCorrupt: z.number(),
706
+ failed: z.number()
707
+ });
708
+ const dashboardEventLogActivityResponseSchema = z.object({
709
+ type: z.literal("dashboard.event-log.activity.response"),
710
+ requestId: z.string(),
711
+ counts: eventLogActivityCountsSchema.optional(),
712
+ error: z.string().optional()
713
+ });
604
714
  /**
605
715
  * Reasons a chunked event-log payload stream may terminate without a body.
606
716
  * The terminal chunk carries `isLast=true` plus one of these codes in
@@ -757,15 +867,14 @@ const dashboardEventDlqDiscardResponseSchema = z.object({
757
867
  discarded: z.boolean().optional(),
758
868
  error: z.string().optional()
759
869
  });
760
- const environmentTypeSchema = z.enum(["fixed", "glob"]);
761
- const concurrencyStrategySchema = z.enum(["queue", "cancel-pending"]);
762
- /** List all environments for the org. */
763
- const envListRequestSchema = z.object({
764
- type: z.literal("dashboard.environments.list"),
870
+ const contextTypeSchema = z.enum(["fixed", "glob"]);
871
+ /** List all contexts for the org. */
872
+ const contextListRequestSchema = z.object({
873
+ type: z.literal("dashboard.contexts.list"),
765
874
  requestId: z.string(),
766
875
  actor: actorPrincipalSchema,
767
876
  /**
768
- * When true, each returned environment carries its reachable secret key
877
+ * When true, each returned context carries its reachable secret key
769
878
  * names (never values) in `secretKeys`. Used by the developer CLI's
770
879
  * `kici secrets list` / `kici types` commands.
771
880
  */
@@ -774,27 +883,27 @@ const envListRequestSchema = z.object({
774
883
  * Target org the read must be scoped to, carried per-request by the Platform
775
884
  * (the validated `:orgId` path param). The orchestrator honors this over its
776
885
  * static connection-level org so a Platform-first `kici run remote` org —
777
- * anchored only by `remote_sources` — sees its own environments even when the
886
+ * anchored only by `remote_sources` — sees its own contexts even when the
778
887
  * orchestrator's connection also serves a webhook source for a different org.
779
888
  * Absent on the legacy customer-dashboard path, where the connection org is
780
889
  * already the request org.
781
890
  */
782
891
  orgId: z.string().optional()
783
892
  });
784
- const envListResponseSchema = z.object({
785
- type: z.literal("dashboard.environments.list.response"),
893
+ const contextListResponseSchema = z.object({
894
+ type: z.literal("dashboard.contexts.list.response"),
786
895
  requestId: z.string(),
787
- environments: z.array(z.object({
896
+ contexts: z.array(z.object({
788
897
  id: z.string(),
789
898
  name: z.string(),
790
- type: environmentTypeSchema,
899
+ type: contextTypeSchema,
791
900
  globPattern: z.string().nullable(),
792
901
  enabled: z.boolean(),
793
902
  allowLocalExecution: z.boolean(),
794
903
  createdAt: z.coerce.string(),
795
904
  updatedAt: z.coerce.string(),
796
905
  /**
797
- * Distinct secret key names reachable from this environment's scope
906
+ * Distinct secret key names reachable from this context's scope
798
907
  * bindings (never values). Present only when the request set
799
908
  * `includeSecrets: true`.
800
909
  */
@@ -802,24 +911,24 @@ const envListResponseSchema = z.object({
802
911
  })).optional(),
803
912
  error: z.string().optional()
804
913
  });
805
- /** Get a single environment by ID. */
806
- const envGetRequestSchema = z.object({
807
- type: z.literal("dashboard.environments.get"),
914
+ /** Get a single context by ID. */
915
+ const contextGetRequestSchema = z.object({
916
+ type: z.literal("dashboard.contexts.get"),
808
917
  requestId: z.string(),
809
918
  actor: actorPrincipalSchema,
810
- environmentId: z.string()
919
+ contextId: z.string()
811
920
  });
812
- const envGetResponseSchema = z.object({
813
- type: z.literal("dashboard.environments.get.response"),
921
+ const contextGetResponseSchema = z.object({
922
+ type: z.literal("dashboard.contexts.get.response"),
814
923
  requestId: z.string(),
815
- environment: z.object({
924
+ context: z.object({
816
925
  id: z.string(),
817
926
  name: z.string(),
818
- type: environmentTypeSchema,
927
+ type: contextTypeSchema,
819
928
  globPattern: z.string().nullable(),
820
929
  branchRestrictions: z.array(z.string()).nullable(),
821
930
  concurrencyLimit: z.number().nullable(),
822
- concurrencyStrategy: concurrencyStrategySchema.nullable(),
931
+ concurrencyStrategy: ConcurrencyStrategy.nullable(),
823
932
  requiredReviewers: z.number().nullable(),
824
933
  waitTimerSeconds: z.number().nullable(),
825
934
  holdExpirySeconds: z.number().nullable(),
@@ -830,98 +939,98 @@ const envGetResponseSchema = z.object({
830
939
  }).optional(),
831
940
  error: z.string().optional()
832
941
  });
833
- /** Create a new environment. */
834
- const envCreateRequestSchema = z.object({
835
- type: z.literal("dashboard.environments.create"),
942
+ /** Create a new context. */
943
+ const contextCreateRequestSchema = z.object({
944
+ type: z.literal("dashboard.contexts.create"),
836
945
  requestId: z.string(),
837
946
  actor: actorPrincipalSchema,
838
947
  name: z.string(),
839
- envType: environmentTypeSchema,
948
+ contextType: contextTypeSchema,
840
949
  globPattern: z.string().optional(),
841
950
  branchRestrictions: z.array(z.string()).optional(),
842
- concurrencyLimit: z.number().optional(),
843
- concurrencyStrategy: concurrencyStrategySchema.optional(),
951
+ concurrencyLimit: z.number().int().positive().optional(),
952
+ concurrencyStrategy: ConcurrencyStrategy.optional(),
844
953
  requiredReviewers: z.number().optional(),
845
954
  waitTimerSeconds: z.number().optional(),
846
- holdExpirySeconds: z.number().optional(),
955
+ holdExpirySeconds: z.number().int().positive().optional(),
847
956
  enabled: z.boolean().optional()
848
957
  });
849
- const envCreateResponseSchema = z.object({
850
- type: z.literal("dashboard.environments.create.response"),
958
+ const contextCreateResponseSchema = z.object({
959
+ type: z.literal("dashboard.contexts.create.response"),
851
960
  requestId: z.string(),
852
- environmentId: z.string().optional(),
961
+ contextId: z.string().optional(),
853
962
  error: z.string().optional()
854
963
  });
855
- /** Update an existing environment. */
856
- const envUpdateRequestSchema = z.object({
857
- type: z.literal("dashboard.environments.update"),
964
+ /** Update an existing context. */
965
+ const contextUpdateRequestSchema = z.object({
966
+ type: z.literal("dashboard.contexts.update"),
858
967
  requestId: z.string(),
859
968
  actor: actorPrincipalSchema,
860
- environmentId: z.string(),
969
+ contextId: z.string(),
861
970
  updates: z.object({
862
971
  name: z.string().optional(),
863
- envType: environmentTypeSchema.optional(),
972
+ contextType: contextTypeSchema.optional(),
864
973
  globPattern: z.string().nullable().optional(),
865
974
  branchRestrictions: z.array(z.string()).nullable().optional(),
866
- concurrencyLimit: z.number().nullable().optional(),
867
- concurrencyStrategy: concurrencyStrategySchema.nullable().optional(),
975
+ concurrencyLimit: z.number().int().positive().nullable().optional(),
976
+ concurrencyStrategy: ConcurrencyStrategy.nullable().optional(),
868
977
  requiredReviewers: z.number().nullable().optional(),
869
978
  waitTimerSeconds: z.number().nullable().optional(),
870
- holdExpirySeconds: z.number().nullable().optional(),
979
+ holdExpirySeconds: z.number().int().positive().nullable().optional(),
871
980
  enabled: z.boolean().optional()
872
981
  })
873
982
  });
874
- const envUpdateResponseSchema = z.object({
875
- type: z.literal("dashboard.environments.update.response"),
983
+ const contextUpdateResponseSchema = z.object({
984
+ type: z.literal("dashboard.contexts.update.response"),
876
985
  requestId: z.string(),
877
986
  error: z.string().optional()
878
987
  });
879
- /** Set an environment's test-run access flag (allowLocalExecution). */
880
- const envTestAccessSetRequestSchema = z.object({
881
- type: z.literal("dashboard.environments.test_access.set"),
988
+ /** Set an context's test-run access flag (allowLocalExecution). */
989
+ const contextTestAccessSetRequestSchema = z.object({
990
+ type: z.literal("dashboard.contexts.test_access.set"),
882
991
  requestId: z.string(),
883
992
  actor: actorPrincipalSchema,
884
- environmentId: z.string(),
993
+ contextId: z.string(),
885
994
  allowLocalExecution: z.boolean()
886
995
  });
887
- const envTestAccessSetResponseSchema = z.object({
888
- type: z.literal("dashboard.environments.test_access.set.response"),
996
+ const contextTestAccessSetResponseSchema = z.object({
997
+ type: z.literal("dashboard.contexts.test_access.set.response"),
889
998
  requestId: z.string(),
890
999
  error: z.string().optional()
891
1000
  });
892
- /** Delete an environment. */
893
- const envDeleteRequestSchema = z.object({
894
- type: z.literal("dashboard.environments.delete"),
1001
+ /** Delete an context. */
1002
+ const contextDeleteRequestSchema = z.object({
1003
+ type: z.literal("dashboard.contexts.delete"),
895
1004
  requestId: z.string(),
896
1005
  actor: actorPrincipalSchema,
897
- environmentId: z.string()
1006
+ contextId: z.string()
898
1007
  });
899
1008
  /**
900
- * Machine-readable codes for environment-delete rejections.
1009
+ * Machine-readable codes for context-delete rejections.
901
1010
  *
902
1011
  * Three-category response taxonomy on dashboard responses, each mapped to a
903
1012
  * distinct HTTP status by the Platform proxy: a bare free-text `error` is the
904
- * human message and maps to 400; a missing result (e.g. environment not found)
1013
+ * human message and maps to 400; a missing result (e.g. context not found)
905
1014
  * maps to 404; an `errorCode` flags a specific business rejection mapped to a
906
1015
  * non-400/404 status — here `pending_held_runs` → 409. The sibling precedent is
907
1016
  * the rerun response's `errorCode` (`runArchivedNotRerunnable` → 410) above.
908
1017
  */
909
- const EnvDeleteErrorCode = z.enum(["pending_held_runs"]);
910
- const envDeleteResponseSchema = z.object({
911
- type: z.literal("dashboard.environments.delete.response"),
1018
+ const ContextDeleteErrorCode = z.enum(["pending_held_runs"]);
1019
+ const contextDeleteResponseSchema = z.object({
1020
+ type: z.literal("dashboard.contexts.delete.response"),
912
1021
  requestId: z.string(),
913
1022
  error: z.string().optional(),
914
- errorCode: EnvDeleteErrorCode.optional()
1023
+ errorCode: ContextDeleteErrorCode.optional()
915
1024
  });
916
- /** List variables for an environment. */
917
- const envVarsListRequestSchema = z.object({
918
- type: z.literal("dashboard.environments.variables.list"),
1025
+ /** List variables for an context. */
1026
+ const contextVarsListRequestSchema = z.object({
1027
+ type: z.literal("dashboard.contexts.variables.list"),
919
1028
  requestId: z.string(),
920
1029
  actor: actorPrincipalSchema,
921
- environmentId: z.string()
1030
+ contextId: z.string()
922
1031
  });
923
- const envVarsListResponseSchema = z.object({
924
- type: z.literal("dashboard.environments.variables.list.response"),
1032
+ const contextVarsListResponseSchema = z.object({
1033
+ type: z.literal("dashboard.contexts.variables.list.response"),
925
1034
  requestId: z.string(),
926
1035
  variables: z.array(z.object({
927
1036
  key: z.string(),
@@ -930,44 +1039,53 @@ const envVarsListResponseSchema = z.object({
930
1039
  })).optional(),
931
1040
  error: z.string().optional()
932
1041
  });
933
- /** Set (create or update) a variable on an environment. */
934
- const envVarSetRequestSchema = z.object({
935
- type: z.literal("dashboard.environments.variables.set"),
1042
+ /**
1043
+ * Set (create or update) a variable on an context.
1044
+ *
1045
+ * Under the `permissive` posture the browser sends the plaintext `value`.
1046
+ * Under the `encrypted` posture it sends a `sealed` envelope instead (the value
1047
+ * sealed to the orchestrator's X25519 key in the browser). Exactly one of
1048
+ * `value` / `sealed` is present; `value` stays optional for backward
1049
+ * compatibility with older dashboards that only ever send plaintext.
1050
+ */
1051
+ const contextVarSetRequestSchema = z.object({
1052
+ type: z.literal("dashboard.contexts.variables.set"),
936
1053
  requestId: z.string(),
937
1054
  actor: actorPrincipalSchema,
938
- environmentId: z.string(),
1055
+ contextId: z.string(),
939
1056
  key: z.string(),
940
- value: z.string(),
1057
+ value: z.string().optional(),
1058
+ sealed: dashboardSealedEnvelopeSchema.optional(),
941
1059
  locked: z.boolean().optional()
942
- });
943
- const envVarSetResponseSchema = z.object({
944
- type: z.literal("dashboard.environments.variables.set.response"),
1060
+ }).refine((m) => m.value === void 0 !== (m.sealed === void 0), { message: "exactly one of value / sealed must be present" });
1061
+ const contextVarSetResponseSchema = z.object({
1062
+ type: z.literal("dashboard.contexts.variables.set.response"),
945
1063
  requestId: z.string(),
946
1064
  error: z.string().optional()
947
1065
  });
948
- /** Delete a variable from an environment. */
949
- const envVarDeleteRequestSchema = z.object({
950
- type: z.literal("dashboard.environments.variables.delete"),
1066
+ /** Delete a variable from an context. */
1067
+ const contextVarDeleteRequestSchema = z.object({
1068
+ type: z.literal("dashboard.contexts.variables.delete"),
951
1069
  requestId: z.string(),
952
1070
  actor: actorPrincipalSchema,
953
- environmentId: z.string(),
1071
+ contextId: z.string(),
954
1072
  key: z.string()
955
1073
  });
956
- const envVarDeleteResponseSchema = z.object({
957
- type: z.literal("dashboard.environments.variables.delete.response"),
1074
+ const contextVarDeleteResponseSchema = z.object({
1075
+ type: z.literal("dashboard.contexts.variables.delete.response"),
958
1076
  requestId: z.string(),
959
1077
  error: z.string().optional()
960
1078
  });
961
- /** List source overrides for an environment + routing key. */
962
- const envSourceOverridesListRequestSchema = z.object({
963
- type: z.literal("dashboard.environments.source-overrides.list"),
1079
+ /** List source overrides for an context + routing key. */
1080
+ const contextSourceOverridesListRequestSchema = z.object({
1081
+ type: z.literal("dashboard.contexts.source-overrides.list"),
964
1082
  requestId: z.string(),
965
1083
  actor: actorPrincipalSchema,
966
- environmentId: z.string(),
1084
+ contextId: z.string(),
967
1085
  routingKey: z.string()
968
1086
  });
969
- const envSourceOverridesListResponseSchema = z.object({
970
- type: z.literal("dashboard.environments.source-overrides.list.response"),
1087
+ const contextSourceOverridesListResponseSchema = z.object({
1088
+ type: z.literal("dashboard.contexts.source-overrides.list.response"),
971
1089
  requestId: z.string(),
972
1090
  overrides: z.array(z.object({
973
1091
  key: z.string(),
@@ -976,77 +1094,77 @@ const envSourceOverridesListResponseSchema = z.object({
976
1094
  error: z.string().optional()
977
1095
  });
978
1096
  /** Set a source override variable. */
979
- const envSourceOverrideSetRequestSchema = z.object({
980
- type: z.literal("dashboard.environments.source-overrides.set"),
1097
+ const contextSourceOverrideSetRequestSchema = z.object({
1098
+ type: z.literal("dashboard.contexts.source-overrides.set"),
981
1099
  requestId: z.string(),
982
1100
  actor: actorPrincipalSchema,
983
- environmentId: z.string(),
1101
+ contextId: z.string(),
984
1102
  routingKey: z.string(),
985
1103
  key: z.string(),
986
1104
  value: z.string()
987
1105
  });
988
- const envSourceOverrideSetResponseSchema = z.object({
989
- type: z.literal("dashboard.environments.source-overrides.set.response"),
1106
+ const contextSourceOverrideSetResponseSchema = z.object({
1107
+ type: z.literal("dashboard.contexts.source-overrides.set.response"),
990
1108
  requestId: z.string(),
991
1109
  error: z.string().optional()
992
1110
  });
993
1111
  /** Delete a source override variable. */
994
- const envSourceOverrideDeleteRequestSchema = z.object({
995
- type: z.literal("dashboard.environments.source-overrides.delete"),
1112
+ const contextSourceOverrideDeleteRequestSchema = z.object({
1113
+ type: z.literal("dashboard.contexts.source-overrides.delete"),
996
1114
  requestId: z.string(),
997
1115
  actor: actorPrincipalSchema,
998
- environmentId: z.string(),
1116
+ contextId: z.string(),
999
1117
  routingKey: z.string(),
1000
1118
  key: z.string()
1001
1119
  });
1002
- const envSourceOverrideDeleteResponseSchema = z.object({
1003
- type: z.literal("dashboard.environments.source-overrides.delete.response"),
1120
+ const contextSourceOverrideDeleteResponseSchema = z.object({
1121
+ type: z.literal("dashboard.contexts.source-overrides.delete.response"),
1004
1122
  requestId: z.string(),
1005
1123
  error: z.string().optional()
1006
1124
  });
1007
1125
  /**
1008
- * A scope→environment binding with its host selector. `hostPattern` is the host
1126
+ * A scope→context binding with its host selector. `hostPattern` is the host
1009
1127
  * the binding applies to (`'**'` = all hosts); exact / glob / regex over a
1010
1128
  * fan-out child's agentId / hostname / labels.
1011
1129
  */
1012
- const envBindingEntrySchema = z.object({
1130
+ const contextBindingEntrySchema = z.object({
1013
1131
  scopePattern: z.string(),
1014
1132
  hostPattern: z.string()
1015
1133
  });
1016
- /** List bindings for an environment. */
1017
- const envBindingsListRequestSchema = z.object({
1018
- type: z.literal("dashboard.environments.bindings.list"),
1134
+ /** List bindings for an context. */
1135
+ const contextBindingsListRequestSchema = z.object({
1136
+ type: z.literal("dashboard.contexts.bindings.list"),
1019
1137
  requestId: z.string(),
1020
1138
  actor: actorPrincipalSchema,
1021
- environmentId: z.string()
1139
+ contextId: z.string()
1022
1140
  });
1023
- const envBindingsListResponseSchema = z.object({
1024
- type: z.literal("dashboard.environments.bindings.list.response"),
1141
+ const contextBindingsListResponseSchema = z.object({
1142
+ type: z.literal("dashboard.contexts.bindings.list.response"),
1025
1143
  requestId: z.string(),
1026
- bindings: z.array(envBindingEntrySchema).optional(),
1144
+ bindings: z.array(contextBindingEntrySchema).optional(),
1027
1145
  error: z.string().optional()
1028
1146
  });
1029
- /** Set bindings (scope + host patterns) for an environment. */
1030
- const envBindingsSetRequestSchema = z.object({
1031
- type: z.literal("dashboard.environments.bindings.set"),
1147
+ /** Set bindings (scope + host patterns) for an context. */
1148
+ const contextBindingsSetRequestSchema = z.object({
1149
+ type: z.literal("dashboard.contexts.bindings.set"),
1032
1150
  requestId: z.string(),
1033
1151
  actor: actorPrincipalSchema,
1034
- environmentId: z.string(),
1035
- bindings: z.array(envBindingEntrySchema)
1152
+ contextId: z.string(),
1153
+ bindings: z.array(contextBindingEntrySchema)
1036
1154
  });
1037
- const envBindingsSetResponseSchema = z.object({
1038
- type: z.literal("dashboard.environments.bindings.set.response"),
1155
+ const contextBindingsSetResponseSchema = z.object({
1156
+ type: z.literal("dashboard.contexts.bindings.set.response"),
1039
1157
  requestId: z.string(),
1040
1158
  error: z.string().optional()
1041
1159
  });
1042
1160
  /** List all scoped secrets for the org. */
1043
- const envSecretsListRequestSchema = z.object({
1044
- type: z.literal("dashboard.environments.secrets.list"),
1161
+ const contextSecretsListRequestSchema = z.object({
1162
+ type: z.literal("dashboard.contexts.secrets.list"),
1045
1163
  requestId: z.string(),
1046
1164
  actor: actorPrincipalSchema
1047
1165
  });
1048
- const envSecretsListResponseSchema = z.object({
1049
- type: z.literal("dashboard.environments.secrets.list.response"),
1166
+ const contextSecretsListResponseSchema = z.object({
1167
+ type: z.literal("dashboard.contexts.secrets.list.response"),
1050
1168
  requestId: z.string(),
1051
1169
  secrets: z.array(z.object({
1052
1170
  scope: z.string(),
@@ -1056,81 +1174,90 @@ const envSecretsListResponseSchema = z.object({
1056
1174
  })).optional(),
1057
1175
  error: z.string().optional()
1058
1176
  });
1059
- /** Set (create or update) a scoped secret. */
1060
- const envSecretSetRequestSchema = z.object({
1061
- type: z.literal("dashboard.environments.secrets.set"),
1177
+ /**
1178
+ * Set (create or update) a scoped secret.
1179
+ *
1180
+ * Under the `permissive` posture the browser sends the plaintext `value`.
1181
+ * Under the `encrypted` posture it sends a `sealed` envelope instead (the value
1182
+ * sealed to the orchestrator's X25519 key in the browser). Exactly one of
1183
+ * `value` / `sealed` is present; `value` stays optional for backward
1184
+ * compatibility with older dashboards that only ever send plaintext.
1185
+ */
1186
+ const contextSecretSetRequestSchema = z.object({
1187
+ type: z.literal("dashboard.contexts.secrets.set"),
1062
1188
  requestId: z.string(),
1063
1189
  actor: actorPrincipalSchema,
1064
1190
  scope: z.string(),
1065
1191
  key: z.string(),
1066
- value: z.string()
1067
- });
1068
- const envSecretSetResponseSchema = z.object({
1069
- type: z.literal("dashboard.environments.secrets.set.response"),
1192
+ value: z.string().optional(),
1193
+ sealed: dashboardSealedEnvelopeSchema.optional()
1194
+ }).refine((m) => m.value === void 0 !== (m.sealed === void 0), { message: "exactly one of value / sealed must be present" });
1195
+ const contextSecretSetResponseSchema = z.object({
1196
+ type: z.literal("dashboard.contexts.secrets.set.response"),
1070
1197
  requestId: z.string(),
1071
1198
  error: z.string().optional()
1072
1199
  });
1073
1200
  /** Delete a scoped secret. */
1074
- const envSecretDeleteRequestSchema = z.object({
1075
- type: z.literal("dashboard.environments.secrets.delete"),
1201
+ const contextSecretDeleteRequestSchema = z.object({
1202
+ type: z.literal("dashboard.contexts.secrets.delete"),
1076
1203
  requestId: z.string(),
1077
1204
  actor: actorPrincipalSchema,
1078
1205
  scope: z.string(),
1079
1206
  key: z.string()
1080
1207
  });
1081
- const envSecretDeleteResponseSchema = z.object({
1082
- type: z.literal("dashboard.environments.secrets.delete.response"),
1208
+ const contextSecretDeleteResponseSchema = z.object({
1209
+ type: z.literal("dashboard.contexts.secrets.delete.response"),
1083
1210
  requestId: z.string(),
1084
1211
  error: z.string().optional()
1085
1212
  });
1086
1213
  /** Create an empty scope. */
1087
- const envSecretScopeCreateRequestSchema = z.object({
1088
- type: z.literal("dashboard.environments.secrets.scope.create"),
1214
+ const contextSecretScopeCreateRequestSchema = z.object({
1215
+ type: z.literal("dashboard.contexts.secrets.scope.create"),
1089
1216
  requestId: z.string(),
1090
1217
  actor: actorPrincipalSchema,
1091
1218
  scope: z.string()
1092
1219
  });
1093
- const envSecretScopeCreateResponseSchema = z.object({
1094
- type: z.literal("dashboard.environments.secrets.scope.create.response"),
1220
+ const contextSecretScopeCreateResponseSchema = z.object({
1221
+ type: z.literal("dashboard.contexts.secrets.scope.create.response"),
1095
1222
  requestId: z.string(),
1096
1223
  error: z.string().optional()
1097
1224
  });
1098
- /** Rename a scope -- also updates all environment bindings referencing old scope. */
1099
- const envSecretScopeRenameRequestSchema = z.object({
1100
- type: z.literal("dashboard.environments.secrets.scope.rename"),
1225
+ /** Rename a scope -- also updates all context bindings referencing old scope. */
1226
+ const contextSecretScopeRenameRequestSchema = z.object({
1227
+ type: z.literal("dashboard.contexts.secrets.scope.rename"),
1101
1228
  requestId: z.string(),
1102
1229
  actor: actorPrincipalSchema,
1103
1230
  oldScope: z.string(),
1104
1231
  newScope: z.string()
1105
1232
  });
1106
- const envSecretScopeRenameResponseSchema = z.object({
1107
- type: z.literal("dashboard.environments.secrets.scope.rename.response"),
1233
+ const contextSecretScopeRenameResponseSchema = z.object({
1234
+ type: z.literal("dashboard.contexts.secrets.scope.rename.response"),
1108
1235
  requestId: z.string(),
1109
1236
  error: z.string().optional()
1110
1237
  });
1111
- /** Delete a scope and all its secrets. Also removes environment bindings referencing this scope. */
1112
- const envSecretScopeDeleteRequestSchema = z.object({
1113
- type: z.literal("dashboard.environments.secrets.scope.delete"),
1238
+ /** Delete a scope and all its secrets. Also removes context bindings referencing this scope. */
1239
+ const contextSecretScopeDeleteRequestSchema = z.object({
1240
+ type: z.literal("dashboard.contexts.secrets.scope.delete"),
1114
1241
  requestId: z.string(),
1115
1242
  actor: actorPrincipalSchema,
1116
1243
  scope: z.string()
1117
1244
  });
1118
- const envSecretScopeDeleteResponseSchema = z.object({
1119
- type: z.literal("dashboard.environments.secrets.scope.delete.response"),
1245
+ const contextSecretScopeDeleteResponseSchema = z.object({
1246
+ type: z.literal("dashboard.contexts.secrets.scope.delete.response"),
1120
1247
  requestId: z.string(),
1121
1248
  error: z.string().optional()
1122
1249
  });
1123
- /** Fetch runs that targeted a specific environment, keyed by environment id. */
1124
- const envHistoryRequestSchema = z.object({
1125
- type: z.literal("dashboard.environments.history"),
1250
+ /** Fetch runs that targeted a specific context, keyed by context id. */
1251
+ const contextHistoryRequestSchema = z.object({
1252
+ type: z.literal("dashboard.contexts.history"),
1126
1253
  requestId: z.string(),
1127
1254
  actor: actorPrincipalSchema,
1128
- environmentId: z.string(),
1255
+ contextId: z.string(),
1129
1256
  limit: z.number().optional(),
1130
1257
  offset: z.number().optional()
1131
1258
  });
1132
- const envHistoryResponseSchema = z.object({
1133
- type: z.literal("dashboard.environments.history.response"),
1259
+ const contextHistoryResponseSchema = z.object({
1260
+ type: z.literal("dashboard.contexts.history.response"),
1134
1261
  requestId: z.string(),
1135
1262
  runs: z.array(z.object({
1136
1263
  id: z.string(),
@@ -1141,19 +1268,13 @@ const envHistoryResponseSchema = z.object({
1141
1268
  commitSha: z.string().nullable(),
1142
1269
  startedAt: z.coerce.string().nullable(),
1143
1270
  completedAt: z.coerce.string().nullable(),
1144
- environment: z.string().nullable()
1271
+ context: z.string().nullable()
1145
1272
  })).optional(),
1273
+ hasMore: z.boolean().optional(),
1146
1274
  error: z.string().optional()
1147
1275
  });
1148
- /** Status values for held runs (approval queue). */
1149
- const HeldRunStatus = z.enum([
1150
- "pending",
1151
- "approved",
1152
- "rejected",
1153
- "expired"
1154
- ]);
1155
1276
  /** Queue type for held runs. */
1156
- const HeldRunQueueType = z.enum(["environment", "security"]);
1277
+ const HeldRunQueueType = z.enum(["context", "security"]);
1157
1278
  /** List held runs. */
1158
1279
  const heldRunsListRequestSchema = z.object({
1159
1280
  type: z.literal("dashboard.held-runs.list"),
@@ -1163,6 +1284,14 @@ const heldRunsListRequestSchema = z.object({
1163
1284
  queueType: HeldRunQueueType.optional(),
1164
1285
  runId: z.string().optional(),
1165
1286
  /**
1287
+ * Narrow to a single hold by its `held_runs.id`. The Platform's held-run
1288
+ * approval gate uses this to resolve one hold's `holdType` before deciding
1289
+ * which permission the caller needs. Optional so an orchestrator that does
1290
+ * not know the field still answers the request — the Platform then narrows
1291
+ * client-side from the response.
1292
+ */
1293
+ heldRunId: z.string().optional(),
1294
+ /**
1166
1295
  * Target org the read must be scoped to, carried per-request by the Platform
1167
1296
  * (the validated `:orgId` path param). The orchestrator honors this over its
1168
1297
  * static connection-level org so a Platform-first `kici run remote` org —
@@ -1179,11 +1308,11 @@ const heldRunsListResponseSchema = z.object({
1179
1308
  heldRuns: z.array(z.object({
1180
1309
  id: z.string(),
1181
1310
  runId: z.string(),
1182
- environmentId: z.string().nullable(),
1183
- environmentName: z.string().nullable(),
1311
+ contextId: z.string().nullable(),
1312
+ contextName: z.string().nullable(),
1184
1313
  holdType: z.string(),
1185
- queueType: HeldRunQueueType,
1186
- status: HeldRunStatus,
1314
+ queueType: z.string(),
1315
+ status: z.string(),
1187
1316
  requestedAt: z.coerce.string(),
1188
1317
  resolvedAt: z.coerce.string().nullable(),
1189
1318
  resolvedBy: z.string().nullable(),
@@ -1796,7 +1925,7 @@ const testRelayTriggerResponseSchema = z.object({
1796
1925
  status: z.enum(["accepted", "rejected"]).optional(),
1797
1926
  reason: z.string().optional(),
1798
1927
  jobIds: z.array(z.string()).optional(),
1799
- /** User-visible warnings on acceptance (e.g. skipped non-test bound environments). */
1928
+ /** User-visible warnings on acceptance (e.g. skipped non-test bound contexts). */
1800
1929
  warnings: z.array(z.string()).optional(),
1801
1930
  error: z.string().optional()
1802
1931
  });
@@ -1859,11 +1988,13 @@ const testRelayCancelResponseSchema = z.object({
1859
1988
  const dashboardPlatformToOrchSchema = z.discriminatedUnion("type", [
1860
1989
  dashboardRunDetailRequestSchema,
1861
1990
  dashboardRunStructuredRequestSchema,
1991
+ dashboardRunStateRequestSchema,
1862
1992
  dashboardStepLogsRequestSchema,
1863
1993
  dashboardAttestationsListRequestSchema,
1864
1994
  dashboardAttestationsListAllRequestSchema,
1865
1995
  dashboardAttestationGetRequestSchema,
1866
1996
  dashboardAttestationRetryRequestSchema,
1997
+ dashboardArtifactsListRequestSchema,
1867
1998
  dashboardRunsListRequestSchema,
1868
1999
  dashboardRunsFiltersRequestSchema,
1869
2000
  dashboardSourcesListRequestSchema,
@@ -1872,27 +2003,27 @@ const dashboardPlatformToOrchSchema = z.discriminatedUnion("type", [
1872
2003
  runCancelRequestSchema,
1873
2004
  dashboardPayloadRequestSchema,
1874
2005
  dashboardOrchLogsRequestSchema,
1875
- envListRequestSchema,
1876
- envGetRequestSchema,
1877
- envCreateRequestSchema,
1878
- envUpdateRequestSchema,
1879
- envTestAccessSetRequestSchema,
1880
- envDeleteRequestSchema,
1881
- envVarsListRequestSchema,
1882
- envVarSetRequestSchema,
1883
- envVarDeleteRequestSchema,
1884
- envSourceOverridesListRequestSchema,
1885
- envSourceOverrideSetRequestSchema,
1886
- envSourceOverrideDeleteRequestSchema,
1887
- envBindingsListRequestSchema,
1888
- envBindingsSetRequestSchema,
1889
- envSecretsListRequestSchema,
1890
- envSecretSetRequestSchema,
1891
- envSecretDeleteRequestSchema,
1892
- envSecretScopeCreateRequestSchema,
1893
- envSecretScopeRenameRequestSchema,
1894
- envSecretScopeDeleteRequestSchema,
1895
- envHistoryRequestSchema,
2006
+ contextListRequestSchema,
2007
+ contextGetRequestSchema,
2008
+ contextCreateRequestSchema,
2009
+ contextUpdateRequestSchema,
2010
+ contextTestAccessSetRequestSchema,
2011
+ contextDeleteRequestSchema,
2012
+ contextVarsListRequestSchema,
2013
+ contextVarSetRequestSchema,
2014
+ contextVarDeleteRequestSchema,
2015
+ contextSourceOverridesListRequestSchema,
2016
+ contextSourceOverrideSetRequestSchema,
2017
+ contextSourceOverrideDeleteRequestSchema,
2018
+ contextBindingsListRequestSchema,
2019
+ contextBindingsSetRequestSchema,
2020
+ contextSecretsListRequestSchema,
2021
+ contextSecretSetRequestSchema,
2022
+ contextSecretDeleteRequestSchema,
2023
+ contextSecretScopeCreateRequestSchema,
2024
+ contextSecretScopeRenameRequestSchema,
2025
+ contextSecretScopeDeleteRequestSchema,
2026
+ contextHistoryRequestSchema,
1896
2027
  heldRunsListRequestSchema,
1897
2028
  heldRunApproveRequestSchema,
1898
2029
  heldRunRejectRequestSchema,
@@ -1914,6 +2045,7 @@ const dashboardPlatformToOrchSchema = z.discriminatedUnion("type", [
1914
2045
  backendSyncRequestSchema,
1915
2046
  backendTestRequestSchema,
1916
2047
  dashboardEventLogListRequestSchema,
2048
+ dashboardEventLogActivityRequestSchema,
1917
2049
  dashboardEventLogDetailRequestSchema,
1918
2050
  dashboardEventLogPayloadStreamRequestSchema,
1919
2051
  dashboardEventDlqListRequestSchema,
@@ -1933,11 +2065,13 @@ const dashboardPlatformToOrchSchema = z.discriminatedUnion("type", [
1933
2065
  const dashboardOrchToPlatformSchema = z.discriminatedUnion("type", [
1934
2066
  dashboardRunDetailResponseSchema,
1935
2067
  dashboardRunStructuredResponseSchema,
2068
+ dashboardRunStateResponseSchema,
1936
2069
  dashboardStepLogsResponseSchema,
1937
2070
  dashboardAttestationsListResponseSchema,
1938
2071
  dashboardAttestationsListAllResponseSchema,
1939
2072
  dashboardAttestationGetResponseSchema,
1940
2073
  dashboardAttestationRetryResponseSchema,
2074
+ dashboardArtifactsListResponseSchema,
1941
2075
  dashboardRunsListResponseSchema,
1942
2076
  dashboardRunsFiltersResponseSchema,
1943
2077
  dashboardSourcesListResponseSchema,
@@ -1946,27 +2080,27 @@ const dashboardOrchToPlatformSchema = z.discriminatedUnion("type", [
1946
2080
  runCancelResponseSchema,
1947
2081
  dashboardPayloadResponseSchema,
1948
2082
  dashboardOrchLogsResponseSchema,
1949
- envListResponseSchema,
1950
- envGetResponseSchema,
1951
- envCreateResponseSchema,
1952
- envUpdateResponseSchema,
1953
- envTestAccessSetResponseSchema,
1954
- envDeleteResponseSchema,
1955
- envVarsListResponseSchema,
1956
- envVarSetResponseSchema,
1957
- envVarDeleteResponseSchema,
1958
- envSourceOverridesListResponseSchema,
1959
- envSourceOverrideSetResponseSchema,
1960
- envSourceOverrideDeleteResponseSchema,
1961
- envBindingsListResponseSchema,
1962
- envBindingsSetResponseSchema,
1963
- envSecretsListResponseSchema,
1964
- envSecretSetResponseSchema,
1965
- envSecretDeleteResponseSchema,
1966
- envSecretScopeCreateResponseSchema,
1967
- envSecretScopeRenameResponseSchema,
1968
- envSecretScopeDeleteResponseSchema,
1969
- envHistoryResponseSchema,
2083
+ contextListResponseSchema,
2084
+ contextGetResponseSchema,
2085
+ contextCreateResponseSchema,
2086
+ contextUpdateResponseSchema,
2087
+ contextTestAccessSetResponseSchema,
2088
+ contextDeleteResponseSchema,
2089
+ contextVarsListResponseSchema,
2090
+ contextVarSetResponseSchema,
2091
+ contextVarDeleteResponseSchema,
2092
+ contextSourceOverridesListResponseSchema,
2093
+ contextSourceOverrideSetResponseSchema,
2094
+ contextSourceOverrideDeleteResponseSchema,
2095
+ contextBindingsListResponseSchema,
2096
+ contextBindingsSetResponseSchema,
2097
+ contextSecretsListResponseSchema,
2098
+ contextSecretSetResponseSchema,
2099
+ contextSecretDeleteResponseSchema,
2100
+ contextSecretScopeCreateResponseSchema,
2101
+ contextSecretScopeRenameResponseSchema,
2102
+ contextSecretScopeDeleteResponseSchema,
2103
+ contextHistoryResponseSchema,
1970
2104
  heldRunsListResponseSchema,
1971
2105
  heldRunApproveResponseSchema,
1972
2106
  heldRunRejectResponseSchema,
@@ -1988,6 +2122,7 @@ const dashboardOrchToPlatformSchema = z.discriminatedUnion("type", [
1988
2122
  backendSyncResponseSchema,
1989
2123
  backendTestResponseSchema,
1990
2124
  dashboardEventLogListResponseSchema,
2125
+ dashboardEventLogActivityResponseSchema,
1991
2126
  dashboardEventLogDetailResponseSchema,
1992
2127
  dashboardEventLogPayloadChunkSchema,
1993
2128
  dashboardEventDlqListResponseSchema,
@@ -2078,11 +2213,11 @@ const runListItemSchema = z.object({
2078
2213
  hadCompileJob: z.boolean(),
2079
2214
  compileJobId: z.string().nullable(),
2080
2215
  /**
2081
- * Distinct bound deployment-environment names across the run's jobs
2082
- * (first-seen order). Drives the run-list environment chips; empty/absent
2083
- * when no job binds an environment.
2216
+ * Distinct bound deployment-context names across the run's jobs
2217
+ * (first-seen order). Drives the run-list context chips; empty/absent
2218
+ * when no job binds an context.
2084
2219
  */
2085
- environments: z.array(z.string()).optional(),
2220
+ contexts: z.array(z.string()).optional(),
2086
2221
  /**
2087
2222
  * Run-level repo provider (origin host) — distinct from `source.provider`
2088
2223
  * which is derived from the routing key. Drives provider-aware repo links.
@@ -2092,13 +2227,21 @@ const runListItemSchema = z.object({
2092
2227
  localWorkingTree: z.boolean(),
2093
2228
  source: runListSourceSchema.nullable()
2094
2229
  });
2095
- /** Paginated run list response envelope. */
2230
+ /**
2231
+ * Cursor-paginated run list response envelope.
2232
+ *
2233
+ * Keyset (cursor) pagination: `nextCursor` fetches the next (older) page,
2234
+ * `prevCursor` the previous (newer) page — both opaque, `null` when there is no
2235
+ * such page. `hasMore` is true when an older page exists. `approxTotal` is a
2236
+ * cached, approximate match count for the "~N runs" label (not an exact total).
2237
+ */
2096
2238
  const runListResponseSchema = z.object({
2097
2239
  runs: z.array(runListItemSchema),
2098
- total: z.number(),
2099
- page: z.number(),
2100
- pageSize: z.number(),
2101
- hasMore: z.boolean()
2240
+ nextCursor: z.string().nullable(),
2241
+ prevCursor: z.string().nullable(),
2242
+ hasMore: z.boolean(),
2243
+ approxTotal: z.number(),
2244
+ pageSize: z.number()
2102
2245
  });
2103
2246
  const diagnosticsInfraAgentSchema = z.object({
2104
2247
  agentId: z.string(),
@@ -2151,11 +2294,25 @@ const diagnosticsInfraOrchestratorSchema = z.object({
2151
2294
  * Self-reported deployment shape, used by the dashboard to build the correct
2152
2295
  * per-orchestrator kici-admin invocation. Orchestrators that never reported
2153
2296
  * it serialize as `mode: 'unknown'` with null container fields.
2297
+ *
2298
+ * `adminInvocation` is a shell command, not a pair of raw paths: either half
2299
+ * is single-quoted when its path holds whitespace, so it is rendered verbatim
2300
+ * and a reader that wants the shim path back has to split it as shell words
2301
+ * rather than on the last space.
2302
+ *
2303
+ * `adminPath` is the `windows` counterpart: the RAW, unquoted path of the
2304
+ * `kici-admin.cmd` launcher, null for every other mode and whenever it could
2305
+ * not be located. It is deliberately not a command — cmd.exe runs a
2306
+ * double-quoted path in command position while PowerShell only prints it, so
2307
+ * the renderer has to quote it per shell and a pre-quoted value would take
2308
+ * that choice away.
2154
2309
  */
2155
2310
  deployment: z.object({
2156
2311
  mode: DeploymentModeSchema,
2157
2312
  containerName: z.string().nullable(),
2158
- containerRuntime: DeploymentContainerRuntimeSchema.nullable()
2313
+ containerRuntime: DeploymentContainerRuntimeSchema.nullable(),
2314
+ adminInvocation: z.string().nullable(),
2315
+ adminPath: z.string().nullable()
2159
2316
  }),
2160
2317
  s3LogAccess: z.boolean().nullable().optional(),
2161
2318
  agentCount: z.number(),
@@ -2189,6 +2346,16 @@ const diagnosticsInfraOrchestratorSchema = z.object({
2189
2346
  })).optional(),
2190
2347
  error: z.string().optional()
2191
2348
  });
2349
+ /**
2350
+ * A single infrastructure health alert.
2351
+ *
2352
+ * Both vocabulary fields are `z.string()` on purpose. `InfraAlertType` and
2353
+ * `InfraAlertSeverity` (`diagnostics/infra-alert.ts`) name the *known*
2354
+ * vocabulary the producer mints from and the read-side consumers colour by; the
2355
+ * wire stays permissive because the `kici` CLI hard-parses this response while
2356
+ * pinned to an older version than the hosted Platform it is talking to. A
2357
+ * strict enum would fail the whole response rather than degrade one row.
2358
+ */
2192
2359
  const diagnosticsInfraAlertSchema = z.object({
2193
2360
  type: z.string(),
2194
2361
  message: z.string(),
@@ -2285,6 +2452,6 @@ const DashboardResponseErrorCode = z.enum([
2285
2452
  "internal_error"
2286
2453
  ]);
2287
2454
  //#endregion
2288
- export { DASHBOARD_REQUEST_TYPES, DASHBOARD_REQUEST_TYPE_SET, DashboardResponseErrorCode, EnvDeleteErrorCode, EventLogPayloadStreamError, FleetHostDisposition, HeldRunQueueType, HeldRunStatus, TestRelayType, attestationListFiltersSchema, attestationListItemSchema, attestationListSummarySchema, attestationVerifyStatusSchema, backendGetRequestSchema, backendGetResponseSchema, backendItemSchema, backendSyncRequestSchema, backendSyncResponseSchema, backendTestRequestSchema, backendTestResponseSchema, backendsListRequestSchema, backendsListResponseSchema, backendsSyncAllRequestSchema, backendsSyncAllResponseSchema, browserEventLogPayloadChunkSchema, dashboardAttestationGetRequestSchema, dashboardAttestationGetResponseSchema, dashboardAttestationRetryRequestSchema, dashboardAttestationRetryResponseSchema, dashboardAttestationsApiResponseSchema, dashboardAttestationsListAllRequestSchema, dashboardAttestationsListAllResponseSchema, dashboardAttestationsListRequestSchema, dashboardAttestationsListResponseSchema, dashboardDiagnosticsRequestSchema, dashboardDiagnosticsResponseSchema, dashboardEventDlqCountRequestSchema, dashboardEventDlqDiscardRequestSchema, dashboardEventDlqListItemSchema, dashboardEventDlqListRequestSchema, dashboardEventDlqRetryRequestSchema, dashboardEventLogDetailRequestSchema, dashboardEventLogListRequestSchema, dashboardEventLogPayloadChunkSchema, dashboardEventLogPayloadStreamRequestSchema, dashboardFleetHostRequestSchema, dashboardFleetHostResponseSchema, dashboardFleetHostsRequestSchema, dashboardFleetHostsResponseSchema, dashboardFleetPreviewRequestSchema, dashboardFleetPreviewResponseSchema, dashboardFleetWorkflowsForHostRequestSchema, dashboardFleetWorkflowsForHostResponseSchema, dashboardJobDetailSchema, dashboardOrchToPlatformSchema, dashboardPayloadRequestSchema, dashboardPlatformToOrchSchema, dashboardRunDetailApiResponseSchema, dashboardRunDetailRequestSchema, dashboardRunDetailResponseSchema, dashboardRunStructuredRequestSchema, dashboardRunStructuredResponseSchema, dashboardRunSummarySchema, dashboardRunsFiltersRequestSchema, dashboardRunsFiltersResponseSchema, dashboardRunsListRequestSchema, dashboardRunsListResponseSchema, dashboardScalerAgentsRequestSchema, dashboardScalerAgentsResponseSchema, dashboardScalerCapacityRequestSchema, dashboardScalerCapacityResponseSchema, dashboardSourceSummarySchema, dashboardSourcesListRequestSchema, dashboardSourcesListResponseSchema, dashboardStepLogsApiResponseSchema, dashboardStepLogsRequestSchema, dashboardStepLogsResponseSchema, diagnosticsInfrastructureResponseSchema, diagnosticsSummaryResponseSchema, envBindingEntrySchema, envBindingsListRequestSchema, envBindingsSetRequestSchema, envCreateRequestSchema, envDeleteRequestSchema, envGetRequestSchema, envHistoryRequestSchema, envListRequestSchema, envSecretDeleteRequestSchema, envSecretScopeCreateRequestSchema, envSecretScopeDeleteRequestSchema, envSecretScopeRenameRequestSchema, envSecretSetRequestSchema, envSecretsListRequestSchema, envSourceOverrideDeleteRequestSchema, envSourceOverrideSetRequestSchema, envSourceOverridesListRequestSchema, envTestAccessSetRequestSchema, envUpdateRequestSchema, envVarDeleteRequestSchema, envVarSetRequestSchema, envVarsListRequestSchema, eventLogListItemSchema, fleetHostDeclareRequestSchema, fleetHostDeclareResponseSchema, fleetHostRemoveRequestSchema, fleetHostRemoveResponseSchema, fleetHostWorkflowSchema, fleetPinnedRunSchema, fleetPreviewHostSchema, heldRunApproveRequestSchema, heldRunRejectRequestSchema, heldRunsListRequestSchema, identityLinkItemSchema, identityLinkListResponseSchema, manualScheduleRequestSchema, memberIdentityLinkSchema, memberListResponseSchema, memberRoleAssignmentSchema, orgMemberSchema, registrationDeleteRequestSchema, registrationDisableRequestSchema, registrationItemSchema, registrationsListRequestSchema, registrationsListResponseSchema, runCancelRequestSchema, runEventSchema, runLineageResponseSchema, runListItemSchema, runListResponseSchema, runRerunRequestSchema, testRelayCancelRequestSchema, testRelayCancelResponseSchema, testRelayRunLogsRequestSchema, testRelayRunLogsResponseSchema, testRelayRunStatusRequestSchema, testRelayRunStatusResponseSchema, testRelayTriggerRequestSchema, testRelayTriggerResponseSchema, testRelayUploadsInitRequestSchema, testRelayUploadsInitResponseSchema, trustPolicyResponseSchema };
2455
+ export { ContextDeleteErrorCode, DASHBOARD_REQUEST_TYPES, DASHBOARD_REQUEST_TYPE_SET, DashboardResponseErrorCode, EventLogPayloadStreamError, FleetHostDisposition, HeldRunQueueType, HeldRunStatus, TestRelayType, artifactListItemSchema, attestationListFiltersSchema, attestationListItemSchema, attestationListSummarySchema, attestationVerifyStatusSchema, backendGetRequestSchema, backendGetResponseSchema, backendItemSchema, backendSyncRequestSchema, backendSyncResponseSchema, backendTestRequestSchema, backendTestResponseSchema, backendsListRequestSchema, backendsListResponseSchema, backendsSyncAllRequestSchema, backendsSyncAllResponseSchema, browserEventLogPayloadChunkSchema, contextBindingEntrySchema, contextBindingsListRequestSchema, contextBindingsSetRequestSchema, contextCreateRequestSchema, contextDeleteRequestSchema, contextGetRequestSchema, contextHistoryRequestSchema, contextHistoryResponseSchema, contextListRequestSchema, contextSecretDeleteRequestSchema, contextSecretScopeCreateRequestSchema, contextSecretScopeDeleteRequestSchema, contextSecretScopeRenameRequestSchema, contextSecretSetRequestSchema, contextSecretsListRequestSchema, contextSourceOverrideDeleteRequestSchema, contextSourceOverrideSetRequestSchema, contextSourceOverridesListRequestSchema, contextTestAccessSetRequestSchema, contextUpdateRequestSchema, contextVarDeleteRequestSchema, contextVarSetRequestSchema, contextVarsListRequestSchema, dashboardArtifactsListRequestSchema, dashboardArtifactsListResponseSchema, dashboardAttestationGetRequestSchema, dashboardAttestationGetResponseSchema, dashboardAttestationRetryRequestSchema, dashboardAttestationRetryResponseSchema, dashboardAttestationsApiResponseSchema, dashboardAttestationsListAllRequestSchema, dashboardAttestationsListAllResponseSchema, dashboardAttestationsListRequestSchema, dashboardAttestationsListResponseSchema, dashboardDiagnosticsRequestSchema, dashboardDiagnosticsResponseSchema, dashboardEventDlqCountRequestSchema, dashboardEventDlqDiscardRequestSchema, dashboardEventDlqListItemSchema, dashboardEventDlqListRequestSchema, dashboardEventDlqRetryRequestSchema, dashboardEventLogActivityRequestSchema, dashboardEventLogActivityResponseSchema, dashboardEventLogDetailRequestSchema, dashboardEventLogListRequestSchema, dashboardEventLogPayloadChunkSchema, dashboardEventLogPayloadStreamRequestSchema, dashboardFleetHostRequestSchema, dashboardFleetHostResponseSchema, dashboardFleetHostsRequestSchema, dashboardFleetHostsResponseSchema, dashboardFleetPreviewRequestSchema, dashboardFleetPreviewResponseSchema, dashboardFleetWorkflowsForHostRequestSchema, dashboardFleetWorkflowsForHostResponseSchema, dashboardJobDetailSchema, dashboardOrchToPlatformSchema, dashboardPayloadRequestSchema, dashboardPlatformToOrchSchema, dashboardRunDetailApiResponseSchema, dashboardRunDetailRequestSchema, dashboardRunDetailResponseSchema, dashboardRunStateRequestSchema, dashboardRunStateResponseSchema, dashboardRunStructuredRequestSchema, dashboardRunStructuredResponseSchema, dashboardRunSummarySchema, dashboardRunsFiltersRequestSchema, dashboardRunsFiltersResponseSchema, dashboardRunsListRequestSchema, dashboardRunsListResponseSchema, dashboardScalerAgentsRequestSchema, dashboardScalerAgentsResponseSchema, dashboardScalerCapacityRequestSchema, dashboardScalerCapacityResponseSchema, dashboardSourceSummarySchema, dashboardSourcesListRequestSchema, dashboardSourcesListResponseSchema, dashboardStepLogsApiResponseSchema, dashboardStepLogsRequestSchema, dashboardStepLogsResponseSchema, diagnosticsInfraAlertSchema, diagnosticsInfrastructureResponseSchema, diagnosticsSummaryResponseSchema, eventLogActivityCountsSchema, eventLogListItemSchema, fleetHostDeclareRequestSchema, fleetHostDeclareResponseSchema, fleetHostRemoveRequestSchema, fleetHostRemoveResponseSchema, fleetHostWorkflowSchema, fleetPinnedRunSchema, fleetPreviewHostSchema, heldRunApproveRequestSchema, heldRunRejectRequestSchema, heldRunsListRequestSchema, identityLinkItemSchema, identityLinkListResponseSchema, manualScheduleRequestSchema, memberIdentityLinkSchema, memberListResponseSchema, memberRoleAssignmentSchema, orgMemberSchema, registrationDeleteRequestSchema, registrationDisableRequestSchema, registrationItemSchema, registrationsListRequestSchema, registrationsListResponseSchema, runCancelRequestSchema, runEventSchema, runLineageResponseSchema, runListItemSchema, runListResponseSchema, runRerunRequestSchema, testRelayCancelRequestSchema, testRelayCancelResponseSchema, testRelayRunLogsRequestSchema, testRelayRunLogsResponseSchema, testRelayRunStatusRequestSchema, testRelayRunStatusResponseSchema, testRelayTriggerRequestSchema, testRelayTriggerResponseSchema, testRelayUploadsInitRequestSchema, testRelayUploadsInitResponseSchema, trustPolicyResponseSchema };
2289
2456
 
2290
2457
  //# sourceMappingURL=dashboard.js.map