@kynver-app/runtime 0.1.93 → 0.1.99
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/bounded-build/admission.d.ts +2 -2
- package/dist/bounded-build/exec.d.ts +6 -2
- package/dist/cli.js +752 -420
- package/dist/cli.js.map +4 -4
- package/dist/doctor/runtime-takeover.probes.d.ts +0 -2
- package/dist/harness-verify.d.ts +3 -2
- package/dist/heavy-verification/gate.d.ts +10 -0
- package/dist/heavy-verification/index.d.ts +3 -0
- package/dist/heavy-verification/paths.d.ts +3 -0
- package/dist/heavy-verification/slot.d.ts +49 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1005 -629
- package/dist/index.js.map +4 -4
- package/dist/installed-package-versions.d.ts +2 -0
- package/dist/resource-gate.d.ts +7 -0
- package/dist/vercel/index.d.ts +2 -1
- package/dist/vercel/vercel-api.d.ts +17 -0
- package/dist/vercel/vercel-evidence.d.ts +15 -15
- package/dist/vercel/vercel-url.d.ts +3 -3
- package/package.json +1 -1
|
@@ -17,8 +17,8 @@ export declare function registerBuildStart(): void;
|
|
|
17
17
|
export declare function registerBuildEnd(): void;
|
|
18
18
|
/**
|
|
19
19
|
* RAM-aware admission: start another worktree build only when MemAvailable ≥
|
|
20
|
-
* per-build budget + reserve.
|
|
21
|
-
* the
|
|
20
|
+
* per-build budget + reserve. Cross-process serialization is enforced separately
|
|
21
|
+
* by the heavy-verification gate before this check runs.
|
|
22
22
|
*/
|
|
23
23
|
export declare function assessBuildAdmission(opts?: Partial<BuildAdmissionConfig> & {
|
|
24
24
|
memAvailableBytes?: number;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type HeavyVerificationGateVerdict } from "../heavy-verification/index.js";
|
|
1
2
|
import { type BuildAdmissionVerdict } from "./admission.js";
|
|
2
3
|
export interface BoundedBuildExecResult {
|
|
3
4
|
ok: boolean;
|
|
@@ -8,6 +9,8 @@ export interface BoundedBuildExecResult {
|
|
|
8
9
|
wrappedWithSystemd: boolean;
|
|
9
10
|
nodeOptionsFlag: string;
|
|
10
11
|
admission: BuildAdmissionVerdict;
|
|
12
|
+
/** Cross-process heavy-verification lease (typecheck/build throttle). */
|
|
13
|
+
verificationGate: HeavyVerificationGateVerdict;
|
|
11
14
|
command: string;
|
|
12
15
|
}
|
|
13
16
|
export interface RunBoundedBuildCheckInput {
|
|
@@ -20,7 +23,8 @@ export interface RunBoundedBuildCheckInput {
|
|
|
20
23
|
timeoutMs?: number;
|
|
21
24
|
}
|
|
22
25
|
/**
|
|
23
|
-
* Run an expensive build/check command with
|
|
24
|
-
* systemd-run memory scope, and
|
|
26
|
+
* Run an expensive build/check command with a cross-process heavy-verification
|
|
27
|
+
* lease, NODE_OPTIONS heap cap, optional systemd-run memory scope, and
|
|
28
|
+
* RAM-aware admission.
|
|
25
29
|
*/
|
|
26
30
|
export declare function runBoundedBuildCheck(input: RunBoundedBuildCheckInput): BoundedBuildExecResult;
|