@outerlayer/cli 0.36.0-next.20261103181718 → 0.36.0-next.20261103191900
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-WV4Y2HGG.js → agent-setup-X7AYIYU2.js} +9 -9
- package/dist/{agent-subcommand-RQCLWP3A.js → agent-subcommand-54OWGFVV.js} +1 -1
- package/dist/{bridge-NFSJ4IBQ.js → bridge-QJNA3KV6.js} +4 -4
- package/dist/{build-RGO3EWJD.js → build-4R4PUGPT.js} +10 -10
- package/dist/{build-disk-NYYBJGBH.js → build-disk-LYHGWH4G.js} +8 -8
- package/dist/build-info.json +1 -1
- package/dist/{builder-HT3CV5ZZ.js → builder-ER6LUZBQ.js} +7 -7
- package/dist/{caller-D4ZZWA6I.js → caller-PCOQRDGJ.js} +10 -10
- package/dist/{check-4T4FDFLZ.js → check-27MDV3T5.js} +40 -40
- package/dist/{chunk-GTJLKBN7.js → chunk-2BTDFRRQ.js} +6 -6
- package/dist/{chunk-QN4ABLRK.js → chunk-2HOSCIV6.js} +1 -1
- package/dist/{chunk-CLFP2ZTG.js → chunk-2I654QYW.js} +2 -2
- package/dist/{chunk-4S564XTG.js → chunk-45AYMLMT.js} +1 -1
- package/dist/{chunk-2P532NZM.js → chunk-4HMOBW7H.js} +5 -5
- package/dist/{chunk-EZI2BLP6.js → chunk-4KYPJE3D.js} +3 -3
- package/dist/{chunk-NFYXRAEV.js → chunk-4YLF777T.js} +1 -1
- package/dist/{chunk-QLZXFKGO.js → chunk-5MN6VZZH.js} +3 -3
- package/dist/{chunk-7A2OPME2.js → chunk-6HMA3FIE.js} +2 -2
- package/dist/{chunk-CTBQN5KQ.js → chunk-6LPBK4XU.js} +5 -5
- package/dist/{chunk-POTMAJPJ.js → chunk-7HDI5CGG.js} +2 -2
- package/dist/{chunk-PL2AGLJF.js → chunk-7TZP5JBS.js} +2 -2
- package/dist/{chunk-F2UM3NDF.js → chunk-7V4ZEB2R.js} +4 -4
- package/dist/{chunk-J3SICPA2.js → chunk-AZXFZGHQ.js} +1 -1
- package/dist/{chunk-22JLORO6.js → chunk-B5BLIHJZ.js} +2 -2
- package/dist/{chunk-UD6I7QJJ.js → chunk-BOUW2CV6.js} +2 -2
- package/dist/{chunk-IRJ6EGQT.js → chunk-C4OYAXLQ.js} +7 -7
- package/dist/{chunk-RGSQHTO4.js → chunk-COPXXXNB.js} +2 -2
- package/dist/{chunk-ZKJGZQ63.js → chunk-D7TMGSZN.js} +3 -3
- package/dist/{chunk-HBYFB3LK.js → chunk-DDOD4YOQ.js} +1 -1
- package/dist/{chunk-RY5QFTXJ.js → chunk-DE64NSOH.js} +5 -5
- package/dist/{chunk-CMZTCXCA.js → chunk-DSZKDLFU.js} +1 -1
- package/dist/{chunk-DIL7U77P.js → chunk-EKDQDOSS.js} +1 -1
- package/dist/{chunk-AWPGPPXP.js → chunk-ENWGIREE.js} +4 -4
- package/dist/{chunk-WGLYAMVK.js → chunk-FDRQZALU.js} +1 -1
- package/dist/{chunk-WSZZKMXF.js → chunk-GAPNTRA5.js} +1 -1
- package/dist/{chunk-WTKCAALP.js → chunk-GNLAORSW.js} +3 -3
- package/dist/{chunk-UVKPDGLM.js → chunk-H5CWIV56.js} +5 -5
- package/dist/{chunk-ORBQ4QR7.js → chunk-IADJEW5P.js} +4 -4
- package/dist/{chunk-SWUPSLNV.js → chunk-K3GWZRRK.js} +7 -7
- package/dist/{chunk-WZ5YJJMP.js → chunk-KJ424QKG.js} +5 -5
- package/dist/{chunk-H4H3KK25.js → chunk-KQDTORGF.js} +1 -1
- package/dist/{chunk-SIVZITLG.js → chunk-KRTIYEJI.js} +1 -1
- package/dist/{chunk-KYDKOYZD.js → chunk-LIJMW36Q.js} +26 -27
- package/dist/{chunk-K52TGQLV.js → chunk-MLO33RMW.js} +9 -9
- package/dist/{chunk-CFHM562L.js → chunk-NDIV6GDC.js} +5 -3
- package/dist/{chunk-UT4SX57J.js → chunk-OHOATH4S.js} +3 -3
- package/dist/{chunk-YVRJDMDL.js → chunk-PCWNDYQO.js} +8 -8
- package/dist/{chunk-5HMIMWRD.js → chunk-PJ5GYGC6.js} +1 -1
- package/dist/{chunk-3JYR5R57.js → chunk-PUEIXGZ4.js} +1 -1
- package/dist/{chunk-63KUYXOH.js → chunk-PYPHE6FZ.js} +1 -1
- package/dist/{chunk-C6LAXUC7.js → chunk-QBDQ64QF.js} +2 -2
- package/dist/{chunk-63T2OTPO.js → chunk-QGUOCNQA.js} +2 -2
- package/dist/{chunk-2VWYPY62.js → chunk-R2DEJ5Q6.js} +3 -3
- package/dist/{chunk-PTHBJDWK.js → chunk-SRNHGJAV.js} +2 -2
- package/dist/{chunk-IKAGRGLY.js → chunk-T4J5VR7B.js} +1 -1
- package/dist/{chunk-R4LXONKC.js → chunk-UYXX33HA.js} +3 -3
- package/dist/{chunk-7WZNTLNB.js → chunk-W3ZKWZ6G.js} +1 -1
- package/dist/{chunk-SR6SXYM4.js → chunk-WRNDC7H7.js} +2 -2
- package/dist/{chunk-X2B7ILTH.js → chunk-WVZ6EKJ3.js} +2 -2
- package/dist/{chunk-6BGE2CZB.js → chunk-X7PK7QRY.js} +2 -2
- package/dist/{chunk-V227E7UX.js → chunk-XLCAYPLV.js} +1 -1
- package/dist/{chunk-XKM7KCUJ.js → chunk-Z27IIHHE.js} +28 -27
- package/dist/{claude-launcher-KQHWKYRL.js → claude-launcher-WJ5CVLJR.js} +1 -1
- package/dist/{cli-BM7CAJFW.js → cli-RCLYJFIL.js} +119 -119
- package/dist/{command-ZIVI5DQK.js → command-XGIJADGX.js} +35 -35
- package/dist/{config-W4OY2JNP.js → config-VHJI645L.js} +9 -9
- package/dist/{connect-cmd-2O2GGNAY.js → connect-cmd-CQNECBHI.js} +7 -7
- package/dist/{container-start-CRUUG57V.js → container-start-S5EL4HIH.js} +33 -33
- package/dist/{context-show-cmd-LAK6CYZT.js → context-show-cmd-XODQYX7H.js} +8 -8
- package/dist/{control-plane-launch-N7FFBGPD.js → control-plane-launch-KIJABWN4.js} +7 -7
- package/dist/{demo-record-cmd-335YZIXU.js → demo-record-cmd-QVK4YUIV.js} +5 -5
- package/dist/{demo-voice-cmd-LVODULO2.js → demo-voice-cmd-4BOI7UDQ.js} +13 -13
- package/dist/{docker-WDMFRVOX.js → docker-BP7AD65K.js} +7 -7
- package/dist/{doctor-3HKOYZTJ.js → doctor-TZIHEPIW.js} +35 -35
- package/dist/{emit-artifact-cmd-MLIPSYXP.js → emit-artifact-cmd-EGFKK4KF.js} +12 -12
- package/dist/{emit-criteria-cmd-JYG5LJEQ.js → emit-criteria-cmd-L2YRIRCQ.js} +9 -9
- package/dist/{emit-demo-cmd-LKB4OHJD.js → emit-demo-cmd-QHKUH4Y3.js} +13 -13
- package/dist/{emit-finding-cmd-YNLZSJEC.js → emit-finding-cmd-DCEGWYY4.js} +9 -9
- package/dist/{emit-result-cmd-EYEFXWVS.js → emit-result-cmd-WGBZUASN.js} +11 -11
- package/dist/{emit-step-cmd-YF5CGZ2H.js → emit-step-cmd-TFKMQZHD.js} +9 -9
- package/dist/{exec-client-T7XWSBJ3.js → exec-client-GW5ZI74B.js} +5 -5
- package/dist/find-unit-L2JIUL4D.js +24 -0
- package/dist/{findings-cmd-KBV2GQXJ.js → findings-cmd-QO7OMGM6.js} +9 -9
- package/dist/{fleet-readiness-JG3YAKT7.js → fleet-readiness-ZF4UUANH.js} +7 -7
- package/dist/{governing-source-VCD5NPMW.js → governing-source-JYK3VK23.js} +11 -11
- package/dist/{guest-init-SG5RDE4K.js → guest-init-FPRVOOK5.js} +6 -6
- package/dist/{hook-fast-QLCXXFMZ.js → hook-fast-WLRNPF5S.js} +1 -1
- package/dist/{host-checks-LQTHW3DN.js → host-checks-FEYDTZKZ.js} +31 -31
- package/dist/{pending-JOEXUNDC.js → host-key-WG4KPVLI.js} +5 -5
- package/dist/{image-tag-77FWBIYC.js → image-tag-GZW7HJBN.js} +5 -5
- package/dist/index.js +4 -4
- package/dist/{init-UFQQUI4Z.js → init-6FLEEVZY.js} +31 -31
- package/dist/{init-O33TLGUI.js → init-RSKNY7WL.js} +31 -31
- package/dist/{init-cmd-GCHZK7YQ.js → init-cmd-UD6QSHH2.js} +12 -12
- package/dist/{init-update-ZSTDH75N.js → init-update-N3WBXLGD.js} +10 -10
- package/dist/{install-cmd-BRURSBEH.js → install-cmd-GJNKXZN2.js} +7 -7
- package/dist/{logs-TRW3A55Z.js → logs-IMTZ733E.js} +4 -4
- package/dist/{loop-QHQTM25C.js → loop-VCH4UOQ4.js} +39 -39
- package/dist/{machine-VFZAHR6N.js → machine-ZU7XA2IC.js} +31 -31
- package/dist/{mcp-serve-cmd-JVLROUUU.js → mcp-serve-cmd-27QGBQGR.js} +6 -6
- package/dist/{paths-AOUMCMP3.js → paths-HV5GP5OV.js} +4 -4
- package/dist/{host-key-UEHE5JSK.js → pending-4PZIZNR5.js} +5 -5
- package/dist/{pidfile-5LPBPEGE.js → pidfile-P4DJ2C7S.js} +5 -5
- package/dist/{record-4RLFKQMG.js → record-UOVUKWPV.js} +5 -5
- package/dist/{relay-IYJ7JJLG.js → relay-JMCC6IJ4.js} +2 -2
- package/dist/{relay-protocol-MPZHNZYJ.js → relay-protocol-RR5JOWOO.js} +2 -2
- package/dist/{runner-agents-MWBL6LA7.js → runner-agents-RO4TU5N4.js} +1 -1
- package/dist/{runner-env-YTX4BAXF.js → runner-env-XX2NZOEJ.js} +11 -11
- package/dist/{runner-identity-4LMITADJ.js → runner-identity-HHW4UKYE.js} +7 -7
- package/dist/{runner-key-QTQRIW4N.js → runner-key-FNNAF36Q.js} +31 -31
- package/dist/{session-sender-YAM3GNFD.js → session-sender-4FS2GKAY.js} +12 -12
- package/dist/{spec-cmd-VE4XIZ6Z.js → spec-cmd-AAVXNWTV.js} +10 -10
- package/dist/{state-GBESQ6UB.js → state-IASJSAJV.js} +5 -5
- package/dist/{status-SNQVVDRU.js → status-FQ5AIDWL.js} +31 -31
- package/dist/{sync-cmd-BXV3EVTU.js → sync-cmd-K3V4D54W.js} +11 -11
- package/dist/{update-steps-ZR4RQB7J.js → update-steps-TR2A4Z6Q.js} +32 -32
- package/dist/{watch-FKHHEV3X.js → watch-SAMIKKQC.js} +11 -11
- package/dist/{work-claim-cmd-IVG4A3IZ.js → work-claim-cmd-PBW4QDJH.js} +15 -15
- package/dist/{work-cmd-HSMQMQDL.js → work-cmd-L23VUS4H.js} +9 -9
- package/dist/{work-comment-cmd-OHGGZASQ.js → work-comment-cmd-DRBGJAUD.js} +11 -11
- package/dist/{work-demo-cmd-TMMHK72J.js → work-demo-cmd-HT72ZB6K.js} +9 -9
- package/dist/{work-logs-cmd-GQCUPUKG.js → work-logs-cmd-VSWZHEUJ.js} +9 -9
- package/dist/{work-open-pr-cmd-XVXOXNIL.js → work-open-pr-cmd-DOMZJJC3.js} +10 -10
- package/dist/{work-pr-cmd-E75ZUOAD.js → work-pr-cmd-FC3AJ67Y.js} +9 -9
- package/dist/{work-proofs-cmd-LDMQ37OH.js → work-proofs-cmd-NINHCBZW.js} +10 -10
- package/dist/{work-proofs-record-VJG27HMI.js → work-proofs-record-7XH374TO.js} +16 -16
- package/dist/{work-stop-cmd-JSFV7AL2.js → work-stop-cmd-J5DXU4BV.js} +9 -9
- package/package.json +1 -1
- package/dist/find-unit-X5LYKUQX.js +0 -24
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { currentLink } from './chunk-
|
|
3
|
+
import { currentLink } from './chunk-W3ZKWZ6G.js';
|
|
4
4
|
import { readFileSync, statSync, chmodSync, mkdirSync, writeFileSync, renameSync, rmSync, existsSync, lstatSync, accessSync, constants, realpathSync } from 'fs';
|
|
5
5
|
import { randomBytes } from 'crypto';
|
|
6
6
|
import { join, dirname, delimiter, resolve } from 'path';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { hostKeyPath, runnerDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-
|
|
3
|
+
import { hostKeyPath, runnerDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-PYPHE6FZ.js';
|
|
4
4
|
import { generateKeyPairSync, createPrivateKey, createPublicKey, sign } from 'crypto';
|
|
5
5
|
import { existsSync, mkdirSync, writeFileSync, readFileSync } from 'fs';
|
|
6
6
|
|
|
@@ -1,9 +1,9 @@
|
|
|
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 { withoutCredentialLines, parseRunnerEnv } from './chunk-
|
|
6
|
-
import { headlessNames, runnerAgents, credentialAgent, credentialForms, orList, credentialShapes, credentialEnvPath, forwardedVariables } from './chunk-
|
|
3
|
+
import { DEFAULT_UNIT_NAME } from './chunk-KJ424QKG.js';
|
|
4
|
+
import { RUNNER_FILE_MODE } from './chunk-PYPHE6FZ.js';
|
|
5
|
+
import { withoutCredentialLines, parseRunnerEnv } from './chunk-DDOD4YOQ.js';
|
|
6
|
+
import { headlessNames, runnerAgents, credentialAgent, credentialForms, orList, credentialShapes, credentialEnvPath, forwardedVariables } from './chunk-NDIV6GDC.js';
|
|
7
7
|
import { defaultAgents } from './chunk-E6ESLX5E.js';
|
|
8
8
|
import { existsSync, readFileSync, writeFileSync, renameSync, rmSync } from 'fs';
|
|
9
9
|
import { join, dirname } 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 } from './chunk-
|
|
3
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-PYPHE6FZ.js';
|
|
4
4
|
import { readFileSync, mkdirSync, writeFileSync, renameSync } from 'fs';
|
|
5
5
|
import { join } from 'path';
|
|
6
6
|
|
|
@@ -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-PYPHE6FZ.js';
|
|
4
4
|
import { mkdirSync, writeFileSync, renameSync, existsSync, readFileSync } from 'fs';
|
|
5
5
|
import { dirname, join } from 'path';
|
|
6
6
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { TUNNEL_PORT, BRIDGE_ADDRESS, BRIDGE_CIDR } from './chunk-
|
|
3
|
+
import { TUNNEL_PORT, BRIDGE_ADDRESS, BRIDGE_CIDR } from './chunk-2HOSCIV6.js';
|
|
4
4
|
import { startTimeOf } from './chunk-JBJTC3UU.js';
|
|
5
|
-
import { EXEC_PORT } from './chunk-
|
|
6
|
-
import { RELAY_PORT } from './chunk-
|
|
5
|
+
import { EXEC_PORT } from './chunk-2I654QYW.js';
|
|
6
|
+
import { RELAY_PORT } from './chunk-B5BLIHJZ.js';
|
|
7
7
|
import { spawn, spawnSync } from 'child_process';
|
|
8
8
|
import { symlinkSync, lstatSync, writeFileSync, chmodSync, mkdirSync, existsSync } from 'fs';
|
|
9
9
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { WorkCommandError, postJson } from './chunk-
|
|
4
|
-
import { defaultGitRunner, materializeContext, fetchControlPlaneCommit, lookupGoverningSource } from './chunk-
|
|
3
|
+
import { WorkCommandError, postJson } from './chunk-DE64NSOH.js';
|
|
4
|
+
import { defaultGitRunner, materializeContext, fetchControlPlaneCommit, lookupGoverningSource } from './chunk-7HDI5CGG.js';
|
|
5
5
|
import { buildRefusalReason } from './chunk-H6T73OLF.js';
|
|
6
6
|
import { unsupportedLayout, layoutRefusalReason, composeDelivery } from './chunk-BQUI64BU.js';
|
|
7
|
-
import { signingFetchFor } from './chunk-
|
|
8
|
-
import { signerFor } from './chunk-
|
|
9
|
-
import { SHIM_DIR, stagedContextDir, contextHomeDir, deliveryDir, keptContextDir } from './chunk-
|
|
7
|
+
import { signingFetchFor } from './chunk-4YLF777T.js';
|
|
8
|
+
import { signerFor } from './chunk-EKDQDOSS.js';
|
|
9
|
+
import { SHIM_DIR, stagedContextDir, contextHomeDir, deliveryDir, keptContextDir } from './chunk-PYPHE6FZ.js';
|
|
10
10
|
import { SHIM_SCRIPT, GOVERNANCE_VARIABLE } from './chunk-OV4XTV5M.js';
|
|
11
11
|
import { readDegraded, readContextManifest, readSourceCache } from './chunk-YQR6E6OV.js';
|
|
12
12
|
import { fstatSync, mkdirSync, writeFileSync, chmodSync, rmSync, cpSync, readFileSync, existsSync, lstatSync } from 'fs';
|
|
@@ -1,14 +1,14 @@
|
|
|
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-R2DEJ5Q6.js';
|
|
5
5
|
import { VoiceDownloadError, downloadPinned, sha256OfFile } from './chunk-2PGI6RDE.js';
|
|
6
6
|
import { detectActiveSession } from './chunk-NE2A2ZIY.js';
|
|
7
|
-
import { autoConnect } from './chunk-
|
|
7
|
+
import { autoConnect } from './chunk-WVZ6EKJ3.js';
|
|
8
8
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
9
|
-
import { defaultFetch, resolveGatewayCredentials } from './chunk-
|
|
9
|
+
import { defaultFetch, resolveGatewayCredentials } from './chunk-4YLF777T.js';
|
|
10
10
|
import { launchedItemForSession } from './chunk-4OD45RBP.js';
|
|
11
|
-
import { VOICE_PACK_FILES, VOICE_PACK_VERSION } from './chunk-
|
|
11
|
+
import { VOICE_PACK_FILES, VOICE_PACK_VERSION } from './chunk-NDIV6GDC.js';
|
|
12
12
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
13
13
|
import { resolveRepoIdentity } from './chunk-WZOWXDDM.js';
|
|
14
14
|
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-WUKLQWGY.js';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { toolsDockerfile } from './chunk-
|
|
4
|
-
import { claimPidFile, RunnerAlreadyRunningError, releasePidFile } from './chunk-
|
|
3
|
+
import { toolsDockerfile } from './chunk-5MN6VZZH.js';
|
|
4
|
+
import { claimPidFile, RunnerAlreadyRunningError, releasePidFile } from './chunk-KQDTORGF.js';
|
|
5
5
|
import { startTimeOf } from './chunk-JBJTC3UU.js';
|
|
6
|
-
import { runnerLabelValue } from './chunk-
|
|
7
|
-
import { RecipeError, locateRecipe, readRecipe, assertBuildable, writeSanitizedRecipe, classifyProperties, SANITIZED_NAME } from './chunk-
|
|
8
|
-
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, repoCacheDir, imagesDir, imageBuildLogsDir, attemptStamp, orgStore, rootfsPathFor } from './chunk-
|
|
9
|
-
import { withGitConfig, tokenHeader } from './chunk-
|
|
10
|
-
import { UNIVERSAL_IMAGE_DIGEST, UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_SOURCE, buildAgentPin, NODE_IMAGE, UNIVERSAL_IMAGE, MEDIA_PINS, TINI_VERSION, GH_VERSION } from './chunk-
|
|
6
|
+
import { runnerLabelValue } from './chunk-2BTDFRRQ.js';
|
|
7
|
+
import { RecipeError, locateRecipe, readRecipe, assertBuildable, writeSanitizedRecipe, classifyProperties, SANITIZED_NAME } from './chunk-XLCAYPLV.js';
|
|
8
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, repoCacheDir, imagesDir, imageBuildLogsDir, attemptStamp, orgStore, rootfsPathFor } from './chunk-PYPHE6FZ.js';
|
|
9
|
+
import { withGitConfig, tokenHeader } from './chunk-B5BLIHJZ.js';
|
|
10
|
+
import { UNIVERSAL_IMAGE_DIGEST, UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_SOURCE, buildAgentPin, NODE_IMAGE, UNIVERSAL_IMAGE, MEDIA_PINS, TINI_VERSION, GH_VERSION } from './chunk-NDIV6GDC.js';
|
|
11
11
|
import { mkdirSync, writeFileSync, existsSync, mkdtempSync, rmSync, cpSync, readFileSync, readdirSync, lstatSync, readlinkSync } from 'fs';
|
|
12
12
|
import { tmpdir } from 'os';
|
|
13
13
|
import { join } from 'path';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { builtinKind, keepsHostBuilder } from './chunk-
|
|
4
|
-
import { parseSize } from './chunk-
|
|
5
|
-
import { runnerDir } from './chunk-
|
|
6
|
-
import { FD_SLOTS_PER_BUILD, FD_STORE_ENV, BUILD_SLICE_MEMORY_ENV, credentialLineIn, withoutCredentialLines } from './chunk-
|
|
7
|
-
import { credentialAgent, credentialNames, credentialForms } from './chunk-
|
|
3
|
+
import { builtinKind, keepsHostBuilder } from './chunk-7V4ZEB2R.js';
|
|
4
|
+
import { parseSize } from './chunk-2BTDFRRQ.js';
|
|
5
|
+
import { runnerDir } from './chunk-PYPHE6FZ.js';
|
|
6
|
+
import { FD_SLOTS_PER_BUILD, FD_STORE_ENV, BUILD_SLICE_MEMORY_ENV, credentialLineIn, withoutCredentialLines } from './chunk-DDOD4YOQ.js';
|
|
7
|
+
import { credentialAgent, credentialNames, credentialForms } from './chunk-NDIV6GDC.js';
|
|
8
8
|
import { defaultAgents } from './chunk-E6ESLX5E.js';
|
|
9
9
|
import { existsSync, readFileSync, writeFileSync, chmodSync, renameSync } from 'fs';
|
|
10
10
|
import { dirname, join } from 'path';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { isSameProcess } from './chunk-JBJTC3UU.js';
|
|
4
|
-
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-
|
|
4
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-PYPHE6FZ.js';
|
|
5
5
|
import { existsSync, readFileSync, mkdirSync, writeFileSync, rmSync } from 'fs';
|
|
6
6
|
import { dirname } from 'path';
|
|
7
7
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { sanitizeTerminal } from './chunk-F3T5QJ24.js';
|
|
4
4
|
import { isAgentsMdLayout } from './chunk-7HRNYPL3.js';
|
|
5
|
-
import { resolveGatewayCredentials, defaultFetch } from './chunk-
|
|
5
|
+
import { resolveGatewayCredentials, defaultFetch } from './chunk-4YLF777T.js';
|
|
6
6
|
import { versionAtLeast } from './chunk-OV4XTV5M.js';
|
|
7
7
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
8
8
|
import { machineSkillsState, staleAgentSkills } from './chunk-RYSGOWHG.js';
|
|
@@ -3,37 +3,37 @@ import { createRequire } from 'node:module';
|
|
|
3
3
|
import { itemsSentence, criteriaOf, hostItemsOf, loadCitationFinder, testFileMatcher, MAX_TEST_FILE_BYTES, MAX_TEST_FILES, criterionInputs, uncitedIds, planCriteria, parseJudgeAnswer, inCriteriaOrder, oneLineReason, judgedItems, IdScan, firstInPathOrder, isSearchCandidate } from './chunk-JJ63MLE5.js';
|
|
4
4
|
import { sha256OfFile, downloadPinned, VoiceDownloadError } from './chunk-2PGI6RDE.js';
|
|
5
5
|
import { zodProblem } from './chunk-I3LTIAOR.js';
|
|
6
|
-
import { hasStoredCredential, storeAgentCredential, credentialFromStdin, isAgentName } from './chunk-
|
|
6
|
+
import { hasStoredCredential, storeAgentCredential, credentialFromStdin, isAgentName } from './chunk-ENWGIREE.js';
|
|
7
7
|
import { upgradedStarterText } from './chunk-OM3XGJBY.js';
|
|
8
|
-
import { HELPER_PATH, HELPER_RECORD, DOCKERD_LOG } from './chunk-
|
|
9
|
-
import { writeDockerClientConfig } from './chunk-
|
|
10
|
-
import { senderPidfile } from './chunk-
|
|
11
|
-
import { installScrubContext } from './chunk-
|
|
8
|
+
import { HELPER_PATH, HELPER_RECORD, DOCKERD_LOG } from './chunk-GNLAORSW.js';
|
|
9
|
+
import { writeDockerClientConfig } from './chunk-2HOSCIV6.js';
|
|
10
|
+
import { senderPidfile } from './chunk-COPXXXNB.js';
|
|
11
|
+
import { installScrubContext } from './chunk-4HMOBW7H.js';
|
|
12
12
|
import { readsJobState, READ_JOB_STATE_FORMATS, jobStateFormatOf } from './chunk-ZVB57WI6.js';
|
|
13
|
-
import { runnerImageVersion } from './chunk-
|
|
14
|
-
import { claimCalls, spoolHomeFor, itemCalls, claimItem, leftByRunnerKey } from './chunk-
|
|
13
|
+
import { runnerImageVersion } from './chunk-T4J5VR7B.js';
|
|
14
|
+
import { claimCalls, spoolHomeFor, itemCalls, claimItem, leftByRunnerKey } from './chunk-7TZP5JBS.js';
|
|
15
15
|
import { receiveFiles } from './chunk-NN33FYXG.js';
|
|
16
|
-
import { readDefaultBranchFiles, readDefaultBranchHead, buildRepositoryImage, fetchCommit, readBranchHead, diffBetween, prepareImageBuild, KEY_PREFIX, TAG_HOST, SHARED_OWNER, SHARED_NAME, universalBase, metadataFromLabels, writeRecord } from './chunk-
|
|
17
|
-
import { FETCHED_DIR, toolsDockerfile, FETCHED_FFMPEG, FETCHED_GH, FETCHED_TINI, FETCHED_HEADLESS_SHELL, FETCHED_PLAYWRIGHT_FFMPEG, FETCHED_VOICE_DIR } from './chunk-
|
|
16
|
+
import { readDefaultBranchFiles, readDefaultBranchHead, buildRepositoryImage, fetchCommit, readBranchHead, diffBetween, prepareImageBuild, KEY_PREFIX, TAG_HOST, SHARED_OWNER, SHARED_NAME, universalBase, metadataFromLabels, writeRecord } from './chunk-K3GWZRRK.js';
|
|
17
|
+
import { FETCHED_DIR, toolsDockerfile, FETCHED_FFMPEG, FETCHED_GH, FETCHED_TINI, FETCHED_HEADLESS_SHELL, FETCHED_PLAYWRIGHT_FFMPEG, FETCHED_VOICE_DIR } from './chunk-5MN6VZZH.js';
|
|
18
18
|
import { isSameProcess, startTimeOf } from './chunk-JBJTC3UU.js';
|
|
19
19
|
import { currentCliBuild } from './chunk-OGFGZQA3.js';
|
|
20
|
-
import { vmExecArgs, runExec, execCapture, waitForAgent } from './chunk-
|
|
21
|
-
import { socketPathProblem, vsockLinks, linkVsockSockets, GUEST_CID, LEASE_LINK } from './chunk-
|
|
22
|
-
import { describeCallFailure, shortClaim, retrySend, commandWithShim, logStamp, createRunnerLog, formatDuration, removeKeptContext, formatClock, stageGovernedContext, keptContextTree, removeStagedContext, WORKFLOW_PERMISSION_REASON, refusalCode, resolveGoverningSource, prefetchGovernedContext, controlPlaneTokenFailure, keepStagedContext, pinnedSourceOf, shimScript } from './chunk-
|
|
23
|
-
import { postJson, WorkCommandError, getJson, isSignatureRefusal } from './chunk-
|
|
24
|
-
import { runnerCredentialProblem, builtinKind, keyRunnerFactory, optionalEgress, isBuiltinContainer, isBuiltinVm, egressSummary, DEFAULT_WORKSPACE_KEEP_DAYS, DEFAULT_CHECK_TIME_LIMIT_MINUTES, DEFAULT_SETUP_MINUTES, allowHostProblem, systemClock, emptyEgressCounts, hostAllowed, imageBuildOf, DEFAULT_SAVED_STATE_MAX_BYTES } from './chunk-
|
|
25
|
-
import { formatBytes, volumeBytes, allocatedBytes, DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK, freeBytes } from './chunk-
|
|
26
|
-
import { firstLine, writeJobFile, readJobFile, spawnRun, RUNNER_LABEL, BUILD_LABEL, said, NETWORK_HELPER_MEMORY, createDockerHost, builderSpec, containerExecArgs, childEnvironment, readDu, withAnswerProtocol, judgeCommand, MAX_REPORT_BYTES, parseSize, runnerLabelValue, readJobFileChecked, NETWORK_READY_FILE, networkHelperName, prepareRunArgs, containerRunArgs, JUDGE_MAX_TURNS, WORKSPACE_LABEL, homeCopyRunArgs, networkHelperRunArgs, JUDGE_DIR, hashJudgeProgram, identityScript, identityArgs, parseIdentity, mountableHome, homeCopyScript, homeCopyArgs, COMMAND_DIR, judgeProgramRecord, MAX_ITEMS_BYTES, JUDGE_ITEMS, JUDGE_REPORT, identityRunArgs, SAVED_STATE_LABEL } from './chunk-
|
|
27
|
-
import { universalImagePending, RecipeError, writeSanitizedRecipe, classifyProperties, DOCKER_FEATURE } from './chunk-
|
|
20
|
+
import { vmExecArgs, runExec, execCapture, waitForAgent } from './chunk-AZXFZGHQ.js';
|
|
21
|
+
import { socketPathProblem, vsockLinks, linkVsockSockets, GUEST_CID, LEASE_LINK } from './chunk-2I654QYW.js';
|
|
22
|
+
import { describeCallFailure, shortClaim, retrySend, commandWithShim, logStamp, createRunnerLog, formatDuration, removeKeptContext, formatClock, stageGovernedContext, keptContextTree, removeStagedContext, WORKFLOW_PERMISSION_REASON, refusalCode, resolveGoverningSource, prefetchGovernedContext, controlPlaneTokenFailure, keepStagedContext, pinnedSourceOf, shimScript } from './chunk-H5CWIV56.js';
|
|
23
|
+
import { postJson, WorkCommandError, getJson, isSignatureRefusal } from './chunk-DE64NSOH.js';
|
|
24
|
+
import { runnerCredentialProblem, builtinKind, keyRunnerFactory, optionalEgress, isBuiltinContainer, isBuiltinVm, egressSummary, DEFAULT_WORKSPACE_KEEP_DAYS, DEFAULT_CHECK_TIME_LIMIT_MINUTES, DEFAULT_SETUP_MINUTES, allowHostProblem, systemClock, emptyEgressCounts, hostAllowed, imageBuildOf, DEFAULT_SAVED_STATE_MAX_BYTES } from './chunk-7V4ZEB2R.js';
|
|
25
|
+
import { formatBytes, volumeBytes, allocatedBytes, DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK, freeBytes } from './chunk-BOUW2CV6.js';
|
|
26
|
+
import { firstLine, writeJobFile, readJobFile, spawnRun, RUNNER_LABEL, BUILD_LABEL, said, NETWORK_HELPER_MEMORY, createDockerHost, builderSpec, containerExecArgs, childEnvironment, readDu, withAnswerProtocol, judgeCommand, MAX_REPORT_BYTES, parseSize, runnerLabelValue, readJobFileChecked, NETWORK_READY_FILE, networkHelperName, prepareRunArgs, containerRunArgs, JUDGE_MAX_TURNS, WORKSPACE_LABEL, homeCopyRunArgs, networkHelperRunArgs, JUDGE_DIR, hashJudgeProgram, identityScript, identityArgs, parseIdentity, mountableHome, homeCopyScript, homeCopyArgs, COMMAND_DIR, judgeProgramRecord, MAX_ITEMS_BYTES, JUDGE_ITEMS, JUDGE_REPORT, identityRunArgs, SAVED_STATE_LABEL } from './chunk-2BTDFRRQ.js';
|
|
27
|
+
import { universalImagePending, RecipeError, writeSanitizedRecipe, classifyProperties, DOCKER_FEATURE } from './chunk-XLCAYPLV.js';
|
|
28
28
|
import { sanitizeTerminal, planArtifactUpload } from './chunk-F3T5QJ24.js';
|
|
29
29
|
import { sharedSkillNames, skillConflictMessage } from './chunk-BQUI64BU.js';
|
|
30
30
|
import { readCloudConfig } from './chunk-HWVMRETT.js';
|
|
31
|
-
import { signerFor } from './chunk-
|
|
32
|
-
import { vmAssetsDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, jobsDir, storeScopes, spoolDir, orgStoreIn, rootfsDir, imagesDir, sessionsDir, builderCacheDiskPath, buildsDir, buildDir, ghConfigDir, runnerDirOfBuild, mirrorDir, orgHomeDir, jobConsolePath, vsockPath, workspacesDir, builderConsolePath, rootfsPathFor, diskTemplatesDir, deliveryDir, SHIM_DIR } from './chunk-
|
|
33
|
-
import { BUILD_HOME, JOB_MOUNT, buildEnvironment, CHECKOUT_DIR, parseIsolation, containerLocalAddress, destinationEnvironment, withHooksPath, startBuildServices, headerVariables, authorEnvironment, sharedUserEnvironment, withTunnelRecord, commitIdentityRecord, repositoriesOf, RELAY_PORT, repositoryPath, lifecycleWorkdir, CHECK_ITEMS_FILE, proxyEnvironment, checkEnvironment, withMiseVariables, checkoutPath, maxDestinations, resolveDestinations, isReservedVariable, classifyAddress, primaryOf, carried6to4, EVAL_INPUT_DIR, isMiseVariableAllowed } from './chunk-
|
|
34
|
-
import { agentCredential, RUNNER_WORDED_REASONS, UNKNOWN_TRACKING_REASON, UNKNOWN_TRANSPORT_REASON, currentAgentCredential, removedAgentCredentialValues, managedAgentCredential, RELAY_USER, realFdStorePort, builtInNames, 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-
|
|
31
|
+
import { signerFor } from './chunk-EKDQDOSS.js';
|
|
32
|
+
import { vmAssetsDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, jobsDir, storeScopes, spoolDir, orgStoreIn, rootfsDir, imagesDir, sessionsDir, builderCacheDiskPath, buildsDir, buildDir, ghConfigDir, runnerDirOfBuild, mirrorDir, orgHomeDir, jobConsolePath, vsockPath, workspacesDir, builderConsolePath, rootfsPathFor, diskTemplatesDir, deliveryDir, SHIM_DIR } from './chunk-PYPHE6FZ.js';
|
|
33
|
+
import { BUILD_HOME, JOB_MOUNT, buildEnvironment, CHECKOUT_DIR, parseIsolation, containerLocalAddress, destinationEnvironment, withHooksPath, startBuildServices, headerVariables, authorEnvironment, sharedUserEnvironment, withTunnelRecord, commitIdentityRecord, repositoriesOf, RELAY_PORT, repositoryPath, lifecycleWorkdir, CHECK_ITEMS_FILE, proxyEnvironment, checkEnvironment, withMiseVariables, checkoutPath, maxDestinations, resolveDestinations, isReservedVariable, classifyAddress, primaryOf, carried6to4, EVAL_INPUT_DIR, isMiseVariableAllowed } from './chunk-B5BLIHJZ.js';
|
|
34
|
+
import { agentCredential, RUNNER_WORDED_REASONS, UNKNOWN_TRACKING_REASON, UNKNOWN_TRANSPORT_REASON, currentAgentCredential, removedAgentCredentialValues, managedAgentCredential, RELAY_USER, realFdStorePort, builtInNames, 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-DDOD4YOQ.js';
|
|
35
35
|
import { versionAtLeast } from './chunk-OV4XTV5M.js';
|
|
36
|
-
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, 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-
|
|
36
|
+
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, 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-NDIV6GDC.js';
|
|
37
37
|
import { sessionFolderIn, legacyAgent, defaultAgents, parsePolicy, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, resolvePackRoot, orderSessions, extractFacts, sessionsToTimeline } from './chunk-E6ESLX5E.js';
|
|
38
38
|
import { MAINTAINED_SKILLS } from './chunk-CDDED64E.js';
|
|
39
39
|
import { resolveVersion } from './chunk-RA3O54FC.js';
|
|
@@ -2003,13 +2003,12 @@ function formerSkillProblem(queues) {
|
|
|
2003
2003
|
}
|
|
2004
2004
|
function modellessQueues(config, agents = defaultAgents()) {
|
|
2005
2005
|
const agent = jobAgent(void 0, agents);
|
|
2006
|
-
|
|
2007
|
-
if (agent === void 0 || flag === void 0) return [];
|
|
2006
|
+
if (agent?.adapter.headless?.modelFlag === void 0) return [];
|
|
2008
2007
|
const program = programPattern(agent.descriptor.program);
|
|
2009
|
-
const named = new RegExp(`(?:^|\\s)${escapeForPattern(
|
|
2008
|
+
const named = new RegExp(`(?:^|\\s)${escapeForPattern(agent.adapter.headless.modelFlag)}(?:=|\\s)`);
|
|
2010
2009
|
return config.queues.filter((queue) => {
|
|
2011
|
-
const command = config.commands[queue];
|
|
2012
|
-
return
|
|
2010
|
+
const command = String(config.commands[queue]);
|
|
2011
|
+
return program.test(command) && !named.test(command);
|
|
2013
2012
|
});
|
|
2014
2013
|
}
|
|
2015
2014
|
function modellessProblem(queues, agents = defaultAgents()) {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { checkStarterFiles, contextIsGoverned } from './chunk-OM3XGJBY.js';
|
|
4
|
-
import { resolveCredentials, getJson, WorkCommandError } from './chunk-
|
|
5
|
-
import { fleetCheck, checkBuildSkill, checkMachineSkills, checkCommittedMaintainedSkills, checkMaintainedReferences, checkIgnoredSkillFolders } from './chunk-
|
|
4
|
+
import { resolveCredentials, getJson, WorkCommandError } from './chunk-DE64NSOH.js';
|
|
5
|
+
import { fleetCheck, checkBuildSkill, checkMachineSkills, checkCommittedMaintainedSkills, checkMaintainedReferences, checkIgnoredSkillFolders } from './chunk-KRTIYEJI.js';
|
|
6
6
|
import { withInjectedPrograms } from './chunk-T3MVV6LG.js';
|
|
7
|
-
import { isLinkedRepository } from './chunk-
|
|
7
|
+
import { isLinkedRepository } from './chunk-45AYMLMT.js';
|
|
8
8
|
import { sanitizeTerminal } from './chunk-F3T5QJ24.js';
|
|
9
9
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
10
10
|
import { checkFormerSkillNames } from './chunk-IM4VUDKW.js';
|
|
11
|
-
import { resolveGatewayCredentials, defaultFetch } from './chunk-
|
|
12
|
-
import { sanitizeForContext, spoolDir, assessSyncHealth, readSyncStatus, SYNC_STALE_AFTER_MS, formatAgo, checkInstalledCliStaleness, workspaceRootOf, hookFiredMarkerPath, refreshCommand } from './chunk-
|
|
11
|
+
import { resolveGatewayCredentials, defaultFetch } from './chunk-4YLF777T.js';
|
|
12
|
+
import { sanitizeForContext, spoolDir, assessSyncHealth, readSyncStatus, SYNC_STALE_AFTER_MS, formatAgo, checkInstalledCliStaleness, workspaceRootOf, hookFiredMarkerPath, refreshCommand } from './chunk-PJ5GYGC6.js';
|
|
13
13
|
import { CONTROL_PLANE_DIR_VARIABLE } from './chunk-OV4XTV5M.js';
|
|
14
14
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
15
15
|
import { readStatuslineState, STATE_FRESH_MS } from './chunk-7TPLWWFN.js';
|
|
@@ -1050,8 +1050,8 @@ function doctorExitCode(checks) {
|
|
|
1050
1050
|
|
|
1051
1051
|
// src/doctor-report.ts
|
|
1052
1052
|
async function gatherDoctorChecks() {
|
|
1053
|
-
const { DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK } = await import('./build-disk-
|
|
1054
|
-
const { defaultRunnerConfigPath, hasRunnerBlock, keyRunnerFactory, loadRunnerConfig, runnerVmOf } = await import('./config-
|
|
1053
|
+
const { DEFAULT_BUILD_DISK, DEFAULT_CACHE_DISK } = await import('./build-disk-LYHGWH4G.js');
|
|
1054
|
+
const { defaultRunnerConfigPath, hasRunnerBlock, keyRunnerFactory, loadRunnerConfig, runnerVmOf } = await import('./config-VHJI645L.js');
|
|
1055
1055
|
const configPath = defaultRunnerConfigPath();
|
|
1056
1056
|
const runnerHost = hasRunnerBlock(configPath);
|
|
1057
1057
|
const hooks = (() => {
|
|
@@ -1079,7 +1079,7 @@ async function gatherDoctorChecks() {
|
|
|
1079
1079
|
const { runnerVmCheck } = await import('./doctor-53F2PYY7.js');
|
|
1080
1080
|
checks.push(runnerVmCheck(configPath, { lima: realLima(), home: homeFromEnv(), instance: runnerVm.instance }));
|
|
1081
1081
|
} else if (hasRunnerBlock(configPath)) {
|
|
1082
|
-
const { runnerHostChecks } = await import('./doctor-
|
|
1082
|
+
const { runnerHostChecks } = await import('./doctor-TZIHEPIW.js');
|
|
1083
1083
|
const gateway = (() => {
|
|
1084
1084
|
try {
|
|
1085
1085
|
const loaded = loadRunnerConfig(configPath);
|
|
@@ -1107,7 +1107,7 @@ async function gatherDoctorChecks() {
|
|
|
1107
1107
|
const service = await (async () => {
|
|
1108
1108
|
const { existsSync: existsSync3 } = await import('fs');
|
|
1109
1109
|
if (process.platform !== "linux" || !existsSync3("/run/systemd/system")) return void 0;
|
|
1110
|
-
const { inspectRunnerService } = await import('./find-unit-
|
|
1110
|
+
const { inspectRunnerService } = await import('./find-unit-L2JIUL4D.js');
|
|
1111
1111
|
return inspectRunnerService(configPath);
|
|
1112
1112
|
})();
|
|
1113
1113
|
checks.push(...await runnerHostChecks({ configPath, hooks, gateway, repos, runner, service }));
|
|
@@ -166,13 +166,15 @@ function headlessAgents(agents = defaultAgents()) {
|
|
|
166
166
|
function headlessNames(agents = defaultAgents()) {
|
|
167
167
|
return headlessAgents(agents).map((agent) => runnerNameOf(agent.descriptor));
|
|
168
168
|
}
|
|
169
|
-
|
|
169
|
+
function queuePrompt(queue) {
|
|
170
|
+
return queue === "implement" ? "/build" : "/outerlayer-amend";
|
|
171
|
+
}
|
|
170
172
|
function agentCommands(name, agents = defaultAgents()) {
|
|
171
173
|
const found = headlessAgents(agents).find((agent) => runnerNameOf(agent.descriptor) === name);
|
|
172
|
-
return found === void 0 ? void 0 : { implement: found.headless.commandLine(
|
|
174
|
+
return found === void 0 ? void 0 : { implement: found.headless.commandLine(queuePrompt("implement"), "implement"), amend: found.headless.commandLine(queuePrompt("amend"), "amend") };
|
|
173
175
|
}
|
|
174
176
|
function defaultCommandLine(queue, agents = defaultAgents()) {
|
|
175
|
-
return jobAgent(void 0, agents)?.adapter.headless?.commandLine(
|
|
177
|
+
return jobAgent(void 0, agents)?.adapter.headless?.commandLine(queuePrompt(queue), queue);
|
|
176
178
|
}
|
|
177
179
|
function jobCommandEnv(sessionEnv, agents = defaultAgents()) {
|
|
178
180
|
return { ...jobAgent(void 0, agents)?.adapter.headless?.jobEnv, OUTERLAYER_UNATTENDED: "1", ...sessionEnv };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { resolveCredentials, postJson, getJson } from './chunk-
|
|
3
|
+
import { resolveCredentials, postJson, getJson } from './chunk-DE64NSOH.js';
|
|
4
4
|
import { detectActiveSession } from './chunk-NE2A2ZIY.js';
|
|
5
5
|
import { sanitizeTerminal } from './chunk-F3T5QJ24.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { defaultFetch } from './chunk-
|
|
8
|
-
import { logHookError } from './chunk-
|
|
7
|
+
import { defaultFetch } from './chunk-4YLF777T.js';
|
|
8
|
+
import { logHookError } from './chunk-PJ5GYGC6.js';
|
|
9
9
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
10
10
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
11
11
|
import { resolveRepoIdentity } from './chunk-WZOWXDDM.js';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { placeholderQueues, placeholderProblem } from './chunk-
|
|
4
|
-
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-
|
|
5
|
-
import { getJson, WorkCommandError } from './chunk-
|
|
6
|
-
import { isBuiltinVm, builtinKind, EGRESS_SWITCHABLE_KEYS, imageBuildOf, keepsHostBuilder } from './chunk-
|
|
7
|
-
import { realBuildDiskProbe, checkDiskFit, DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-
|
|
8
|
-
import { ensureHostKey } from './chunk-
|
|
9
|
-
import { BUILD_SLICE_MEMORY_ENV, agentCredentialVariablesSet, agentCredential, parseRunnerEnv } from './chunk-
|
|
10
|
-
import { forwardedVariables, credentialAgent, credentialForms, managedKeyName, builderDiskPinned, storeVariables, credentialEnvPath } from './chunk-
|
|
3
|
+
import { placeholderQueues, placeholderProblem } from './chunk-LIJMW36Q.js';
|
|
4
|
+
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-KJ424QKG.js';
|
|
5
|
+
import { getJson, WorkCommandError } from './chunk-DE64NSOH.js';
|
|
6
|
+
import { isBuiltinVm, builtinKind, EGRESS_SWITCHABLE_KEYS, imageBuildOf, keepsHostBuilder } from './chunk-7V4ZEB2R.js';
|
|
7
|
+
import { realBuildDiskProbe, checkDiskFit, DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-BOUW2CV6.js';
|
|
8
|
+
import { ensureHostKey } from './chunk-EKDQDOSS.js';
|
|
9
|
+
import { BUILD_SLICE_MEMORY_ENV, agentCredentialVariablesSet, agentCredential, parseRunnerEnv } from './chunk-DDOD4YOQ.js';
|
|
10
|
+
import { forwardedVariables, credentialAgent, credentialForms, managedKeyName, builderDiskPinned, storeVariables, credentialEnvPath } from './chunk-NDIV6GDC.js';
|
|
11
11
|
import { defaultAgents } from './chunk-E6ESLX5E.js';
|
|
12
12
|
import { closeSync, openSync, constants, readFileSync } from 'fs';
|
|
13
13
|
import { join, dirname } from 'path';
|
|
@@ -813,7 +813,7 @@ async function missingControlPlane(cwd, sessionId, home, env) {
|
|
|
813
813
|
cleanupEarlierCopies(dirs);
|
|
814
814
|
}
|
|
815
815
|
if (!contextPossiblyGoverned(cwd, home)) return void 0;
|
|
816
|
-
const { governanceOf } = await import('./control-plane-launch-
|
|
816
|
+
const { governanceOf } = await import('./control-plane-launch-KIJABWN4.js');
|
|
817
817
|
if (await governanceOf({ cwd, env, home }) !== "governed") return void 0;
|
|
818
818
|
recordMissingContext(dirs, sessionId, home);
|
|
819
819
|
const launcher = `${cliInvocation()} ${LEGACY.legacy.subcommand}`;
|
|
@@ -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 } from './chunk-
|
|
3
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-PYPHE6FZ.js';
|
|
4
4
|
import { readFileSync, existsSync, rmSync, mkdirSync, writeFileSync, renameSync } from 'fs';
|
|
5
5
|
import { join } from 'path';
|
|
6
6
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { escapeUnitPath, UNIT_MARKER, DEFAULT_UNIT_NAME } from './chunk-
|
|
4
|
-
import { inspectService, realInspectProbes } from './chunk-
|
|
3
|
+
import { escapeUnitPath, UNIT_MARKER, DEFAULT_UNIT_NAME } from './chunk-KJ424QKG.js';
|
|
4
|
+
import { inspectService, realInspectProbes } from './chunk-DDOD4YOQ.js';
|
|
5
5
|
import { realpathSync, readFileSync, readdirSync } from 'fs';
|
|
6
6
|
import { resolve, dirname, join } from 'path';
|
|
7
7
|
|
|
@@ -3,10 +3,10 @@ import { createRequire } from 'node:module';
|
|
|
3
3
|
import { runEmit } from './chunk-K3GCT2HL.js';
|
|
4
4
|
import { addStdioMcpEntryIfAbsent, addDocsMcpEntryIfAbsent, DOCS_MCP_SERVER_NAME } from './chunk-I5EZW66W.js';
|
|
5
5
|
import { installStarterPack } from './chunk-S7YLAN2P.js';
|
|
6
|
-
import { listWithAnd } from './chunk-
|
|
6
|
+
import { listWithAnd } from './chunk-45AYMLMT.js';
|
|
7
7
|
import { AGENTS_MD_LAYOUT, mcpFiles, declareAgentsMdLayout, linkAgentSkills, describeSkillsLink, isAgentsMdLayout, holdsTodaysLayoutSources, discoverOuterlayerPaths } from './chunk-7HRNYPL3.js';
|
|
8
8
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
9
|
-
import { resolveGitCommonDir, defaultGitRunner } from './chunk-
|
|
9
|
+
import { resolveGitCommonDir, defaultGitRunner } from './chunk-7HDI5CGG.js';
|
|
10
10
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
11
11
|
import { linkedAgentsPath } from './chunk-W72X24TZ.js';
|
|
12
12
|
import { cloneIsGoverned } from './chunk-YQR6E6OV.js';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { staleBuildRefusal, staleBuildWarning, detectCi } from './chunk-
|
|
3
|
+
import { staleBuildRefusal, staleBuildWarning, detectCi } from './chunk-4HMOBW7H.js';
|
|
4
4
|
import { launchRefusalForSession } from './chunk-WGC7UFRM.js';
|
|
5
5
|
import { detectActiveSession } from './chunk-NE2A2ZIY.js';
|
|
6
|
-
import { autoConnect } from './chunk-
|
|
6
|
+
import { autoConnect } from './chunk-WVZ6EKJ3.js';
|
|
7
7
|
import { readEffectiveArtifactSpoolState, localArtifactIds, isArtifactTombstoned, artifactBlobsDir, appendArtifactRecord, artifactsSpoolPath, findPendingArtifactRecord, sanitizeTerminal, appendArtifactTombstone } from './chunk-F3T5QJ24.js';
|
|
8
8
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
9
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
9
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-4YLF777T.js';
|
|
10
10
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
11
11
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
12
12
|
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-QJKW4MKH.js';
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { launchRefusalForSession } from './chunk-WGC7UFRM.js';
|
|
4
4
|
import { detectActiveSession } from './chunk-NE2A2ZIY.js';
|
|
5
|
-
import { autoConnect } from './chunk-
|
|
5
|
+
import { autoConnect } from './chunk-WVZ6EKJ3.js';
|
|
6
6
|
import { acquireSpoolLockAt } from './chunk-F3T5QJ24.js';
|
|
7
7
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
8
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
8
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-4YLF777T.js';
|
|
9
9
|
import { launchedItemForSession } from './chunk-4OD45RBP.js';
|
|
10
10
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
11
11
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { isVersion, compareVersions } from './chunk-TQMI335S.js';
|
|
4
|
-
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-
|
|
4
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-PYPHE6FZ.js';
|
|
5
5
|
import { readFileSync, mkdirSync, writeFileSync, renameSync } from 'fs';
|
|
6
6
|
import { join } from 'path';
|
|
7
7
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { launcherPath, pathNotes, writeLauncher, LauncherWriteError } from './chunk-
|
|
4
|
-
import { currentVersion, currentLink, versionDir, execStartLine, isInLayout, packageRootIn, switchCurrent } from './chunk-
|
|
3
|
+
import { launcherPath, pathNotes, writeLauncher, LauncherWriteError } from './chunk-DSZKDLFU.js';
|
|
4
|
+
import { currentVersion, currentLink, versionDir, execStartLine, isInLayout, packageRootIn, switchCurrent } from './chunk-W3ZKWZ6G.js';
|
|
5
5
|
import { compareVersions } from './chunk-TQMI335S.js';
|
|
6
|
-
import { runnerDir, RUNNER_DIR_MODE } from './chunk-
|
|
6
|
+
import { runnerDir, RUNNER_DIR_MODE } from './chunk-PYPHE6FZ.js';
|
|
7
7
|
import { lchownSync, lstatSync, realpathSync, readFileSync, mkdirSync, rmSync, cpSync, existsSync, readdirSync } from 'fs';
|
|
8
8
|
import { dirname, sep, join } from 'path';
|
|
9
9
|
import { spawnSync } from 'child_process';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { runnerDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-
|
|
3
|
+
import { runnerDir, RUNNER_DIR_MODE, RUNNER_FILE_MODE } from './chunk-PYPHE6FZ.js';
|
|
4
4
|
import { readlinkSync, realpathSync, mkdirSync, unlinkSync, symlinkSync, renameSync, readFileSync, writeFileSync, rmSync, existsSync, readdirSync } from 'fs';
|
|
5
5
|
import { join, basename, sep, resolve } from 'path';
|
|
6
6
|
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { launchRefusalForSession } from './chunk-WGC7UFRM.js';
|
|
4
4
|
import { detectActiveSession } from './chunk-NE2A2ZIY.js';
|
|
5
|
-
import { autoConnect } from './chunk-
|
|
5
|
+
import { autoConnect } from './chunk-WVZ6EKJ3.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-
|
|
7
|
+
import { resolveGatewayCredentials, defaultFetch, unauthorizedMessage } from './chunk-4YLF777T.js';
|
|
8
8
|
import { launchedItemForSession } from './chunk-4OD45RBP.js';
|
|
9
9
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
10
10
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { fetchFactories, selectFactory, saveFactoryConnection, autoConnectedLine } from './chunk-
|
|
4
|
-
import { resolveGatewayCredentials } from './chunk-
|
|
3
|
+
import { fetchFactories, selectFactory, saveFactoryConnection, autoConnectedLine } from './chunk-45AYMLMT.js';
|
|
4
|
+
import { resolveGatewayCredentials } from './chunk-4YLF777T.js';
|
|
5
5
|
import { readCloudConfig } from './chunk-HWVMRETT.js';
|
|
6
6
|
import { findGitDirs, readRepoConnection } from './chunk-BJ3KTMDH.js';
|
|
7
7
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { detectActiveSession } from './chunk-NE2A2ZIY.js';
|
|
4
|
-
import { autoConnect } from './chunk-
|
|
4
|
+
import { autoConnect } from './chunk-WVZ6EKJ3.js';
|
|
5
5
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
6
|
-
import { defaultFetch, unauthorizedMessage, resolveGatewayCredentials } from './chunk-
|
|
6
|
+
import { defaultFetch, unauthorizedMessage, resolveGatewayCredentials } from './chunk-4YLF777T.js';
|
|
7
7
|
import { parseWorkItemEnv } from './chunk-4OD45RBP.js';
|
|
8
8
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
9
9
|
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 { UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_DIGEST } from './chunk-
|
|
3
|
+
import { UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_DIGEST } from './chunk-NDIV6GDC.js';
|
|
4
4
|
import { existsSync, readdirSync, readFileSync, lstatSync, realpathSync, writeFileSync } from 'fs';
|
|
5
5
|
import { join, resolve, relative, dirname, sep, basename } from 'path';
|
|
6
6
|
import { createRequire as createRequire$1 } from 'module';
|