@outerlayer/cli 0.34.0-next.20261025132734 → 0.34.0-next.20261025180645
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/README.md +6 -0
- package/dist/{agent-setup-HEJM3D3V.js → agent-setup-FNDKCPUP.js} +8 -9
- package/dist/{bridge-NBCXFTT4.js → bridge-YJBB4YA3.js} +2 -3
- package/dist/build-B4OKU4MV.js +16 -0
- package/dist/{build-disk-LEZ6LAM3.js → build-disk-ZL46AEN3.js} +7 -9
- package/dist/build-info.json +1 -1
- package/dist/{builder-I32JOQII.js → builder-XFPWE74N.js} +6 -8
- package/dist/{check-OOUGS65D.js → check-QULEN437.js} +45 -45
- package/dist/{chunk-65AKMFBH.js → chunk-25GRRBTH.js} +1 -1
- package/dist/{chunk-3CKMB2UK.js → chunk-2D6CKNR7.js} +8 -4
- package/dist/{chunk-5THSC6BD.js → chunk-2ILU7UAU.js} +1 -1
- package/dist/{chunk-5QBUX5YZ.js → chunk-3EJBI5JW.js} +3 -3
- package/dist/{chunk-6RKD7YZ6.js → chunk-3N77LUQI.js} +1 -1
- package/dist/{chunk-ES4ULBAL.js → chunk-4UPET3R7.js} +7 -3
- package/dist/{chunk-43I7PXDP.js → chunk-5AFPP3GZ.js} +239 -15
- package/dist/{chunk-HVRQQOMH.js → chunk-63IVRRIO.js} +3 -3
- package/dist/{chunk-FVKH3PMV.js → chunk-6OLVVAOK.js} +5 -5
- package/dist/{chunk-6ZFY2L2T.js → chunk-AJYZNISW.js} +416 -20
- package/dist/{chunk-6NUPXDAA.js → chunk-AVPLEFQR.js} +3 -3
- package/dist/{chunk-EN3YWO7Q.js → chunk-BHSSGVOY.js} +4 -4
- package/dist/{chunk-O6DYCIVW.js → chunk-CAQCDYKF.js} +2 -2
- package/dist/{chunk-7WM7K2DY.js → chunk-DNZYXEMY.js} +35 -21
- package/dist/{chunk-QMWUPRYQ.js → chunk-EGVHFHY4.js} +4 -4
- package/dist/{chunk-ACRRO3MB.js → chunk-FD5ASWTG.js} +22 -22
- package/dist/{chunk-57L2YAJA.js → chunk-FDJPDZSR.js} +1 -1
- package/dist/{chunk-EE2ZZGQV.js → chunk-FVCHHSHB.js} +3 -3
- package/dist/{chunk-BALIE3BA.js → chunk-G4W4B33M.js} +191 -8
- package/dist/{chunk-ZW6L275N.js → chunk-HHFZXOBC.js} +12 -14
- package/dist/{chunk-AMEM2ZLL.js → chunk-INOUUSYI.js} +29 -9
- package/dist/{chunk-XFFUXXI4.js → chunk-JBCOUY4M.js} +3 -3
- package/dist/{chunk-YEVPRO7L.js → chunk-JQSZTQSK.js} +81 -52
- package/dist/{chunk-TDAQHYM4.js → chunk-K2UAQWYO.js} +3 -3
- package/dist/{chunk-ZYKFYNES.js → chunk-KM2HLQE3.js} +2 -2
- package/dist/{chunk-DXJTBU7A.js → chunk-LUHIN4UZ.js} +3 -3
- package/dist/{chunk-SOI6K5DY.js → chunk-MOI2KDLH.js} +1 -1
- package/dist/{chunk-QDVGOMSC.js → chunk-NW26E4YU.js} +3 -3
- package/dist/{chunk-YIBFGAYI.js → chunk-O4Z2MNNL.js} +6 -6
- package/dist/{chunk-L26V6ILJ.js → chunk-OGPEHSNW.js} +1 -1
- package/dist/{chunk-2JB4GD34.js → chunk-OQLF3MQQ.js} +3 -4
- package/dist/{chunk-Z5IW4DHH.js → chunk-OS7DJOQJ.js} +1 -1
- package/dist/{chunk-DA3PLB5N.js → chunk-PAK5P2ND.js} +1 -1
- package/dist/{chunk-3IH6K7KG.js → chunk-PFHTT4PP.js} +5 -5
- package/dist/{chunk-PA6CK6WQ.js → chunk-PXGU3GKY.js} +1 -1
- package/dist/{chunk-YGSY2NWU.js → chunk-QANM5COC.js} +6 -6
- package/dist/{chunk-K5Q6T7SE.js → chunk-QQP3S5FU.js} +3 -3
- package/dist/{chunk-62LXQM7U.js → chunk-RFVIQLNB.js} +5 -5
- package/dist/{chunk-E4ASIOVL.js → chunk-RHV5SRI2.js} +3 -3
- package/dist/{chunk-6LBSAW6I.js → chunk-SI6WDF3U.js} +1 -1
- package/dist/chunk-SUOZYOWO.js +51 -0
- package/dist/{chunk-MZBQTVFG.js → chunk-SYVRBBLW.js} +1 -1
- package/dist/{chunk-5HZGLLNW.js → chunk-TBKV4L2W.js} +5 -5
- package/dist/{chunk-GH246BGV.js → chunk-TFPNPS4Q.js} +1 -1
- package/dist/{chunk-NBZ7XBT6.js → chunk-UMYYYF7B.js} +1 -1
- package/dist/{chunk-Z4KWHSO4.js → chunk-UN3SQTVL.js} +7 -7
- package/dist/{chunk-ZVLSYWDF.js → chunk-UO4FQAOX.js} +16 -12
- package/dist/{chunk-4Y54SQXH.js → chunk-VJ34F55N.js} +105 -44
- package/dist/{chunk-272AKVRP.js → chunk-YHKU2NOZ.js} +1 -1
- package/dist/{chunk-F5UL23I2.js → chunk-YNMVVQOQ.js} +1 -1
- package/dist/{claude-launcher-MORG66PJ.js → claude-launcher-OQZNW7XJ.js} +1 -1
- package/dist/{cli-XI7RUSC5.js → cli-G3P2B2XE.js} +124 -118
- package/dist/{command-BJSHY6OB.js → command-4XOXVWFW.js} +169 -48
- package/dist/config-QASNKYM6.js +16 -0
- package/dist/{connect-cmd-YAUOCX4X.js → connect-cmd-MEDWMW3L.js} +8 -9
- package/dist/{container-start-QADK3YGL.js → container-start-2DHCWV73.js} +34 -36
- package/dist/{context-show-cmd-VHY3OBIA.js → context-show-cmd-VSFCG663.js} +9 -10
- package/dist/{control-plane-launch-QSBWTA2V.js → control-plane-launch-XBGHM7DB.js} +5 -6
- package/dist/{dist-ZAHCXYSG.js → dist-QGN5R4Y2.js} +1 -1
- package/dist/{docker-DJ73SZRC.js → docker-TAC6G4VU.js} +6 -8
- package/dist/{doctor-UR76MCGI.js → doctor-LK6E3XOW.js} +68 -43
- package/dist/{emit-artifact-cmd-DP2EQ54N.js → emit-artifact-cmd-L4REOPWX.js} +13 -14
- package/dist/{emit-cmd-7NMNKDK7.js → emit-cmd-7TU3JBJ2.js} +2 -2
- package/dist/{emit-criteria-cmd-TTFBN6RK.js → emit-criteria-cmd-QVFOQARC.js} +10 -11
- package/dist/{emit-demo-cmd-Z7YGLEBJ.js → emit-demo-cmd-L4B6OOTV.js} +15 -16
- package/dist/{emit-finding-cmd-IQRD3J2X.js → emit-finding-cmd-YXFCIWMU.js} +10 -11
- package/dist/{emit-result-cmd-GIWB6UHH.js → emit-result-cmd-NI4LCTUM.js} +12 -13
- package/dist/{emit-step-cmd-PU5TTU6C.js → emit-step-cmd-HWAUCZZB.js} +10 -11
- package/dist/{exec-client-7PT4W7JR.js → exec-client-QB4OZRGM.js} +3 -4
- package/dist/find-unit-4UR647S4.js +18 -0
- package/dist/{findings-cmd-7J5SHCUO.js → findings-cmd-O2IBO25E.js} +10 -11
- package/dist/{fleet-readiness-G63D76EX.js → fleet-readiness-NJYTQYTA.js} +5 -6
- package/dist/{governing-source-DLESDP6T.js → governing-source-JCI7VDQ6.js} +12 -13
- package/dist/{guest-init-J3F3AEEY.js → guest-init-IF5LXGUL.js} +4 -5
- package/dist/{hook-fast-VQXRDS6E.js → hook-fast-GPUL7T77.js} +1 -1
- package/dist/host-key-5RU322O3.js +9 -0
- package/dist/{image-tag-ADSLWXBA.js → image-tag-SEMBVB5D.js} +3 -4
- package/dist/index.js +4 -4
- package/dist/{init-KSXU4PA7.js → init-2CEULE3F.js} +25 -27
- package/dist/{init-67R7LO4C.js → init-FAIF7KOK.js} +25 -27
- package/dist/{init-cmd-MNOVMADM.js → init-cmd-HZUUMO45.js} +13 -14
- package/dist/{init-update-6KEXRCJH.js → init-update-TTMFFNMB.js} +12 -13
- package/dist/{install-cmd-FV7IZ7XF.js → install-cmd-TWGRGEVL.js} +5 -6
- package/dist/{logs-HI46FO6Z.js → logs-6CMB3DO6.js} +2 -3
- package/dist/{loop-KUEOPBKX.js → loop-7U7MVICV.js} +41 -43
- package/dist/{machine-EQEAPT76.js → machine-S3JHOX4V.js} +25 -27
- package/dist/{mcp-serve-cmd-7ABBV2QE.js → mcp-serve-cmd-MWGIN6YL.js} +4 -5
- package/dist/{paths-7HVTDE6J.js → paths-T2DEBI62.js} +2 -3
- package/dist/pending-ERXWVLLG.js +9 -0
- package/dist/{pidfile-5UDLYPMC.js → pidfile-EAD2OEM7.js} +3 -4
- package/dist/{record-PPZEXAVA.js → record-IMXQNHPB.js} +3 -4
- package/dist/runner-env-BJPUHAKZ.js +18 -0
- package/dist/runner-identity-ZCPPC2BJ.js +13 -0
- package/dist/{runner-key-ML7R33HF.js → runner-key-CYSUYKSX.js} +25 -27
- package/dist/{session-sender-A43GZQ7T.js → session-sender-5T7BXPKC.js} +13 -14
- package/dist/{spec-cmd-VVUJZSG2.js → spec-cmd-4ABYAFNZ.js} +11 -12
- package/dist/{status-4G6K7I2C.js → status-2AP7J2L7.js} +32 -34
- package/dist/{sync-cmd-ZEC65ABJ.js → sync-cmd-34CGNA6T.js} +12 -13
- package/dist/{update-steps-XLO7734I.js → update-steps-JQOCCDWO.js} +33 -35
- package/dist/{watch-QB4AMWR3.js → watch-6HU7LCUY.js} +12 -13
- package/dist/{work-claim-cmd-6W3GBHRS.js → work-claim-cmd-5QKLHSCR.js} +17 -19
- package/dist/{work-cmd-LTZXOPPN.js → work-cmd-3MKUIE2C.js} +10 -11
- package/dist/{work-comment-cmd-LDZBUO6M.js → work-comment-cmd-ESC3DSHI.js} +11 -12
- package/dist/{work-demo-cmd-77LISWQ3.js → work-demo-cmd-7S23DGYO.js} +10 -11
- package/dist/{work-logs-cmd-FK7HE7PC.js → work-logs-cmd-46UPNN7Q.js} +10 -11
- package/dist/{work-open-pr-cmd-WVONEHZL.js → work-open-pr-cmd-JNGTGLIP.js} +11 -12
- package/dist/{work-pr-cmd-6IPXWJEH.js → work-pr-cmd-2J2LKETD.js} +10 -11
- package/dist/{work-proofs-cmd-TGIAP5IO.js → work-proofs-cmd-HRWTHYSS.js} +11 -12
- package/dist/{work-proofs-record-XPAU7N57.js → work-proofs-record-6OKAT3IC.js} +18 -19
- package/dist/{work-stop-cmd-UJ45EV3A.js → work-stop-cmd-Y22XIVQ6.js} +10 -11
- package/package.json +1 -1
- package/dist/build-LSU25G3M.js +0 -14
- package/dist/chunk-3Z3MPR55.js +0 -226
- package/dist/chunk-HACGUL52.js +0 -183
- package/dist/config-WRHQDGVI.js +0 -18
- package/dist/host-key-UERIQRE6.js +0 -10
- package/dist/inspect-DNLXTXLA.js +0 -6
- package/dist/install-OCBERTPQ.js +0 -19
- package/dist/pending-5HZACM2V.js +0 -10
- package/dist/runner-env-L7OPH3O3.js +0 -20
- package/dist/runner-identity-VASV2AEQ.js +0 -15
- package/dist/{chunk-2AIOOU3A.js → chunk-KPHRRCUY.js} +1 -1
package/dist/chunk-HACGUL52.js
DELETED
|
@@ -1,183 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import { createRequire } from 'node:module';
|
|
3
|
-
import { spawn, spawnSync } from 'child_process';
|
|
4
|
-
import { statSync, readFileSync } from 'fs';
|
|
5
|
-
import { join } from 'path';
|
|
6
|
-
|
|
7
|
-
createRequire(import.meta.url);
|
|
8
|
-
var FD_STORE_ENV = "OUTERLAYER_FD_STORE";
|
|
9
|
-
var MIN_SYSTEMD = 254;
|
|
10
|
-
var LISTEN_FDS_START = 3;
|
|
11
|
-
var FD_SLOTS_PER_BUILD = 64;
|
|
12
|
-
function fdName(buildId, socket) {
|
|
13
|
-
return `ol-${buildId}-${socket}`;
|
|
14
|
-
}
|
|
15
|
-
function listenFdOf(server) {
|
|
16
|
-
const handle = server._handle;
|
|
17
|
-
return typeof handle?.fd === "number" && handle.fd >= 0 ? handle.fd : void 0;
|
|
18
|
-
}
|
|
19
|
-
function parseListenFds(env, pid) {
|
|
20
|
-
const found = /* @__PURE__ */ new Map();
|
|
21
|
-
if (env.LISTEN_PID !== String(pid)) return found;
|
|
22
|
-
const count = Number(env.LISTEN_FDS);
|
|
23
|
-
if (!Number.isInteger(count) || count <= 0) return found;
|
|
24
|
-
const names = (env.LISTEN_FDNAMES ?? "").split(":");
|
|
25
|
-
for (let index = 0; index < count; index++) {
|
|
26
|
-
const name = names[index];
|
|
27
|
-
if (name !== void 0 && name !== "" && name !== "stored") found.set(name, LISTEN_FDS_START + index);
|
|
28
|
-
}
|
|
29
|
-
return found;
|
|
30
|
-
}
|
|
31
|
-
function listenOnFd(server, fd) {
|
|
32
|
-
return new Promise((resolve, reject) => {
|
|
33
|
-
server.once("error", reject);
|
|
34
|
-
server.listen({ fd }, () => {
|
|
35
|
-
server.off("error", reject);
|
|
36
|
-
resolve();
|
|
37
|
-
});
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
|
-
function run(spawnFn, command, args, fd) {
|
|
41
|
-
return new Promise((resolve) => {
|
|
42
|
-
let stdout = "";
|
|
43
|
-
let stderr = "";
|
|
44
|
-
let child;
|
|
45
|
-
try {
|
|
46
|
-
child = spawnFn(command, args, { stdio: ["ignore", "pipe", "pipe", ...fd === void 0 ? [] : [fd]] });
|
|
47
|
-
} catch (err) {
|
|
48
|
-
resolve({ status: null, stdout, stderr: err instanceof Error ? err.message : String(err) });
|
|
49
|
-
return;
|
|
50
|
-
}
|
|
51
|
-
child.stdout?.on("data", (chunk) => stdout += chunk.toString("utf8"));
|
|
52
|
-
child.stderr?.on("data", (chunk) => stderr += chunk.toString("utf8"));
|
|
53
|
-
child.on("error", (err) => resolve({ status: null, stdout, stderr: err.message }));
|
|
54
|
-
child.on("close", (status) => resolve({ status, stdout, stderr }));
|
|
55
|
-
});
|
|
56
|
-
}
|
|
57
|
-
function systemdVersion(ran) {
|
|
58
|
-
const match = /^systemd (\d+)/.exec(ran.stdout);
|
|
59
|
-
return ran.status === 0 && match !== null ? Number(match[1]) : void 0;
|
|
60
|
-
}
|
|
61
|
-
function realFdStorePort(options = {}) {
|
|
62
|
-
const env = options.env ?? process.env;
|
|
63
|
-
const pid = options.pid ?? process.pid;
|
|
64
|
-
const command = options.command ?? "systemd-notify";
|
|
65
|
-
const spawnFn = options.spawn ?? spawn;
|
|
66
|
-
let inherited;
|
|
67
|
-
let held;
|
|
68
|
-
let version;
|
|
69
|
-
const inheritedNames = () => inherited ??= parseListenFds(env, pid);
|
|
70
|
-
const heldNames = () => held ??= new Set(inheritedNames().keys());
|
|
71
|
-
return {
|
|
72
|
-
async status() {
|
|
73
|
-
if (env.NOTIFY_SOCKET === void 0 || env.NOTIFY_SOCKET === "") return { ok: false, reason: "NOTIFY_SOCKET is not set, so this runner was not started by a service that accepts descriptors" };
|
|
74
|
-
const size = Number(env[FD_STORE_ENV]);
|
|
75
|
-
if (!Number.isInteger(size) || size <= 0) return { ok: false, reason: `${FD_STORE_ENV} is not set, so the service's unit keeps no descriptor store` };
|
|
76
|
-
version ??= run(spawnFn, command, ["--version"]).then(systemdVersion);
|
|
77
|
-
const found = await version;
|
|
78
|
-
if (found === void 0) return { ok: false, reason: `${command} could not be run, so no descriptor can be stored` };
|
|
79
|
-
if (found < MIN_SYSTEMD) return { ok: false, reason: `systemd ${found} cannot store a descriptor sent from a child process: it needs systemd ${MIN_SYSTEMD} or later` };
|
|
80
|
-
return { ok: true };
|
|
81
|
-
},
|
|
82
|
-
async push(name, server) {
|
|
83
|
-
const fd = listenFdOf(server);
|
|
84
|
-
if (fd === void 0) throw new Error(`${name} has no descriptor to store`);
|
|
85
|
-
const size = Number(env[FD_STORE_ENV]);
|
|
86
|
-
const names = heldNames();
|
|
87
|
-
if (Number.isInteger(size) && names.size >= size) {
|
|
88
|
-
throw new Error(`the descriptor store is full: it holds ${names.size} descriptors, the size the service's unit sets (FileDescriptorStoreMax=${size})`);
|
|
89
|
-
}
|
|
90
|
-
const ran = await run(spawnFn, command, [`--fd=${LISTEN_FDS_START}`, `--fdname=${name}`, "FDSTORE=1"], fd);
|
|
91
|
-
if (ran.status !== 0) throw new Error(`storing ${name} failed${ran.status === null ? "" : ` (exit ${ran.status})`}: ${ran.stderr.trim().split("\n")[0] ?? ""}`);
|
|
92
|
-
names.add(name);
|
|
93
|
-
},
|
|
94
|
-
async remove(name) {
|
|
95
|
-
const ran = await run(spawnFn, command, ["FDSTOREREMOVE=1", `FDNAME=${name}`]);
|
|
96
|
-
if (ran.status !== 0) throw new Error(`removing ${name} from the store failed${ran.status === null ? "" : ` (exit ${ran.status})`}: ${ran.stderr.trim().split("\n")[0] ?? ""}`);
|
|
97
|
-
heldNames().delete(name);
|
|
98
|
-
},
|
|
99
|
-
inherited() {
|
|
100
|
-
return inheritedNames();
|
|
101
|
-
},
|
|
102
|
-
listenOn: listenOnFd
|
|
103
|
-
};
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
// src/runner/service/inspect.ts
|
|
107
|
-
var CREDENTIAL_VARIABLES = ["CLAUDE_CODE_OAUTH_TOKEN", "ANTHROPIC_API_KEY"];
|
|
108
|
-
function property(shown, name) {
|
|
109
|
-
return new RegExp(`^${name}=(.*)$`, "m").exec(shown)?.[1]?.trim();
|
|
110
|
-
}
|
|
111
|
-
function holdsGroup(status, gid) {
|
|
112
|
-
const primary = /^Gid:\s+(\d+)/m.exec(status)?.[1];
|
|
113
|
-
const supplementary = /^Groups:[ \t]*(.*)$/m.exec(status)?.[1]?.trim().split(/\s+/).filter((g) => g !== "") ?? [];
|
|
114
|
-
return [primary, ...supplementary].some((g) => g !== void 0 && Number(g) === gid);
|
|
115
|
-
}
|
|
116
|
-
function parseRunnerEnv(text) {
|
|
117
|
-
const env = {};
|
|
118
|
-
for (const line of text.split("\n")) {
|
|
119
|
-
const match = /^\s*(?:export\s+)?([A-Za-z_][A-Za-z0-9_]*)=(.*)$/.exec(line);
|
|
120
|
-
if (match === null) continue;
|
|
121
|
-
env[match[1]] = match[2].trim().replace(/^(["'])(.*)\1$/, "$2");
|
|
122
|
-
}
|
|
123
|
-
return env;
|
|
124
|
-
}
|
|
125
|
-
function credentialNames(env) {
|
|
126
|
-
const set = parseRunnerEnv(env ?? "");
|
|
127
|
-
return CREDENTIAL_VARIABLES.filter((name) => (set[name] ?? "").trim() !== "");
|
|
128
|
-
}
|
|
129
|
-
function startedWithStore(environ) {
|
|
130
|
-
const vars = new Map(environ.split("\0").map((entry) => [entry.slice(0, entry.indexOf("=")), entry.slice(entry.indexOf("=") + 1)]));
|
|
131
|
-
return (vars.get("NOTIFY_SOCKET") ?? "") !== "" && Number(vars.get(FD_STORE_ENV)) > 0;
|
|
132
|
-
}
|
|
133
|
-
function inspectService(unit, configDir, probes) {
|
|
134
|
-
const shown = probes.show(unit);
|
|
135
|
-
if (shown === void 0 || property(shown, "LoadState") !== "loaded") return void 0;
|
|
136
|
-
const pid = Number(property(shown, "MainPID") ?? "0");
|
|
137
|
-
const mainPid = Number.isInteger(pid) && pid > 0 ? pid : void 0;
|
|
138
|
-
const delegate = property(shown, "Delegate");
|
|
139
|
-
const storeMax = Number(property(shown, "FileDescriptorStoreMax"));
|
|
140
|
-
const status = mainPid === void 0 ? void 0 : probes.readFile(`/proc/${mainPid}/status`);
|
|
141
|
-
const environ = mainPid === void 0 ? void 0 : probes.readFile(`/proc/${mainPid}/environ`);
|
|
142
|
-
const systemd = Number(/^systemd (\d+)/.exec(probes.systemctlVersion?.() ?? "")?.[1]);
|
|
143
|
-
const kvm = probes.kvmGid();
|
|
144
|
-
return {
|
|
145
|
-
unit,
|
|
146
|
-
mainPid,
|
|
147
|
-
delegate: delegate === void 0 ? void 0 : delegate !== "no",
|
|
148
|
-
...Number.isInteger(storeMax) && property(shown, "FileDescriptorStoreMax") !== void 0 ? { fdStoreMax: storeMax } : {},
|
|
149
|
-
hasKvmGroup: status === void 0 || kvm === void 0 ? void 0 : holdsGroup(status, kvm),
|
|
150
|
-
...environ === void 0 ? {} : { startedWithStore: startedWithStore(environ) },
|
|
151
|
-
...systemd > 0 ? { systemdVersion: systemd } : {},
|
|
152
|
-
// `claude.env` first, where the service loads the credential from; `runner.env` holds one that was never moved.
|
|
153
|
-
credentialVariables: [.../* @__PURE__ */ new Set([...credentialNames(probes.readFile(join(configDir, "claude.env"))), ...credentialNames(probes.readFile(join(configDir, "runner.env")))])]
|
|
154
|
-
};
|
|
155
|
-
}
|
|
156
|
-
function realInspectProbes() {
|
|
157
|
-
return {
|
|
158
|
-
show: (unit) => {
|
|
159
|
-
const result = spawnSync("systemctl", ["show", "--property=LoadState,MainPID,Delegate,FileDescriptorStoreMax", unit], { encoding: "utf8", timeout: 1e4 });
|
|
160
|
-
return result.status === 0 ? result.stdout : void 0;
|
|
161
|
-
},
|
|
162
|
-
readFile: (path) => {
|
|
163
|
-
try {
|
|
164
|
-
return readFileSync(path, "utf8");
|
|
165
|
-
} catch {
|
|
166
|
-
return void 0;
|
|
167
|
-
}
|
|
168
|
-
},
|
|
169
|
-
systemctlVersion: () => {
|
|
170
|
-
const result = spawnSync("systemctl", ["--version"], { encoding: "utf8", timeout: 1e4 });
|
|
171
|
-
return result.status === 0 ? result.stdout : void 0;
|
|
172
|
-
},
|
|
173
|
-
kvmGid: () => {
|
|
174
|
-
try {
|
|
175
|
-
return statSync("/dev/kvm").gid;
|
|
176
|
-
} catch {
|
|
177
|
-
return void 0;
|
|
178
|
-
}
|
|
179
|
-
}
|
|
180
|
-
};
|
|
181
|
-
}
|
|
182
|
-
|
|
183
|
-
export { FD_SLOTS_PER_BUILD, FD_STORE_ENV, MIN_SYSTEMD, fdName, inspectService, parseRunnerEnv, realFdStorePort, realInspectProbes };
|
package/dist/config-WRHQDGVI.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import { createRequire } from 'node:module';
|
|
3
|
-
export { DEFAULT_CHECK_TIME_LIMIT_MINUTES, DEFAULT_UPDATE_MAX_WAIT_HOURS, RunnerConfigError, builtinKind, checkHooks, defaultRunnerConfigPath, hasRunnerBlock, imageBuildOf, isBuiltinContainer, isBuiltinProcess, isBuiltinVm, loadRunnerConfig, resolveBuild, resolveHousekeeping, runnerCredentialProblem, runnerVmOf } from './chunk-3CKMB2UK.js';
|
|
4
|
-
import './chunk-ZYKFYNES.js';
|
|
5
|
-
import './chunk-43I7PXDP.js';
|
|
6
|
-
import './chunk-3Z3MPR55.js';
|
|
7
|
-
import './chunk-ES4ULBAL.js';
|
|
8
|
-
import './chunk-6ZFY2L2T.js';
|
|
9
|
-
import './chunk-SOI6K5DY.js';
|
|
10
|
-
import './chunk-PA6CK6WQ.js';
|
|
11
|
-
import './chunk-BALIE3BA.js';
|
|
12
|
-
import './chunk-EOTMDIYC.js';
|
|
13
|
-
import './chunk-VNVZDWO3.js';
|
|
14
|
-
import './chunk-HACGUL52.js';
|
|
15
|
-
import './chunk-MESOOLF4.js';
|
|
16
|
-
import './chunk-Z5GEFMRW.js';
|
|
17
|
-
|
|
18
|
-
createRequire(import.meta.url);
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import { createRequire } from 'node:module';
|
|
3
|
-
export { ensureHostKey, loadHostKey, signerFor } from './chunk-SOI6K5DY.js';
|
|
4
|
-
import './chunk-PA6CK6WQ.js';
|
|
5
|
-
import './chunk-BALIE3BA.js';
|
|
6
|
-
import './chunk-HACGUL52.js';
|
|
7
|
-
import './chunk-MESOOLF4.js';
|
|
8
|
-
import './chunk-Z5GEFMRW.js';
|
|
9
|
-
|
|
10
|
-
createRequire(import.meta.url);
|
package/dist/inspect-DNLXTXLA.js
DELETED
package/dist/install-OCBERTPQ.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import { createRequire } from 'node:module';
|
|
3
|
-
export { DEFAULT_UNIT_NAME, installService, uninstallService, unitPathFor } from './chunk-AMEM2ZLL.js';
|
|
4
|
-
import './chunk-3CKMB2UK.js';
|
|
5
|
-
import './chunk-ZYKFYNES.js';
|
|
6
|
-
import './chunk-43I7PXDP.js';
|
|
7
|
-
import './chunk-3Z3MPR55.js';
|
|
8
|
-
import './chunk-ES4ULBAL.js';
|
|
9
|
-
import './chunk-6ZFY2L2T.js';
|
|
10
|
-
import './chunk-SOI6K5DY.js';
|
|
11
|
-
import './chunk-PA6CK6WQ.js';
|
|
12
|
-
import './chunk-BALIE3BA.js';
|
|
13
|
-
import './chunk-EOTMDIYC.js';
|
|
14
|
-
import './chunk-VNVZDWO3.js';
|
|
15
|
-
import './chunk-HACGUL52.js';
|
|
16
|
-
import './chunk-MESOOLF4.js';
|
|
17
|
-
import './chunk-Z5GEFMRW.js';
|
|
18
|
-
|
|
19
|
-
createRequire(import.meta.url);
|
package/dist/pending-5HZACM2V.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import { createRequire } from 'node:module';
|
|
3
|
-
export { readPendingUpdate, writePendingUpdate } from './chunk-GH246BGV.js';
|
|
4
|
-
import './chunk-PA6CK6WQ.js';
|
|
5
|
-
import './chunk-BALIE3BA.js';
|
|
6
|
-
import './chunk-HACGUL52.js';
|
|
7
|
-
import './chunk-MESOOLF4.js';
|
|
8
|
-
import './chunk-Z5GEFMRW.js';
|
|
9
|
-
|
|
10
|
-
createRequire(import.meta.url);
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import { createRequire } from 'node:module';
|
|
3
|
-
export { AGENT_COMMANDS, RunnerEnvError, credentialFromStdin, hasStoredCredential, isAgentName, restartForCredential, storeClaudeCredential } from './chunk-2JB4GD34.js';
|
|
4
|
-
import './chunk-AMEM2ZLL.js';
|
|
5
|
-
import './chunk-3CKMB2UK.js';
|
|
6
|
-
import './chunk-ZYKFYNES.js';
|
|
7
|
-
import './chunk-43I7PXDP.js';
|
|
8
|
-
import './chunk-3Z3MPR55.js';
|
|
9
|
-
import './chunk-ES4ULBAL.js';
|
|
10
|
-
import './chunk-6ZFY2L2T.js';
|
|
11
|
-
import './chunk-SOI6K5DY.js';
|
|
12
|
-
import './chunk-PA6CK6WQ.js';
|
|
13
|
-
import './chunk-BALIE3BA.js';
|
|
14
|
-
import './chunk-EOTMDIYC.js';
|
|
15
|
-
import './chunk-VNVZDWO3.js';
|
|
16
|
-
import './chunk-HACGUL52.js';
|
|
17
|
-
import './chunk-MESOOLF4.js';
|
|
18
|
-
import './chunk-Z5GEFMRW.js';
|
|
19
|
-
|
|
20
|
-
createRequire(import.meta.url);
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import { createRequire } from 'node:module';
|
|
3
|
-
export { RUNNER_LABEL, builderNameFor, dockerIdentity, ensureRunnerIdentity, pathLabelValue, readRunnerIdentity } from './chunk-43I7PXDP.js';
|
|
4
|
-
import './chunk-3Z3MPR55.js';
|
|
5
|
-
import './chunk-ES4ULBAL.js';
|
|
6
|
-
import './chunk-6ZFY2L2T.js';
|
|
7
|
-
import './chunk-SOI6K5DY.js';
|
|
8
|
-
import './chunk-PA6CK6WQ.js';
|
|
9
|
-
import './chunk-BALIE3BA.js';
|
|
10
|
-
import './chunk-EOTMDIYC.js';
|
|
11
|
-
import './chunk-HACGUL52.js';
|
|
12
|
-
import './chunk-MESOOLF4.js';
|
|
13
|
-
import './chunk-Z5GEFMRW.js';
|
|
14
|
-
|
|
15
|
-
createRequire(import.meta.url);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { isAgentsMdLayout, discoverOuterlayerPaths, isForeignTree, toRepoRelative } from './chunk-NKOM4JKY.js';
|
|
4
3
|
import { C } from './chunk-ANPNT6PM.js';
|
|
4
|
+
import { isAgentsMdLayout, discoverOuterlayerPaths, isForeignTree, toRepoRelative } from './chunk-NKOM4JKY.js';
|
|
5
5
|
import { retiredSkillPaths, removeRetiredSkills } from './chunk-JWNH4ZTF.js';
|
|
6
6
|
import { maintainedFilesForExistingSkills, loadMaintainedFiles, writeMaintainedFiles } from './chunk-ZQSANKS4.js';
|
|
7
7
|
import { cliInvocation } from './chunk-CRB3POP4.js';
|