@outerlayer/cli 0.36.0-next.20261103032948 → 0.36.0-next.20261103102716
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/agent-setup-DZZZH3SE.js +40 -0
- package/dist/{agent-subcommand-DZWYGCPN.js → agent-subcommand-WRHH6SRD.js} +5 -5
- package/dist/{bridge-RY2CLUYP.js → bridge-GZSZQGLI.js} +8 -7
- package/dist/{build-CV6IUJWD.js → build-UKZ5RPRR.js} +14 -13
- package/dist/{build-disk-ITPCE4ME.js → build-disk-3HOXULLP.js} +12 -11
- package/dist/build-info.json +1 -1
- package/dist/{builder-TP6RBPGB.js → builder-QEK4GIRY.js} +11 -10
- package/dist/caller-WSMJJSFL.js +23 -0
- package/dist/{check-HJ3CKWDZ.js → check-QLJ2O7VO.js} +60 -59
- package/dist/{chunk-ORU76DHF.js → chunk-2JWLK2TU.js} +1 -1
- package/dist/{chunk-IVAX5RVX.js → chunk-2QIK3JRV.js} +1 -1
- package/dist/{chunk-HWIV4MF6.js → chunk-2SBNZ4EC.js} +1 -1
- package/dist/{chunk-ZEILNR5Q.js → chunk-2W5C47AE.js} +1 -1
- package/dist/{chunk-4XYEPTZP.js → chunk-3XEYA3QF.js} +3 -3
- package/dist/{chunk-55RNQFPE.js → chunk-42X6CTBI.js} +4 -4
- package/dist/{chunk-VNYAJEKO.js → chunk-4MLH5MDB.js} +5 -5
- package/dist/{chunk-YEETN7NH.js → chunk-4MN4BBKZ.js} +7 -7
- package/dist/{chunk-EI22245K.js → chunk-54ERDQ3O.js} +77 -9
- package/dist/{chunk-6DOYJN44.js → chunk-54PQNYA7.js} +3 -3
- package/dist/{chunk-GK7QN7K6.js → chunk-6J3QWXTA.js} +4 -4
- package/dist/{chunk-ZIRMH464.js → chunk-6UI4ELNA.js} +62 -53
- package/dist/{chunk-QTU6GW2M.js → chunk-7UYXSF62.js} +8 -227
- package/dist/{chunk-4EJH2EE4.js → chunk-A64EXQUL.js} +28 -27
- package/dist/{chunk-WEHUIYTR.js → chunk-B5VKRKLJ.js} +1 -1
- package/dist/{chunk-TQDYP45H.js → chunk-BEJJJZXF.js} +4 -4
- package/dist/{chunk-A4QJ2E4D.js → chunk-BTGNFRRT.js} +7 -7
- package/dist/{chunk-CJNZ2FIW.js → chunk-BZQ3S24G.js} +1 -1
- package/dist/{chunk-LWKV36FC.js → chunk-CDTBXABP.js} +2 -2
- package/dist/{chunk-UZ5SDO7Y.js → chunk-DEZSNJSE.js} +1 -1
- package/dist/{chunk-AUZAQL7C.js → chunk-DWYQKLCL.js} +1 -1
- package/dist/{chunk-OR2TAE22.js → chunk-EHS3HEB6.js} +4 -4
- package/dist/{chunk-MHRZVSXP.js → chunk-EUWTGCK5.js} +1 -1
- package/dist/{chunk-DQJCVLYE.js → chunk-FLQL6ZIG.js} +1 -1
- package/dist/{chunk-A76SNTAM.js → chunk-GPBTTHK3.js} +1 -1
- package/dist/{chunk-LPKNESZ5.js → chunk-H4G26OZC.js} +8 -8
- package/dist/{chunk-EKCOXTS2.js → chunk-HO4DPX5N.js} +1 -1
- package/dist/{chunk-HBE75JAU.js → chunk-HQBKKYYQ.js} +5 -5
- package/dist/{chunk-PEKITBZX.js → chunk-HR4PJLOO.js} +1 -1
- package/dist/{chunk-D4MQRI56.js → chunk-HX6B34ZF.js} +17 -17
- package/dist/chunk-IEDO26G4.js +243 -0
- package/dist/{chunk-W2ZZ6KQP.js → chunk-IEVARJ6G.js} +2 -2
- package/dist/{chunk-DBXWEZ3L.js → chunk-J4NJWTNO.js} +5 -5
- package/dist/{chunk-WFRYPYPT.js → chunk-JD5EVW6Y.js} +1 -1
- package/dist/{chunk-5SDUOS4G.js → chunk-JMM3L5RG.js} +5 -5
- package/dist/{chunk-RWQ5XKRH.js → chunk-K26KMWU4.js} +10 -10
- package/dist/{chunk-VI233QH2.js → chunk-K373UCEV.js} +1 -1
- package/dist/{chunk-LEQWPWZA.js → chunk-KHJPRTOW.js} +1 -1
- package/dist/{chunk-AT6RLTDF.js → chunk-L3SHPR2M.js} +1 -1
- package/dist/{chunk-CIG5RZ7Z.js → chunk-LDKF6B2R.js} +4 -3
- package/dist/{chunk-AXGTLADG.js → chunk-LV4IDDD3.js} +8 -13
- package/dist/{chunk-CULBCABP.js → chunk-LXXP5HRJ.js} +4 -4
- package/dist/{chunk-SSYFNK4W.js → chunk-MPVTZLOM.js} +4 -4
- package/dist/{chunk-J4M35XQA.js → chunk-N3SO5VCM.js} +8 -8
- package/dist/{chunk-5OQTDTWB.js → chunk-NMMGRG5V.js} +6 -6
- package/dist/{chunk-RW6TM4OU.js → chunk-NOLS2G2W.js} +1 -1
- package/dist/{chunk-M6FMJXYO.js → chunk-NQYTUVZR.js} +1 -1
- package/dist/{chunk-JXAUDSTQ.js → chunk-OGG5ELXF.js} +5 -4
- package/dist/{chunk-UYPE2MYB.js → chunk-OPEZVPF7.js} +3 -3
- package/dist/{chunk-UWYU46GF.js → chunk-OV4XTV5M.js} +2 -2
- package/dist/{chunk-FQ6ZKZCH.js → chunk-P4Q6M6PI.js} +1 -1
- package/dist/{chunk-B3XUAKJI.js → chunk-PDRWRFB2.js} +4 -4
- package/dist/{chunk-MHIXBZDZ.js → chunk-PYK6GCCU.js} +6 -6
- package/dist/{chunk-LLZ2CX4M.js → chunk-QJKW4MKH.js} +6 -1
- package/dist/{chunk-ECUP2QQH.js → chunk-QKLCIJEU.js} +226 -187
- package/dist/{chunk-XEZO7VQH.js → chunk-QVOU2QUR.js} +2 -2
- package/dist/{chunk-CSWT3PDT.js → chunk-RGKJ5J72.js} +5 -5
- package/dist/{chunk-RT7R4COY.js → chunk-RKV3UQCG.js} +9 -8
- package/dist/{chunk-EE3FR5JP.js → chunk-SYKEQT63.js} +6 -6
- package/dist/{chunk-66GYPUUN.js → chunk-T5I2H7TJ.js} +1 -1
- package/dist/{chunk-3IEVIKMC.js → chunk-TWGSXBZM.js} +3 -3
- package/dist/{chunk-7VUTGCGH.js → chunk-U6EACUUG.js} +1 -1
- package/dist/{chunk-CGVYMX4N.js → chunk-U6HCTKPH.js} +7 -7
- package/dist/{chunk-U3SXAKQZ.js → chunk-U7MLC45I.js} +6 -6
- package/dist/{chunk-MMCVDHDX.js → chunk-UZSMDU4U.js} +3 -3
- package/dist/{chunk-SLWDYHO5.js → chunk-VMPVQE4D.js} +2 -2
- package/dist/{chunk-NKT32ZHB.js → chunk-VST3BWL4.js} +9 -9
- package/dist/{chunk-NNTORDVS.js → chunk-WAGHPZP2.js} +1 -1
- package/dist/{chunk-FINJC6BS.js → chunk-WZOWXDDM.js} +20 -14
- package/dist/{chunk-ARAH3W3L.js → chunk-XSGWMQJF.js} +3 -3
- package/dist/{chunk-ASR6TU43.js → chunk-YCBVYTFI.js} +1 -1
- package/dist/{chunk-6V6ONATO.js → chunk-YEZGNCSK.js} +2 -2
- package/dist/{chunk-GVRD3MBC.js → chunk-YWCK4EOT.js} +3 -3
- package/dist/{chunk-TE3Q6LVL.js → chunk-ZE2JJQPC.js} +1 -1
- package/dist/{chunk-757WX4YX.js → chunk-ZZ4WIQRF.js} +6 -5
- package/dist/{claude-launcher-5I7TNYQJ.js → claude-launcher-CPSCSL6U.js} +9 -9
- package/dist/{cli-4F4XTBBF.js → cli-4M74XOWW.js} +192 -161
- package/dist/{command-ABIQ63NE.js → command-RY76GIQG.js} +54 -53
- package/dist/{config-4W4MXVZR.js → config-23EBIGW4.js} +13 -12
- package/dist/{connect-cmd-I7TUU2BM.js → connect-cmd-GEBIOBQQ.js} +12 -11
- package/dist/{container-start-5EFWPLEB.js → container-start-SUBTHQME.js} +59 -54
- package/dist/{context-cleanup-7XUQDCJ5.js → context-cleanup-I7FLIV5A.js} +5 -5
- package/dist/{context-show-cmd-6U42IUEX.js → context-show-cmd-CSPMSRHX.js} +13 -12
- package/dist/{control-plane-launch-SLIYO4BZ.js → control-plane-launch-KC7NUNYQ.js} +16 -15
- package/dist/{demo-record-cmd-HBFGZHVK.js → demo-record-cmd-ZW6U2LAV.js} +9 -8
- package/dist/{demo-voice-cmd-ZINZNDWR.js → demo-voice-cmd-IDW3QX3E.js} +22 -21
- package/dist/{dist-AIMCXBLZ.js → dist-LOBYZWOU.js} +1 -1
- package/dist/docker-2VHMWLNK.js +20 -0
- package/dist/{doctor-ZTOJ53SA.js → doctor-GEG64FBO.js} +54 -53
- package/dist/{emit-artifact-cmd-DNA5R6C2.js → emit-artifact-cmd-2ZHPNLPG.js} +21 -20
- package/dist/{emit-cmd-OGNFGQF6.js → emit-cmd-UN7HGZC5.js} +8 -8
- package/dist/{emit-criteria-cmd-UGLCECVP.js → emit-criteria-cmd-TUXGD7CW.js} +15 -14
- package/dist/{emit-demo-cmd-GBNYC5GU.js → emit-demo-cmd-4YMYB556.js} +22 -21
- package/dist/{emit-finding-cmd-66OOJS5Q.js → emit-finding-cmd-O2NN22XF.js} +15 -14
- package/dist/{emit-result-cmd-3BAYNI6R.js → emit-result-cmd-VRITADX2.js} +20 -19
- package/dist/{emit-step-cmd-S2ZISEQS.js → emit-step-cmd-LGNBZTWJ.js} +15 -14
- package/dist/{exec-client-PISQ53KG.js → exec-client-NXTXAVHI.js} +9 -8
- package/dist/find-unit-RYYTX2O5.js +24 -0
- package/dist/{findings-cmd-BPYW5IMS.js → findings-cmd-RJD7KTSW.js} +15 -14
- package/dist/{fleet-readiness-XNWEAVW7.js → fleet-readiness-RIO2SWC7.js} +15 -14
- package/dist/{governing-source-GS73BIQ3.js → governing-source-IR3KUGQF.js} +21 -20
- package/dist/guest-init-FLSL5RI7.js +20 -0
- package/dist/{hook-fast-IXIYJKAN.js → hook-fast-HYRZAY5K.js} +4 -4
- package/dist/{hook-install-LHVMFLO6.js → hook-install-CSHKOLWT.js} +5 -5
- package/dist/{hook-wrap-fast-FCZEUJKT.js → hook-wrap-fast-ITUBSHEF.js} +3 -3
- package/dist/host-checks-OB45XC67.js +79 -0
- package/dist/host-key-CPAEQSNU.js +18 -0
- package/dist/{image-tag-U4YQCHRG.js → image-tag-MAMFM4SO.js} +9 -8
- package/dist/index.js +6 -6
- package/dist/{init-WGLH27Q3.js → init-G34M5Y4W.js} +50 -49
- package/dist/init-HHD2NNWY.js +79 -0
- package/dist/{init-cmd-N7MZ3LA3.js → init-cmd-GDT27DWD.js} +30 -29
- package/dist/{init-update-5RY6XB27.js → init-update-TQH2Q7IZ.js} +24 -23
- package/dist/install-cmd-PVQ5M5NM.js +21 -0
- package/dist/{layout-3YKZWTPE.js → layout-2DF7ON2F.js} +5 -5
- package/dist/{logs-U7QU7KPL.js → logs-BM644OOJ.js} +8 -7
- package/dist/loop-6MSKJN52.js +90 -0
- package/dist/machine-LGD4UVCI.js +79 -0
- package/dist/{machine-skills-4UHKD4HT.js → machine-skills-O7XAZYLN.js} +5 -5
- package/dist/{mcp-install-cmd-SQV4UZD6.js → mcp-install-cmd-METCXTTR.js} +5 -5
- package/dist/{mcp-serve-cmd-LRNO35OS.js → mcp-serve-cmd-CTKBLSM6.js} +10 -9
- package/dist/{paths-TH2PHIEY.js → paths-VIBBLJ2W.js} +8 -7
- package/dist/pending-RXJKH4AC.js +18 -0
- package/dist/{pidfile-CI7F3737.js → pidfile-PAX5XHQJ.js} +9 -8
- package/dist/{record-OFRT5V22.js → record-QPXOUL6F.js} +9 -8
- package/dist/{relay-NCWAF6NQ.js → relay-KASDMV3R.js} +6 -5
- package/dist/{relay-protocol-Y3HGIACN.js → relay-protocol-7HSCZC5H.js} +6 -5
- package/dist/runner-agents-WUMCXVS2.js +14 -0
- package/dist/runner-env-R2C5LYCX.js +24 -0
- package/dist/{runner-identity-QS26JIKL.js → runner-identity-UDPLWT7I.js} +11 -10
- package/dist/{runner-key-OKTRAUHO.js → runner-key-Z2IQ5TS7.js} +49 -48
- package/dist/{session-sender-UB6GJWZS.js → session-sender-4QKSVX5Z.js} +21 -20
- package/dist/{shell-function-H75JWHLA.js → shell-function-FTY7SSAJ.js} +2 -2
- package/dist/{spec-cmd-B3Y2JF4M.js → spec-cmd-TON4PYGQ.js} +16 -15
- package/dist/{starter-pack-3BXEKGIH.js → starter-pack-LAPDUG6E.js} +6 -6
- package/dist/state-OTWJW4O7.js +18 -0
- package/dist/{status-MPPZT5KS.js → status-ROMTDMFO.js} +49 -48
- package/dist/{statusline-fast-BTJSU3MB.js → statusline-fast-7V7U4SI4.js} +3 -3
- package/dist/{sync-cmd-YUWBZNQD.js → sync-cmd-FLNYVXAE.js} +20 -19
- package/dist/update-steps-A5OSPYAS.js +80 -0
- package/dist/{watch-GOWRN3BK.js → watch-4V7FZI5R.js} +20 -19
- package/dist/{work-claim-cmd-CHCADUYP.js → work-claim-cmd-5EYXVPKH.js} +21 -20
- package/dist/{work-cmd-WUJXUXHP.js → work-cmd-RUOTA5K7.js} +15 -14
- package/dist/{work-comment-cmd-E3GBVCQX.js → work-comment-cmd-7UM3O3EL.js} +18 -17
- package/dist/{work-demo-cmd-YOLKT6ZD.js → work-demo-cmd-K4NRR2AK.js} +15 -14
- package/dist/{work-logs-cmd-SHWLRI4D.js → work-logs-cmd-QW7PNI6V.js} +15 -14
- package/dist/{work-open-pr-cmd-LHMYF4CX.js → work-open-pr-cmd-Y6MTWQG5.js} +16 -15
- package/dist/{work-pr-cmd-PAYHF664.js → work-pr-cmd-WUIMC7XB.js} +15 -14
- package/dist/{work-proofs-cmd-VRZ5EOTH.js → work-proofs-cmd-5LMTROA6.js} +17 -16
- package/dist/{work-proofs-record-ECHOY77G.js → work-proofs-record-3JGUT2F5.js} +26 -25
- package/dist/{work-stop-cmd-Z6RMU44Y.js → work-stop-cmd-R5F5VRUM.js} +15 -14
- package/package.json +1 -1
- package/dist/agent-setup-PCMTLHTT.js +0 -39
- package/dist/caller-6X73FHOM.js +0 -22
- package/dist/docker-5L7BRY2J.js +0 -19
- package/dist/find-unit-QQP7HH3R.js +0 -23
- package/dist/guest-init-7OVIIKLM.js +0 -19
- package/dist/host-checks-XVHIR3EK.js +0 -78
- package/dist/host-key-3FKGWSHL.js +0 -17
- package/dist/init-V6ESW3K6.js +0 -78
- package/dist/install-cmd-6GXTY4UW.js +0 -20
- package/dist/loop-XM24ZVOO.js +0 -89
- package/dist/machine-X2Z5RLVD.js +0 -78
- package/dist/pending-EZKNEM2I.js +0 -17
- package/dist/runner-env-PO3FMLIW.js +0 -23
- package/dist/state-BV5BZMTE.js +0 -17
- package/dist/update-steps-UNOE66M4.js +0 -79
|
@@ -0,0 +1,243 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import { createRequire } from 'node:module';
|
|
3
|
+
import { defaultAgents, agentById } from './chunk-54ERDQ3O.js';
|
|
4
|
+
import { LEGACY_AGENT, PROVIDERS } from './chunk-QJKW4MKH.js';
|
|
5
|
+
import { join, dirname } from 'path';
|
|
6
|
+
|
|
7
|
+
createRequire(import.meta.url);
|
|
8
|
+
|
|
9
|
+
// src/runner/image/pins.ts
|
|
10
|
+
var CLAUDE_CODE_VERSION = "2.1.284";
|
|
11
|
+
var DEFAULT_BASE_IMAGE = "ubuntu:24.04@sha256:008173c23f95b170204355c12626cb5a965d779a7e1283b09e9cffbb1bf33ca3";
|
|
12
|
+
var NODE_IMAGE = "node:22-bookworm-slim@sha256:43ac6c60b8f89723f746e8a92ce91abd5017e627ce1ddfe4238355d3a30b772c";
|
|
13
|
+
var BUILDKIT_IMAGE = "moby/buildkit:v0.33.1@sha256:cec9f139f45e93c5c69c60f8b07cfad9f43f4ef6b6a6cd917527fea5ff2e3dea";
|
|
14
|
+
var GH_VERSION = "2.101.0";
|
|
15
|
+
var GH_SHA256 = {
|
|
16
|
+
amd64: "9bca2d1c16825f109907a23307628a2f0698fbf99662b73a5cf0b020293072b8",
|
|
17
|
+
arm64: "b57e8063f18862647c9d22727c32e9da1b963f8bf9db648fe123a6975695640f"
|
|
18
|
+
};
|
|
19
|
+
var TINI_VERSION = "0.19.0";
|
|
20
|
+
var TINI_SHA256 = {
|
|
21
|
+
amd64: "c5b0666b4cb676901f90dfcb37106783c5fe2077b04590973b885950611b30ee",
|
|
22
|
+
arm64: "eae1d3aa50c48fb23b8cbdf4e369d0910dfc538566bfd09df89a774aa84a48b9"
|
|
23
|
+
};
|
|
24
|
+
var MICROVM_ARCHES = ["x86_64"];
|
|
25
|
+
function firecrackerArch(nodeArch) {
|
|
26
|
+
return nodeArch === "x64" ? "x86_64" : nodeArch === "arm64" ? "aarch64" : nodeArch;
|
|
27
|
+
}
|
|
28
|
+
var FIRECRACKER_VERSION = "1.17.0";
|
|
29
|
+
var FIRECRACKER_SHA256 = {
|
|
30
|
+
x86_64: "06094a1108ae9e82aa4c23a775aa92758f53f1175d422270d9d6162cb9ade558"
|
|
31
|
+
};
|
|
32
|
+
var FIRECRACKER_BINARY_SHA256 = {
|
|
33
|
+
x86_64: "99ad0f5cd0514a88aad0e9ae8cfdb3cc3b4ab9d190e1194602406c786b5de7a5"
|
|
34
|
+
};
|
|
35
|
+
var GUEST_ASSETS_VERSION = "16";
|
|
36
|
+
var GUEST_ASSETS_BASE_URL = `https://github.com/outerlayerai/guest-assets/releases/download/guest-${GUEST_ASSETS_VERSION}`;
|
|
37
|
+
var GUEST_KERNEL_SHA256 = {
|
|
38
|
+
x86_64: "8552fad4bdea1d49f3e7d2aa500ce3f8918fcd2fc66779fd83235949688a39bb"
|
|
39
|
+
};
|
|
40
|
+
var GUEST_HELPER_SHA256 = {
|
|
41
|
+
x86_64: "c3c7f30a7238d274ea220632bb43a0e46589ee4194e9d7351774c17a2541cc12"
|
|
42
|
+
};
|
|
43
|
+
function guestAssetsPinned(arch) {
|
|
44
|
+
const zero = "0".repeat(64);
|
|
45
|
+
return GUEST_KERNEL_SHA256[arch] !== zero && GUEST_HELPER_SHA256[arch] !== zero;
|
|
46
|
+
}
|
|
47
|
+
var NETWORK_HELPER_SHA256 = {
|
|
48
|
+
x86_64: "c3c7f30a7238d274ea220632bb43a0e46589ee4194e9d7351774c17a2541cc12",
|
|
49
|
+
aarch64: "02c10b2c2b7b233375e8f127ef3dd9fe43f9426a18f0d2cbb81b103911c62703"
|
|
50
|
+
};
|
|
51
|
+
function networkHelperPinned(arch, hashes = NETWORK_HELPER_SHA256) {
|
|
52
|
+
return Object.hasOwn(hashes, arch) && hashes[arch] !== "0".repeat(64);
|
|
53
|
+
}
|
|
54
|
+
var JAILER_BINARY_SHA256 = {
|
|
55
|
+
x86_64: "65ef226e96f0ceda55ba643f445801ef2cc0ea667ef67cad8ac4f406c9c8434f"
|
|
56
|
+
};
|
|
57
|
+
var HOST_HELPER_ASSETS_VERSION = "17";
|
|
58
|
+
var HOST_HELPER_BASE_URL = `https://github.com/outerlayerai/guest-assets/releases/download/guest-${HOST_HELPER_ASSETS_VERSION}`;
|
|
59
|
+
var HOST_HELPER_SHA256 = {
|
|
60
|
+
x86_64: "0cd70e76a462212ed334b90edefb3dc1e4c584f93af7d990dbc801b67884f29f"
|
|
61
|
+
};
|
|
62
|
+
var HOST_HELPER_SLICE_SINCE = 15;
|
|
63
|
+
function hostHelperSupportsSlice(version = HOST_HELPER_ASSETS_VERSION) {
|
|
64
|
+
return Number(version) >= HOST_HELPER_SLICE_SINCE;
|
|
65
|
+
}
|
|
66
|
+
function hostHelperPinned(arch = "x86_64", hashes = HOST_HELPER_SHA256) {
|
|
67
|
+
return hashes[arch] !== "0".repeat(64);
|
|
68
|
+
}
|
|
69
|
+
var BUILDER_DISK_VERSION = "1";
|
|
70
|
+
var BUILDER_DISK_BASE_URL = `https://github.com/outerlayerai/guest-assets/releases/download/builder-${BUILDER_DISK_VERSION}`;
|
|
71
|
+
var BUILDER_DISK_SHA256 = {
|
|
72
|
+
x86_64: "fb581f3cc5a7329b2f65b5d62e42be8a53cf845596a76d7ad938ba4c2598dc37"
|
|
73
|
+
};
|
|
74
|
+
function builderDiskPinned(arch = "x86_64", hashes = BUILDER_DISK_SHA256) {
|
|
75
|
+
return hashes[arch] !== "0".repeat(64);
|
|
76
|
+
}
|
|
77
|
+
var VOICE_PACK_VERSION = "kokoro-82m-v1.0-ort-1.21.0";
|
|
78
|
+
var KOKORO_REVISION = "1939ad2a8e416c0acfeecc08a694d14ef25f2231";
|
|
79
|
+
var KOKORO_BASE_URL = `https://huggingface.co/onnx-community/Kokoro-82M-v1.0-ONNX/resolve/${KOKORO_REVISION}`;
|
|
80
|
+
var ONNX_RUNTIME_VERSION = "1.21.0";
|
|
81
|
+
var VOICE_PACK_FILES = [
|
|
82
|
+
{
|
|
83
|
+
name: "model.onnx",
|
|
84
|
+
url: `${KOKORO_BASE_URL}/onnx/model.onnx`,
|
|
85
|
+
sha256: "8fbea51ea711f2af382e88c833d9e288c6dc82ce5e98421ea61c058ce21a34cb"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
name: "af_heart.bin",
|
|
89
|
+
url: `${KOKORO_BASE_URL}/voices/af_heart.bin`,
|
|
90
|
+
sha256: "d583ccff3cdca2f7fae535cb998ac07e9fcb90f09737b9a41fa2734ec44a8f0b"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
name: "tokenizer.json",
|
|
94
|
+
url: `${KOKORO_BASE_URL}/tokenizer.json`,
|
|
95
|
+
sha256: "77a02c8e164413299b4b4c403b14f8e0e1c1b727db4d46a09d6327b861060a34"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
name: `onnxruntime-node-${ONNX_RUNTIME_VERSION}.tgz`,
|
|
99
|
+
url: `https://registry.npmjs.org/onnxruntime-node/-/onnxruntime-node-${ONNX_RUNTIME_VERSION}.tgz`,
|
|
100
|
+
sha256: "c711a4048a8b460a70de25a5008b1628e3773878ef9deec1dd4a4ccab46de01a"
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
name: `onnxruntime-common-${ONNX_RUNTIME_VERSION}.tgz`,
|
|
104
|
+
url: `https://registry.npmjs.org/onnxruntime-common/-/onnxruntime-common-${ONNX_RUNTIME_VERSION}.tgz`,
|
|
105
|
+
sha256: "9c6126102b312514e64703c0922772974ee5c83e89eb345161226bcfeb67a22c"
|
|
106
|
+
}
|
|
107
|
+
];
|
|
108
|
+
var FFMPEG_BUILD_TAG = "autobuild-2026-09-30-13-08";
|
|
109
|
+
var FFMPEG_STATIC = {
|
|
110
|
+
amd64: {
|
|
111
|
+
file: "ffmpeg-n8.1.3-9-g29e619e767-linux64-lgpl-8.1.tar.xz",
|
|
112
|
+
sha256: "dfa863a00ca81f1bdf58a372b18cff4820f0017e55de32778de8ecd8ed92a02e"
|
|
113
|
+
},
|
|
114
|
+
arm64: {
|
|
115
|
+
file: "ffmpeg-n8.1.3-9-g29e619e767-linuxarm64-lgpl-8.1.tar.xz",
|
|
116
|
+
sha256: "8463881ca7a25015ca6e00f5c91dd2f1637eb73d33c8230413cb74db760a86b3"
|
|
117
|
+
}
|
|
118
|
+
};
|
|
119
|
+
var PLAYWRIGHT_VERSION = "1.64.1";
|
|
120
|
+
var HEADLESS_SHELL_VERSION = "156.0.8078.4";
|
|
121
|
+
var HEADLESS_SHELL_REVISION = "1248";
|
|
122
|
+
var HEADLESS_SHELL_BASE_URL = `https://cdn.playwright.dev/builds/cft/${HEADLESS_SHELL_VERSION}`;
|
|
123
|
+
var HEADLESS_SHELL = {
|
|
124
|
+
amd64: {
|
|
125
|
+
file: "linux64/chrome-headless-shell-linux64.zip",
|
|
126
|
+
sha256: "c3e50596aef52c58f8fda3c6b3411c33d34c88b177b3ed1c2243359fd3b8ba20"
|
|
127
|
+
},
|
|
128
|
+
arm64: {
|
|
129
|
+
file: "linux-arm64/chrome-headless-shell-linux-arm64.zip",
|
|
130
|
+
sha256: "81ab9d4d3c301dc5fdfb6c541b9e6632b16fc819a6a854460f40a76fe2b2c476"
|
|
131
|
+
}
|
|
132
|
+
};
|
|
133
|
+
var PLAYWRIGHT_FFMPEG_REVISION = "1013";
|
|
134
|
+
var PLAYWRIGHT_FFMPEG_BASE_URL = `https://cdn.playwright.dev/dbazure/download/playwright/builds/ffmpeg/${PLAYWRIGHT_FFMPEG_REVISION}`;
|
|
135
|
+
var PLAYWRIGHT_FFMPEG = {
|
|
136
|
+
amd64: { file: "ffmpeg-linux.zip", sha256: "ee986434d158f74fb5d9c5ff1092026ceedb63f324fe90b5be89460926b7b679" },
|
|
137
|
+
arm64: { file: "ffmpeg-linux-arm64.zip", sha256: "457360e803a7d8d5f8f7f5ecf562b2d338f6b4f7f86339d0c31938a451e8878b" }
|
|
138
|
+
};
|
|
139
|
+
var MEDIA_PINS = `${VOICE_PACK_VERSION}+${FFMPEG_BUILD_TAG}+${HEADLESS_SHELL_VERSION}+${PLAYWRIGHT_FFMPEG_REVISION}`;
|
|
140
|
+
var UNIVERSAL_IMAGE_REPOSITORY = "ghcr.io/outerlayerai/universal";
|
|
141
|
+
var UNIVERSAL_IMAGE_SOURCE = "src-31a73cfe0a526ab602fbbec0deedffa4165e8f53f640da8fc4be775922f5c4f8";
|
|
142
|
+
var UNIVERSAL_IMAGE_DIGEST = "sha256:6ea02267766a9d312c80a9cff34d4af3d458f672df4befbba7c9c826d20cf9d5";
|
|
143
|
+
var UNIVERSAL_IMAGE = `${UNIVERSAL_IMAGE_REPOSITORY}:${UNIVERSAL_IMAGE_SOURCE}@${UNIVERSAL_IMAGE_DIGEST}`;
|
|
144
|
+
function universalImagePinned(digest = UNIVERSAL_IMAGE_DIGEST) {
|
|
145
|
+
return digest !== `sha256:${"0".repeat(64)}`;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
// src/runner/runner-agents.ts
|
|
149
|
+
var AGENT_PINS = { [LEGACY_AGENT]: CLAUDE_CODE_VERSION };
|
|
150
|
+
function runnerAgents(agents = defaultAgents()) {
|
|
151
|
+
return agents.flatMap((agent) => agent.adapter.credentials === void 0 ? [] : [{ descriptor: agent.descriptor, adapter: agent.adapter, credentials: agent.adapter.credentials }]);
|
|
152
|
+
}
|
|
153
|
+
function credentialAgent(agents = defaultAgents()) {
|
|
154
|
+
return runnerAgents(agents)[0];
|
|
155
|
+
}
|
|
156
|
+
function buildAgent(agents = defaultAgents()) {
|
|
157
|
+
return agentById(LEGACY_AGENT, agents);
|
|
158
|
+
}
|
|
159
|
+
function jobAgent(_job, agents = defaultAgents()) {
|
|
160
|
+
return buildAgent(agents);
|
|
161
|
+
}
|
|
162
|
+
var JOB_AGENT_ID = LEGACY_AGENT;
|
|
163
|
+
function headlessAgents(agents = defaultAgents()) {
|
|
164
|
+
return agents.flatMap((agent) => agent.adapter.headless === void 0 ? [] : [{ descriptor: agent.descriptor, adapter: agent.adapter, headless: agent.adapter.headless }]);
|
|
165
|
+
}
|
|
166
|
+
function headlessNames(agents = defaultAgents()) {
|
|
167
|
+
return headlessAgents(agents).map((agent) => runnerNameOf(agent.descriptor));
|
|
168
|
+
}
|
|
169
|
+
function agentCommands(name, agents = defaultAgents()) {
|
|
170
|
+
const found = headlessAgents(agents).find((agent) => runnerNameOf(agent.descriptor) === name);
|
|
171
|
+
return found === void 0 ? void 0 : { implement: found.headless.commandLine("/build"), amend: found.headless.commandLine("/outerlayer-amend") };
|
|
172
|
+
}
|
|
173
|
+
function runnerNameOf(descriptor) {
|
|
174
|
+
return descriptor.legacy?.runnerName ?? descriptor.id;
|
|
175
|
+
}
|
|
176
|
+
function runnerAgentNamed(name, agents = defaultAgents()) {
|
|
177
|
+
return runnerAgents(agents).find((agent) => runnerNameOf(agent.descriptor) === name);
|
|
178
|
+
}
|
|
179
|
+
function credentialNames(descriptor) {
|
|
180
|
+
return { envFile: descriptor.legacy?.envFile ?? `${descriptor.id}.env`, credentialId: descriptor.legacy?.credentialId ?? descriptor.id };
|
|
181
|
+
}
|
|
182
|
+
function credentialEnvPath(configPath, agents = defaultAgents()) {
|
|
183
|
+
const agent = credentialAgent(agents);
|
|
184
|
+
return agent === void 0 ? void 0 : join(dirname(configPath), credentialNames(agent.descriptor).envFile);
|
|
185
|
+
}
|
|
186
|
+
function handOffKey(descriptor) {
|
|
187
|
+
return descriptor.legacy?.handOffKey ?? `${descriptor.id}Credential`;
|
|
188
|
+
}
|
|
189
|
+
function credentialHandOffKey(agents = defaultAgents()) {
|
|
190
|
+
const agent = credentialAgent(agents);
|
|
191
|
+
return agent === void 0 ? "credential" : handOffKey(agent.descriptor);
|
|
192
|
+
}
|
|
193
|
+
var MANAGED_KIND = "api-key";
|
|
194
|
+
function managedKeyName(agents = defaultAgents(), providers = PROVIDERS) {
|
|
195
|
+
const provider = providersOf(agents, providers)[0];
|
|
196
|
+
if (provider === void 0) return MANAGED_KIND;
|
|
197
|
+
return `${provider.label} ${provider.credentialKinds.find((kind) => kind.id === MANAGED_KIND)?.label ?? MANAGED_KIND}`;
|
|
198
|
+
}
|
|
199
|
+
function storeVariables(forms) {
|
|
200
|
+
const [first, ...rest] = forms.variables;
|
|
201
|
+
return [`${first} (from \`${forms.setupCommand}\`)`, ...rest].join(" or ");
|
|
202
|
+
}
|
|
203
|
+
function credentialForms(descriptor) {
|
|
204
|
+
const { label, setupCommand, forwarded } = descriptor.credentials;
|
|
205
|
+
return { label, possessive: `${label}'s`, checkName: `${runnerNameOf(descriptor)} credential`, setupCommand, variables: forwarded, runnerName: runnerNameOf(descriptor), envFile: credentialNames(descriptor).envFile };
|
|
206
|
+
}
|
|
207
|
+
function credentialShapes(descriptor, providers = PROVIDERS) {
|
|
208
|
+
const { setupCommand, forwarded, kinds } = descriptor.credentials;
|
|
209
|
+
return forwarded.map((variable, index) => {
|
|
210
|
+
const kind = kinds[variable];
|
|
211
|
+
const provider = providers[kind.provider];
|
|
212
|
+
const name = `${provider?.label ?? kind.provider} ${provider?.credentialKinds.find((candidate) => candidate.id === kind.providerKind)?.label ?? kind.providerKind}`;
|
|
213
|
+
return { phrase: index === 0 ? `a token from \`${setupCommand}\`` : `${/^[AEIOU]/i.test(name) ? "an" : "a"} ${name}`, starts: kind.starts };
|
|
214
|
+
});
|
|
215
|
+
}
|
|
216
|
+
function orList(items) {
|
|
217
|
+
return items.length <= 2 ? items.join(", or ") : `${items.slice(0, -1).join(", ")}, or ${items.at(-1)}`;
|
|
218
|
+
}
|
|
219
|
+
function forwardedVariables(agents = defaultAgents()) {
|
|
220
|
+
return [...new Set(runnerAgents(agents).flatMap((agent) => agent.descriptor.credentials.forwarded))];
|
|
221
|
+
}
|
|
222
|
+
function strippedVariables(agents = defaultAgents()) {
|
|
223
|
+
return [...new Set(runnerAgents(agents).flatMap((agent) => agent.descriptor.credentials.stripped))];
|
|
224
|
+
}
|
|
225
|
+
function providersOf(agents = defaultAgents(), providers = PROVIDERS) {
|
|
226
|
+
const named = runnerAgents(agents).flatMap((agent) => agent.descriptor.providers);
|
|
227
|
+
return [...new Set(named)].flatMap((id) => providers[id] === void 0 ? [] : [providers[id]]);
|
|
228
|
+
}
|
|
229
|
+
function buildAgentPin(agents = defaultAgents()) {
|
|
230
|
+
return AGENT_PINS[buildAgent(agents)?.descriptor.id ?? LEGACY_AGENT];
|
|
231
|
+
}
|
|
232
|
+
function agentVersionOf(toolsJson, agents = defaultAgents()) {
|
|
233
|
+
const agent = buildAgent(agents);
|
|
234
|
+
try {
|
|
235
|
+
const key = agent?.adapter.image?.versionKey;
|
|
236
|
+
const version = key === void 0 ? void 0 : JSON.parse(toolsJson)[key];
|
|
237
|
+
if (typeof version === "string" && version !== "") return version;
|
|
238
|
+
} catch {
|
|
239
|
+
}
|
|
240
|
+
return buildAgentPin(agents);
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
export { AGENT_PINS, BUILDER_DISK_BASE_URL, BUILDER_DISK_SHA256, BUILDER_DISK_VERSION, BUILDKIT_IMAGE, DEFAULT_BASE_IMAGE, FFMPEG_BUILD_TAG, FFMPEG_STATIC, FIRECRACKER_BINARY_SHA256, FIRECRACKER_SHA256, FIRECRACKER_VERSION, GH_SHA256, GH_VERSION, GUEST_ASSETS_BASE_URL, GUEST_ASSETS_VERSION, GUEST_HELPER_SHA256, GUEST_KERNEL_SHA256, HEADLESS_SHELL, HEADLESS_SHELL_BASE_URL, HEADLESS_SHELL_REVISION, HOST_HELPER_ASSETS_VERSION, HOST_HELPER_BASE_URL, HOST_HELPER_SHA256, HOST_HELPER_SLICE_SINCE, JAILER_BINARY_SHA256, JOB_AGENT_ID, MANAGED_KIND, MEDIA_PINS, MICROVM_ARCHES, NETWORK_HELPER_SHA256, NODE_IMAGE, PLAYWRIGHT_FFMPEG, PLAYWRIGHT_FFMPEG_BASE_URL, PLAYWRIGHT_FFMPEG_REVISION, PLAYWRIGHT_VERSION, TINI_SHA256, TINI_VERSION, UNIVERSAL_IMAGE, UNIVERSAL_IMAGE_DIGEST, UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_SOURCE, VOICE_PACK_FILES, VOICE_PACK_VERSION, agentCommands, agentVersionOf, buildAgent, buildAgentPin, builderDiskPinned, credentialAgent, credentialEnvPath, credentialForms, credentialHandOffKey, credentialNames, credentialShapes, firecrackerArch, forwardedVariables, guestAssetsPinned, headlessNames, hostHelperPinned, hostHelperSupportsSlice, jobAgent, managedKeyName, networkHelperPinned, orList, providersOf, runnerAgentNamed, runnerAgents, storeVariables, strippedVariables, universalImagePinned };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { parseSize, BUILD_LABEL, RUNNER_LABEL, runnerLabelValue } from './chunk-
|
|
4
|
-
import { buildsDir, storeScopes, rootfsDir, orgStoreIn, runnerDir, imagesDir, builderCacheDiskPath } from './chunk-
|
|
3
|
+
import { parseSize, BUILD_LABEL, RUNNER_LABEL, runnerLabelValue } from './chunk-6UI4ELNA.js';
|
|
4
|
+
import { buildsDir, storeScopes, rootfsDir, orgStoreIn, runnerDir, imagesDir, builderCacheDiskPath } from './chunk-L3SHPR2M.js';
|
|
5
5
|
import { spawnSync } from 'child_process';
|
|
6
6
|
import { statfsSync, statSync, existsSync, readdirSync } from 'fs';
|
|
7
7
|
import { dirname, join } from 'path';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { RemovedTargetError, removedTargetError } from './chunk-
|
|
4
|
-
import { removeRetiredSkills } from './chunk-
|
|
5
|
-
import { defaultFetch, resolveGatewayCredentials } from './chunk-
|
|
6
|
-
import { withTokenHeader } from './chunk-
|
|
3
|
+
import { RemovedTargetError, removedTargetError } from './chunk-YEZGNCSK.js';
|
|
4
|
+
import { removeRetiredSkills } from './chunk-NQYTUVZR.js';
|
|
5
|
+
import { defaultFetch, resolveGatewayCredentials } from './chunk-HR4PJLOO.js';
|
|
6
|
+
import { withTokenHeader } from './chunk-LDKF6B2R.js';
|
|
7
7
|
import { appendContextProvenance } from './chunk-545P7JY7.js';
|
|
8
8
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
9
9
|
import { writeDegraded, writeSourceCache, SOURCE_CACHE_TTL_RETRY_MS, writeContextManifest, SOURCE_CACHE_TTL_SUCCESS_MS, readSourceCache, isSourceCacheFresh, clearDegraded } from './chunk-YQR6E6OV.js';
|
|
10
|
-
import { normalizeRepoName, loadMaintainedFiles, writeMaintainedFiles, parseOuterlayerConfig, targetIds, classifyTree, emitTree, emitBuilders, defaultAgents, agentRootFolders } from './chunk-
|
|
10
|
+
import { normalizeRepoName, loadMaintainedFiles, writeMaintainedFiles, parseOuterlayerConfig, targetIds, classifyTree, emitTree, emitBuilders, defaultAgents, agentRootFolders } from './chunk-54ERDQ3O.js';
|
|
11
11
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
12
12
|
import { execFileSync } from 'child_process';
|
|
13
13
|
import { existsSync, mkdirSync, writeFileSync, chmodSync, lstatSync, readFileSync, copyFileSync } from 'fs';
|
|
@@ -3,7 +3,7 @@ import { createRequire } from 'node:module';
|
|
|
3
3
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
4
4
|
import { readCloudConfig } from './chunk-HWVMRETT.js';
|
|
5
5
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
6
|
-
import { defaultAgents, legacyAgent, contextAgents, McpFileError } from './chunk-
|
|
6
|
+
import { defaultAgents, legacyAgent, contextAgents, McpFileError } from './chunk-54ERDQ3O.js';
|
|
7
7
|
import { mkdirSync, writeFileSync, existsSync, readFileSync } from 'fs';
|
|
8
8
|
import { join, dirname } from 'path';
|
|
9
9
|
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { launchRefusalForSession } from './chunk-WGC7UFRM.js';
|
|
4
|
-
import { detectActiveSession, transcriptPathForSession } from './chunk-
|
|
5
|
-
import { autoConnect } from './chunk-
|
|
4
|
+
import { detectActiveSession, transcriptPathForSession } from './chunk-T5I2H7TJ.js';
|
|
5
|
+
import { autoConnect } from './chunk-UZSMDU4U.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
7
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-HR4PJLOO.js';
|
|
8
8
|
import { readLatestProvenanceForSession } from './chunk-545P7JY7.js';
|
|
9
9
|
import { launchedItemForSession } from './chunk-4OD45RBP.js';
|
|
10
10
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
11
11
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
12
|
-
import { legacyAgent, captureAgents, sessionFolderIn } from './chunk-
|
|
12
|
+
import { legacyAgent, captureAgents, sessionFolderIn } from './chunk-54ERDQ3O.js';
|
|
13
13
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
14
|
-
import { resolveRepoIdentity, scrubText } from './chunk-
|
|
14
|
+
import { resolveRepoIdentity, scrubText } from './chunk-WZOWXDDM.js';
|
|
15
15
|
import { FindingBatchSchema, FindingsResponseSchema, SAME_PROBLEM_RULES } from './chunk-WUKLQWGY.js';
|
|
16
16
|
import { readFileSync, existsSync } from 'fs';
|
|
17
17
|
import { homedir } from 'os';
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { uploadSpooledSteps } from './chunk-
|
|
3
|
+
import { uploadSpooledSteps } from './chunk-LXXP5HRJ.js';
|
|
4
4
|
import { LaunchFilter } from './chunk-WGC7UFRM.js';
|
|
5
5
|
import { migrateLegacyArtifactSidecars, planArtifactUpload, artifactsStatePath, sanitizeTerminal, acquireArtifactSpoolLock, artifactBlobsDir, resolveArtifactTurnIndex, isArtifactTombstoned, ARTIFACT_RETRY_MAX_AGE_MS, writeArtifactSpoolState, reclaimUnneededArtifactBlobs, neededArtifactShas } from './chunk-F3T5QJ24.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { cliFetch, resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
7
|
+
import { cliFetch, resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-HR4PJLOO.js';
|
|
8
8
|
import { readCloudConfig, cloudConfigPath, writeCloudConfig } from './chunk-HWVMRETT.js';
|
|
9
|
-
import { signerFor, signRunnerRequest } from './chunk-
|
|
10
|
-
import { SCRUB_ENV_VARIABLE } from './chunk-
|
|
11
|
-
import { writeSyncStatus, spoolDir } from './chunk-
|
|
9
|
+
import { signerFor, signRunnerRequest } from './chunk-KHJPRTOW.js';
|
|
10
|
+
import { SCRUB_ENV_VARIABLE } from './chunk-LDKF6B2R.js';
|
|
11
|
+
import { writeSyncStatus, spoolDir } from './chunk-SYKEQT63.js';
|
|
12
12
|
import { readLatestProvenanceForSession, readContextProvenance } from './chunk-545P7JY7.js';
|
|
13
|
-
import { hookExecSpoolPath } from './chunk-AUZAQL7C.js';
|
|
14
|
-
import { applyReportedCost } from './chunk-BKO6JEZI.js';
|
|
15
13
|
import { readRepoConnection, findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
14
|
+
import { hookExecSpoolPath } from './chunk-DWYQKLCL.js';
|
|
15
|
+
import { applyReportedCost } from './chunk-BKO6JEZI.js';
|
|
16
16
|
import { readLaunchSpoolState, launchStatusIsDecisive, launchedItemsBySession, launchesPath } from './chunk-4OD45RBP.js';
|
|
17
17
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
18
18
|
import { removeJournalHooks } from './chunk-CJPTUU2E.js';
|
|
19
|
-
import { legacyAgent, captureAdapters } from './chunk-
|
|
20
|
-
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-
|
|
19
|
+
import { legacyAgent, captureAdapters } from './chunk-54ERDQ3O.js';
|
|
20
|
+
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-QJKW4MKH.js';
|
|
21
21
|
import { homeFromEnv, spoolHomeFromEnv } from './chunk-352DHUTP.js';
|
|
22
|
-
import { setCustomScrubbers, setLocalIdentity, forkFor, readForkRecord, tailTranscript, enrichSessionRepo, scanAll, setRepoRoot, resolveRepoIdentity, scrubDeep } from './chunk-
|
|
22
|
+
import { setCustomScrubbers, setLocalIdentity, forkFor, readForkRecord, tailTranscript, enrichSessionRepo, scanAll, setRepoRoot, resolveRepoIdentity, scrubDeep } from './chunk-WZOWXDDM.js';
|
|
23
23
|
import { CAPTURE_TIERS, inferArtifactKind, bannedPathsForTier, downconvertSession, isHumanUserTurn, turnCountBound, EVENT_TYPES } from './chunk-WUKLQWGY.js';
|
|
24
24
|
import { dirname, basename, join, sep } from 'path';
|
|
25
25
|
import { statSync, readFileSync, readdirSync, mkdirSync, writeFileSync, renameSync, existsSync, rmSync } from 'fs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir } from './chunk-
|
|
3
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir } from './chunk-L3SHPR2M.js';
|
|
4
4
|
import { mkdirSync, writeFileSync, renameSync, existsSync, readFileSync } from 'fs';
|
|
5
5
|
import { dirname, join } from 'path';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { hostKeyPath, runnerDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-
|
|
3
|
+
import { hostKeyPath, runnerDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-L3SHPR2M.js';
|
|
4
4
|
import { generateKeyPairSync, createPrivateKey, createPublicKey, sign } from 'crypto';
|
|
5
5
|
import { existsSync, mkdirSync, writeFileSync, readFileSync } from 'fs';
|
|
6
6
|
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { builtInNames, TARGET_TUNNEL, TARGET_LEASE, destinationTarget, builtInDestinations,
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
3
|
+
import { builtInNames, TARGET_TUNNEL, TARGET_LEASE, destinationTarget, builtInDestinations, builtInEnvironment, managedAgentCredential, agentCredential, destinationPort } from './chunk-7UYXSF62.js';
|
|
4
|
+
import { strippedVariables } from './chunk-IEDO26G4.js';
|
|
5
|
+
import { defaultAgents } from './chunk-54ERDQ3O.js';
|
|
6
|
+
import { PROVIDERS } from './chunk-QJKW4MKH.js';
|
|
6
7
|
import { existsSync, unlinkSync, chmodSync } from 'fs';
|
|
7
8
|
import { request as request$1, createServer } from 'http';
|
|
8
9
|
import { request } from 'https';
|
|
@@ -1,21 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { DEFAULT_UNIT_NAME } from './chunk-
|
|
4
|
-
import { RUNNER_FILE_MODE } from './chunk-
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
3
|
+
import { DEFAULT_UNIT_NAME } from './chunk-ZZ4WIQRF.js';
|
|
4
|
+
import { RUNNER_FILE_MODE } from './chunk-L3SHPR2M.js';
|
|
5
|
+
import { withoutCredentialLines, parseRunnerEnv } from './chunk-7UYXSF62.js';
|
|
6
|
+
import { headlessNames, runnerAgents, credentialAgent, credentialForms, orList, credentialShapes, credentialEnvPath, forwardedVariables } from './chunk-IEDO26G4.js';
|
|
7
|
+
import { defaultAgents } from './chunk-54ERDQ3O.js';
|
|
7
8
|
import { existsSync, readFileSync, writeFileSync, renameSync, rmSync } from 'fs';
|
|
8
9
|
import { join, dirname } from 'path';
|
|
9
10
|
|
|
10
11
|
createRequire(import.meta.url);
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
implement: 'claude -p "/build" --permission-mode bypassPermissions',
|
|
14
|
-
amend: 'claude -p "/outerlayer-amend" --permission-mode bypassPermissions'
|
|
15
|
-
}
|
|
16
|
-
};
|
|
17
|
-
function isAgentName(name) {
|
|
18
|
-
return Object.hasOwn(AGENT_COMMANDS, name);
|
|
12
|
+
function isAgentName(name, agents = defaultAgents()) {
|
|
13
|
+
return headlessNames(agents).includes(name);
|
|
19
14
|
}
|
|
20
15
|
var RunnerEnvError = class extends Error {
|
|
21
16
|
};
|
|
@@ -75,4 +70,4 @@ function restartForCredential(state, unitName = DEFAULT_UNIT_NAME, agents = defa
|
|
|
75
70
|
return `The service ${unitName} loads ${file} only when it starts. Restart it so it uses the stored credential: sudo systemctl restart ${unitName}`;
|
|
76
71
|
}
|
|
77
72
|
|
|
78
|
-
export {
|
|
73
|
+
export { RunnerEnvError, credentialFromStdin, hasStoredCredential, isAgentName, restartForCredential, storeAgentCredential };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { launchRefusalForSession } from './chunk-WGC7UFRM.js';
|
|
4
|
-
import { detectActiveSession } from './chunk-
|
|
5
|
-
import { autoConnect } from './chunk-
|
|
4
|
+
import { detectActiveSession } from './chunk-T5I2H7TJ.js';
|
|
5
|
+
import { autoConnect } from './chunk-UZSMDU4U.js';
|
|
6
6
|
import { acquireSpoolLockAt } from './chunk-F3T5QJ24.js';
|
|
7
7
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
8
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
8
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-HR4PJLOO.js';
|
|
9
9
|
import { launchedItemForSession } from './chunk-4OD45RBP.js';
|
|
10
10
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
11
11
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
12
|
-
import { resolveRepoIdentity } from './chunk-
|
|
12
|
+
import { resolveRepoIdentity } from './chunk-WZOWXDDM.js';
|
|
13
13
|
import { StepNameSchema, StepBodySchema } from './chunk-WUKLQWGY.js';
|
|
14
14
|
import { randomUUID } from 'crypto';
|
|
15
15
|
import { readFileSync, existsSync, mkdirSync, writeFileSync, renameSync, appendFileSync } from 'fs';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-
|
|
4
|
-
import { GATEWAY_SOCKET, GATEWAY_PORT, providerDestinations } from './chunk-
|
|
5
|
-
import { defaultAgents } from './chunk-
|
|
6
|
-
import { PROVIDERS } from './chunk-
|
|
3
|
+
import { RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-LDKF6B2R.js';
|
|
4
|
+
import { GATEWAY_SOCKET, GATEWAY_PORT, providerDestinations } from './chunk-7UYXSF62.js';
|
|
5
|
+
import { defaultAgents } from './chunk-54ERDQ3O.js';
|
|
6
|
+
import { PROVIDERS } from './chunk-QJKW4MKH.js';
|
|
7
7
|
import { symlinkSync, unlinkSync } from 'fs';
|
|
8
8
|
import { join } from 'path';
|
|
9
9
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { WorkCommandError, postJson } from './chunk-
|
|
4
|
-
import { defaultGitRunner, materializeContext, fetchControlPlaneCommit, lookupGoverningSource } from './chunk-
|
|
5
|
-
import { buildRefusalReason } from './chunk-
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { SHIM_SCRIPT, GOVERNANCE_VARIABLE } from './chunk-
|
|
3
|
+
import { WorkCommandError, postJson } from './chunk-H4G26OZC.js';
|
|
4
|
+
import { defaultGitRunner, materializeContext, fetchControlPlaneCommit, lookupGoverningSource } from './chunk-J4NJWTNO.js';
|
|
5
|
+
import { buildRefusalReason } from './chunk-YEZGNCSK.js';
|
|
6
|
+
import { unsupportedLayout, layoutRefusalReason, composeDelivery } from './chunk-3XEYA3QF.js';
|
|
7
|
+
import { signingFetchFor } from './chunk-HR4PJLOO.js';
|
|
8
|
+
import { signerFor } from './chunk-KHJPRTOW.js';
|
|
9
|
+
import { SHIM_DIR, stagedContextDir, contextHomeDir, deliveryDir, keptContextDir } from './chunk-L3SHPR2M.js';
|
|
10
|
+
import { SHIM_SCRIPT, GOVERNANCE_VARIABLE } from './chunk-OV4XTV5M.js';
|
|
11
11
|
import { readDegraded, readContextManifest, readSourceCache } from './chunk-YQR6E6OV.js';
|
|
12
12
|
import { fstatSync, mkdirSync, writeFileSync, chmodSync, rmSync, cpSync, readFileSync, existsSync, lstatSync } from 'fs';
|
|
13
13
|
import { relative, join, dirname } from 'path';
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { staleBuildRefusal, staleBuildWarning, detectCi } from './chunk-
|
|
3
|
+
import { staleBuildRefusal, staleBuildWarning, detectCi } from './chunk-K26KMWU4.js';
|
|
4
4
|
import { launchRefusalForSession } from './chunk-WGC7UFRM.js';
|
|
5
|
-
import { detectActiveSession } from './chunk-
|
|
6
|
-
import { autoConnect } from './chunk-
|
|
5
|
+
import { detectActiveSession } from './chunk-T5I2H7TJ.js';
|
|
6
|
+
import { autoConnect } from './chunk-UZSMDU4U.js';
|
|
7
7
|
import { readEffectiveArtifactSpoolState, localArtifactIds, isArtifactTombstoned, artifactBlobsDir, appendArtifactRecord, artifactsSpoolPath, findPendingArtifactRecord, sanitizeTerminal, appendArtifactTombstone } from './chunk-F3T5QJ24.js';
|
|
8
8
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
9
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
9
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-HR4PJLOO.js';
|
|
10
10
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
11
11
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
12
|
-
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-
|
|
12
|
+
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-QJKW4MKH.js';
|
|
13
13
|
import { homeFromEnv, spoolHomeFromEnv } from './chunk-352DHUTP.js';
|
|
14
|
-
import { resolveRepoIdentity } from './chunk-
|
|
14
|
+
import { resolveRepoIdentity } from './chunk-WZOWXDDM.js';
|
|
15
15
|
import { ARTIFACT_MAX_CAPTION_LENGTH, ArtifactCriterionIdSchema, ARTIFACT_MAX_BYTES, ARTIFACT_MAX_FILENAME_LENGTH, mediaTypeForArtifactPath, inferArtifactKind, ARTIFACT_MAX_REPLACES_TARGETS, parseTestSelector, parseJunit, bindTests } from './chunk-WUKLQWGY.js';
|
|
16
16
|
import { createHash, randomUUID } from 'crypto';
|
|
17
17
|
import { statSync, readFileSync, mkdirSync, existsSync, writeFileSync, renameSync, unlinkSync } from 'fs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
4
|
-
import { skillDir, emitTree, targetIds, classifyTree, emitBuilders, defaultAgents, FORMER_MAINTAINED_NAMES, isMaintainedCopy } from './chunk-
|
|
4
|
+
import { skillDir, emitTree, targetIds, classifyTree, emitBuilders, defaultAgents, FORMER_MAINTAINED_NAMES, isMaintainedCopy } from './chunk-54ERDQ3O.js';
|
|
5
5
|
import { readFileSync, existsSync, unlinkSync, rmdirSync, readdirSync } from 'fs';
|
|
6
6
|
import { join, dirname, relative, sep } from 'path';
|
|
7
7
|
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { PROXY_WARNING_FLAG } from './chunk-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
3
|
+
import { PROXY_WARNING_FLAG } from './chunk-LDKF6B2R.js';
|
|
4
|
+
import { RELAY_ID, RELAY_USER } from './chunk-7UYXSF62.js';
|
|
5
|
+
import { jobAgent, GH_VERSION, VOICE_PACK_FILES, VOICE_PACK_VERSION, FFMPEG_STATIC, FFMPEG_BUILD_TAG, GH_SHA256, TINI_SHA256, TINI_VERSION, HEADLESS_SHELL_REVISION, HEADLESS_SHELL_BASE_URL, PLAYWRIGHT_FFMPEG_BASE_URL, PLAYWRIGHT_FFMPEG_REVISION, HEADLESS_SHELL, PLAYWRIGHT_FFMPEG, PLAYWRIGHT_VERSION } from './chunk-IEDO26G4.js';
|
|
6
|
+
import { defaultAgents } from './chunk-54ERDQ3O.js';
|
|
6
7
|
|
|
7
8
|
createRequire(import.meta.url);
|
|
8
9
|
|
|
@@ -45,7 +46,7 @@ function plain(name, value, allowed) {
|
|
|
45
46
|
function toolsDockerfile(parts, agents = defaultAgents()) {
|
|
46
47
|
const recipeImage = plain("the recipe image", parts.recipeImage, /^[A-Za-z0-9_.:@/-]+$/);
|
|
47
48
|
const nodeImage = plain("the Node image", parts.nodeImage, /^[A-Za-z0-9_.:@/-]+$/);
|
|
48
|
-
const agent =
|
|
49
|
+
const agent = jobAgent(void 0, agents);
|
|
49
50
|
const image = parts.image ?? agent?.adapter.image;
|
|
50
51
|
const agentName = parts.agentName ?? (parts.image === void 0 ? agent?.descriptor.label : parts.image.command) ?? "agent";
|
|
51
52
|
const version = plain(`the ${agentName} version`, parts.claudeCodeVersion, /^[A-Za-z0-9.+-]+$/);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { launcherPath, pathNotes, writeLauncher, LauncherWriteError } from './chunk-
|
|
4
|
-
import { currentVersion, currentLink, versionDir, execStartLine, isInLayout, packageRootIn, switchCurrent } from './chunk-
|
|
3
|
+
import { launcherPath, pathNotes, writeLauncher, LauncherWriteError } from './chunk-ZE2JJQPC.js';
|
|
4
|
+
import { currentVersion, currentLink, versionDir, execStartLine, isInLayout, packageRootIn, switchCurrent } from './chunk-P4Q6M6PI.js';
|
|
5
5
|
import { compareVersions } from './chunk-TQMI335S.js';
|
|
6
|
-
import { runnerDir, RUNNER_DIR_MODE } from './chunk-
|
|
6
|
+
import { runnerDir, RUNNER_DIR_MODE } from './chunk-L3SHPR2M.js';
|
|
7
7
|
import { lchownSync, lstatSync, realpathSync, readFileSync, mkdirSync, rmSync, cpSync, existsSync, readdirSync } from 'fs';
|
|
8
8
|
import { dirname, sep, join } from 'path';
|
|
9
9
|
import { spawnSync } from 'child_process';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-
|
|
3
|
+
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-QJKW4MKH.js';
|
|
4
4
|
|
|
5
5
|
createRequire(import.meta.url);
|
|
6
6
|
|
|
@@ -25,4 +25,4 @@ var SHIM_SCRIPT = `#!/bin/sh
|
|
|
25
25
|
exec outerlayer ${LEGACY.legacy.subcommand} "$@"
|
|
26
26
|
`;
|
|
27
27
|
|
|
28
|
-
export { CONTROL_PLANE_DIR_VARIABLE, GOVERNANCE_VARIABLE,
|
|
28
|
+
export { CONTROL_PLANE_DIR_VARIABLE, GOVERNANCE_VARIABLE, SHIM_SCRIPT, SUPPORTED_CONTROL_PLANE_LAYOUT, versionAtLeast };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { runnerDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-
|
|
3
|
+
import { runnerDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-L3SHPR2M.js';
|
|
4
4
|
import { readlinkSync, realpathSync, mkdirSync, unlinkSync, symlinkSync, renameSync, readFileSync, writeFileSync, rmSync, existsSync, readdirSync } from 'fs';
|
|
5
5
|
import { join, basename, sep, resolve } from 'path';
|
|
6
6
|
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { sanitizeTerminal } from './chunk-F3T5QJ24.js';
|
|
4
|
-
import { mcpFiles, skillLinkFolders, isAgentsMdLayout } from './chunk-
|
|
4
|
+
import { mcpFiles, skillLinkFolders, isAgentsMdLayout } from './chunk-QVOU2QUR.js';
|
|
5
5
|
import { DEFAULT_DASHBOARD } from './chunk-A6RI6KTI.js';
|
|
6
|
-
import { cliFetch, resolveGatewayCredentials } from './chunk-
|
|
6
|
+
import { cliFetch, resolveGatewayCredentials } from './chunk-HR4PJLOO.js';
|
|
7
7
|
import { readCloudConfig } from './chunk-HWVMRETT.js';
|
|
8
8
|
import { findGitDirs, writeRepoConnection, readRepoConnection } from './chunk-BJ3KTMDH.js';
|
|
9
9
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
10
|
-
import { defaultAgents } from './chunk-
|
|
11
|
-
import { remoteLookupFailed } from './chunk-
|
|
10
|
+
import { defaultAgents } from './chunk-54ERDQ3O.js';
|
|
11
|
+
import { remoteLookupFailed } from './chunk-WZOWXDDM.js';
|
|
12
12
|
import { execFileSync } from 'child_process';
|
|
13
13
|
import { lstatSync } from 'fs';
|
|
14
14
|
import { join, relative } from 'path';
|