@outerlayer/cli 0.36.0-next.20261103103134 → 0.36.0-next.20261103181718
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-DZZZH3SE.js → agent-setup-WV4Y2HGG.js} +18 -18
- package/dist/{agent-subcommand-WRHH6SRD.js → agent-subcommand-RQCLWP3A.js} +3 -3
- package/dist/{bridge-GZSZQGLI.js → bridge-NFSJ4IBQ.js} +6 -6
- package/dist/{build-UKZ5RPRR.js → build-RGO3EWJD.js} +12 -12
- package/dist/{build-disk-3HOXULLP.js → build-disk-NYYBJGBH.js} +10 -10
- package/dist/build-info.json +1 -1
- package/dist/{builder-QEK4GIRY.js → builder-HT3CV5ZZ.js} +9 -9
- package/dist/caller-D4ZZWA6I.js +23 -0
- package/dist/{check-D6NMQ6LP.js → check-4T4FDFLZ.js} +56 -54
- package/dist/{chunk-LDKF6B2R.js → chunk-22JLORO6.js} +3 -3
- package/dist/{chunk-K26KMWU4.js → chunk-2P532NZM.js} +7 -7
- package/dist/{chunk-NMMGRG5V.js → chunk-2VWYPY62.js} +4 -4
- package/dist/{chunk-B5VKRKLJ.js → chunk-3JYR5R57.js} +1 -1
- package/dist/{chunk-PDRWRFB2.js → chunk-4S564XTG.js} +3 -3
- package/dist/{chunk-SYKEQT63.js → chunk-5HMIMWRD.js} +17 -5
- package/dist/{chunk-L3SHPR2M.js → chunk-63KUYXOH.js} +1 -1
- package/dist/{chunk-VST3BWL4.js → chunk-63T2OTPO.js} +11 -10
- package/dist/{chunk-42X6CTBI.js → chunk-6BGE2CZB.js} +3 -3
- package/dist/{chunk-JMM3L5RG.js → chunk-7A2OPME2.js} +4 -4
- package/dist/{chunk-QVOU2QUR.js → chunk-7HRNYPL3.js} +3 -3
- package/dist/{chunk-2JWLK2TU.js → chunk-7TPLWWFN.js} +1 -1
- package/dist/{chunk-P4Q6M6PI.js → chunk-7WZNTLNB.js} +1 -1
- package/dist/{chunk-LV4IDDD3.js → chunk-AWPGPPXP.js} +5 -5
- package/dist/{chunk-DWYQKLCL.js → chunk-AWY7ORQ2.js} +1 -1
- package/dist/{chunk-3XEYA3QF.js → chunk-BQUI64BU.js} +1 -1
- package/dist/{chunk-CDTBXABP.js → chunk-C6LAXUC7.js} +2 -2
- package/dist/{chunk-IEDO26G4.js → chunk-CFHM562L.js} +10 -3
- package/dist/{chunk-MPVTZLOM.js → chunk-CLFP2ZTG.js} +3 -3
- package/dist/{chunk-ZE2JJQPC.js → chunk-CMZTCXCA.js} +1 -1
- package/dist/{chunk-NH4EZRBM.js → chunk-CTBQN5KQ.js} +6 -6
- package/dist/{chunk-KHJPRTOW.js → chunk-DIL7U77P.js} +1 -1
- package/dist/{chunk-54ERDQ3O.js → chunk-E6ESLX5E.js} +32 -8
- package/dist/{chunk-R63T46P7.js → chunk-EZI2BLP6.js} +3 -3
- package/dist/{chunk-6J3QWXTA.js → chunk-F2UM3NDF.js} +4 -4
- package/dist/{chunk-6UI4ELNA.js → chunk-GTJLKBN7.js} +7 -7
- package/dist/{chunk-HO4DPX5N.js → chunk-H4H3KK25.js} +1 -1
- package/dist/{chunk-YEZGNCSK.js → chunk-H6T73OLF.js} +1 -1
- package/dist/{chunk-7UYXSF62.js → chunk-HBYFB3LK.js} +6 -7
- package/dist/{chunk-JD5EVW6Y.js → chunk-I5EZW66W.js} +4 -4
- package/dist/{chunk-EUWTGCK5.js → chunk-IKAGRGLY.js} +1 -1
- package/dist/{chunk-NQYTUVZR.js → chunk-IM4VUDKW.js} +1 -1
- package/dist/{chunk-BZQ3S24G.js → chunk-INT54Z2T.js} +1 -1
- package/dist/{chunk-GWJUEJR4.js → chunk-IRJ6EGQT.js} +7 -7
- package/dist/{chunk-WAGHPZP2.js → chunk-J3SICPA2.js} +1 -1
- package/dist/{chunk-GPBTTHK3.js → chunk-JJ63MLE5.js} +1 -1
- package/dist/{chunk-HQBKKYYQ.js → chunk-K3GCT2HL.js} +4 -4
- package/dist/{chunk-XW2KXLZB.js → chunk-K52TGQLV.js} +18 -18
- package/dist/{chunk-52Z7AOZ2.js → chunk-KYDKOYZD.js} +44 -27
- package/dist/{chunk-T5I2H7TJ.js → chunk-NE2A2ZIY.js} +1 -1
- package/dist/{chunk-HR4PJLOO.js → chunk-NFYXRAEV.js} +1 -1
- package/dist/{chunk-4MLH5MDB.js → chunk-OM3XGJBY.js} +5 -5
- package/dist/{chunk-U7MLC45I.js → chunk-ORBQ4QR7.js} +5 -5
- package/dist/{chunk-VMPVQE4D.js → chunk-PL2AGLJF.js} +2 -2
- package/dist/{chunk-J4NJWTNO.js → chunk-POTMAJPJ.js} +5 -5
- package/dist/{chunk-LXXP5HRJ.js → chunk-PTHBJDWK.js} +3 -3
- package/dist/{chunk-OGG5ELXF.js → chunk-QLZXFKGO.js} +4 -4
- package/dist/{chunk-FLQL6ZIG.js → chunk-QN4ABLRK.js} +1 -1
- package/dist/{chunk-OPEZVPF7.js → chunk-R4LXONKC.js} +3 -3
- package/dist/{chunk-EHS3HEB6.js → chunk-RGSQHTO4.js} +3 -3
- package/dist/{chunk-KVO4MJWS.js → chunk-RY5QFTXJ.js} +6 -6
- package/dist/{chunk-U6EACUUG.js → chunk-RYSGOWHG.js} +16 -3
- package/dist/{chunk-54PQNYA7.js → chunk-S7YLAN2P.js} +2 -2
- package/dist/{chunk-PYK6GCCU.js → chunk-SIVZITLG.js} +5 -5
- package/dist/{chunk-BEJJJZXF.js → chunk-SR6SXYM4.js} +3 -3
- package/dist/{chunk-4MN4BBKZ.js → chunk-SWUPSLNV.js} +7 -7
- package/dist/{chunk-2SBNZ4EC.js → chunk-T3MVV6LG.js} +1 -1
- package/dist/{chunk-IEVARJ6G.js → chunk-UD6I7QJJ.js} +2 -2
- package/dist/{chunk-B5UBTIIP.js → chunk-UT4SX57J.js} +4 -4
- package/dist/{chunk-LISVY7JZ.js → chunk-UVKPDGLM.js} +7 -7
- package/dist/{chunk-YCBVYTFI.js → chunk-V227E7UX.js} +1 -1
- package/dist/{chunk-DEZSNJSE.js → chunk-W72X24TZ.js} +1 -1
- package/dist/{chunk-2W5C47AE.js → chunk-WGLYAMVK.js} +1 -1
- package/dist/{chunk-K373UCEV.js → chunk-WSZZKMXF.js} +1 -1
- package/dist/{chunk-TWGSXBZM.js → chunk-WTKCAALP.js} +3 -3
- package/dist/{chunk-NOLS2G2W.js → chunk-WWTZLRPH.js} +8 -0
- package/dist/{chunk-ZZ4WIQRF.js → chunk-WZ5YJJMP.js} +12 -9
- package/dist/{chunk-UZSMDU4U.js → chunk-X2B7ILTH.js} +2 -2
- package/dist/{chunk-S7YU25AF.js → chunk-XKM7KCUJ.js} +31 -31
- package/dist/{chunk-XAMTNTOH.js → chunk-YVRJDMDL.js} +9 -9
- package/dist/{chunk-NDCN3R5C.js → chunk-ZKJGZQ63.js} +3 -3
- package/dist/{claude-launcher-CPSCSL6U.js → claude-launcher-KQHWKYRL.js} +6 -6
- package/dist/{cli-TZW5XJRE.js → cli-BM7CAJFW.js} +159 -143
- package/dist/{command-5VOKN4HI.js → command-ZIVI5DQK.js} +48 -48
- package/dist/{config-23EBIGW4.js → config-W4OY2JNP.js} +11 -11
- package/dist/{connect-cmd-GEBIOBQQ.js → connect-cmd-2O2GGNAY.js} +10 -10
- package/dist/{container-start-NJGGT4E3.js → container-start-CRUUG57V.js} +46 -46
- package/dist/{context-cleanup-I7FLIV5A.js → context-cleanup-2SPOGEZR.js} +3 -3
- package/dist/{context-show-cmd-CSPMSRHX.js → context-show-cmd-LAK6CYZT.js} +11 -11
- package/dist/{control-plane-launch-KC7NUNYQ.js → control-plane-launch-N7FFBGPD.js} +13 -13
- package/dist/{demo-record-cmd-ZW6U2LAV.js → demo-record-cmd-335YZIXU.js} +7 -7
- package/dist/{demo-voice-cmd-IDW3QX3E.js → demo-voice-cmd-LVODULO2.js} +18 -18
- package/dist/{docker-2VHMWLNK.js → docker-WDMFRVOX.js} +9 -9
- package/dist/{doctor-ZAB6SDWF.js → doctor-3HKOYZTJ.js} +48 -48
- package/dist/{emit-artifact-cmd-2ZHPNLPG.js → emit-artifact-cmd-MLIPSYXP.js} +17 -17
- package/dist/{emit-cmd-UN7HGZC5.js → emit-cmd-S64A2LJ2.js} +6 -6
- package/dist/{emit-criteria-cmd-TUXGD7CW.js → emit-criteria-cmd-JYG5LJEQ.js} +13 -13
- package/dist/{emit-demo-cmd-4YMYB556.js → emit-demo-cmd-LKB4OHJD.js} +18 -18
- package/dist/{emit-finding-cmd-O2NN22XF.js → emit-finding-cmd-YNLZSJEC.js} +13 -13
- package/dist/{emit-result-cmd-VRITADX2.js → emit-result-cmd-EYEFXWVS.js} +16 -16
- package/dist/{emit-step-cmd-LGNBZTWJ.js → emit-step-cmd-YF5CGZ2H.js} +13 -13
- package/dist/{exec-client-NXTXAVHI.js → exec-client-T7XWSBJ3.js} +7 -7
- package/dist/find-unit-X5LYKUQX.js +24 -0
- package/dist/{findings-cmd-RJD7KTSW.js → findings-cmd-KBV2GQXJ.js} +13 -13
- package/dist/{fleet-readiness-RIO2SWC7.js → fleet-readiness-JG3YAKT7.js} +12 -12
- package/dist/{governing-source-CZSYE7QE.js → governing-source-VCD5NPMW.js} +18 -18
- package/dist/{guest-init-FLSL5RI7.js → guest-init-SG5RDE4K.js} +8 -8
- package/dist/{hook-fast-HYRZAY5K.js → hook-fast-QLCXXFMZ.js} +2 -2
- package/dist/{hook-install-CSHKOLWT.js → hook-install-TZZNJB4P.js} +3 -3
- package/dist/{hook-wrap-fast-ITUBSHEF.js → hook-wrap-fast-HNY3OGLN.js} +2 -2
- package/dist/host-checks-LQTHW3DN.js +79 -0
- package/dist/{host-key-CPAEQSNU.js → host-key-UEHE5JSK.js} +7 -7
- package/dist/{image-tag-MAMFM4SO.js → image-tag-77FWBIYC.js} +7 -7
- package/dist/index.js +6 -6
- package/dist/{init-G7D7ABKV.js → init-O33TLGUI.js} +44 -44
- package/dist/init-UFQQUI4Z.js +79 -0
- package/dist/{init-cmd-5GHIMFSS.js → init-cmd-GCHZK7YQ.js} +26 -26
- package/dist/{init-update-TQH2Q7IZ.js → init-update-ZSTDH75N.js} +21 -21
- package/dist/{install-cmd-PVQ5M5NM.js → install-cmd-BRURSBEH.js} +9 -9
- package/dist/{layout-2DF7ON2F.js → layout-YSNLYG6U.js} +3 -3
- package/dist/{logs-BM644OOJ.js → logs-TRW3A55Z.js} +6 -6
- package/dist/loop-QHQTM25C.js +90 -0
- package/dist/machine-VFZAHR6N.js +79 -0
- package/dist/{machine-skills-O7XAZYLN.js → machine-skills-WOAIOXAQ.js} +3 -3
- package/dist/{mcp-install-cmd-METCXTTR.js → mcp-install-cmd-NFMA6PSL.js} +3 -3
- package/dist/{mcp-serve-cmd-CTKBLSM6.js → mcp-serve-cmd-JVLROUUU.js} +8 -8
- package/dist/{paths-VIBBLJ2W.js → paths-AOUMCMP3.js} +6 -6
- package/dist/pending-JOEXUNDC.js +18 -0
- package/dist/{pidfile-PAX5XHQJ.js → pidfile-5LPBPEGE.js} +7 -7
- package/dist/{record-QPXOUL6F.js → record-4RLFKQMG.js} +7 -7
- package/dist/{relay-KASDMV3R.js → relay-IYJ7JJLG.js} +4 -4
- package/dist/{relay-protocol-7HSCZC5H.js → relay-protocol-MPZHNZYJ.js} +4 -4
- package/dist/{runner-agents-WUMCXVS2.js → runner-agents-MWBL6LA7.js} +3 -3
- package/dist/{runner-env-R2C5LYCX.js → runner-env-YTX4BAXF.js} +13 -13
- package/dist/{runner-identity-UDPLWT7I.js → runner-identity-4LMITADJ.js} +9 -9
- package/dist/{runner-key-JGIDJTHH.js → runner-key-QTQRIW4N.js} +44 -44
- package/dist/{session-sender-4QKSVX5Z.js → session-sender-YAM3GNFD.js} +17 -17
- package/dist/{spec-cmd-QAOTQPI6.js → spec-cmd-VE4XIZ6Z.js} +14 -14
- package/dist/{starter-pack-LAPDUG6E.js → starter-pack-NAR72DKB.js} +4 -4
- package/dist/{state-OTWJW4O7.js → state-GBESQ6UB.js} +7 -7
- package/dist/{status-OKZHXEYB.js → status-SNQVVDRU.js} +44 -44
- package/dist/{statusline-fast-7V7U4SI4.js → statusline-fast-5G2CTPSX.js} +2 -2
- package/dist/{sync-cmd-FLNYVXAE.js → sync-cmd-BXV3EVTU.js} +16 -16
- package/dist/update-steps-ZR4RQB7J.js +80 -0
- package/dist/{watch-4V7FZI5R.js → watch-FKHHEV3X.js} +16 -16
- package/dist/{work-claim-cmd-E2D4YHCS.js → work-claim-cmd-IVG4A3IZ.js} +19 -19
- package/dist/{work-cmd-VD362634.js → work-cmd-HSMQMQDL.js} +13 -13
- package/dist/{work-comment-cmd-EUI5IOQI.js → work-comment-cmd-OHGGZASQ.js} +15 -15
- package/dist/{work-demo-cmd-MGL3U6ZF.js → work-demo-cmd-TMMHK72J.js} +13 -13
- package/dist/{work-logs-cmd-QAJG75DG.js → work-logs-cmd-GQCUPUKG.js} +13 -13
- package/dist/{work-open-pr-cmd-SXVSMG44.js → work-open-pr-cmd-XVXOXNIL.js} +14 -14
- package/dist/{work-pr-cmd-WUIMC7XB.js → work-pr-cmd-E75ZUOAD.js} +13 -13
- package/dist/{work-proofs-cmd-AAHTMSCF.js → work-proofs-cmd-LDMQ37OH.js} +15 -15
- package/dist/{work-proofs-record-LLUEXW7I.js → work-proofs-record-VJG27HMI.js} +22 -22
- package/dist/{work-stop-cmd-RZLGWQJ5.js → work-stop-cmd-JSFV7AL2.js} +13 -13
- package/package.json +1 -1
- package/skill-pack/maintained/outerlayer-amend/SKILL.md +1 -1
- package/skill-pack/maintained/outerlayer-build/SKILL.md +2 -1
- package/dist/caller-WSMJJSFL.js +0 -23
- package/dist/find-unit-RYYTX2O5.js +0 -24
- package/dist/host-checks-KLMATCMD.js +0 -79
- package/dist/init-BB2LERCZ.js +0 -79
- package/dist/loop-7MAMONQJ.js +0 -90
- package/dist/machine-HDHSI7WF.js +0 -79
- package/dist/pending-RXJKH4AC.js +0 -18
- package/dist/update-steps-W56ITCKQ.js +0 -80
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { normalizePath, CONTEXT_PIN_FILENAME,
|
|
3
|
+
import { normalizePath, CONTEXT_PIN_FILENAME, laptopAgents, defaultAgents, AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE, contextAgents, legacyAgent, legacySubcommand } from './chunk-E6ESLX5E.js';
|
|
4
4
|
import { LEGACY_AGENT } from './chunk-QJKW4MKH.js';
|
|
5
5
|
import { existsSync, readdirSync, readFileSync, mkdirSync, writeFileSync, lstatSync, readlinkSync, symlinkSync, rmdirSync } from 'fs';
|
|
6
6
|
import { relative, sep, join, posix } from 'path';
|
|
@@ -45,10 +45,10 @@ function linkTargetFor(folder) {
|
|
|
45
45
|
return posix.relative(posix.dirname(folder), AGENTS_SKILLS_BASE);
|
|
46
46
|
}
|
|
47
47
|
function mcpFiles(agents = defaultAgents()) {
|
|
48
|
-
return [...new Set(
|
|
48
|
+
return [...new Set(laptopAgents(agents).map((agent) => agent.context.mcp.file))];
|
|
49
49
|
}
|
|
50
50
|
function skillLinkFolders(agents = defaultAgents()) {
|
|
51
|
-
return
|
|
51
|
+
return [...new Set(laptopAgents(agents).flatMap((agent) => agent.descriptor.context.repoSkillFolders))];
|
|
52
52
|
}
|
|
53
53
|
var CONFIG_PATH = ".outerlayer/config.json";
|
|
54
54
|
function readConfigObject(repoRoot) {
|
|
@@ -3,7 +3,7 @@ import { createRequire } from 'node:module';
|
|
|
3
3
|
import { recordReportedCost } from './chunk-BKO6JEZI.js';
|
|
4
4
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
5
5
|
import { decodeWrappedCommand } from './chunk-ZHQC43NH.js';
|
|
6
|
-
import { hookCodec } from './chunk-
|
|
6
|
+
import { hookCodec } from './chunk-WWTZLRPH.js';
|
|
7
7
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
8
8
|
import { readFileSync } from 'fs';
|
|
9
9
|
import { spawn } 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-63KUYXOH.js';
|
|
4
4
|
import { readlinkSync, realpathSync, mkdirSync, unlinkSync, symlinkSync, renameSync, readFileSync, writeFileSync, rmSync, existsSync, readdirSync } from 'fs';
|
|
5
5
|
import { join, basename, sep, resolve } from 'path';
|
|
6
6
|
|
|
@@ -1,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 { withoutCredentialLines, parseRunnerEnv } from './chunk-
|
|
6
|
-
import { headlessNames, runnerAgents, credentialAgent, credentialForms, orList, credentialShapes, credentialEnvPath, forwardedVariables } from './chunk-
|
|
7
|
-
import { defaultAgents } from './chunk-
|
|
3
|
+
import { DEFAULT_UNIT_NAME } from './chunk-WZ5YJJMP.js';
|
|
4
|
+
import { RUNNER_FILE_MODE } from './chunk-63KUYXOH.js';
|
|
5
|
+
import { withoutCredentialLines, parseRunnerEnv } from './chunk-HBYFB3LK.js';
|
|
6
|
+
import { headlessNames, runnerAgents, credentialAgent, credentialForms, orList, credentialShapes, credentialEnvPath, forwardedVariables } from './chunk-CFHM562L.js';
|
|
7
|
+
import { defaultAgents } from './chunk-E6ESLX5E.js';
|
|
8
8
|
import { existsSync, readFileSync, writeFileSync, renameSync, rmSync } from 'fs';
|
|
9
9
|
import { join, dirname } from 'path';
|
|
10
10
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { decodeWrappedCommand } from './chunk-ZHQC43NH.js';
|
|
4
|
-
import { hookCodec } from './chunk-
|
|
4
|
+
import { hookCodec } from './chunk-WWTZLRPH.js';
|
|
5
5
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
6
6
|
import { readFileSync, mkdirSync, appendFileSync, writeFileSync } from 'fs';
|
|
7
7
|
import { spawn } from 'child_process';
|
|
@@ -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-OV4XTV5M.js';
|
|
4
|
-
import { legacyAgent, agentById, defaultAgents, legacySubcommand } from './chunk-
|
|
4
|
+
import { legacyAgent, agentById, defaultAgents, legacySubcommand } from './chunk-E6ESLX5E.js';
|
|
5
5
|
import { LEGACY_AGENT } from './chunk-QJKW4MKH.js';
|
|
6
6
|
import { MAINTAINED_SKILLS } from './chunk-CDDED64E.js';
|
|
7
7
|
import { lstatSync, readFileSync } from 'fs';
|
|
@@ -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-WZ5YJJMP.js';
|
|
4
|
+
import { inspectService, realInspectProbes } from './chunk-HBYFB3LK.js';
|
|
5
5
|
import { realpathSync, readFileSync, readdirSync } from 'fs';
|
|
6
6
|
import { resolve, dirname, join } from 'path';
|
|
7
7
|
|
|
@@ -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-E6ESLX5E.js';
|
|
4
4
|
import { LEGACY_AGENT, PROVIDERS } from './chunk-QJKW4MKH.js';
|
|
5
5
|
import { join, dirname } from 'path';
|
|
6
6
|
|
|
@@ -166,9 +166,16 @@ function headlessAgents(agents = defaultAgents()) {
|
|
|
166
166
|
function headlessNames(agents = defaultAgents()) {
|
|
167
167
|
return headlessAgents(agents).map((agent) => runnerNameOf(agent.descriptor));
|
|
168
168
|
}
|
|
169
|
+
var QUEUE_PROMPTS = { implement: "/build", amend: "/outerlayer-amend" };
|
|
169
170
|
function agentCommands(name, agents = defaultAgents()) {
|
|
170
171
|
const found = headlessAgents(agents).find((agent) => runnerNameOf(agent.descriptor) === name);
|
|
171
|
-
return found === void 0 ? void 0 : { implement: found.headless.commandLine("
|
|
172
|
+
return found === void 0 ? void 0 : { implement: found.headless.commandLine(QUEUE_PROMPTS.implement, "implement"), amend: found.headless.commandLine(QUEUE_PROMPTS.amend, "amend") };
|
|
173
|
+
}
|
|
174
|
+
function defaultCommandLine(queue, agents = defaultAgents()) {
|
|
175
|
+
return jobAgent(void 0, agents)?.adapter.headless?.commandLine(QUEUE_PROMPTS[queue], queue);
|
|
176
|
+
}
|
|
177
|
+
function jobCommandEnv(sessionEnv, agents = defaultAgents()) {
|
|
178
|
+
return { ...jobAgent(void 0, agents)?.adapter.headless?.jobEnv, OUTERLAYER_UNATTENDED: "1", ...sessionEnv };
|
|
172
179
|
}
|
|
173
180
|
function runnerNameOf(descriptor) {
|
|
174
181
|
return descriptor.legacy?.runnerName ?? descriptor.id;
|
|
@@ -240,4 +247,4 @@ function agentVersionOf(toolsJson, agents = defaultAgents()) {
|
|
|
240
247
|
return buildAgentPin(agents);
|
|
241
248
|
}
|
|
242
249
|
|
|
243
|
-
export { AGENT_PINS, BUILDER_DISK_BASE_URL, BUILDER_DISK_SHA256, BUILDER_DISK_VERSION, BUILDKIT_IMAGE, DEFAULT_BASE_IMAGE, FFMPEG_BUILD_TAG, FFMPEG_STATIC, FIRECRACKER_BINARY_SHA256, FIRECRACKER_SHA256, FIRECRACKER_VERSION, GH_SHA256, GH_VERSION, GUEST_ASSETS_BASE_URL, GUEST_ASSETS_VERSION, GUEST_HELPER_SHA256, GUEST_KERNEL_SHA256, HEADLESS_SHELL, HEADLESS_SHELL_BASE_URL, HEADLESS_SHELL_REVISION, HOST_HELPER_ASSETS_VERSION, HOST_HELPER_BASE_URL, HOST_HELPER_SHA256, HOST_HELPER_SLICE_SINCE, JAILER_BINARY_SHA256, JOB_AGENT_ID, MANAGED_KIND, MEDIA_PINS, MICROVM_ARCHES, NETWORK_HELPER_SHA256, NODE_IMAGE, PLAYWRIGHT_FFMPEG, PLAYWRIGHT_FFMPEG_BASE_URL, PLAYWRIGHT_FFMPEG_REVISION, PLAYWRIGHT_VERSION, TINI_SHA256, TINI_VERSION, UNIVERSAL_IMAGE, UNIVERSAL_IMAGE_DIGEST, UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_SOURCE, VOICE_PACK_FILES, VOICE_PACK_VERSION, agentCommands, agentVersionOf, buildAgent, buildAgentPin, builderDiskPinned, credentialAgent, credentialEnvPath, credentialForms, credentialHandOffKey, credentialNames, credentialShapes, firecrackerArch, forwardedVariables, guestAssetsPinned, headlessNames, hostHelperPinned, hostHelperSupportsSlice, jobAgent, managedKeyName, networkHelperPinned, orList, providersOf, runnerAgentNamed, runnerAgents, storeVariables, strippedVariables, universalImagePinned };
|
|
250
|
+
export { AGENT_PINS, BUILDER_DISK_BASE_URL, BUILDER_DISK_SHA256, BUILDER_DISK_VERSION, BUILDKIT_IMAGE, DEFAULT_BASE_IMAGE, FFMPEG_BUILD_TAG, FFMPEG_STATIC, FIRECRACKER_BINARY_SHA256, FIRECRACKER_SHA256, FIRECRACKER_VERSION, GH_SHA256, GH_VERSION, GUEST_ASSETS_BASE_URL, GUEST_ASSETS_VERSION, GUEST_HELPER_SHA256, GUEST_KERNEL_SHA256, HEADLESS_SHELL, HEADLESS_SHELL_BASE_URL, HEADLESS_SHELL_REVISION, HOST_HELPER_ASSETS_VERSION, HOST_HELPER_BASE_URL, HOST_HELPER_SHA256, HOST_HELPER_SLICE_SINCE, JAILER_BINARY_SHA256, JOB_AGENT_ID, MANAGED_KIND, MEDIA_PINS, MICROVM_ARCHES, NETWORK_HELPER_SHA256, NODE_IMAGE, PLAYWRIGHT_FFMPEG, PLAYWRIGHT_FFMPEG_BASE_URL, PLAYWRIGHT_FFMPEG_REVISION, PLAYWRIGHT_VERSION, TINI_SHA256, TINI_VERSION, UNIVERSAL_IMAGE, UNIVERSAL_IMAGE_DIGEST, UNIVERSAL_IMAGE_REPOSITORY, UNIVERSAL_IMAGE_SOURCE, VOICE_PACK_FILES, VOICE_PACK_VERSION, agentCommands, agentVersionOf, buildAgent, buildAgentPin, builderDiskPinned, credentialAgent, credentialEnvPath, credentialForms, credentialHandOffKey, credentialNames, credentialShapes, defaultCommandLine, firecrackerArch, forwardedVariables, guestAssetsPinned, headlessNames, hostHelperPinned, hostHelperSupportsSlice, jobAgent, jobCommandEnv, managedKeyName, networkHelperPinned, orList, providersOf, runnerAgentNamed, runnerAgents, storeVariables, strippedVariables, universalImagePinned };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-
|
|
4
|
-
import { GATEWAY_SOCKET, GATEWAY_PORT, providerDestinations } from './chunk-
|
|
5
|
-
import { defaultAgents } from './chunk-
|
|
3
|
+
import { RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-22JLORO6.js';
|
|
4
|
+
import { GATEWAY_SOCKET, GATEWAY_PORT, providerDestinations } from './chunk-HBYFB3LK.js';
|
|
5
|
+
import { defaultAgents } from './chunk-E6ESLX5E.js';
|
|
6
6
|
import { PROVIDERS } from './chunk-QJKW4MKH.js';
|
|
7
7
|
import { symlinkSync, unlinkSync } from 'fs';
|
|
8
8
|
import { join } from 'path';
|
|
@@ -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-7WZNTLNB.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,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { criteriaOf, loadCitationFinder, hostItemsOf, criterionInputs, NO_CITING_TEST_REASON, NO_TEST_FILES_REASON, NO_VERDICT_REASON, isFoundInReason, uncitedIds, planCriteria, pickSearchable, IdScan, testFileMatcher, foundInReason, MAX_TEST_FILE_BYTES, MAX_TEST_FILES, groupBySize } from './chunk-
|
|
4
|
-
import { WorkCommandError, resolveCredentials, getJson } from './chunk-
|
|
3
|
+
import { criteriaOf, loadCitationFinder, hostItemsOf, criterionInputs, NO_CITING_TEST_REASON, NO_TEST_FILES_REASON, NO_VERDICT_REASON, isFoundInReason, uncitedIds, planCriteria, pickSearchable, IdScan, testFileMatcher, foundInReason, MAX_TEST_FILE_BYTES, MAX_TEST_FILES, groupBySize } from './chunk-JJ63MLE5.js';
|
|
4
|
+
import { WorkCommandError, resolveCredentials, getJson } from './chunk-RY5QFTXJ.js';
|
|
5
5
|
import { sanitizeTerminal } from './chunk-F3T5QJ24.js';
|
|
6
6
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
7
|
-
import { defaultFetch } from './chunk-
|
|
7
|
+
import { defaultFetch } from './chunk-NFYXRAEV.js';
|
|
8
8
|
import { parseWorkItemEnv } from './chunk-4OD45RBP.js';
|
|
9
9
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
10
10
|
import { readDeliveryRecord } from './chunk-YQR6E6OV.js';
|
|
@@ -217,14 +217,14 @@ function governingDir(cwd) {
|
|
|
217
217
|
async function testProofMode(cwd) {
|
|
218
218
|
const dir = governingDir(cwd);
|
|
219
219
|
if (dir === void 0) return "any";
|
|
220
|
-
const { testProofIn } = await import('./host-checks-
|
|
220
|
+
const { testProofIn } = await import('./host-checks-LQTHW3DN.js');
|
|
221
221
|
return testProofIn(dir);
|
|
222
222
|
}
|
|
223
223
|
async function judgeCheckName(cwd) {
|
|
224
224
|
const dir = governingDir(cwd);
|
|
225
225
|
if (dir === void 0) return {};
|
|
226
226
|
if (!existsSync(dir)) return { note: `the governed context at ${dir} is not readable` };
|
|
227
|
-
const { checksIn, isJudgeCheck } = await import('./host-checks-
|
|
227
|
+
const { checksIn, isJudgeCheck } = await import('./host-checks-LQTHW3DN.js');
|
|
228
228
|
const quiet = { line: () => void 0, error: () => void 0 };
|
|
229
229
|
const check = checksIn(dir, quiet, "").checks.find((c) => isJudgeCheck(c) && c.judge.subjects === "criteria");
|
|
230
230
|
return check === void 0 ? {} : { name: check.name };
|
|
@@ -369,7 +369,7 @@ async function runWorkProofs(opts) {
|
|
|
369
369
|
async function runWorkProofsCommand(opts) {
|
|
370
370
|
try {
|
|
371
371
|
if (opts.record) {
|
|
372
|
-
const { runWorkProofsRecord } = await import('./work-proofs-record-
|
|
372
|
+
const { runWorkProofsRecord } = await import('./work-proofs-record-VJG27HMI.js');
|
|
373
373
|
const result2 = await runWorkProofsRecord(opts);
|
|
374
374
|
process.exitCode = result2.exitCode;
|
|
375
375
|
return;
|
|
@@ -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-63KUYXOH.js';
|
|
4
4
|
import { generateKeyPairSync, createPrivateKey, createPublicKey, sign } from 'crypto';
|
|
5
5
|
import { existsSync, mkdirSync, writeFileSync, readFileSync } from 'fs';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { CLAUDE_CODE_HOOKS } from './chunk-
|
|
3
|
+
import { CLAUDE_CODE_HOOKS } from './chunk-WWTZLRPH.js';
|
|
4
4
|
import { CLAUDE_CODE, NATIVE_AGENTS, LEGACY_AGENT, homeRelative } from './chunk-QJKW4MKH.js';
|
|
5
5
|
import { MAINTAINED_SKILLS } from './chunk-CDDED64E.js';
|
|
6
6
|
import { resolvePackageVersion } from './chunk-RA3O54FC.js';
|
|
@@ -9,7 +9,7 @@ import { forkFor, RAW_MIRROR_SEGMENTS, WarningCollector, WARNING_CODES, isNewerT
|
|
|
9
9
|
import { RESERVED_EMIT_NAMES, EVENT_TYPES, isHumanUserTurn, INPUT_BAND_BOUNDARIES, parseAgentSession, SCHEMA_VERSION, ARTIFACT_KINDS, ArtifactCriterionIdSchema, SPEED_MAX_LENGTH } from './chunk-WUKLQWGY.js';
|
|
10
10
|
import { __commonJS, __require, __toESM } from './chunk-Z5GEFMRW.js';
|
|
11
11
|
import { existsSync, readFileSync, mkdirSync, writeFileSync, readdirSync, rmSync, renameSync, realpathSync, readlinkSync, symlinkSync, copyFileSync, statSync, accessSync, constants, lstatSync } from 'fs';
|
|
12
|
-
import { join as join$1, dirname, sep, basename, relative } from 'path';
|
|
12
|
+
import { join as join$1, dirname, sep, basename, relative, delimiter } from 'path';
|
|
13
13
|
import { fileURLToPath } from 'url';
|
|
14
14
|
import { spawnSync } from 'child_process';
|
|
15
15
|
import { createHash } from 'crypto';
|
|
@@ -10460,9 +10460,21 @@ function readJudgeOutput(stdout) {
|
|
|
10460
10460
|
return void 0;
|
|
10461
10461
|
}
|
|
10462
10462
|
}
|
|
10463
|
+
var QUEUE_FLAGS = {
|
|
10464
|
+
implement: "--model opus --effort medium",
|
|
10465
|
+
amend: "--model sonnet --effort medium"
|
|
10466
|
+
};
|
|
10467
|
+
var JOB_ENV = {
|
|
10468
|
+
BASH_DEFAULT_TIMEOUT_MS: "1500000",
|
|
10469
|
+
BASH_MAX_TIMEOUT_MS: "1500000",
|
|
10470
|
+
CLAUDE_CODE_PRINT_BG_WAIT_CEILING_MS: "0",
|
|
10471
|
+
CLAUDE_CODE_STOP_HOOK_BLOCK_CAP: "50"
|
|
10472
|
+
};
|
|
10463
10473
|
function createClaudeCodeHeadless() {
|
|
10464
10474
|
return {
|
|
10465
|
-
commandLine: (prompt) => `${CLAUDE_CODE.program} -p "${prompt}" --permission-mode bypassPermissions`,
|
|
10475
|
+
commandLine: (prompt, queue) => `${CLAUDE_CODE.program} -p "${prompt}" --permission-mode bypassPermissions${queue === void 0 ? "" : ` ${QUEUE_FLAGS[queue]}`}`,
|
|
10476
|
+
jobEnv: JOB_ENV,
|
|
10477
|
+
modelFlag: "--model",
|
|
10466
10478
|
promptFlags: ["-p", "--print"],
|
|
10467
10479
|
permissionMode: { flag: "--permission-mode", accepted: PERMISSION_MODES },
|
|
10468
10480
|
judge,
|
|
@@ -10521,9 +10533,9 @@ function isSkipped(io, candidate) {
|
|
|
10521
10533
|
return true;
|
|
10522
10534
|
}
|
|
10523
10535
|
}
|
|
10524
|
-
function findProgram(io, path,
|
|
10536
|
+
function findProgram(io, path, delimiter2) {
|
|
10525
10537
|
const list = path ?? "";
|
|
10526
|
-
for (const entry of list.split(
|
|
10538
|
+
for (const entry of list.split(delimiter2)) {
|
|
10527
10539
|
if (entry === "") continue;
|
|
10528
10540
|
const candidate = joinPath3(entry, CLAUDE_CODE.program);
|
|
10529
10541
|
if (!io.fs.executable(candidate)) continue;
|
|
@@ -10547,7 +10559,7 @@ function interactive(input) {
|
|
|
10547
10559
|
}
|
|
10548
10560
|
function createLaunch(io) {
|
|
10549
10561
|
return {
|
|
10550
|
-
findProgram: (path,
|
|
10562
|
+
findProgram: (path, delimiter2 = ":") => findProgram(io, path, delimiter2),
|
|
10551
10563
|
version: (program, env) => io.runSync(program, ["--version"], { env, timeoutMs: 15e3 }).stdout,
|
|
10552
10564
|
interactive,
|
|
10553
10565
|
session: {
|
|
@@ -10902,6 +10914,15 @@ function legacyAgent(agents = defaultAgents()) {
|
|
|
10902
10914
|
function contextAgents(agents = defaultAgents()) {
|
|
10903
10915
|
return agents.flatMap((agent) => agent.adapter.context === void 0 ? [] : [{ descriptor: agent.descriptor, context: agent.adapter.context }]);
|
|
10904
10916
|
}
|
|
10917
|
+
function laptopAgents(agents = defaultAgents(), io = createNodeAgentIO()) {
|
|
10918
|
+
const path = io.env().PATH;
|
|
10919
|
+
return agents.flatMap((agent) => {
|
|
10920
|
+
const context = agent.adapter.context;
|
|
10921
|
+
if (context === void 0) return [];
|
|
10922
|
+
if (agent.descriptor.id !== LEGACY_AGENT && agent.adapter.launch?.findProgram(path, delimiter) === void 0) return [];
|
|
10923
|
+
return [{ descriptor: agent.descriptor, context }];
|
|
10924
|
+
});
|
|
10925
|
+
}
|
|
10905
10926
|
function captureAgents(agents = defaultAgents()) {
|
|
10906
10927
|
return agents.flatMap((agent) => agent.adapter.capture === void 0 ? [] : [{ descriptor: agent.descriptor, capture: agent.adapter.capture }]);
|
|
10907
10928
|
}
|
|
@@ -10927,7 +10948,10 @@ function targetIds(agents = defaultAgents()) {
|
|
|
10927
10948
|
return contextAgents(agents).map((agent) => agent.descriptor.id);
|
|
10928
10949
|
}
|
|
10929
10950
|
function skillBases(agents = defaultAgents()) {
|
|
10930
|
-
return [AGENTS_SKILLS_BASE, ...contextAgents(agents).flatMap((agent) => agent.descriptor.context.repoSkillFolders)];
|
|
10951
|
+
return [.../* @__PURE__ */ new Set([AGENTS_SKILLS_BASE, ...contextAgents(agents).flatMap((agent) => agent.descriptor.context.repoSkillFolders)])];
|
|
10952
|
+
}
|
|
10953
|
+
function knownTargetsLine(agents = defaultAgents()) {
|
|
10954
|
+
return `Known targets: ${targetIds(agents).join(", ")}.`;
|
|
10931
10955
|
}
|
|
10932
10956
|
|
|
10933
|
-
export { ADAPTER_FACTORIES, AGENTS_SKILLS_BASE, CONTEXT_PIN_FILENAME, FORMER_MAINTAINED_NAMES, HookTextError, MACHINE_SKILL_PATH, McpFileError, OUTERLAYER_SKILLS_BASE, TEMPLATE_SKILLS, agentById, agentRootFolders, captureAdapters, captureAgents, classifyTree, contextAgents, createNodeAgentIO, defaultAgents, emitBuilders, emitTree, extractFacts, generatedHeaderSource, isMaintainedCopy, legacyAgent, legacySubcommand, loadMachineSkillFiles, loadMaintainedFiles, loadTemplateFiles, maintainedFilesForExistingSkills, namesCore, normalizePath, normalizeRepoName, orderSessions, parseOuterlayerConfig, parsePolicy, parseProofsConfig, resolvePackRoot, restoreSkillPaths, rewriteSkillPaths, sessionFolderIn, sessionsToTimeline, skillBases, skillDir, splitRawFile, targetIds, userSkillFolderIn, writeMaintainedFiles };
|
|
10957
|
+
export { ADAPTER_FACTORIES, AGENTS_SKILLS_BASE, CONTEXT_PIN_FILENAME, FORMER_MAINTAINED_NAMES, HookTextError, MACHINE_SKILL_PATH, McpFileError, OUTERLAYER_SKILLS_BASE, TEMPLATE_SKILLS, agentById, agentRootFolders, captureAdapters, captureAgents, classifyTree, contextAgents, createNodeAgentIO, defaultAgents, emitBuilders, emitTree, extractFacts, generatedHeaderSource, isMaintainedCopy, knownTargetsLine, laptopAgents, legacyAgent, legacySubcommand, loadMachineSkillFiles, loadMaintainedFiles, loadTemplateFiles, maintainedFilesForExistingSkills, namesCore, normalizePath, normalizeRepoName, orderSessions, parseOuterlayerConfig, parsePolicy, parseProofsConfig, resolvePackRoot, restoreSkillPaths, rewriteSkillPaths, sessionFolderIn, sessionsToTimeline, skillBases, skillDir, splitRawFile, targetIds, userSkillFolderIn, writeMaintainedFiles };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { helperSocketPath } from './chunk-
|
|
4
|
-
import { UNIT_MARKER } from './chunk-
|
|
5
|
-
import { runnerDir } from './chunk-
|
|
3
|
+
import { helperSocketPath } from './chunk-KYDKOYZD.js';
|
|
4
|
+
import { UNIT_MARKER } from './chunk-WZ5YJJMP.js';
|
|
5
|
+
import { runnerDir } from './chunk-63KUYXOH.js';
|
|
6
6
|
import { createHash } from 'crypto';
|
|
7
7
|
import { join } from 'path';
|
|
8
8
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-
|
|
4
|
-
import { parseSize } from './chunk-
|
|
5
|
-
import { isRefusedInConfig, resolveDestinations, isReservedVariable } from './chunk-
|
|
6
|
-
import { builderDiskPinned } from './chunk-
|
|
3
|
+
import { DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-UD6I7QJJ.js';
|
|
4
|
+
import { parseSize } from './chunk-GTJLKBN7.js';
|
|
5
|
+
import { isRefusedInConfig, resolveDestinations, isReservedVariable } from './chunk-22JLORO6.js';
|
|
6
|
+
import { builderDiskPinned } from './chunk-CFHM562L.js';
|
|
7
7
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
8
8
|
import { existsSync, statSync, accessSync, constants, readFileSync } from 'fs';
|
|
9
9
|
import { hostname } from 'os';
|
|
@@ -1,12 +1,12 @@
|
|
|
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 { jobAgent, universalImagePinned, UNIVERSAL_IMAGE, BUILDKIT_IMAGE } from './chunk-
|
|
9
|
-
import { defaultAgents } from './chunk-
|
|
3
|
+
import { resolveDevcontainerCli, devcontainerBuildInvocation, universalImagePending, RecipeError } from './chunk-V227E7UX.js';
|
|
4
|
+
import { ensureHostKey } from './chunk-DIL7U77P.js';
|
|
5
|
+
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, jobsDir } from './chunk-63KUYXOH.js';
|
|
6
|
+
import { BUILD_HOME, JOB_MOUNT, RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-22JLORO6.js';
|
|
7
|
+
import { primaryDestination, JOIN_DIR, RELAY_ID, JOIN_SOCKET, GATEWAY_PORT, TARGET_GATEWAY, GATEWAY_SOCKET, destinationTarget, providerDestinations, RELAY_USER } from './chunk-HBYFB3LK.js';
|
|
8
|
+
import { jobAgent, universalImagePinned, UNIVERSAL_IMAGE, BUILDKIT_IMAGE } from './chunk-CFHM562L.js';
|
|
9
|
+
import { defaultAgents } from './chunk-E6ESLX5E.js';
|
|
10
10
|
import { PROVIDERS } from './chunk-QJKW4MKH.js';
|
|
11
11
|
import { compareVersions } from './chunk-WZOWXDDM.js';
|
|
12
12
|
import { createHash } from 'crypto';
|
|
@@ -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-63KUYXOH.js';
|
|
5
5
|
import { existsSync, readFileSync, mkdirSync, writeFileSync, rmSync } from 'fs';
|
|
6
6
|
import { dirname } from 'path';
|
|
7
7
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { parseOuterlayerConfig, targetIds, defaultAgents } from './chunk-
|
|
3
|
+
import { parseOuterlayerConfig, targetIds, defaultAgents } from './chunk-E6ESLX5E.js';
|
|
4
4
|
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-QJKW4MKH.js';
|
|
5
5
|
import { readFileSync } from 'fs';
|
|
6
6
|
import { join } from 'path';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { providersOf, JOB_AGENT_ID, credentialEnvPath, credentialNames, credentialForms, runnerAgents, strippedVariables, credentialAgent, forwardedVariables, MANAGED_KIND } from './chunk-
|
|
4
|
-
import { defaultAgents } from './chunk-
|
|
3
|
+
import { providersOf, JOB_AGENT_ID, credentialEnvPath, credentialNames, credentialForms, runnerAgents, strippedVariables, credentialAgent, forwardedVariables, MANAGED_KIND } from './chunk-CFHM562L.js';
|
|
4
|
+
import { defaultAgents } from './chunk-E6ESLX5E.js';
|
|
5
5
|
import { PROVIDERS } from './chunk-QJKW4MKH.js';
|
|
6
6
|
import { statSync, readFileSync } from 'fs';
|
|
7
7
|
import { join } from 'path';
|
|
@@ -246,17 +246,16 @@ function complain(path, label, reason) {
|
|
|
246
246
|
var heldCopies = /* @__PURE__ */ new Map();
|
|
247
247
|
var removedValues = /* @__PURE__ */ new Set();
|
|
248
248
|
function holdAgentCredentials(env = process.env, agents = defaultAgents()) {
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
const read = readAgentCredential(env,
|
|
252
|
-
if (read !== void 0) heldCopies.set(
|
|
249
|
+
const first = credentialAgent(agents);
|
|
250
|
+
if (first !== void 0 && !heldCopies.has(first.descriptor.id)) {
|
|
251
|
+
const read = readAgentCredential(env, first.descriptor.id, agents);
|
|
252
|
+
if (read !== void 0) heldCopies.set(first.descriptor.id, read);
|
|
253
253
|
}
|
|
254
254
|
for (const name of strippedVariables(agents)) {
|
|
255
255
|
const value = env[name];
|
|
256
256
|
if (value !== void 0 && value !== "") removedValues.add(value);
|
|
257
257
|
delete env[name];
|
|
258
258
|
}
|
|
259
|
-
const first = runnerAgents(agents)[0];
|
|
260
259
|
return first === void 0 ? void 0 : heldCopies.get(first.descriptor.id);
|
|
261
260
|
}
|
|
262
261
|
function takeAgentCredentials(env, hooks, agents = defaultAgents()) {
|
|
@@ -3,8 +3,8 @@ import { createRequire } from 'node:module';
|
|
|
3
3
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
4
4
|
import { readCloudConfig } from './chunk-HWVMRETT.js';
|
|
5
5
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
6
|
-
import {
|
|
7
|
-
import { mkdirSync, writeFileSync,
|
|
6
|
+
import { legacyAgent, laptopAgents, defaultAgents, McpFileError } from './chunk-E6ESLX5E.js';
|
|
7
|
+
import { existsSync, mkdirSync, writeFileSync, readFileSync } from 'fs';
|
|
8
8
|
import { join, dirname } from 'path';
|
|
9
9
|
|
|
10
10
|
createRequire(import.meta.url);
|
|
@@ -63,7 +63,7 @@ function mcpTargets(repoRoot, agents) {
|
|
|
63
63
|
if (existsSync(join(repoRoot, ".outerlayer", "mcp.json"))) return [{ relPath: ".outerlayer/mcp.json", mcp: legacyAgent(agents).adapter.context.mcp }];
|
|
64
64
|
const seen = /* @__PURE__ */ new Set();
|
|
65
65
|
const targets = [];
|
|
66
|
-
for (const { context } of
|
|
66
|
+
for (const { context } of laptopAgents(agents)) {
|
|
67
67
|
if (seen.has(context.mcp.file)) continue;
|
|
68
68
|
seen.add(context.mcp.file);
|
|
69
69
|
targets.push({ relPath: context.mcp.file, mcp: context.mcp });
|
|
@@ -133,4 +133,4 @@ function handleMcpInstallError(err) {
|
|
|
133
133
|
process.exitCode = 1;
|
|
134
134
|
}
|
|
135
135
|
|
|
136
|
-
export { DEFAULT_MCP_COMMAND, DOCS_MCP_SERVER_NAME, INIT_DOCS_ENTRY, INIT_STDIO_ENTRY, McpInstallError, addDocsMcpEntryIfAbsent, addStdioMcpEntryIfAbsent, buildServerEntry, buildStdioServerEntry, defaultMcpUrl, handleMcpInstallError, mcpTargetPath, runMcpInstall, setMcpEntry };
|
|
136
|
+
export { DEFAULT_MCP_COMMAND, DOCS_MCP_SERVER_NAME, INIT_DOCS_ENTRY, INIT_STDIO_ENTRY, McpInstallError, addDocsMcpEntryIfAbsent, addStdioMcpEntryIfAbsent, buildServerEntry, buildStdioServerEntry, defaultMcpUrl, handleMcpInstallError, mcpTargetPath, mcpTargets, runMcpInstall, setMcpEntry };
|
|
@@ -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-63KUYXOH.js';
|
|
5
5
|
import { readFileSync, mkdirSync, writeFileSync, renameSync } from 'fs';
|
|
6
6
|
import { join } from 'path';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
4
|
-
import { skillDir, emitTree, targetIds, classifyTree, emitBuilders, defaultAgents, FORMER_MAINTAINED_NAMES, isMaintainedCopy } from './chunk-
|
|
4
|
+
import { skillDir, emitTree, targetIds, classifyTree, emitBuilders, defaultAgents, FORMER_MAINTAINED_NAMES, isMaintainedCopy } from './chunk-E6ESLX5E.js';
|
|
5
5
|
import { readFileSync, existsSync, unlinkSync, rmdirSync, readdirSync } from 'fs';
|
|
6
6
|
import { join, dirname, relative, sep } from 'path';
|
|
7
7
|
|
|
@@ -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-E6ESLX5E.js';
|
|
5
5
|
|
|
6
6
|
createRequire(import.meta.url);
|
|
7
7
|
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { scrubReason, stripTerminalControls } from './chunk-
|
|
4
|
-
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-
|
|
5
|
-
import { RunnerAlreadyRunningError, readPidFile } from './chunk-
|
|
3
|
+
import { scrubReason, stripTerminalControls } from './chunk-KYDKOYZD.js';
|
|
4
|
+
import { checkFit, RUNNER_RESERVE_BYTES } from './chunk-WZ5YJJMP.js';
|
|
5
|
+
import { RunnerAlreadyRunningError, readPidFile } from './chunk-H4H3KK25.js';
|
|
6
6
|
import { isSameProcess } from './chunk-JBJTC3UU.js';
|
|
7
|
-
import { isSignatureRefusal, postJson } from './chunk-
|
|
8
|
-
import { keyRunnerFactory } from './chunk-
|
|
9
|
-
import { signerFor } from './chunk-
|
|
10
|
-
import { pidFilePath } from './chunk-
|
|
7
|
+
import { isSignatureRefusal, postJson } from './chunk-RY5QFTXJ.js';
|
|
8
|
+
import { keyRunnerFactory } from './chunk-F2UM3NDF.js';
|
|
9
|
+
import { signerFor } from './chunk-DIL7U77P.js';
|
|
10
|
+
import { pidFilePath } from './chunk-63KUYXOH.js';
|
|
11
11
|
import { readFileSync } from 'fs';
|
|
12
12
|
|
|
13
13
|
createRequire(import.meta.url);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { sanitizeTerminal } from './chunk-F3T5QJ24.js';
|
|
4
|
-
import { resolvePackRoot, parseProofsConfig } from './chunk-
|
|
4
|
+
import { resolvePackRoot, parseProofsConfig } from './chunk-E6ESLX5E.js';
|
|
5
5
|
import { CHECK_ITEM_REASON_MAX_LENGTH, CheckItemsSchema } from './chunk-WUKLQWGY.js';
|
|
6
6
|
import { createHash } from 'crypto';
|
|
7
7
|
import { join } from 'path';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { isAgentsMdLayout, discoverOuterlayerPaths, isForeignTree, toRepoRelative } from './chunk-
|
|
3
|
+
import { isAgentsMdLayout, discoverOuterlayerPaths, isForeignTree, toRepoRelative } from './chunk-7HRNYPL3.js';
|
|
4
4
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
5
|
-
import { invalidConfigMessage } from './chunk-
|
|
6
|
-
import { retiredSkillPaths, removeRetiredSkills } from './chunk-
|
|
5
|
+
import { invalidConfigMessage } from './chunk-H6T73OLF.js';
|
|
6
|
+
import { retiredSkillPaths, removeRetiredSkills } from './chunk-IM4VUDKW.js';
|
|
7
7
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
8
|
-
import { maintainedFilesForExistingSkills, loadMaintainedFiles, emitTree, emitBuilders, defaultAgents, targetIds, generatedHeaderSource, parseOuterlayerConfig, classifyTree, writeMaintainedFiles, agentById } from './chunk-
|
|
8
|
+
import { maintainedFilesForExistingSkills, loadMaintainedFiles, emitTree, emitBuilders, defaultAgents, targetIds, generatedHeaderSource, parseOuterlayerConfig, classifyTree, writeMaintainedFiles, agentById } from './chunk-E6ESLX5E.js';
|
|
9
9
|
import { LEGACY_AGENT } from './chunk-QJKW4MKH.js';
|
|
10
10
|
import { existsSync, readFileSync, mkdirSync, writeFileSync, copyFileSync, unlinkSync, rmdirSync, readdirSync } from 'fs';
|
|
11
11
|
import { join, dirname } from 'path';
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { checkStarterFiles, contextIsGoverned } from './chunk-
|
|
4
|
-
import { resolveCredentials, getJson, WorkCommandError } from './chunk-
|
|
5
|
-
import { fleetCheck, checkBuildSkill, checkMachineSkills, checkCommittedMaintainedSkills, checkMaintainedReferences, checkIgnoredSkillFolders } from './chunk-
|
|
6
|
-
import { withInjectedPrograms } from './chunk-
|
|
7
|
-
import { isLinkedRepository } from './chunk-
|
|
3
|
+
import { checkStarterFiles, contextIsGoverned } from './chunk-OM3XGJBY.js';
|
|
4
|
+
import { resolveCredentials, getJson, WorkCommandError } from './chunk-RY5QFTXJ.js';
|
|
5
|
+
import { fleetCheck, checkBuildSkill, checkMachineSkills, checkCommittedMaintainedSkills, checkMaintainedReferences, checkIgnoredSkillFolders } from './chunk-SIVZITLG.js';
|
|
6
|
+
import { withInjectedPrograms } from './chunk-T3MVV6LG.js';
|
|
7
|
+
import { isLinkedRepository } from './chunk-4S564XTG.js';
|
|
8
8
|
import { sanitizeTerminal } from './chunk-F3T5QJ24.js';
|
|
9
9
|
import { C } from './chunk-2AM6Z5BP.js';
|
|
10
|
-
import { checkFormerSkillNames } from './chunk-
|
|
11
|
-
import { resolveGatewayCredentials, defaultFetch } from './chunk-
|
|
12
|
-
import { sanitizeForContext, spoolDir, assessSyncHealth, readSyncStatus, SYNC_STALE_AFTER_MS, formatAgo, checkInstalledCliStaleness, workspaceRootOf, hookFiredMarkerPath, refreshCommand } from './chunk-
|
|
10
|
+
import { checkFormerSkillNames } from './chunk-IM4VUDKW.js';
|
|
11
|
+
import { resolveGatewayCredentials, defaultFetch } from './chunk-NFYXRAEV.js';
|
|
12
|
+
import { sanitizeForContext, spoolDir, assessSyncHealth, readSyncStatus, SYNC_STALE_AFTER_MS, formatAgo, checkInstalledCliStaleness, workspaceRootOf, hookFiredMarkerPath, refreshCommand } from './chunk-5HMIMWRD.js';
|
|
13
13
|
import { CONTROL_PLANE_DIR_VARIABLE } from './chunk-OV4XTV5M.js';
|
|
14
14
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
15
|
-
import { readStatuslineState, STATE_FRESH_MS } from './chunk-
|
|
15
|
+
import { readStatuslineState, STATE_FRESH_MS } from './chunk-7TPLWWFN.js';
|
|
16
16
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
17
|
-
import { installAgents, withSettingsText } from './chunk-
|
|
17
|
+
import { installAgents, withSettingsText } from './chunk-INT54Z2T.js';
|
|
18
18
|
import { cliForInstall, cliBinResolvable } from './chunk-ZHQC43NH.js';
|
|
19
19
|
import { readDeliveryRecord, readDegraded, readSourceCache } from './chunk-YQR6E6OV.js';
|
|
20
20
|
import { deadHooksState, preparePackageManagerCommand } from './chunk-CJPTUU2E.js';
|
|
21
|
-
import { defaultAgents, legacyAgent, contextAgents } from './chunk-
|
|
21
|
+
import { defaultAgents, legacyAgent, contextAgents } from './chunk-E6ESLX5E.js';
|
|
22
22
|
import { homeFromEnv } from './chunk-352DHUTP.js';
|
|
23
23
|
import { SUPPORTED_VERSIONS, resolveRepoIdentity } from './chunk-WZOWXDDM.js';
|
|
24
24
|
import { readFileSync, mkdirSync, writeFileSync, renameSync, existsSync, accessSync, constants, statSync } from 'fs';
|
|
@@ -213,7 +213,7 @@ function runDoctor(env = {}) {
|
|
|
213
213
|
...starter?.checks ?? [],
|
|
214
214
|
...laptop ? checkRenamedSkills(env.cwd) : [],
|
|
215
215
|
...checkBuildSkillState(env.cwd, home),
|
|
216
|
-
...checkIgnoredSkills(env.cwd),
|
|
216
|
+
...checkIgnoredSkills(env.cwd, agents),
|
|
217
217
|
...starter !== void 0 && !starter.mcpOutdated ? checkMcpCommand(env.cwd, env.processEnv) : [],
|
|
218
218
|
...checkContextSource(env.cwd, legacy),
|
|
219
219
|
...checkGovernsList(env.cwd),
|
|
@@ -226,9 +226,9 @@ function checkRenamedSkills(cwd) {
|
|
|
226
226
|
if (dirs === void 0 || contextIsGoverned(dirs.gitCommonDir)) return [];
|
|
227
227
|
return checkFormerSkillNames(dirs.repoRoot);
|
|
228
228
|
}
|
|
229
|
-
function checkIgnoredSkills(cwd) {
|
|
229
|
+
function checkIgnoredSkills(cwd, agents) {
|
|
230
230
|
const dirs = findGitDirs(cwd ?? process.cwd());
|
|
231
|
-
return dirs === void 0 ? [] : checkIgnoredSkillFolders(dirs.repoRoot);
|
|
231
|
+
return dirs === void 0 ? [] : checkIgnoredSkillFolders(dirs.repoRoot, agents);
|
|
232
232
|
}
|
|
233
233
|
function checkBuildSkillState(cwd, home) {
|
|
234
234
|
const dirs = findGitDirs(cwd ?? process.cwd());
|
|
@@ -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-NYYBJGBH.js');
|
|
1054
|
+
const { defaultRunnerConfigPath, hasRunnerBlock, keyRunnerFactory, loadRunnerConfig, runnerVmOf } = await import('./config-W4OY2JNP.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-3HKOYZTJ.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-X5LYKUQX.js');
|
|
1111
1111
|
return inspectRunnerService(configPath);
|
|
1112
1112
|
})();
|
|
1113
1113
|
checks.push(...await runnerHostChecks({ configPath, hooks, gateway, repos, runner, service }));
|