@outerlayer/cli 0.34.0-next.20261028164329 → 0.34.0-next.20261029014930
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 +7 -0
- package/dist/agent-setup-J2WZHYN5.js +32 -0
- package/dist/{artifact-link-cmd-CSVFEM5O.js → artifact-link-cmd-6LFCTDBD.js} +5 -5
- package/dist/{build-SEJJWGTO.js → build-2JBISOVR.js} +8 -8
- package/dist/{build-disk-EYRR3PBT.js → build-disk-ECEVCK35.js} +6 -6
- package/dist/build-info.json +1 -1
- package/dist/{builder-T7B46P7T.js → builder-OMDEUDO3.js} +5 -5
- package/dist/caller-P5ZHKVD5.js +18 -0
- package/dist/{check-SPMUN5C4.js → check-6ZGMF7VF.js} +84 -66
- package/dist/{chunk-ANPNT6PM.js → chunk-2AM6Z5BP.js} +1 -1
- package/dist/{chunk-UE2C4STC.js → chunk-2B6EKUBD.js} +88 -6
- package/dist/{chunk-GG5OE6MY.js → chunk-2RTGZ6AE.js} +1 -1
- package/dist/{chunk-QGEGLZSY.js → chunk-32QKEHC7.js} +46 -6
- package/dist/{chunk-VNVZDWO3.js → chunk-352DHUTP.js} +4 -1
- package/dist/{chunk-IPWKT5J7.js → chunk-3MKCUCG7.js} +225 -121
- package/dist/{chunk-ZJSNLVCE.js → chunk-545P7JY7.js} +1 -1
- package/dist/{chunk-2EEW6FJN.js → chunk-5FWBAM6O.js} +1 -1
- package/dist/{chunk-MCPCOKHN.js → chunk-5VGVYEFT.js} +9 -9
- package/dist/{chunk-T2Q7ISPE.js → chunk-5WYT3PPE.js} +1 -1
- package/dist/{chunk-ARL6X6Y4.js → chunk-62TMOXQN.js} +2 -2
- package/dist/{chunk-RRXS4CWE.js → chunk-6JDEP42Z.js} +9 -7
- package/dist/{chunk-YIK5SGEN.js → chunk-6OAOOAJO.js} +69 -27
- package/dist/{chunk-FUOKDHRB.js → chunk-76VJKVM5.js} +8 -7
- package/dist/{chunk-4YD7N6V3.js → chunk-7B6CKPNZ.js} +3 -3
- package/dist/{chunk-I2MFIT6X.js → chunk-7T5MUKW6.js} +28 -27
- package/dist/{chunk-2EHDLYSL.js → chunk-7TIFAOUG.js} +30 -22
- package/dist/{chunk-G2JWZDFA.js → chunk-A2LHHKTT.js} +3 -3
- package/dist/{chunk-ESVW4MJY.js → chunk-AAGU5FJF.js} +1 -1
- package/dist/{chunk-WA3HIJVK.js → chunk-B7ZC2HKE.js} +3 -3
- package/dist/{chunk-YF7W7B7Y.js → chunk-BWJRNMZZ.js} +37 -10
- package/dist/{chunk-TUSYOL2O.js → chunk-CJPTUU2E.js} +1 -1
- package/dist/{chunk-MEIDQLXQ.js → chunk-D7BEGG7T.js} +1 -1
- package/dist/{chunk-V2S2WRGD.js → chunk-DG25T7AY.js} +11 -11
- package/dist/chunk-DUV33KMD.js +31 -0
- package/dist/{chunk-NCOL5RYI.js → chunk-E4R3M6XJ.js} +1 -1
- package/dist/{chunk-DCBFUUDL.js → chunk-EFZM7UOP.js} +7 -7
- package/dist/{chunk-KH4774QT.js → chunk-F57NE5AO.js} +1 -1
- package/dist/{chunk-MH6QLXUO.js → chunk-FJ7KTNMD.js} +1 -1
- package/dist/{chunk-3KGXXTMN.js → chunk-FNS2RJ5T.js} +5 -5
- package/dist/{chunk-2O5KA67H.js → chunk-FUJUFLDC.js} +2 -2
- package/dist/{chunk-CRB3POP4.js → chunk-FZKNTIOJ.js} +1 -1
- package/dist/{chunk-KPEMNHVF.js → chunk-G7OVITGQ.js} +2 -2
- package/dist/{chunk-7JSWRF5O.js → chunk-GD4AXYK3.js} +10 -10
- package/dist/{chunk-SAAVZ2BX.js → chunk-GOSOKVBF.js} +1 -1
- package/dist/{chunk-ZTOJIRJH.js → chunk-HFHRTVXN.js} +8 -8
- package/dist/{chunk-S6UM3N4R.js → chunk-HSE2LOWO.js} +36 -11
- package/dist/{chunk-XDAMLX2L.js → chunk-HUS3GYCX.js} +9 -9
- package/dist/{chunk-PJDQPF5N.js → chunk-HWVMRETT.js} +1 -1
- package/dist/{chunk-WH3FPBPO.js → chunk-I35CNSPC.js} +60 -29
- package/dist/{chunk-ZCA34T7R.js → chunk-JEOBBOZY.js} +8 -8
- package/dist/{chunk-RQ3GCCHH.js → chunk-JXXMOAJG.js} +2 -2
- package/dist/{chunk-EA2PQRCU.js → chunk-K6LLZONM.js} +6 -6
- package/dist/{chunk-QI7JB2GU.js → chunk-KWFJF4CX.js} +646 -210
- package/dist/{chunk-URIZRCRY.js → chunk-KYDEBGJG.js} +1 -1
- package/dist/{chunk-P2PNBDUT.js → chunk-LLQGVGFO.js} +3 -3
- package/dist/{chunk-HFOZTCTN.js → chunk-N2OG4RN6.js} +7 -7
- package/dist/{chunk-KT4CN6OU.js → chunk-OHQMGLJP.js} +3 -3
- package/dist/{chunk-5BHIBJDA.js → chunk-OLM2TIOW.js} +1 -1
- package/dist/{chunk-VEVNGDTP.js → chunk-PDK35AR4.js} +2 -2
- package/dist/{chunk-UZEIBWTP.js → chunk-PGJY7XTY.js} +7 -7
- package/dist/{chunk-TDCHUEKY.js → chunk-PNAVR5OD.js} +5 -5
- package/dist/{chunk-RPST2GNG.js → chunk-PQ5YDDDE.js} +3 -3
- package/dist/{chunk-OKJXZXYH.js → chunk-PUSCE544.js} +6 -6
- package/dist/{chunk-ZEFNJCN3.js → chunk-QM3HMXMU.js} +2 -2
- package/dist/{chunk-CUAB7FAZ.js → chunk-QNISFH47.js} +8 -8
- package/dist/{chunk-5TXQFZHY.js → chunk-QOVUDIUI.js} +1 -1
- package/dist/{chunk-OYQVLQP3.js → chunk-QTNWAV23.js} +14 -12
- package/dist/{chunk-ZCZY3Q55.js → chunk-RZ22SWMA.js} +1 -1
- package/dist/{chunk-KQDK4Q6A.js → chunk-SMYOFJHK.js} +10 -10
- package/dist/{chunk-GH2HEEOH.js → chunk-TV2OQUWE.js} +1 -1
- package/dist/{chunk-HH3BQG65.js → chunk-UPRZREBO.js} +1 -1
- package/dist/{chunk-W7E6IMEW.js → chunk-UTIRCHI5.js} +22 -21
- package/dist/{chunk-H7MGR2GN.js → chunk-UZDWCSLS.js} +6 -6
- package/dist/{chunk-IAVT7R6O.js → chunk-WJTIU2A5.js} +6 -6
- package/dist/{chunk-QGDGGLSD.js → chunk-X4PYXWBY.js} +3 -3
- package/dist/{chunk-54LIUIZL.js → chunk-XGSJNXH2.js} +4 -4
- package/dist/chunk-XKV6HXKD.js +39 -0
- package/dist/{chunk-I7RZHMXW.js → chunk-YBAVN6WS.js} +3 -3
- package/dist/{chunk-IXRUVR25.js → chunk-YTTESG7K.js} +46 -7
- package/dist/{chunk-MRLJK4GZ.js → chunk-YZSE7EYM.js} +6 -6
- package/dist/{chunk-CKDSPW35.js → chunk-ZI2E4YMY.js} +6 -6
- package/dist/{chunk-UXC3RQLF.js → chunk-ZQQNWDPE.js} +1 -1
- package/dist/{claude-launcher-7IC6QWR5.js → claude-launcher-GACOES7Z.js} +6 -6
- package/dist/{cli-GKROH23V.js → cli-A3IUMZHY.js} +162 -152
- package/dist/{cli-update-notice-4DLZ3655.js → cli-update-notice-T3CXRWNB.js} +3 -3
- package/dist/{command-XA6DOFL4.js → command-XPDD3473.js} +39 -38
- package/dist/{config-RSOCVUKC.js → config-7DT7UVUI.js} +8 -8
- package/dist/connect-cmd-TWSO7YKC.js +27 -0
- package/dist/{container-start-ZDSVXSAL.js → container-start-2AQWC275.js} +53 -52
- package/dist/{context-cleanup-CEZSKNVL.js → context-cleanup-PASDUBGW.js} +5 -5
- package/dist/{context-show-cmd-XWLTP6R4.js → context-show-cmd-6MEUB3HU.js} +18 -18
- package/dist/{control-plane-launch-3MBWPYWZ.js → control-plane-launch-6NN5ZSP3.js} +15 -15
- package/dist/{demo-record-cmd-SIKNTSGI.js → demo-record-cmd-2FY7VCIL.js} +3 -3
- package/dist/{demo-voice-cmd-SAB3QU4F.js → demo-voice-cmd-GJNJNEAI.js} +29 -29
- package/dist/{dist-VPXROEZO.js → dist-Z6WP743R.js} +2 -2
- package/dist/{docker-YMRPMDOW.js → docker-DLJTPUC5.js} +5 -5
- package/dist/{doctor-NVHAE4LS.js → doctor-HYDAFWR2.js} +49 -38
- package/dist/emit-artifact-cmd-TTLDSPP3.js +43 -0
- package/dist/emit-cmd-UOPHEUW5.js +16 -0
- package/dist/emit-criteria-cmd-MZSFNXTL.js +33 -0
- package/dist/emit-demo-cmd-CPC6OR6A.js +47 -0
- package/dist/emit-finding-cmd-6ABNXD5P.js +34 -0
- package/dist/{emit-result-cmd-VCKNZ4RZ.js → emit-result-cmd-7STD6BH3.js} +27 -27
- package/dist/emit-step-cmd-A35LWNWB.js +33 -0
- package/dist/find-unit-ZMUTRE46.js +19 -0
- package/dist/{findings-cmd-PLHBAQW4.js → findings-cmd-JNLW5T2Q.js} +22 -22
- package/dist/fleet-readiness-7WASGVPR.js +28 -0
- package/dist/governing-source-SQE47DKU.js +38 -0
- package/dist/{guest-init-MI4SEME4.js → guest-init-73ZCYECM.js} +2 -2
- package/dist/{hook-fast-GOH4T6SN.js → hook-fast-AELCXUNA.js} +6 -6
- package/dist/{hook-wrap-fast-7VYYAAH4.js → hook-wrap-fast-545QJSBJ.js} +3 -3
- package/dist/host-checks-EM7CVCO6.js +78 -0
- package/dist/{host-key-OMLDWLNG.js → host-key-ZRXO2BXZ.js} +2 -2
- package/dist/{image-tag-YJJONB64.js → image-tag-6KN2SKDZ.js} +2 -2
- package/dist/index.js +6 -6
- package/dist/init-4U2IAN5U.js +57 -0
- package/dist/{init-W3ATJYLX.js → init-NEOWYRSR.js} +35 -34
- package/dist/{init-cmd-XJOEU2PB.js → init-cmd-WRNXDUM7.js} +32 -32
- package/dist/{init-update-KX3FFQ5H.js → init-update-ATXYAAAD.js} +29 -29
- package/dist/{install-cmd-QTIIMO6B.js → install-cmd-WF2N2SKL.js} +4 -4
- package/dist/{layout-7UOBWNYO.js → layout-ZE6F2Z7W.js} +4 -4
- package/dist/login-browser-YB7AMKHR.js +13 -0
- package/dist/{logout-cmd-5WE2N5B5.js → logout-cmd-Z2PYV5LF.js} +5 -5
- package/dist/{logs-YVXVAYTD.js → logs-WEJHWBLM.js} +22 -2
- package/dist/loop-IHQ4UMRY.js +89 -0
- package/dist/machine-VNDSSHQA.js +57 -0
- package/dist/{machine-skills-KYN7XJEJ.js → machine-skills-DMHU7OLO.js} +5 -5
- package/dist/{mcp-install-cmd-LD7KYAOP.js → mcp-install-cmd-23ZY4IBK.js} +5 -5
- package/dist/{mcp-serve-cmd-ECTAPDB3.js → mcp-serve-cmd-YT63QC7W.js} +8 -8
- package/dist/{paths-M66LPPUF.js → paths-IGFAJFPN.js} +1 -1
- package/dist/{pending-7LC6XDRO.js → pending-GBIXDPY7.js} +2 -2
- package/dist/{pidfile-DSQOOAZV.js → pidfile-BDQMJPLA.js} +2 -2
- package/dist/{record-3KKIJ3XL.js → record-KLNLIQVR.js} +2 -2
- package/dist/{runner-env-EX7YUIUH.js → runner-env-PBTT2CNL.js} +10 -10
- package/dist/{runner-identity-LJWBXNM5.js → runner-identity-JVG53E73.js} +5 -5
- package/dist/{runner-key-CAUO4RKG.js → runner-key-YKHIRBO4.js} +34 -33
- package/dist/session-sender-SNBEWETV.js +43 -0
- package/dist/{settings-3DBYKYQD.js → settings-XB2HYBKO.js} +2 -2
- package/dist/{spec-cmd-SAWQYHKM.js → spec-cmd-VPP66GMQ.js} +22 -22
- package/dist/{starter-pack-KB3YH4KX.js → starter-pack-WUNNS6G7.js} +9 -9
- package/dist/state-VIWYAWVB.js +9 -0
- package/dist/{status-IPIMYTG5.js → status-HY5FJPJV.js} +74 -52
- package/dist/{statusline-fast-YVHG6ZLX.js → statusline-fast-E7RWVREA.js} +4 -4
- package/dist/sync-cmd-7BG47GNA.js +42 -0
- package/dist/update-steps-NI25AAQM.js +79 -0
- package/dist/{watch-6NRBX6VE.js → watch-QMKKCF2B.js} +27 -27
- package/dist/{work-claim-cmd-SLVX2N4L.js → work-claim-cmd-UUMDPIZG.js} +25 -25
- package/dist/work-cmd-5QGKKDFY.js +31 -0
- package/dist/work-comment-cmd-YJ3JTQ5B.js +32 -0
- package/dist/{work-demo-cmd-SZJIKB5J.js → work-demo-cmd-AQ4JVDCK.js} +19 -19
- package/dist/{work-launch-LEQ2MPM3.js → work-launch-TTGSHLY4.js} +3 -3
- package/dist/{work-logs-cmd-MRFSBMJM.js → work-logs-cmd-TQTA7KQK.js} +19 -19
- package/dist/{work-open-pr-cmd-N7GK7FUQ.js → work-open-pr-cmd-2NFF3RYJ.js} +21 -21
- package/dist/work-pr-cmd-R5VRWQJD.js +32 -0
- package/dist/work-proofs-cmd-UYGYDIYY.js +35 -0
- package/dist/{work-proofs-record-CJAFFWXG.js → work-proofs-record-U3KQOM5Z.js} +33 -33
- package/dist/{work-stop-cmd-M6RIGF7S.js → work-stop-cmd-SIAX4XAA.js} +19 -19
- package/package.json +1 -1
- package/skill-pack/maintained/outerlayer-build/SKILL.md +2 -1
- package/skill-pack/maintained/outerlayer-build/references/evidence.md +2 -1
- package/skill-pack/maintained/outerlayer-build/scripts/criterion-citations.mjs +65 -8
- package/dist/agent-setup-IVXRBFVV.js +0 -32
- package/dist/connect-cmd-JFGDHFLA.js +0 -27
- package/dist/emit-artifact-cmd-TZTVQCFT.js +0 -43
- package/dist/emit-cmd-4G3443OJ.js +0 -16
- package/dist/emit-criteria-cmd-WH7JB4RQ.js +0 -33
- package/dist/emit-demo-cmd-DNUVG5N7.js +0 -47
- package/dist/emit-finding-cmd-X5CBH4ZA.js +0 -34
- package/dist/emit-step-cmd-IUXZZYKO.js +0 -33
- package/dist/find-unit-QYD2FMCP.js +0 -19
- package/dist/fleet-readiness-F65CKZY5.js +0 -28
- package/dist/governing-source-JFCTQXYK.js +0 -38
- package/dist/host-checks-LEVAIIN4.js +0 -77
- package/dist/init-JVKJTJNM.js +0 -56
- package/dist/login-browser-Q25ZNSQ3.js +0 -13
- package/dist/loop-NNJN2XOW.js +0 -87
- package/dist/machine-OQOHEMJB.js +0 -56
- package/dist/session-sender-U2CTD7EX.js +0 -43
- package/dist/sync-cmd-EBJQ5LMH.js +0 -42
- package/dist/update-steps-E2PP5DPR.js +0 -78
- package/dist/work-cmd-VSHZCXHQ.js +0 -31
- package/dist/work-comment-cmd-3DCL7VHN.js +0 -32
- package/dist/work-pr-cmd-HD5OIHUU.js +0 -32
- package/dist/work-proofs-cmd-H2GGE5HK.js +0 -35
- package/dist/{chunk-POND2SMT.js → chunk-RC2WZQK6.js} +1 -1
|
@@ -1,29 +1,30 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { sha256OfFile, downloadPinned, VoiceDownloadError } from './chunk-2PGI6RDE.js';
|
|
4
|
-
import { readDefaultBranchFiles, readDefaultBranchHead, cloneRepository, buildRepositoryImage, prepareImageBuild, KEY_PREFIX, TAG_HOST, SHARED_OWNER, SHARED_NAME, universalBase, metadataFromLabels, writeRecord } from './chunk-
|
|
4
|
+
import { readDefaultBranchFiles, readDefaultBranchHead, cloneRepository, buildRepositoryImage, prepareImageBuild, KEY_PREFIX, TAG_HOST, SHARED_OWNER, SHARED_NAME, universalBase, metadataFromLabels, writeRecord } from './chunk-QTNWAV23.js';
|
|
5
5
|
import { FETCHED_DIR, toolsDockerfile, FETCHED_FFMPEG, FETCHED_GH, FETCHED_TINI, FETCHED_HEADLESS_SHELL, FETCHED_PLAYWRIGHT_FFMPEG, FETCHED_VOICE_DIR } from './chunk-T3XPLCJG.js';
|
|
6
|
+
import { startTimeOf, isSameProcess } from './chunk-JBJTC3UU.js';
|
|
6
7
|
import { currentCliBuild } from './chunk-OGFGZQA3.js';
|
|
7
8
|
import { runExec, execCapture, waitForAgent } from './chunk-5W2YSWIW.js';
|
|
8
9
|
import { GUEST_CID, linkVsockSockets } from './chunk-ROQPDCRU.js';
|
|
9
|
-
import { retrySend, describeCallFailure,
|
|
10
|
-
import { runnerImageVersion } from './chunk-
|
|
11
|
-
import { hasStoredCredential, AGENT_COMMANDS, storeClaudeCredential, credentialFromStdin, isAgentName } from './chunk-
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
10
|
+
import { retrySend, describeCallFailure, formatDuration, keepStagedContext, controlPlaneTokenFailure, refusalCode, resolveGoverningSource, prefetchGovernedContext, removeStagedContext, stageGovernedContext, pinnedSourceOf, commandWithShim, shimScript, WORKFLOW_PERMISSION_REASON } from './chunk-EFZM7UOP.js';
|
|
11
|
+
import { runnerImageVersion } from './chunk-ZQQNWDPE.js';
|
|
12
|
+
import { hasStoredCredential, AGENT_COMMANDS, storeClaudeCredential, credentialFromStdin, isAgentName } from './chunk-G7OVITGQ.js';
|
|
13
|
+
import { claimCalls } from './chunk-XKV6HXKD.js';
|
|
14
|
+
import { optionalEgress, runnerCredentialProblem, builtinKind, keyRunnerFactory, DEFAULT_SETUP_MINUTES, allowHostProblem, DEFAULT_SAVED_STATE_MAX_BYTES, systemClock, emptyEgressCounts, hostAllowed } from './chunk-BWJRNMZZ.js';
|
|
15
|
+
import { DEFAULT_BUILD_DISK, formatBytes, allocatedBytes } from './chunk-6JDEP42Z.js';
|
|
16
|
+
import { parseSize, NETWORK_HELPER_MEMORY, createDockerHost, builderSpec, runnerLabelValue, RUNNER_LABEL, BUILD_LABEL, prepareRunArgs, networkHelperName, containerRunArgs, HASH_ARGV, parseProgramHash, JUDGE_PROGRAM, mountableHome, homeCopyRunArgs, containerExecArgs, childEnvironment, readDu, JUDGE_DIR, MAX_ITEMS_BYTES, JUDGE_ITEMS, MAX_REPORT_BYTES, JUDGE_REPORT, NETWORK_READY_FILE, spawnRun, identityRunArgs, parseIdentity, networkHelperRunArgs, SAVED_STATE_LABEL } from './chunk-LLQGVGFO.js';
|
|
15
17
|
import { RecipeError, DOCKER_FEATURE, universalImagePending, writeSanitizedRecipe, classifyProperties } from './chunk-CM4J53WZ.js';
|
|
16
18
|
import { firecrackerArch, MICROVM_ARCHES, FIRECRACKER_VERSION, hostHelperPinned, CLAUDE_CODE_VERSION, builderDiskPinned, guestAssetsPinned, GUEST_HELPER_SHA256, GUEST_ASSETS_BASE_URL, GUEST_KERNEL_SHA256, JAILER_BINARY_SHA256, FIRECRACKER_BINARY_SHA256, FIRECRACKER_SHA256, GUEST_ASSETS_VERSION, BUILDER_DISK_VERSION, 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 } from './chunk-D3CT6XQ4.js';
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import { signerFor } from './chunk-5TXQFZHY.js';
|
|
19
|
+
import { postJson, WorkCommandError, getJson } from './chunk-HUS3GYCX.js';
|
|
20
|
+
import { sanitizeTerminal } from './chunk-PDK35AR4.js';
|
|
21
|
+
import { signerFor } from './chunk-QOVUDIUI.js';
|
|
21
22
|
import { sharedSkillNames, skillConflictMessage } from './chunk-FGF52V4V.js';
|
|
22
23
|
import { versionAtLeast, MINIMUM_CLAUDE_VERSION } from './chunk-HCVLP7XA.js';
|
|
23
|
-
import { MIN_SCRUBBED_LITERAL, setCustomScrubbers, setLocalIdentity, setRepoRoot, parseTranscript, scrubDeep, scrubText } from './chunk-
|
|
24
|
-
import { orderSessions, extractFacts, sessionsToTimeline } from './chunk-
|
|
25
|
-
import { downconvertSession } from './chunk-
|
|
26
|
-
import { vmAssetsDir, RUNNER_DIR_MODE, rootfsPathFor, diskTemplatesDir, RUNNER_FILE_MODE, buildsDir, buildDir, runnerDir, deliveryDir, ghConfigDir, runnerDirOfBuild, spoolDir, mirrorDir, SHIM_DIR, vsockPath, builderCacheDiskPath, builderConsolePath } from './chunk-
|
|
24
|
+
import { MIN_SCRUBBED_LITERAL, setCustomScrubbers, setLocalIdentity, setRepoRoot, parseTranscript, scrubDeep, scrubText } from './chunk-TV2OQUWE.js';
|
|
25
|
+
import { orderSessions, extractFacts, sessionsToTimeline } from './chunk-5FWBAM6O.js';
|
|
26
|
+
import { downconvertSession } from './chunk-YTTESG7K.js';
|
|
27
|
+
import { vmAssetsDir, RUNNER_DIR_MODE, rootfsPathFor, diskTemplatesDir, RUNNER_FILE_MODE, buildsDir, buildDir, runnerDir, deliveryDir, ghConfigDir, orgStoreIn, runnerDirOfBuild, spoolDir, mirrorDir, SHIM_DIR, vsockPath, builderCacheDiskPath, builderConsolePath } from './chunk-HSE2LOWO.js';
|
|
27
28
|
import { claudeCredential, parseIsolation, proxyEnvironment, withProxyWarningHidden, containerLocalAddress, destinationEnvironment, CLAUDE_CREDENTIAL_VARIABLES, builtInEnvironment, withHooksPath, startBuildServices, BUILT_IN_NAMES, checkoutPath, repositoriesOf, primaryOf, RELAY_PORT, repositoryPath, CHECKOUT_DIR, lifecycleWorkdir, buildEnvironment, checkEnvironment, withMiseVariables, isMiseVariableAllowed, JOB_MOUNT, realFdStorePort, AGENT_CREDENTIAL_MISSING } from './chunk-YLPJOUVF.js';
|
|
28
29
|
import { RELAY_USER, RELAY_ID, UNKNOWN_TRANSPORT_REASON, DOCKER_DESKTOP_REASON, MAX_MALFORMED_SESSIONS, MALFORMED_REASON, JOIN_WAIT_MS, MAX_OPEN_STREAMS, STREAM_RESET_RATE, STREAM_RESET_BURST, STREAM_WINDOW, SESSION_WINDOW, targetOfPath } from './chunk-MESOOLF4.js';
|
|
29
30
|
import { spawn, spawnSync } from 'child_process';
|
|
@@ -42,6 +43,17 @@ import { createGunzip, gunzipSync, constants as constants$1 } from 'zlib';
|
|
|
42
43
|
|
|
43
44
|
createRequire(import.meta.url);
|
|
44
45
|
|
|
46
|
+
// src/runner/item-tag.ts
|
|
47
|
+
var CLAIM_TAG_LENGTH = 8;
|
|
48
|
+
function itemScope(job) {
|
|
49
|
+
if (job.organizationId === void 0 || job.claimId === void 0 || job.claimId === "") return void 0;
|
|
50
|
+
return job.claimId.slice(0, CLAIM_TAG_LENGTH).replace(/[^A-Za-z0-9_-]/g, "_");
|
|
51
|
+
}
|
|
52
|
+
function itemTag(job) {
|
|
53
|
+
const scope = itemScope(job);
|
|
54
|
+
return scope === void 0 ? `#${job.item}` : `#${job.item}@${scope}`;
|
|
55
|
+
}
|
|
56
|
+
|
|
45
57
|
// src/runner/managed-claude-key.ts
|
|
46
58
|
var FETCH_RETRY_WINDOW_MS = 3e4;
|
|
47
59
|
var ADOPTED_FETCH_RETRY_WINDOW_MS = 3e5;
|
|
@@ -60,9 +72,14 @@ async function fetchManagedClaudeKey(config, item, deps = {}) {
|
|
|
60
72
|
}
|
|
61
73
|
var held = /* @__PURE__ */ new Map();
|
|
62
74
|
var everHeld = /* @__PURE__ */ new Set();
|
|
75
|
+
var everHeldBy = /* @__PURE__ */ new Map();
|
|
76
|
+
var EVER_HELD_BY_LIMIT = 1e3;
|
|
63
77
|
function holdManagedClaudeKey(jobDir, apiKey) {
|
|
64
78
|
held.set(jobDir, apiKey);
|
|
65
79
|
everHeld.add(apiKey);
|
|
80
|
+
everHeldBy.delete(jobDir);
|
|
81
|
+
everHeldBy.set(jobDir, apiKey);
|
|
82
|
+
if (everHeldBy.size > EVER_HELD_BY_LIMIT) everHeldBy.delete(everHeldBy.keys().next().value);
|
|
66
83
|
}
|
|
67
84
|
function managedClaudeKeyFor(jobDir) {
|
|
68
85
|
return held.get(jobDir);
|
|
@@ -73,6 +90,10 @@ function dropManagedClaudeKey(jobDir) {
|
|
|
73
90
|
function managedClaudeKeyValues() {
|
|
74
91
|
return [...everHeld];
|
|
75
92
|
}
|
|
93
|
+
function managedClaudeKeyValuesFor(jobDir) {
|
|
94
|
+
const key = everHeldBy.get(jobDir);
|
|
95
|
+
return key === void 0 ? [] : [key];
|
|
96
|
+
}
|
|
76
97
|
function hasClaudeCredential(config, hostEnv, jobDir) {
|
|
77
98
|
return config.managed === true ? managedClaudeKeyFor(jobDir) !== void 0 : claudeCredential(hostEnv) !== void 0;
|
|
78
99
|
}
|
|
@@ -133,6 +154,9 @@ function dropManagedBuildSettings(jobDir) {
|
|
|
133
154
|
function managedBuildSettingValues() {
|
|
134
155
|
return [...new Set([...held2.values()].flatMap((settings) => settings.variables.map(({ value }) => value)))];
|
|
135
156
|
}
|
|
157
|
+
function managedBuildSettingValuesFor(jobDir) {
|
|
158
|
+
return [...new Set((held2.get(jobDir)?.variables ?? []).map(({ value }) => value))];
|
|
159
|
+
}
|
|
136
160
|
function managedMachineLimits(settings) {
|
|
137
161
|
const { vcpus, memoryGiB, diskGB } = settings.machine;
|
|
138
162
|
return { cpus: vcpus, memoryBytes: Math.round(memoryGiB * GIB), diskBytes: Math.round(diskGB * GB) };
|
|
@@ -2248,7 +2272,7 @@ async function buildInBuilder(opts, deps, prepared) {
|
|
|
2248
2272
|
const dir = buildDir(opts.configPath, id);
|
|
2249
2273
|
const state = { buildId: id, buildDir: dir, vsockPath: vsockPath(dir) };
|
|
2250
2274
|
const record = { owner, name, id };
|
|
2251
|
-
const cachePath = location.kind === "default" ? builderCacheDiskPath(opts.configPath, SHARED_OWNER, SHARED_NAME) : builderCacheDiskPath(opts.configPath, owner, name);
|
|
2275
|
+
const cachePath = location.kind === "default" ? builderCacheDiskPath(opts.configPath, SHARED_OWNER, SHARED_NAME, opts.organizationId) : builderCacheDiskPath(opts.configPath, owner, name, opts.organizationId);
|
|
2252
2276
|
const diskPath = join(dir, "build.ext4");
|
|
2253
2277
|
const partial = join(recordDir, "rootfs.ext4.partial");
|
|
2254
2278
|
const scratchRoot = opts.tmpDir ?? tmpdir();
|
|
@@ -2828,7 +2852,7 @@ async function claimPermissionProblem(config, fetchImpl = fetch) {
|
|
|
2828
2852
|
return unverified("this host's key could not be read, so whether the runner key can claim work was not checked", err);
|
|
2829
2853
|
}
|
|
2830
2854
|
try {
|
|
2831
|
-
await getJson(config.url, "/v1/runner/host-key", config.apiKey, config
|
|
2855
|
+
await getJson(config.url, "/v1/runner/host-key", config.apiKey, keyRunnerFactory(config), fetchImpl, signer);
|
|
2832
2856
|
return { status: "ok" };
|
|
2833
2857
|
} catch (err) {
|
|
2834
2858
|
const permission = missingPermissionOf(err);
|
|
@@ -3565,7 +3589,7 @@ async function planSavedState(input) {
|
|
|
3565
3589
|
repositories.push({ repository: entry.repository, commit: read.commit, files: read.files });
|
|
3566
3590
|
}
|
|
3567
3591
|
const key = stateKey({
|
|
3568
|
-
factory: config
|
|
3592
|
+
factory: keyRunnerFactory(config),
|
|
3569
3593
|
repositories,
|
|
3570
3594
|
imageDigest: input.base.digest,
|
|
3571
3595
|
diskBytes: parseSize(config.build?.disk ?? DEFAULT_BUILD_DISK) ?? 0
|
|
@@ -3901,7 +3925,7 @@ function diffBase(job) {
|
|
|
3901
3925
|
}
|
|
3902
3926
|
async function writeEvalInput(request) {
|
|
3903
3927
|
const { job, dir, log } = request;
|
|
3904
|
-
const tag =
|
|
3928
|
+
const tag = `${itemTag(job)}`;
|
|
3905
3929
|
rmSync(dir, { recursive: true, force: true });
|
|
3906
3930
|
mkdirSync(join(dir, "sessions"), { recursive: true });
|
|
3907
3931
|
chmodSync(dir, 493);
|
|
@@ -5071,6 +5095,7 @@ function createContainerRuntime(opts = {}) {
|
|
|
5071
5095
|
repository: build.repository,
|
|
5072
5096
|
remote: remoteFor?.(build.repository),
|
|
5073
5097
|
configPath: build.configPath,
|
|
5098
|
+
...build.organizationId === void 0 ? {} : { organizationId: build.organizationId },
|
|
5074
5099
|
cli: cli ?? currentCliBuild(),
|
|
5075
5100
|
readToken: build.readToken,
|
|
5076
5101
|
pinned: build.pinned,
|
|
@@ -5146,7 +5171,7 @@ function keepGhConfigCurrent(tokens, buildDir2, onError, copy) {
|
|
|
5146
5171
|
});
|
|
5147
5172
|
}
|
|
5148
5173
|
function gitRemoteFor(runtime, input) {
|
|
5149
|
-
const runnerDirPath = runnerDirOfBuild(input.buildDir);
|
|
5174
|
+
const runnerDirPath = orgStoreIn(runnerDirOfBuild(input.buildDir), input.organizationId);
|
|
5150
5175
|
return createGitRemote({
|
|
5151
5176
|
repositories: input.repositories.map((entry) => {
|
|
5152
5177
|
const [owner = "", name = ""] = entry.repository.split("/");
|
|
@@ -5223,7 +5248,7 @@ async function obtainImage(input) {
|
|
|
5223
5248
|
};
|
|
5224
5249
|
}
|
|
5225
5250
|
try {
|
|
5226
|
-
const common = { repository, configPath: config.configPath, readToken, pinned: input.pinned, log: (line2) => log.line(`${tag} ${line2}`) };
|
|
5251
|
+
const common = { repository, configPath: config.configPath, ...input.organizationId === void 0 ? {} : { organizationId: input.organizationId }, readToken, pinned: input.pinned, log: (line2) => log.line(`${tag} ${line2}`) };
|
|
5227
5252
|
if (input.inBuilder !== void 0) {
|
|
5228
5253
|
return { ok: true, built: await runtime.buildRootDisk({ ...input.inBuilder, ...common, guestHelper: input.guestHelper, deadlineMs: input.deadlineMs }) };
|
|
5229
5254
|
}
|
|
@@ -5263,7 +5288,7 @@ async function provisionContainer(input) {
|
|
|
5263
5288
|
async function provisionContainerOnce(input, allowRestore) {
|
|
5264
5289
|
const { config, runtime, item, itemKey, jobDir, log, tokens } = input;
|
|
5265
5290
|
const { host } = runtime;
|
|
5266
|
-
const tag =
|
|
5291
|
+
const tag = itemTag({ item: item.number, organizationId: input.organizationId, claimId: input.claimId });
|
|
5267
5292
|
const logPath = join(jobDir, "provision.log");
|
|
5268
5293
|
const fail = (reason) => ({ ok: false, reason });
|
|
5269
5294
|
if (!hasClaudeCredential(config, runtime.hostEnv, jobDir)) return fail(AGENT_CREDENTIAL_MISSING);
|
|
@@ -5601,7 +5626,7 @@ function shellQuote(word) {
|
|
|
5601
5626
|
function containerCommandExec(input) {
|
|
5602
5627
|
const state = input.job.container;
|
|
5603
5628
|
const env = buildEnvironment({
|
|
5604
|
-
config: input.config,
|
|
5629
|
+
config: claimCalls(input.config, input.job),
|
|
5605
5630
|
item: input.job.item,
|
|
5606
5631
|
itemKey: input.job.itemKey,
|
|
5607
5632
|
branch: input.job.branch,
|
|
@@ -5627,7 +5652,7 @@ function containerCommandExec(input) {
|
|
|
5627
5652
|
function containerSenderCommand(input) {
|
|
5628
5653
|
const state = input.job.container;
|
|
5629
5654
|
const env = buildEnvironment({
|
|
5630
|
-
config: input.config,
|
|
5655
|
+
config: claimCalls(input.config, input.job),
|
|
5631
5656
|
item: input.job.item,
|
|
5632
5657
|
itemKey: input.job.itemKey,
|
|
5633
5658
|
branch: input.job.branch,
|
|
@@ -5768,7 +5793,7 @@ async function runCliInContainer(input, argv, logName) {
|
|
|
5768
5793
|
if (!delivered.ok) return { ok: false, reason: delivered.reason };
|
|
5769
5794
|
}
|
|
5770
5795
|
const env = buildEnvironment({
|
|
5771
|
-
config: input.config,
|
|
5796
|
+
config: claimCalls(input.config, job),
|
|
5772
5797
|
item: job.item,
|
|
5773
5798
|
itemKey: job.itemKey,
|
|
5774
5799
|
branch: job.branch,
|
|
@@ -5931,7 +5956,7 @@ function readRegularFile(path, limit) {
|
|
|
5931
5956
|
async function startCheckContainer(input) {
|
|
5932
5957
|
const { config, runtime, job, jobDir, tokens, log } = input;
|
|
5933
5958
|
const { host } = runtime;
|
|
5934
|
-
const tag =
|
|
5959
|
+
const tag = `${itemTag(job)}`;
|
|
5935
5960
|
const built = job.container;
|
|
5936
5961
|
const repository = built?.repository ?? job.repository;
|
|
5937
5962
|
if (built === void 0 || built.imageId === void 0 || repository === void 0 || job.branch === void 0) {
|
|
@@ -6018,7 +6043,7 @@ async function startCheckContainer(input) {
|
|
|
6018
6043
|
if (started.status !== 0) return dockerFailed("starting the check environment's container", started);
|
|
6019
6044
|
if (transport === "exec") joinBuild(runtime, state, services, (line2) => log.line(`${tag} ${line2}`));
|
|
6020
6045
|
if (!await waitForRelay(runtime, state)) return fail("the relay in the check environment's container did not start");
|
|
6021
|
-
const env = checkEnvironment({ config, item: job.item, repository, hostEnv: runtime.hostEnv, containerEnv: built.containerEnv ?? {} });
|
|
6046
|
+
const env = checkEnvironment({ config: claimCalls(config, job), item: job.item, repository, hostEnv: runtime.hostEnv, containerEnv: built.containerEnv ?? {} });
|
|
6022
6047
|
const secrets = () => tokens.issuedTokens();
|
|
6023
6048
|
let delivered = false;
|
|
6024
6049
|
const deliverInput = async () => {
|
|
@@ -6039,7 +6064,13 @@ async function startCheckContainer(input) {
|
|
|
6039
6064
|
if (!result.ok) throw new DeliveryFailure(result.reason);
|
|
6040
6065
|
}
|
|
6041
6066
|
},
|
|
6042
|
-
exec: (argv, workdir, opts) =>
|
|
6067
|
+
exec: async (argv, workdir, opts) => {
|
|
6068
|
+
const ran = await host.exec(
|
|
6069
|
+
{ container: name, user: agentUser, workdir, env: withMiseVariables(env, opts?.variables), argv },
|
|
6070
|
+
{ logPath: opts?.logPath, timeoutMs: opts?.timeoutMs }
|
|
6071
|
+
);
|
|
6072
|
+
return endedAtLimit(ran) ? { ...ran, timedOut: true } : ran;
|
|
6073
|
+
},
|
|
6043
6074
|
restart: async () => {
|
|
6044
6075
|
await leaveBuild(runtime, state);
|
|
6045
6076
|
await host.stop(name);
|
|
@@ -6163,4 +6194,4 @@ function describeMachineDocker(machine) {
|
|
|
6163
6194
|
return `Docker Engine ${version ?? "of no known version"}, older than the ${MIN_ENGINE_MAJOR} that container builds need`;
|
|
6164
6195
|
}
|
|
6165
6196
|
|
|
6166
|
-
export { ADDED_USER, ADOPTED_FETCH_RETRY_WINDOW_MS, AgentUserError, AssetError, DeliveryFailure, EVAL_INPUT_NAME, GH_CONFIG_YML, HELPER_ENV, LEASE_SECONDS, MANAGED_UNJAILED_REASON, MIN_ENGINE_MAJOR, PLACEHOLDER_MARKER, PROOFS_LOG, RECORD_PROOFS_ARGV, ROOT_DISK_ID_PREFIX, RunnerInitError, agentUidOf, attemptNote, claimPermissionProblem, claudeCredentialCheck, cleanupContainer, clockOf, closeHostBuild, containerCommandExec, containerJudgeEnvironment, containerSenderCommand, copyJudgeTree, copyTranscripts, copyTranscriptsFromContainer, createBuildDisk, createContainerRuntime, createLeaseChannel, currentSkillCommand, decideHostBuildSkill, deleteBuildDisk, deleteRecord, deliverContainerHooks, deliverExecMaven, describeMachineDocker, detectMachine, discardUnusableState, dropManagedBuildSettings, dropManagedClaudeKey, ensureFirecrackerAndJailer, ensureNetworkReady, ensureRootfs, ensureTunnel, execArgv, execCommandLine, fetchManagedBuildSettings, fetchManagedClaudeKey, filesAreCopied, firstLine4 as firstLine, formerSkillProblem, formerSkillQueues, ghHostsYml, gitRemoteFor, hasClaudeCredential, helperFirecrackerNote, helperSocketPath, holdManagedBuildSettings, holdManagedClaudeKey, hostCommandEnvironment, hostEnvironment, isPlaceholderCommand, keepGhConfigCurrent, keepMissingSetupScripts, keepRuntimeStep, leaseExpiresAtMs, leaseTimeLeftMs, lifecycleFailureReason, lifecycleSteps, listenOnBroker, machineConfig, makeBuildsDirPrivate, managedBuildSettingValues, managedBuildSettingsFor, managedClaudeKeyFor, managedClaudeKeyValues, managedMachineLimits, measureDisk, microVmArchSupported, microVmAssetsPinned, missingPermissionFix, missingPermissionOf, needsBuildSkill, needsClaudeCredential, obtainImage, outOfMemoryReason, parseCpuList, permissionModeProblem, permissionModeProblems, placeholderProblem, placeholderQueues, planSavedState, prepareBranch, prepareRunnerInit, probeHelper, provisionContainer, provisionEnvironment, provisionRuntimes, provisionWithFreshFallback, ranRuntimeStep, reachDockerStep, readConfigObject, readRecords, recordProofsInContainer, removeOldestUntil, removeSavedState, resolveAgentUser, resolveHostBuild, runBuildSteps, runRunnerInit, runWithSpawn, runtimeStepInput, said, saveAndPrune, savedStateBase, savedStatesDir, selectExpired, selectStaleIncomplete, selectToFit, senderAliveScript, senderSignalScript, setUpRunnerCgroup, settleFailedSteps, setupInputFor, shellQuote, signalInContainer, startCheckContainer, startHostServices, startJailedInto, startServicesFor, stopContainer, stopJailed, stoppedHelperReason, supportsContainerBuilds, supportsMicroVmBuilds, sweepImageBuilders, syncInContainer, taggedLog, uidFromProbe, userIdChangedReason, withFactoryHosts, withTunnelLog, writeEvalInput, writeRecord2 as writeRecord, writeRunnerInit };
|
|
6197
|
+
export { ADDED_USER, ADOPTED_FETCH_RETRY_WINDOW_MS, AgentUserError, AssetError, DeliveryFailure, EVAL_INPUT_NAME, GH_CONFIG_YML, HELPER_ENV, LEASE_SECONDS, MANAGED_UNJAILED_REASON, MIN_ENGINE_MAJOR, PLACEHOLDER_MARKER, PROOFS_LOG, RECORD_PROOFS_ARGV, ROOT_DISK_ID_PREFIX, RunnerInitError, agentUidOf, attemptNote, claimPermissionProblem, claudeCredentialCheck, cleanupContainer, clockOf, closeHostBuild, containerCommandExec, containerJudgeEnvironment, containerSenderCommand, copyJudgeTree, copyTranscripts, copyTranscriptsFromContainer, createBuildDisk, createContainerRuntime, createLeaseChannel, currentSkillCommand, decideHostBuildSkill, deleteBuildDisk, deleteRecord, deliverContainerHooks, deliverExecMaven, describeMachineDocker, detectMachine, discardUnusableState, dropManagedBuildSettings, dropManagedClaudeKey, ensureFirecrackerAndJailer, ensureNetworkReady, ensureRootfs, ensureTunnel, execArgv, execCommandLine, fetchManagedBuildSettings, fetchManagedClaudeKey, filesAreCopied, firstLine4 as firstLine, formerSkillProblem, formerSkillQueues, ghHostsYml, gitRemoteFor, hasClaudeCredential, helperFirecrackerNote, helperSocketPath, holdManagedBuildSettings, holdManagedClaudeKey, hostCommandEnvironment, hostEnvironment, isPlaceholderCommand, itemScope, itemTag, keepGhConfigCurrent, keepMissingSetupScripts, keepRuntimeStep, leaseExpiresAtMs, leaseTimeLeftMs, lifecycleFailureReason, lifecycleSteps, listenOnBroker, machineConfig, makeBuildsDirPrivate, managedBuildSettingValues, managedBuildSettingValuesFor, managedBuildSettingsFor, managedClaudeKeyFor, managedClaudeKeyValues, managedClaudeKeyValuesFor, managedMachineLimits, measureDisk, microVmArchSupported, microVmAssetsPinned, missingPermissionFix, missingPermissionOf, needsBuildSkill, needsClaudeCredential, obtainImage, outOfMemoryReason, parseCpuList, permissionModeProblem, permissionModeProblems, placeholderProblem, placeholderQueues, planSavedState, prepareBranch, prepareRunnerInit, probeHelper, provisionContainer, provisionEnvironment, provisionRuntimes, provisionWithFreshFallback, ranRuntimeStep, reachDockerStep, readConfigObject, readRecords, recordProofsInContainer, removeOldestUntil, removeSavedState, resolveAgentUser, resolveHostBuild, runBuildSteps, runRunnerInit, runSetupScripts, runWithSpawn, runtimeStepInput, said, saveAndPrune, savedStateBase, savedStatesDir, selectExpired, selectStaleIncomplete, selectToFit, senderAliveScript, senderSignalScript, setUpRunnerCgroup, settleFailedSteps, setupInputFor, shellQuote, signalInContainer, startCheckContainer, startHostServices, startJailedInto, startServicesFor, stopContainer, stopJailed, stoppedHelperReason, supportsContainerBuilds, supportsMicroVmBuilds, sweepImageBuilders, syncInContainer, taggedLog, uidFromProbe, usableCpus, userIdChangedReason, withFactoryHosts, withTunnelLog, writeEvalInput, writeRecord2 as writeRecord, writeRunnerInit };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { readNewestDemo } from './chunk-ER6KQCVJ.js';
|
|
4
|
-
import { runEmitArtifact } from './chunk-
|
|
4
|
+
import { runEmitArtifact } from './chunk-UTIRCHI5.js';
|
|
5
5
|
import { VoiceDownloadError, downloadPinned, sha256OfFile } from './chunk-2PGI6RDE.js';
|
|
6
6
|
import { VOICE_PACK_FILES, VOICE_PACK_VERSION } from './chunk-D3CT6XQ4.js';
|
|
7
7
|
import { detectActiveSession } from './chunk-IP7BIBXJ.js';
|
|
8
|
-
import { autoConnect } from './chunk-
|
|
9
|
-
import { C } from './chunk-
|
|
10
|
-
import { defaultFetch, resolveGatewayCredentials } from './chunk-
|
|
11
|
-
import { resolveRepoIdentity } from './chunk-
|
|
12
|
-
import { launchedItemForSession } from './chunk-
|
|
13
|
-
import { ARTIFACT_MAX_BYTES, ARTIFACT_MAX_CAPTION_LENGTH, DEMO_RECORD_MEDIA_TYPE, ARTIFACT_MAX_REPLACES_TARGETS, DEMO_MANIFEST_LATEST_VERSION, DemoManifestSchema, ARTIFACT_KINDS } from './chunk-
|
|
14
|
-
import { homeFromEnv } from './chunk-
|
|
8
|
+
import { autoConnect } from './chunk-YZSE7EYM.js';
|
|
9
|
+
import { C } from './chunk-2AM6Z5BP.js';
|
|
10
|
+
import { defaultFetch, resolveGatewayCredentials } from './chunk-FNS2RJ5T.js';
|
|
11
|
+
import { resolveRepoIdentity } from './chunk-TV2OQUWE.js';
|
|
12
|
+
import { launchedItemForSession } from './chunk-5WYT3PPE.js';
|
|
13
|
+
import { ARTIFACT_MAX_BYTES, ARTIFACT_MAX_CAPTION_LENGTH, DEMO_RECORD_MEDIA_TYPE, ARTIFACT_MAX_REPLACES_TARGETS, DEMO_MANIFEST_LATEST_VERSION, DemoManifestSchema, ARTIFACT_KINDS } from './chunk-YTTESG7K.js';
|
|
14
|
+
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
15
15
|
import { __commonJS, __require, __toESM } from './chunk-Z5GEFMRW.js';
|
|
16
16
|
import { createHash } from 'crypto';
|
|
17
17
|
import { mkdtempSync, writeFileSync, statSync, readFileSync, rmSync, mkdirSync, existsSync, copyFileSync, accessSync, constants, realpathSync, createReadStream, createWriteStream } from 'fs';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { readContextManifest, removeContextManifest } from './chunk-YQR6E6OV.js';
|
|
4
|
-
import { removePreCommitGuardHook } from './chunk-
|
|
5
|
-
import { CONTEXT_PIN_FILENAME } from './chunk-
|
|
4
|
+
import { removePreCommitGuardHook } from './chunk-CJPTUU2E.js';
|
|
5
|
+
import { CONTEXT_PIN_FILENAME } from './chunk-5FWBAM6O.js';
|
|
6
6
|
import { execFileSync } from 'child_process';
|
|
7
7
|
import { lstatSync, existsSync, unlinkSync, readdirSync, rmdirSync, readFileSync, mkdirSync, writeFileSync } from 'fs';
|
|
8
8
|
import { join, dirname, isAbsolute } from 'path';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { detectActiveSession } from './chunk-IP7BIBXJ.js';
|
|
4
|
-
import { autoConnect } from './chunk-
|
|
5
|
-
import { C } from './chunk-
|
|
6
|
-
import { defaultFetch, unauthorizedMessage, resolveGatewayCredentials } from './chunk-
|
|
7
|
-
import { resolveRepoIdentity } from './chunk-
|
|
8
|
-
import { parseWorkItemEnv } from './chunk-
|
|
4
|
+
import { autoConnect } from './chunk-YZSE7EYM.js';
|
|
5
|
+
import { C } from './chunk-2AM6Z5BP.js';
|
|
6
|
+
import { defaultFetch, unauthorizedMessage, resolveGatewayCredentials } from './chunk-FNS2RJ5T.js';
|
|
7
|
+
import { resolveRepoIdentity } from './chunk-TV2OQUWE.js';
|
|
8
|
+
import { parseWorkItemEnv } from './chunk-5WYT3PPE.js';
|
|
9
9
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
10
|
-
import { homeFromEnv } from './chunk-
|
|
10
|
+
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
11
11
|
|
|
12
12
|
createRequire(import.meta.url);
|
|
13
13
|
|