@kici-dev/engine 0.14.2 → 0.16.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/approval/expiry-duration.d.ts +11 -0
- package/dist/approval/expiry-duration.js +29 -0
- package/dist/audit/access-log-policy.js +2 -0
- package/dist/audit/retention-policy.d.ts +1 -1
- package/dist/audit/retention-policy.js +5 -1
- package/dist/auth/permissions.d.ts +69 -0
- package/dist/auth/permissions.js +51 -0
- package/dist/context/hold-type.d.ts +0 -19
- package/dist/context/hold-type.js +1 -37
- package/dist/context/index.d.ts +1 -1
- package/dist/context/index.js +2 -2
- package/dist/index.d.ts +7 -2
- package/dist/index.js +20 -15
- package/dist/labels.d.ts +2 -17
- package/dist/labels.js +3 -33
- package/dist/mcp/held-run-resolve.d.ts +2 -5
- package/dist/mcp/held-run-resolve.js +3 -4
- package/dist/metrics/metric-catalog.generated.d.ts +0 -5
- package/dist/metrics/metric-catalog.generated.js +0 -6
- package/dist/protocol/messages/access-log.d.ts +10 -0
- package/dist/protocol/messages/access-log.js +2 -0
- package/dist/protocol/messages/auth.d.ts +7 -8
- package/dist/protocol/messages/auth.js +12 -17
- package/dist/protocol/messages/browser.js +1 -1
- package/dist/protocol/messages/capabilities.d.ts +21 -100
- package/dist/protocol/messages/capabilities.js +22 -124
- package/dist/protocol/messages/dashboard.d.ts +64 -22
- package/dist/protocol/messages/dashboard.js +43 -40
- package/dist/protocol/messages/execution-status.d.ts +3 -3
- package/dist/protocol/messages/execution-status.js +7 -12
- package/dist/protocol/messages/join.d.ts +73 -2
- package/dist/protocol/messages/join.js +101 -12
- package/dist/protocol/messages/orchestrator-agent.d.ts +35 -40
- package/dist/protocol/messages/orchestrator-agent.js +63 -96
- package/dist/protocol/messages/peer.d.ts +278 -26
- package/dist/protocol/messages/peer.js +120 -65
- package/dist/protocol/messages/platform-orchestrator.d.ts +36 -141
- package/dist/protocol/messages/platform-orchestrator.js +24 -86
- package/dist/protocol/messages/source-registration.d.ts +0 -13
- package/dist/protocol/messages/source-registration.js +9 -10
- package/dist/protocol/version.d.ts +9 -15
- package/dist/protocol/version.js +9 -15
- package/dist/provenance/id-token-claim-names.d.ts +3 -5
- package/dist/provenance/id-token-claim-names.js +3 -5
- package/dist/status/presentation.d.ts +2 -14
- package/dist/status/presentation.js +3 -23
- package/dist/trigger/types.d.ts +125 -34
- package/dist/trigger/types.js +9 -24
- package/dist/util/date.d.ts +7 -0
- package/dist/util/date.js +14 -0
- package/dist/util/parse-duration.d.ts +6 -0
- package/dist/util/parse-duration.js +21 -0
- package/dist/util/sleep.d.ts +3 -0
- package/dist/util/sleep.js +10 -0
- package/dist/webhook/webhook-url-format.d.ts +2 -2
- package/dist/webhook/webhook-url-format.js +2 -2
- package/package.json +1 -1
- package/sbom.spdx.json +5 -5
|
@@ -1,30 +1,24 @@
|
|
|
1
1
|
import "../../rolldown-runtime-ClRpJifh.js";
|
|
2
2
|
import { dashboardWritePolicyMap } from "../dashboard-write-operations.js";
|
|
3
3
|
import { dashboardEncryptionJwkSchema } from "./dashboard-sealed-write.js";
|
|
4
|
-
import { DASHBOARD_REQUEST_TYPES } from "./dashboard.js";
|
|
5
4
|
import { z } from "zod";
|
|
6
5
|
//#region src/protocol/messages/capabilities.ts
|
|
7
6
|
/**
|
|
8
|
-
* Capability
|
|
7
|
+
* Capability schemas — bidirectional.
|
|
9
8
|
*
|
|
10
9
|
* Modeled after peerCapabilitiesSchema in peer.ts.
|
|
11
10
|
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
* the Platform pre-flight-checks orchestrator capabilities before sending
|
|
16
|
-
* feature-gated messages (e.g. the dashboard-request manifest).
|
|
11
|
+
* - **orchestrator → Platform** (`orchCapabilitiesSchema`, sent in `auth.request`
|
|
12
|
+
* and rebroadcast as `orch.capabilities.update`): the orchestrator's role and
|
|
13
|
+
* the dashboard settings the Platform caches per org.
|
|
17
14
|
* - **Platform → orchestrator** (`platformCapabilitiesSchema`, advertised once
|
|
18
|
-
* after auth)
|
|
19
|
-
*
|
|
20
|
-
*
|
|
21
|
-
*
|
|
15
|
+
* after auth), **orchestrator → agent** (`orchAgentCapabilitiesSchema`, on
|
|
16
|
+
* `register.ack`) and **agent → orchestrator** (`agentCapabilitiesSchema`, on
|
|
17
|
+
* `agent.register`): each defines no flag at protocol 4 and is advertised
|
|
18
|
+
* empty. A later release adds a flag to one of them without a protocol bump.
|
|
22
19
|
*
|
|
23
|
-
*
|
|
24
|
-
*
|
|
25
|
-
* compatibility; `.passthrough()` preserves unknown flags from a newer peer.
|
|
26
|
-
* A peer that never advertises at all is treated as "unknown" (optimistic),
|
|
27
|
-
* never as "supports nothing".
|
|
20
|
+
* Every schema uses `.passthrough()`, so a newer peer's unknown fields are
|
|
21
|
+
* preserved rather than stripped.
|
|
28
22
|
*/
|
|
29
23
|
/** Orchestrator role in a cluster topology. */
|
|
30
24
|
const OrchRole = z.enum(["coordinator", "worker"]);
|
|
@@ -34,7 +28,7 @@ const OrchRole = z.enum(["coordinator", "worker"]);
|
|
|
34
28
|
*/
|
|
35
29
|
const orchCapabilitiesSchema = z.object({
|
|
36
30
|
/** Orchestrator's role in the cluster (coordinator manages DB/vault, worker is stateless). */
|
|
37
|
-
orchRole: OrchRole
|
|
31
|
+
orchRole: OrchRole,
|
|
38
32
|
/**
|
|
39
33
|
* Per-operation dashboard-write policy. Sparse map where each
|
|
40
34
|
* present key flips one `DashboardWriteOperation` to false. Missing
|
|
@@ -45,15 +39,6 @@ const orchCapabilitiesSchema = z.object({
|
|
|
45
39
|
*/
|
|
46
40
|
dashboardWrites: dashboardWritePolicyMap.optional(),
|
|
47
41
|
/**
|
|
48
|
-
* Every `dashboard.*` request type this orchestrator build understands.
|
|
49
|
-
* The Platform pre-flight-checks an incoming dashboard request against this
|
|
50
|
-
* set and refuses (with a precise "upgrade orchestrator" error) when the
|
|
51
|
-
* type is absent. Derived from the orchestrator's own protocol schema, so it
|
|
52
|
-
* cannot drift. Absent on pre-capability builds → treated as "unknown",
|
|
53
|
-
* never as "supports nothing".
|
|
54
|
-
*/
|
|
55
|
-
supportedDashboardRequests: z.array(z.string()).optional(),
|
|
56
|
-
/**
|
|
57
42
|
* The orchestrator's active X25519 dashboard-encryption public key. Feeds
|
|
58
43
|
* the Convenient tier: the key reaches the hosted control plane over the
|
|
59
44
|
* authenticated orchestrator connection, and the dashboard fetches it from
|
|
@@ -71,107 +56,20 @@ const orchCapabilitiesSchema = z.object({
|
|
|
71
56
|
dashboardVerifiedIssuer: z.string().nullable().optional()
|
|
72
57
|
}).passthrough();
|
|
73
58
|
/** Default orchestrator capabilities sent in auth.request. */
|
|
74
|
-
const ORCH_CAPABILITIES = Object.freeze({
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
});
|
|
78
|
-
/**
|
|
79
|
-
* Check whether an orchestrator advertises a specific capability flag.
|
|
80
|
-
*
|
|
81
|
-
* Takes `string` (not `keyof`) because newer versions may have flags the current code
|
|
82
|
-
* doesn't know about. Returns false if capabilities is undefined (pre-capability
|
|
83
|
-
* orchestrator) or the flag is missing/false.
|
|
84
|
-
*/
|
|
85
|
-
function hasOrchCapability(capabilities, flag) {
|
|
86
|
-
return capabilities?.[flag] === true;
|
|
87
|
-
}
|
|
88
|
-
/**
|
|
89
|
-
* Platform-advertised capabilities sent to the orchestrator after auth.
|
|
90
|
-
* Uses .passthrough() so a newer Platform's unknown flags are preserved.
|
|
91
|
-
* Every field is optional and absent = unsupported (same evolution contract as
|
|
92
|
-
* `orchCapabilitiesSchema`).
|
|
93
|
-
*/
|
|
94
|
-
const platformCapabilitiesSchema = z.object({
|
|
95
|
-
/** Platform ingests periodic `orch.metrics` telemetry pushes. */
|
|
96
|
-
orchMetrics: z.boolean().optional() }).passthrough();
|
|
59
|
+
const ORCH_CAPABILITIES = Object.freeze({ orchRole: OrchRole.enum.coordinator });
|
|
60
|
+
/** Platform-advertised capabilities sent to the orchestrator after auth. */
|
|
61
|
+
const platformCapabilitiesSchema = z.object({}).passthrough();
|
|
97
62
|
/** Default Platform capabilities advertised to the orchestrator after auth. */
|
|
98
|
-
const PLATFORM_CAPABILITIES = Object.freeze({
|
|
99
|
-
/**
|
|
100
|
-
|
|
101
|
-
*
|
|
102
|
-
* Takes `string` (not `keyof`) because a newer Platform may advertise flags the
|
|
103
|
-
* current orchestrator build doesn't know about. Returns false if capabilities
|
|
104
|
-
* is undefined (nothing advertised yet) or the flag is missing/false.
|
|
105
|
-
*
|
|
106
|
-
* NOTE: "undefined → false" here is the plain reader semantics. A feature-gated
|
|
107
|
-
* SEND that must stay backward-safe against a pre-capability Platform (which
|
|
108
|
-
* never advertises) treats "nothing advertised yet" as optimistic-send — that
|
|
109
|
-
* layer lives in the orchestrator's `sendIfPlatformSupports`, not here.
|
|
110
|
-
*/
|
|
111
|
-
function hasPlatformCapability(capabilities, flag) {
|
|
112
|
-
return capabilities?.[flag] === true;
|
|
113
|
-
}
|
|
114
|
-
/**
|
|
115
|
-
* Orchestrator -> Agent capabilities, advertised on `register.ack`. Same
|
|
116
|
-
* evolution contract as the other two directions: every field optional,
|
|
117
|
-
* absent = unsupported, `.passthrough()` preserves a newer orchestrator's
|
|
118
|
-
* unknown flags. Lets the agent learn which optional agent-facing protocol
|
|
119
|
-
* features this orchestrator build supports.
|
|
120
|
-
*/
|
|
121
|
-
const orchAgentCapabilitiesSchema = z.object({
|
|
122
|
-
/**
|
|
123
|
-
* Orchestrator acks `artifacts.upload.complete` (with committed|failed) so
|
|
124
|
-
* the agent can fail the workflow step on a lost commit instead of losing
|
|
125
|
-
* the artifact silently. Absent -> agent stays fire-and-forget.
|
|
126
|
-
*/
|
|
127
|
-
artifactCompleteAck: z.boolean().optional() }).passthrough();
|
|
63
|
+
const PLATFORM_CAPABILITIES = Object.freeze({});
|
|
64
|
+
/** Orchestrator -> agent capabilities, advertised on `register.ack`. */
|
|
65
|
+
const orchAgentCapabilitiesSchema = z.object({}).passthrough();
|
|
128
66
|
/** Default orchestrator -> agent capabilities advertised on register.ack. */
|
|
129
|
-
const ORCH_AGENT_CAPABILITIES = Object.freeze({
|
|
130
|
-
/**
|
|
131
|
-
|
|
132
|
-
* flag.
|
|
133
|
-
*
|
|
134
|
-
* Takes `string` (not `keyof`) because a newer orchestrator may advertise flags
|
|
135
|
-
* this agent build doesn't know about. Returns false if capabilities is
|
|
136
|
-
* undefined (pre-capability orchestrator) or the flag is missing/false.
|
|
137
|
-
*/
|
|
138
|
-
function hasOrchAgentCapability(capabilities, flag) {
|
|
139
|
-
return capabilities?.[flag] === true;
|
|
140
|
-
}
|
|
141
|
-
/**
|
|
142
|
-
* Agent -> Orchestrator capabilities, advertised on `agent.register`. Same
|
|
143
|
-
* evolution contract as the other directions: every field optional, absent =
|
|
144
|
-
* unsupported, `.passthrough()` preserves a newer agent's unknown flags. Lets
|
|
145
|
-
* the orchestrator route work that depends on an optional agent behaviour only
|
|
146
|
-
* to agents that implement it.
|
|
147
|
-
*/
|
|
148
|
-
const agentCapabilitiesSchema = z.object({
|
|
149
|
-
/**
|
|
150
|
-
* In a pre-run global eval round the agent runs only the needs-free
|
|
151
|
-
* `DynamicJobFn`s and skips every generator declared with upstream `needs`
|
|
152
|
-
* (a result-aware generator). Such a generator runs later, on the run's
|
|
153
|
-
* deferred path, with its upstream outputs. An agent without this flag runs
|
|
154
|
-
* every generator in the round — including a result-aware one, which then
|
|
155
|
-
* sees no upstream outputs and produces the wrong jobs — so the
|
|
156
|
-
* orchestrator sends a round containing a result-aware generator only to an
|
|
157
|
-
* agent that advertises it.
|
|
158
|
-
*/
|
|
159
|
-
globalEvalSkipsResultAwareGenerators: z.boolean().optional() }).passthrough();
|
|
160
|
-
/** Flag names of {@link agentCapabilitiesSchema}, for {@link hasAgentCapability} lookups. */
|
|
161
|
-
const AgentCapabilityFlag = z.enum(["globalEvalSkipsResultAwareGenerators"]);
|
|
67
|
+
const ORCH_AGENT_CAPABILITIES = Object.freeze({});
|
|
68
|
+
/** Agent -> orchestrator capabilities, advertised on `agent.register`. */
|
|
69
|
+
const agentCapabilitiesSchema = z.object({}).passthrough();
|
|
162
70
|
/** Default agent -> orchestrator capabilities advertised on agent.register. */
|
|
163
|
-
const AGENT_CAPABILITIES = Object.freeze({
|
|
164
|
-
/**
|
|
165
|
-
* Check whether an agent advertises a specific capability flag.
|
|
166
|
-
*
|
|
167
|
-
* Takes `string` (not `keyof`) because a newer agent may advertise flags this
|
|
168
|
-
* orchestrator build doesn't know about. Returns false if capabilities is
|
|
169
|
-
* undefined (pre-capability agent) or the flag is missing/false.
|
|
170
|
-
*/
|
|
171
|
-
function hasAgentCapability(capabilities, flag) {
|
|
172
|
-
return capabilities?.[flag] === true;
|
|
173
|
-
}
|
|
71
|
+
const AGENT_CAPABILITIES = Object.freeze({});
|
|
174
72
|
//#endregion
|
|
175
|
-
export { AGENT_CAPABILITIES,
|
|
73
|
+
export { AGENT_CAPABILITIES, ORCH_AGENT_CAPABILITIES, ORCH_CAPABILITIES, OrchRole, PLATFORM_CAPABILITIES, agentCapabilitiesSchema, orchAgentCapabilitiesSchema, orchCapabilitiesSchema, platformCapabilitiesSchema };
|
|
176
74
|
|
|
177
75
|
//# sourceMappingURL=capabilities.js.map
|
|
@@ -319,7 +319,7 @@ export declare const dashboardRunStateResponseSchema: z.ZodObject<{
|
|
|
319
319
|
step_failure: "step_failure";
|
|
320
320
|
timed_out: "timed_out";
|
|
321
321
|
}>>;
|
|
322
|
-
statusEpoch: z.
|
|
322
|
+
statusEpoch: z.ZodNumber;
|
|
323
323
|
jobs: z.ZodArray<z.ZodObject<{
|
|
324
324
|
jobId: z.ZodString;
|
|
325
325
|
jobName: z.ZodString;
|
|
@@ -1041,6 +1041,7 @@ export declare const dashboardAttestationGetResponseSchema: z.ZodObject<{
|
|
|
1041
1041
|
"offline-backfill": "offline-backfill";
|
|
1042
1042
|
}>>;
|
|
1043
1043
|
}, z.core.$strip>>;
|
|
1044
|
+
trustedIssuer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1044
1045
|
error: z.ZodOptional<z.ZodString>;
|
|
1045
1046
|
}, z.core.$strip>;
|
|
1046
1047
|
export type DashboardAttestationGetResponse = z.infer<typeof dashboardAttestationGetResponseSchema>;
|
|
@@ -1424,7 +1425,7 @@ export declare const runRerunRequestSchema: z.ZodObject<{
|
|
|
1424
1425
|
component: z.ZodString;
|
|
1425
1426
|
}, z.core.$strip>], "type">;
|
|
1426
1427
|
runId: z.ZodString;
|
|
1427
|
-
routingKey: z.
|
|
1428
|
+
routingKey: z.ZodString;
|
|
1428
1429
|
}, z.core.$strip>;
|
|
1429
1430
|
/** Request to manually trigger a cron-scheduled workflow. */
|
|
1430
1431
|
export declare const manualScheduleRequestSchema: z.ZodObject<{
|
|
@@ -3214,6 +3215,32 @@ export declare const fleetPreviewHostSchema: z.ZodObject<{
|
|
|
3214
3215
|
}>;
|
|
3215
3216
|
}, z.core.$strip>;
|
|
3216
3217
|
export type FleetPreviewHost = z.infer<typeof fleetPreviewHostSchema>;
|
|
3218
|
+
/**
|
|
3219
|
+
* A roster host as the dashboard sees it: the SDK inventory entry plus whether
|
|
3220
|
+
* an agent registration or an operator declaration confirmed it. An
|
|
3221
|
+
* unconfirmed host was created from the dashboard and is not a fan-out or
|
|
3222
|
+
* inventory target.
|
|
3223
|
+
*/
|
|
3224
|
+
export declare const fleetHostEntrySchema: z.ZodObject<{
|
|
3225
|
+
agentId: z.ZodString;
|
|
3226
|
+
labels: z.ZodArray<z.ZodString>;
|
|
3227
|
+
properties: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
3228
|
+
hostname: z.ZodNullable<z.ZodString>;
|
|
3229
|
+
platform: z.ZodNullable<z.ZodString>;
|
|
3230
|
+
arch: z.ZodNullable<z.ZodString>;
|
|
3231
|
+
lifecycleClass: z.ZodEnum<{
|
|
3232
|
+
ephemeral: "ephemeral";
|
|
3233
|
+
static: "static";
|
|
3234
|
+
}>;
|
|
3235
|
+
status: z.ZodEnum<{
|
|
3236
|
+
ready: "ready";
|
|
3237
|
+
stale: "stale";
|
|
3238
|
+
unreachable: "unreachable";
|
|
3239
|
+
}>;
|
|
3240
|
+
lastSeen: z.ZodString;
|
|
3241
|
+
confirmed: z.ZodBoolean;
|
|
3242
|
+
}, z.core.$strip>;
|
|
3243
|
+
export type FleetHostEntry = z.infer<typeof fleetHostEntrySchema>;
|
|
3217
3244
|
export declare const dashboardFleetHostsRequestSchema: z.ZodObject<{
|
|
3218
3245
|
type: z.ZodLiteral<"dashboard.fleet.hosts">;
|
|
3219
3246
|
requestId: z.ZodString;
|
|
@@ -3326,6 +3353,7 @@ export declare const dashboardFleetHostsResponseSchema: z.ZodObject<{
|
|
|
3326
3353
|
unreachable: "unreachable";
|
|
3327
3354
|
}>;
|
|
3328
3355
|
lastSeen: z.ZodString;
|
|
3356
|
+
confirmed: z.ZodBoolean;
|
|
3329
3357
|
}, z.core.$strip>>;
|
|
3330
3358
|
}, z.core.$strip>;
|
|
3331
3359
|
export declare const dashboardFleetHostResponseSchema: z.ZodObject<{
|
|
@@ -3348,6 +3376,7 @@ export declare const dashboardFleetHostResponseSchema: z.ZodObject<{
|
|
|
3348
3376
|
unreachable: "unreachable";
|
|
3349
3377
|
}>;
|
|
3350
3378
|
lastSeen: z.ZodString;
|
|
3379
|
+
confirmed: z.ZodBoolean;
|
|
3351
3380
|
}, z.core.$strip>>;
|
|
3352
3381
|
runs: z.ZodArray<z.ZodObject<{
|
|
3353
3382
|
runId: z.ZodString;
|
|
@@ -3467,6 +3496,20 @@ export declare const dashboardFleetWorkflowsForHostResponseSchema: z.ZodObject<{
|
|
|
3467
3496
|
}, z.core.$strip>;
|
|
3468
3497
|
export type DashboardFleetWorkflowsForHostRequest = z.infer<typeof dashboardFleetWorkflowsForHostRequestSchema>;
|
|
3469
3498
|
export type DashboardFleetWorkflowsForHostResponse = z.infer<typeof dashboardFleetWorkflowsForHostResponseSchema>;
|
|
3499
|
+
/**
|
|
3500
|
+
* Why the orchestrator refused a Platform-relayed fleet host write. Travels in
|
|
3501
|
+
* the response `error` field, as `operation_disabled` does.
|
|
3502
|
+
*
|
|
3503
|
+
* - `reserved_property` — a label or property key is in the reserved `kici:` namespace.
|
|
3504
|
+
* - `host_exists` — a dashboard declare named a host that already exists.
|
|
3505
|
+
* - `host_confirmed` — a dashboard remove named a host an agent or operator confirmed.
|
|
3506
|
+
*/
|
|
3507
|
+
export declare const FleetHostWriteRefusal: z.ZodEnum<{
|
|
3508
|
+
host_confirmed: "host_confirmed";
|
|
3509
|
+
host_exists: "host_exists";
|
|
3510
|
+
reserved_property: "reserved_property";
|
|
3511
|
+
}>;
|
|
3512
|
+
export type FleetHostWriteRefusal = z.infer<typeof FleetHostWriteRefusal>;
|
|
3470
3513
|
/** Declare a static host into the roster (wraps HostRosterStore.declareStatic). */
|
|
3471
3514
|
export declare const fleetHostDeclareRequestSchema: z.ZodObject<{
|
|
3472
3515
|
type: z.ZodLiteral<"dashboard.fleet.host.declare">;
|
|
@@ -3508,6 +3551,7 @@ export declare const fleetHostDeclareResponseSchema: z.ZodObject<{
|
|
|
3508
3551
|
declared: z.ZodOptional<z.ZodBoolean>;
|
|
3509
3552
|
created: z.ZodOptional<z.ZodBoolean>;
|
|
3510
3553
|
error: z.ZodOptional<z.ZodString>;
|
|
3554
|
+
reservedKeys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3511
3555
|
}, z.core.$strip>;
|
|
3512
3556
|
/** Remove a host from the roster by agent id (HostRosterStore.removeStatic). */
|
|
3513
3557
|
export declare const fleetHostRemoveRequestSchema: z.ZodObject<{
|
|
@@ -4990,7 +5034,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
4990
5034
|
component: z.ZodString;
|
|
4991
5035
|
}, z.core.$strip>], "type">;
|
|
4992
5036
|
runId: z.ZodString;
|
|
4993
|
-
routingKey: z.
|
|
5037
|
+
routingKey: z.ZodString;
|
|
4994
5038
|
}, z.core.$strip>, z.ZodObject<{
|
|
4995
5039
|
type: z.ZodLiteral<"run.manual_schedule.request">;
|
|
4996
5040
|
requestId: z.ZodString;
|
|
@@ -6827,6 +6871,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
6827
6871
|
"db.create_role": "db.create_role";
|
|
6828
6872
|
"db.ensure": "db.ensure";
|
|
6829
6873
|
"db.fresh": "db.fresh";
|
|
6874
|
+
"db.migrate": "db.migrate";
|
|
6830
6875
|
"db.refresh_collation_version": "db.refresh_collation_version";
|
|
6831
6876
|
"db.reindex": "db.reindex";
|
|
6832
6877
|
"diagnostics.read": "diagnostics.read";
|
|
@@ -6870,6 +6915,7 @@ export declare const dashboardPlatformToOrchSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
6870
6915
|
"scaler.capacity.read": "scaler.capacity.read";
|
|
6871
6916
|
"scaler.orphan.stop": "scaler.orphan.stop";
|
|
6872
6917
|
"scaler.orphans.read": "scaler.orphans.read";
|
|
6918
|
+
"scaler.reload": "scaler.reload";
|
|
6873
6919
|
"secret.delete": "secret.delete";
|
|
6874
6920
|
"secret.list.read": "secret.list.read";
|
|
6875
6921
|
"secret.reveal": "secret.reveal";
|
|
@@ -7458,7 +7504,7 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
7458
7504
|
step_failure: "step_failure";
|
|
7459
7505
|
timed_out: "timed_out";
|
|
7460
7506
|
}>>;
|
|
7461
|
-
statusEpoch: z.
|
|
7507
|
+
statusEpoch: z.ZodNumber;
|
|
7462
7508
|
jobs: z.ZodArray<z.ZodObject<{
|
|
7463
7509
|
jobId: z.ZodString;
|
|
7464
7510
|
jobName: z.ZodString;
|
|
@@ -7613,6 +7659,7 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
7613
7659
|
"offline-backfill": "offline-backfill";
|
|
7614
7660
|
}>>;
|
|
7615
7661
|
}, z.core.$strip>>;
|
|
7662
|
+
trustedIssuer: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7616
7663
|
error: z.ZodOptional<z.ZodString>;
|
|
7617
7664
|
}, z.core.$strip>, z.ZodObject<{
|
|
7618
7665
|
type: z.ZodLiteral<"dashboard.attestation.retry.response">;
|
|
@@ -8151,6 +8198,7 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
8151
8198
|
unreachable: "unreachable";
|
|
8152
8199
|
}>;
|
|
8153
8200
|
lastSeen: z.ZodString;
|
|
8201
|
+
confirmed: z.ZodBoolean;
|
|
8154
8202
|
}, z.core.$strip>>;
|
|
8155
8203
|
}, z.core.$strip>, z.ZodObject<{
|
|
8156
8204
|
type: z.ZodLiteral<"dashboard.fleet.host.response">;
|
|
@@ -8172,6 +8220,7 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
8172
8220
|
unreachable: "unreachable";
|
|
8173
8221
|
}>;
|
|
8174
8222
|
lastSeen: z.ZodString;
|
|
8223
|
+
confirmed: z.ZodBoolean;
|
|
8175
8224
|
}, z.core.$strip>>;
|
|
8176
8225
|
runs: z.ZodArray<z.ZodObject<{
|
|
8177
8226
|
runId: z.ZodString;
|
|
@@ -8237,6 +8286,7 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
8237
8286
|
declared: z.ZodOptional<z.ZodBoolean>;
|
|
8238
8287
|
created: z.ZodOptional<z.ZodBoolean>;
|
|
8239
8288
|
error: z.ZodOptional<z.ZodString>;
|
|
8289
|
+
reservedKeys: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
8240
8290
|
}, z.core.$strip>, z.ZodObject<{
|
|
8241
8291
|
type: z.ZodLiteral<"dashboard.fleet.host.remove.response">;
|
|
8242
8292
|
requestId: z.ZodString;
|
|
@@ -8571,6 +8621,7 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
8571
8621
|
"db.create_role": "db.create_role";
|
|
8572
8622
|
"db.ensure": "db.ensure";
|
|
8573
8623
|
"db.fresh": "db.fresh";
|
|
8624
|
+
"db.migrate": "db.migrate";
|
|
8574
8625
|
"db.refresh_collation_version": "db.refresh_collation_version";
|
|
8575
8626
|
"db.reindex": "db.reindex";
|
|
8576
8627
|
"diagnostics.read": "diagnostics.read";
|
|
@@ -8614,6 +8665,7 @@ export declare const dashboardOrchToPlatformSchema: z.ZodDiscriminatedUnion<[z.Z
|
|
|
8614
8665
|
"scaler.capacity.read": "scaler.capacity.read";
|
|
8615
8666
|
"scaler.orphan.stop": "scaler.orphan.stop";
|
|
8616
8667
|
"scaler.orphans.read": "scaler.orphans.read";
|
|
8668
|
+
"scaler.reload": "scaler.reload";
|
|
8617
8669
|
"secret.delete": "secret.delete";
|
|
8618
8670
|
"secret.list.read": "secret.list.read";
|
|
8619
8671
|
"secret.reveal": "secret.reveal";
|
|
@@ -8927,14 +8979,12 @@ export declare const dashboardStepLogsApiResponseSchema: z.ZodObject<{
|
|
|
8927
8979
|
recorded: z.ZodOptional<z.ZodBoolean>;
|
|
8928
8980
|
}, z.core.$strip>;
|
|
8929
8981
|
/**
|
|
8930
|
-
* REST API response for the run attestations list.
|
|
8931
|
-
*
|
|
8932
|
-
*
|
|
8933
|
-
*
|
|
8934
|
-
*
|
|
8935
|
-
*
|
|
8936
|
-
* dashboard then lists + downloads the bundles but renders the badge as
|
|
8937
|
-
* "verification unavailable".
|
|
8982
|
+
* REST API response for the run attestations list. `trustedIssuer` is the
|
|
8983
|
+
* signing orchestrator's provenance issuer, which the dashboard pins each
|
|
8984
|
+
* bundle's identity token to (never the bundle's own `iss`), and `jwksUri` is
|
|
8985
|
+
* the discovery JWKS endpoint the dashboard fetches to verify. Both are null
|
|
8986
|
+
* when the orchestrator does not sign — the dashboard then lists + downloads
|
|
8987
|
+
* the bundles but renders the badge as "verification unavailable".
|
|
8938
8988
|
*/
|
|
8939
8989
|
export declare const dashboardAttestationsApiResponseSchema: z.ZodObject<{
|
|
8940
8990
|
trustedIssuer: z.ZodNullable<z.ZodString>;
|
|
@@ -9383,18 +9433,10 @@ export declare const runEventSchema: z.ZodObject<{
|
|
|
9383
9433
|
parentSpanId: z.ZodNullable<z.ZodString>;
|
|
9384
9434
|
}, z.core.$strip>;
|
|
9385
9435
|
export type RunEvent = z.infer<typeof runEventSchema>;
|
|
9386
|
-
/**
|
|
9387
|
-
* Trust policy response (from trust_policies table).
|
|
9388
|
-
*
|
|
9389
|
-
* `approvalExpirySeconds` is the authoritative window and `approvalExpiryHours`
|
|
9390
|
-
* its coarse, rounded-up view, so a client reading only the older field still
|
|
9391
|
-
* gets a usable number. Both are always sent by this build; the seconds field is
|
|
9392
|
-
* optional so a dashboard build reading an older Platform still parses.
|
|
9393
|
-
*/
|
|
9436
|
+
/** Trust policy response (from trust_policies table). The window is in seconds. */
|
|
9394
9437
|
export declare const trustPolicyResponseSchema: z.ZodObject<{
|
|
9395
9438
|
forkPolicy: z.ZodString;
|
|
9396
|
-
|
|
9397
|
-
approvalExpirySeconds: z.ZodOptional<z.ZodNumber>;
|
|
9439
|
+
approvalExpirySeconds: z.ZodNumber;
|
|
9398
9440
|
}, z.core.$strip>;
|
|
9399
9441
|
export type TrustPolicy = z.infer<typeof trustPolicyResponseSchema>;
|
|
9400
9442
|
/** Single identity link item. */
|
|
@@ -6,14 +6,14 @@ import { actorPrincipalSchema } from "./actor.js";
|
|
|
6
6
|
import { HeldRunStatus } from "../../context/held-run-status.js";
|
|
7
7
|
import { dashboardSealedEnvelopeSchema } from "./dashboard-sealed-write.js";
|
|
8
8
|
import { JobKind, StepConcurrencyKind, initFailureSchema, stateReplayRunSchema } from "./execution-status.js";
|
|
9
|
+
import { DeploymentContainerRuntimeSchema, DeploymentModeSchema } from "./deployment-identity.js";
|
|
10
|
+
import { SourceSubtype } from "./source-registration.js";
|
|
9
11
|
import { TrustTierSchema } from "../../context/types.js";
|
|
10
12
|
import { agentRunResultSchema } from "./agent-run-result.js";
|
|
11
13
|
import { kiciBundleSchema } from "../../provenance/bundle.js";
|
|
12
14
|
import { dashboardAccessLogListRequestSchema, dashboardAccessLogListResponseSchema } from "./access-log.js";
|
|
13
15
|
import { dashboardOrchLogsRequestSchema, dashboardOrchLogsResponseSchema } from "./run-events.js";
|
|
14
16
|
import { EventLogSource, EventLogStatus, PayloadOmittedReason } from "./event-log.js";
|
|
15
|
-
import { DeploymentContainerRuntimeSchema, DeploymentModeSchema } from "./deployment-identity.js";
|
|
16
|
-
import { SourceSubtype } from "./source-registration.js";
|
|
17
17
|
import { ScalerBackendType } from "../../scaler/scaler-backend-type.js";
|
|
18
18
|
import { ApprovalDecision, HoldScope, approverClauseSchema } from "../../approval/types.js";
|
|
19
19
|
import { NeedsRunOn, OnUnreachableMode } from "../../trigger/types.js";
|
|
@@ -131,8 +131,6 @@ const dashboardJobDetailSchema = z.object({
|
|
|
131
131
|
* Job kind: `standard` runs steps on an agent, `gate` is an invoke gate, and
|
|
132
132
|
* `proxy` mirrors a summoned source-repo run. Absent/null for a standard job.
|
|
133
133
|
*
|
|
134
|
-
* OPTIONAL, and must stay optional: the wire protocol is compatibility-
|
|
135
|
-
* protected, so an orchestrator that predates invoke gates omits it.
|
|
136
134
|
*/
|
|
137
135
|
jobKind: JobKind.nullable().optional(),
|
|
138
136
|
/**
|
|
@@ -150,10 +148,6 @@ const dashboardJobDetailSchema = z.object({
|
|
|
150
148
|
* Why this job cannot currently be routed to any agent, present only while it
|
|
151
149
|
* is still queued and nothing in the fleet matches its `runsOn`; cleared once
|
|
152
150
|
* a matching agent or scaler backend appears.
|
|
153
|
-
*
|
|
154
|
-
* OPTIONAL, and must stay optional: the wire protocol is compatibility-
|
|
155
|
-
* protected, so an orchestrator that predates the unroutable probe
|
|
156
|
-
* omits it.
|
|
157
151
|
*/
|
|
158
152
|
routingReason: z.string().nullable().optional(),
|
|
159
153
|
/** Labels used for agent routing (e.g. ["kici:os:linux", "kici:arch:x64"]). */
|
|
@@ -311,9 +305,8 @@ const dashboardAttestationsListResponseSchema = z.object({
|
|
|
311
305
|
* The provenance issuer that signs this orchestrator's attestations, when it
|
|
312
306
|
* owns signing (`KICI_ORCHESTRATOR_PROVENANCE_ISSUER`). The Platform surfaces
|
|
313
307
|
* it as `trustedIssuer` so the dashboard / CLI verify against the orchestrator
|
|
314
|
-
* that
|
|
315
|
-
*
|
|
316
|
-
* compatibility with older orchestrators.
|
|
308
|
+
* that signed the bundles; null or absent → no trust root, and the dashboard
|
|
309
|
+
* shows verification as unavailable. Absent on an error response.
|
|
317
310
|
*/
|
|
318
311
|
trustedIssuer: z.string().nullable().optional(),
|
|
319
312
|
error: z.string().optional()
|
|
@@ -347,8 +340,7 @@ const dashboardArtifactsListResponseSchema = z.object({
|
|
|
347
340
|
* Signature-validity window (seconds) of the presigned `downloadUrl`s in this
|
|
348
341
|
* response, from the storage backend's presigned-GET expiry; the dashboard
|
|
349
342
|
* refreshes the list on a fraction of it so a displayed link is never stale.
|
|
350
|
-
*
|
|
351
|
-
* `trustedIssuer`).
|
|
343
|
+
* Absent on an error response.
|
|
352
344
|
*/
|
|
353
345
|
downloadUrlExpiresInSeconds: z.number().int().positive().optional(),
|
|
354
346
|
error: z.string().optional()
|
|
@@ -429,6 +421,8 @@ const dashboardAttestationGetResponseSchema = z.object({
|
|
|
429
421
|
type: z.literal("dashboard.attestation.get.response"),
|
|
430
422
|
requestId: z.string(),
|
|
431
423
|
attestation: attestationListItemSchema.nullable(),
|
|
424
|
+
/** See `dashboardAttestationsListResponseSchema.trustedIssuer`. */
|
|
425
|
+
trustedIssuer: z.string().nullable().optional(),
|
|
432
426
|
error: z.string().optional()
|
|
433
427
|
});
|
|
434
428
|
/** Request an on-demand drain of the deferred-attestation outbox (optionally one run). */
|
|
@@ -607,12 +601,9 @@ const runRerunRequestSchema = z.object({
|
|
|
607
601
|
/**
|
|
608
602
|
* The Platform forwards the original run's `routing_key` so the
|
|
609
603
|
* orchestrator can probe its cold-store under the right tenant prefix
|
|
610
|
-
* when the run is missing from PG.
|
|
611
|
-
* with older Platform versions in mixed deploys; if absent, the
|
|
612
|
-
* orchestrator skips the cold-store probe and surfaces the legacy
|
|
613
|
-
* `runArchivedNotRerunnable` / "Run not found" branches.
|
|
604
|
+
* when the run is missing from PG.
|
|
614
605
|
*/
|
|
615
|
-
routingKey: z.string()
|
|
606
|
+
routingKey: z.string()
|
|
616
607
|
});
|
|
617
608
|
/** Response to a re-run request. */
|
|
618
609
|
const runRerunResponseSchema = z.object({
|
|
@@ -1512,6 +1503,13 @@ const fleetPreviewHostSchema = z.object({
|
|
|
1512
1503
|
entry: HostInventoryEntry,
|
|
1513
1504
|
disposition: FleetHostDisposition
|
|
1514
1505
|
});
|
|
1506
|
+
/**
|
|
1507
|
+
* A roster host as the dashboard sees it: the SDK inventory entry plus whether
|
|
1508
|
+
* an agent registration or an operator declaration confirmed it. An
|
|
1509
|
+
* unconfirmed host was created from the dashboard and is not a fan-out or
|
|
1510
|
+
* inventory target.
|
|
1511
|
+
*/
|
|
1512
|
+
const fleetHostEntrySchema = HostInventoryEntry.extend({ confirmed: z.boolean() });
|
|
1515
1513
|
const dashboardFleetHostsRequestSchema = z.object({
|
|
1516
1514
|
type: z.literal("dashboard.fleet.hosts"),
|
|
1517
1515
|
requestId: z.string(),
|
|
@@ -1532,12 +1530,12 @@ const dashboardFleetPreviewRequestSchema = z.object({
|
|
|
1532
1530
|
const dashboardFleetHostsResponseSchema = z.object({
|
|
1533
1531
|
type: z.literal("dashboard.fleet.hosts.response"),
|
|
1534
1532
|
requestId: z.string(),
|
|
1535
|
-
hosts: z.array(
|
|
1533
|
+
hosts: z.array(fleetHostEntrySchema)
|
|
1536
1534
|
});
|
|
1537
1535
|
const dashboardFleetHostResponseSchema = z.object({
|
|
1538
1536
|
type: z.literal("dashboard.fleet.host.response"),
|
|
1539
1537
|
requestId: z.string(),
|
|
1540
|
-
host:
|
|
1538
|
+
host: fleetHostEntrySchema.nullable(),
|
|
1541
1539
|
runs: z.array(fleetPinnedRunSchema)
|
|
1542
1540
|
});
|
|
1543
1541
|
const dashboardFleetPreviewResponseSchema = z.object({
|
|
@@ -1567,6 +1565,19 @@ const dashboardFleetWorkflowsForHostResponseSchema = z.object({
|
|
|
1567
1565
|
requestId: z.string(),
|
|
1568
1566
|
workflows: z.array(fleetHostWorkflowSchema)
|
|
1569
1567
|
});
|
|
1568
|
+
/**
|
|
1569
|
+
* Why the orchestrator refused a Platform-relayed fleet host write. Travels in
|
|
1570
|
+
* the response `error` field, as `operation_disabled` does.
|
|
1571
|
+
*
|
|
1572
|
+
* - `reserved_property` — a label or property key is in the reserved `kici:` namespace.
|
|
1573
|
+
* - `host_exists` — a dashboard declare named a host that already exists.
|
|
1574
|
+
* - `host_confirmed` — a dashboard remove named a host an agent or operator confirmed.
|
|
1575
|
+
*/
|
|
1576
|
+
const FleetHostWriteRefusal = z.enum([
|
|
1577
|
+
"reserved_property",
|
|
1578
|
+
"host_exists",
|
|
1579
|
+
"host_confirmed"
|
|
1580
|
+
]);
|
|
1570
1581
|
/** Declare a static host into the roster (wraps HostRosterStore.declareStatic). */
|
|
1571
1582
|
const fleetHostDeclareRequestSchema = z.object({
|
|
1572
1583
|
type: z.literal("dashboard.fleet.host.declare"),
|
|
@@ -1586,7 +1597,9 @@ const fleetHostDeclareResponseSchema = z.object({
|
|
|
1586
1597
|
requestId: z.string(),
|
|
1587
1598
|
declared: z.boolean().optional(),
|
|
1588
1599
|
created: z.boolean().optional(),
|
|
1589
|
-
error: z.string().optional()
|
|
1600
|
+
error: z.string().optional(),
|
|
1601
|
+
/** The reserved keys behind a `reserved_property` refusal. */
|
|
1602
|
+
reservedKeys: z.array(z.string()).optional()
|
|
1590
1603
|
});
|
|
1591
1604
|
/** Remove a host from the roster by agent id (HostRosterStore.removeStatic). */
|
|
1592
1605
|
const fleetHostRemoveRequestSchema = z.object({
|
|
@@ -2278,14 +2291,12 @@ const dashboardStepLogsApiResponseSchema = z.object({
|
|
|
2278
2291
|
recorded: z.boolean().optional()
|
|
2279
2292
|
});
|
|
2280
2293
|
/**
|
|
2281
|
-
* REST API response for the run attestations list.
|
|
2282
|
-
*
|
|
2283
|
-
*
|
|
2284
|
-
*
|
|
2285
|
-
*
|
|
2286
|
-
*
|
|
2287
|
-
* dashboard then lists + downloads the bundles but renders the badge as
|
|
2288
|
-
* "verification unavailable".
|
|
2294
|
+
* REST API response for the run attestations list. `trustedIssuer` is the
|
|
2295
|
+
* signing orchestrator's provenance issuer, which the dashboard pins each
|
|
2296
|
+
* bundle's identity token to (never the bundle's own `iss`), and `jwksUri` is
|
|
2297
|
+
* the discovery JWKS endpoint the dashboard fetches to verify. Both are null
|
|
2298
|
+
* when the orchestrator does not sign — the dashboard then lists + downloads
|
|
2299
|
+
* the bundles but renders the badge as "verification unavailable".
|
|
2289
2300
|
*/
|
|
2290
2301
|
const dashboardAttestationsApiResponseSchema = z.object({
|
|
2291
2302
|
trustedIssuer: z.string().nullable(),
|
|
@@ -2538,18 +2549,10 @@ const runEventSchema = z.object({
|
|
|
2538
2549
|
spanId: z.string().nullable(),
|
|
2539
2550
|
parentSpanId: z.string().nullable()
|
|
2540
2551
|
});
|
|
2541
|
-
/**
|
|
2542
|
-
* Trust policy response (from trust_policies table).
|
|
2543
|
-
*
|
|
2544
|
-
* `approvalExpirySeconds` is the authoritative window and `approvalExpiryHours`
|
|
2545
|
-
* its coarse, rounded-up view, so a client reading only the older field still
|
|
2546
|
-
* gets a usable number. Both are always sent by this build; the seconds field is
|
|
2547
|
-
* optional so a dashboard build reading an older Platform still parses.
|
|
2548
|
-
*/
|
|
2552
|
+
/** Trust policy response (from trust_policies table). The window is in seconds. */
|
|
2549
2553
|
const trustPolicyResponseSchema = z.object({
|
|
2550
2554
|
forkPolicy: z.string(),
|
|
2551
|
-
|
|
2552
|
-
approvalExpirySeconds: z.number().optional()
|
|
2555
|
+
approvalExpirySeconds: z.number()
|
|
2553
2556
|
});
|
|
2554
2557
|
/** Single identity link item. */
|
|
2555
2558
|
const identityLinkItemSchema = z.object({
|
|
@@ -2603,6 +2606,6 @@ const DashboardResponseErrorCode = z.enum([
|
|
|
2603
2606
|
"internal_error"
|
|
2604
2607
|
]);
|
|
2605
2608
|
//#endregion
|
|
2606
|
-
export { ContextDeleteErrorCode, ContextType, 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, dashboardAdminTokenSummarySchema, dashboardAdminTokensListRequestSchema, dashboardAdminTokensListResponseSchema, 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 };
|
|
2609
|
+
export { ContextDeleteErrorCode, ContextType, DASHBOARD_REQUEST_TYPES, DASHBOARD_REQUEST_TYPE_SET, DashboardResponseErrorCode, EventLogPayloadStreamError, FleetHostDisposition, FleetHostWriteRefusal, 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, dashboardAdminTokenSummarySchema, dashboardAdminTokensListRequestSchema, dashboardAdminTokensListResponseSchema, 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, fleetHostEntrySchema, 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 };
|
|
2607
2610
|
|
|
2608
2611
|
//# sourceMappingURL=dashboard.js.map
|
|
@@ -352,7 +352,7 @@ export declare const executionStatusSchema: z.ZodObject<{
|
|
|
352
352
|
step_failure: "step_failure";
|
|
353
353
|
timed_out: "timed_out";
|
|
354
354
|
}>>;
|
|
355
|
-
statusEpoch: z.
|
|
355
|
+
statusEpoch: z.ZodNumber;
|
|
356
356
|
}, z.core.$strip>;
|
|
357
357
|
/** Per-step status forwarded from agent to Platform (real-time). */
|
|
358
358
|
export declare const stepStatusForwardSchema: z.ZodObject<{
|
|
@@ -485,7 +485,7 @@ export declare const stateReplayRunSchema: z.ZodObject<{
|
|
|
485
485
|
step_failure: "step_failure";
|
|
486
486
|
timed_out: "timed_out";
|
|
487
487
|
}>>;
|
|
488
|
-
statusEpoch: z.
|
|
488
|
+
statusEpoch: z.ZodNumber;
|
|
489
489
|
jobs: z.ZodArray<z.ZodObject<{
|
|
490
490
|
jobId: z.ZodString;
|
|
491
491
|
jobName: z.ZodString;
|
|
@@ -538,7 +538,7 @@ export declare const stateReplaySchema: z.ZodObject<{
|
|
|
538
538
|
step_failure: "step_failure";
|
|
539
539
|
timed_out: "timed_out";
|
|
540
540
|
}>>;
|
|
541
|
-
statusEpoch: z.
|
|
541
|
+
statusEpoch: z.ZodNumber;
|
|
542
542
|
jobs: z.ZodArray<z.ZodObject<{
|
|
543
543
|
jobId: z.ZodString;
|
|
544
544
|
jobName: z.ZodString;
|