@outerlayer/cli 0.41.0-next.20261118022949 → 0.41.0-next.20261118043303
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-K5FWHJWR.js +43 -0
- package/dist/{agent-subcommand-5N44GBJ7.js → agent-subcommand-ZILR4JWP.js} +4 -4
- package/dist/{artifact-link-cmd-YMMRVRQD.js → artifact-link-cmd-B6QPCFUL.js} +2 -2
- package/dist/{bridge-5VAASNNJ.js → bridge-HQDMB2OV.js} +8 -8
- package/dist/{build-PF4W2ASA.js → build-3HTOQKNF.js} +14 -14
- package/dist/{build-disk-MSTWSDIT.js → build-disk-SK2UT2DT.js} +12 -12
- package/dist/build-info.json +1 -1
- package/dist/{builder-5PJVNQYN.js → builder-WCXNOGKF.js} +11 -11
- package/dist/caller-VUQN24KZ.js +25 -0
- package/dist/{check-WKR6LDT7.js → check-UP3YYRBH.js} +57 -58
- package/dist/{chunk-BRLSGY57.js → chunk-2DJBYNDC.js} +1 -1
- package/dist/{chunk-3ZBBHCAW.js → chunk-36QFNTJY.js} +3 -3
- package/dist/{chunk-BJJ5ULJS.js → chunk-3HL5DUKO.js} +7 -7
- package/dist/{chunk-7RGKY7N5.js → chunk-4SHMBQWH.js} +8 -8
- package/dist/{chunk-6ZZHVNXE.js → chunk-4U3SWN5G.js} +6 -6
- package/dist/{chunk-RCJ3D5DA.js → chunk-6LKTKDMY.js} +2 -2
- package/dist/{chunk-OVUMZ65V.js → chunk-7FD3UTHI.js} +3 -3
- package/dist/{chunk-ZFTAOXJE.js → chunk-7SLZKQBB.js} +38 -40
- package/dist/{chunk-CA3M6T4Z.js → chunk-AXDQ3OD6.js} +7 -7
- package/dist/{chunk-475AL6JE.js → chunk-B3MRE2XC.js} +2 -2
- package/dist/{chunk-GS5QF27G.js → chunk-BQQ7AXXW.js} +1 -1
- package/dist/{chunk-FG25LDVH.js → chunk-BUSPSV2F.js} +6 -6
- package/dist/{chunk-MSDGVITJ.js → chunk-EEPVNSQ7.js} +1 -1
- package/dist/{chunk-2RUTYYYA.js → chunk-EKBY375P.js} +1 -1
- package/dist/{chunk-ATXTGXGK.js → chunk-EMDZUXJX.js} +1 -1
- package/dist/{chunk-VKAQSJZN.js → chunk-FGVKSK2P.js} +1 -1
- package/dist/{chunk-5DEHVQCK.js → chunk-GBP3QSDO.js} +14 -11
- package/dist/{chunk-BTJEBFAO.js → chunk-GJC42QWN.js} +7 -7
- package/dist/{chunk-SRTJZV7P.js → chunk-HG3GUG5G.js} +1 -1
- package/dist/{chunk-5OI5KRAS.js → chunk-HK6555J6.js} +8 -8
- package/dist/{chunk-XMJNIIPM.js → chunk-HQYVI5T3.js} +45 -454
- package/dist/{chunk-TKFMESAI.js → chunk-HUX4NILD.js} +3 -3
- package/dist/{chunk-2E5YBULG.js → chunk-IEPYESAY.js} +1 -1
- package/dist/{chunk-KJKMGZCS.js → chunk-IL3IZXH4.js} +8 -8
- package/dist/{chunk-LOWZZ4QA.js → chunk-IL7GVNVQ.js} +1 -1
- package/dist/{chunk-4RPDWURG.js → chunk-ILHFH56O.js} +1 -1
- package/dist/{chunk-64QIUYMW.js → chunk-IMWZXJ7S.js} +35 -36
- package/dist/{chunk-MNN45CQ2.js → chunk-INTR7TML.js} +2 -2
- package/dist/{chunk-J2ADYASG.js → chunk-IQTWJYFV.js} +1 -1
- package/dist/{chunk-VWVXEJDK.js → chunk-K6LFU64M.js} +4 -4
- package/dist/{chunk-5NKVS3UO.js → chunk-KKIANRHM.js} +1 -1
- package/dist/{chunk-55XGYVWE.js → chunk-KSSIFZDR.js} +5 -5
- package/dist/{chunk-RYVOUBUT.js → chunk-L2D3VD2K.js} +1 -1
- package/dist/{chunk-Q3QJG2P6.js → chunk-LI4NF5TS.js} +2 -2
- package/dist/{chunk-MZJFHQJI.js → chunk-NBXNBAAG.js} +1 -1
- package/dist/{chunk-K7KKKOHO.js → chunk-NFGW3C2L.js} +9 -9
- package/dist/{chunk-5R54L7MB.js → chunk-NH4GSJZN.js} +3 -3
- package/dist/{chunk-PELOJO27.js → chunk-NILMZJ6I.js} +11 -11
- package/dist/{chunk-FMOGX7RR.js → chunk-NJKM5XGH.js} +5 -5
- package/dist/{chunk-OGY3XBHB.js → chunk-NWQYWF6N.js} +4 -4
- package/dist/{chunk-QKVOUI56.js → chunk-OCDZ7MBX.js} +1 -1
- package/dist/{chunk-7CNODON3.js → chunk-OOM4TEG5.js} +1 -1
- package/dist/{chunk-B6OEHKKL.js → chunk-OOW3QG7F.js} +12535 -13491
- package/dist/{chunk-37WA2LQC.js → chunk-PDFCYYCC.js} +2 -8
- package/dist/{chunk-QDJBEQCE.js → chunk-PDZEPH24.js} +1 -1
- package/dist/{chunk-ROLKRIOA.js → chunk-PQWTPA6Z.js} +18 -18
- package/dist/{chunk-ICU76D7N.js → chunk-Q7S5EVU7.js} +5 -5
- package/dist/{chunk-SANXMMBW.js → chunk-QEJKRR2Q.js} +3 -3
- package/dist/{chunk-Y26BNEMO.js → chunk-QW43URTD.js} +3 -3
- package/dist/{chunk-WNFITHNX.js → chunk-QW6TKDBL.js} +1 -1
- package/dist/{chunk-OZZCRYJI.js → chunk-QXC5QWPU.js} +7 -7
- package/dist/{chunk-JR6KYUIA.js → chunk-QYNH6MBI.js} +3 -3
- package/dist/{chunk-JR3R4R3R.js → chunk-SO7JMTVX.js} +1 -1
- package/dist/{chunk-53GNEMTP.js → chunk-TMUHUTA2.js} +1 -1
- package/dist/{chunk-XBFVL7PB.js → chunk-TN3NJYI6.js} +4 -4
- package/dist/{chunk-M5SLRRBU.js → chunk-TXAXSZ7A.js} +2 -2
- package/dist/{chunk-PZNXFA4N.js → chunk-U2AAZY5W.js} +1 -1
- package/dist/{chunk-KTZOD7A3.js → chunk-UG4AUZCR.js} +1 -1
- package/dist/{chunk-M62TIWXX.js → chunk-VNVX7KRW.js} +3 -3
- package/dist/{chunk-HIJWCAGE.js → chunk-VYFML7GX.js} +5 -5
- package/dist/{chunk-APVMCKLK.js → chunk-WGR5CYGQ.js} +1 -1
- package/dist/{chunk-WT4EKUQL.js → chunk-WLWVMXM4.js} +7 -7
- package/dist/{chunk-CII3Z3YJ.js → chunk-WSHHRIGI.js} +4 -4
- package/dist/{chunk-P7WAAN35.js → chunk-X24VL3Q6.js} +1 -1
- package/dist/{chunk-XDAMSCJG.js → chunk-XEETBQKD.js} +1 -1
- package/dist/{chunk-67IEAQPG.js → chunk-XLZY7V3X.js} +1 -1
- package/dist/{chunk-4Y4MZCAV.js → chunk-XX7LTNEB.js} +6 -6
- package/dist/{chunk-26RXLXEX.js → chunk-Y2HG7SGT.js} +1 -1
- package/dist/{chunk-ANWWAGQ2.js → chunk-YTEK3QUQ.js} +2 -2
- package/dist/{chunk-SLM6EVQN.js → chunk-Z7BIDBWN.js} +6 -6
- package/dist/{chunk-SDCECDBS.js → chunk-ZBQDEROG.js} +4 -4
- package/dist/{chunk-NI46LQRD.js → chunk-ZDK4XRBT.js} +6 -28
- package/dist/{chunk-6JP7F7VC.js → chunk-ZGQQ2WPG.js} +6 -6
- package/dist/{chunk-4SMKP5QI.js → chunk-ZH6AN3UH.js} +1 -1
- package/dist/{chunk-JVCS7IOW.js → chunk-ZJL6MDF7.js} +10 -10
- package/dist/{chunk-CDCO3HGT.js → chunk-ZMYVA3YA.js} +4 -4
- package/dist/{claude-launcher-FG7INEGW.js → claude-launcher-JTXL22XE.js} +7 -7
- package/dist/{cli-SZQAC7W3.js → cli-KVL7IJMJ.js} +177 -224
- package/dist/{command-CKF6YMRE.js → command-ATRHODTN.js} +53 -54
- package/dist/{config-VVEK5PI7.js → config-EFPTYQ4N.js} +13 -13
- package/dist/{connect-cmd-27EZXSQD.js → connect-cmd-VL7KFY66.js} +14 -14
- package/dist/{container-start-VQZXSLAM.js → container-start-ST5I64MY.js} +50 -51
- package/dist/{context-cleanup-BUZVQNKC.js → context-cleanup-AQQC4EZ6.js} +4 -4
- package/dist/{context-show-cmd-XGWEED7L.js → context-show-cmd-YODJEXKE.js} +15 -15
- package/dist/{control-plane-launch-BEN5IP6V.js → control-plane-launch-LUSKGM3T.js} +15 -15
- package/dist/{demo-record-cmd-SLC5BB4F.js → demo-record-cmd-OT5X5QRX.js} +9 -9
- package/dist/{demo-voice-cmd-DEBELV5H.js → demo-voice-cmd-GXV57LO3.js} +21 -21
- package/dist/{dist-FKOMD5MC.js → dist-ITIDOS3E.js} +2 -2
- package/dist/{docker-V7LPG7UC.js → docker-2EAXH2W2.js} +11 -11
- package/dist/{doctor-XPWALTBC.js → doctor-SYESAA2Y.js} +52 -53
- package/dist/{emit-artifact-cmd-LR5CDALJ.js → emit-artifact-cmd-FMYIDU4K.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-QXBQAOPQ.js} +17 -17
- package/dist/{emit-demo-cmd-IBGCUSYL.js → emit-demo-cmd-S2RPE5TI.js} +21 -21
- package/dist/{emit-finding-cmd-QHJBPJPW.js → emit-finding-cmd-I3UZ6A26.js} +17 -17
- package/dist/{emit-step-cmd-2GPRJQNX.js → emit-step-cmd-WRWIKVHO.js} +17 -17
- package/dist/{exec-client-VGSMXNKS.js → exec-client-L32MBS5M.js} +9 -9
- package/dist/{find-unit-7VMZPXFC.js → find-unit-4OYP7R3I.js} +14 -14
- package/dist/{findings-cmd-YUWS5J7S.js → findings-cmd-BI3PMYEP.js} +17 -17
- package/dist/{fleet-readiness-IOHYJY4W.js → fleet-readiness-7IXZYEIJ.js} +15 -15
- package/dist/{governing-source-KJNPV7BE.js → governing-source-FAXSIJ4Q.js} +22 -22
- package/dist/{guest-init-R7X5CUNQ.js → guest-init-7JHRMG5K.js} +10 -10
- package/dist/{hook-fast-4U5KN5DQ.js → hook-fast-LJQP5DE3.js} +1 -1
- package/dist/{hook-install-NOWMUPSI.js → hook-install-33FYUDIE.js} +4 -4
- package/dist/host-checks-US7MSJVQ.js +83 -0
- package/dist/host-key-BOUX75EI.js +20 -0
- package/dist/{image-tag-DQZQLNUN.js → image-tag-BI6C4CKO.js} +9 -9
- package/dist/index.js +4 -4
- package/dist/{init-GAUAGCXL.js → init-MB2POSL3.js} +48 -49
- package/dist/init-W46LLTR3.js +83 -0
- package/dist/{init-agent-BIIDEFD3.js → init-agent-7EIXAFDY.js} +48 -49
- package/dist/init-cmd-VTNMWE6X.js +55 -0
- package/dist/{init-update-AZOTPBI7.js → init-update-EC4G5Q26.js} +25 -25
- package/dist/install-cmd-WTKSXRM7.js +28 -0
- package/dist/launch-agent-JXPYZ3BW.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-S2E32DDI.js} +8 -9
- package/dist/loop-HQREFLQ2.js +93 -0
- package/dist/machine-4K3EUQNF.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-BGUFN5HD.js} +10 -10
- package/dist/{paths-2QQQW7UU.js → paths-7GRBF4FR.js} +8 -8
- package/dist/pending-4LIHL6P7.js +20 -0
- package/dist/{pidfile-US23B2SQ.js → pidfile-WYTFOPLR.js} +9 -9
- package/dist/{record-LCEWXDKS.js → record-VCLLNGFQ.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-VX3W4XRS.js} +17 -17
- package/dist/{runner-agents-2JTYE3RL.js → runner-agents-VTEO2GEK.js} +4 -4
- package/dist/runner-env-XHPLX7Q2.js +26 -0
- package/dist/{runner-identity-F727CIPY.js → runner-identity-WYXCLNP5.js} +11 -11
- package/dist/{runner-key-CSXOSLTR.js → runner-key-4E3N523Z.js} +48 -49
- package/dist/{session-sender-GRHNLJ54.js → session-sender-I4L22CLF.js} +20 -20
- package/dist/{setup-cmd-LOXZNIRO.js → setup-cmd-YYICF6KV.js} +15 -15
- package/dist/{setup-wiring-2GBFFOAM.js → setup-wiring-MBAPYPIM.js} +55 -56
- package/dist/{spec-cmd-UH6RGIST.js → spec-cmd-IOOIZLHA.js} +18 -18
- package/dist/{starter-pack-G5TQVPMW.js → starter-pack-VJ6M5POI.js} +5 -5
- package/dist/state-TPL7K4S3.js +20 -0
- package/dist/{status-V4WZJJCB.js → status-JMMO2LES.js} +48 -49
- package/dist/{sync-cmd-QK6IQF3F.js → sync-cmd-MIY3CSOE.js} +19 -19
- package/dist/update-steps-WXP7ANHM.js +84 -0
- package/dist/{watch-OQKMLLTU.js → watch-3V2OVFAZ.js} +19 -19
- package/dist/{work-claim-cmd-KHEY7QBX.js → work-claim-cmd-7PYXYZZJ.js} +24 -24
- package/dist/{work-cmd-KXMF42BU.js → work-cmd-2I7L7227.js} +17 -17
- package/dist/{work-comment-cmd-4QEJW4UR.js → work-comment-cmd-UOT7NIQP.js} +19 -19
- package/dist/{work-demo-cmd-UNJ77ILF.js → work-demo-cmd-2I6VOWH5.js} +17 -17
- package/dist/{work-logs-cmd-HI4P3EGH.js → work-logs-cmd-AQBA46OJ.js} +17 -17
- package/dist/{work-mock-cmd-RN6A5FDA.js → work-mock-cmd-AQPCQ4KI.js} +17 -17
- package/dist/{work-needs-attention-cmd-TUINWEIT.js → work-needs-attention-cmd-LW7VQFA6.js} +17 -17
- package/dist/{work-no-change-cmd-2ASMVDHL.js → work-no-change-cmd-ECYFFJFN.js} +17 -17
- package/dist/{work-open-pr-cmd-C5VYFOHW.js → work-open-pr-cmd-O4OVHG27.js} +18 -18
- package/dist/{work-pr-cmd-ICYDMFTL.js → work-pr-cmd-YKDXW5RP.js} +17 -17
- package/dist/{work-proofs-cmd-6IR65227.js → work-proofs-cmd-C3C634CO.js} +19 -19
- package/dist/{work-proofs-record-4MYPLAT3.js → work-proofs-record-S7SF4425.js} +25 -25
- package/dist/{work-stop-cmd-K2SHFPWB.js → work-stop-cmd-IQYI7NCK.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 { defaultAgents, laptopAgents, contextAgents, userSkillFolderIn, loadMachineSkillFiles, resolvePackRoot } from './chunk-
|
|
3
|
+
import { defaultAgents, laptopAgents, contextAgents, userSkillFolderIn, loadMachineSkillFiles, resolvePackRoot } from './chunk-HQYVI5T3.js';
|
|
4
4
|
import { MAINTAINED_SKILLS, maintainedLineVersion } from './chunk-VSBG7MMU.js';
|
|
5
5
|
import { resolvePackageVersion } from './chunk-RA3O54FC.js';
|
|
6
6
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
@@ -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-HQYVI5T3.js';
|
|
5
5
|
import { readFileSync, existsSync, unlinkSync, rmdirSync, readdirSync } from 'fs';
|
|
6
6
|
import { join, dirname, relative, sep } from 'path';
|
|
7
7
|
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import {
|
|
4
|
-
import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-67IEAQPG.js';
|
|
5
|
-
import { decideInstalledSwitch } from './chunk-TXKHD4Q6.js';
|
|
3
|
+
import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-XLZY7V3X.js';
|
|
6
4
|
import { fetchVersionMeta, npmVersion, npmSupportsProvenance, fetchTarballDigest, fetchProvenance, installVersion, auditSignatures } from './chunk-E7R2GIAW.js';
|
|
7
|
-
import { reportFailedStart, fitImageBuildMemory } from './chunk-
|
|
8
|
-
import { renderUpdateSteps } from './chunk-
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
5
|
+
import { reportFailedStart, fitImageBuildMemory } from './chunk-WLWVMXM4.js';
|
|
6
|
+
import { renderUpdateSteps } from './chunk-NH4GSJZN.js';
|
|
7
|
+
import { decideInstalledSwitch } from './chunk-TXKHD4Q6.js';
|
|
8
|
+
import { writeFleetState } from './chunk-BQQ7AXXW.js';
|
|
9
|
+
import { writePendingUpdate } from './chunk-2DJBYNDC.js';
|
|
10
|
+
import { fleetConfigProblem, realBlockedProbes, checkBlockedWithSlots, askFleetMachine } from './chunk-ZJL6MDF7.js';
|
|
11
|
+
import { writeMarker, readMarker, currentVersion, removeMarker, isInLayout, startedThroughCurrent, entryIn, versionDir, switchCurrent, cleanVersions, stagingDir } from './chunk-U2AAZY5W.js';
|
|
12
|
+
import { leaseTimeLeftMs, createContainerRuntime, heldSandboxClaimsOf, unfinishedJobs, withTunnelLog, itemTag, releaseLease, runDecision, claimRun, LEASE_SECONDS, isUnfinished, prepareResume, restoreSessionIntoMicroVm, restoreSessionIntoContainer, restoreSessionIntoSandbox, restoreWork, keptSessionDir, workRestoredEnv, sessionGuestOfMicroVm, sessionGuestOfContainer, sessionGuestOfSandbox, recordsProofsOnly, itemScope, attemptNote, noteMissingCredential, fetchManagedBuildSettings, holdManagedBuildSettings, setStage, jobEnv, runHook, describeHookEnd, needsBuildSkill, provisionContainer, leaseExpiresAtMs, withJobTimeLimit, deliverContainerHooks, provisionSandbox, deliverSandboxHooks, provisionMicroVm, deliverCommitHooks, provisionEnvironment, readProvisionOut, resolveHostBuild, workdirProblem, listenOnBroker, hostEnvironment, deliverExecMaven, runWithSpawn, hostCommandEnvironment, lifecycleSteps, execArgv, lifecycleFailureReason, decideHostBuildSkill, prepareBranch, keptCommitsLine, runCommandFor, currentSkillCommand, formerSkillProblem, commandLogOffset, startSandboxCommand, MICROVM_COMMAND_DIR, startMicroVmCommand, microVmCommandLine, runCommand, containerCommandExec, execCommandLine, startSender, commandEndReasonOf, holdManagedKey, startHostServices, finishJob, sampleGuest, foldSample, isSandboxTracked, isContainerTracked, isMicroVmTracked, probeSandboxCommand, probeMicroVmCommand, probeCommand, appendCommandLog, judgeProbe, SandboxGoneError, SandboxContainerStoppedError, EXIT_CODE_FILE, isTracked, isGroupAlive, outcomeFromExitCode, isIsolatedJob, jobTimeLimitMinutes, isTimedOut, readCpuUsec, isIdle, HELPER_ENV, setUpRunnerCgroup, stopOrphanedMicroVms, sweepImageBuilders, listUnreadableJobs, listAdoptableJobs, retryFailedReleases, recoverLostJobs, GUEST_USAGE_INTERVAL_MS, vmAlive, filesAreCopied, inSandbox, listItemDisks, hookLimitsFor, runCommandOf, AttemptLogBook, fetchManagedModelKey, environmentFor, builtOf, judgeCredential, missingJudgeCredential, reviewFiles, readWorkItem, issueText, storedProblemsText, territories, territoryBrief, dropNonProblems, mergeAnswers, carriedProblems, unreviewedItem, makeRecorder, microVmOomKills, needsRenew, renewRun, renewLease, RENEW_INTERVAL_SECONDS, stoppedHelperReason, measureDisk, listTrackedJobs, sweepSandboxes, keptSandboxIds, parseCpuList, ensureTunnel, keepGhConfigCurrent, restartSender, rejoinSandboxBuild, createHousekeepingDocker, housekeepingDockerIfReachable, runHousekeeping, shellQuote, jobRecordsClaim, freeItemDisksUntil, savedStatesDir, readRecords, holdsHostDisk, removeOldestUntil, treeFileText, scrubReason, superviseRuns, NO_LOG, timeoutAfter, unreviewedFiles, markdownSection, ensureNetworkReady, ADOPTED_FETCH_RETRY_WINDOW_MS, managedBuildSettingsFor, gitRemoteFor, startServicesFor, installTrust, createLeaseChannel, serveLease, writeGuestGhConfig, deliverJobFiles, inTeardown } from './chunk-OOW3QG7F.js';
|
|
13
|
+
import { RUNNER_PROTOCOL } from './chunk-PDZEPH24.js';
|
|
14
|
+
import { criteriaOf, diffLines, loadCitationFinder, wholeItems, itemsSentence, oneLineReason, treePath, parseJudgeAnswer, wholeEntries, lineInDiff } from './chunk-7SLZKQBB.js';
|
|
15
|
+
import { imageTag, writeUpdateStatus, pullInstruction, tagToPull } from './chunk-L2D3VD2K.js';
|
|
16
16
|
import { isVersion, compareVersions, satisfiesRange } from './chunk-TQMI335S.js';
|
|
17
|
-
import { describeCallFailure, retrySend, shortClaim, relativeToRunner, formatDuration, resolveGoverningSource, BuildTokens, classifyRefusal, refusalCode, createRunnerLog, formatClock, readGovernedFiles } from './chunk-
|
|
18
|
-
import { RepoFilter } from './chunk-
|
|
17
|
+
import { describeCallFailure, retrySend, shortClaim, relativeToRunner, formatDuration, resolveGoverningSource, BuildTokens, classifyRefusal, refusalCode, createRunnerLog, formatClock, readGovernedFiles } from './chunk-4SHMBQWH.js';
|
|
18
|
+
import { RepoFilter } from './chunk-NFGW3C2L.js';
|
|
19
19
|
import { JOB_STATE_FORMAT, readsJobState, jobStateFormatOf } from './chunk-B4XB5QFD.js';
|
|
20
|
-
import { claimCalls, claimItem, spoolHomeFor, leftByRunnerKey, runnerCalls, itemCalls, configForJob } from './chunk-
|
|
21
|
-
import { fetchCommit, readBranchHead, diffBetween, readDefaultBranchFiles } from './chunk-
|
|
22
|
-
import { claimPidFile, releasePidFile, writePidFile, readPidFile } from './chunk-
|
|
20
|
+
import { claimCalls, claimItem, spoolHomeFor, leftByRunnerKey, runnerCalls, itemCalls, configForJob } from './chunk-B3MRE2XC.js';
|
|
21
|
+
import { fetchCommit, readBranchHead, diffBetween, readDefaultBranchFiles } from './chunk-QXC5QWPU.js';
|
|
22
|
+
import { claimPidFile, releasePidFile, writePidFile, readPidFile } from './chunk-IEPYESAY.js';
|
|
23
23
|
import { startTimeOf, isSameProcess } from './chunk-JBJTC3UU.js';
|
|
24
|
-
import { WorkCommandError, isSignatureRefusal, getJson, postJson, getBytes } from './chunk-
|
|
25
|
-
import { keyRunnerFactory, readsOnly, isBuiltinSandbox, isBuiltinContainer, isBuiltinVm, loadRunnerConfig, checkHooks, builtinKind, keepsHostBuilder, runnerDeliversComments, DEFAULT_CHECK_TIME_LIMIT_MINUTES, readOnlyRemoteOf, DEFAULT_SAVED_STATE_MAX_BYTES, DEFAULT_UPDATE_MAX_WAIT_HOURS, readOnlyOption } from './chunk-
|
|
26
|
-
import { formatBytes, freeBytes } from './chunk-
|
|
27
|
-
import { writeJobFile, ensureRunnerIdentity, identityDockerFor, readJobFile, judgeProgram, JUDGE_TREE, exceedsDisk, runnerLabelValue, builderName, ensureFailureCount, builderSpec, ensureBuilder, spawnRun, JUDGE_DIR, judgeCommand, JUDGE_MAX_TURNS } from './chunk-
|
|
28
|
-
import { loadHostKey, ensureHostKey, signerFor } from './chunk-
|
|
29
|
-
import { jobsDir, RUNNER_DIR_MODE, runnerDir, RUNNER_FILE_MODE, buildDir, attemptStamp, jobDir, pidFilePath, storeScopes } from './chunk-
|
|
30
|
-
import { parseClaimIdentity, parseBranchlessRepositories, parseClaimedRepositories, parseUnreachable, repositoriesOf, primaryOf, JOB_MOUNT, WORK_DIR } from './chunk-
|
|
31
|
-
import { COMMAND_LOST_REASON, AGENT_CREDENTIAL_MISSING, CONTAINER_STOPPED_REASON } from './chunk-
|
|
32
|
-
import { reportedAgents, jobCredentialProblem, takeAgentCredentials, heldAgentCredential, currentAgentCredential, fdName } from './chunk-
|
|
33
|
-
import { cleanAttachmentName } from './chunk-
|
|
34
|
-
import { jobAgentIdFor, commandAgentId, jobAgent, judgeAgent, commandForJob, withJobModel, jobCommandEnv, jobKeyProviders, agentsToHold, runnerAgents, listedAgents } from './chunk-
|
|
35
|
-
import { defaultAgents, resolvePackRoot } from './chunk-
|
|
24
|
+
import { WorkCommandError, isSignatureRefusal, getJson, postJson, getBytes } from './chunk-IL3IZXH4.js';
|
|
25
|
+
import { keyRunnerFactory, readsOnly, isBuiltinSandbox, isBuiltinContainer, isBuiltinVm, loadRunnerConfig, checkHooks, builtinKind, keepsHostBuilder, runnerDeliversComments, DEFAULT_CHECK_TIME_LIMIT_MINUTES, readOnlyRemoteOf, DEFAULT_SAVED_STATE_MAX_BYTES, DEFAULT_UPDATE_MAX_WAIT_HOURS, readOnlyOption } from './chunk-WSHHRIGI.js';
|
|
26
|
+
import { formatBytes, freeBytes } from './chunk-INTR7TML.js';
|
|
27
|
+
import { writeJobFile, ensureRunnerIdentity, identityDockerFor, readJobFile, judgeProgram, JUDGE_TREE, exceedsDisk, runnerLabelValue, builderName, ensureFailureCount, builderSpec, ensureBuilder, spawnRun, JUDGE_DIR, judgeCommand, JUDGE_MAX_TURNS } from './chunk-GBP3QSDO.js';
|
|
28
|
+
import { loadHostKey, ensureHostKey, signerFor } from './chunk-FGVKSK2P.js';
|
|
29
|
+
import { jobsDir, RUNNER_DIR_MODE, runnerDir, RUNNER_FILE_MODE, buildDir, attemptStamp, jobDir, pidFilePath, storeScopes } from './chunk-TMUHUTA2.js';
|
|
30
|
+
import { parseClaimIdentity, parseBranchlessRepositories, parseClaimedRepositories, parseUnreachable, repositoriesOf, primaryOf, JOB_MOUNT, WORK_DIR } from './chunk-ZDK4XRBT.js';
|
|
31
|
+
import { COMMAND_LOST_REASON, AGENT_CREDENTIAL_MISSING, CONTAINER_STOPPED_REASON } from './chunk-QW43URTD.js';
|
|
32
|
+
import { reportedAgents, jobCredentialProblem, takeAgentCredentials, heldAgentCredential, currentAgentCredential, fdName } from './chunk-6LKTKDMY.js';
|
|
33
|
+
import { cleanAttachmentName } from './chunk-QEJKRR2Q.js';
|
|
34
|
+
import { jobAgentIdFor, commandAgentId, jobAgent, judgeAgent, commandForJob, withJobModel, jobCommandEnv, jobKeyProviders, agentsToHold, runnerAgents, listedAgents } from './chunk-EEPVNSQ7.js';
|
|
35
|
+
import { defaultAgents, resolvePackRoot } from './chunk-HQYVI5T3.js';
|
|
36
36
|
import { isModelId, PROVIDERS } from './chunk-Q7Z6ELTL.js';
|
|
37
37
|
import { resolveVersion } from './chunk-RA3O54FC.js';
|
|
38
|
-
import { CheckItemsSchema, CODE_REVIEW_NAME, CHECK_ITEM_HREF_MAX_LENGTH, CHECK_ITEM_REASON_MAX_LENGTH, problemKind, CODE_REVIEW_PROBLEMS_MAX, TEAM_RULES_ITEM_ID, REVIEWED_COMMIT_ITEM_ID, PROBLEM_KINDS, problemSeverity } from './chunk-
|
|
38
|
+
import { CheckItemsSchema, CODE_REVIEW_NAME, CHECK_ITEM_HREF_MAX_LENGTH, CHECK_ITEM_REASON_MAX_LENGTH, problemKind, CODE_REVIEW_PROBLEMS_MAX, TEAM_RULES_ITEM_ID, REVIEWED_COMMIT_ITEM_ID, PROBLEM_KINDS, problemSeverity } from './chunk-PDFCYYCC.js';
|
|
39
39
|
import { randomBytes, createHash } from 'crypto';
|
|
40
40
|
import { mkdirSync, existsSync, writeFileSync, chmodSync, renameSync, statSync, readdirSync, rmSync, readFileSync, lstatSync, closeSync } from 'fs';
|
|
41
41
|
import { totalmem, userInfo } from 'os';
|
|
@@ -727,8 +727,6 @@ function stageReason(job) {
|
|
|
727
727
|
return "is recording its proofs";
|
|
728
728
|
case "judge":
|
|
729
729
|
return "is running the criteria judge";
|
|
730
|
-
case "checks":
|
|
731
|
-
return "is running its checks";
|
|
732
730
|
default:
|
|
733
731
|
return `is finishing (${job.stage})`;
|
|
734
732
|
}
|
|
@@ -3389,7 +3387,7 @@ var CLAIM_REFUSAL_CODES = new Set(
|
|
|
3389
3387
|
"pull_request_from_fork pull_request_on_default_branch pull_request_ambiguous pull_request_repository_not_connected repository_not_reachable branch_claimed_elsewhere".split(" ")
|
|
3390
3388
|
);
|
|
3391
3389
|
async function tryClaimAndStart(state, item, queue) {
|
|
3392
|
-
const { postJson: postJson2 } = await import('./work-cmd-
|
|
3390
|
+
const { postJson: postJson2 } = await import('./work-cmd-2I7L7227.js');
|
|
3393
3391
|
const log = logOf(state);
|
|
3394
3392
|
const hostKey = await loadHostKey(state.config.configPath);
|
|
3395
3393
|
const claim = await retrySend(
|
|
@@ -3854,6 +3852,7 @@ async function startJob(state, item, queue, claimId, itemKey, branch, identity,
|
|
|
3854
3852
|
runtime: runtimeOf(state),
|
|
3855
3853
|
queue,
|
|
3856
3854
|
...queue === "run" ? {} : { workItemId: item.id },
|
|
3855
|
+
...active.job.run === void 0 ? {} : { run: { timeLimitSeconds: active.job.run.timeLimitSeconds } },
|
|
3857
3856
|
...freshDisk ? { fresh: true } : {},
|
|
3858
3857
|
...diskHeldElsewhere ? { diskHeldElsewhere: true } : {},
|
|
3859
3858
|
item,
|
|
@@ -4430,7 +4429,7 @@ async function renewLeaseIfDue(state, active, nowMs) {
|
|
|
4430
4429
|
const result = renew.ok ? renew.value : "retry_later";
|
|
4431
4430
|
if (result === "lease_lost") {
|
|
4432
4431
|
if (active.ending) {
|
|
4433
|
-
log.error(`${tag} lease lost while the
|
|
4432
|
+
log.error(`${tag} lease lost while the job was ending`);
|
|
4434
4433
|
return false;
|
|
4435
4434
|
}
|
|
4436
4435
|
log.error(`${tag} lease lost \xB7 ending job as lease_lost`);
|
|
@@ -4611,7 +4610,7 @@ function recordCommandExit(state, active, code) {
|
|
|
4611
4610
|
}
|
|
4612
4611
|
async function watchTick(state, active, nowMs, logMtimeMs) {
|
|
4613
4612
|
if (active.ending) {
|
|
4614
|
-
if (active.job.stage === "proofs" || active.job.stage === "
|
|
4613
|
+
if (active.job.stage === "proofs" || active.job.stage === "judge") await renewLeaseIfDue(state, active, nowMs);
|
|
4615
4614
|
return;
|
|
4616
4615
|
}
|
|
4617
4616
|
const log = logOf(state);
|
|
@@ -5092,7 +5091,7 @@ async function startRunner(configPath, deps, startup) {
|
|
|
5092
5091
|
check: update.check ? () => update.check(configPath) : async () => {
|
|
5093
5092
|
const held = runnerAgents(deps.agents).flatMap((agent) => heldAgentCredential(agent.descriptor.id) ?? []);
|
|
5094
5093
|
const env = { ...process.env, ...Object.fromEntries(held.map((credential) => [credential.variable, credential.value])) };
|
|
5095
|
-
return (await import('./check-
|
|
5094
|
+
return (await import('./check-UP3YYRBH.js')).runRunnerCheck(configPath, { fetchImpl: deps.fetchImpl, env });
|
|
5096
5095
|
},
|
|
5097
5096
|
now: () => (deps.now ?? (() => /* @__PURE__ */ new Date()))().getTime(),
|
|
5098
5097
|
log
|
|
@@ -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-GBP3QSDO.js';
|
|
4
|
+
import { buildsDir, storeScopes, rootfsDir, orgStoreIn, runnerDir, imagesDir, builderCacheDiskPath } from './chunk-TMUHUTA2.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,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { readSettingsText, SettingsParseError, cliForInstall } from './chunk-ZHQC43NH.js';
|
|
4
|
-
import { legacyAgent, defaultAgents, HookTextError } from './chunk-
|
|
4
|
+
import { legacyAgent, defaultAgents, HookTextError } from './chunk-HQYVI5T3.js';
|
|
5
5
|
|
|
6
6
|
createRequire(import.meta.url);
|
|
7
7
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { detectActiveSession } from './chunk-
|
|
4
|
-
import { autoConnect } from './chunk-
|
|
3
|
+
import { detectActiveSession } from './chunk-Y2HG7SGT.js';
|
|
4
|
+
import { autoConnect } from './chunk-QYNH6MBI.js';
|
|
5
5
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
6
|
-
import { defaultFetch, unauthorizedMessage, resolveGatewayCredentials } from './chunk-
|
|
6
|
+
import { defaultFetch, unauthorizedMessage, resolveGatewayCredentials } from './chunk-SO7JMTVX.js';
|
|
7
7
|
import { parseWorkItemEnv } from './chunk-LGJ56FCM.js';
|
|
8
8
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
9
9
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
10
|
-
import { resolveRepoIdentity } from './chunk-
|
|
10
|
+
import { resolveRepoIdentity } from './chunk-UG4AUZCR.js';
|
|
11
11
|
|
|
12
12
|
createRequire(import.meta.url);
|
|
13
13
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { RELAY_PORT, BUILD_HOME } from './chunk-
|
|
3
|
+
import { RELAY_PORT, BUILD_HOME } from './chunk-ZDK4XRBT.js';
|
|
4
4
|
import { createServer, connect } from 'net';
|
|
5
5
|
|
|
6
6
|
createRequire(import.meta.url);
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { launchRefusalForSession } from './chunk-C2PZOLN7.js';
|
|
4
|
-
import { detectActiveSession } from './chunk-
|
|
5
|
-
import { autoConnect } from './chunk-
|
|
4
|
+
import { detectActiveSession } from './chunk-Y2HG7SGT.js';
|
|
5
|
+
import { autoConnect } from './chunk-QYNH6MBI.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
7
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-SO7JMTVX.js';
|
|
8
8
|
import { launchedItemForSession } from './chunk-LGJ56FCM.js';
|
|
9
9
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
10
10
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
11
|
-
import { resolveRepoIdentity } from './chunk-
|
|
12
|
-
import { CriteriaListSchema } from './chunk-
|
|
11
|
+
import { resolveRepoIdentity } from './chunk-UG4AUZCR.js';
|
|
12
|
+
import { CriteriaListSchema } from './chunk-PDFCYYCC.js';
|
|
13
13
|
import { readFileSync } from 'fs';
|
|
14
14
|
|
|
15
15
|
createRequire(import.meta.url);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { isVersion, compareVersions } from './chunk-TQMI335S.js';
|
|
4
|
-
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-
|
|
4
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-TMUHUTA2.js';
|
|
5
5
|
import { readFileSync, mkdirSync, writeFileSync, renameSync } from 'fs';
|
|
6
6
|
import { join } from 'path';
|
|
7
7
|
|
|
@@ -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';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { currentLink } from './chunk-
|
|
3
|
+
import { currentLink } from './chunk-U2AAZY5W.js';
|
|
4
4
|
import { readFileSync, statSync, chmodSync, mkdirSync, writeFileSync, renameSync, rmSync, existsSync, lstatSync, accessSync, constants, realpathSync } from 'fs';
|
|
5
5
|
import { randomBytes } from 'crypto';
|
|
6
6
|
import { join, dirname, delimiter, resolve } from 'path';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { uploadSpooledSteps } from './chunk-
|
|
3
|
+
import { uploadSpooledSteps } from './chunk-4U3SWN5G.js';
|
|
4
4
|
import { LaunchFilter } from './chunk-C2PZOLN7.js';
|
|
5
|
-
import { migrateLegacyArtifactSidecars, planArtifactUpload, artifactsStatePath, sanitizeTerminal, acquireArtifactSpoolLock, artifactBlobsDir, resolveArtifactTurnIndex, isArtifactTombstoned, ARTIFACT_RETRY_MAX_AGE_MS, writeArtifactSpoolState, reclaimUnneededArtifactBlobs, neededArtifactShas } from './chunk-
|
|
5
|
+
import { migrateLegacyArtifactSidecars, planArtifactUpload, artifactsStatePath, sanitizeTerminal, acquireArtifactSpoolLock, artifactBlobsDir, resolveArtifactTurnIndex, isArtifactTombstoned, ARTIFACT_RETRY_MAX_AGE_MS, writeArtifactSpoolState, reclaimUnneededArtifactBlobs, neededArtifactShas } from './chunk-QW6TKDBL.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-SO7JMTVX.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, logHookError, spoolDir } from './chunk-
|
|
9
|
+
import { signerFor, signRunnerRequest } from './chunk-FGVKSK2P.js';
|
|
10
|
+
import { SCRUB_ENV_VARIABLE } from './chunk-ZDK4XRBT.js';
|
|
11
|
+
import { writeSyncStatus, logHookError, spoolDir } from './chunk-QEJKRR2Q.js';
|
|
12
12
|
import { readLatestProvenanceForSession, readContextProvenance } from './chunk-545P7JY7.js';
|
|
13
13
|
import { readRepoConnection, findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
14
14
|
import { hookExecSpoolPath } from './chunk-TLCTOEU5.js';
|
|
@@ -16,11 +16,11 @@ import { applyReportedCost } from './chunk-BKO6JEZI.js';
|
|
|
16
16
|
import { readLaunchSpoolState, launchStatusIsDecisive, parseRunEnv, launchedItemsBySession, launchesPath } from './chunk-LGJ56FCM.js';
|
|
17
17
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
18
18
|
import { removeJournalHooks } from './chunk-CJPTUU2E.js';
|
|
19
|
-
import { legacyAgent, captureAgents, captureAdapters } from './chunk-
|
|
19
|
+
import { legacyAgent, captureAgents, captureAdapters } from './chunk-HQYVI5T3.js';
|
|
20
20
|
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-Q7Z6ELTL.js';
|
|
21
21
|
import { homeFromEnv, spoolHomeFromEnv } from './chunk-352DHUTP.js';
|
|
22
|
-
import { setCustomScrubbers, setLocalIdentity, forkFor, readForkRecord, tailTranscript, enrichSessionRepo, scanAll, setRepoRoot, resolveRepoIdentity, WARNING_CODES, ZSTD_UNSUPPORTED_MESSAGE, scrubDeep } from './chunk-
|
|
23
|
-
import { CAPTURE_TIERS, inferArtifactKind, bannedPathsForTier, downconvertSession, isHumanUserTurn, turnCountBound, EVENT_TYPES } from './chunk-
|
|
22
|
+
import { setCustomScrubbers, setLocalIdentity, forkFor, readForkRecord, tailTranscript, enrichSessionRepo, scanAll, setRepoRoot, resolveRepoIdentity, WARNING_CODES, ZSTD_UNSUPPORTED_MESSAGE, scrubDeep } from './chunk-UG4AUZCR.js';
|
|
23
|
+
import { CAPTURE_TIERS, inferArtifactKind, bannedPathsForTier, downconvertSession, isHumanUserTurn, turnCountBound, EVENT_TYPES } from './chunk-PDFCYYCC.js';
|
|
24
24
|
import { dirname, basename, join, sep } from 'path';
|
|
25
25
|
import { statSync, readFileSync, readdirSync, mkdirSync, writeFileSync, renameSync, existsSync, rmSync } from 'fs';
|
|
26
26
|
import { execFileSync } from 'child_process';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { stripTerminalControls } from './chunk-
|
|
4
|
-
import { tagToPull, imageTag, pullInstruction, readUpdateStatus, runnerImageVersion } from './chunk-
|
|
3
|
+
import { stripTerminalControls } from './chunk-OOW3QG7F.js';
|
|
4
|
+
import { tagToPull, imageTag, pullInstruction, readUpdateStatus, runnerImageVersion } from './chunk-L2D3VD2K.js';
|
|
5
5
|
import { readFileSync } from 'fs';
|
|
6
6
|
|
|
7
7
|
createRequire(import.meta.url);
|
|
@@ -55,7 +55,7 @@ function envNamesOf(row, imageEnv) {
|
|
|
55
55
|
return [...new Set(names)].sort();
|
|
56
56
|
}
|
|
57
57
|
async function readOwnContainer(deps = {}) {
|
|
58
|
-
const run = deps.run ?? (await import('./docker-
|
|
58
|
+
const run = deps.run ?? (await import('./docker-2EAXH2W2.js')).spawnRun;
|
|
59
59
|
const ids = candidateIds(deps.env ?? process.env, deps.readFile ?? ((path) => readFileSync(path, "utf8")));
|
|
60
60
|
if (ids.length === 0) return { ok: false, reason: "the runner cannot tell which container it runs in: HOSTNAME is empty and /proc/self/mountinfo names none" };
|
|
61
61
|
let problem = "";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { criteriaOf, loadCitationFinder, testFileMatcher, hostItemsOf, runnerMatcher, NO_VERDICT_REASON } from './chunk-
|
|
4
|
-
import { WorkCommandError, resolveCredentials, getJson } from './chunk-
|
|
5
|
-
import { sanitizeTerminal } from './chunk-
|
|
3
|
+
import { criteriaOf, loadCitationFinder, testFileMatcher, hostItemsOf, runnerMatcher, NO_VERDICT_REASON } from './chunk-7SLZKQBB.js';
|
|
4
|
+
import { WorkCommandError, resolveCredentials, getJson } from './chunk-IL3IZXH4.js';
|
|
5
|
+
import { sanitizeTerminal } from './chunk-QW6TKDBL.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { defaultFetch } from './chunk-
|
|
7
|
+
import { defaultFetch } from './chunk-SO7JMTVX.js';
|
|
8
8
|
import { parseWorkItemEnv } from './chunk-LGJ56FCM.js';
|
|
9
9
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
10
10
|
import { readDeliveryRecord } from './chunk-YQR6E6OV.js';
|
|
11
|
-
import { parseProofsConfig } from './chunk-
|
|
12
|
-
import { resolveRepoIdentity } from './chunk-
|
|
13
|
-
import { inferArtifactKind, mediaTypeForArtifactPath, WORK_ITEM_COMMENT_MAX_BODY_LENGTH, parseJunit, isTestSourcePath } from './chunk-
|
|
11
|
+
import { parseProofsConfig } from './chunk-HQYVI5T3.js';
|
|
12
|
+
import { resolveRepoIdentity } from './chunk-UG4AUZCR.js';
|
|
13
|
+
import { inferArtifactKind, mediaTypeForArtifactPath, WORK_ITEM_COMMENT_MAX_BODY_LENGTH, parseJunit, isTestSourcePath } from './chunk-PDFCYYCC.js';
|
|
14
14
|
import { spawnSync } from 'child_process';
|
|
15
15
|
import { createHash } from 'crypto';
|
|
16
16
|
import { readFileSync, readdirSync, lstatSync, statSync, existsSync } from 'fs';
|
|
@@ -129,16 +129,16 @@ function governingDir(cwd) {
|
|
|
129
129
|
async function testProofMode(cwd) {
|
|
130
130
|
const dir = governingDir(cwd);
|
|
131
131
|
if (dir === void 0) return "any";
|
|
132
|
-
const { testProofIn } = await import('./host-checks-
|
|
132
|
+
const { testProofIn } = await import('./host-checks-US7MSJVQ.js');
|
|
133
133
|
return testProofIn(dir);
|
|
134
134
|
}
|
|
135
135
|
async function judgeCheckName(cwd) {
|
|
136
136
|
const dir = governingDir(cwd);
|
|
137
137
|
if (dir === void 0) return {};
|
|
138
138
|
if (!existsSync(dir)) return { note: `the governed context at ${dir} is not readable` };
|
|
139
|
-
const { checksIn
|
|
139
|
+
const { checksIn } = await import('./host-checks-US7MSJVQ.js');
|
|
140
140
|
const quiet = { line: () => void 0, error: () => void 0 };
|
|
141
|
-
const check = checksIn(dir, quiet, "").checks.find((c) =>
|
|
141
|
+
const check = checksIn(dir, quiet, "").checks.find((c) => c.judge.subjects === "criteria");
|
|
142
142
|
return check === void 0 ? {} : { name: check.name };
|
|
143
143
|
}
|
|
144
144
|
async function findUnproven(input) {
|
|
@@ -372,7 +372,7 @@ async function runWorkProofs(opts) {
|
|
|
372
372
|
async function runWorkProofsCommand(opts) {
|
|
373
373
|
try {
|
|
374
374
|
if (opts.record || opts.check) {
|
|
375
|
-
const { runWorkProofsRecord } = await import('./work-proofs-record-
|
|
375
|
+
const { runWorkProofsRecord } = await import('./work-proofs-record-S7SF4425.js');
|
|
376
376
|
const result2 = await runWorkProofsRecord(opts);
|
|
377
377
|
process.exitCode = result2.exitCode;
|
|
378
378
|
return;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { mcpTargetPath, INIT_STDIO_ENTRY, INIT_DOCS_ENTRY, DOCS_MCP_SERVER_NAME } from './chunk-
|
|
4
|
-
import { skillsBaseFor } from './chunk-
|
|
5
|
-
import { POLICY_PATH, POLICY_CONTENT } from './chunk-
|
|
3
|
+
import { mcpTargetPath, INIT_STDIO_ENTRY, INIT_DOCS_ENTRY, DOCS_MCP_SERVER_NAME } from './chunk-WGR5CYGQ.js';
|
|
4
|
+
import { skillsBaseFor } from './chunk-ZH6AN3UH.js';
|
|
5
|
+
import { POLICY_PATH, POLICY_CONTENT } from './chunk-LI4NF5TS.js';
|
|
6
6
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
7
7
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
8
|
-
import { hasSymlinkComponent } from './chunk-
|
|
8
|
+
import { hasSymlinkComponent } from './chunk-X24VL3Q6.js';
|
|
9
9
|
import { cloneIsGoverned } from './chunk-YQR6E6OV.js';
|
|
10
|
-
import { resolvePackRoot, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, restoreSkillPaths, rewriteSkillPaths, skillDir, loadTemplateFiles, TEMPLATE_SKILLS } from './chunk-
|
|
10
|
+
import { resolvePackRoot, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, restoreSkillPaths, rewriteSkillPaths, skillDir, loadTemplateFiles, TEMPLATE_SKILLS } from './chunk-HQYVI5T3.js';
|
|
11
11
|
import { createHash } from 'crypto';
|
|
12
12
|
import { existsSync, readFileSync } from 'fs';
|
|
13
13
|
import { join } from 'path';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { LiveUploader } from './chunk-
|
|
4
|
-
import { spoolDir } from './chunk-
|
|
3
|
+
import { LiveUploader } from './chunk-NFGW3C2L.js';
|
|
4
|
+
import { spoolDir } from './chunk-QEJKRR2Q.js';
|
|
5
5
|
import { parseRunEnv, parseWorkItemEnv } from './chunk-LGJ56FCM.js';
|
|
6
|
-
import { sessionFolderIn, legacyAgent } from './chunk-
|
|
6
|
+
import { sessionFolderIn, legacyAgent } from './chunk-HQYVI5T3.js';
|
|
7
7
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
8
|
-
import { CaptureDaemon } from './chunk-
|
|
8
|
+
import { CaptureDaemon } from './chunk-UG4AUZCR.js';
|
|
9
9
|
import { mkdirSync, writeFileSync, rmSync } from 'fs';
|
|
10
10
|
import { join } from 'path';
|
|
11
11
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { CONTROL_PLANE_DIR_VARIABLE, SUPPORTED_CONTROL_PLANE_LAYOUT } from './chunk-DJK3IK6K.js';
|
|
4
|
-
import { legacyAgent, agentById, defaultAgents, legacySubcommand } from './chunk-
|
|
4
|
+
import { legacyAgent, agentById, defaultAgents, legacySubcommand } from './chunk-HQYVI5T3.js';
|
|
5
5
|
import { LEGACY_AGENT } from './chunk-Q7Z6ELTL.js';
|
|
6
6
|
import { MAINTAINED_SKILLS } from './chunk-VSBG7MMU.js';
|
|
7
7
|
import { lstatSync, readFileSync } from 'fs';
|