@outerlayer/cli 0.38.0-next.20261106003041 → 0.38.0-next.20261106190200
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 +16 -0
- package/dist/{agent-setup-CBEPGNFY.js → agent-setup-RO2DJUF3.js} +18 -18
- package/dist/{agent-subcommand-UNSXJUHA.js → agent-subcommand-PSI3BAXM.js} +3 -3
- package/dist/{bridge-JI4IO7JN.js → bridge-3WAVT5SX.js} +6 -6
- package/dist/{build-2L3L2OJO.js → build-4KG7H2XK.js} +12 -12
- package/dist/{build-disk-CKBEEF4N.js → build-disk-GGGJ237B.js} +10 -10
- package/dist/build-info.json +1 -1
- package/dist/{builder-PKDA7X2H.js → builder-HV7PUSZZ.js} +9 -9
- package/dist/caller-3P3AEY7W.js +23 -0
- package/dist/{check-FG32SYJF.js → check-LENGOFUF.js} +68 -52
- package/dist/{chunk-DXBYNJRM.js → chunk-27P5FSZT.js} +5 -5
- package/dist/{chunk-T524XQKI.js → chunk-2MA2KWHN.js} +1 -1
- package/dist/{chunk-FGVVBYCT.js → chunk-2VN36ZPA.js} +1 -1
- package/dist/{chunk-ZCEM4GJ5.js → chunk-3E65OLJ4.js} +3 -3
- package/dist/{chunk-EXIZ3G6I.js → chunk-3KVYSJAL.js} +4 -4
- package/dist/{chunk-EHJYXABQ.js → chunk-4PH3KXDP.js} +1 -1
- package/dist/{chunk-WF2NXBOM.js → chunk-5BDYRHZZ.js} +7 -7
- package/dist/{chunk-ZTJTAKVW.js → chunk-5MWE5IOO.js} +1 -1
- package/dist/{chunk-ERQLHUWU.js → chunk-5QBTW367.js} +5 -5
- package/dist/{chunk-4MSEUIMK.js → chunk-6744TXEY.js} +5 -5
- package/dist/{chunk-MDKLSY43.js → chunk-677TCNML.js} +1 -1
- package/dist/{chunk-3FAJMXBA.js → chunk-6BPCEGJL.js} +8 -8
- package/dist/{chunk-S7CE7QCF.js → chunk-6ZSUJ3ES.js} +3 -3
- package/dist/{chunk-TAEDH2SU.js → chunk-76Y35TWH.js} +1 -1
- package/dist/{chunk-HG2ZG6ZU.js → chunk-7ATHSAAT.js} +1 -1
- package/dist/{chunk-KLQLQQGG.js → chunk-7B4A6PBC.js} +3 -3
- package/dist/{chunk-PARDL7HH.js → chunk-7KF36CVC.js} +1 -1
- package/dist/{chunk-ZO3RUMUR.js → chunk-A24MNKYN.js} +4 -4
- package/dist/{chunk-O4Z2YVC3.js → chunk-ANFGBAWY.js} +4 -4
- package/dist/{chunk-L4ACBB5R.js → chunk-BEKYNGLH.js} +1 -1
- package/dist/{chunk-YWWW47OY.js → chunk-CFTSVW7W.js} +1 -1
- package/dist/{chunk-RSRNZB4T.js → chunk-DF6ZHOIA.js} +6 -6
- package/dist/{chunk-U5EE7PGC.js → chunk-E2ZWGLNZ.js} +3 -3
- package/dist/{chunk-K6JOU4CT.js → chunk-F2PTLH3J.js} +152 -48
- package/dist/{chunk-ZLJXMXZP.js → chunk-FBBI6K7D.js} +2 -2
- package/dist/{chunk-OUHM6U6Z.js → chunk-FCU7WSCV.js} +144 -5
- package/dist/{chunk-MPE4NOKD.js → chunk-G2EWER4K.js} +2 -2
- package/dist/{chunk-ONOINHY4.js → chunk-G2ITKUX4.js} +1 -1
- package/dist/{chunk-QWDGHEQL.js → chunk-GM3H4ZHG.js} +1 -1
- package/dist/{chunk-AVEF3T6Y.js → chunk-GM4TY5H2.js} +1 -1
- package/dist/{chunk-DL5N6V3D.js → chunk-GQEVQIS6.js} +1 -1
- package/dist/{chunk-5R5FEPLH.js → chunk-H2L5NB5U.js} +98 -17
- package/dist/{chunk-CGXYPLK3.js → chunk-HTQFAHXD.js} +2 -2
- package/dist/{chunk-QONY6C2B.js → chunk-IOURL3LH.js} +15 -9
- package/dist/{chunk-XE2PXGZT.js → chunk-JKQAOSSX.js} +3 -3
- package/dist/{chunk-3XWZKL2P.js → chunk-JKYCEXZX.js} +7 -7
- package/dist/{chunk-45TFVWNT.js → chunk-JW25JVK4.js} +5 -5
- package/dist/{chunk-VWNQRD4I.js → chunk-KMUERD5F.js} +4 -4
- package/dist/{chunk-AJC5Q2NY.js → chunk-LFBQL4AP.js} +5 -5
- package/dist/{chunk-3DVCPRKE.js → chunk-LRE4QIMD.js} +7 -7
- package/dist/{chunk-GMRVWRHD.js → chunk-M4JFGNG7.js} +2 -2
- package/dist/{chunk-X2DX3A7H.js → chunk-MCLSXTLY.js} +1 -1
- package/dist/{chunk-BO3NOGKE.js → chunk-ML3O3A3Q.js} +1 -1
- package/dist/{chunk-ABN4UBR5.js → chunk-NMCRJ7NZ.js} +2 -2
- package/dist/{chunk-CCMKLF7K.js → chunk-NTRXOTO7.js} +4 -4
- package/dist/{chunk-256R6O56.js → chunk-OMCDOJO2.js} +8 -5
- package/dist/{chunk-OGQW7A4G.js → chunk-QHOC32DP.js} +8 -8
- package/dist/{chunk-SMFWLPXC.js → chunk-RDPLNQFI.js} +18 -17
- package/dist/{chunk-JTDMSQMI.js → chunk-RFBJKK2L.js} +7 -7
- package/dist/{chunk-BL6CCU26.js → chunk-SUMXGPSG.js} +5 -5
- package/dist/{chunk-XDRZ3BNA.js → chunk-T7KETYNW.js} +1 -1
- package/dist/{chunk-PMJ6IEUM.js → chunk-TDBP62O2.js} +7 -7
- package/dist/{chunk-RZ6WJTUP.js → chunk-TDUBZ4FR.js} +1 -1
- package/dist/{chunk-AMG5ICDO.js → chunk-TFBNHDPT.js} +4 -4
- package/dist/{chunk-DVFGCVTV.js → chunk-TMYBADTM.js} +5 -5
- package/dist/{chunk-EFAOERZH.js → chunk-TOVSIUEJ.js} +1 -1
- package/dist/{chunk-EERD7VI3.js → chunk-U4ZHNHCF.js} +1 -1
- package/dist/{chunk-VNT2IRLM.js → chunk-UF3YTRGU.js} +70 -11
- package/dist/{chunk-U7L4GBGS.js → chunk-USJVENIV.js} +1 -1
- package/dist/{chunk-2MQQASWB.js → chunk-VOSC32UF.js} +6 -6
- package/dist/{chunk-FOUG2R4Q.js → chunk-VRSUCU2N.js} +1 -1
- package/dist/{chunk-YZRDJOOR.js → chunk-XDVLF6OT.js} +3 -3
- package/dist/{chunk-DK5YFDYI.js → chunk-YL6GWLK5.js} +8 -8
- package/dist/{chunk-YKWOVYVN.js → chunk-YSIVKYLW.js} +9 -6
- package/dist/{chunk-5VAXNAOD.js → chunk-YZ5M7S7U.js} +1 -1
- package/dist/{chunk-RUJR3SDB.js → chunk-ZGN3NOVS.js} +1 -1
- package/dist/{chunk-OFWNBTLU.js → chunk-ZOWUJUSF.js} +1 -1
- package/dist/{chunk-FER7JJ3S.js → chunk-ZPCUXCQX.js} +1 -1
- package/dist/{chunk-Z4R36YDJ.js → chunk-ZYQT6Q5R.js} +1379 -628
- package/dist/{claude-launcher-FHQTSQOM.js → claude-launcher-G73I5AGW.js} +6 -6
- package/dist/{cli-GNC4MFMP.js → cli-5SILU2LX.js} +154 -147
- package/dist/{command-47EYM2FJ.js → command-DBBEP7VM.js} +56 -49
- package/dist/{config-EA6WVKAS.js → config-KOSTQZXG.js} +11 -11
- package/dist/{connect-cmd-4JO2LBUT.js → connect-cmd-UNBJYFYM.js} +10 -10
- package/dist/{container-start-XR7KANS6.js → container-start-AAOLPVAH.js} +45 -45
- package/dist/{context-cleanup-6CTKLEUT.js → context-cleanup-MKVMFRNR.js} +3 -3
- package/dist/{context-show-cmd-Z7NQAKNE.js → context-show-cmd-P3LBILMP.js} +11 -11
- package/dist/{control-plane-launch-4PLBJKBS.js → control-plane-launch-2GOJKA53.js} +13 -13
- package/dist/{demo-record-cmd-3B2ME2ZI.js → demo-record-cmd-BPINCNYS.js} +7 -7
- package/dist/{demo-voice-cmd-LIXAA3OS.js → demo-voice-cmd-HBK3TWM5.js} +17 -17
- package/dist/{dist-3TV6G4YF.js → dist-MUOHO52Q.js} +1 -1
- package/dist/{docker-FPEQS6HK.js → docker-NUPVSMVQ.js} +9 -9
- package/dist/{doctor-AFH6UUX6.js → doctor-GHRSOZLB.js} +53 -47
- package/dist/{emit-artifact-cmd-5XIEUWFX.js → emit-artifact-cmd-CULA5AM4.js} +16 -16
- package/dist/{emit-cmd-IKYF27IK.js → emit-cmd-746N7PYR.js} +6 -6
- package/dist/{emit-criteria-cmd-YS5ZSLCN.js → emit-criteria-cmd-NY4RPUPD.js} +13 -13
- package/dist/{emit-demo-cmd-IDC2JC46.js → emit-demo-cmd-MYXTGMJI.js} +17 -17
- package/dist/{emit-finding-cmd-C4NRTIZO.js → emit-finding-cmd-ZGGMPQFT.js} +13 -13
- package/dist/{emit-result-cmd-GC2I7JQU.js → emit-result-cmd-GNEQHIIZ.js} +15 -15
- package/dist/{emit-step-cmd-TTH4FYFW.js → emit-step-cmd-NYCJ3XFQ.js} +13 -13
- package/dist/{exec-client-DT5EWVQL.js → exec-client-QHB62OZ6.js} +7 -7
- package/dist/find-unit-UVS2FM7E.js +24 -0
- package/dist/{findings-cmd-MSV52ODM.js → findings-cmd-ZINCPCAB.js} +13 -13
- package/dist/{fleet-readiness-O76CSI7M.js → fleet-readiness-FZCSJ7FY.js} +12 -12
- package/dist/{governing-source-QEFYVBQF.js → governing-source-CQML5N2D.js} +18 -18
- package/dist/{guest-init-X7M5AIOI.js → guest-init-C6FWJVAQ.js} +8 -8
- package/dist/{hook-fast-T6FOTZHA.js → hook-fast-6IOLZ45F.js} +1 -1
- package/dist/{hook-install-OUSUHQ6C.js → hook-install-VL4CEO4S.js} +3 -3
- package/dist/host-checks-HPCMZ7XT.js +79 -0
- package/dist/{host-key-UFUIBFBF.js → host-key-5APXLMY2.js} +7 -7
- package/dist/{image-tag-AE6EKDPV.js → image-tag-IBAYH5XH.js} +7 -7
- package/dist/index.js +4 -4
- package/dist/{init-PUN3PKOT.js → init-EIQFBAZI.js} +43 -43
- package/dist/init-YD4MNH5U.js +79 -0
- package/dist/{init-agent-D3KK24QX.js → init-agent-7UQZFG5E.js} +43 -43
- package/dist/{init-cmd-LGRN3U7K.js → init-cmd-TNJXWFQU.js} +24 -24
- package/dist/{init-update-ZL2J7EQI.js → init-update-KJWMEKR3.js} +21 -21
- package/dist/{install-cmd-4ID4VBH2.js → install-cmd-UXH2LGVA.js} +9 -9
- package/dist/{layout-G6K72TXK.js → layout-YVTZDKVU.js} +3 -3
- package/dist/{logs-DIA3NWC2.js → logs-22Y7QG42.js} +6 -6
- package/dist/loop-SVE6TL6G.js +90 -0
- package/dist/machine-RQIO5VRG.js +79 -0
- package/dist/{machine-skills-JLJJDXBS.js → machine-skills-6PJOJU5J.js} +3 -3
- package/dist/{mcp-install-cmd-OTAX7QP2.js → mcp-install-cmd-LJ7AYDDT.js} +3 -3
- package/dist/{mcp-serve-cmd-63KQEQYS.js → mcp-serve-cmd-34LDKQSR.js} +8 -8
- package/dist/{paths-KVMMJQ7T.js → paths-2KOZGV5U.js} +6 -6
- package/dist/{pending-2IE3VBAN.js → pending-RYWBDJCE.js} +7 -7
- package/dist/{pidfile-NCBBWZNH.js → pidfile-FQBXIHX7.js} +7 -7
- package/dist/{record-PQDJVKYV.js → record-7ENQ7Y5M.js} +7 -7
- package/dist/relay-JLU7RTFS.js +474 -0
- package/dist/{relay-protocol-PJ2HOP6B.js → relay-protocol-AEIZCA3K.js} +4 -4
- package/dist/{runner-agents-CEW4Z3FR.js → runner-agents-I5YLJY7G.js} +3 -3
- package/dist/{runner-env-23OLQBQZ.js → runner-env-GXY2VMNH.js} +13 -13
- package/dist/{runner-identity-IJKE4SRJ.js → runner-identity-MW53HCYG.js} +9 -9
- package/dist/{runner-key-4J4MHN3S.js → runner-key-GERK5EV3.js} +43 -43
- package/dist/{session-sender-HKNACIH5.js → session-sender-65X5PR7Q.js} +16 -16
- package/dist/{spec-cmd-4R7AYTBU.js → spec-cmd-3TNVJBN7.js} +14 -14
- package/dist/{starter-pack-6C7HPT4O.js → starter-pack-PLSMFXBU.js} +4 -4
- package/dist/{state-DPEWDXQN.js → state-EKXXOPA5.js} +7 -7
- package/dist/{status-GMVC666R.js → status-KGSQF55G.js} +43 -43
- package/dist/{sync-cmd-UMAENSGZ.js → sync-cmd-FNATZ5VL.js} +15 -15
- package/dist/update-steps-3LOJ377U.js +80 -0
- package/dist/{watch-RAUF223H.js → watch-FEBBRV22.js} +15 -15
- package/dist/{work-claim-cmd-A3ISXUFA.js → work-claim-cmd-2EPUH3KT.js} +19 -19
- package/dist/{work-cmd-U7YLMDZ7.js → work-cmd-V5A3MDXV.js} +13 -13
- package/dist/{work-comment-cmd-CMWMOWVG.js → work-comment-cmd-PUE47SUV.js} +15 -15
- package/dist/{work-demo-cmd-EKTJHIVM.js → work-demo-cmd-7Q3KW2OO.js} +13 -13
- package/dist/{work-logs-cmd-Z3QOFYTJ.js → work-logs-cmd-SQBJX6MC.js} +13 -13
- package/dist/{work-open-pr-cmd-NJXIX3QZ.js → work-open-pr-cmd-PNDF2CR5.js} +14 -14
- package/dist/{work-pr-cmd-JUV3SN7I.js → work-pr-cmd-U7WL7KYE.js} +13 -13
- package/dist/{work-proofs-cmd-MIDPIFTH.js → work-proofs-cmd-YHOM2NIH.js} +15 -15
- package/dist/{work-proofs-record-6FTMJDQG.js → work-proofs-record-CYIZ2RDH.js} +21 -21
- package/dist/{work-stop-cmd-Z7MYNR7R.js → work-stop-cmd-ENRSBWFT.js} +13 -13
- package/package.json +1 -1
- package/skill-pack/maintained/outerlayer-amend/SKILL.md +13 -13
- package/skill-pack/maintained/outerlayer-amend/references/failed-checks.md +35 -0
- package/skill-pack/maintained/outerlayer-build/SKILL.md +3 -1
- package/dist/caller-XETCC46J.js +0 -23
- package/dist/find-unit-337Y4QAC.js +0 -24
- package/dist/host-checks-OXB5J3KR.js +0 -79
- package/dist/init-V7X3KA7B.js +0 -79
- package/dist/loop-AWBFKDV7.js +0 -90
- package/dist/machine-BZPKYURG.js +0 -79
- package/dist/relay-QDB526DJ.js +0 -223
- package/dist/update-steps-GTXNCG3Z.js +0 -80
|
@@ -0,0 +1,474 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { createRequire } from 'node:module';
|
|
3
|
+
import { MAX_OPEN_STREAMS, JOIN_WAIT_MS, STREAM_WINDOW, SESSION_WINDOW, TARGET_LEASE } from './chunk-HTQFAHXD.js';
|
|
4
|
+
import './chunk-TDUBZ4FR.js';
|
|
5
|
+
import './chunk-GM4TY5H2.js';
|
|
6
|
+
import './chunk-PLVHIQJN.js';
|
|
7
|
+
import './chunk-7PZDPISM.js';
|
|
8
|
+
import './chunk-CDDED64E.js';
|
|
9
|
+
import './chunk-RA3O54FC.js';
|
|
10
|
+
import './chunk-352DHUTP.js';
|
|
11
|
+
import './chunk-H2L5NB5U.js';
|
|
12
|
+
import './chunk-YXXJBHHF.js';
|
|
13
|
+
import './chunk-Z5GEFMRW.js';
|
|
14
|
+
import { existsSync, unlinkSync, chmodSync, readFileSync } from 'fs';
|
|
15
|
+
import http2 from 'http2';
|
|
16
|
+
import { createServer, connect } from 'net';
|
|
17
|
+
import { createHash, timingSafeEqual } from 'crypto';
|
|
18
|
+
import http from 'http';
|
|
19
|
+
import { Duplex } from 'stream';
|
|
20
|
+
|
|
21
|
+
createRequire(import.meta.url);
|
|
22
|
+
var WS_GUID = "258EAFA5-E914-47DA-95CA-C5AB0DC85B11";
|
|
23
|
+
var OP_CONTINUATION = 0;
|
|
24
|
+
var OP_TEXT = 1;
|
|
25
|
+
var OP_BINARY = 2;
|
|
26
|
+
var OP_CLOSE = 8;
|
|
27
|
+
var OP_PING = 9;
|
|
28
|
+
var OP_PONG = 10;
|
|
29
|
+
var MAX_MESSAGE_BYTES = 4 * 1024 * 1024;
|
|
30
|
+
var SECRET_WAIT_MS = 1e4;
|
|
31
|
+
var WRITE_HIGH_WATER = 1024 * 1024;
|
|
32
|
+
var CLOSE_NORMAL = 1e3;
|
|
33
|
+
var CLOSE_POLICY = 1008;
|
|
34
|
+
var CLOSE_UNSUPPORTED = 1003;
|
|
35
|
+
var CLOSE_TOO_BIG = 1009;
|
|
36
|
+
var CLOSE_PROTOCOL = 1002;
|
|
37
|
+
function encodeFrame(opcode, payload) {
|
|
38
|
+
let head;
|
|
39
|
+
if (payload.length < 126) {
|
|
40
|
+
head = Buffer.from([128 | opcode, payload.length]);
|
|
41
|
+
} else if (payload.length < 65536) {
|
|
42
|
+
head = Buffer.alloc(4);
|
|
43
|
+
head[0] = 128 | opcode;
|
|
44
|
+
head[1] = 126;
|
|
45
|
+
head.writeUInt16BE(payload.length, 2);
|
|
46
|
+
} else {
|
|
47
|
+
head = Buffer.alloc(10);
|
|
48
|
+
head[0] = 128 | opcode;
|
|
49
|
+
head[1] = 127;
|
|
50
|
+
head.writeBigUInt64BE(BigInt(payload.length), 2);
|
|
51
|
+
}
|
|
52
|
+
return Buffer.concat([head, payload]);
|
|
53
|
+
}
|
|
54
|
+
function createFrameReader(onFrame, onError) {
|
|
55
|
+
let buffered = Buffer.alloc(0);
|
|
56
|
+
let failed = false;
|
|
57
|
+
let messageBytes = 0;
|
|
58
|
+
const fail = (code) => {
|
|
59
|
+
if (failed) return;
|
|
60
|
+
failed = true;
|
|
61
|
+
onError(code);
|
|
62
|
+
};
|
|
63
|
+
return (chunk) => {
|
|
64
|
+
if (failed) return;
|
|
65
|
+
buffered = buffered.length === 0 ? chunk : Buffer.concat([buffered, chunk]);
|
|
66
|
+
for (; ; ) {
|
|
67
|
+
if (buffered.length < 2) return;
|
|
68
|
+
const first = buffered[0];
|
|
69
|
+
const second = buffered[1];
|
|
70
|
+
const fin = (first & 128) !== 0;
|
|
71
|
+
if ((first & 112) !== 0) return fail(CLOSE_PROTOCOL);
|
|
72
|
+
const opcode = first & 15;
|
|
73
|
+
const masked = (second & 128) !== 0;
|
|
74
|
+
if (!masked) return fail(CLOSE_PROTOCOL);
|
|
75
|
+
let length = second & 127;
|
|
76
|
+
let offset = 2;
|
|
77
|
+
if (length === 126) {
|
|
78
|
+
if (buffered.length < 4) return;
|
|
79
|
+
length = buffered.readUInt16BE(2);
|
|
80
|
+
offset = 4;
|
|
81
|
+
} else if (length === 127) {
|
|
82
|
+
if (buffered.length < 10) return;
|
|
83
|
+
const big = buffered.readBigUInt64BE(2);
|
|
84
|
+
if (big > BigInt(MAX_MESSAGE_BYTES)) return fail(CLOSE_TOO_BIG);
|
|
85
|
+
length = Number(big);
|
|
86
|
+
offset = 10;
|
|
87
|
+
}
|
|
88
|
+
const isControl = opcode >= 8;
|
|
89
|
+
if (isControl && (length > 125 || !fin)) return fail(CLOSE_PROTOCOL);
|
|
90
|
+
if (!isControl && messageBytes + length > MAX_MESSAGE_BYTES) return fail(CLOSE_TOO_BIG);
|
|
91
|
+
if (buffered.length < offset + 4 + length) return;
|
|
92
|
+
const mask = buffered.subarray(offset, offset + 4);
|
|
93
|
+
const payload = Buffer.from(buffered.subarray(offset + 4, offset + 4 + length));
|
|
94
|
+
for (let i = 0; i < payload.length; i++) payload[i] = payload[i] ^ mask[i % 4];
|
|
95
|
+
buffered = buffered.subarray(offset + 4 + length);
|
|
96
|
+
if (!isControl) messageBytes = fin ? 0 : messageBytes + length;
|
|
97
|
+
onFrame({ fin, opcode, payload });
|
|
98
|
+
}
|
|
99
|
+
};
|
|
100
|
+
}
|
|
101
|
+
var WsDuplex = class extends Duplex {
|
|
102
|
+
constructor(socket) {
|
|
103
|
+
super({ allowHalfOpen: false });
|
|
104
|
+
this.socket = socket;
|
|
105
|
+
this.peerClosed = false;
|
|
106
|
+
socket.on("close", () => this.destroy());
|
|
107
|
+
socket.on("error", () => this.destroy());
|
|
108
|
+
socket.on("drain", () => this.emit("socketdrain"));
|
|
109
|
+
}
|
|
110
|
+
deliver(payload) {
|
|
111
|
+
if (payload.length > 0 && !this.push(payload)) this.socket.pause();
|
|
112
|
+
}
|
|
113
|
+
_read() {
|
|
114
|
+
this.socket.resume();
|
|
115
|
+
}
|
|
116
|
+
_write(chunk, _encoding, callback) {
|
|
117
|
+
if (this.peerClosed || this.socket.destroyed) return callback(new Error("the connection is closed"));
|
|
118
|
+
const flushed = this.socket.write(encodeFrame(OP_BINARY, chunk));
|
|
119
|
+
if (flushed || this.socket.writableLength < WRITE_HIGH_WATER) return callback();
|
|
120
|
+
this.once("socketdrain", () => callback());
|
|
121
|
+
}
|
|
122
|
+
_final(callback) {
|
|
123
|
+
this.endPeer(CLOSE_NORMAL);
|
|
124
|
+
callback();
|
|
125
|
+
}
|
|
126
|
+
_destroy(error, callback) {
|
|
127
|
+
this.endPeer(CLOSE_NORMAL);
|
|
128
|
+
callback(error);
|
|
129
|
+
}
|
|
130
|
+
endPeer(code) {
|
|
131
|
+
if (this.peerClosed) return;
|
|
132
|
+
this.peerClosed = true;
|
|
133
|
+
if (!this.socket.destroyed) {
|
|
134
|
+
const payload = Buffer.alloc(2);
|
|
135
|
+
payload.writeUInt16BE(code, 0);
|
|
136
|
+
this.socket.end(encodeFrame(OP_CLOSE, payload));
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
/** The client ended the connection: nothing more will be read. */
|
|
140
|
+
peerEnded() {
|
|
141
|
+
this.push(null);
|
|
142
|
+
}
|
|
143
|
+
};
|
|
144
|
+
function secretMatches(given, expected) {
|
|
145
|
+
const a = createHash("sha256").update(given).digest();
|
|
146
|
+
const b = createHash("sha256").update(expected).digest();
|
|
147
|
+
return timingSafeEqual(a, b) && given.length === expected.length;
|
|
148
|
+
}
|
|
149
|
+
async function startWsJoin(opts) {
|
|
150
|
+
const open = /* @__PURE__ */ new Set();
|
|
151
|
+
const server = http.createServer((_req, res) => {
|
|
152
|
+
res.writeHead(426, { "Content-Type": "text/plain", Connection: "close" });
|
|
153
|
+
res.end("upgrade required");
|
|
154
|
+
});
|
|
155
|
+
server.on("connection", (socket) => {
|
|
156
|
+
open.add(socket);
|
|
157
|
+
socket.on("close", () => open.delete(socket));
|
|
158
|
+
socket.on("error", () => void 0);
|
|
159
|
+
});
|
|
160
|
+
server.on("upgrade", (req, socket, head) => {
|
|
161
|
+
const key = req.headers["sec-websocket-key"];
|
|
162
|
+
if (req.headers["upgrade"]?.toLowerCase() !== "websocket" || typeof key !== "string" || req.headers["sec-websocket-version"] !== "13") {
|
|
163
|
+
socket.end("HTTP/1.1 400 Bad Request\r\nConnection: close\r\n\r\n");
|
|
164
|
+
return;
|
|
165
|
+
}
|
|
166
|
+
const accept = createHash("sha1").update(`${key}${WS_GUID}`).digest("base64");
|
|
167
|
+
socket.write(`HTTP/1.1 101 Switching Protocols\r
|
|
168
|
+
Upgrade: websocket\r
|
|
169
|
+
Connection: Upgrade\r
|
|
170
|
+
Sec-WebSocket-Accept: ${accept}\r
|
|
171
|
+
\r
|
|
172
|
+
`);
|
|
173
|
+
socket.setNoDelay(true);
|
|
174
|
+
let connection;
|
|
175
|
+
let fragments = [];
|
|
176
|
+
let joined = false;
|
|
177
|
+
let expectedOpcode = OP_BINARY;
|
|
178
|
+
const closeWith = (code) => {
|
|
179
|
+
if (connection !== void 0) {
|
|
180
|
+
connection.endPeer(code);
|
|
181
|
+
connection.destroy();
|
|
182
|
+
return;
|
|
183
|
+
}
|
|
184
|
+
if (!socket.destroyed) {
|
|
185
|
+
const payload = Buffer.alloc(2);
|
|
186
|
+
payload.writeUInt16BE(code, 0);
|
|
187
|
+
socket.end(encodeFrame(OP_CLOSE, payload));
|
|
188
|
+
}
|
|
189
|
+
};
|
|
190
|
+
const timer = setTimeout(() => {
|
|
191
|
+
if (!joined) closeWith(CLOSE_POLICY);
|
|
192
|
+
}, opts.secretWaitMs ?? SECRET_WAIT_MS);
|
|
193
|
+
timer.unref();
|
|
194
|
+
socket.on("close", () => clearTimeout(timer));
|
|
195
|
+
const onMessage = (message) => {
|
|
196
|
+
if (!joined) {
|
|
197
|
+
let expected;
|
|
198
|
+
try {
|
|
199
|
+
expected = Buffer.from(opts.secret());
|
|
200
|
+
} catch {
|
|
201
|
+
return closeWith(CLOSE_POLICY);
|
|
202
|
+
}
|
|
203
|
+
if (!secretMatches(message, expected)) return closeWith(CLOSE_POLICY);
|
|
204
|
+
joined = true;
|
|
205
|
+
clearTimeout(timer);
|
|
206
|
+
connection = new WsDuplex(socket);
|
|
207
|
+
opts.onJoin(connection);
|
|
208
|
+
return;
|
|
209
|
+
}
|
|
210
|
+
connection.deliver(message);
|
|
211
|
+
};
|
|
212
|
+
const read = createFrameReader(
|
|
213
|
+
(frame) => {
|
|
214
|
+
if (frame.opcode === OP_PING) {
|
|
215
|
+
if (!socket.destroyed) socket.write(encodeFrame(OP_PONG, frame.payload));
|
|
216
|
+
return;
|
|
217
|
+
}
|
|
218
|
+
if (frame.opcode === OP_PONG) return;
|
|
219
|
+
if (frame.opcode === OP_CLOSE) {
|
|
220
|
+
if (connection !== void 0) {
|
|
221
|
+
connection.peerEnded();
|
|
222
|
+
connection.endPeer(CLOSE_NORMAL);
|
|
223
|
+
} else if (!socket.destroyed) {
|
|
224
|
+
socket.end(encodeFrame(OP_CLOSE, frame.payload.subarray(0, 2)));
|
|
225
|
+
}
|
|
226
|
+
return;
|
|
227
|
+
}
|
|
228
|
+
if (frame.opcode === OP_TEXT) return closeWith(CLOSE_UNSUPPORTED);
|
|
229
|
+
if (frame.opcode === OP_BINARY) {
|
|
230
|
+
if (fragments.length > 0) return closeWith(CLOSE_PROTOCOL);
|
|
231
|
+
expectedOpcode = OP_CONTINUATION;
|
|
232
|
+
} else if (frame.opcode === OP_CONTINUATION) {
|
|
233
|
+
if (expectedOpcode !== OP_CONTINUATION) return closeWith(CLOSE_PROTOCOL);
|
|
234
|
+
} else {
|
|
235
|
+
return closeWith(CLOSE_PROTOCOL);
|
|
236
|
+
}
|
|
237
|
+
fragments.push(frame.payload);
|
|
238
|
+
if (frame.fin) {
|
|
239
|
+
const message = fragments.length === 1 ? fragments[0] : Buffer.concat(fragments);
|
|
240
|
+
fragments = [];
|
|
241
|
+
expectedOpcode = OP_BINARY;
|
|
242
|
+
onMessage(message);
|
|
243
|
+
}
|
|
244
|
+
},
|
|
245
|
+
(code) => closeWith(code)
|
|
246
|
+
);
|
|
247
|
+
socket.on("data", read);
|
|
248
|
+
if (head.length > 0) read(head);
|
|
249
|
+
});
|
|
250
|
+
await new Promise((resolve, reject) => {
|
|
251
|
+
server.once("error", reject);
|
|
252
|
+
server.listen(opts.port, opts.host ?? "0.0.0.0", () => resolve());
|
|
253
|
+
});
|
|
254
|
+
return {
|
|
255
|
+
port: server.address().port,
|
|
256
|
+
close: () => new Promise((resolve) => {
|
|
257
|
+
for (const socket of open) socket.destroy();
|
|
258
|
+
server.close(() => resolve());
|
|
259
|
+
})
|
|
260
|
+
};
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
// src/runner/container/relay.ts
|
|
264
|
+
async function startRelay(opts) {
|
|
265
|
+
const main = await listenRelay(opts.port, opts.socketPath);
|
|
266
|
+
const extra = [];
|
|
267
|
+
try {
|
|
268
|
+
for (const forward of opts.forwards ?? []) extra.push(await listenRelay(forward.port, forward.socketPath));
|
|
269
|
+
} catch (err) {
|
|
270
|
+
await Promise.all([main, ...extra].map((relay) => relay.close()));
|
|
271
|
+
throw err;
|
|
272
|
+
}
|
|
273
|
+
return { port: main.port, close: async () => void await Promise.all([main, ...extra].map((relay) => relay.close())) };
|
|
274
|
+
}
|
|
275
|
+
async function listenRelay(port, socketPath) {
|
|
276
|
+
const open = /* @__PURE__ */ new Set();
|
|
277
|
+
const server = createServer({ allowHalfOpen: true }, (client) => {
|
|
278
|
+
const upstream = connect(socketPath);
|
|
279
|
+
open.add(client);
|
|
280
|
+
client.on("error", () => void 0);
|
|
281
|
+
upstream.on("error", () => void 0);
|
|
282
|
+
client.on("close", () => {
|
|
283
|
+
open.delete(client);
|
|
284
|
+
upstream.destroy();
|
|
285
|
+
});
|
|
286
|
+
upstream.on("close", (hadError) => {
|
|
287
|
+
if (hadError) client.resetAndDestroy();
|
|
288
|
+
});
|
|
289
|
+
client.pipe(upstream);
|
|
290
|
+
upstream.pipe(client);
|
|
291
|
+
});
|
|
292
|
+
await new Promise((resolve, reject) => {
|
|
293
|
+
server.once("error", reject);
|
|
294
|
+
server.listen(port, "127.0.0.1", () => resolve());
|
|
295
|
+
});
|
|
296
|
+
return {
|
|
297
|
+
port: server.address().port,
|
|
298
|
+
close: () => new Promise((resolve) => {
|
|
299
|
+
for (const socket of open) socket.destroy();
|
|
300
|
+
server.close(() => resolve());
|
|
301
|
+
})
|
|
302
|
+
};
|
|
303
|
+
}
|
|
304
|
+
var noop = () => void 0;
|
|
305
|
+
async function startSessionRelay(opts) {
|
|
306
|
+
const maxOpen = opts.maxOpen ?? MAX_OPEN_STREAMS;
|
|
307
|
+
const waitMs = opts.joinWaitMs ?? JOIN_WAIT_MS;
|
|
308
|
+
const clients = /* @__PURE__ */ new Set();
|
|
309
|
+
const waiting = /* @__PURE__ */ new Set();
|
|
310
|
+
const joined = /* @__PURE__ */ new Set();
|
|
311
|
+
let session;
|
|
312
|
+
let expiryMs = 0;
|
|
313
|
+
let watchdog;
|
|
314
|
+
let expired = false;
|
|
315
|
+
const armWatchdog = () => {
|
|
316
|
+
if (watchdog !== void 0) clearTimeout(watchdog);
|
|
317
|
+
watchdog = setTimeout(() => {
|
|
318
|
+
if (Date.now() < expiryMs) return armWatchdog();
|
|
319
|
+
if (expired) return;
|
|
320
|
+
expired = true;
|
|
321
|
+
opts.onLeaseExpired?.();
|
|
322
|
+
}, Math.max(0, expiryMs - Date.now()));
|
|
323
|
+
};
|
|
324
|
+
const watchLease = (over) => {
|
|
325
|
+
if (opts.onLeaseExpired === void 0) return;
|
|
326
|
+
let stream;
|
|
327
|
+
try {
|
|
328
|
+
stream = over.request({ ":method": "POST", ":path": `/${TARGET_LEASE}` });
|
|
329
|
+
} catch {
|
|
330
|
+
return;
|
|
331
|
+
}
|
|
332
|
+
stream.on("error", noop);
|
|
333
|
+
stream.on("response", noop);
|
|
334
|
+
stream.setEncoding("utf8");
|
|
335
|
+
let pending = "";
|
|
336
|
+
stream.on("data", (chunk) => {
|
|
337
|
+
pending += chunk;
|
|
338
|
+
for (let end = pending.indexOf("\n"); end !== -1; end = pending.indexOf("\n")) {
|
|
339
|
+
const value = Number(pending.slice(0, end));
|
|
340
|
+
pending = pending.slice(end + 1);
|
|
341
|
+
if (Number.isFinite(value) && value > expiryMs) {
|
|
342
|
+
expiryMs = value;
|
|
343
|
+
armWatchdog();
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
});
|
|
347
|
+
stream.end();
|
|
348
|
+
};
|
|
349
|
+
const bridge = (client, target, over) => {
|
|
350
|
+
let stream;
|
|
351
|
+
try {
|
|
352
|
+
stream = over.request({ ":method": "POST", ":path": `/${target}` });
|
|
353
|
+
} catch {
|
|
354
|
+
return false;
|
|
355
|
+
}
|
|
356
|
+
stream.on("error", noop);
|
|
357
|
+
stream.on("response", noop);
|
|
358
|
+
stream.on("close", () => {
|
|
359
|
+
if (!stream.readableEnded) client.resetAndDestroy();
|
|
360
|
+
});
|
|
361
|
+
client.on("close", () => {
|
|
362
|
+
if (!stream.destroyed && !client.readableEnded) stream.close(http2.constants.NGHTTP2_CANCEL);
|
|
363
|
+
});
|
|
364
|
+
client.pipe(stream);
|
|
365
|
+
stream.pipe(client);
|
|
366
|
+
return true;
|
|
367
|
+
};
|
|
368
|
+
const usable = (candidate) => candidate !== void 0 && !candidate.closed && !candidate.destroyed;
|
|
369
|
+
const accept = (client, target) => {
|
|
370
|
+
client.on("error", noop);
|
|
371
|
+
if (clients.size >= maxOpen) {
|
|
372
|
+
client.destroy();
|
|
373
|
+
return;
|
|
374
|
+
}
|
|
375
|
+
clients.add(client);
|
|
376
|
+
client.on("close", () => clients.delete(client));
|
|
377
|
+
if (usable(session) && bridge(client, target, session)) return;
|
|
378
|
+
const entry = { client, target, timer: setTimeout(() => client.destroy(), waitMs) };
|
|
379
|
+
waiting.add(entry);
|
|
380
|
+
client.on("close", () => {
|
|
381
|
+
clearTimeout(entry.timer);
|
|
382
|
+
waiting.delete(entry);
|
|
383
|
+
});
|
|
384
|
+
};
|
|
385
|
+
const flush = (over) => {
|
|
386
|
+
for (const entry of [...waiting]) {
|
|
387
|
+
if (!usable(over)) return;
|
|
388
|
+
clearTimeout(entry.timer);
|
|
389
|
+
waiting.delete(entry);
|
|
390
|
+
if (!bridge(entry.client, entry.target, over)) {
|
|
391
|
+
entry.client.destroy();
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
};
|
|
395
|
+
const join = (socket) => {
|
|
396
|
+
joined.add(socket);
|
|
397
|
+
socket.on("error", noop);
|
|
398
|
+
socket.on("close", () => joined.delete(socket));
|
|
399
|
+
const next = http2.connect("http://relay.invalid", { createConnection: () => socket, settings: { initialWindowSize: STREAM_WINDOW, enablePush: false } });
|
|
400
|
+
next.on("error", noop);
|
|
401
|
+
try {
|
|
402
|
+
next.setLocalWindowSize(SESSION_WINDOW);
|
|
403
|
+
} catch {
|
|
404
|
+
}
|
|
405
|
+
const previous = session;
|
|
406
|
+
session = next;
|
|
407
|
+
next.on("close", () => {
|
|
408
|
+
if (session === next) session = void 0;
|
|
409
|
+
});
|
|
410
|
+
if (usable(previous)) previous.close();
|
|
411
|
+
watchLease(next);
|
|
412
|
+
flush(next);
|
|
413
|
+
};
|
|
414
|
+
const listeners = [];
|
|
415
|
+
let wsJoin;
|
|
416
|
+
const closeAll = async () => {
|
|
417
|
+
if (watchdog !== void 0) clearTimeout(watchdog);
|
|
418
|
+
for (const entry of waiting) clearTimeout(entry.timer);
|
|
419
|
+
waiting.clear();
|
|
420
|
+
for (const client of clients) client.destroy();
|
|
421
|
+
session?.destroy();
|
|
422
|
+
for (const socket of joined) socket.destroy();
|
|
423
|
+
await wsJoin?.close();
|
|
424
|
+
await Promise.all(listeners.map((listener) => new Promise((resolve) => listener.close(() => resolve()))));
|
|
425
|
+
};
|
|
426
|
+
try {
|
|
427
|
+
const joiner = createServer(join);
|
|
428
|
+
listeners.push(joiner);
|
|
429
|
+
if (existsSync(opts.joinPath)) unlinkSync(opts.joinPath);
|
|
430
|
+
await new Promise((resolve, reject) => {
|
|
431
|
+
joiner.once("error", reject);
|
|
432
|
+
joiner.listen(opts.joinPath, () => resolve());
|
|
433
|
+
});
|
|
434
|
+
chmodSync(opts.joinPath, 384);
|
|
435
|
+
if (opts.joinWs !== void 0) {
|
|
436
|
+
const { secretPath } = opts.joinWs;
|
|
437
|
+
wsJoin = await startWsJoin({ port: opts.joinWs.port, ...opts.joinWs.host === void 0 ? {} : { host: opts.joinWs.host }, secret: () => readFileSync(secretPath), onJoin: join });
|
|
438
|
+
}
|
|
439
|
+
const ports = [];
|
|
440
|
+
for (const entry of opts.ports) {
|
|
441
|
+
const server = createServer((client) => accept(client, entry.target));
|
|
442
|
+
listeners.push(server);
|
|
443
|
+
await new Promise((resolve, reject) => {
|
|
444
|
+
server.once("error", reject);
|
|
445
|
+
server.listen(entry.port, "127.0.0.1", () => resolve());
|
|
446
|
+
});
|
|
447
|
+
ports.push(server.address().port);
|
|
448
|
+
}
|
|
449
|
+
return { ports, ...wsJoin === void 0 ? {} : { joinWsPort: wsJoin.port }, waiting: () => waiting.size, close: closeAll };
|
|
450
|
+
} catch (err) {
|
|
451
|
+
await closeAll();
|
|
452
|
+
throw err;
|
|
453
|
+
}
|
|
454
|
+
}
|
|
455
|
+
function joinRelay(opts) {
|
|
456
|
+
return new Promise((resolve, reject) => {
|
|
457
|
+
const socket = connect(opts.socketPath);
|
|
458
|
+
let connected = false;
|
|
459
|
+
socket.once("connect", () => {
|
|
460
|
+
connected = true;
|
|
461
|
+
opts.input.pipe(socket);
|
|
462
|
+
socket.pipe(opts.output, { end: false });
|
|
463
|
+
});
|
|
464
|
+
socket.once("error", (err) => {
|
|
465
|
+
if (!connected) reject(err);
|
|
466
|
+
});
|
|
467
|
+
socket.once("close", () => {
|
|
468
|
+
opts.input.destroy?.();
|
|
469
|
+
resolve();
|
|
470
|
+
});
|
|
471
|
+
});
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
export { joinRelay, startRelay, startSessionRelay };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { COMMAND_LOST_REASON, CONTAINER_STOPPED_REASON, DOCKER_DESKTOP_REASON, JOIN_DIR, JOIN_SOCKET, JOIN_WAIT_MS, MALFORMED_REASON, MAX_MALFORMED_SESSIONS, MAX_OPEN_STREAMS, RELAY_ID, RELAY_USER, RUNNER_WORDED_REASONS, SESSION_WINDOW, STREAM_RESET_BURST, STREAM_RESET_RATE, STREAM_WINDOW, TARGET_GATEWAY, TARGET_LEASE, TARGET_TUNNEL, UNKNOWN_TRACKING_REASON, UNKNOWN_TRANSPORT_REASON, destinationTarget, targetOfPath } from './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
3
|
+
export { COMMAND_LOST_REASON, CONTAINER_STOPPED_REASON, DOCKER_DESKTOP_REASON, JOIN_DIR, JOIN_SOCKET, JOIN_WAIT_MS, MALFORMED_REASON, MAX_MALFORMED_SESSIONS, MAX_OPEN_STREAMS, RELAY_ID, RELAY_USER, RUNNER_WORDED_REASONS, SESSION_WINDOW, STREAM_RESET_BURST, STREAM_RESET_RATE, STREAM_WINDOW, TARGET_GATEWAY, TARGET_LEASE, TARGET_TUNNEL, UNKNOWN_TRACKING_REASON, UNKNOWN_TRANSPORT_REASON, destinationTarget, targetOfPath } from './chunk-HTQFAHXD.js';
|
|
4
|
+
import './chunk-TDUBZ4FR.js';
|
|
5
|
+
import './chunk-GM4TY5H2.js';
|
|
6
6
|
import './chunk-PLVHIQJN.js';
|
|
7
7
|
import './chunk-7PZDPISM.js';
|
|
8
8
|
import './chunk-CDDED64E.js';
|
|
9
9
|
import './chunk-RA3O54FC.js';
|
|
10
10
|
import './chunk-352DHUTP.js';
|
|
11
|
-
import './chunk-
|
|
11
|
+
import './chunk-H2L5NB5U.js';
|
|
12
12
|
import './chunk-YXXJBHHF.js';
|
|
13
13
|
import './chunk-Z5GEFMRW.js';
|
|
14
14
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { AGENT_PINS, MANAGED_KIND, agentCommands, agentVersionOf, buildAgent, buildAgentPin, credentialAgent, credentialEnvPath, credentialForms, credentialHandOffKey, credentialNames, credentialShapes, defaultCommandLine, forwardedVariables, headlessNames, imageAgentPins, imageInstalls, jobAgent, jobCommandEnv, judgeAgent, managedKeyName, orList, providersOf, runnerAgentNamed, runnerAgents, storeVariables, strippedVariables } from './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
export { AGENT_PINS, MANAGED_KIND, agentCommands, agentVersionOf, buildAgent, buildAgentPin, credentialAgent, credentialEnvPath, credentialForms, credentialHandOffKey, credentialNames, credentialShapes, defaultCommandLine, forwardedVariables, headlessNames, imageAgentPins, imageInstalls, jobAgent, jobCommandEnv, judgeAgent, managedKeyName, orList, providersOf, runnerAgentNamed, runnerAgents, storeVariables, strippedVariables } from './chunk-TDUBZ4FR.js';
|
|
4
|
+
import './chunk-GM4TY5H2.js';
|
|
5
5
|
import './chunk-PLVHIQJN.js';
|
|
6
6
|
import './chunk-7PZDPISM.js';
|
|
7
7
|
import './chunk-CDDED64E.js';
|
|
8
8
|
import './chunk-RA3O54FC.js';
|
|
9
9
|
import './chunk-352DHUTP.js';
|
|
10
|
-
import './chunk-
|
|
10
|
+
import './chunk-H2L5NB5U.js';
|
|
11
11
|
import './chunk-YXXJBHHF.js';
|
|
12
12
|
import './chunk-Z5GEFMRW.js';
|
|
13
13
|
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { RunnerEnvError, credentialFromStdin, hasStoredCredential, isAgentName, restartForCredential, storeAgentCredential, storedCredentialVariables } from './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
8
|
-
import './chunk-
|
|
9
|
-
import './chunk-
|
|
10
|
-
import './chunk-
|
|
11
|
-
import './chunk-
|
|
12
|
-
import './chunk-
|
|
13
|
-
import './chunk-
|
|
14
|
-
import './chunk-
|
|
3
|
+
export { RunnerEnvError, credentialFromStdin, hasStoredCredential, isAgentName, restartForCredential, storeAgentCredential, storedCredentialVariables } from './chunk-LFBQL4AP.js';
|
|
4
|
+
import './chunk-VOSC32UF.js';
|
|
5
|
+
import './chunk-UF3YTRGU.js';
|
|
6
|
+
import './chunk-G2EWER4K.js';
|
|
7
|
+
import './chunk-6BPCEGJL.js';
|
|
8
|
+
import './chunk-ZPCUXCQX.js';
|
|
9
|
+
import './chunk-TOVSIUEJ.js';
|
|
10
|
+
import './chunk-YZ5M7S7U.js';
|
|
11
|
+
import './chunk-FCU7WSCV.js';
|
|
12
|
+
import './chunk-HTQFAHXD.js';
|
|
13
|
+
import './chunk-TDUBZ4FR.js';
|
|
14
|
+
import './chunk-GM4TY5H2.js';
|
|
15
15
|
import './chunk-PLVHIQJN.js';
|
|
16
16
|
import './chunk-7PZDPISM.js';
|
|
17
17
|
import './chunk-CDDED64E.js';
|
|
18
18
|
import './chunk-RA3O54FC.js';
|
|
19
19
|
import './chunk-352DHUTP.js';
|
|
20
|
-
import './chunk-
|
|
20
|
+
import './chunk-H2L5NB5U.js';
|
|
21
21
|
import './chunk-YXXJBHHF.js';
|
|
22
22
|
import './chunk-Z5GEFMRW.js';
|
|
23
23
|
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { RUNNER_LABEL, builderNameFor, dockerIdentity, ensureRunnerIdentity, identityDockerFor, pathLabelValue, readRunnerIdentity } from './chunk-
|
|
4
|
-
import './chunk-
|
|
5
|
-
import './chunk-
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
8
|
-
import './chunk-
|
|
9
|
-
import './chunk-
|
|
10
|
-
import './chunk-
|
|
3
|
+
export { RUNNER_LABEL, builderNameFor, dockerIdentity, ensureRunnerIdentity, identityDockerFor, pathLabelValue, readRunnerIdentity } from './chunk-6BPCEGJL.js';
|
|
4
|
+
import './chunk-ZPCUXCQX.js';
|
|
5
|
+
import './chunk-TOVSIUEJ.js';
|
|
6
|
+
import './chunk-YZ5M7S7U.js';
|
|
7
|
+
import './chunk-FCU7WSCV.js';
|
|
8
|
+
import './chunk-HTQFAHXD.js';
|
|
9
|
+
import './chunk-TDUBZ4FR.js';
|
|
10
|
+
import './chunk-GM4TY5H2.js';
|
|
11
11
|
import './chunk-PLVHIQJN.js';
|
|
12
12
|
import './chunk-7PZDPISM.js';
|
|
13
13
|
import './chunk-CDDED64E.js';
|
|
14
14
|
import './chunk-RA3O54FC.js';
|
|
15
15
|
import './chunk-352DHUTP.js';
|
|
16
|
-
import './chunk-
|
|
16
|
+
import './chunk-H2L5NB5U.js';
|
|
17
17
|
import './chunk-YXXJBHHF.js';
|
|
18
18
|
import './chunk-Z5GEFMRW.js';
|
|
19
19
|
|