@outerlayer/cli 0.41.0-next.20261118022949 → 0.41.0-next.20261118042344
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 +13 -65
- package/dist/{agent-credential-WCHRKI5G.js → agent-credential-HRNW646E.js} +5 -5
- package/dist/agent-setup-OY7X2RZ7.js +43 -0
- package/dist/{agent-subcommand-5N44GBJ7.js → agent-subcommand-IUZYR6XR.js} +4 -4
- package/dist/{artifact-link-cmd-YMMRVRQD.js → artifact-link-cmd-B6QPCFUL.js} +2 -2
- package/dist/{bridge-5VAASNNJ.js → bridge-4ZSJLYCX.js} +8 -8
- package/dist/{build-PF4W2ASA.js → build-XFVNQS7E.js} +14 -14
- package/dist/{build-disk-MSTWSDIT.js → build-disk-NGJQY2TK.js} +12 -12
- package/dist/build-info.json +1 -1
- package/dist/{builder-5PJVNQYN.js → builder-EQQV62EK.js} +11 -11
- package/dist/caller-4PJF4AG2.js +25 -0
- package/dist/{check-WKR6LDT7.js → check-PMCHCY4J.js} +56 -57
- package/dist/{chunk-BRLSGY57.js → chunk-372B3J4P.js} +1 -1
- package/dist/{chunk-RYVOUBUT.js → chunk-3YVYZTMD.js} +1 -1
- package/dist/{chunk-4Y4MZCAV.js → chunk-4CCWVDUX.js} +6 -6
- package/dist/{chunk-PELOJO27.js → chunk-4WR5WFJC.js} +11 -11
- package/dist/{chunk-OGY3XBHB.js → chunk-5SWJKCME.js} +4 -4
- package/dist/{chunk-RCJ3D5DA.js → chunk-6LKTKDMY.js} +2 -2
- package/dist/{chunk-5R54L7MB.js → chunk-6ML3LB5R.js} +3 -3
- package/dist/{chunk-HIJWCAGE.js → chunk-6PPR2Z2P.js} +5 -5
- package/dist/{chunk-CA3M6T4Z.js → chunk-7CUCNCYW.js} +7 -7
- package/dist/{chunk-SANXMMBW.js → chunk-7FVQCFTT.js} +3 -3
- package/dist/{chunk-FG25LDVH.js → chunk-7H3JTB2I.js} +6 -6
- package/dist/{chunk-ZFTAOXJE.js → chunk-7SLZKQBB.js} +38 -40
- package/dist/{chunk-ROLKRIOA.js → chunk-A37KFXXN.js} +18 -18
- package/dist/{chunk-ICU76D7N.js → chunk-BLFGNTAU.js} +5 -5
- package/dist/{chunk-3ZBBHCAW.js → chunk-BXQU44EL.js} +3 -3
- package/dist/{chunk-JR3R4R3R.js → chunk-DN2EA4XS.js} +1 -1
- package/dist/{chunk-MSDGVITJ.js → chunk-EEPVNSQ7.js} +1 -1
- package/dist/{chunk-SLM6EVQN.js → chunk-EJ6P43IT.js} +6 -6
- package/dist/{chunk-2RUTYYYA.js → chunk-EKBY375P.js} +1 -1
- package/dist/{chunk-ATXTGXGK.js → chunk-EMDZUXJX.js} +1 -1
- package/dist/{chunk-SRTJZV7P.js → chunk-HG3GUG5G.js} +1 -1
- package/dist/{chunk-MZJFHQJI.js → chunk-HJUJDDHO.js} +1 -1
- package/dist/{chunk-XMJNIIPM.js → chunk-HQYVI5T3.js} +45 -454
- package/dist/{chunk-5NKVS3UO.js → chunk-IDSEYLPI.js} +1 -1
- package/dist/{chunk-LOWZZ4QA.js → chunk-IL7GVNVQ.js} +1 -1
- package/dist/{chunk-4RPDWURG.js → chunk-ILHFH56O.js} +1 -1
- package/dist/{chunk-J2ADYASG.js → chunk-IQTWJYFV.js} +1 -1
- package/dist/{chunk-VWVXEJDK.js → chunk-IZ2NXWJV.js} +4 -4
- package/dist/{chunk-PZNXFA4N.js → chunk-J7NDBF6V.js} +1 -1
- package/dist/{chunk-JVCS7IOW.js → chunk-JE2W6Z2Y.js} +10 -10
- package/dist/{chunk-TKFMESAI.js → chunk-KC6AM5KC.js} +3 -3
- package/dist/{chunk-5DEHVQCK.js → chunk-KVZFYAYE.js} +14 -11
- package/dist/{chunk-Q3QJG2P6.js → chunk-LI4NF5TS.js} +2 -2
- package/dist/{chunk-B6OEHKKL.js → chunk-LMQSM3KR.js} +12505 -13481
- package/dist/{chunk-7CNODON3.js → chunk-MAFWNIYA.js} +1 -1
- package/dist/{chunk-6ZZHVNXE.js → chunk-MQGI4D3A.js} +6 -6
- package/dist/{chunk-M62TIWXX.js → chunk-NJBTQEEY.js} +3 -3
- package/dist/{chunk-FMOGX7RR.js → chunk-NJKM5XGH.js} +5 -5
- package/dist/{chunk-6JP7F7VC.js → chunk-NXLNXHDE.js} +6 -6
- package/dist/{chunk-QKVOUI56.js → chunk-OCDZ7MBX.js} +1 -1
- package/dist/{chunk-WT4EKUQL.js → chunk-OJSC57KK.js} +7 -7
- package/dist/{chunk-53GNEMTP.js → chunk-OR6OCGFY.js} +1 -1
- package/dist/{chunk-MNN45CQ2.js → chunk-OV3KU37X.js} +2 -2
- package/dist/{chunk-37WA2LQC.js → chunk-PDFCYYCC.js} +2 -8
- package/dist/{chunk-NI46LQRD.js → chunk-Q2TA7RYQ.js} +5 -27
- package/dist/{chunk-VKAQSJZN.js → chunk-QGJVNUCY.js} +1 -1
- package/dist/{chunk-K7KKKOHO.js → chunk-QKD23T7O.js} +9 -9
- package/dist/{chunk-Y26BNEMO.js → chunk-QW43URTD.js} +3 -3
- package/dist/{chunk-WNFITHNX.js → chunk-QW6TKDBL.js} +1 -1
- package/dist/{chunk-OVUMZ65V.js → chunk-QX4GZGMW.js} +3 -3
- package/dist/{chunk-BTJEBFAO.js → chunk-R3FVL26B.js} +7 -7
- package/dist/{chunk-ANWWAGQ2.js → chunk-R5JQH7V6.js} +2 -2
- package/dist/{chunk-55XGYVWE.js → chunk-RFSYZEJE.js} +5 -5
- package/dist/{chunk-JR6KYUIA.js → chunk-RJPLN6SO.js} +3 -3
- package/dist/{chunk-XBFVL7PB.js → chunk-S5QUXXJT.js} +4 -4
- package/dist/{chunk-OZZCRYJI.js → chunk-SHNKZGS7.js} +7 -7
- package/dist/{chunk-7RGKY7N5.js → chunk-SWSEQ6X3.js} +8 -8
- package/dist/{chunk-M5SLRRBU.js → chunk-SXPRKSRY.js} +2 -2
- package/dist/{chunk-CII3Z3YJ.js → chunk-T6PP5OYW.js} +4 -4
- package/dist/{chunk-2E5YBULG.js → chunk-T7PY3A5I.js} +1 -1
- package/dist/{chunk-KTZOD7A3.js → chunk-UG4AUZCR.js} +1 -1
- package/dist/{chunk-CDCO3HGT.js → chunk-UXLWZV2S.js} +4 -4
- package/dist/{chunk-GS5QF27G.js → chunk-UYOR2ZFY.js} +1 -1
- package/dist/{chunk-APVMCKLK.js → chunk-WGR5CYGQ.js} +1 -1
- package/dist/{chunk-BJJ5ULJS.js → chunk-WIIRJEMD.js} +7 -7
- package/dist/{chunk-P7WAAN35.js → chunk-X24VL3Q6.js} +1 -1
- package/dist/{chunk-XDAMSCJG.js → chunk-XEETBQKD.js} +1 -1
- package/dist/{chunk-26RXLXEX.js → chunk-Y2HG7SGT.js} +1 -1
- package/dist/{chunk-64QIUYMW.js → chunk-Y2X4YY3E.js} +33 -35
- package/dist/{chunk-SDCECDBS.js → chunk-ZBQDEROG.js} +4 -4
- package/dist/{chunk-67IEAQPG.js → chunk-ZEQT23XF.js} +1 -1
- package/dist/{chunk-4SMKP5QI.js → chunk-ZH6AN3UH.js} +1 -1
- package/dist/{chunk-475AL6JE.js → chunk-ZJNTS7HZ.js} +2 -2
- package/dist/{chunk-KJKMGZCS.js → chunk-ZWPENDEN.js} +8 -8
- package/dist/{chunk-5OI5KRAS.js → chunk-ZXYHJ4V2.js} +8 -8
- package/dist/{claude-launcher-FG7INEGW.js → claude-launcher-TD7BOXS3.js} +7 -7
- package/dist/{cli-SZQAC7W3.js → cli-GH5MZGRY.js} +177 -224
- package/dist/{command-CKF6YMRE.js → command-CGY337MC.js} +52 -53
- package/dist/{config-VVEK5PI7.js → config-ZGTWKAGF.js} +13 -13
- package/dist/{connect-cmd-27EZXSQD.js → connect-cmd-GKGB2E7L.js} +14 -14
- package/dist/{container-start-VQZXSLAM.js → container-start-JA6S5OZA.js} +49 -50
- package/dist/{context-cleanup-BUZVQNKC.js → context-cleanup-AQQC4EZ6.js} +4 -4
- package/dist/{context-show-cmd-XGWEED7L.js → context-show-cmd-55RKC5M6.js} +15 -15
- package/dist/{control-plane-launch-BEN5IP6V.js → control-plane-launch-UH6LIDIM.js} +15 -15
- package/dist/{demo-record-cmd-SLC5BB4F.js → demo-record-cmd-Q7RXHNSW.js} +9 -9
- package/dist/{demo-voice-cmd-DEBELV5H.js → demo-voice-cmd-LC75USDT.js} +21 -21
- package/dist/{dist-FKOMD5MC.js → dist-ITIDOS3E.js} +2 -2
- package/dist/{docker-V7LPG7UC.js → docker-DCZ3QU7E.js} +11 -11
- package/dist/{doctor-XPWALTBC.js → doctor-UOPEG5JW.js} +51 -52
- package/dist/{emit-artifact-cmd-LR5CDALJ.js → emit-artifact-cmd-DQXFW5QL.js} +20 -20
- package/dist/{emit-cmd-UDTT7ENT.js → emit-cmd-IPPDMPP6.js} +7 -7
- package/dist/{emit-criteria-cmd-QXOWR62U.js → emit-criteria-cmd-2YF7DG7K.js} +17 -17
- package/dist/{emit-demo-cmd-IBGCUSYL.js → emit-demo-cmd-Z2Z7G3BM.js} +21 -21
- package/dist/{emit-finding-cmd-QHJBPJPW.js → emit-finding-cmd-ZVDJ4IWI.js} +17 -17
- package/dist/{emit-step-cmd-2GPRJQNX.js → emit-step-cmd-WVMHTORK.js} +17 -17
- package/dist/{exec-client-VGSMXNKS.js → exec-client-6B65UMC4.js} +9 -9
- package/dist/{find-unit-7VMZPXFC.js → find-unit-CPKLR4S3.js} +14 -14
- package/dist/{findings-cmd-YUWS5J7S.js → findings-cmd-7QLBWQGC.js} +17 -17
- package/dist/{fleet-readiness-IOHYJY4W.js → fleet-readiness-5KULJEOF.js} +15 -15
- package/dist/{governing-source-KJNPV7BE.js → governing-source-CPCH4DJC.js} +22 -22
- package/dist/{guest-init-R7X5CUNQ.js → guest-init-DYUGDDAL.js} +10 -10
- package/dist/{hook-fast-4U5KN5DQ.js → hook-fast-5CJ6RJFG.js} +1 -1
- package/dist/{hook-install-NOWMUPSI.js → hook-install-33FYUDIE.js} +4 -4
- package/dist/host-checks-LQL5AAWT.js +83 -0
- package/dist/host-key-JCGCSUKW.js +20 -0
- package/dist/{image-tag-DQZQLNUN.js → image-tag-XNNZOXVO.js} +9 -9
- package/dist/index.js +4 -4
- package/dist/{init-GAUAGCXL.js → init-DYJMROGI.js} +47 -48
- package/dist/init-RDMYISJU.js +83 -0
- package/dist/{init-agent-BIIDEFD3.js → init-agent-ZCBIXS6M.js} +47 -48
- package/dist/init-cmd-TYN64DJI.js +55 -0
- package/dist/{init-update-AZOTPBI7.js → init-update-MJ7MYP6V.js} +25 -25
- package/dist/install-cmd-QYJDQH6P.js +28 -0
- package/dist/launch-agent-YB3ZHJZO.js +28 -0
- package/dist/{layout-U2ZTNGVB.js → layout-JQCHHAB7.js} +4 -4
- package/dist/{login-browser-QAPMBSQA.js → login-browser-J5BFWBCZ.js} +2 -2
- package/dist/{logs-GWNZVEWX.js → logs-7HCS6KSZ.js} +8 -9
- package/dist/loop-3JAEQFO7.js +93 -0
- package/dist/machine-HLEJXQNG.js +83 -0
- package/dist/{machine-skills-2QFBY2II.js → machine-skills-XOZYRCQU.js} +4 -4
- package/dist/{mcp-install-cmd-KRZJVOND.js → mcp-install-cmd-2OYL5QG2.js} +4 -4
- package/dist/{mcp-serve-cmd-7ST4TEEZ.js → mcp-serve-cmd-WX36M5AW.js} +10 -10
- package/dist/{paths-2QQQW7UU.js → paths-BFCAC3BS.js} +8 -8
- package/dist/pending-DDB24JP7.js +20 -0
- package/dist/{pidfile-US23B2SQ.js → pidfile-WLYGNER6.js} +9 -9
- package/dist/{record-LCEWXDKS.js → record-KQIGBRJO.js} +9 -9
- package/dist/{relay-MHWMGCTK.js → relay-LPJV7OVV.js} +6 -6
- package/dist/{relay-protocol-FHGPRNPT.js → relay-protocol-3BVU2NN5.js} +6 -6
- package/dist/{run-cmd-BH7M2GHA.js → run-cmd-DH45VQHD.js} +17 -17
- package/dist/{runner-agents-2JTYE3RL.js → runner-agents-VTEO2GEK.js} +4 -4
- package/dist/runner-env-YS7NTZVF.js +26 -0
- package/dist/{runner-identity-F727CIPY.js → runner-identity-CXYSHPMV.js} +11 -11
- package/dist/{runner-key-CSXOSLTR.js → runner-key-VVGDYJ3V.js} +47 -48
- package/dist/{session-sender-GRHNLJ54.js → session-sender-XATQAHUP.js} +20 -20
- package/dist/{setup-cmd-LOXZNIRO.js → setup-cmd-BDNW3QX2.js} +15 -15
- package/dist/{setup-wiring-2GBFFOAM.js → setup-wiring-7WP7T6DZ.js} +54 -55
- package/dist/{spec-cmd-UH6RGIST.js → spec-cmd-JQD4MVSD.js} +18 -18
- package/dist/{starter-pack-G5TQVPMW.js → starter-pack-VJ6M5POI.js} +5 -5
- package/dist/state-ISFCEXUY.js +20 -0
- package/dist/{status-V4WZJJCB.js → status-OLYG2DQO.js} +47 -48
- package/dist/{sync-cmd-QK6IQF3F.js → sync-cmd-4WBPOCSV.js} +19 -19
- package/dist/update-steps-OSHKSM76.js +84 -0
- package/dist/{watch-OQKMLLTU.js → watch-FVZGHC4H.js} +19 -19
- package/dist/{work-claim-cmd-KHEY7QBX.js → work-claim-cmd-5QLR2AXJ.js} +23 -23
- package/dist/{work-cmd-KXMF42BU.js → work-cmd-4WIUDL3X.js} +17 -17
- package/dist/{work-comment-cmd-4QEJW4UR.js → work-comment-cmd-H7D2QMAH.js} +19 -19
- package/dist/{work-demo-cmd-UNJ77ILF.js → work-demo-cmd-GDECXMTW.js} +17 -17
- package/dist/{work-logs-cmd-HI4P3EGH.js → work-logs-cmd-BEJ57ZYU.js} +17 -17
- package/dist/{work-mock-cmd-RN6A5FDA.js → work-mock-cmd-BMYUKPLS.js} +17 -17
- package/dist/{work-needs-attention-cmd-TUINWEIT.js → work-needs-attention-cmd-AUQIQDUY.js} +17 -17
- package/dist/{work-no-change-cmd-2ASMVDHL.js → work-no-change-cmd-MKXFCWZB.js} +17 -17
- package/dist/{work-open-pr-cmd-C5VYFOHW.js → work-open-pr-cmd-TMATND63.js} +18 -18
- package/dist/{work-pr-cmd-ICYDMFTL.js → work-pr-cmd-PYM5ALZY.js} +17 -17
- package/dist/{work-proofs-cmd-6IR65227.js → work-proofs-cmd-Q4LFVRGN.js} +19 -19
- package/dist/{work-proofs-record-4MYPLAT3.js → work-proofs-record-TOM5TMTS.js} +25 -25
- package/dist/{work-stop-cmd-K2SHFPWB.js → work-stop-cmd-CCUZFQEZ.js} +17 -17
- package/package.json +1 -1
- package/dist/agent-setup-ISSLHGJC.js +0 -43
- package/dist/caller-XLTD6RGV.js +0 -25
- package/dist/chunk-I3LTIAOR.js +0 -11
- package/dist/emit-result-cmd-XOISZCY3.js +0 -242
- package/dist/host-checks-HJT534RN.js +0 -84
- package/dist/host-key-6MP2WQDQ.js +0 -20
- package/dist/init-3JHSTPBP.js +0 -84
- package/dist/init-cmd-VSR3VLGI.js +0 -55
- package/dist/install-cmd-S5VFI7NR.js +0 -28
- package/dist/launch-agent-AXF2ED2A.js +0 -28
- package/dist/loop-ALI4LKRI.js +0 -94
- package/dist/machine-DZW4XHV5.js +0 -84
- package/dist/pending-MIZOCMQO.js +0 -20
- package/dist/runner-env-PU6WIRCC.js +0 -26
- package/dist/state-L67V6AML.js +0 -20
- package/dist/update-steps-LDTGTKEI.js +0 -85
- package/dist/{real-deps-HNNHF3UN.js → real-deps-B7NMEDXM.js} +1 -1
|
@@ -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-OR6OCGFY.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,15 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { placeholderQueues, placeholderProblem } from './chunk-
|
|
4
|
-
import { checkFit } from './chunk-
|
|
5
|
-
import { getJson, WorkCommandError } from './chunk-
|
|
6
|
-
import { isBuiltinSandbox, builtinKind, EGRESS_SWITCHABLE_KEYS, keepsHostBuilder } from './chunk-
|
|
7
|
-
import { realBuildDiskProbe, checkDiskFit, DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-
|
|
8
|
-
import { ensureHostKey } from './chunk-
|
|
9
|
-
import { sandboxSettingsFrom } from './chunk-
|
|
10
|
-
import { agentCredentialVariablesSet, reportedAgents, parseRunnerEnv, BUILD_SLICE_MEMORY_ENV } from './chunk-
|
|
11
|
-
import { agentIdOfCommand, forwardedVariables, credentialAgent, credentialForms, managedKeyName, agentsNeedingCredential, storeVariables, credentialEnvPath } from './chunk-
|
|
12
|
-
import { defaultAgents, agentById } from './chunk-
|
|
3
|
+
import { placeholderQueues, placeholderProblem } from './chunk-LMQSM3KR.js';
|
|
4
|
+
import { checkFit } from './chunk-4CCWVDUX.js';
|
|
5
|
+
import { getJson, WorkCommandError } from './chunk-ZWPENDEN.js';
|
|
6
|
+
import { isBuiltinSandbox, builtinKind, EGRESS_SWITCHABLE_KEYS, keepsHostBuilder } from './chunk-T6PP5OYW.js';
|
|
7
|
+
import { realBuildDiskProbe, checkDiskFit, DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-OV3KU37X.js';
|
|
8
|
+
import { ensureHostKey } from './chunk-QGJVNUCY.js';
|
|
9
|
+
import { sandboxSettingsFrom } from './chunk-Q2TA7RYQ.js';
|
|
10
|
+
import { agentCredentialVariablesSet, reportedAgents, parseRunnerEnv, BUILD_SLICE_MEMORY_ENV } from './chunk-6LKTKDMY.js';
|
|
11
|
+
import { agentIdOfCommand, forwardedVariables, credentialAgent, credentialForms, managedKeyName, agentsNeedingCredential, storeVariables, credentialEnvPath } from './chunk-EEPVNSQ7.js';
|
|
12
|
+
import { defaultAgents, agentById } from './chunk-HQYVI5T3.js';
|
|
13
13
|
import { closeSync, openSync, constants, readFileSync } from 'fs';
|
|
14
14
|
import { join, dirname } from 'path';
|
|
15
15
|
import { totalmem } from 'os';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { LAUNCH_AGENT_ENV } from './chunk-TXKHD4Q6.js';
|
|
4
|
-
import { execStartArgv } from './chunk-
|
|
5
|
-
import { DEFAULT_UNIT_NAME } from './chunk-
|
|
6
|
-
import { runnerDir } from './chunk-
|
|
4
|
+
import { execStartArgv } from './chunk-J7NDBF6V.js';
|
|
5
|
+
import { DEFAULT_UNIT_NAME } from './chunk-4CCWVDUX.js';
|
|
6
|
+
import { runnerDir } from './chunk-OR6OCGFY.js';
|
|
7
7
|
import { join, dirname } from 'path';
|
|
8
8
|
|
|
9
9
|
createRequire(import.meta.url);
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { resolveDevcontainerCli, devcontainerBuildInvocation, universalImagePending, RecipeError } from './chunk-
|
|
4
|
-
import { ensureHostKey } from './chunk-
|
|
5
|
-
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, jobsDir } from './chunk-
|
|
6
|
-
import { BUILD_HOME, JOB_MOUNT, RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-
|
|
7
|
-
import { primaryDestination, JOIN_DIR, RELAY_ID, JOIN_SOCKET, GATEWAY_PORT, TARGET_GATEWAY, GATEWAY_SOCKET, destinationTarget, providerDestinations, RELAY_USER } from './chunk-
|
|
8
|
-
import { judgeAgent, universalImagePinned, UNIVERSAL_IMAGE, BUILDKIT_IMAGE } from './chunk-
|
|
9
|
-
import { defaultAgents } from './chunk-
|
|
3
|
+
import { resolveDevcontainerCli, devcontainerBuildInvocation, universalImagePending, RecipeError } from './chunk-HG3GUG5G.js';
|
|
4
|
+
import { ensureHostKey } from './chunk-QGJVNUCY.js';
|
|
5
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, jobsDir } from './chunk-OR6OCGFY.js';
|
|
6
|
+
import { BUILD_HOME, JOB_MOUNT, RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-Q2TA7RYQ.js';
|
|
7
|
+
import { primaryDestination, JOIN_DIR, RELAY_ID, JOIN_SOCKET, GATEWAY_PORT, TARGET_GATEWAY, GATEWAY_SOCKET, destinationTarget, providerDestinations, RELAY_USER } from './chunk-QW43URTD.js';
|
|
8
|
+
import { judgeAgent, universalImagePinned, UNIVERSAL_IMAGE, BUILDKIT_IMAGE } from './chunk-EEPVNSQ7.js';
|
|
9
|
+
import { defaultAgents } from './chunk-HQYVI5T3.js';
|
|
10
10
|
import { PROVIDERS } from './chunk-Q7Z6ELTL.js';
|
|
11
|
-
import { compareVersions } from './chunk-
|
|
11
|
+
import { compareVersions } from './chunk-UG4AUZCR.js';
|
|
12
12
|
import { createHash } from 'crypto';
|
|
13
13
|
import { mkdirSync, createWriteStream, rmSync, existsSync, readFileSync, chmodSync, writeFileSync, realpathSync, readdirSync, renameSync } from 'fs';
|
|
14
14
|
import { dirname, join, posix, resolve } from 'path';
|
|
@@ -269,6 +269,9 @@ var ITEM_KEY_FILE = "item-key";
|
|
|
269
269
|
function itemKeyPath(jobPath) {
|
|
270
270
|
return join(dirname(jobPath), ITEM_KEY_FILE);
|
|
271
271
|
}
|
|
272
|
+
function asRead(job) {
|
|
273
|
+
return job.stage === "checks" ? { ...job, stage: "sync" } : job;
|
|
274
|
+
}
|
|
272
275
|
function withItemKey(jobPath, job) {
|
|
273
276
|
let key;
|
|
274
277
|
try {
|
|
@@ -285,7 +288,7 @@ function writeOwnerOnly(path, content) {
|
|
|
285
288
|
function readJobFile(path) {
|
|
286
289
|
if (!existsSync(path)) return null;
|
|
287
290
|
try {
|
|
288
|
-
return withItemKey(path, JSON.parse(readFileSync(path, "utf8")));
|
|
291
|
+
return withItemKey(path, asRead(JSON.parse(readFileSync(path, "utf8"))));
|
|
289
292
|
} catch {
|
|
290
293
|
return null;
|
|
291
294
|
}
|
|
@@ -295,7 +298,7 @@ function readJobFileChecked(path) {
|
|
|
295
298
|
try {
|
|
296
299
|
const parsed = JSON.parse(readFileSync(path, "utf8"));
|
|
297
300
|
if (typeof parsed !== "object" || parsed === null || Array.isArray(parsed)) return { kind: "unreadable" };
|
|
298
|
-
return { kind: "ok", job: withItemKey(path, parsed) };
|
|
301
|
+
return { kind: "ok", job: withItemKey(path, asRead(parsed)) };
|
|
299
302
|
} catch {
|
|
300
303
|
return { kind: "unreadable" };
|
|
301
304
|
}
|
|
@@ -365,7 +368,7 @@ function folderHoldsContainerBuilds(configPath) {
|
|
|
365
368
|
for (const entry of readdirSync(root, { withFileTypes: true })) {
|
|
366
369
|
if (!entry.isDirectory()) continue;
|
|
367
370
|
const job = readJobFile(join(root, entry.name, "job.json"));
|
|
368
|
-
if (job?.container !== void 0
|
|
371
|
+
if (job?.container !== void 0) return true;
|
|
369
372
|
}
|
|
370
373
|
return false;
|
|
371
374
|
}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
4
4
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
5
|
-
import { linkedAgentsPath } from './chunk-
|
|
6
|
-
import { resolvePackRoot, OUTERLAYER_SKILLS_BASE, loadTemplateFiles, AGENTS_SKILLS_BASE, loadMaintainedFiles, TEMPLATE_SKILLS, skillDir, writeMaintainedFiles, MACHINE_SKILL_PATH } from './chunk-
|
|
5
|
+
import { linkedAgentsPath } from './chunk-X24VL3Q6.js';
|
|
6
|
+
import { resolvePackRoot, OUTERLAYER_SKILLS_BASE, loadTemplateFiles, AGENTS_SKILLS_BASE, loadMaintainedFiles, TEMPLATE_SKILLS, skillDir, writeMaintainedFiles, MACHINE_SKILL_PATH } from './chunk-HQYVI5T3.js';
|
|
7
7
|
import { LEGACY_AGENT } from './chunk-Q7Z6ELTL.js';
|
|
8
8
|
import { MAINTAINED_SKILLS } from './chunk-VSBG7MMU.js';
|
|
9
9
|
import { resolvePackageVersion } from './chunk-RA3O54FC.js';
|