@kici-dev/engine 0.1.23 → 0.1.25
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.d.ts +4 -1
- package/dist/audit/access-log-policy.js +11 -2
- package/dist/audit/activity.d.ts +4 -2
- package/dist/audit/activity.js +15 -1
- package/dist/audit/retention-policy.js +5 -3
- package/dist/bundler/index.js +1 -1
- package/dist/bundler/rolldown-config.js +1 -1
- package/dist/check-mode.js +1 -1
- package/dist/dev-ops/operations.d.ts +56 -0
- package/dist/dev-ops/operations.js +135 -0
- package/dist/env/environment-allowlist.js +1 -1
- package/dist/environment/host-match.js +1 -1
- package/dist/environment/index.d.ts +2 -0
- package/dist/environment/index.js +4 -2
- package/dist/environment/multi-env.d.ts +30 -0
- package/dist/environment/multi-env.js +38 -0
- package/dist/environment/scope-resolver.js +1 -1
- package/dist/environment/scope-template.js +1 -1
- package/dist/environment/types.d.ts +8 -2
- package/dist/environment/types.js +19 -2
- package/dist/fanout/materialize.js +3 -3
- package/dist/index.d.ts +10 -1
- package/dist/index.js +25 -13
- package/dist/inputs/build.js +1 -1
- package/dist/inputs/coerce.js +1 -1
- package/dist/inputs/descriptor.js +1 -1
- package/dist/inputs/extract.js +1 -1
- package/dist/inputs/index.d.ts +1 -0
- package/dist/inputs/index.js +3 -2
- package/dist/inputs/schedule.d.ts +19 -0
- package/dist/inputs/schedule.js +33 -0
- package/dist/inventory.js +1 -1
- package/dist/labels/compile.js +1 -1
- package/dist/labels-match.js +1 -1
- package/dist/labels.js +2 -2
- package/dist/matrix/expand.js +1 -1
- package/dist/matrix/format.js +1 -1
- package/dist/mcp/fence.d.ts +22 -0
- package/dist/mcp/fence.js +65 -0
- package/dist/mcp/held-run-resolve.d.ts +52 -0
- package/dist/mcp/held-run-resolve.js +53 -0
- package/dist/mcp/tool-schemas.d.ts +74 -0
- package/dist/mcp/tool-schemas.js +78 -0
- package/dist/metrics/catalog-policy.js +1 -1
- package/dist/metrics/metric-catalog.generated.d.ts +105 -0
- package/dist/metrics/metric-catalog.generated.js +127 -1
- package/dist/protocol/analytics-events.js +1 -1
- package/dist/protocol/cluster-name.js +1 -1
- package/dist/protocol/dashboard-global-workflows.js +1 -1
- package/dist/protocol/dashboard-write-operations.d.ts +5 -1
- package/dist/protocol/dashboard-write-operations.js +13 -2
- package/dist/protocol/event-log-payload.js +1 -1
- package/dist/protocol/messages/access-log.d.ts +43 -20
- package/dist/protocol/messages/access-log.js +16 -2
- package/dist/protocol/messages/actor.d.ts +21 -0
- package/dist/protocol/messages/actor.js +42 -8
- package/dist/protocol/messages/agent-dev-ops.d.ts +118 -0
- package/dist/protocol/messages/agent-dev-ops.js +89 -0
- package/dist/protocol/messages/agent-run-result.d.ts +425 -0
- package/dist/protocol/messages/agent-run-result.js +165 -0
- package/dist/protocol/messages/auth.d.ts +3 -0
- package/dist/protocol/messages/auth.js +11 -2
- package/dist/protocol/messages/browser.js +1 -1
- package/dist/protocol/messages/capabilities.d.ts +3 -0
- package/dist/protocol/messages/capabilities.js +16 -3
- package/dist/protocol/messages/common.js +1 -1
- package/dist/protocol/messages/dashboard-global-workflows.d.ts +14 -0
- package/dist/protocol/messages/dashboard-global-workflows.js +1 -1
- package/dist/protocol/messages/dashboard.d.ts +1998 -48
- package/dist/protocol/messages/dashboard.js +269 -15
- package/dist/protocol/messages/deployment-identity.js +1 -1
- package/dist/protocol/messages/event-log.js +1 -1
- package/dist/protocol/messages/execution-status.d.ts +67 -4
- package/dist/protocol/messages/execution-status.js +133 -57
- package/dist/protocol/messages/join.js +1 -1
- package/dist/protocol/messages/log-pull.js +1 -1
- package/dist/protocol/messages/oidc-mint.d.ts +51 -0
- package/dist/protocol/messages/oidc-mint.js +55 -0
- package/dist/protocol/messages/oidc-token-relay.d.ts +31 -4
- package/dist/protocol/messages/oidc-token-relay.js +22 -7
- package/dist/protocol/messages/orchestrator-agent.d.ts +66 -5
- package/dist/protocol/messages/orchestrator-agent.js +35 -3
- package/dist/protocol/messages/pat-kind.d.ts +16 -0
- package/dist/protocol/messages/pat-kind.js +17 -0
- package/dist/protocol/messages/peer.d.ts +7 -7
- package/dist/protocol/messages/peer.js +1 -1
- package/dist/protocol/messages/platform-orchestrator.d.ts +685 -17
- package/dist/protocol/messages/platform-orchestrator.js +8 -5
- package/dist/protocol/messages/run-events.d.ts +8 -1
- package/dist/protocol/messages/run-events.js +1 -1
- package/dist/protocol/messages/scaler-event.js +1 -1
- package/dist/protocol/messages/source-registration.js +1 -1
- package/dist/protocol/source-origin.d.ts +20 -0
- package/dist/protocol/source-origin.js +21 -0
- package/dist/protocol/version.js +1 -1
- package/dist/provenance/attestation-origin.d.ts +18 -0
- package/dist/provenance/attestation-origin.js +22 -0
- package/dist/provenance/bundle.js +1 -1
- package/dist/provenance/dsse.js +1 -1
- package/dist/provenance/schema.d.ts +48 -0
- package/dist/provenance/schema.js +21 -7
- package/dist/provenance/statement-hash.d.ts +9 -0
- package/dist/provenance/statement-hash.js +17 -0
- package/dist/provenance/verify.d.ts +7 -0
- package/dist/provenance/verify.js +49 -10
- package/dist/provider/changed-files-fetcher.js +1 -1
- package/dist/provider/check-run-conclusion.d.ts +1 -1
- package/dist/provider/check-run-conclusion.js +1 -1
- package/dist/provider/check-status-poster.js +1 -1
- package/dist/provider/clone-token-provider.js +1 -1
- package/dist/provider/contributor-resolver.js +1 -1
- package/dist/provider/index.js +1 -1
- package/dist/provider/lock-file-fetcher.js +1 -1
- package/dist/provider/lock-file-parse-error.js +1 -1
- package/dist/provider/repo-url-builder.js +1 -1
- package/dist/provider/types.js +1 -1
- package/dist/provider/webhook-normalizer.js +1 -1
- package/dist/registration/registerable-trigger-type.d.ts +1 -1
- package/dist/registration/registerable-trigger-type.js +1 -1
- package/dist/{chunk-BTugEXQM.js → rolldown-runtime-ClRpJifh.js} +0 -1
- package/dist/scaler/resource-types.js +1 -1
- package/dist/scaler/scaler-backend-type.js +1 -1
- package/dist/secrets/index.d.ts +1 -1
- package/dist/secrets/index.js +1 -1
- package/dist/secrets/types.d.ts +0 -24
- package/dist/secrets/types.js +1 -1
- package/dist/state-machine/index.js +1 -1
- package/dist/state-machine/machine.js +1 -1
- package/dist/state-machine/types.js +1 -1
- package/dist/trigger/decision-trace.js +1 -1
- package/dist/trigger/jsonpath-matcher.js +1 -1
- package/dist/trigger/matcher.js +1 -1
- package/dist/trigger/trigger-event-type.js +1 -1
- package/dist/trigger/types.d.ts +35 -7
- package/dist/trigger/types.js +8 -3
- package/dist/webhook/signature.js +1 -1
- package/dist/webhook/webhook-url-format.d.ts +7 -0
- package/dist/webhook/webhook-url-format.js +11 -2
- package/dist/ws/close-codes.d.ts +8 -2
- package/dist/ws/close-codes.js +10 -4
- package/dist/ws/rate-limiter.js +1 -1
- package/dist/ws/ws-like.js +1 -1
- package/package.json +9 -1
- package/sbom.spdx.json +5 -5
package/dist/secrets/types.d.ts
CHANGED
|
@@ -69,30 +69,6 @@ export interface AddBackendParams {
|
|
|
69
69
|
scopeFilter?: string;
|
|
70
70
|
syncIntervalMs?: number;
|
|
71
71
|
}
|
|
72
|
-
/**
|
|
73
|
-
* Backend lifecycle manager interface.
|
|
74
|
-
* Provides CRUD, health checks, and connection testing for secret backends.
|
|
75
|
-
*/
|
|
76
|
-
export interface BackendManager {
|
|
77
|
-
/** Check backend connectivity. Returns health status. */
|
|
78
|
-
checkHealth(name: string): Promise<BackendHealthStatus>;
|
|
79
|
-
/** Trigger scope discovery sync for a backend (or all if name omitted). */
|
|
80
|
-
syncScopes(name?: string): Promise<void>;
|
|
81
|
-
/** List all registered backends (no credentials). */
|
|
82
|
-
listBackends(): Promise<BackendDescriptor[]>;
|
|
83
|
-
/** Get a single backend by name. */
|
|
84
|
-
getBackend(name: string): Promise<BackendDescriptor | null>;
|
|
85
|
-
/** Register a new backend. Returns the descriptor. */
|
|
86
|
-
addBackend(params: AddBackendParams): Promise<BackendDescriptor>;
|
|
87
|
-
/** Remove a backend by name. Returns true if removed. */
|
|
88
|
-
removeBackend(name: string): Promise<boolean>;
|
|
89
|
-
/** Test connectivity without persisting. */
|
|
90
|
-
testConnection(params: AddBackendParams): Promise<{
|
|
91
|
-
ok: boolean;
|
|
92
|
-
error?: string;
|
|
93
|
-
latencyMs: number;
|
|
94
|
-
}>;
|
|
95
|
-
}
|
|
96
72
|
/**
|
|
97
73
|
* Periodic scope sync manager for secret backends.
|
|
98
74
|
*/
|
package/dist/secrets/types.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import "../
|
|
1
|
+
import "../rolldown-runtime-ClRpJifh.js";
|
|
2
2
|
export {};
|
package/dist/trigger/matcher.js
CHANGED
package/dist/trigger/types.d.ts
CHANGED
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
* Schema version 24: adds LockJob.runsOnPick (deterministic single-host selection).
|
|
20
20
|
* Schema version 25: adds LockStep.retry (step retry policy data subset; retryIf is execution-only).
|
|
21
21
|
* Schema version 26: adds LockJob.includeUninitialized (runsOnAll fans out to declared-but-un-agented hosts, bringing up a temporary init-runner per fresh box).
|
|
22
|
+
* Schema version 27: adds LockScheduleTrigger.inputs (defaults-only schedule dispatch inputs).
|
|
22
23
|
*/
|
|
23
24
|
import { z } from 'zod';
|
|
24
25
|
import type { ProviderType } from '../provider/types.js';
|
|
@@ -27,7 +28,7 @@ import type { InputsDescriptorMap } from '../inputs/descriptor.js';
|
|
|
27
28
|
import { LabelMatcher } from '../labels-match.js';
|
|
28
29
|
import { ExecutionJobStatus } from '../protocol/messages/execution-status.js';
|
|
29
30
|
/** Schema version - increment on breaking changes */
|
|
30
|
-
export declare const SCHEMA_VERSION:
|
|
31
|
+
export declare const SCHEMA_VERSION: 29;
|
|
31
32
|
/**
|
|
32
33
|
* Normalized approval config carried in the lock file. Produced by the compiler
|
|
33
34
|
* from an SDK `approval` at any of the three levels; consumed by the
|
|
@@ -292,6 +293,8 @@ export interface LockScheduleTrigger {
|
|
|
292
293
|
readonly cronExpression: string;
|
|
293
294
|
readonly timezone: string;
|
|
294
295
|
readonly description?: string;
|
|
296
|
+
/** Typed schedule-input descriptors (from `schedule({ inputs })`); defaults-only. */
|
|
297
|
+
readonly inputs?: InputsDescriptorMap;
|
|
295
298
|
}
|
|
296
299
|
/**
|
|
297
300
|
* Lifecycle trigger in lock file.
|
|
@@ -336,6 +339,8 @@ export interface LockRule {
|
|
|
336
339
|
* Minimal representation - agents load full step functions from source.
|
|
337
340
|
*/
|
|
338
341
|
export interface LockStep {
|
|
342
|
+
/** Discriminator for the step union; absent/`'sequential'` is an ordinary step. */
|
|
343
|
+
readonly kind?: 'sequential';
|
|
339
344
|
readonly name: string;
|
|
340
345
|
readonly hasOutputs: boolean;
|
|
341
346
|
/** When true, job proceeds even if this step fails. */
|
|
@@ -358,6 +363,24 @@ export interface LockStep {
|
|
|
358
363
|
/** Normalized approval gate; when set the step pauses for a human approval. */
|
|
359
364
|
readonly approval?: LockApproval;
|
|
360
365
|
}
|
|
366
|
+
/**
|
|
367
|
+
* A concurrent group of sequential steps in the lock file. Children run
|
|
368
|
+
* concurrently behind a join barrier; the group wrapper itself consumes no
|
|
369
|
+
* flat step index (its children carry the indices). No nesting is allowed.
|
|
370
|
+
*/
|
|
371
|
+
export interface LockParallelStep {
|
|
372
|
+
readonly kind: 'parallel';
|
|
373
|
+
readonly name: string;
|
|
374
|
+
/** Cancel in-flight siblings when the first child fails (default true). */
|
|
375
|
+
readonly failFast: boolean;
|
|
376
|
+
/** Maximum children running at once; queued children report `pending`. */
|
|
377
|
+
readonly maxParallel?: number;
|
|
378
|
+
readonly children: readonly LockStep[];
|
|
379
|
+
}
|
|
380
|
+
/** A lock-file entry in a job's `steps` array: an ordinary step or a parallel group. */
|
|
381
|
+
export type LockStepEntry = LockStep | LockParallelStep;
|
|
382
|
+
/** Type guard distinguishing a parallel group from an ordinary lock step. */
|
|
383
|
+
export declare function isLockParallelStep(entry: LockStepEntry): entry is LockParallelStep;
|
|
361
384
|
/**
|
|
362
385
|
* Inline expression value for pure dynamic functions.
|
|
363
386
|
* The compiler serializes pure functions as { _type: 'inline', expression: '(event) => ...' }
|
|
@@ -483,9 +506,9 @@ export type RunsOnAllInput = string | RegExp | readonly (string | RegExp)[] | {
|
|
|
483
506
|
* never return), independent of this policy.
|
|
484
507
|
*/
|
|
485
508
|
export declare const OnUnreachableMode: z.ZodEnum<{
|
|
509
|
+
hold: "hold";
|
|
486
510
|
skip: "skip";
|
|
487
511
|
fail: "fail";
|
|
488
|
-
hold: "hold";
|
|
489
512
|
}>;
|
|
490
513
|
export type OnUnreachableMode = z.infer<typeof OnUnreachableMode>;
|
|
491
514
|
/**
|
|
@@ -538,16 +561,21 @@ export interface LockJob {
|
|
|
538
561
|
readonly needs: readonly (string | NeedsEntry | NeedsGroupEntry)[];
|
|
539
562
|
/** Group names this job depends on (populated by compiler from dynamicGroup refs). */
|
|
540
563
|
readonly dependsOnGroups?: readonly string[];
|
|
541
|
-
readonly steps: readonly
|
|
564
|
+
readonly steps: readonly LockStepEntry[];
|
|
542
565
|
readonly matrix?: LockMatrix;
|
|
543
566
|
readonly include?: readonly Record<string, string>[];
|
|
544
567
|
readonly exclude?: readonly Record<string, string>[];
|
|
545
568
|
readonly rules?: readonly LockRule[];
|
|
546
569
|
readonly description?: string;
|
|
547
|
-
/**
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
570
|
+
/**
|
|
571
|
+
* Deployment environments in merge order. Each entry is a static name or inline
|
|
572
|
+
* expression (pure function); `dynamic` is set when it is a function resolved at
|
|
573
|
+
* two-phase eval. Later entries override earlier ones on name collisions.
|
|
574
|
+
*/
|
|
575
|
+
readonly environments?: ReadonlyArray<{
|
|
576
|
+
value: string | LockInlineValue;
|
|
577
|
+
dynamic: boolean;
|
|
578
|
+
}>;
|
|
551
579
|
/** Static environment variables or inline expression (pure function). */
|
|
552
580
|
readonly env?: Record<string, string> | LockInlineValue;
|
|
553
581
|
/** When true, env is dynamic (function) -- resolved at orchestrator two-phase eval or inline. */
|
package/dist/trigger/types.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../
|
|
1
|
+
import "../rolldown-runtime-ClRpJifh.js";
|
|
2
2
|
import { ExecutionJobStatus, TERMINAL_JOB_STATES } from "../protocol/messages/execution-status.js";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
//#region src/trigger/types.ts
|
|
@@ -23,9 +23,14 @@ import { z } from "zod";
|
|
|
23
23
|
* Schema version 24: adds LockJob.runsOnPick (deterministic single-host selection).
|
|
24
24
|
* Schema version 25: adds LockStep.retry (step retry policy data subset; retryIf is execution-only).
|
|
25
25
|
* Schema version 26: adds LockJob.includeUninitialized (runsOnAll fans out to declared-but-un-agented hosts, bringing up a temporary init-runner per fresh box).
|
|
26
|
+
* Schema version 27: adds LockScheduleTrigger.inputs (defaults-only schedule dispatch inputs).
|
|
26
27
|
*/
|
|
27
28
|
/** Schema version - increment on breaking changes */
|
|
28
|
-
const SCHEMA_VERSION =
|
|
29
|
+
const SCHEMA_VERSION = 29;
|
|
30
|
+
/** Type guard distinguishing a parallel group from an ordinary lock step. */
|
|
31
|
+
function isLockParallelStep(entry) {
|
|
32
|
+
return entry.kind === "parallel";
|
|
33
|
+
}
|
|
29
34
|
/** Type guard for inline expression values */
|
|
30
35
|
function isLockInlineValue(value) {
|
|
31
36
|
return typeof value === "object" && value !== null && value._type === "inline";
|
|
@@ -115,6 +120,6 @@ function isLockDynamicJobFn(job) {
|
|
|
115
120
|
return job._type === "dynamic";
|
|
116
121
|
}
|
|
117
122
|
//#endregion
|
|
118
|
-
export { NeedsEntrySchema, NeedsGroupEntrySchema, NeedsRunOn, NeedsWhen, OnUnreachableMode, RunsOnPick, SCHEMA_VERSION, isLockDynamicJobFn, isLockInlineValue, isLockStaticJob, resolveWhenToRunOn };
|
|
123
|
+
export { NeedsEntrySchema, NeedsGroupEntrySchema, NeedsRunOn, NeedsWhen, OnUnreachableMode, RunsOnPick, SCHEMA_VERSION, isLockDynamicJobFn, isLockInlineValue, isLockParallelStep, isLockStaticJob, resolveWhenToRunOn };
|
|
119
124
|
|
|
120
125
|
//# sourceMappingURL=types.js.map
|
|
@@ -6,4 +6,11 @@
|
|
|
6
6
|
* pre-flight so the two never drift.
|
|
7
7
|
*/
|
|
8
8
|
export declare function githubWebhookPath(orgId: string): string;
|
|
9
|
+
/**
|
|
10
|
+
* Route shape for a direct GitHub-App webhook delivered straight to the
|
|
11
|
+
* orchestrator (bypassing the Platform relay). Per-source: the `:sourceId`
|
|
12
|
+
* segment identifies the local GitHub source. Shared by the orchestrator's
|
|
13
|
+
* ingress route handler and its local URL resolver so the two never drift.
|
|
14
|
+
*/
|
|
15
|
+
export declare function githubIngressPath(orgId: string, sourceId: string): string;
|
|
9
16
|
//# sourceMappingURL=webhook-url-format.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../
|
|
1
|
+
import "../rolldown-runtime-ClRpJifh.js";
|
|
2
2
|
//#region src/webhook/webhook-url-format.ts
|
|
3
3
|
/**
|
|
4
4
|
* Route shape for a GitHub App webhook. Org-scoped, NOT app-scoped — the app
|
|
@@ -10,7 +10,16 @@ import "../chunk-BTugEXQM.js";
|
|
|
10
10
|
function githubWebhookPath(orgId) {
|
|
11
11
|
return `/webhook/${orgId}/github`;
|
|
12
12
|
}
|
|
13
|
+
/**
|
|
14
|
+
* Route shape for a direct GitHub-App webhook delivered straight to the
|
|
15
|
+
* orchestrator (bypassing the Platform relay). Per-source: the `:sourceId`
|
|
16
|
+
* segment identifies the local GitHub source. Shared by the orchestrator's
|
|
17
|
+
* ingress route handler and its local URL resolver so the two never drift.
|
|
18
|
+
*/
|
|
19
|
+
function githubIngressPath(orgId, sourceId) {
|
|
20
|
+
return `/webhook/${orgId}/github/${sourceId}`;
|
|
21
|
+
}
|
|
13
22
|
//#endregion
|
|
14
|
-
export { githubWebhookPath };
|
|
23
|
+
export { githubIngressPath, githubWebhookPath };
|
|
15
24
|
|
|
16
25
|
//# sourceMappingURL=webhook-url-format.js.map
|
package/dist/ws/close-codes.d.ts
CHANGED
|
@@ -29,8 +29,14 @@ export declare const WS_CLOSE_PLAN_LIMIT = 4020;
|
|
|
29
29
|
* via `kici-admin cluster-name set <name>` before reconnecting.
|
|
30
30
|
*/
|
|
31
31
|
export declare const WS_CLOSE_CLUSTER_NAME_CONFLICT = 4011;
|
|
32
|
-
/**
|
|
33
|
-
|
|
32
|
+
/**
|
|
33
|
+
* The connection was closed to rebalance load across Platform instances. A
|
|
34
|
+
* newly-joined Platform instance asks peers holding excess connections to shed
|
|
35
|
+
* some; the affected orchestrators reconnect immediately and redistribute
|
|
36
|
+
* evenly. Not an error — the orchestrator treats it as a transient close and
|
|
37
|
+
* reconnects.
|
|
38
|
+
*/
|
|
39
|
+
export declare const WS_CLOSE_REBALANCE = 4030;
|
|
34
40
|
/**
|
|
35
41
|
* The connection was closed because a job dispatch went unacknowledged past
|
|
36
42
|
* its deadline. The orchestrator treats the dispatch as lost, requeues the
|
package/dist/ws/close-codes.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../
|
|
1
|
+
import "../rolldown-runtime-ClRpJifh.js";
|
|
2
2
|
//#region src/ws/close-codes.ts
|
|
3
3
|
/**
|
|
4
4
|
* Unified WebSocket close codes for KiCI connections.
|
|
@@ -31,8 +31,14 @@ const WS_CLOSE_PLAN_LIMIT = 4020;
|
|
|
31
31
|
* via `kici-admin cluster-name set <name>` before reconnecting.
|
|
32
32
|
*/
|
|
33
33
|
const WS_CLOSE_CLUSTER_NAME_CONFLICT = 4011;
|
|
34
|
-
/**
|
|
35
|
-
|
|
34
|
+
/**
|
|
35
|
+
* The connection was closed to rebalance load across Platform instances. A
|
|
36
|
+
* newly-joined Platform instance asks peers holding excess connections to shed
|
|
37
|
+
* some; the affected orchestrators reconnect immediately and redistribute
|
|
38
|
+
* evenly. Not an error — the orchestrator treats it as a transient close and
|
|
39
|
+
* reconnects.
|
|
40
|
+
*/
|
|
41
|
+
const WS_CLOSE_REBALANCE = 4030;
|
|
36
42
|
/**
|
|
37
43
|
* The connection was closed because a job dispatch went unacknowledged past
|
|
38
44
|
* its deadline. The orchestrator treats the dispatch as lost, requeues the
|
|
@@ -41,6 +47,6 @@ const WS_CLOSE_RUN_NOT_FOUND = 4030;
|
|
|
41
47
|
*/
|
|
42
48
|
const WS_CLOSE_DISPATCH_ACK_TIMEOUT = 4031;
|
|
43
49
|
//#endregion
|
|
44
|
-
export { WS_CLOSE_AGENT_AUTH_FAILED, WS_CLOSE_AUTH_TIMEOUT, WS_CLOSE_CLUSTER_NAME_CONFLICT, WS_CLOSE_DISPATCH_ACK_TIMEOUT, WS_CLOSE_GOING_AWAY, WS_CLOSE_HEARTBEAT_TIMEOUT, WS_CLOSE_INTERNAL_ERROR, WS_CLOSE_INVALID_MESSAGE, WS_CLOSE_PLAN_LIMIT, WS_CLOSE_PROTOCOL_ERROR,
|
|
50
|
+
export { WS_CLOSE_AGENT_AUTH_FAILED, WS_CLOSE_AUTH_TIMEOUT, WS_CLOSE_CLUSTER_NAME_CONFLICT, WS_CLOSE_DISPATCH_ACK_TIMEOUT, WS_CLOSE_GOING_AWAY, WS_CLOSE_HEARTBEAT_TIMEOUT, WS_CLOSE_INTERNAL_ERROR, WS_CLOSE_INVALID_MESSAGE, WS_CLOSE_PLAN_LIMIT, WS_CLOSE_PROTOCOL_ERROR, WS_CLOSE_REBALANCE, WS_CLOSE_UNAUTHORIZED };
|
|
45
51
|
|
|
46
52
|
//# sourceMappingURL=close-codes.js.map
|
package/dist/ws/rate-limiter.js
CHANGED
package/dist/ws/ws-like.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import "../
|
|
1
|
+
import "../rolldown-runtime-ClRpJifh.js";
|
|
2
2
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kici-dev/engine",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.25",
|
|
4
4
|
"description": "Shared business logic for the KiCI CI/CD stack: protocol, triggers, state machine, and provider interfaces used by the Platform relay, orchestrator, and compiler.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ci",
|
|
@@ -81,6 +81,10 @@
|
|
|
81
81
|
"import": "./dist/protocol/messages/oidc-token-relay.js",
|
|
82
82
|
"types": "./dist/protocol/messages/oidc-token-relay.d.ts"
|
|
83
83
|
},
|
|
84
|
+
"./protocol/messages/oidc-mint": {
|
|
85
|
+
"import": "./dist/protocol/messages/oidc-mint.js",
|
|
86
|
+
"types": "./dist/protocol/messages/oidc-mint.d.ts"
|
|
87
|
+
},
|
|
84
88
|
"./provenance/schema": {
|
|
85
89
|
"import": "./dist/provenance/schema.js",
|
|
86
90
|
"types": "./dist/provenance/schema.d.ts"
|
|
@@ -97,6 +101,10 @@
|
|
|
97
101
|
"import": "./dist/provenance/verify.js",
|
|
98
102
|
"types": "./dist/provenance/verify.d.ts"
|
|
99
103
|
},
|
|
104
|
+
"./provenance/statement-hash": {
|
|
105
|
+
"import": "./dist/provenance/statement-hash.js",
|
|
106
|
+
"types": "./dist/provenance/statement-hash.d.ts"
|
|
107
|
+
},
|
|
100
108
|
"./metrics/catalog": {
|
|
101
109
|
"import": "./dist/metrics/metric-catalog.generated.js",
|
|
102
110
|
"types": "./dist/metrics/metric-catalog.generated.d.ts"
|
package/sbom.spdx.json
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"spdxVersion": "SPDX-2.3",
|
|
3
3
|
"dataLicense": "CC0-1.0",
|
|
4
4
|
"SPDXID": "SPDXRef-DOCUMENT",
|
|
5
|
-
"name": "@kici-dev/engine@0.1.
|
|
6
|
-
"documentNamespace": "https://kici.dev/sbom/%40kici-dev%2Fengine/0.1.
|
|
5
|
+
"name": "@kici-dev/engine@0.1.25",
|
|
6
|
+
"documentNamespace": "https://kici.dev/sbom/%40kici-dev%2Fengine/0.1.25/1d119a82-cc7a-45cf-b310-0eab61d7151e",
|
|
7
7
|
"creationInfo": {
|
|
8
|
-
"created": "2026-
|
|
8
|
+
"created": "2026-07-05T08:32:25Z",
|
|
9
9
|
"creators": [
|
|
10
10
|
"Tool: kici-sbom-generator"
|
|
11
11
|
]
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
{
|
|
55
55
|
"SPDXID": "SPDXRef-RootPackage",
|
|
56
56
|
"name": "@kici-dev/engine",
|
|
57
|
-
"versionInfo": "0.1.
|
|
57
|
+
"versionInfo": "0.1.25",
|
|
58
58
|
"downloadLocation": "NOASSERTION",
|
|
59
59
|
"filesAnalyzed": false,
|
|
60
60
|
"licenseConcluded": "NOASSERTION",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
{
|
|
66
66
|
"referenceCategory": "PACKAGE-MANAGER",
|
|
67
67
|
"referenceType": "purl",
|
|
68
|
-
"referenceLocator": "pkg:npm/%40kici-dev/engine@0.1.
|
|
68
|
+
"referenceLocator": "pkg:npm/%40kici-dev/engine@0.1.25"
|
|
69
69
|
}
|
|
70
70
|
],
|
|
71
71
|
"description": "Shared business logic for the KiCI CI/CD stack: protocol, triggers, state machine, and provider interfaces used by the Platform relay, orchestrator, and compiler.",
|