@kici-dev/engine 0.1.21 → 0.1.23
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/types.d.ts +1 -1
- package/dist/approval/types.js +1 -1
- package/dist/audit/access-log-policy.js +9 -0
- package/dist/audit/activity.d.ts +3 -1
- package/dist/audit/activity.js +8 -16
- package/dist/audit/retention-policy.js +12 -0
- package/dist/environment/host-match.d.ts +25 -0
- package/dist/environment/host-match.js +67 -0
- package/dist/environment/index.d.ts +1 -0
- package/dist/environment/scope-resolver.d.ts +15 -4
- package/dist/environment/scope-resolver.js +55 -15
- package/dist/environment/scope-template.d.ts +18 -0
- package/dist/environment/scope-template.js +43 -0
- package/dist/environment/types.d.ts +7 -0
- package/dist/fanout/materialize.d.ts +55 -4
- package/dist/fanout/materialize.js +95 -49
- package/dist/index.d.ts +4 -2
- package/dist/index.js +14 -8
- package/dist/inputs/build.d.ts +9 -0
- package/dist/inputs/build.js +44 -0
- package/dist/inputs/coerce.d.ts +25 -0
- package/dist/inputs/coerce.js +51 -0
- package/dist/inputs/descriptor.d.ts +53 -0
- package/dist/inputs/descriptor.js +42 -0
- package/dist/inputs/extract.d.ts +15 -0
- package/dist/inputs/extract.js +117 -0
- package/dist/inputs/index.d.ts +5 -0
- package/dist/inputs/index.js +6 -0
- package/dist/inventory.d.ts +2 -2
- package/dist/labels/compile.d.ts +9 -0
- package/dist/labels/compile.js +10 -1
- package/dist/labels-match.d.ts +52 -0
- package/dist/labels-match.js +22 -1
- package/dist/labels.d.ts +29 -0
- package/dist/labels.js +32 -1
- package/dist/metrics/catalog-policy.d.ts +7 -0
- package/dist/metrics/catalog-policy.js +11 -12
- package/dist/metrics/metric-catalog.generated.d.ts +2 -2
- package/dist/metrics/metric-catalog.generated.js +10 -2
- package/dist/protocol/dashboard-write-operations.d.ts +8 -1
- package/dist/protocol/dashboard-write-operations.js +25 -4
- package/dist/protocol/messages/access-log.d.ts +40 -0
- package/dist/protocol/messages/access-log.js +9 -1
- package/dist/protocol/messages/auth.d.ts +2 -0
- package/dist/protocol/messages/capabilities.d.ts +2 -0
- package/dist/protocol/messages/dashboard.d.ts +766 -25
- package/dist/protocol/messages/dashboard.js +173 -9
- package/dist/protocol/messages/deployment-identity.d.ts +38 -0
- package/dist/protocol/messages/deployment-identity.js +28 -0
- package/dist/protocol/messages/orchestrator-agent.d.ts +64 -2
- package/dist/protocol/messages/orchestrator-agent.js +26 -7
- package/dist/protocol/messages/peer.js +1 -1
- package/dist/protocol/messages/platform-orchestrator.d.ts +197 -2
- package/dist/protocol/messages/run-events.d.ts +1 -1
- package/dist/protocol/messages/source-registration.d.ts +15 -0
- package/dist/protocol/messages/source-registration.js +17 -1
- package/dist/trigger/types.d.ts +114 -22
- package/dist/trigger/types.js +53 -12
- package/package.json +9 -1
- package/sbom.spdx.json +5 -5
|
@@ -16,6 +16,7 @@ export declare const AccessLogSource: z.ZodEnum<{
|
|
|
16
16
|
platform_proxy: "platform_proxy";
|
|
17
17
|
admin_http: "admin_http";
|
|
18
18
|
admin_cli: "admin_cli";
|
|
19
|
+
agent: "agent";
|
|
19
20
|
}>;
|
|
20
21
|
export type AccessLogSource = z.infer<typeof AccessLogSource>;
|
|
21
22
|
/** Outcome of the attempted action. */
|
|
@@ -39,6 +40,7 @@ export declare const AccessLogTargetType: z.ZodEnum<{
|
|
|
39
40
|
backend: "backend";
|
|
40
41
|
diagnostics: "diagnostics";
|
|
41
42
|
scaler: "scaler";
|
|
43
|
+
fleet: "fleet";
|
|
42
44
|
held_run: "held_run";
|
|
43
45
|
access_log: "access_log";
|
|
44
46
|
event_dlq: "event_dlq";
|
|
@@ -56,6 +58,8 @@ export declare const AccessLogAction: z.ZodEnum<{
|
|
|
56
58
|
"registration.disable": "registration.disable";
|
|
57
59
|
"registration.delete": "registration.delete";
|
|
58
60
|
"global_workflows.update": "global_workflows.update";
|
|
61
|
+
"fleet.host.declare": "fleet.host.declare";
|
|
62
|
+
"fleet.host.remove": "fleet.host.remove";
|
|
59
63
|
"run.detail.read": "run.detail.read";
|
|
60
64
|
"runs.list.read": "runs.list.read";
|
|
61
65
|
"runs.filters.read": "runs.filters.read";
|
|
@@ -95,6 +99,7 @@ export declare const AccessLogAction: z.ZodEnum<{
|
|
|
95
99
|
"environment.history.read": "environment.history.read";
|
|
96
100
|
"held_run.list.read": "held_run.list.read";
|
|
97
101
|
"held_run.approve": "held_run.approve";
|
|
102
|
+
"held_run.auto_approve": "held_run.auto_approve";
|
|
98
103
|
"held_run.reject": "held_run.reject";
|
|
99
104
|
"held_run.request": "held_run.request";
|
|
100
105
|
"held_run.expire": "held_run.expire";
|
|
@@ -102,6 +107,9 @@ export declare const AccessLogAction: z.ZodEnum<{
|
|
|
102
107
|
"diagnostics.read": "diagnostics.read";
|
|
103
108
|
"scaler.capacity.read": "scaler.capacity.read";
|
|
104
109
|
"scaler.agents.read": "scaler.agents.read";
|
|
110
|
+
"fleet.read": "fleet.read";
|
|
111
|
+
"fleet.init_runner.bringup": "fleet.init_runner.bringup";
|
|
112
|
+
"fleet.pre_boot.send": "fleet.pre_boot.send";
|
|
105
113
|
"backend.list.read": "backend.list.read";
|
|
106
114
|
"backend.get.read": "backend.get.read";
|
|
107
115
|
"backend.sync": "backend.sync";
|
|
@@ -144,6 +152,8 @@ export declare const accessLogItemSchema: z.ZodObject<{
|
|
|
144
152
|
"registration.disable": "registration.disable";
|
|
145
153
|
"registration.delete": "registration.delete";
|
|
146
154
|
"global_workflows.update": "global_workflows.update";
|
|
155
|
+
"fleet.host.declare": "fleet.host.declare";
|
|
156
|
+
"fleet.host.remove": "fleet.host.remove";
|
|
147
157
|
"run.detail.read": "run.detail.read";
|
|
148
158
|
"runs.list.read": "runs.list.read";
|
|
149
159
|
"runs.filters.read": "runs.filters.read";
|
|
@@ -183,6 +193,7 @@ export declare const accessLogItemSchema: z.ZodObject<{
|
|
|
183
193
|
"environment.history.read": "environment.history.read";
|
|
184
194
|
"held_run.list.read": "held_run.list.read";
|
|
185
195
|
"held_run.approve": "held_run.approve";
|
|
196
|
+
"held_run.auto_approve": "held_run.auto_approve";
|
|
186
197
|
"held_run.reject": "held_run.reject";
|
|
187
198
|
"held_run.request": "held_run.request";
|
|
188
199
|
"held_run.expire": "held_run.expire";
|
|
@@ -190,6 +201,9 @@ export declare const accessLogItemSchema: z.ZodObject<{
|
|
|
190
201
|
"diagnostics.read": "diagnostics.read";
|
|
191
202
|
"scaler.capacity.read": "scaler.capacity.read";
|
|
192
203
|
"scaler.agents.read": "scaler.agents.read";
|
|
204
|
+
"fleet.read": "fleet.read";
|
|
205
|
+
"fleet.init_runner.bringup": "fleet.init_runner.bringup";
|
|
206
|
+
"fleet.pre_boot.send": "fleet.pre_boot.send";
|
|
193
207
|
"backend.list.read": "backend.list.read";
|
|
194
208
|
"backend.get.read": "backend.get.read";
|
|
195
209
|
"backend.sync": "backend.sync";
|
|
@@ -216,6 +230,7 @@ export declare const accessLogItemSchema: z.ZodObject<{
|
|
|
216
230
|
backend: "backend";
|
|
217
231
|
diagnostics: "diagnostics";
|
|
218
232
|
scaler: "scaler";
|
|
233
|
+
fleet: "fleet";
|
|
219
234
|
held_run: "held_run";
|
|
220
235
|
access_log: "access_log";
|
|
221
236
|
event_dlq: "event_dlq";
|
|
@@ -228,6 +243,7 @@ export declare const accessLogItemSchema: z.ZodObject<{
|
|
|
228
243
|
platform_proxy: "platform_proxy";
|
|
229
244
|
admin_http: "admin_http";
|
|
230
245
|
admin_cli: "admin_cli";
|
|
246
|
+
agent: "agent";
|
|
231
247
|
}>;
|
|
232
248
|
outcome: z.ZodEnum<{
|
|
233
249
|
error: "error";
|
|
@@ -254,6 +270,8 @@ export declare const accessLogFilterSchema: z.ZodObject<{
|
|
|
254
270
|
"registration.disable": "registration.disable";
|
|
255
271
|
"registration.delete": "registration.delete";
|
|
256
272
|
"global_workflows.update": "global_workflows.update";
|
|
273
|
+
"fleet.host.declare": "fleet.host.declare";
|
|
274
|
+
"fleet.host.remove": "fleet.host.remove";
|
|
257
275
|
"run.detail.read": "run.detail.read";
|
|
258
276
|
"runs.list.read": "runs.list.read";
|
|
259
277
|
"runs.filters.read": "runs.filters.read";
|
|
@@ -293,6 +311,7 @@ export declare const accessLogFilterSchema: z.ZodObject<{
|
|
|
293
311
|
"environment.history.read": "environment.history.read";
|
|
294
312
|
"held_run.list.read": "held_run.list.read";
|
|
295
313
|
"held_run.approve": "held_run.approve";
|
|
314
|
+
"held_run.auto_approve": "held_run.auto_approve";
|
|
296
315
|
"held_run.reject": "held_run.reject";
|
|
297
316
|
"held_run.request": "held_run.request";
|
|
298
317
|
"held_run.expire": "held_run.expire";
|
|
@@ -300,6 +319,9 @@ export declare const accessLogFilterSchema: z.ZodObject<{
|
|
|
300
319
|
"diagnostics.read": "diagnostics.read";
|
|
301
320
|
"scaler.capacity.read": "scaler.capacity.read";
|
|
302
321
|
"scaler.agents.read": "scaler.agents.read";
|
|
322
|
+
"fleet.read": "fleet.read";
|
|
323
|
+
"fleet.init_runner.bringup": "fleet.init_runner.bringup";
|
|
324
|
+
"fleet.pre_boot.send": "fleet.pre_boot.send";
|
|
303
325
|
"backend.list.read": "backend.list.read";
|
|
304
326
|
"backend.get.read": "backend.get.read";
|
|
305
327
|
"backend.sync": "backend.sync";
|
|
@@ -317,6 +339,7 @@ export declare const accessLogFilterSchema: z.ZodObject<{
|
|
|
317
339
|
platform_proxy: "platform_proxy";
|
|
318
340
|
admin_http: "admin_http";
|
|
319
341
|
admin_cli: "admin_cli";
|
|
342
|
+
agent: "agent";
|
|
320
343
|
}>>;
|
|
321
344
|
outcome: z.ZodOptional<z.ZodEnum<{
|
|
322
345
|
error: "error";
|
|
@@ -336,6 +359,7 @@ export declare const accessLogFilterSchema: z.ZodObject<{
|
|
|
336
359
|
backend: "backend";
|
|
337
360
|
diagnostics: "diagnostics";
|
|
338
361
|
scaler: "scaler";
|
|
362
|
+
fleet: "fleet";
|
|
339
363
|
held_run: "held_run";
|
|
340
364
|
access_log: "access_log";
|
|
341
365
|
event_dlq: "event_dlq";
|
|
@@ -386,6 +410,8 @@ export declare const dashboardAccessLogListRequestSchema: z.ZodObject<{
|
|
|
386
410
|
"registration.disable": "registration.disable";
|
|
387
411
|
"registration.delete": "registration.delete";
|
|
388
412
|
"global_workflows.update": "global_workflows.update";
|
|
413
|
+
"fleet.host.declare": "fleet.host.declare";
|
|
414
|
+
"fleet.host.remove": "fleet.host.remove";
|
|
389
415
|
"run.detail.read": "run.detail.read";
|
|
390
416
|
"runs.list.read": "runs.list.read";
|
|
391
417
|
"runs.filters.read": "runs.filters.read";
|
|
@@ -425,6 +451,7 @@ export declare const dashboardAccessLogListRequestSchema: z.ZodObject<{
|
|
|
425
451
|
"environment.history.read": "environment.history.read";
|
|
426
452
|
"held_run.list.read": "held_run.list.read";
|
|
427
453
|
"held_run.approve": "held_run.approve";
|
|
454
|
+
"held_run.auto_approve": "held_run.auto_approve";
|
|
428
455
|
"held_run.reject": "held_run.reject";
|
|
429
456
|
"held_run.request": "held_run.request";
|
|
430
457
|
"held_run.expire": "held_run.expire";
|
|
@@ -432,6 +459,9 @@ export declare const dashboardAccessLogListRequestSchema: z.ZodObject<{
|
|
|
432
459
|
"diagnostics.read": "diagnostics.read";
|
|
433
460
|
"scaler.capacity.read": "scaler.capacity.read";
|
|
434
461
|
"scaler.agents.read": "scaler.agents.read";
|
|
462
|
+
"fleet.read": "fleet.read";
|
|
463
|
+
"fleet.init_runner.bringup": "fleet.init_runner.bringup";
|
|
464
|
+
"fleet.pre_boot.send": "fleet.pre_boot.send";
|
|
435
465
|
"backend.list.read": "backend.list.read";
|
|
436
466
|
"backend.get.read": "backend.get.read";
|
|
437
467
|
"backend.sync": "backend.sync";
|
|
@@ -449,6 +479,7 @@ export declare const dashboardAccessLogListRequestSchema: z.ZodObject<{
|
|
|
449
479
|
platform_proxy: "platform_proxy";
|
|
450
480
|
admin_http: "admin_http";
|
|
451
481
|
admin_cli: "admin_cli";
|
|
482
|
+
agent: "agent";
|
|
452
483
|
}>>;
|
|
453
484
|
outcome: z.ZodOptional<z.ZodEnum<{
|
|
454
485
|
error: "error";
|
|
@@ -468,6 +499,7 @@ export declare const dashboardAccessLogListRequestSchema: z.ZodObject<{
|
|
|
468
499
|
backend: "backend";
|
|
469
500
|
diagnostics: "diagnostics";
|
|
470
501
|
scaler: "scaler";
|
|
502
|
+
fleet: "fleet";
|
|
471
503
|
held_run: "held_run";
|
|
472
504
|
access_log: "access_log";
|
|
473
505
|
event_dlq: "event_dlq";
|
|
@@ -506,6 +538,8 @@ export declare const dashboardAccessLogListResponseSchema: z.ZodObject<{
|
|
|
506
538
|
"registration.disable": "registration.disable";
|
|
507
539
|
"registration.delete": "registration.delete";
|
|
508
540
|
"global_workflows.update": "global_workflows.update";
|
|
541
|
+
"fleet.host.declare": "fleet.host.declare";
|
|
542
|
+
"fleet.host.remove": "fleet.host.remove";
|
|
509
543
|
"run.detail.read": "run.detail.read";
|
|
510
544
|
"runs.list.read": "runs.list.read";
|
|
511
545
|
"runs.filters.read": "runs.filters.read";
|
|
@@ -545,6 +579,7 @@ export declare const dashboardAccessLogListResponseSchema: z.ZodObject<{
|
|
|
545
579
|
"environment.history.read": "environment.history.read";
|
|
546
580
|
"held_run.list.read": "held_run.list.read";
|
|
547
581
|
"held_run.approve": "held_run.approve";
|
|
582
|
+
"held_run.auto_approve": "held_run.auto_approve";
|
|
548
583
|
"held_run.reject": "held_run.reject";
|
|
549
584
|
"held_run.request": "held_run.request";
|
|
550
585
|
"held_run.expire": "held_run.expire";
|
|
@@ -552,6 +587,9 @@ export declare const dashboardAccessLogListResponseSchema: z.ZodObject<{
|
|
|
552
587
|
"diagnostics.read": "diagnostics.read";
|
|
553
588
|
"scaler.capacity.read": "scaler.capacity.read";
|
|
554
589
|
"scaler.agents.read": "scaler.agents.read";
|
|
590
|
+
"fleet.read": "fleet.read";
|
|
591
|
+
"fleet.init_runner.bringup": "fleet.init_runner.bringup";
|
|
592
|
+
"fleet.pre_boot.send": "fleet.pre_boot.send";
|
|
555
593
|
"backend.list.read": "backend.list.read";
|
|
556
594
|
"backend.get.read": "backend.get.read";
|
|
557
595
|
"backend.sync": "backend.sync";
|
|
@@ -578,6 +616,7 @@ export declare const dashboardAccessLogListResponseSchema: z.ZodObject<{
|
|
|
578
616
|
backend: "backend";
|
|
579
617
|
diagnostics: "diagnostics";
|
|
580
618
|
scaler: "scaler";
|
|
619
|
+
fleet: "fleet";
|
|
581
620
|
held_run: "held_run";
|
|
582
621
|
access_log: "access_log";
|
|
583
622
|
event_dlq: "event_dlq";
|
|
@@ -590,6 +629,7 @@ export declare const dashboardAccessLogListResponseSchema: z.ZodObject<{
|
|
|
590
629
|
platform_proxy: "platform_proxy";
|
|
591
630
|
admin_http: "admin_http";
|
|
592
631
|
admin_cli: "admin_cli";
|
|
632
|
+
agent: "agent";
|
|
593
633
|
}>;
|
|
594
634
|
outcome: z.ZodEnum<{
|
|
595
635
|
error: "error";
|
|
@@ -18,7 +18,8 @@ import { z } from "zod";
|
|
|
18
18
|
const AccessLogSource = z.enum([
|
|
19
19
|
"platform_proxy",
|
|
20
20
|
"admin_http",
|
|
21
|
-
"admin_cli"
|
|
21
|
+
"admin_cli",
|
|
22
|
+
"agent"
|
|
22
23
|
]);
|
|
23
24
|
/** Outcome of the attempted action. */
|
|
24
25
|
const AccessLogOutcome = z.enum([
|
|
@@ -40,6 +41,7 @@ const AccessLogTargetType = z.enum([
|
|
|
40
41
|
"backend",
|
|
41
42
|
"diagnostics",
|
|
42
43
|
"scaler",
|
|
44
|
+
"fleet",
|
|
43
45
|
"held_run",
|
|
44
46
|
"access_log",
|
|
45
47
|
"event_dlq",
|
|
@@ -90,6 +92,7 @@ const AccessLogAction = z.enum([
|
|
|
90
92
|
"environment.history.read",
|
|
91
93
|
"held_run.list.read",
|
|
92
94
|
"held_run.approve",
|
|
95
|
+
"held_run.auto_approve",
|
|
93
96
|
"held_run.reject",
|
|
94
97
|
"held_run.request",
|
|
95
98
|
"held_run.expire",
|
|
@@ -99,6 +102,11 @@ const AccessLogAction = z.enum([
|
|
|
99
102
|
"diagnostics.read",
|
|
100
103
|
"scaler.capacity.read",
|
|
101
104
|
"scaler.agents.read",
|
|
105
|
+
"fleet.read",
|
|
106
|
+
"fleet.host.declare",
|
|
107
|
+
"fleet.host.remove",
|
|
108
|
+
"fleet.init_runner.bringup",
|
|
109
|
+
"fleet.pre_boot.send",
|
|
102
110
|
"backend.list.read",
|
|
103
111
|
"backend.get.read",
|
|
104
112
|
"backend.sync",
|
|
@@ -34,6 +34,8 @@ export declare const authRequestSchema: z.ZodObject<{
|
|
|
34
34
|
"backends.sync": "backends.sync";
|
|
35
35
|
"backends.sync_one": "backends.sync_one";
|
|
36
36
|
"backends.test": "backends.test";
|
|
37
|
+
"fleet.host.declare": "fleet.host.declare";
|
|
38
|
+
"fleet.host.remove": "fleet.host.remove";
|
|
37
39
|
}> & z.core.$partial, z.ZodBoolean>>;
|
|
38
40
|
}, z.core.$loose>>;
|
|
39
41
|
}, z.core.$strip>;
|
|
@@ -53,6 +53,8 @@ export declare const orchCapabilitiesSchema: z.ZodObject<{
|
|
|
53
53
|
"backends.sync": "backends.sync";
|
|
54
54
|
"backends.sync_one": "backends.sync_one";
|
|
55
55
|
"backends.test": "backends.test";
|
|
56
|
+
"fleet.host.declare": "fleet.host.declare";
|
|
57
|
+
"fleet.host.remove": "fleet.host.remove";
|
|
56
58
|
}> & z.core.$partial, z.ZodBoolean>>;
|
|
57
59
|
}, z.core.$loose>;
|
|
58
60
|
/** Inferred type for orchestrator capabilities. */
|