@outerlayer/cli 0.40.0-next.20261115013314 → 0.40.0-next.20261115113313
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-HFMI2FCO.js +41 -0
- package/dist/{agent-subcommand-PVTVR4VJ.js → agent-subcommand-TGMUYMIV.js} +4 -4
- package/dist/{artifact-link-cmd-SDKPWPQK.js → artifact-link-cmd-K6VFGMIO.js} +2 -2
- package/dist/{bridge-7Z6MLB2B.js → bridge-6EVOZBWB.js} +7 -7
- package/dist/{build-A2WX5O3I.js → build-YXBIEJLS.js} +13 -13
- package/dist/{build-disk-ASKLEF5R.js → build-disk-RODL3IQ2.js} +11 -11
- package/dist/build-info.json +1 -1
- package/dist/{builder-ANFJHFZQ.js → builder-T4DS6F4V.js} +10 -10
- package/dist/caller-GVPCWQVM.js +23 -0
- package/dist/{check-WLQZ2BVT.js → check-BPXM64SW.js} +55 -55
- package/dist/{chunk-DF2ATCBQ.js → chunk-2HE3W4OM.js} +1 -1
- package/dist/{chunk-G6WWNIAY.js → chunk-36E4TC2U.js} +58 -17
- package/dist/{chunk-NBNZFLKJ.js → chunk-3FJGWAYD.js} +6 -6
- package/dist/{chunk-JOZ7SU5V.js → chunk-3T6DZAZX.js} +4 -4
- package/dist/{chunk-4XN2LKSK.js → chunk-47BLFHNK.js} +4 -4
- package/dist/{chunk-GQAGAMY7.js → chunk-4FMN3U57.js} +6 -6
- package/dist/{chunk-S4XEMYAP.js → chunk-4QVIBBKJ.js} +1 -1
- package/dist/{chunk-ND6JA3K5.js → chunk-4TVL4E53.js} +1 -1
- package/dist/{chunk-WNFQV5SL.js → chunk-4YJPE23H.js} +1 -1
- package/dist/{chunk-BY4SXNUL.js → chunk-6R5JI7LV.js} +3 -3
- package/dist/{chunk-TQZHYLX5.js → chunk-76GFXRC7.js} +1 -1
- package/dist/{chunk-FMYWIBBW.js → chunk-7DCFL2MK.js} +2 -2
- package/dist/{chunk-EXRBPNSJ.js → chunk-7GX7NXJW.js} +4 -4
- package/dist/{chunk-WR2TR6BC.js → chunk-7RSR6ESV.js} +1 -1
- package/dist/{chunk-NG7HVAK4.js → chunk-7UXZOTF2.js} +6 -6
- package/dist/{chunk-N6DWNOEF.js → chunk-7YVZIUOX.js} +1 -1
- package/dist/{chunk-KTHGBFIH.js → chunk-B2EEVHR7.js} +3 -3
- package/dist/{chunk-PUUQKA3W.js → chunk-B6LZQ5GU.js} +2 -2
- package/dist/{chunk-WYJSHRD6.js → chunk-BHX4FW7O.js} +10 -10
- package/dist/{chunk-D5YKPIHV.js → chunk-BU7PN6MB.js} +1 -1
- package/dist/{chunk-NOCOZB2Z.js → chunk-BXMYXZAB.js} +3 -3
- package/dist/{chunk-OHJUCEPI.js → chunk-CEVYSNA4.js} +1 -1
- package/dist/{chunk-OVV6F6TV.js → chunk-CR7DKNRM.js} +5 -34
- package/dist/{chunk-UDFHJ4KG.js → chunk-CX5SISHJ.js} +9 -9
- package/dist/{chunk-HRDPD4MF.js → chunk-DOIXXWA5.js} +3 -3
- package/dist/{chunk-TDTWNGCO.js → chunk-DV44KCM6.js} +1 -1
- package/dist/{chunk-ROQTVOAM.js → chunk-E2FIHWJX.js} +6 -6
- package/dist/{chunk-AUJPQVNR.js → chunk-E7WZCKYT.js} +3 -3
- package/dist/{chunk-MP6INWPC.js → chunk-EA2GVFAF.js} +4 -4
- package/dist/{chunk-4ATFANLO.js → chunk-FOT3WJNH.js} +2 -2
- package/dist/{chunk-DFWIJH6P.js → chunk-FSYB5QAV.js} +3 -3
- package/dist/{chunk-QWTN72TN.js → chunk-G6S2EKAF.js} +1 -1
- package/dist/{chunk-5D3XOHGK.js → chunk-GNX75MQI.js} +40 -12
- package/dist/{chunk-T3X3FZIR.js → chunk-GWT2XAGQ.js} +1 -1
- package/dist/{chunk-IUJS6LR7.js → chunk-GZVMAEHO.js} +7 -7
- package/dist/{chunk-624IRDBJ.js → chunk-H6J7CQSV.js} +21 -11
- package/dist/{chunk-SXF7NWK3.js → chunk-J4LUKUXC.js} +1 -1
- package/dist/{chunk-2EON52MM.js → chunk-KTN4XDPJ.js} +1 -1
- package/dist/{chunk-O7UOBZ7J.js → chunk-KXJDFBJH.js} +7 -7
- package/dist/{chunk-6SOATTHF.js → chunk-LIVBFF3D.js} +3 -3
- package/dist/{chunk-DMAAKDGD.js → chunk-LPTLGM24.js} +1 -1
- package/dist/{chunk-ZIBM6BTL.js → chunk-MCUI6RHU.js} +2 -1
- package/dist/{chunk-ST5S3P2C.js → chunk-MT5NUKSC.js} +2 -2
- package/dist/{chunk-7RDHN455.js → chunk-MUCWOHFZ.js} +1 -1
- package/dist/{chunk-OZG4BNC6.js → chunk-NXOTVGPL.js} +35 -11
- package/dist/{chunk-HTIUY3ER.js → chunk-O2T4LDT7.js} +4 -4
- package/dist/{chunk-PWDLJKEI.js → chunk-O5MO3RWQ.js} +30 -30
- package/dist/{chunk-DUNJ67ZH.js → chunk-OBADCUZF.js} +8 -12
- package/dist/{chunk-U4LX6N6O.js → chunk-OID5XOPL.js} +7 -7
- package/dist/{chunk-RSW5AXPT.js → chunk-PJZ7RTXX.js} +1 -1
- package/dist/{chunk-XD7V5HF5.js → chunk-PWJKROIT.js} +9 -9
- package/dist/{chunk-ND5SOLPS.js → chunk-R7OBHPWQ.js} +68 -54
- package/dist/{chunk-IMMWZV57.js → chunk-RIURJ7G6.js} +4 -4
- package/dist/{chunk-4XM6NRKW.js → chunk-RWI7Z2G6.js} +1 -1
- package/dist/{chunk-A3SSJ7WS.js → chunk-SQFSYAPO.js} +1 -1
- package/dist/{chunk-R2XWZSLR.js → chunk-T2OAXE5H.js} +1 -1
- package/dist/{chunk-ULENFLVA.js → chunk-TDEVXYWR.js} +5 -5
- package/dist/{chunk-ULDQ7IM5.js → chunk-TLLAFQMP.js} +1 -1
- package/dist/{chunk-2OSEUHWY.js → chunk-TPC6MXKS.js} +1 -1
- package/dist/{chunk-RLNTFA2C.js → chunk-UC2JHW7P.js} +1 -1
- package/dist/{chunk-HNOFOZKP.js → chunk-UFHXL6PT.js} +7 -7
- package/dist/{chunk-IB4SVQNB.js → chunk-ULL2MHZU.js} +4 -4
- package/dist/{chunk-VGV3J5CX.js → chunk-V64FGZNM.js} +1 -1
- package/dist/{chunk-ADXJXXGU.js → chunk-VBAXFWTK.js} +8 -21
- package/dist/{chunk-3WYPBALP.js → chunk-WGYAMFBU.js} +8 -8
- package/dist/{chunk-YY64D4FA.js → chunk-X5SZ3MB6.js} +1 -1
- package/dist/{chunk-LGF6NNBQ.js → chunk-Y55ARAPE.js} +22 -17
- package/dist/{chunk-C533PUPH.js → chunk-YDK6CONG.js} +5 -5
- package/dist/{chunk-BXWZCLJ3.js → chunk-YH7RGFKK.js} +1 -1
- package/dist/{chunk-W3UPD3D6.js → chunk-Z34SKGVB.js} +10 -10
- package/dist/{chunk-PNZMJFVP.js → chunk-Z5LGWR5H.js} +6 -6
- package/dist/{chunk-X5WH346T.js → chunk-ZIPXFVRF.js} +5 -5
- package/dist/{chunk-ANBDFUHT.js → chunk-ZV77MALL.js} +3 -3
- package/dist/{claude-launcher-FOPWME6I.js → claude-launcher-6ZSKTRY5.js} +7 -7
- package/dist/{cli-RKATG6XY.js → cli-645WJ5EQ.js} +165 -165
- package/dist/{command-YD3EHTZQ.js → command-RJ2ASVL7.js} +51 -51
- package/dist/{config-PFQRCT5B.js → config-TYASXT5C.js} +12 -12
- package/dist/{connect-cmd-YQVCFXOE.js → connect-cmd-EX67GWJF.js} +13 -13
- package/dist/{container-start-2RSK36GV.js → container-start-BCIJQO5U.js} +48 -48
- package/dist/{context-cleanup-U7MHU55P.js → context-cleanup-ENT7CYJC.js} +4 -4
- package/dist/{context-show-cmd-NURTDGRD.js → context-show-cmd-IMVD75NE.js} +14 -14
- package/dist/{control-plane-launch-P2E55QZ4.js → control-plane-launch-SPSKDMIE.js} +14 -14
- package/dist/{demo-record-cmd-VBWYXYOF.js → demo-record-cmd-T4DP3XE5.js} +8 -8
- package/dist/{demo-voice-cmd-6UGAD5KN.js → demo-voice-cmd-2W34DIXY.js} +20 -20
- package/dist/{dist-VQBROFST.js → dist-DYFPNEVO.js} +2 -2
- package/dist/{docker-WMGXGZFP.js → docker-BBIDJR46.js} +10 -10
- package/dist/{doctor-U3DJQGCO.js → doctor-3UWBBRMX.js} +50 -50
- package/dist/{emit-artifact-cmd-7F3BZXCQ.js → emit-artifact-cmd-VB2YPJXK.js} +19 -19
- package/dist/{emit-cmd-6KU5H7YA.js → emit-cmd-YNJYHGS3.js} +7 -7
- package/dist/{emit-criteria-cmd-VAYG4P4W.js → emit-criteria-cmd-R3RBHQNJ.js} +16 -16
- package/dist/{emit-demo-cmd-JIY6ITUC.js → emit-demo-cmd-CIVHU33R.js} +20 -20
- package/dist/{emit-finding-cmd-PBUULSSJ.js → emit-finding-cmd-YRCHPJEI.js} +16 -16
- package/dist/{emit-result-cmd-NDJBQBZS.js → emit-result-cmd-DMWCSZ53.js} +18 -18
- package/dist/{emit-step-cmd-KMVQE7GK.js → emit-step-cmd-PCPLHBTG.js} +16 -16
- package/dist/{exec-client-BJ4FHM2I.js → exec-client-AAXCCEVU.js} +8 -8
- package/dist/find-unit-3K3NXINH.js +24 -0
- package/dist/{findings-cmd-ES7ACSNZ.js → findings-cmd-XXDHIZAC.js} +16 -16
- package/dist/{fleet-readiness-3JMW2XNT.js → fleet-readiness-WRXR4ILW.js} +14 -14
- package/dist/{governing-source-LFRWLC43.js → governing-source-GPRZHSLC.js} +21 -21
- package/dist/{guest-init-ZZ3QGRFT.js → guest-init-A5CCQEEK.js} +9 -9
- package/dist/{hook-fast-A5LADBOU.js → hook-fast-M6FWJHZL.js} +1 -1
- package/dist/{hook-install-J426ZN4P.js → hook-install-5HFZDBIC.js} +4 -4
- package/dist/host-checks-AOWHQL3V.js +82 -0
- package/dist/host-key-R3ZJKBQ3.js +18 -0
- package/dist/{image-tag-7PALJT67.js → image-tag-K32BVEIL.js} +8 -8
- package/dist/index.js +4 -4
- package/dist/init-4T5EC67K.js +82 -0
- package/dist/{init-VPKR33RD.js → init-OOYKPYJM.js} +46 -46
- package/dist/{init-agent-L5O3TUUM.js → init-agent-GPEDGDHA.js} +46 -46
- package/dist/{init-cmd-3PNKJZRH.js → init-cmd-GIAREDPB.js} +27 -27
- package/dist/{init-update-WWUADCXX.js → init-update-SO7V6L6K.js} +24 -24
- package/dist/install-cmd-6RKBV54Z.js +26 -0
- package/dist/launch-agent-Q6H3IT4D.js +26 -0
- package/dist/{layout-7XSGJVYR.js → layout-A7YL63UE.js} +4 -4
- package/dist/{login-browser-NG7JWXED.js → login-browser-KJPWH65X.js} +2 -2
- package/dist/{logs-6DZKJJ22.js → logs-6VEF36N6.js} +7 -7
- package/dist/loop-USCXKLCB.js +92 -0
- package/dist/machine-RJ6QMO3N.js +82 -0
- package/dist/{machine-skills-K2RCLA6K.js → machine-skills-RTHSWGSU.js} +4 -4
- package/dist/{mcp-install-cmd-DWD6O27B.js → mcp-install-cmd-UQBQOGZ4.js} +4 -4
- package/dist/{mcp-serve-cmd-2KAWL7JK.js → mcp-serve-cmd-MOKXNZ2A.js} +9 -9
- package/dist/{paths-BZKRN5J3.js → paths-44NEENDO.js} +7 -7
- package/dist/pending-43OCDSZO.js +18 -0
- package/dist/{pidfile-4C23LXPN.js → pidfile-XWUX735M.js} +8 -8
- package/dist/{record-ABSHWHSO.js → record-6P5TK6K7.js} +8 -8
- package/dist/{relay-NZWG6R4J.js → relay-CLQW7IR5.js} +5 -5
- package/dist/{relay-protocol-7ZN7CVXP.js → relay-protocol-Y4L6Q72I.js} +5 -5
- package/dist/{run-cmd-J57WUDCT.js → run-cmd-65YREGHO.js} +16 -16
- package/dist/{runner-agents-FCJR2SGQ.js → runner-agents-2KPYIXN2.js} +4 -4
- package/dist/runner-env-2YODIR2Z.js +24 -0
- package/dist/{runner-identity-PIEZDCFI.js → runner-identity-G57VDLXN.js} +10 -10
- package/dist/{runner-key-6IW6SPGG.js → runner-key-LYLDFK3T.js} +46 -46
- package/dist/{session-sender-4DSE6XWZ.js → session-sender-JIJQNDF4.js} +19 -19
- package/dist/{spec-cmd-7ISTYBBZ.js → spec-cmd-NJLCH63H.js} +17 -17
- package/dist/{starter-pack-Y4NOXPWC.js → starter-pack-M7YNHN7G.js} +5 -5
- package/dist/state-3QZYSC4V.js +18 -0
- package/dist/{status-GPSPNHZ3.js → status-IYUTS2RN.js} +46 -46
- package/dist/{sync-cmd-KXVGXVPP.js → sync-cmd-QBFJN77X.js} +18 -18
- package/dist/update-steps-4I6LRYM7.js +83 -0
- package/dist/{watch-BQRPLHO4.js → watch-XNH2BXGJ.js} +18 -18
- package/dist/{work-claim-cmd-GT3QV7C7.js → work-claim-cmd-UZAV6F5V.js} +22 -22
- package/dist/{work-cmd-3Y45NSG6.js → work-cmd-HL6ZYYFT.js} +16 -16
- package/dist/{work-comment-cmd-ZAFDFRLJ.js → work-comment-cmd-WO4OP4CW.js} +18 -18
- package/dist/{work-demo-cmd-V3EO3VD3.js → work-demo-cmd-FSSCNRKZ.js} +16 -16
- package/dist/{work-logs-cmd-RH3N2Y6D.js → work-logs-cmd-R4DZGKR2.js} +16 -16
- package/dist/{work-mock-cmd-4HQRK3JR.js → work-mock-cmd-J3E53N3Y.js} +16 -16
- package/dist/{work-needs-attention-cmd-3VBHUC5T.js → work-needs-attention-cmd-PSLU7AC5.js} +16 -16
- package/dist/{work-no-change-cmd-HAJTDQOS.js → work-no-change-cmd-FTMU7IOE.js} +16 -16
- package/dist/{work-open-pr-cmd-W4V46HYM.js → work-open-pr-cmd-KFX3F6MB.js} +17 -17
- package/dist/{work-pr-cmd-A4DVHGWR.js → work-pr-cmd-OYOUNRB7.js} +16 -16
- package/dist/{work-proofs-cmd-2NX43SSO.js → work-proofs-cmd-3NHA732I.js} +18 -18
- package/dist/{work-proofs-record-NBVX7AHX.js → work-proofs-record-IJRJLWOX.js} +24 -24
- package/dist/{work-stop-cmd-E7G52CQN.js → work-stop-cmd-EJ7Y7I4F.js} +16 -16
- package/package.json +1 -1
- package/skill-pack/maintained/outerlayer-amend/SKILL.md +3 -3
- package/skill-pack/maintained/outerlayer-amend/references/check-items.md +1 -1
- package/skill-pack/maintained/outerlayer-build/SKILL.md +6 -6
- package/skill-pack/maintained/outerlayer-build/references/release.md +6 -6
- package/skill-pack/maintained/outerlayer-evidence/SKILL.md +3 -7
- package/skill-pack/shipped.json +0 -9
- package/dist/agent-setup-5ZZTNFNP.js +0 -41
- package/dist/caller-KCSJDOWD.js +0 -23
- package/dist/find-unit-VUV76BIL.js +0 -24
- package/dist/host-checks-SUOWG537.js +0 -82
- package/dist/host-key-J24PEPIK.js +0 -18
- package/dist/init-SKXGA5U7.js +0 -82
- package/dist/install-cmd-5WRSO54T.js +0 -26
- package/dist/launch-agent-2PRVA5EX.js +0 -26
- package/dist/loop-K53YB3BL.js +0 -92
- package/dist/machine-KLF5DDMY.js +0 -82
- package/dist/pending-5Y4PJTOZ.js +0 -18
- package/dist/runner-env-AJWM62J2.js +0 -24
- package/dist/state-RZ2GSI4R.js +0 -18
- package/dist/update-steps-K5QPTNQQ.js +0 -83
- package/skill-pack/validators/acceptance-criteria.yaml +0 -42
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { MAX_TEST_FILE_BYTES, itemsSentence, criteriaOf, hostItemsOf, loadCitationFinder, testFileMatcher, planCriteria, wholeItems, judgeGroups, failedItems, inCriteriaOrder, testsByCriterion, oneLineReason, criterionInputs, parseJudgeAnswer, judgedItems } from './chunk-
|
|
3
|
+
import { MAX_TEST_FILE_BYTES, itemsSentence, criteriaOf, hostItemsOf, loadCitationFinder, testFileMatcher, planCriteria, wholeItems, judgeGroups, failedItems, inCriteriaOrder, testsByCriterion, oneLineReason, criterionInputs, parseJudgeAnswer, judgedItems } from './chunk-6R5JI7LV.js';
|
|
4
4
|
import { RUNNER_PROTOCOL } from './chunk-2UBMDLUF.js';
|
|
5
5
|
import { sha256OfFile, downloadPinned, VoiceDownloadError } from './chunk-2PGI6RDE.js';
|
|
6
6
|
import { zodProblem } from './chunk-I3LTIAOR.js';
|
|
7
|
-
import { hasStoredCredential, storedCredentialVariables, storeAgentCredential, isAgentName, credentialFromStdin } from './chunk-
|
|
8
|
-
import { upgradedStarterText } from './chunk-
|
|
9
|
-
import { HELPER_PATH, HELPER_RECORD, DOCKERD_LOG } from './chunk-
|
|
10
|
-
import { writeDockerClientConfig } from './chunk-
|
|
11
|
-
import { senderPidfile } from './chunk-
|
|
12
|
-
import { installScrubContext } from './chunk-
|
|
7
|
+
import { hasStoredCredential, storedCredentialVariables, storeAgentCredential, isAgentName, credentialFromStdin } from './chunk-TDEVXYWR.js';
|
|
8
|
+
import { upgradedStarterText } from './chunk-VBAXFWTK.js';
|
|
9
|
+
import { HELPER_PATH, HELPER_RECORD, DOCKERD_LOG } from './chunk-LIVBFF3D.js';
|
|
10
|
+
import { writeDockerClientConfig } from './chunk-4YJPE23H.js';
|
|
11
|
+
import { senderPidfile } from './chunk-O2T4LDT7.js';
|
|
12
|
+
import { installScrubContext } from './chunk-PWJKROIT.js';
|
|
13
13
|
import { readsJobState, READ_JOB_STATE_FORMATS, jobStateFormatOf } from './chunk-B4XB5QFD.js';
|
|
14
|
-
import { runnerImageVersion } from './chunk-
|
|
15
|
-
import { claimCalls, spoolHomeFor, itemCalls, claimItem, leftByRunnerKey, configForJob } from './chunk-
|
|
14
|
+
import { runnerImageVersion } from './chunk-7YVZIUOX.js';
|
|
15
|
+
import { claimCalls, spoolHomeFor, itemCalls, claimItem, leftByRunnerKey, configForJob } from './chunk-7DCFL2MK.js';
|
|
16
16
|
import { receiveFiles } from './chunk-NN33FYXG.js';
|
|
17
|
-
import { readDefaultBranchFiles, readDefaultBranchHead, buildRepositoryImage, readRepositoryRecipe, fetchCommit, readBranchHead, diffBetween, prepareImageBuild, KEY_PREFIX, TAG_HOST, SHARED_OWNER, SHARED_NAME, universalBase, metadataFromLabels, writeRecord } from './chunk-
|
|
18
|
-
import { FETCHED_DIR, toolsDockerfile, FETCHED_FFMPEG, FETCHED_GH, FETCHED_TINI, FETCHED_HEADLESS_SHELL, FETCHED_PLAYWRIGHT_FFMPEG, FETCHED_VOICE_DIR } from './chunk-
|
|
17
|
+
import { readDefaultBranchFiles, readDefaultBranchHead, buildRepositoryImage, readRepositoryRecipe, fetchCommit, readBranchHead, diffBetween, prepareImageBuild, KEY_PREFIX, TAG_HOST, SHARED_OWNER, SHARED_NAME, universalBase, metadataFromLabels, writeRecord } from './chunk-GNX75MQI.js';
|
|
18
|
+
import { FETCHED_DIR, toolsDockerfile, FETCHED_FFMPEG, FETCHED_GH, FETCHED_TINI, FETCHED_HEADLESS_SHELL, FETCHED_PLAYWRIGHT_FFMPEG, FETCHED_VOICE_DIR } from './chunk-RIURJ7G6.js';
|
|
19
19
|
import { isSameProcess, startTimeOf } from './chunk-JBJTC3UU.js';
|
|
20
20
|
import { currentCliBuild } from './chunk-OGFGZQA3.js';
|
|
21
|
-
import { vmExecArgs, runExec, execCapture, waitForAgent } from './chunk-
|
|
22
|
-
import { socketPathProblem, vsockLinks, linkVsockSockets, GUEST_CID, LEASE_LINK } from './chunk-
|
|
23
|
-
import { describeCallFailure, shortClaim, retrySend, commandWithShim, logStamp, createRunnerLog, formatDuration, removeKeptContext, formatClock, stageGovernedContext, keptContextTree, removeStagedContext, WORKFLOW_PERMISSION_REASON, refusalCode, SELF_GOVERNED, resolveGoverningSource, prefetchGovernedContext, controlPlaneTokenFailure, keepStagedContext, pinnedSourceOf, shimScript } from './chunk-
|
|
24
|
-
import { postJson, getJson, WorkCommandError, isSignatureRefusal } from './chunk-
|
|
25
|
-
import { keyRunnerFactory, runnerCredentialProblem, builtinKind, readOnlyOption, optionalEgress, isBuiltinContainer, isBuiltinVm, isBuiltinSandbox, egressSummary, DEFAULT_WORKSPACE_KEEP_DAYS, readOnlyRemoteOf, DEFAULT_CHECK_TIME_LIMIT_MINUTES, DEFAULT_SETUP_MINUTES, allowHostProblem, systemClock, emptyEgressCounts, hostAllowed, sandboxTimeLimitMinutes, networkOf, imageBuildOf, machineSizeOf, sandboxSizeOf, DEFAULT_SAVED_STATE_MAX_BYTES } from './chunk-
|
|
26
|
-
import { formatBytes, volumeBytes, allocatedBytes, DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK, freeBytes } from './chunk-
|
|
27
|
-
import { said, NETWORK_HELPER_MEMORY, firstLine, writeJobFile, readJobFile, spawnRun, RUNNER_LABEL, BUILD_LABEL, createDockerHost, builderSpec, childEnvironment, containerExecArgs, readDu, JUDGE_DIR, JUDGE_ITEMS, answerFileName, hashJudgeProgram, NETWORK_READY_FILE, MAX_ITEMS_BYTES, MAX_REPORT_BYTES, JUDGE_REPORT, withAnswerProtocol, JUDGE_TREE, runnerLabelValue, parseSize, readJobFileChecked, networkHelperName, prepareRunArgs, containerRunArgs, judgeCommand, WORKSPACE_LABEL, homeCopyRunArgs, networkHelperRunArgs, JUDGE_MAX_TURNS, identityScript, identityArgs, parseIdentity, mountableHome, homeCopyScript, homeCopyArgs, COMMAND_DIR, judgeProgramRecord, identityRunArgs, SAVED_STATE_LABEL } from './chunk-
|
|
28
|
-
import { universalImagePending, RecipeError, writeSanitizedRecipe, classifyProperties, DOCKER_FEATURE } from './chunk-
|
|
29
|
-
import { sanitizeTerminal, planArtifactUpload } from './chunk-
|
|
30
|
-
import { sharedSkillNames, skillConflictMessage } from './chunk-
|
|
21
|
+
import { vmExecArgs, runExec, execCapture, waitForAgent } from './chunk-V64FGZNM.js';
|
|
22
|
+
import { socketPathProblem, vsockLinks, linkVsockSockets, GUEST_CID, LEASE_LINK } from './chunk-B2EEVHR7.js';
|
|
23
|
+
import { describeCallFailure, shortClaim, retrySend, commandWithShim, logStamp, createRunnerLog, formatDuration, removeKeptContext, formatClock, stageGovernedContext, keptContextTree, removeStagedContext, WORKFLOW_PERMISSION_REASON, refusalCode, SELF_GOVERNED, resolveGoverningSource, prefetchGovernedContext, controlPlaneTokenFailure, keepStagedContext, pinnedSourceOf, shimScript } from './chunk-H6J7CQSV.js';
|
|
24
|
+
import { postJson, getJson, WorkCommandError, isSignatureRefusal } from './chunk-CX5SISHJ.js';
|
|
25
|
+
import { keyRunnerFactory, runnerCredentialProblem, builtinKind, readOnlyOption, optionalEgress, isBuiltinContainer, isBuiltinVm, isBuiltinSandbox, egressSummary, DEFAULT_WORKSPACE_KEEP_DAYS, readOnlyRemoteOf, DEFAULT_CHECK_TIME_LIMIT_MINUTES, DEFAULT_SETUP_MINUTES, allowHostProblem, systemClock, emptyEgressCounts, hostAllowed, sandboxTimeLimitMinutes, networkOf, imageBuildOf, machineSizeOf, sandboxSizeOf, DEFAULT_SAVED_STATE_MAX_BYTES } from './chunk-EA2GVFAF.js';
|
|
26
|
+
import { formatBytes, volumeBytes, allocatedBytes, DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK, freeBytes } from './chunk-MT5NUKSC.js';
|
|
27
|
+
import { said, NETWORK_HELPER_MEMORY, firstLine, writeJobFile, readJobFile, spawnRun, RUNNER_LABEL, BUILD_LABEL, createDockerHost, builderSpec, childEnvironment, containerExecArgs, readDu, JUDGE_DIR, JUDGE_ITEMS, answerFileName, hashJudgeProgram, NETWORK_READY_FILE, MAX_ITEMS_BYTES, MAX_REPORT_BYTES, JUDGE_REPORT, withAnswerProtocol, JUDGE_TREE, runnerLabelValue, parseSize, readJobFileChecked, networkHelperName, prepareRunArgs, containerRunArgs, judgeCommand, WORKSPACE_LABEL, homeCopyRunArgs, networkHelperRunArgs, JUDGE_MAX_TURNS, identityScript, identityArgs, parseIdentity, mountableHome, homeCopyScript, homeCopyArgs, COMMAND_DIR, judgeProgramRecord, identityRunArgs, SAVED_STATE_LABEL } from './chunk-WGYAMFBU.js';
|
|
28
|
+
import { universalImagePending, RecipeError, writeSanitizedRecipe, classifyProperties, DOCKER_FEATURE } from './chunk-2HE3W4OM.js';
|
|
29
|
+
import { sanitizeTerminal, planArtifactUpload } from './chunk-DV44KCM6.js';
|
|
30
|
+
import { sharedSkillNames, skillConflictMessage } from './chunk-SQFSYAPO.js';
|
|
31
31
|
import { readCloudConfig } from './chunk-HWVMRETT.js';
|
|
32
|
-
import { signerFor } from './chunk-
|
|
33
|
-
import { sessionsDir, vmAssetsDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, workspacesDir, jobsDir, storeScopes, spoolDir, orgStoreIn, rootfsDir, imagesDir, builderCacheDiskPath, buildsDir, buildDir, ghConfigDir, runnerDirOfBuild, mirrorDir, orgHomeDir, jobConsolePath, vsockPath, builderConsolePath, rootfsPathFor, diskTemplatesDir, deliveryDir, SHIM_DIR } from './chunk-
|
|
34
|
-
import { BUILD_HOME, dataPlaneOf, sandboxCallOf, SandboxError, repositoriesOf, JOB_MOUNT, heldBuildAuthority, IMAGE_BUNDLES, writeTrustFiles, buildEnvironment, trustEnvironment, CHECKOUT_DIR, parseIsolation, containerLocalAddress, destinationEnvironment, withHooksPath, startBuildServices, checkoutPath, headerVariables, authorEnvironment, sharedUserEnvironment, withTunnelRecord, commitIdentityRecord, RELAY_PORT, repositoryPath, lifecycleWorkdir, CHECK_ITEMS_FILE, parseProxied, readBundleScript, applyTrust, STAND_IN, proxyEnvironment, describeSandboxError, dropBuildAuthority, sandboxSettingsFrom, createSandboxClient, hostKeyOf, buildAuthorityFor, checkEnvironment, withMiseVariables, primaryOf, variablesFor, carried6to4, classifyAddress, EVAL_INPUT_DIR, isMiseVariableAllowed, variableForPath, droppedRequestHeaders, hasDotDotSegment, routeNameOf, providerMayAnswerLater, toolProxyEnvironment } from './chunk-
|
|
35
|
-
import { agentCredential, managedAgentCredential, RUNNER_WORDED_REASONS, UNKNOWN_TRACKING_REASON, UNKNOWN_TRANSPORT_REASON, RELAY_USER, builtInNames, currentAgentCredential, removedAgentCredentialValues, realFdStorePort, MAX_MALFORMED_SESSIONS, MALFORMED_REASON, JOIN_WAIT_MS, MAX_OPEN_STREAMS, STREAM_RESET_RATE, STREAM_RESET_BURST, STREAM_WINDOW, SESSION_WINDOW, targetOfPath, AGENT_CREDENTIAL_MISSING, fdName, RELAY_ID, DOCKER_DESKTOP_REASON } from './chunk-
|
|
32
|
+
import { signerFor } from './chunk-BU7PN6MB.js';
|
|
33
|
+
import { sessionsDir, vmAssetsDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, workspacesDir, jobsDir, storeScopes, spoolDir, orgStoreIn, rootfsDir, imagesDir, builderCacheDiskPath, buildsDir, buildDir, ghConfigDir, runnerDirOfBuild, mirrorDir, orgHomeDir, jobConsolePath, vsockPath, builderConsolePath, rootfsPathFor, diskTemplatesDir, deliveryDir, SHIM_DIR } from './chunk-TPC6MXKS.js';
|
|
34
|
+
import { BUILD_HOME, dataPlaneOf, sandboxCallOf, SandboxError, repositoriesOf, JOB_MOUNT, heldBuildAuthority, IMAGE_BUNDLES, writeTrustFiles, buildEnvironment, trustEnvironment, CHECKOUT_DIR, parseIsolation, containerLocalAddress, destinationEnvironment, withHooksPath, startBuildServices, checkoutPath, headerVariables, authorEnvironment, sharedUserEnvironment, withTunnelRecord, commitIdentityRecord, RELAY_PORT, repositoryPath, lifecycleWorkdir, CHECK_ITEMS_FILE, parseProxied, readBundleScript, applyTrust, STAND_IN, proxyEnvironment, describeSandboxError, dropBuildAuthority, sandboxSettingsFrom, createSandboxClient, hostKeyOf, buildAuthorityFor, checkEnvironment, withMiseVariables, primaryOf, variablesFor, carried6to4, classifyAddress, EVAL_INPUT_DIR, isMiseVariableAllowed, variableForPath, droppedRequestHeaders, hasDotDotSegment, routeNameOf, providerMayAnswerLater, toolProxyEnvironment } from './chunk-ULL2MHZU.js';
|
|
35
|
+
import { agentCredential, managedAgentCredential, RUNNER_WORDED_REASONS, UNKNOWN_TRACKING_REASON, UNKNOWN_TRANSPORT_REASON, RELAY_USER, builtInNames, currentAgentCredential, removedAgentCredentialValues, realFdStorePort, MAX_MALFORMED_SESSIONS, MALFORMED_REASON, JOIN_WAIT_MS, MAX_OPEN_STREAMS, STREAM_RESET_RATE, STREAM_RESET_BURST, STREAM_WINDOW, SESSION_WINDOW, targetOfPath, AGENT_CREDENTIAL_MISSING, fdName, RELAY_ID, DOCKER_DESKTOP_REASON } from './chunk-B6LZQ5GU.js';
|
|
36
36
|
import { versionAtLeast } from './chunk-SF2TBJBP.js';
|
|
37
|
-
import { jobAgent, firecrackerArch, MICROVM_ARCHES, FIRECRACKER_VERSION, hostHelperPinned, builderDiskPinned, guestAssetsPinned, runnerAgentNamed, credentialForms, orList, credentialShapes, agentCommands, defaultCommandLine, credentialAgent, GUEST_HELPER_SHA256, GUEST_ASSETS_BASE_URL, GUEST_KERNEL_SHA256, JAILER_BINARY_SHA256, FIRECRACKER_BINARY_SHA256, FIRECRACKER_SHA256, GUEST_ASSETS_VERSION, BUILDER_DISK_VERSION, credentialHandOffKey, strippedVariables, runnerAgents, judgeAgent, networkHelperPinned, NETWORK_HELPER_SHA256, universalImagePinned, UNIVERSAL_IMAGE, FFMPEG_STATIC, FFMPEG_BUILD_TAG, GH_SHA256, GH_VERSION, TINI_SHA256, TINI_VERSION, HEADLESS_SHELL, HEADLESS_SHELL_BASE_URL, PLAYWRIGHT_FFMPEG, PLAYWRIGHT_FFMPEG_BASE_URL, VOICE_PACK_FILES, BUILDER_DISK_SHA256, BUILDER_DISK_BASE_URL, DEFAULT_BASE_IMAGE, agentVersionOf } from './chunk-
|
|
38
|
-
import { sessionFolderIn, legacyAgent, defaultAgents, parsePolicy, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, orderSessions, extractFacts, sessionsToTimeline, resolvePackRoot } from './chunk-
|
|
37
|
+
import { jobAgent, firecrackerArch, MICROVM_ARCHES, FIRECRACKER_VERSION, hostHelperPinned, builderDiskPinned, guestAssetsPinned, runnerAgentNamed, credentialForms, orList, credentialShapes, agentCommands, defaultCommandLine, credentialAgent, GUEST_HELPER_SHA256, GUEST_ASSETS_BASE_URL, GUEST_KERNEL_SHA256, JAILER_BINARY_SHA256, FIRECRACKER_BINARY_SHA256, FIRECRACKER_SHA256, GUEST_ASSETS_VERSION, BUILDER_DISK_VERSION, credentialHandOffKey, strippedVariables, runnerAgents, judgeAgent, networkHelperPinned, NETWORK_HELPER_SHA256, universalImagePinned, UNIVERSAL_IMAGE, FFMPEG_STATIC, FFMPEG_BUILD_TAG, GH_SHA256, GH_VERSION, TINI_SHA256, TINI_VERSION, HEADLESS_SHELL, HEADLESS_SHELL_BASE_URL, PLAYWRIGHT_FFMPEG, PLAYWRIGHT_FFMPEG_BASE_URL, VOICE_PACK_FILES, BUILDER_DISK_SHA256, BUILDER_DISK_BASE_URL, DEFAULT_BASE_IMAGE, agentVersionOf } from './chunk-T2OAXE5H.js';
|
|
38
|
+
import { sessionFolderIn, legacyAgent, defaultAgents, parsePolicy, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, orderSessions, extractFacts, sessionsToTimeline, resolvePackRoot } from './chunk-NXOTVGPL.js';
|
|
39
39
|
import { MAINTAINED_SKILLS } from './chunk-TGVNEQSQ.js';
|
|
40
40
|
import { resolveVersion } from './chunk-RA3O54FC.js';
|
|
41
41
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
42
|
-
import { scrubText, MIN_SCRUBBED_LITERAL, setCustomScrubbers, setLocalIdentity, setRepoRoot, forkFor, scrubDeep } from './chunk-
|
|
43
|
-
import { CheckItemsSchema, CODE_REVIEW_NAME, JUDGE_NOT_RUN_ITEM_ID, CHECK_ITEM_REASON_MAX_LENGTH, CHECK_ITEM_HREF_MAX_LENGTH, downconvertSession } from './chunk-
|
|
42
|
+
import { scrubText, MIN_SCRUBBED_LITERAL, setCustomScrubbers, setLocalIdentity, setRepoRoot, forkFor, scrubDeep } from './chunk-Y55ARAPE.js';
|
|
43
|
+
import { CheckItemsSchema, CODE_REVIEW_NAME, CRITERIA_JUDGE_NAME, JUDGE_NOT_RUN_ITEM_ID, CHECK_ITEM_REASON_MAX_LENGTH, CHECK_ITEM_HREF_MAX_LENGTH, downconvertSession } from './chunk-MCUI6RHU.js';
|
|
44
44
|
import { randomUUID, randomBytes, createHash } from 'crypto';
|
|
45
45
|
import { rmSync, mkdirSync, existsSync, readFileSync, mkdtempSync, statSync, appendFileSync, writeFileSync, readdirSync, accessSync, constants, openSync, closeSync, lstatSync, chmodSync, renameSync, rmdirSync, createReadStream, unlinkSync, realpathSync, writeSync, truncateSync, cpSync, copyFileSync, fstatSync, readSync, createWriteStream, linkSync } from 'fs';
|
|
46
46
|
import { join, dirname, isAbsolute, delimiter, basename, sep, relative, resolve } from 'path';
|
|
@@ -9139,9 +9139,6 @@ async function runJudge(input) {
|
|
|
9139
9139
|
}
|
|
9140
9140
|
let checks = [];
|
|
9141
9141
|
if (definitions.ok) {
|
|
9142
|
-
for (const id of definitions.unrecorded) {
|
|
9143
|
-
log.line(`${tag} judge not run for ${id}: the check is not run.where: host with a judge or a command, so this host records no result for it`);
|
|
9144
|
-
}
|
|
9145
9142
|
checks = definitions.checks.filter(isJudgeCheck);
|
|
9146
9143
|
} else {
|
|
9147
9144
|
log.line(`${tag} judge not run: the definitions could not be read: ${definitions.reason}`);
|
|
@@ -9150,7 +9147,7 @@ async function runJudge(input) {
|
|
|
9150
9147
|
if (passed.ok) {
|
|
9151
9148
|
const record2 = makeRecorder({ config, job, jobDir, deps });
|
|
9152
9149
|
const reason = `the definitions could not be read: ${definitions.reason}`;
|
|
9153
|
-
for (const name of passed.value) await record2(name, "fail", reason, { idTag: "judge-unread", ...name ===
|
|
9150
|
+
for (const name of passed.value) await record2(name, "fail", reason, { idTag: "judge-unread", ...name === CRITERIA_JUDGE_NAME ? {} : { items: notRunItems(reason) } });
|
|
9154
9151
|
} else {
|
|
9155
9152
|
log.error(`${tag} the item's host results could not be read, so none was failed: ${passed.reason}`);
|
|
9156
9153
|
}
|
|
@@ -9179,6 +9176,23 @@ async function runJudge(input) {
|
|
|
9179
9176
|
log.line(`${tag} judge done (${formatDuration(now().getTime() - startedMs)})`);
|
|
9180
9177
|
}
|
|
9181
9178
|
async function judgeOne(check) {
|
|
9179
|
+
let workItem;
|
|
9180
|
+
let criteria;
|
|
9181
|
+
let previous = [];
|
|
9182
|
+
if (check.judge.subjects === "criteria") {
|
|
9183
|
+
try {
|
|
9184
|
+
workItem = await readItem();
|
|
9185
|
+
} catch (err) {
|
|
9186
|
+
return await fail(check, `the item's criteria could not be read: ${describeCallFailure(err)}`);
|
|
9187
|
+
}
|
|
9188
|
+
criteria = criteriaOf(workItem);
|
|
9189
|
+
if (criteria === void 0) {
|
|
9190
|
+
log.line(`${tag} judge: no criteria are recorded for the item, so ${check.name} records no result`);
|
|
9191
|
+
return;
|
|
9192
|
+
}
|
|
9193
|
+
previous = hostItemsOf(workItem, check.name);
|
|
9194
|
+
}
|
|
9195
|
+
if (check.judge.text === void 0) return await fail(check, `the brief ${check.judge.brief} is not in the definitions repository`);
|
|
9182
9196
|
const agent = judgeAgent(runtime.agents);
|
|
9183
9197
|
if (agent?.adapter.headless === void 0) return await fail(check, `${agent?.descriptor.label ?? "the agent list"} has no headless part, so it cannot run the judge`);
|
|
9184
9198
|
const missing = noAgentProgram(agent.descriptor.label);
|
|
@@ -9187,7 +9201,6 @@ async function runJudge(input) {
|
|
|
9187
9201
|
const expected = builtOf(job)?.judgeProgram;
|
|
9188
9202
|
if (expected === void 0) return await fail(check, missing);
|
|
9189
9203
|
const brief = check.judge.text;
|
|
9190
|
-
if (brief === void 0) return await fail(check, `the brief ${check.judge.brief} is not in the definitions repository`);
|
|
9191
9204
|
if (tokens === void 0) return await fail(check, "the build's repository tokens are no longer held, so the branch cannot be fetched");
|
|
9192
9205
|
const credential = judgeCredential(config, jobDir, runtime);
|
|
9193
9206
|
if (credential === void 0) return await fail(check, `the host holds no ${agent.descriptor.credentials.label} credential for the judge`);
|
|
@@ -9218,19 +9231,6 @@ async function runJudge(input) {
|
|
|
9218
9231
|
return await fail(check, `no read token for ${repo}: ${describeCallFailure(err)}`);
|
|
9219
9232
|
}
|
|
9220
9233
|
}
|
|
9221
|
-
let criteria;
|
|
9222
|
-
let previous = [];
|
|
9223
|
-
if (check.judge.subjects === "criteria") {
|
|
9224
|
-
let workItem;
|
|
9225
|
-
try {
|
|
9226
|
-
workItem = await readItem();
|
|
9227
|
-
} catch (err) {
|
|
9228
|
-
return await fail(check, `the item's criteria could not be read: ${describeCallFailure(err)}`);
|
|
9229
|
-
}
|
|
9230
|
-
criteria = criteriaOf(workItem);
|
|
9231
|
-
if (criteria === void 0) return await fail(check, "no criteria are recorded for the item");
|
|
9232
|
-
previous = hostItemsOf(workItem, check.name);
|
|
9233
|
-
}
|
|
9234
9234
|
const branchDir = join(scratch, "branch");
|
|
9235
9235
|
const fetched = await (deps.fetchCommit ?? fetchCommit)({ remote, dir: branchDir, commit: head, token: subjectToken });
|
|
9236
9236
|
if (!fetched.ok) return await fail(check, `the build's tests could not be fetched: ${fetched.reason}`);
|
|
@@ -10073,6 +10073,10 @@ async function finishJob(job, jobDirPath, outcome, config, deps, ending) {
|
|
|
10073
10073
|
writeJobFile(jobFilePath, job);
|
|
10074
10074
|
}
|
|
10075
10075
|
const uploadSessions = async (workdir) => {
|
|
10076
|
+
if (job.queue === "review") {
|
|
10077
|
+
log.line(`${tag} sync skipped: a review job has no session to upload`);
|
|
10078
|
+
return;
|
|
10079
|
+
}
|
|
10076
10080
|
if (valuesNotHeld) {
|
|
10077
10081
|
log.error(`${tag} sync skipped: ${VALUES_NOT_HELD}`);
|
|
10078
10082
|
return;
|
|
@@ -13661,7 +13665,18 @@ function validatorFilesIn(root) {
|
|
|
13661
13665
|
}
|
|
13662
13666
|
return files;
|
|
13663
13667
|
}
|
|
13664
|
-
var
|
|
13668
|
+
var SHIPPED_JUDGE_BRIEF = join("maintained", "outerlayer-build", "references", "criteria-judge.md");
|
|
13669
|
+
function shippedJudgeBrief() {
|
|
13670
|
+
try {
|
|
13671
|
+
return readFileSync(join(resolvePackRoot(), SHIPPED_JUDGE_BRIEF), "utf8");
|
|
13672
|
+
} catch {
|
|
13673
|
+
return void 0;
|
|
13674
|
+
}
|
|
13675
|
+
}
|
|
13676
|
+
function criteriaJudgeCheck(root, brief, log, tag) {
|
|
13677
|
+
if (brief !== null) return { name: CRITERIA_JUDGE_NAME, builtIn: true, judge: { brief, text: readBrief(root, brief, log, tag), subjects: "criteria" } };
|
|
13678
|
+
return { name: CRITERIA_JUDGE_NAME, builtIn: true, judge: { brief: "the criteria-judge brief this CLI ships", text: shippedJudgeBrief(), subjects: "criteria" } };
|
|
13679
|
+
}
|
|
13665
13680
|
function asHostReads(file, base, log, tag) {
|
|
13666
13681
|
const upgraded = upgradedStarterText(file.path, file.content, { base });
|
|
13667
13682
|
if (upgraded === void 0) return file;
|
|
@@ -13676,18 +13691,17 @@ function checksIn(root, log, tag) {
|
|
|
13676
13691
|
const base = existsSync(join(root, AGENTS_SKILLS_BASE)) ? AGENTS_SKILLS_BASE : OUTERLAYER_SKILLS_BASE;
|
|
13677
13692
|
const policyText = readInside(root, POLICY_FILE);
|
|
13678
13693
|
const policy = policyText === void 0 ? null : asHostReads({ path: POLICY_FILE, content: policyText }, base, log, tag);
|
|
13679
|
-
const loaded = parsePolicy(policy, validatorFilesIn(root)
|
|
13694
|
+
const loaded = parsePolicy(policy, validatorFilesIn(root));
|
|
13680
13695
|
for (const problem of loaded.problems) log.error(`${tag} ${problem.file}: ${problem.problem}`);
|
|
13681
13696
|
const hostChecks = loaded.customs.filter(
|
|
13682
|
-
(def) => def.runWhere === "host" && def.level !== "off" && def.declaresEmit !== null && def.declaresEmit !== CODE_REVIEW_NAME
|
|
13697
|
+
(def) => def.runWhere === "host" && def.level !== "off" && def.declaresEmit !== null && def.declaresEmit !== CODE_REVIEW_NAME && def.declaresEmit !== CRITERIA_JUDGE_NAME
|
|
13683
13698
|
);
|
|
13684
|
-
const checks = [];
|
|
13699
|
+
const checks = loaded.criteriaJudge === "off" ? [] : [criteriaJudgeCheck(root, loaded.criteriaJudgeBrief, log, tag)];
|
|
13685
13700
|
for (const def of hostChecks) {
|
|
13686
13701
|
if (def.judge !== void 0) checks.push({ name: def.declaresEmit, judge: { brief: def.judge.brief, text: readBrief(root, def.judge.brief, log, tag), subjects: def.judge.subjects } });
|
|
13687
13702
|
else if (def.command !== void 0) checks.push({ name: def.declaresEmit, command: def.command });
|
|
13688
13703
|
}
|
|
13689
|
-
|
|
13690
|
-
return { checks, unrecorded };
|
|
13704
|
+
return { checks };
|
|
13691
13705
|
}
|
|
13692
13706
|
function builtOf(job) {
|
|
13693
13707
|
return job.container ?? job.microvm ?? job.sandbox?.container;
|
|
@@ -14052,4 +14066,4 @@ async function runHostChecks(input) {
|
|
|
14052
14066
|
}
|
|
14053
14067
|
}
|
|
14054
14068
|
|
|
14055
|
-
export { ADOPTED_FETCH_RETRY_WINDOW_MS, ALREADY_RELEASED, AttemptLogBook,
|
|
14069
|
+
export { ADOPTED_FETCH_RETRY_WINDOW_MS, ALREADY_RELEASED, AttemptLogBook, EXIT_CODE_FILE, GUEST_USAGE_INTERVAL_MS, HELPER_ENV, KIND_LABEL, LEASE_SECONDS, MAX_CHECK_ITEMS_BYTES, MICROVM_COMMAND_DIR, MIN_ENGINE_MAJOR, PLACEHOLDER_MARKER, RENEW_INTERVAL_SECONDS, RunnerInitError, SANDBOX_MACHINES, SandboxGoneError, agentCredentialCheck, appendCommandLog, attemptNote, builtOf, checksIn, claimPermissionProblem, claimRun, commandItems, commandLogOffset, containerCommandExec, createContainerRuntime, createGatewaySandboxClient, createHousekeepingDocker, createLeaseChannel, currentSkillCommand, decideHostBuildSkill, deliverCommitHooks, deliverContainerHooks, deliverExecMaven, deliverJobFiles, deliverSandboxHooks, describeHookEnd, describeMachineDocker, detectMachine, ensureFirecrackerAndJailer, ensureNetworkReady, ensureTunnel, environmentFor, execArgv, execCommandLine, fetchManagedBuildSettings, fetchManagedClaudeKey, filesAreCopied, finishJob, foldSample, formerSkillProblem, formerSkillQueues, freeItemDisksUntil, gatewayRefusalReason, gitRemoteFor, helperFirecrackerNote, helperSocketPath, holdManagedBuildSettings, holdManagedClaudeKey, hookLimitsFor, hostCommandEnvironment, hostEnvironment, housekeepingDockerIfReachable, inSandbox, inTeardown, installTrust, isContainerTracked, isGroupAlive, isIdle, isIsolatedJob, isJudgeCheck, isMicroVmTracked, isPlaceholderCommand, isReadable, isSandboxTracked, isTimedOut, isTracked, isUnfinished, itemScope, itemTag, jobEnv, jobRecordsClaim, judgeCredential, judgeProbe, keepGhConfigCurrent, keptCommitsLine, keptSandboxIds, keptSessionDir, leaseExpiresAtMs, leaseTimeLeftMs, lifecycleFailureReason, lifecycleSteps, listAdoptableJobs, listItemDisks, listTrackedJobs, listUnreadableJobs, listenOnBroker, makeRecorder, managedBuildSettingsFor, measureDisk, microVmArchSupported, microVmAssetsPinned, microVmCommandLine, microVmOomKills, missingPermissionFix, missingPermissionOf, modellessProblem, modellessQueues, nativeWindowsSandboxRefusal, needsAgentCredential, needsBuildSkill, needsRenew, outcomeFromExitCode, parseCpuList, permissionModeProblem, permissionModeProblems, placeholderProblem, placeholderQueues, prepareBranch, prepareResume, prepareRunnerInit, probeCommand, probeHelper, probeMicroVmCommand, probeSandboxCommand, provisionContainer, provisionEnvironment, provisionMicroVm, provisionSandbox, reachDockerStep, readConfigObject, readCpuUsec, readDefinitions, readProvisionOut, readRecords, readWorkItem, recordsProofsOnly, recoverLostJobs, rejoinSandboxBuild, releaseLease, removeOldestUntil, removeRunnerBlock, renewLease, renewRun, resolveHostBuild, restartSender, restoreSessionIntoContainer, restoreSessionIntoMicroVm, restoreSessionIntoSandbox, restoreWork, retryFailedReleases, runCommand, runCommandOf, runDecision, runHook, runHostChecks, runHousekeeping, runRunnerInit, runWithSpawn, sampleGuest, savedStatesDir, scrubReason, serveLease, sessionGuestOfContainer, sessionGuestOfMicroVm, sessionGuestOfSandbox, setStage, setUpRunnerCgroup, shellQuote, startHostServices, startMicroVmCommand, startSandboxCommand, startSender, startServicesFor, stopOrphanedMicroVms, stoppedHelperReason, stripTerminalControls, supportsContainerBuilds, supportsMicroVmBuilds, sweepImageBuilders, sweepSandboxes, testProofIn, timeoutAfter, treeFileText, unfinishedJobs, usableCpus, vmAlive, withTunnelLog, workRestoredEnv, workdirProblem, writeGuestGhConfig, writeRunnerInit };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { PROXY_WARNING_FLAG } from './chunk-
|
|
4
|
-
import { RELAY_ID, RELAY_USER } from './chunk-
|
|
5
|
-
import { imageInstalls, 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-
|
|
6
|
-
import { defaultAgents } from './chunk-
|
|
3
|
+
import { PROXY_WARNING_FLAG } from './chunk-ULL2MHZU.js';
|
|
4
|
+
import { RELAY_ID, RELAY_USER } from './chunk-B6LZQ5GU.js';
|
|
5
|
+
import { imageInstalls, 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-T2OAXE5H.js';
|
|
6
|
+
import { defaultAgents } from './chunk-NXOTVGPL.js';
|
|
7
7
|
|
|
8
8
|
createRequire(import.meta.url);
|
|
9
9
|
|
|
@@ -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-NXOTVGPL.js';
|
|
5
5
|
|
|
6
6
|
createRequire(import.meta.url);
|
|
7
7
|
|
|
@@ -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-SF2TBJBP.js';
|
|
4
|
-
import { legacyAgent, agentById, defaultAgents, legacySubcommand } from './chunk-
|
|
4
|
+
import { legacyAgent, agentById, defaultAgents, legacySubcommand } from './chunk-NXOTVGPL.js';
|
|
5
5
|
import { LEGACY_AGENT } from './chunk-7PZDPISM.js';
|
|
6
6
|
import { MAINTAINED_SKILLS } from './chunk-TGVNEQSQ.js';
|
|
7
7
|
import { lstatSync, readFileSync } from 'fs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { defaultAgents, agentById } from './chunk-
|
|
3
|
+
import { defaultAgents, agentById } from './chunk-NXOTVGPL.js';
|
|
4
4
|
import { PROVIDERS, LEGACY_AGENT } from './chunk-7PZDPISM.js';
|
|
5
5
|
import { join, dirname } from 'path';
|
|
6
6
|
|
|
@@ -1,10 +1,10 @@
|
|
|
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 { parseRunnerEnv, withoutCredentialLines } from './chunk-
|
|
6
|
-
import { headlessNames, runnerAgentNamed, credentialAgent, orList, credentialShapes, runnerAgents, credentialForms, credentialEnvPath, forwardedVariables } from './chunk-
|
|
7
|
-
import { defaultAgents } from './chunk-
|
|
3
|
+
import { DEFAULT_UNIT_NAME } from './chunk-Z5LGWR5H.js';
|
|
4
|
+
import { RUNNER_FILE_MODE } from './chunk-TPC6MXKS.js';
|
|
5
|
+
import { parseRunnerEnv, withoutCredentialLines } from './chunk-B6LZQ5GU.js';
|
|
6
|
+
import { headlessNames, runnerAgentNamed, credentialAgent, orList, credentialShapes, runnerAgents, credentialForms, credentialEnvPath, forwardedVariables } from './chunk-T2OAXE5H.js';
|
|
7
|
+
import { defaultAgents } from './chunk-NXOTVGPL.js';
|
|
8
8
|
import { existsSync, readFileSync, writeFileSync, renameSync, rmSync } from 'fs';
|
|
9
9
|
import { join, dirname } from 'path';
|
|
10
10
|
|
|
@@ -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-NXOTVGPL.js';
|
|
4
4
|
import { MAINTAINED_SKILLS, maintainedLineVersion } from './chunk-TGVNEQSQ.js';
|
|
5
5
|
import { resolvePackageVersion } from './chunk-RA3O54FC.js';
|
|
6
6
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { legacyAgent, createNodeAgentIO, ADAPTER_FACTORIES } from './chunk-
|
|
3
|
+
import { legacyAgent, createNodeAgentIO, ADAPTER_FACTORIES } from './chunk-NXOTVGPL.js';
|
|
4
4
|
|
|
5
5
|
createRequire(import.meta.url);
|
|
6
6
|
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { resolveCredentials, postBytes, RateLimitedError, postJson, getJson, getBytes } from './chunk-
|
|
4
|
-
import { detectActiveSession } from './chunk-
|
|
5
|
-
import { sanitizeTerminal } from './chunk-
|
|
3
|
+
import { resolveCredentials, postBytes, RateLimitedError, postJson, getJson, getBytes } from './chunk-CX5SISHJ.js';
|
|
4
|
+
import { detectActiveSession } from './chunk-MUCWOHFZ.js';
|
|
5
|
+
import { sanitizeTerminal } from './chunk-DV44KCM6.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { defaultFetch } from './chunk-
|
|
8
|
-
import { logHookError } from './chunk-
|
|
7
|
+
import { defaultFetch } from './chunk-YH7RGFKK.js';
|
|
8
|
+
import { logHookError } from './chunk-ZV77MALL.js';
|
|
9
9
|
import { parseWorkItemEnv } from './chunk-LGJ56FCM.js';
|
|
10
10
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
11
11
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
12
|
-
import { resolveRepoIdentity } from './chunk-
|
|
13
|
-
import { ATTACHMENT_CLIENT_ID_HEADER, ATTACHMENT_SHA256_HEADER, ATTACHMENT_FILENAME_HEADER, cleanAttachmentFilename, WORK_ITEM_ATTACHMENTS_MAX_PER_COMMENT, attachmentKind, WORK_ITEM_ATTACHMENT_MAX_BYTES, WORK_ITEM_ATTACHMENTS_MAX_TOTAL_BYTES } from './chunk-
|
|
12
|
+
import { resolveRepoIdentity } from './chunk-Y55ARAPE.js';
|
|
13
|
+
import { ATTACHMENT_CLIENT_ID_HEADER, ATTACHMENT_SHA256_HEADER, ATTACHMENT_FILENAME_HEADER, cleanAttachmentFilename, WORK_ITEM_ATTACHMENTS_MAX_PER_COMMENT, attachmentKind, WORK_ITEM_ATTACHMENT_MAX_BYTES, WORK_ITEM_ATTACHMENTS_MAX_TOTAL_BYTES } from './chunk-MCUI6RHU.js';
|
|
14
14
|
import { randomUUID, createHash } from 'crypto';
|
|
15
15
|
import { mkdirSync, statSync, readFileSync, writeFileSync } from 'fs';
|
|
16
16
|
import { resolve, extname, basename, join } from 'path';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { builtInEnvironment, managedAgentCredential, agentCredential, builtInNames, TARGET_TUNNEL, TARGET_LEASE, destinationTarget, builtInDestinations, destinationPort } from './chunk-
|
|
4
|
-
import { strippedVariables } from './chunk-
|
|
5
|
-
import { defaultAgents } from './chunk-
|
|
3
|
+
import { builtInEnvironment, managedAgentCredential, agentCredential, builtInNames, TARGET_TUNNEL, TARGET_LEASE, destinationTarget, builtInDestinations, destinationPort } from './chunk-B6LZQ5GU.js';
|
|
4
|
+
import { strippedVariables } from './chunk-T2OAXE5H.js';
|
|
5
|
+
import { defaultAgents } from './chunk-NXOTVGPL.js';
|
|
6
6
|
import { PROVIDERS } from './chunk-7PZDPISM.js';
|
|
7
|
-
import { MIN_SCRUBBED_LITERAL } from './chunk-
|
|
7
|
+
import { MIN_SCRUBBED_LITERAL } from './chunk-Y55ARAPE.js';
|
|
8
8
|
import { mkdirSync, writeFileSync, existsSync, unlinkSync, chmodSync } from 'fs';
|
|
9
9
|
import { request as request$1, createServer } from 'http';
|
|
10
10
|
import { request } from 'https';
|
|
@@ -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 {
|
|
5
|
-
import { skillsBaseFor } from './chunk-
|
|
3
|
+
import { mcpTargetPath, INIT_STDIO_ENTRY, INIT_DOCS_ENTRY, DOCS_MCP_SERVER_NAME } from './chunk-G6S2EKAF.js';
|
|
4
|
+
import { POLICY_PATH, POLICY_CONTENT } from './chunk-CR7DKNRM.js';
|
|
5
|
+
import { skillsBaseFor } from './chunk-76GFXRC7.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-J4LUKUXC.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-NXOTVGPL.js';
|
|
11
11
|
import { createHash } from 'crypto';
|
|
12
12
|
import { existsSync, readFileSync } from 'fs';
|
|
13
13
|
import { join } from 'path';
|
|
@@ -21,11 +21,7 @@ function currentStarterFiles(packRoot = resolvePackRoot(), policy = POLICY_CONTE
|
|
|
21
21
|
skill: f.skill,
|
|
22
22
|
source: join(packRoot, "template", f.skill, f.path.slice(skillDir(f.skill, base).length + 1))
|
|
23
23
|
}));
|
|
24
|
-
|
|
25
|
-
const source = join(packRoot, "validators", name);
|
|
26
|
-
return { path: `${VALIDATORS_DIR}/${name}`, content: rewriteSkillPaths(readFileSync(source, "utf8"), base), source };
|
|
27
|
-
});
|
|
28
|
-
return [...templates, ...validators, { path: POLICY_PATH, content: policy }];
|
|
24
|
+
return [...templates, { path: POLICY_PATH, content: policy }];
|
|
29
25
|
}
|
|
30
26
|
var TEMPLATE_VERSION = /(Copied once from the default template by outerlayer init) [^\s;]+(; never overwritten\.)/;
|
|
31
27
|
function contentHash(content) {
|
|
@@ -56,17 +52,8 @@ function upgradedStarterText(path, content, opts = {}) {
|
|
|
56
52
|
const manifest = opts.manifest ?? readShippedManifest(packRoot);
|
|
57
53
|
const shipped = manifest.ok ? manifest.files.get(path) : void 0;
|
|
58
54
|
if (shipped === void 0) return void 0;
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
if (path === POLICY_PATH) current = POLICY_CONTENT;
|
|
62
|
-
else if (validator === void 0) return void 0;
|
|
63
|
-
else {
|
|
64
|
-
try {
|
|
65
|
-
current = readFileSync(join(packRoot, "validators", validator.name), "utf8");
|
|
66
|
-
} catch {
|
|
67
|
-
return void 0;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
55
|
+
if (path !== POLICY_PATH) return void 0;
|
|
56
|
+
const current = POLICY_CONTENT;
|
|
70
57
|
const bases = opts.base === AGENTS_SKILLS_BASE ? [AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE] : [OUTERLAYER_SKILLS_BASE, AGENTS_SKILLS_BASE];
|
|
71
58
|
for (const base of bases) {
|
|
72
59
|
const hash = contentHash(restoreSkillPaths(content, base));
|
|
@@ -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-2HE3W4OM.js';
|
|
4
|
+
import { ensureHostKey } from './chunk-BU7PN6MB.js';
|
|
5
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, jobsDir } from './chunk-TPC6MXKS.js';
|
|
6
|
+
import { BUILD_HOME, JOB_MOUNT, RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-ULL2MHZU.js';
|
|
7
|
+
import { primaryDestination, JOIN_DIR, RELAY_ID, JOIN_SOCKET, GATEWAY_PORT, TARGET_GATEWAY, GATEWAY_SOCKET, destinationTarget, providerDestinations, RELAY_USER } from './chunk-B6LZQ5GU.js';
|
|
8
|
+
import { judgeAgent, universalImagePinned, UNIVERSAL_IMAGE, BUILDKIT_IMAGE } from './chunk-T2OAXE5H.js';
|
|
9
|
+
import { defaultAgents } from './chunk-NXOTVGPL.js';
|
|
10
10
|
import { PROVIDERS } from './chunk-7PZDPISM.js';
|
|
11
|
-
import { compareVersions } from './chunk-
|
|
11
|
+
import { compareVersions } from './chunk-Y55ARAPE.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';
|
|
@@ -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-TPC6MXKS.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 { inputBandOf, BUCKET_MODEL_MAX_LENGTH } from './chunk-
|
|
3
|
+
import { inputBandOf, BUCKET_MODEL_MAX_LENGTH } from './chunk-MCUI6RHU.js';
|
|
4
4
|
import { readFileSync, mkdirSync, statSync, copyFileSync, renameSync, unlinkSync, writeFileSync, readdirSync, realpathSync, watch as watch$1 } from 'fs';
|
|
5
5
|
import * as sp5 from 'path';
|
|
6
6
|
import { join, relative, dirname, resolve, sep } from 'path';
|
|
@@ -23815,14 +23815,14 @@ var ModelRegistryImpl = class {
|
|
|
23815
23815
|
};
|
|
23816
23816
|
var models_default = {
|
|
23817
23817
|
version: "1.0.0",
|
|
23818
|
-
generatedAt: "2026-11-
|
|
23818
|
+
generatedAt: "2026-11-15T05:38:02.204Z",
|
|
23819
23819
|
sources: {
|
|
23820
23820
|
litellm: {
|
|
23821
|
-
fetchedAt: "2026-11-
|
|
23821
|
+
fetchedAt: "2026-11-15T05:38:02.204Z",
|
|
23822
23822
|
modelCount: 2061
|
|
23823
23823
|
},
|
|
23824
23824
|
openrouter: {
|
|
23825
|
-
fetchedAt: "2026-11-
|
|
23825
|
+
fetchedAt: "2026-11-15T05:38:02.204Z",
|
|
23826
23826
|
modelCount: 205
|
|
23827
23827
|
}
|
|
23828
23828
|
},
|
|
@@ -37652,7 +37652,8 @@ var models_default = {
|
|
|
37652
37652
|
functionCalling: true,
|
|
37653
37653
|
parallelFunctionCalling: true,
|
|
37654
37654
|
structuredOutput: true
|
|
37655
|
-
}
|
|
37655
|
+
},
|
|
37656
|
+
deprecationDate: "2026-10-30"
|
|
37656
37657
|
},
|
|
37657
37658
|
"deepseek-ai/DeepSeek-V3.1": {
|
|
37658
37659
|
provider: "together_ai",
|
|
@@ -37852,7 +37853,8 @@ var models_default = {
|
|
|
37852
37853
|
functionCalling: true,
|
|
37853
37854
|
parallelFunctionCalling: true,
|
|
37854
37855
|
structuredOutput: true
|
|
37855
|
-
}
|
|
37856
|
+
},
|
|
37857
|
+
deprecationDate: "2026-10-30"
|
|
37856
37858
|
},
|
|
37857
37859
|
"togethercomputer/CodeLlama-34b-Instruct": {
|
|
37858
37860
|
provider: "together_ai",
|
|
@@ -37862,7 +37864,8 @@ var models_default = {
|
|
|
37862
37864
|
capabilities: {
|
|
37863
37865
|
functionCalling: true,
|
|
37864
37866
|
parallelFunctionCalling: true
|
|
37865
|
-
}
|
|
37867
|
+
},
|
|
37868
|
+
deprecationDate: "2026-10-30"
|
|
37866
37869
|
},
|
|
37867
37870
|
"zai-org/GLM-4.5-Air-FP8": {
|
|
37868
37871
|
provider: "together_ai",
|
|
@@ -45288,12 +45291,12 @@ var models_default = {
|
|
|
45288
45291
|
"top_p"
|
|
45289
45292
|
],
|
|
45290
45293
|
pricing: {
|
|
45291
|
-
inputCostPerToken:
|
|
45292
|
-
outputCostPerToken:
|
|
45294
|
+
inputCostPerToken: 571e-9,
|
|
45295
|
+
outputCostPerToken: 2286e-9
|
|
45293
45296
|
},
|
|
45294
45297
|
context: {
|
|
45295
45298
|
maxInputTokens: 163840,
|
|
45296
|
-
maxOutputTokens:
|
|
45299
|
+
maxOutputTokens: 32e3
|
|
45297
45300
|
},
|
|
45298
45301
|
capabilities: {
|
|
45299
45302
|
functionCalling: true,
|
|
@@ -52780,8 +52783,7 @@ var models_default = {
|
|
|
52780
52783
|
audioInput: true,
|
|
52781
52784
|
audioOutput: true,
|
|
52782
52785
|
webSearch: true
|
|
52783
|
-
}
|
|
52784
|
-
deprecationDate: null
|
|
52786
|
+
}
|
|
52785
52787
|
},
|
|
52786
52788
|
"gemini-pro-latest": {
|
|
52787
52789
|
provider: "google",
|
|
@@ -71723,7 +71725,8 @@ var models_default = {
|
|
|
71723
71725
|
pricing: {
|
|
71724
71726
|
inputCostPerToken: 15e-8,
|
|
71725
71727
|
outputCostPerToken: 15e-8
|
|
71726
|
-
}
|
|
71728
|
+
},
|
|
71729
|
+
deprecationDate: "2026-11-14"
|
|
71727
71730
|
},
|
|
71728
71731
|
"us/gpt-realtime-2.1": {
|
|
71729
71732
|
provider: "azure",
|
|
@@ -71809,15 +71812,17 @@ var models_default = {
|
|
|
71809
71812
|
"top_p"
|
|
71810
71813
|
],
|
|
71811
71814
|
pricing: {
|
|
71812
|
-
inputCostPerToken:
|
|
71813
|
-
outputCostPerToken:
|
|
71815
|
+
inputCostPerToken: 45e-9,
|
|
71816
|
+
outputCostPerToken: 25e-8
|
|
71814
71817
|
},
|
|
71815
71818
|
context: {
|
|
71816
71819
|
maxInputTokens: 1048576,
|
|
71817
|
-
maxOutputTokens:
|
|
71820
|
+
maxOutputTokens: 943718
|
|
71818
71821
|
},
|
|
71819
71822
|
capabilities: {
|
|
71820
|
-
vision: true
|
|
71823
|
+
vision: true,
|
|
71824
|
+
functionCalling: true,
|
|
71825
|
+
structuredOutput: true
|
|
71821
71826
|
}
|
|
71822
71827
|
},
|
|
71823
71828
|
"vertex_ai/claude-fable-5-2": {
|
|
@@ -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-MUCWOHFZ.js';
|
|
5
|
+
import { autoConnect } from './chunk-DOIXXWA5.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
7
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-YH7RGFKK.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-Y55ARAPE.js';
|
|
12
|
+
import { CriteriaListSchema } from './chunk-MCUI6RHU.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 { readCloudConfigStrict, readCloudConfig, cloudConfigPath } from './chunk-HWVMRETT.js';
|
|
4
|
-
import { signRunnerRequest, signerFor } from './chunk-
|
|
4
|
+
import { signRunnerRequest, signerFor } from './chunk-BU7PN6MB.js';
|
|
5
5
|
import { readRepoConnection, findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
6
6
|
import { PLAIN_VERSION, recordCliVersion, removeRecordedVersion } from './chunk-VNLHKIKR.js';
|
|
7
7
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|