@outerlayer/cli 0.36.0-next.20261103024917 → 0.36.0-next.20261103102716
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -1
- package/dist/agent-setup-DZZZH3SE.js +40 -0
- package/dist/{agent-subcommand-LABZ7CVN.js → agent-subcommand-WRHH6SRD.js} +5 -5
- package/dist/{bridge-WVWJBVTG.js → bridge-GZSZQGLI.js} +8 -7
- package/dist/{build-TB4QKVBG.js → build-UKZ5RPRR.js} +14 -13
- package/dist/{build-disk-27ZTD2EH.js → build-disk-3HOXULLP.js} +12 -11
- package/dist/build-info.json +1 -1
- package/dist/{builder-DN2S6EVU.js → builder-QEK4GIRY.js} +11 -10
- package/dist/caller-WSMJJSFL.js +23 -0
- package/dist/{check-MNFIC7TT.js → check-QLJ2O7VO.js} +61 -60
- package/dist/{chunk-ORU76DHF.js → chunk-2JWLK2TU.js} +1 -1
- package/dist/{chunk-IVAX5RVX.js → chunk-2QIK3JRV.js} +1 -1
- package/dist/{chunk-HWIV4MF6.js → chunk-2SBNZ4EC.js} +1 -1
- package/dist/{chunk-SSVG2IOD.js → chunk-2W5C47AE.js} +1 -1
- package/dist/{chunk-4XYEPTZP.js → chunk-3XEYA3QF.js} +3 -3
- package/dist/{chunk-NTOHZMPN.js → chunk-42X6CTBI.js} +4 -4
- package/dist/{chunk-VNYAJEKO.js → chunk-4MLH5MDB.js} +5 -5
- package/dist/{chunk-XL6DG5LC.js → chunk-4MN4BBKZ.js} +7 -7
- package/dist/{chunk-EI22245K.js → chunk-54ERDQ3O.js} +77 -9
- package/dist/{chunk-6DOYJN44.js → chunk-54PQNYA7.js} +3 -3
- package/dist/{chunk-EYUJCGF2.js → chunk-6J3QWXTA.js} +4 -4
- package/dist/{chunk-UCUZJ5W5.js → chunk-6UI4ELNA.js} +62 -53
- package/dist/{chunk-QTU6GW2M.js → chunk-7UYXSF62.js} +8 -227
- package/dist/{chunk-CAGZNACH.js → chunk-A64EXQUL.js} +31 -30
- package/dist/{chunk-3L6XOE4K.js → chunk-B5VKRKLJ.js} +1 -1
- package/dist/{chunk-DRGGJH2V.js → chunk-BEJJJZXF.js} +4 -4
- package/dist/{chunk-37B2SIAT.js → chunk-BTGNFRRT.js} +7 -7
- package/dist/{chunk-CJNZ2FIW.js → chunk-BZQ3S24G.js} +1 -1
- package/dist/{chunk-LLCRQWH5.js → chunk-CDTBXABP.js} +2 -2
- package/dist/{chunk-UZ5SDO7Y.js → chunk-DEZSNJSE.js} +1 -1
- package/dist/{chunk-AUZAQL7C.js → chunk-DWYQKLCL.js} +1 -1
- package/dist/{chunk-R3JSLSMG.js → chunk-EHS3HEB6.js} +4 -4
- package/dist/{chunk-JZDTDGRO.js → chunk-EUWTGCK5.js} +1 -1
- package/dist/{chunk-33OQSCE2.js → chunk-FLQL6ZIG.js} +1 -1
- package/dist/{chunk-A76SNTAM.js → chunk-GPBTTHK3.js} +1 -1
- package/dist/{chunk-LFUEODDW.js → chunk-H4G26OZC.js} +8 -8
- package/dist/{chunk-GIAODP2B.js → chunk-HO4DPX5N.js} +1 -1
- package/dist/{chunk-HBE75JAU.js → chunk-HQBKKYYQ.js} +5 -5
- package/dist/{chunk-VJKHQSSS.js → chunk-HR4PJLOO.js} +1 -1
- package/dist/{chunk-OE5JWY3T.js → chunk-HX6B34ZF.js} +17 -17
- package/dist/chunk-IEDO26G4.js +243 -0
- package/dist/{chunk-PUPUOQ6Y.js → chunk-IEVARJ6G.js} +2 -2
- package/dist/{chunk-EQ5M2WWA.js → chunk-J4NJWTNO.js} +5 -5
- package/dist/{chunk-WFRYPYPT.js → chunk-JD5EVW6Y.js} +1 -1
- package/dist/{chunk-JYFZC776.js → chunk-JMM3L5RG.js} +5 -5
- package/dist/{chunk-Q7BECZIF.js → chunk-K26KMWU4.js} +10 -10
- package/dist/{chunk-UJISSEJG.js → chunk-K373UCEV.js} +1 -1
- package/dist/{chunk-MDJ6ILXG.js → chunk-KHJPRTOW.js} +1 -1
- package/dist/{chunk-GANI63IL.js → chunk-L3SHPR2M.js} +1 -1
- package/dist/{chunk-P63MQNDV.js → chunk-LDKF6B2R.js} +174 -8
- package/dist/{chunk-VQ4KQGLY.js → chunk-LV4IDDD3.js} +8 -13
- package/dist/{chunk-QPIWCDVK.js → chunk-LXXP5HRJ.js} +4 -4
- package/dist/{chunk-PVUBF24F.js → chunk-MPVTZLOM.js} +5 -4
- package/dist/{chunk-AU3QZKC4.js → chunk-N3SO5VCM.js} +8 -8
- package/dist/{chunk-HLJQONDG.js → chunk-NMMGRG5V.js} +6 -6
- package/dist/{chunk-RW6TM4OU.js → chunk-NOLS2G2W.js} +1 -1
- package/dist/{chunk-M6FMJXYO.js → chunk-NQYTUVZR.js} +1 -1
- package/dist/{chunk-CDDWYP73.js → chunk-OGG5ELXF.js} +5 -4
- package/dist/{chunk-DPTBQIF6.js → chunk-OPEZVPF7.js} +3 -3
- package/dist/{chunk-UWYU46GF.js → chunk-OV4XTV5M.js} +2 -2
- package/dist/{chunk-BGTQHUGU.js → chunk-P4Q6M6PI.js} +1 -1
- package/dist/{chunk-UHVYFXW6.js → chunk-PDRWRFB2.js} +4 -4
- package/dist/{chunk-UNWCM4FR.js → chunk-PYK6GCCU.js} +6 -6
- package/dist/{chunk-LLZ2CX4M.js → chunk-QJKW4MKH.js} +6 -1
- package/dist/{chunk-RKU2CRQN.js → chunk-QKLCIJEU.js} +349 -318
- package/dist/{chunk-XEZO7VQH.js → chunk-QVOU2QUR.js} +2 -2
- package/dist/{chunk-6ILOTKYR.js → chunk-RGKJ5J72.js} +5 -5
- package/dist/{chunk-OL6URNWQ.js → chunk-RKV3UQCG.js} +9 -8
- package/dist/{chunk-EA67BJCF.js → chunk-SYKEQT63.js} +6 -6
- package/dist/{chunk-66GYPUUN.js → chunk-T5I2H7TJ.js} +1 -1
- package/dist/{chunk-AXOO6FNA.js → chunk-TWGSXBZM.js} +3 -3
- package/dist/{chunk-7VUTGCGH.js → chunk-U6EACUUG.js} +1 -1
- package/dist/{chunk-4QE6PSGN.js → chunk-U6HCTKPH.js} +7 -7
- package/dist/{chunk-EDZ2OZYI.js → chunk-U7MLC45I.js} +6 -6
- package/dist/{chunk-GXCU5HTU.js → chunk-UZSMDU4U.js} +3 -3
- package/dist/{chunk-DNUA6244.js → chunk-VMPVQE4D.js} +2 -2
- package/dist/{chunk-YTERTIGW.js → chunk-VST3BWL4.js} +9 -9
- package/dist/{chunk-3JVLRIX3.js → chunk-WAGHPZP2.js} +1 -1
- package/dist/{chunk-PN4LWT5F.js → chunk-WNQGSAUE.js} +1 -1
- package/dist/{chunk-FINJC6BS.js → chunk-WZOWXDDM.js} +20 -14
- package/dist/{chunk-ZSEAA74Q.js → chunk-XSGWMQJF.js} +3 -3
- package/dist/{chunk-ASR6TU43.js → chunk-YCBVYTFI.js} +1 -1
- package/dist/{chunk-6V6ONATO.js → chunk-YEZGNCSK.js} +2 -2
- package/dist/{chunk-RCEK22S2.js → chunk-YWCK4EOT.js} +3 -3
- package/dist/{chunk-NJKCJVJL.js → chunk-ZE2JJQPC.js} +1 -1
- package/dist/{chunk-GQHT6N47.js → chunk-ZZ4WIQRF.js} +6 -5
- package/dist/{claude-launcher-5UGFLCYJ.js → claude-launcher-CPSCSL6U.js} +9 -9
- package/dist/{cli-AVPIE2LZ.js → cli-4M74XOWW.js} +192 -161
- package/dist/{command-4CPHPV55.js → command-RY76GIQG.js} +54 -53
- package/dist/{config-ODIFTWTQ.js → config-23EBIGW4.js} +13 -12
- package/dist/{connect-cmd-BMA6JWN5.js → connect-cmd-GEBIOBQQ.js} +12 -11
- package/dist/{container-start-AQIO47FJ.js → container-start-SUBTHQME.js} +59 -54
- package/dist/{context-cleanup-7XUQDCJ5.js → context-cleanup-I7FLIV5A.js} +5 -5
- package/dist/{context-show-cmd-FN6RY7JN.js → context-show-cmd-CSPMSRHX.js} +13 -12
- package/dist/{control-plane-launch-7FWJACHT.js → control-plane-launch-KC7NUNYQ.js} +16 -15
- package/dist/{demo-record-cmd-LRQMMMPB.js → demo-record-cmd-ZW6U2LAV.js} +9 -8
- package/dist/{demo-voice-cmd-ORYSHARJ.js → demo-voice-cmd-IDW3QX3E.js} +22 -21
- package/dist/{dist-AIMCXBLZ.js → dist-LOBYZWOU.js} +1 -1
- package/dist/docker-2VHMWLNK.js +20 -0
- package/dist/{doctor-X663FFNY.js → doctor-GEG64FBO.js} +54 -53
- package/dist/{emit-artifact-cmd-KMGO53PL.js → emit-artifact-cmd-2ZHPNLPG.js} +21 -20
- package/dist/{emit-cmd-OGNFGQF6.js → emit-cmd-UN7HGZC5.js} +8 -8
- package/dist/{emit-criteria-cmd-2KDA4LPJ.js → emit-criteria-cmd-TUXGD7CW.js} +15 -14
- package/dist/{emit-demo-cmd-26URBRX2.js → emit-demo-cmd-4YMYB556.js} +22 -21
- package/dist/{emit-finding-cmd-GM4G3ZGU.js → emit-finding-cmd-O2NN22XF.js} +15 -14
- package/dist/{emit-result-cmd-SXS6AJP3.js → emit-result-cmd-VRITADX2.js} +20 -19
- package/dist/{emit-step-cmd-TDO3NFV3.js → emit-step-cmd-LGNBZTWJ.js} +15 -14
- package/dist/{exec-client-DBSWP3AQ.js → exec-client-NXTXAVHI.js} +9 -8
- package/dist/find-unit-RYYTX2O5.js +24 -0
- package/dist/{findings-cmd-ED52QLP2.js → findings-cmd-RJD7KTSW.js} +15 -14
- package/dist/{fleet-readiness-X7YICYMA.js → fleet-readiness-RIO2SWC7.js} +15 -14
- package/dist/{governing-source-R7F6GZLO.js → governing-source-IR3KUGQF.js} +21 -20
- package/dist/guest-init-FLSL5RI7.js +20 -0
- package/dist/{hook-fast-Q6HOUK64.js → hook-fast-HYRZAY5K.js} +4 -4
- package/dist/{hook-install-LHVMFLO6.js → hook-install-CSHKOLWT.js} +5 -5
- package/dist/{hook-wrap-fast-FCZEUJKT.js → hook-wrap-fast-ITUBSHEF.js} +3 -3
- package/dist/host-checks-OB45XC67.js +79 -0
- package/dist/host-key-CPAEQSNU.js +18 -0
- package/dist/{image-tag-BHAEZYXN.js → image-tag-MAMFM4SO.js} +9 -8
- package/dist/index.js +6 -6
- package/dist/{init-IOOA3TJA.js → init-G34M5Y4W.js} +50 -49
- package/dist/init-HHD2NNWY.js +79 -0
- package/dist/{init-cmd-3TLX7N3E.js → init-cmd-GDT27DWD.js} +30 -29
- package/dist/{init-update-F3JZ2GEW.js → init-update-TQH2Q7IZ.js} +24 -23
- package/dist/install-cmd-PVQ5M5NM.js +21 -0
- package/dist/{layout-3YKZWTPE.js → layout-2DF7ON2F.js} +5 -5
- package/dist/{logs-HHNF6ABR.js → logs-BM644OOJ.js} +8 -7
- package/dist/loop-6MSKJN52.js +90 -0
- package/dist/machine-LGD4UVCI.js +79 -0
- package/dist/{machine-skills-4UHKD4HT.js → machine-skills-O7XAZYLN.js} +5 -5
- package/dist/{mcp-install-cmd-SQV4UZD6.js → mcp-install-cmd-METCXTTR.js} +5 -5
- package/dist/{mcp-serve-cmd-RKM4BLX3.js → mcp-serve-cmd-CTKBLSM6.js} +10 -9
- package/dist/{paths-WQUQWBL6.js → paths-VIBBLJ2W.js} +8 -7
- package/dist/pending-RXJKH4AC.js +18 -0
- package/dist/{pidfile-P6WZBOR4.js → pidfile-PAX5XHQJ.js} +9 -8
- package/dist/{record-WMING5ZQ.js → record-QPXOUL6F.js} +9 -8
- package/dist/{relay-NCWAF6NQ.js → relay-KASDMV3R.js} +6 -5
- package/dist/{relay-protocol-Y3HGIACN.js → relay-protocol-7HSCZC5H.js} +6 -5
- package/dist/runner-agents-WUMCXVS2.js +14 -0
- package/dist/runner-env-R2C5LYCX.js +24 -0
- package/dist/{runner-identity-ZCXCKYYO.js → runner-identity-UDPLWT7I.js} +11 -10
- package/dist/{runner-key-2ECLBGUH.js → runner-key-Z2IQ5TS7.js} +49 -48
- package/dist/{session-sender-JIWCOKW4.js → session-sender-4QKSVX5Z.js} +21 -20
- package/dist/{shell-function-H75JWHLA.js → shell-function-FTY7SSAJ.js} +2 -2
- package/dist/{spec-cmd-TQ6VCLCS.js → spec-cmd-TON4PYGQ.js} +16 -15
- package/dist/{starter-pack-3BXEKGIH.js → starter-pack-LAPDUG6E.js} +6 -6
- package/dist/state-OTWJW4O7.js +18 -0
- package/dist/{status-TFHPMLOA.js → status-ROMTDMFO.js} +49 -48
- package/dist/{statusline-fast-BTJSU3MB.js → statusline-fast-7V7U4SI4.js} +3 -3
- package/dist/{sync-cmd-TKGTFHFZ.js → sync-cmd-FLNYVXAE.js} +20 -19
- package/dist/update-steps-A5OSPYAS.js +80 -0
- package/dist/{watch-GMLQW3S7.js → watch-4V7FZI5R.js} +20 -19
- package/dist/{work-claim-cmd-I6VVJZHK.js → work-claim-cmd-5EYXVPKH.js} +22 -21
- package/dist/{work-cmd-UOLSKQ5A.js → work-cmd-RUOTA5K7.js} +15 -14
- package/dist/{work-comment-cmd-FMAHDTN4.js → work-comment-cmd-7UM3O3EL.js} +18 -17
- package/dist/{work-demo-cmd-BIONKBZM.js → work-demo-cmd-K4NRR2AK.js} +15 -14
- package/dist/{work-logs-cmd-IXHGQ443.js → work-logs-cmd-QW7PNI6V.js} +15 -14
- package/dist/{work-open-pr-cmd-E7KGEH42.js → work-open-pr-cmd-Y6MTWQG5.js} +16 -15
- package/dist/{work-pr-cmd-GWYKEMBY.js → work-pr-cmd-WUIMC7XB.js} +15 -14
- package/dist/{work-proofs-cmd-LY7OLWXH.js → work-proofs-cmd-5LMTROA6.js} +17 -16
- package/dist/{work-proofs-record-IPP6XUOF.js → work-proofs-record-3JGUT2F5.js} +26 -25
- package/dist/{work-stop-cmd-DJWAZRM3.js → work-stop-cmd-R5F5VRUM.js} +15 -14
- package/package.json +1 -1
- package/dist/agent-setup-7WC4BHY4.js +0 -39
- package/dist/caller-ZDANV7YK.js +0 -22
- package/dist/docker-POAJWLZ5.js +0 -19
- package/dist/find-unit-4EP7BW2F.js +0 -23
- package/dist/guest-init-4YXOOA6P.js +0 -19
- package/dist/host-checks-VUDUPDL2.js +0 -78
- package/dist/host-key-2OWJL2HZ.js +0 -17
- package/dist/init-MXVIYHXE.js +0 -78
- package/dist/install-cmd-4PDNS3MC.js +0 -20
- package/dist/loop-N3C4AOPY.js +0 -89
- package/dist/machine-JYGGT4TB.js +0 -78
- package/dist/pending-WSR6KRTI.js +0 -17
- package/dist/runner-env-NXNGYKU4.js +0 -23
- package/dist/state-ZOM5PUYK.js +0 -17
- package/dist/update-steps-BWIZEAAM.js +0 -79
|
@@ -1,21 +1,16 @@
|
|
|
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 {
|
|
6
|
-
import {
|
|
3
|
+
import { DEFAULT_UNIT_NAME } from './chunk-ZZ4WIQRF.js';
|
|
4
|
+
import { RUNNER_FILE_MODE } from './chunk-L3SHPR2M.js';
|
|
5
|
+
import { withoutCredentialLines, parseRunnerEnv } from './chunk-7UYXSF62.js';
|
|
6
|
+
import { headlessNames, runnerAgents, credentialAgent, credentialForms, orList, credentialShapes, credentialEnvPath, forwardedVariables } from './chunk-IEDO26G4.js';
|
|
7
|
+
import { defaultAgents } from './chunk-54ERDQ3O.js';
|
|
7
8
|
import { existsSync, readFileSync, writeFileSync, renameSync, rmSync } from 'fs';
|
|
8
9
|
import { join, dirname } from 'path';
|
|
9
10
|
|
|
10
11
|
createRequire(import.meta.url);
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
implement: 'claude -p "/build" --permission-mode bypassPermissions',
|
|
14
|
-
amend: 'claude -p "/outerlayer-amend" --permission-mode bypassPermissions'
|
|
15
|
-
}
|
|
16
|
-
};
|
|
17
|
-
function isAgentName(name) {
|
|
18
|
-
return Object.hasOwn(AGENT_COMMANDS, name);
|
|
12
|
+
function isAgentName(name, agents = defaultAgents()) {
|
|
13
|
+
return headlessNames(agents).includes(name);
|
|
19
14
|
}
|
|
20
15
|
var RunnerEnvError = class extends Error {
|
|
21
16
|
};
|
|
@@ -75,4 +70,4 @@ function restartForCredential(state, unitName = DEFAULT_UNIT_NAME, agents = defa
|
|
|
75
70
|
return `The service ${unitName} loads ${file} only when it starts. Restart it so it uses the stored credential: sudo systemctl restart ${unitName}`;
|
|
76
71
|
}
|
|
77
72
|
|
|
78
|
-
export {
|
|
73
|
+
export { RunnerEnvError, credentialFromStdin, hasStoredCredential, isAgentName, restartForCredential, storeAgentCredential };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { launchRefusalForSession } from './chunk-WGC7UFRM.js';
|
|
4
|
-
import { detectActiveSession } from './chunk-
|
|
5
|
-
import { autoConnect } from './chunk-
|
|
4
|
+
import { detectActiveSession } from './chunk-T5I2H7TJ.js';
|
|
5
|
+
import { autoConnect } from './chunk-UZSMDU4U.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-HR4PJLOO.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';
|
|
12
|
-
import { resolveRepoIdentity } from './chunk-
|
|
12
|
+
import { resolveRepoIdentity } from './chunk-WZOWXDDM.js';
|
|
13
13
|
import { StepNameSchema, StepBodySchema } from './chunk-WUKLQWGY.js';
|
|
14
14
|
import { randomUUID } from 'crypto';
|
|
15
15
|
import { readFileSync, existsSync, mkdirSync, writeFileSync, renameSync, appendFileSync } from 'fs';
|
|
@@ -1,9 +1,9 @@
|
|
|
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-
|
|
6
|
-
import { PROVIDERS } from './chunk-
|
|
3
|
+
import { RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-LDKF6B2R.js';
|
|
4
|
+
import { GATEWAY_SOCKET, GATEWAY_PORT, providerDestinations } from './chunk-7UYXSF62.js';
|
|
5
|
+
import { defaultAgents } from './chunk-54ERDQ3O.js';
|
|
6
|
+
import { PROVIDERS } from './chunk-QJKW4MKH.js';
|
|
7
7
|
import { symlinkSync, unlinkSync } from 'fs';
|
|
8
8
|
import { join } from 'path';
|
|
9
9
|
|
|
@@ -17,6 +17,7 @@ function vsockLinks(input, agents = defaultAgents(), providers = PROVIDERS) {
|
|
|
17
17
|
return [
|
|
18
18
|
{ port: RELAY_PORT, socket: "tunnel.sock" },
|
|
19
19
|
...Array.from({ length: input.destinations }, (_unused, index) => ({ port: DESTINATION_BASE_PORT + index, socket: `dest-${index}.sock` })),
|
|
20
|
+
...(input.factory ?? []).map((index) => ({ port: DESTINATION_BASE_PORT + index, socket: `dest-${index}.sock` })),
|
|
20
21
|
...input.builtIns ? [
|
|
21
22
|
{ port: GATEWAY_PORT, socket: GATEWAY_SOCKET },
|
|
22
23
|
...providerDestinations(agents, providers).map((destination) => ({ port: destination.port, socket: destination.socket }))
|
|
@@ -1,13 +1,13 @@
|
|
|
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-
|
|
5
|
-
import { buildRefusalReason } from './chunk-
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import { SHIM_SCRIPT, GOVERNANCE_VARIABLE } from './chunk-
|
|
3
|
+
import { WorkCommandError, postJson } from './chunk-H4G26OZC.js';
|
|
4
|
+
import { defaultGitRunner, materializeContext, fetchControlPlaneCommit, lookupGoverningSource } from './chunk-J4NJWTNO.js';
|
|
5
|
+
import { buildRefusalReason } from './chunk-YEZGNCSK.js';
|
|
6
|
+
import { unsupportedLayout, layoutRefusalReason, composeDelivery } from './chunk-3XEYA3QF.js';
|
|
7
|
+
import { signingFetchFor } from './chunk-HR4PJLOO.js';
|
|
8
|
+
import { signerFor } from './chunk-KHJPRTOW.js';
|
|
9
|
+
import { SHIM_DIR, stagedContextDir, contextHomeDir, deliveryDir, keptContextDir } from './chunk-L3SHPR2M.js';
|
|
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';
|
|
13
13
|
import { relative, join, dirname } from 'path';
|
|
@@ -1,17 +1,17 @@
|
|
|
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-K26KMWU4.js';
|
|
4
4
|
import { launchRefusalForSession } from './chunk-WGC7UFRM.js';
|
|
5
|
-
import { detectActiveSession } from './chunk-
|
|
6
|
-
import { autoConnect } from './chunk-
|
|
5
|
+
import { detectActiveSession } from './chunk-T5I2H7TJ.js';
|
|
6
|
+
import { autoConnect } from './chunk-UZSMDU4U.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-HR4PJLOO.js';
|
|
10
10
|
import { parseTrackerNumber, trackerNumberError } from './chunk-WZBHBH3J.js';
|
|
11
11
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
12
|
-
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-
|
|
12
|
+
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-QJKW4MKH.js';
|
|
13
13
|
import { homeFromEnv, spoolHomeFromEnv } from './chunk-352DHUTP.js';
|
|
14
|
-
import { resolveRepoIdentity } from './chunk-
|
|
14
|
+
import { resolveRepoIdentity } from './chunk-WZOWXDDM.js';
|
|
15
15
|
import { ARTIFACT_MAX_CAPTION_LENGTH, ArtifactCriterionIdSchema, ARTIFACT_MAX_BYTES, ARTIFACT_MAX_FILENAME_LENGTH, mediaTypeForArtifactPath, inferArtifactKind, ARTIFACT_MAX_REPLACES_TARGETS, parseTestSelector, parseJunit, bindTests } from './chunk-WUKLQWGY.js';
|
|
16
16
|
import { createHash, randomUUID } from 'crypto';
|
|
17
17
|
import { statSync, readFileSync, mkdirSync, existsSync, writeFileSync, renameSync, unlinkSync } from 'fs';
|
|
@@ -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-54ERDQ3O.js';
|
|
5
5
|
import { readFileSync, existsSync, unlinkSync, rmdirSync, readdirSync } from 'fs';
|
|
6
6
|
import { join, dirname, relative, sep } from 'path';
|
|
7
7
|
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { PROXY_WARNING_FLAG } from './chunk-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
3
|
+
import { PROXY_WARNING_FLAG } from './chunk-LDKF6B2R.js';
|
|
4
|
+
import { RELAY_ID, RELAY_USER } from './chunk-7UYXSF62.js';
|
|
5
|
+
import { jobAgent, GH_VERSION, VOICE_PACK_FILES, VOICE_PACK_VERSION, FFMPEG_STATIC, FFMPEG_BUILD_TAG, GH_SHA256, TINI_SHA256, TINI_VERSION, HEADLESS_SHELL_REVISION, HEADLESS_SHELL_BASE_URL, PLAYWRIGHT_FFMPEG_BASE_URL, PLAYWRIGHT_FFMPEG_REVISION, HEADLESS_SHELL, PLAYWRIGHT_FFMPEG, PLAYWRIGHT_VERSION } from './chunk-IEDO26G4.js';
|
|
6
|
+
import { defaultAgents } from './chunk-54ERDQ3O.js';
|
|
6
7
|
|
|
7
8
|
createRequire(import.meta.url);
|
|
8
9
|
|
|
@@ -45,7 +46,7 @@ function plain(name, value, allowed) {
|
|
|
45
46
|
function toolsDockerfile(parts, agents = defaultAgents()) {
|
|
46
47
|
const recipeImage = plain("the recipe image", parts.recipeImage, /^[A-Za-z0-9_.:@/-]+$/);
|
|
47
48
|
const nodeImage = plain("the Node image", parts.nodeImage, /^[A-Za-z0-9_.:@/-]+$/);
|
|
48
|
-
const agent =
|
|
49
|
+
const agent = jobAgent(void 0, agents);
|
|
49
50
|
const image = parts.image ?? agent?.adapter.image;
|
|
50
51
|
const agentName = parts.agentName ?? (parts.image === void 0 ? agent?.descriptor.label : parts.image.command) ?? "agent";
|
|
51
52
|
const version = plain(`the ${agentName} version`, parts.claudeCodeVersion, /^[A-Za-z0-9.+-]+$/);
|
|
@@ -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-ZE2JJQPC.js';
|
|
4
|
+
import { currentVersion, currentLink, versionDir, execStartLine, isInLayout, packageRootIn, switchCurrent } from './chunk-P4Q6M6PI.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-L3SHPR2M.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 { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-
|
|
3
|
+
import { NATIVE_AGENTS, LEGACY_AGENT } from './chunk-QJKW4MKH.js';
|
|
4
4
|
|
|
5
5
|
createRequire(import.meta.url);
|
|
6
6
|
|
|
@@ -25,4 +25,4 @@ var SHIM_SCRIPT = `#!/bin/sh
|
|
|
25
25
|
exec outerlayer ${LEGACY.legacy.subcommand} "$@"
|
|
26
26
|
`;
|
|
27
27
|
|
|
28
|
-
export { CONTROL_PLANE_DIR_VARIABLE, GOVERNANCE_VARIABLE,
|
|
28
|
+
export { CONTROL_PLANE_DIR_VARIABLE, GOVERNANCE_VARIABLE, SHIM_SCRIPT, SUPPORTED_CONTROL_PLANE_LAYOUT, versionAtLeast };
|
|
@@ -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-L3SHPR2M.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,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { sanitizeTerminal } from './chunk-F3T5QJ24.js';
|
|
4
|
-
import { mcpFiles, skillLinkFolders, isAgentsMdLayout } from './chunk-
|
|
4
|
+
import { mcpFiles, skillLinkFolders, isAgentsMdLayout } from './chunk-QVOU2QUR.js';
|
|
5
5
|
import { DEFAULT_DASHBOARD } from './chunk-A6RI6KTI.js';
|
|
6
|
-
import { cliFetch, resolveGatewayCredentials } from './chunk-
|
|
6
|
+
import { cliFetch, resolveGatewayCredentials } from './chunk-HR4PJLOO.js';
|
|
7
7
|
import { readCloudConfig } from './chunk-HWVMRETT.js';
|
|
8
8
|
import { findGitDirs, writeRepoConnection, readRepoConnection } from './chunk-BJ3KTMDH.js';
|
|
9
9
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
10
|
-
import { defaultAgents } from './chunk-
|
|
11
|
-
import { remoteLookupFailed } from './chunk-
|
|
10
|
+
import { defaultAgents } from './chunk-54ERDQ3O.js';
|
|
11
|
+
import { remoteLookupFailed } from './chunk-WZOWXDDM.js';
|
|
12
12
|
import { execFileSync } from 'child_process';
|
|
13
13
|
import { lstatSync } from 'fs';
|
|
14
14
|
import { join, relative } from 'path';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { sanitizeTerminal } from './chunk-F3T5QJ24.js';
|
|
4
|
-
import { isAgentsMdLayout } from './chunk-
|
|
5
|
-
import { resolveGatewayCredentials, defaultFetch } from './chunk-
|
|
6
|
-
import { versionAtLeast } from './chunk-
|
|
4
|
+
import { isAgentsMdLayout } from './chunk-QVOU2QUR.js';
|
|
5
|
+
import { resolveGatewayCredentials, defaultFetch } from './chunk-HR4PJLOO.js';
|
|
6
|
+
import { versionAtLeast } from './chunk-OV4XTV5M.js';
|
|
7
7
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
8
|
-
import { machineSkillsState, staleAgentSkills } from './chunk-
|
|
8
|
+
import { machineSkillsState, staleAgentSkills } from './chunk-U6EACUUG.js';
|
|
9
9
|
import { cliInvocation } from './chunk-FZKNTIOJ.js';
|
|
10
|
-
import { hasSymlinkComponent } from './chunk-
|
|
11
|
-
import { skillDir, emitTree, targetIds, classifyTree, emitBuilders, AGENTS_SKILLS_BASE, defaultAgents, namesCore, MACHINE_SKILL_PATH, skillBases, isMaintainedCopy, contextAgents, loadTemplateFiles, splitRawFile } from './chunk-
|
|
10
|
+
import { hasSymlinkComponent } from './chunk-DEZSNJSE.js';
|
|
11
|
+
import { skillDir, emitTree, targetIds, classifyTree, emitBuilders, AGENTS_SKILLS_BASE, defaultAgents, namesCore, MACHINE_SKILL_PATH, skillBases, isMaintainedCopy, contextAgents, loadTemplateFiles, splitRawFile } from './chunk-54ERDQ3O.js';
|
|
12
12
|
import { MAINTAINED_SKILLS } from './chunk-CDDED64E.js';
|
|
13
13
|
import { execFileSync } from 'child_process';
|
|
14
14
|
import { existsSync, readFileSync, writeFileSync, realpathSync, readdirSync } from 'fs';
|
|
@@ -84,4 +84,9 @@ var PROVIDERS = {
|
|
|
84
84
|
}
|
|
85
85
|
};
|
|
86
86
|
|
|
87
|
-
|
|
87
|
+
// ../agents/src/server.ts
|
|
88
|
+
function homeRelative(folder) {
|
|
89
|
+
return folder.replace(/^~\//, "");
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
export { CLAUDE_CODE, LEGACY_AGENT, NATIVE_AGENTS, PROVIDERS, homeRelative };
|