@outerlayer/cli 0.34.0-next.20261024174615 → 0.34.0-next.20261024225538
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 +5 -5
- package/dist/{agent-setup-FBAT5LGX.js → agent-setup-HEJM3D3V.js} +9 -9
- package/dist/build-info.json +1 -1
- package/dist/{check-K4I4EBEK.js → check-OOUGS65D.js} +20 -19
- package/dist/{chunk-SVLFZLTE.js → chunk-272AKVRP.js} +5 -5
- package/dist/{chunk-B5MSDF5B.js → chunk-2AIOOU3A.js} +4 -4
- package/dist/{chunk-BTHH5H5H.js → chunk-3IH6K7KG.js} +2 -2
- package/dist/{chunk-XFAJQZN2.js → chunk-4P6QGMPN.js} +2 -2
- package/dist/{chunk-DFLHVTXI.js → chunk-4Y54SQXH.js} +32 -14
- package/dist/{chunk-MHGIN2X6.js → chunk-5HZGLLNW.js} +2 -2
- package/dist/{chunk-74Q24R3B.js → chunk-5QBUX5YZ.js} +7 -7
- package/dist/{chunk-6AQLRSYU.js → chunk-62LXQM7U.js} +2 -2
- package/dist/{chunk-SHIGGHZO.js → chunk-65AKMFBH.js} +2 -2
- package/dist/{chunk-OHJDH5GV.js → chunk-6NUPXDAA.js} +1 -1
- package/dist/{chunk-ZADIXMKT.js → chunk-7WM7K2DY.js} +1 -1
- package/dist/{chunk-XLJHFZRL.js → chunk-ACRRO3MB.js} +7 -7
- package/dist/{chunk-OLCIPTST.js → chunk-AP2K4LPI.js} +4 -4
- package/dist/{chunk-YPCDDQFU.js → chunk-DQ6YO7FH.js} +1 -1
- package/dist/chunk-E4ASIOVL.js +170 -0
- package/dist/{chunk-NVDPSH72.js → chunk-EE2ZZGQV.js} +1 -1
- package/dist/{chunk-GWF3ZRUX.js → chunk-EN3YWO7Q.js} +1 -1
- package/dist/{chunk-CQRPR4WZ.js → chunk-FGXT5OXS.js} +56 -126
- package/dist/{chunk-3KT2IWV3.js → chunk-FVKH3PMV.js} +49 -9
- package/dist/{chunk-UF2FU3CM.js → chunk-JWNH4ZTF.js} +2 -2
- package/dist/{chunk-2G7PJAJZ.js → chunk-K5Q6T7SE.js} +1 -1
- package/dist/{chunk-TIRHZC2M.js → chunk-NKOM4JKY.js} +2 -2
- package/dist/{chunk-B44BFR2Q.js → chunk-O6DYCIVW.js} +3 -3
- package/dist/{chunk-YREGBU3O.js → chunk-QDVGOMSC.js} +1 -1
- package/dist/{chunk-5XZ6BUPH.js → chunk-QMWUPRYQ.js} +1 -1
- package/dist/{chunk-HMCBX3PL.js → chunk-RCRE42V6.js} +1 -1
- package/dist/{chunk-R2CLQJA2.js → chunk-TDAQHYM4.js} +1 -1
- package/dist/{chunk-SMAZA7DM.js → chunk-XFFUXXI4.js} +2 -2
- package/dist/{chunk-TFKROYY2.js → chunk-YEVPRO7L.js} +3 -3
- package/dist/{chunk-HBVHRC3A.js → chunk-YGSY2NWU.js} +2 -2
- package/dist/{chunk-PBIYM2Z6.js → chunk-YIBFGAYI.js} +2 -2
- package/dist/{chunk-HIGP4WOC.js → chunk-Z4KWHSO4.js} +3 -3
- package/dist/{chunk-ZGB4ZJ5E.js → chunk-ZQSANKS4.js} +1 -1
- package/dist/{chunk-5WCBFLES.js → chunk-ZW6L275N.js} +7 -7
- package/dist/{claude-launcher-YXRS4EZE.js → claude-launcher-MORG66PJ.js} +4 -4
- package/dist/{cli-KDAKXVVE.js → cli-XI7RUSC5.js} +100 -93
- package/dist/{command-YQBQDIAM.js → command-BJSHY6OB.js} +10 -10
- package/dist/{connect-cmd-42JHZKWN.js → connect-cmd-YAUOCX4X.js} +4 -4
- package/dist/{container-start-V5WVSWAB.js → container-start-QADK3YGL.js} +18 -17
- package/dist/{context-cleanup-YGWYIFFV.js → context-cleanup-LUBEZB3L.js} +2 -2
- package/dist/{context-show-cmd-LIWHRWVT.js → context-show-cmd-VHY3OBIA.js} +5 -5
- package/dist/{control-plane-launch-AXBWT5CC.js → control-plane-launch-QSBWTA2V.js} +5 -5
- package/dist/{doctor-AZZJBJYO.js → doctor-UR76MCGI.js} +11 -11
- package/dist/{emit-artifact-cmd-NU5JURAA.js → emit-artifact-cmd-DP2EQ54N.js} +9 -9
- package/dist/{emit-cmd-A4CB7BEC.js → emit-cmd-7NMNKDK7.js} +5 -5
- package/dist/{emit-criteria-cmd-RAU3PDEK.js → emit-criteria-cmd-TTFBN6RK.js} +6 -6
- package/dist/{emit-demo-cmd-524A54D5.js → emit-demo-cmd-Z7YGLEBJ.js} +10 -10
- package/dist/{emit-finding-cmd-LE3HFQWL.js → emit-finding-cmd-IQRD3J2X.js} +6 -6
- package/dist/{emit-result-cmd-XT2VEPAJ.js → emit-result-cmd-GIWB6UHH.js} +8 -8
- package/dist/{emit-step-cmd-LXOKBFQE.js → emit-step-cmd-PU5TTU6C.js} +6 -6
- package/dist/{findings-cmd-O5HUK26I.js → findings-cmd-7J5SHCUO.js} +6 -6
- package/dist/{fleet-readiness-VAKMSSWI.js → fleet-readiness-G63D76EX.js} +6 -6
- package/dist/{governing-source-FNSH4V4A.js → governing-source-DLESDP6T.js} +9 -9
- package/dist/{hook-fast-WENTLDMA.js → hook-fast-VQXRDS6E.js} +1 -1
- package/dist/index.js +4 -4
- package/dist/{init-RUIWHKLE.js → init-67R7LO4C.js} +10 -10
- package/dist/{init-LQDKX2XL.js → init-KSXU4PA7.js} +10 -10
- package/dist/{init-cmd-2OTTULTI.js → init-cmd-MNOVMADM.js} +14 -14
- package/dist/{init-update-TN2W4EN6.js → init-update-6KEXRCJH.js} +13 -13
- package/dist/{layout-NAPG4SX2.js → layout-7B3O3FT3.js} +3 -3
- package/dist/{loop-E4YJ6BLL.js → loop-KUEOPBKX.js} +20 -19
- package/dist/{machine-IEYKRHRK.js → machine-EQEAPT76.js} +10 -10
- package/dist/{machine-skills-2TT3RXMJ.js → machine-skills-3FEGR376.js} +3 -3
- package/dist/{runner-key-QKZZTKLY.js → runner-key-ML7R33HF.js} +10 -10
- package/dist/{session-sender-IH44FURK.js → session-sender-A43GZQ7T.js} +9 -9
- package/dist/{spec-cmd-2LRTOTAO.js → spec-cmd-VVUJZSG2.js} +7 -7
- package/dist/{starter-pack-5D4BANFU.js → starter-pack-LEL3Q2DB.js} +4 -4
- package/dist/{status-6ISCZDBX.js → status-4G6K7I2C.js} +15 -15
- package/dist/{sync-cmd-MIID2ANV.js → sync-cmd-ZEC65ABJ.js} +8 -8
- package/dist/update-steps-XLO7734I.js +73 -0
- package/dist/{watch-K5UUKCPB.js → watch-QB4AMWR3.js} +8 -8
- package/dist/{work-claim-cmd-2LD2JQKI.js → work-claim-cmd-6W3GBHRS.js} +8 -8
- package/dist/{work-cmd-NR53YCXJ.js → work-cmd-LTZXOPPN.js} +6 -6
- package/dist/{work-comment-cmd-PC4HNM45.js → work-comment-cmd-LDZBUO6M.js} +7 -7
- package/dist/{work-demo-cmd-S5EJXBVH.js → work-demo-cmd-77LISWQ3.js} +6 -6
- package/dist/{work-logs-cmd-5F6MDBLQ.js → work-logs-cmd-FK7HE7PC.js} +6 -6
- package/dist/{work-open-pr-cmd-SWVFDSMY.js → work-open-pr-cmd-WVONEHZL.js} +7 -7
- package/dist/{work-pr-cmd-DXW4RXG4.js → work-pr-cmd-6IPXWJEH.js} +6 -6
- package/dist/{work-proofs-cmd-UVTSPFLL.js → work-proofs-cmd-TGIAP5IO.js} +7 -7
- package/dist/work-proofs-record-XPAU7N57.js +2382 -0
- package/dist/{work-stop-cmd-HL6FZL5X.js → work-stop-cmd-UJ45EV3A.js} +6 -6
- package/package.json +2 -1
- package/skill-pack/maintained/outerlayer-amend/SKILL.md +1 -2
- package/skill-pack/maintained/outerlayer-build/SKILL.md +4 -3
- package/skill-pack/maintained/outerlayer-build/references/agent-briefs.md +30 -28
- package/skill-pack/maintained/outerlayer-build/references/evidence.md +5 -5
- package/skill-pack/maintained/outerlayer-evidence/SKILL.md +1 -1
- package/dist/chunk-RT6VNM3S.js +0 -148
- package/dist/work-proofs-init-GNGI7PZU.js +0 -35
- package/dist/work-proofs-record-HTWSMEDG.js +0 -402
package/README.md
CHANGED
|
@@ -94,10 +94,10 @@ content:
|
|
|
94
94
|
reads the runner's log for a host attempt. `outerlayer work demo` reads an
|
|
95
95
|
item's newest demo record with `GET /v1/work-items/<n>/demo`.
|
|
96
96
|
`outerlayer work proofs` reads the item with `GET /v1/work-items/<n>` and
|
|
97
|
-
compares each proof with the head commit. `outerlayer work proofs --
|
|
98
|
-
reads the same item
|
|
99
|
-
|
|
100
|
-
|
|
97
|
+
compares each proof with the head commit. `outerlayer work proofs --record`
|
|
98
|
+
reads the same item, reruns the tests at HEAD that name each proof that is
|
|
99
|
+
not current, and emits each proof they write, with an optional comment,
|
|
100
|
+
through your gateway. `outerlayer work stop` sends
|
|
101
101
|
`POST /v1/work-items/<n>/claim/stop` with the optional note, and the
|
|
102
102
|
gateway records the request against the item's live host build. A runner
|
|
103
103
|
key needs `git.read` and `work.read` to
|
|
@@ -504,7 +504,7 @@ before it gives up.
|
|
|
504
504
|
| `outerlayer emit <name> --result <pass\|fail> [--link <url>] [--body <text>\|--body-file <path>] --item <number>` | Record one named check's outcome on a work item. A check that ran carries the run URL as its proof (`--link`); a judgment you are making yourself carries one sentence (`--body`, or `--body-file` to read it from a file — `-` reads standard input). A `fail` needs at least one of the two; a `pass` needs neither. `--item` names the work item by the number printed when the item was created — always required, in or out of a recorded session; a session records checks on its own item like any other, stored as the session's, but cannot clear a person's fail. Prints the recorded check's id. Who recorded it comes from your API key, never from what you send. |
|
|
505
505
|
| `outerlayer work comment --item <n> [--criterion <id>] --body <text> [--artifact <id>] [--pass\|--fail\|--attach\|--ready]` | Post one comment on a work item's general thread, or on one acceptance criterion's own thread with `--criterion`. `--pass`/`--fail` need a person's own credential and apply to the whole item, so they work on the general thread only and the gateway refuses them with `--criterion`; `--attach` makes the named artifact that criterion's current proof; `--ready` hands a thread back to a person. The detected session id rides along automatically, only ever narrowing what the comment may do. |
|
|
506
506
|
| `outerlayer work stop --item <n> [--note <text>]` | Ask the host that holds the item's build to end it. The host reads the request at its next heartbeat and ends the build with outcome `stopped`, so the build may run a little longer. The item is not built again until a new build request. Needs `work.update`. Exits 1 when no host build is running for the item. |
|
|
507
|
-
| `outerlayer work proofs [--item <n>] [--json]` | Lists each criterion that declares a proof other than `test` as current, out of date or missing at the checkout's HEAD, or at the head of a linked pull request that is open or merged. Exits 0 when every proof is current, 1 when any is not, and 2 when it cannot tell. |
|
|
507
|
+
| `outerlayer work proofs [--item <n>] [--json]` | Lists each criterion that declares a proof other than `test` as current, out of date or missing at the checkout's HEAD, or at the head of a linked pull request that is open or merged. Exits 0 when every proof is current, 1 when any is not, and 2 when it cannot tell. With `--record`, it first reruns the tests at HEAD that name each proof that is not current, through `.outerlayer-proofs.yaml`, and emits what they write. |
|
|
508
508
|
| `outerlayer work demo --item <n> [--json]` | Print the item's newest demo record: its artifact id, the commit it was recorded at and the test that recorded it. `--json` prints `{ "demo": null }` for an item with no demo. |
|
|
509
509
|
| `outerlayer work logs --item <n> [--attempt <claim id>]` | Print the runner's log for a host attempt on a work item: the newest attempt a runner made, or the one `--attempt` names (an `id` from `claims` in `work status --json`). The log is what the runner did around the agent, with secrets removed on the host. Exits 1 for an attempt that is still running or that an older runner released without a log. |
|
|
510
510
|
| `outerlayer work threads --item <n>` | Read a work item's threads back — the general thread first, then one per criterion with proof or a comment, each with its `waitingOn`. |
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { keepHandWritten, runAgentSetup } from './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
export { keepHandWritten, runAgentSetup } from './chunk-5QBUX5YZ.js';
|
|
4
|
+
import './chunk-2AIOOU3A.js';
|
|
5
5
|
import './chunk-KT4CN6OU.js';
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
6
|
+
import './chunk-4P6QGMPN.js';
|
|
7
|
+
import './chunk-NKOM4JKY.js';
|
|
8
8
|
import './chunk-ANPNT6PM.js';
|
|
9
|
-
import './chunk-
|
|
10
|
-
import './chunk-
|
|
9
|
+
import './chunk-O6DYCIVW.js';
|
|
10
|
+
import './chunk-JWNH4ZTF.js';
|
|
11
11
|
import './chunk-6RKD7YZ6.js';
|
|
12
12
|
import './chunk-PJDQPF5N.js';
|
|
13
13
|
import './chunk-SOI6K5DY.js';
|
|
@@ -15,15 +15,15 @@ import './chunk-PA6CK6WQ.js';
|
|
|
15
15
|
import './chunk-BALIE3BA.js';
|
|
16
16
|
import './chunk-ZJSNLVCE.js';
|
|
17
17
|
import './chunk-BJ3KTMDH.js';
|
|
18
|
-
import './chunk-
|
|
18
|
+
import './chunk-ZQSANKS4.js';
|
|
19
19
|
import './chunk-5BHIBJDA.js';
|
|
20
20
|
import './chunk-CDDED64E.js';
|
|
21
21
|
import './chunk-RA3O54FC.js';
|
|
22
22
|
import './chunk-CRB3POP4.js';
|
|
23
|
-
import './chunk-
|
|
23
|
+
import './chunk-DQ6YO7FH.js';
|
|
24
24
|
import './chunk-YQR6E6OV.js';
|
|
25
25
|
import './chunk-TUSYOL2O.js';
|
|
26
|
-
import './chunk-
|
|
26
|
+
import './chunk-FGXT5OXS.js';
|
|
27
27
|
import './chunk-EOTMDIYC.js';
|
|
28
28
|
import './chunk-VNVZDWO3.js';
|
|
29
29
|
import './chunk-HACGUL52.js';
|
package/dist/build-info.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"id":"2026-10-
|
|
1
|
+
{"id":"2026-10-24T22:57:19.596Z+5cf285c","root":"/home/runner/_work/outerlayer/outerlayer","pkg":"outerlayer"}
|
|
@@ -1,25 +1,26 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { probeCredentials } from './chunk-
|
|
3
|
+
import { probeCredentials } from './chunk-4Y54SQXH.js';
|
|
4
4
|
import './chunk-3JVYMD4G.js';
|
|
5
|
-
import './chunk-
|
|
5
|
+
import './chunk-YIBFGAYI.js';
|
|
6
6
|
import './chunk-E7R2GIAW.js';
|
|
7
|
-
import './chunk-XLJHFZRL.js';
|
|
8
|
-
import './chunk-DA3PLB5N.js';
|
|
9
7
|
import './chunk-GH246BGV.js';
|
|
8
|
+
import './chunk-E4ASIOVL.js';
|
|
9
|
+
import './chunk-ACRRO3MB.js';
|
|
10
10
|
import './chunk-ZVB57WI6.js';
|
|
11
11
|
import './chunk-57L2YAJA.js';
|
|
12
|
+
import './chunk-DA3PLB5N.js';
|
|
12
13
|
import './chunk-HVRQQOMH.js';
|
|
13
14
|
import './chunk-6LBSAW6I.js';
|
|
14
15
|
import './chunk-I3LTIAOR.js';
|
|
15
|
-
import './chunk-
|
|
16
|
-
import './chunk-
|
|
17
|
-
import './chunk-
|
|
16
|
+
import './chunk-XFFUXXI4.js';
|
|
17
|
+
import './chunk-YGSY2NWU.js';
|
|
18
|
+
import './chunk-QMWUPRYQ.js';
|
|
18
19
|
import './chunk-ESVW4MJY.js';
|
|
19
|
-
import { managedProblems, managedFactsOf } from './chunk-
|
|
20
|
+
import { managedProblems, managedFactsOf } from './chunk-7WM7K2DY.js';
|
|
20
21
|
import './chunk-NBZ7XBT6.js';
|
|
21
22
|
import './chunk-TBT347UY.js';
|
|
22
|
-
import { placeholderQueues, placeholderProblem, permissionModeProblems, permissionModeProblem, probeHelper, HELPER_ENV, helperSocketPath, needsClaudeCredential, claudeCredentialCheck, claimPermissionProblem, formerSkillQueues, formerSkillProblem } from './chunk-
|
|
23
|
+
import { placeholderQueues, placeholderProblem, permissionModeProblems, permissionModeProblem, probeHelper, HELPER_ENV, helperSocketPath, needsClaudeCredential, claudeCredentialCheck, claimPermissionProblem, formerSkillQueues, formerSkillProblem } from './chunk-YEVPRO7L.js';
|
|
23
24
|
import './chunk-2PGI6RDE.js';
|
|
24
25
|
import './chunk-2JB4GD34.js';
|
|
25
26
|
import './chunk-ZVLSYWDF.js';
|
|
@@ -28,7 +29,7 @@ import './chunk-JBJTC3UU.js';
|
|
|
28
29
|
import './chunk-OGFGZQA3.js';
|
|
29
30
|
import './chunk-5THSC6BD.js';
|
|
30
31
|
import './chunk-L26V6ILJ.js';
|
|
31
|
-
import './chunk-
|
|
32
|
+
import './chunk-62LXQM7U.js';
|
|
32
33
|
import './chunk-MZBQTVFG.js';
|
|
33
34
|
import './chunk-TQMI335S.js';
|
|
34
35
|
import { DEFAULT_UNIT_NAME } from './chunk-AMEM2ZLL.js';
|
|
@@ -37,31 +38,31 @@ import './chunk-ZYKFYNES.js';
|
|
|
37
38
|
import './chunk-43I7PXDP.js';
|
|
38
39
|
import './chunk-3Z3MPR55.js';
|
|
39
40
|
import './chunk-ES4ULBAL.js';
|
|
40
|
-
import './chunk-
|
|
41
|
+
import './chunk-Z4KWHSO4.js';
|
|
41
42
|
import './chunk-IP7BIBXJ.js';
|
|
42
|
-
import './chunk-
|
|
43
|
-
import './chunk-
|
|
43
|
+
import './chunk-6NUPXDAA.js';
|
|
44
|
+
import './chunk-EE2ZZGQV.js';
|
|
44
45
|
import './chunk-MECW77XP.js';
|
|
45
46
|
import './chunk-6ZFY2L2T.js';
|
|
46
|
-
import './chunk-
|
|
47
|
+
import './chunk-NKOM4JKY.js';
|
|
47
48
|
import './chunk-Y5YCX6AL.js';
|
|
48
49
|
import './chunk-G2JWZDFA.js';
|
|
49
50
|
import './chunk-ANPNT6PM.js';
|
|
50
|
-
import './chunk-
|
|
51
|
-
import './chunk-
|
|
51
|
+
import './chunk-O6DYCIVW.js';
|
|
52
|
+
import './chunk-JWNH4ZTF.js';
|
|
52
53
|
import './chunk-6RKD7YZ6.js';
|
|
53
54
|
import './chunk-PJDQPF5N.js';
|
|
54
55
|
import './chunk-SOI6K5DY.js';
|
|
55
56
|
import './chunk-PA6CK6WQ.js';
|
|
56
57
|
import { claudeEnvPath } from './chunk-BALIE3BA.js';
|
|
57
|
-
import './chunk-
|
|
58
|
+
import './chunk-65AKMFBH.js';
|
|
58
59
|
import './chunk-ZJSNLVCE.js';
|
|
59
60
|
import './chunk-2O5KA67H.js';
|
|
60
61
|
import './chunk-BKO6JEZI.js';
|
|
61
62
|
import './chunk-FGF52V4V.js';
|
|
62
63
|
import './chunk-HCVLP7XA.js';
|
|
63
64
|
import './chunk-BJ3KTMDH.js';
|
|
64
|
-
import './chunk-
|
|
65
|
+
import './chunk-ZQSANKS4.js';
|
|
65
66
|
import './chunk-5BHIBJDA.js';
|
|
66
67
|
import './chunk-CDDED64E.js';
|
|
67
68
|
import './chunk-RA3O54FC.js';
|
|
@@ -71,7 +72,7 @@ import './chunk-CRB3POP4.js';
|
|
|
71
72
|
import './chunk-URIZRCRY.js';
|
|
72
73
|
import './chunk-YQR6E6OV.js';
|
|
73
74
|
import './chunk-TUSYOL2O.js';
|
|
74
|
-
import './chunk-
|
|
75
|
+
import './chunk-FGXT5OXS.js';
|
|
75
76
|
import './chunk-EOTMDIYC.js';
|
|
76
77
|
import './chunk-VNVZDWO3.js';
|
|
77
78
|
import { parseRunnerEnv } from './chunk-HACGUL52.js';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { sanitizeTerminal } from './chunk-MECW77XP.js';
|
|
4
|
-
import { isAgentsMdLayout } from './chunk-
|
|
4
|
+
import { isAgentsMdLayout } from './chunk-NKOM4JKY.js';
|
|
5
5
|
import { resolveGatewayCredentials, defaultFetch } from './chunk-6RKD7YZ6.js';
|
|
6
6
|
import { versionAtLeast } from './chunk-HCVLP7XA.js';
|
|
7
7
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
8
|
-
import { machineSkillsState, staleClaudeSkills } from './chunk-
|
|
9
|
-
import { AGENTS_SKILLS_BASE, skillDir, namesCore, MACHINE_SKILL_PATH, isMaintainedCopy, loadTemplateFiles } from './chunk-
|
|
8
|
+
import { machineSkillsState, staleClaudeSkills } from './chunk-RCRE42V6.js';
|
|
9
|
+
import { AGENTS_SKILLS_BASE, skillDir, namesCore, MACHINE_SKILL_PATH, isMaintainedCopy, loadTemplateFiles } from './chunk-ZQSANKS4.js';
|
|
10
10
|
import { MAINTAINED_SKILLS } from './chunk-CDDED64E.js';
|
|
11
11
|
import { cliInvocation } from './chunk-CRB3POP4.js';
|
|
12
|
-
import { hasSymlinkComponent } from './chunk-
|
|
13
|
-
import { emitTree, ALL_TARGET_IDS, classifyTree, splitRawFile } from './chunk-
|
|
12
|
+
import { hasSymlinkComponent } from './chunk-DQ6YO7FH.js';
|
|
13
|
+
import { emitTree, ALL_TARGET_IDS, classifyTree, splitRawFile } from './chunk-FGXT5OXS.js';
|
|
14
14
|
import { execFileSync } from 'child_process';
|
|
15
15
|
import { existsSync, readFileSync, writeFileSync, realpathSync, readdirSync } from 'fs';
|
|
16
16
|
import { join, dirname, posix, basename, isAbsolute, relative } 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-NKOM4JKY.js';
|
|
4
4
|
import { C } from './chunk-ANPNT6PM.js';
|
|
5
|
-
import { retiredSkillPaths, removeRetiredSkills } from './chunk-
|
|
6
|
-
import { maintainedFilesForExistingSkills, loadMaintainedFiles, writeMaintainedFiles } from './chunk-
|
|
5
|
+
import { retiredSkillPaths, removeRetiredSkills } from './chunk-JWNH4ZTF.js';
|
|
6
|
+
import { maintainedFilesForExistingSkills, loadMaintainedFiles, writeMaintainedFiles } from './chunk-ZQSANKS4.js';
|
|
7
7
|
import { cliInvocation } from './chunk-CRB3POP4.js';
|
|
8
|
-
import { emitTree, generatedHeaderSource, parseOuterlayerConfig, classifyTree } from './chunk-
|
|
8
|
+
import { emitTree, generatedHeaderSource, parseOuterlayerConfig, classifyTree } from './chunk-FGXT5OXS.js';
|
|
9
9
|
import { existsSync, readFileSync, mkdirSync, writeFileSync, copyFileSync, unlinkSync, rmdirSync, readdirSync } from 'fs';
|
|
10
10
|
import { join, dirname } from 'path';
|
|
11
11
|
|
|
@@ -1,11 +1,11 @@
|
|
|
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-5HZGLLNW.js';
|
|
5
5
|
import { VoiceDownloadError, downloadPinned, sha256OfFile } from './chunk-2PGI6RDE.js';
|
|
6
6
|
import { VOICE_PACK_FILES, VOICE_PACK_VERSION } from './chunk-ES4ULBAL.js';
|
|
7
7
|
import { detectActiveSession } from './chunk-IP7BIBXJ.js';
|
|
8
|
-
import { autoConnect } from './chunk-
|
|
8
|
+
import { autoConnect } from './chunk-6NUPXDAA.js';
|
|
9
9
|
import { resolveRepoIdentity } from './chunk-6ZFY2L2T.js';
|
|
10
10
|
import { C } from './chunk-ANPNT6PM.js';
|
|
11
11
|
import { defaultFetch, resolveGatewayCredentials } from './chunk-6RKD7YZ6.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { C } from './chunk-ANPNT6PM.js';
|
|
4
|
-
import { resolvePackRoot, OUTERLAYER_SKILLS_BASE, loadTemplateFiles, AGENTS_SKILLS_BASE, loadMaintainedFiles, rewriteSkillPaths, TEMPLATE_SKILLS, skillDir, writeMaintainedFiles, MACHINE_SKILL_PATH } from './chunk-
|
|
4
|
+
import { resolvePackRoot, OUTERLAYER_SKILLS_BASE, loadTemplateFiles, AGENTS_SKILLS_BASE, loadMaintainedFiles, rewriteSkillPaths, TEMPLATE_SKILLS, skillDir, writeMaintainedFiles, MACHINE_SKILL_PATH } from './chunk-ZQSANKS4.js';
|
|
5
5
|
import { MAINTAINED_SKILLS } from './chunk-CDDED64E.js';
|
|
6
6
|
import { resolvePackageVersion } from './chunk-RA3O54FC.js';
|
|
7
7
|
import { cliInvocation } from './chunk-CRB3POP4.js';
|
|
8
|
-
import { linkedAgentsPath } from './chunk-
|
|
8
|
+
import { linkedAgentsPath } from './chunk-DQ6YO7FH.js';
|
|
9
9
|
import { readFileSync, existsSync, mkdirSync, writeFileSync } from 'fs';
|
|
10
10
|
import { join, dirname } from 'path';
|
|
11
11
|
|
|
@@ -1,26 +1,27 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { decideInstalledSwitch } from './chunk-3JVYMD4G.js';
|
|
4
|
-
import { reportFailedStart, fitImageBuildMemory } from './chunk-
|
|
4
|
+
import { reportFailedStart, fitImageBuildMemory } from './chunk-YIBFGAYI.js';
|
|
5
5
|
import { fetchVersionMeta, npmVersion, npmSupportsProvenance, fetchTarballDigest, fetchProvenance, installVersion, auditSignatures } from './chunk-E7R2GIAW.js';
|
|
6
|
-
import { releaseLease, isUnfinished, setStage, jobEnv, runHook, describeHookEnd, provisionMicroVm, deliverCommitHooks, provisionProcess, readProvisionOut, workdirProblem, MICROVM_COMMAND_DIR, commandLogOffset, startMicroVmCommand, microVmCommandLine, runCommand, startSender, finishJob, sampleGuest, foldSample, isContainerTracked, isMicroVmTracked, probeMicroVmCommand, probeCommand, appendCommandLog, judgeProbe, EXIT_CODE_FILE, isTracked, isGroupAlive, outcomeFromExitCode, isTimedOut, readCpuUsec, isIdle, stopOrphanedMicroVms, unfinishedJobs, listUnreadableJobs, listAdoptableJobs, retryFailedReleases, recoverLostJobs, GUEST_USAGE_INTERVAL_MS, hookLimitsFor, AttemptLogBook, microVmOomKills, needsRenew, renewLease, RENEW_INTERVAL_SECONDS, listTrackedJobs, restartSender, serveLease, vmAlive, writeGuestGhConfig, ALREADY_RELEASED, inTeardown } from './chunk-XLJHFZRL.js';
|
|
7
|
-
import { RUNNER_PROTOCOL } from './chunk-DA3PLB5N.js';
|
|
8
6
|
import { writePendingUpdate } from './chunk-GH246BGV.js';
|
|
7
|
+
import { renderUpdateSteps } from './chunk-E4ASIOVL.js';
|
|
8
|
+
import { releaseLease, isUnfinished, setStage, jobEnv, runHook, describeHookEnd, provisionMicroVm, deliverCommitHooks, provisionProcess, readProvisionOut, workdirProblem, MICROVM_COMMAND_DIR, commandLogOffset, startMicroVmCommand, microVmCommandLine, runCommand, startSender, finishJob, sampleGuest, foldSample, isContainerTracked, isMicroVmTracked, probeMicroVmCommand, probeCommand, appendCommandLog, judgeProbe, EXIT_CODE_FILE, isTracked, isGroupAlive, outcomeFromExitCode, isTimedOut, readCpuUsec, isIdle, stopOrphanedMicroVms, unfinishedJobs, listUnreadableJobs, listAdoptableJobs, retryFailedReleases, recoverLostJobs, GUEST_USAGE_INTERVAL_MS, hookLimitsFor, AttemptLogBook, microVmOomKills, needsRenew, renewLease, RENEW_INTERVAL_SECONDS, listTrackedJobs, restartSender, serveLease, vmAlive, writeGuestGhConfig, ALREADY_RELEASED, inTeardown } from './chunk-ACRRO3MB.js';
|
|
9
9
|
import { JOB_STATE_FORMAT, readsJobState, jobStateFormatOf } from './chunk-ZVB57WI6.js';
|
|
10
10
|
import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-57L2YAJA.js';
|
|
11
|
-
import {
|
|
11
|
+
import { RUNNER_PROTOCOL } from './chunk-DA3PLB5N.js';
|
|
12
|
+
import { realBlockedProbes, checkBlockedWithSlots, keepsHostBuilder } from './chunk-7WM7K2DY.js';
|
|
12
13
|
import { writeMarker, readMarker, currentVersion, removeMarker, isInLayout, startedThroughCurrent, entryIn, versionDir, switchCurrent, cleanVersions, stagingDir } from './chunk-NBZ7XBT6.js';
|
|
13
14
|
import { RepoFilter } from './chunk-TBT347UY.js';
|
|
14
|
-
import { leaseTimeLeftMs, createContainerRuntime, withTunnelLog, LEASE_SECONDS, attemptNote, needsBuildSkill, provisionContainer, leaseExpiresAtMs, deliverContainerHooks, provisionEnvironment, resolveHostBuild, listenOnBroker, hostEnvironment, deliverExecMaven, runWithSpawn, hostCommandEnvironment, lifecycleSteps, execArgv, lifecycleFailureReason, decideHostBuildSkill, prepareBranch, currentSkillCommand, formerSkillProblem, containerCommandExec, execCommandLine, startHostServices, setUpRunnerCgroup, sweepImageBuilders, measureDisk, parseCpuList, ensureTunnel, keepGhConfigCurrent, filesAreCopied, gitRemoteFor, startServicesFor, createLeaseChannel } from './chunk-
|
|
15
|
+
import { leaseTimeLeftMs, createContainerRuntime, withTunnelLog, LEASE_SECONDS, attemptNote, needsBuildSkill, provisionContainer, leaseExpiresAtMs, deliverContainerHooks, provisionEnvironment, resolveHostBuild, listenOnBroker, hostEnvironment, deliverExecMaven, runWithSpawn, hostCommandEnvironment, lifecycleSteps, execArgv, lifecycleFailureReason, decideHostBuildSkill, prepareBranch, currentSkillCommand, formerSkillProblem, containerCommandExec, execCommandLine, startHostServices, setUpRunnerCgroup, sweepImageBuilders, measureDisk, parseCpuList, ensureTunnel, keepGhConfigCurrent, filesAreCopied, gitRemoteFor, startServicesFor, createLeaseChannel } from './chunk-YEVPRO7L.js';
|
|
15
16
|
import { claimPidFile, writePidFile, readPidFile, releasePidFile } from './chunk-F5UL23I2.js';
|
|
16
17
|
import { startTimeOf, isSameProcess } from './chunk-JBJTC3UU.js';
|
|
17
|
-
import { describeCallFailure, retrySend, shortClaim, relativeToRunner, formatDuration, resolveGoverningSource, BuildTokens, classifyRefusal, refusalCode, createRunnerLog, formatClock } from './chunk-
|
|
18
|
-
import {
|
|
18
|
+
import { describeCallFailure, retrySend, shortClaim, relativeToRunner, formatDuration, resolveGoverningSource, BuildTokens, classifyRefusal, refusalCode, createRunnerLog, formatClock } from './chunk-62LXQM7U.js';
|
|
19
|
+
import { imageTag, writeUpdateStatus, pullInstruction, tagToPull } from './chunk-MZBQTVFG.js';
|
|
19
20
|
import { isVersion, compareVersions, satisfiesRange } from './chunk-TQMI335S.js';
|
|
20
21
|
import { isBuiltinContainer, isBuiltinVm, isBuiltinProcess, loadRunnerConfig, checkHooks, builtinKind, DEFAULT_UPDATE_MAX_WAIT_HOURS } from './chunk-3CKMB2UK.js';
|
|
21
22
|
import { freeBytes, formatBytes, volumeBytes } from './chunk-ZYKFYNES.js';
|
|
22
23
|
import { writeJobFile, ensureRunnerIdentity, readJobFile, exceedsDisk, builderName, runnerLabelValue, ensureFailureCount, builderSpec, ensureBuilder, spawnRun, BUILD_LABEL, RUNNER_LABEL, readJobFileChecked } from './chunk-43I7PXDP.js';
|
|
23
|
-
import { isSignatureRefusal, WorkCommandError, getJson, postJson } from './chunk-
|
|
24
|
+
import { isSignatureRefusal, WorkCommandError, getJson, postJson } from './chunk-Z4KWHSO4.js';
|
|
24
25
|
import { loadHostKey, ensureHostKey, signerFor } from './chunk-SOI6K5DY.js';
|
|
25
26
|
import { RUNNER_DIR_MODE, runnerDir, buildDir, attemptStamp, jobDir, RUNNER_FILE_MODE, jobsDir, pidFilePath, spoolDir, imagesDir, rootfsDir, builderCacheDiskPath } from './chunk-PA6CK6WQ.js';
|
|
26
27
|
import { parseClaimIdentity, parseClaimedRepositories, parseUnreachable, repositoriesOf, primaryOf, sharedUserEnvironment, JOB_MOUNT, takeClaudeCredential, heldClaudeCredential, currentClaudeCredential } from './chunk-BALIE3BA.js';
|
|
@@ -1383,16 +1384,33 @@ function considerNamedImage(state, named) {
|
|
|
1383
1384
|
const own = ownVersionOf(state.deps);
|
|
1384
1385
|
if (named === void 0 || state.imageLogged === named || (compareVersions(own, named) ?? 0) >= 0) return;
|
|
1385
1386
|
state.imageLogged = named;
|
|
1386
|
-
logOf(state).line(`the factory names ${named}, newer than the ${own} this image runs \xB7 ${
|
|
1387
|
+
logOf(state).line(`the factory names ${named}, newer than the ${own} this image runs \xB7 ${imageStepFor(state, named)}`);
|
|
1387
1388
|
}
|
|
1388
1389
|
function upgradeStepFor(state, floor) {
|
|
1389
1390
|
const named = state.namedVersion ?? floor;
|
|
1390
1391
|
const target = named !== void 0 && isVersion(named) ? named : void 0;
|
|
1391
|
-
if (state.deps.image !== void 0) return
|
|
1392
|
+
if (state.deps.image !== void 0) return imageStepFor(state, target);
|
|
1392
1393
|
const npm = `npm install -g @outerlayer/cli@${target ?? "latest"}, then "$(npm prefix -g)/bin/outerlayer" runner install`;
|
|
1393
1394
|
if (state.deps.update?.underService !== true) return `${npm}, then start the runner again`;
|
|
1394
1395
|
return builtinKind(state.config.hooks.provision) === "own" ? npm : `${npm} --service`;
|
|
1395
1396
|
}
|
|
1397
|
+
function imageStepFor(state, version) {
|
|
1398
|
+
const read = state.ownContainer?.read;
|
|
1399
|
+
return read === void 0 ? pullInstruction(tagToPull(version)) : renderUpdateSteps(read, version);
|
|
1400
|
+
}
|
|
1401
|
+
async function readOwnContainerOnce(state) {
|
|
1402
|
+
const reader = state.deps.image?.readContainer;
|
|
1403
|
+
if (reader === void 0) return;
|
|
1404
|
+
const held = state.ownContainer;
|
|
1405
|
+
const atMs = nowOf(state).getTime();
|
|
1406
|
+
const retryAfterMs2 = 5 * 6e4;
|
|
1407
|
+
if (held !== void 0 && (held.read.ok || atMs - held.atMs < retryAfterMs2)) return;
|
|
1408
|
+
try {
|
|
1409
|
+
state.ownContainer = { read: await reader(), atMs };
|
|
1410
|
+
} catch (err) {
|
|
1411
|
+
state.ownContainer = { read: { ok: false, reason: describeCallFailure(err) }, atMs };
|
|
1412
|
+
}
|
|
1413
|
+
}
|
|
1396
1414
|
function recordImageStatus(state) {
|
|
1397
1415
|
if (state.deps.image === void 0) return;
|
|
1398
1416
|
const named = state.imageNamed;
|
|
@@ -1813,6 +1831,7 @@ async function housekeepingPass(state) {
|
|
|
1813
1831
|
}
|
|
1814
1832
|
}
|
|
1815
1833
|
async function runTick(state) {
|
|
1834
|
+
await readOwnContainerOnce(state);
|
|
1816
1835
|
state.restarting = false;
|
|
1817
1836
|
state.holdingForUpdate = false;
|
|
1818
1837
|
if (state.draining === true) return;
|
|
@@ -1886,7 +1905,7 @@ var CLAIM_REFUSAL_CODES = new Set(
|
|
|
1886
1905
|
"pull_request_from_fork pull_request_on_default_branch pull_request_ambiguous pull_request_repository_not_connected repository_not_reachable branch_claimed_elsewhere".split(" ")
|
|
1887
1906
|
);
|
|
1888
1907
|
async function tryClaimAndStart(state, item, queue) {
|
|
1889
|
-
const { postJson: postJson2 } = await import('./work-cmd-
|
|
1908
|
+
const { postJson: postJson2 } = await import('./work-cmd-LTZXOPPN.js');
|
|
1890
1909
|
const log = logOf(state);
|
|
1891
1910
|
const hostKey = await loadHostKey(state.config.configPath);
|
|
1892
1911
|
const claim = await retrySend(
|
|
@@ -1939,11 +1958,10 @@ async function tryClaimAndStart(state, item, queue) {
|
|
|
1939
1958
|
return { kind: "outdated" };
|
|
1940
1959
|
}
|
|
1941
1960
|
if (claim.code === "runner_upgrade_required") {
|
|
1942
|
-
const tag = tagToPull(state.imageNamed);
|
|
1943
1961
|
reportRepeating(
|
|
1944
1962
|
state,
|
|
1945
1963
|
"the runner protocol",
|
|
1946
|
-
state.deps.image === void 0 ? claim.message ?? claim.reason : `${claim.message ?? claim.reason} \xB7 ${
|
|
1964
|
+
state.deps.image === void 0 ? claim.message ?? claim.reason : `${claim.message ?? claim.reason} \xB7 ${imageStepFor(state, state.imageNamed)}`
|
|
1947
1965
|
);
|
|
1948
1966
|
state.upgradeRefused = true;
|
|
1949
1967
|
recordImageStatus(state);
|
|
@@ -3132,7 +3150,7 @@ async function startRunner(configPath, deps, startup) {
|
|
|
3132
3150
|
check: update.check ? () => update.check(configPath) : async () => {
|
|
3133
3151
|
const held = heldClaudeCredential();
|
|
3134
3152
|
const env = held === void 0 ? process.env : { ...process.env, [held.variable]: held.value };
|
|
3135
|
-
return (await import('./check-
|
|
3153
|
+
return (await import('./check-OOUGS65D.js')).runRunnerCheck(configPath, { fetchImpl: deps.fetchImpl, env });
|
|
3136
3154
|
},
|
|
3137
3155
|
now: () => (deps.now ?? (() => /* @__PURE__ */ new Date()))().getTime(),
|
|
3138
3156
|
log
|
|
@@ -1,9 +1,9 @@
|
|
|
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-YGSY2NWU.js';
|
|
4
4
|
import { launchRefusalForSession } from './chunk-ESVW4MJY.js';
|
|
5
5
|
import { detectActiveSession } from './chunk-IP7BIBXJ.js';
|
|
6
|
-
import { autoConnect } from './chunk-
|
|
6
|
+
import { autoConnect } from './chunk-6NUPXDAA.js';
|
|
7
7
|
import { readEffectiveArtifactSpoolState, localArtifactIds, isArtifactTombstoned, artifactBlobsDir, appendArtifactRecord, artifactsSpoolPath, findPendingArtifactRecord, sanitizeTerminal, appendArtifactTombstone } from './chunk-MECW77XP.js';
|
|
8
8
|
import { resolveRepoIdentity } from './chunk-6ZFY2L2T.js';
|
|
9
9
|
import { C } from './chunk-ANPNT6PM.js';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { runEmit } from './chunk-
|
|
3
|
+
import { runEmit } from './chunk-2AIOOU3A.js';
|
|
4
4
|
import { addStdioMcpEntryIfAbsent, addDocsMcpEntryIfAbsent, DOCS_MCP_SERVER_NAME } from './chunk-KT4CN6OU.js';
|
|
5
|
-
import { installStarterPack } from './chunk-
|
|
6
|
-
import { AGENTS_MD_LAYOUT, declareAgentsMdLayout, linkClaudeSkills, SKILLS_LINK_PATH, describeSkillsLink, isAgentsMdLayout, holdsTodaysLayoutSources, discoverOuterlayerPaths } from './chunk-
|
|
5
|
+
import { installStarterPack } from './chunk-4P6QGMPN.js';
|
|
6
|
+
import { AGENTS_MD_LAYOUT, declareAgentsMdLayout, linkClaudeSkills, SKILLS_LINK_PATH, describeSkillsLink, isAgentsMdLayout, holdsTodaysLayoutSources, discoverOuterlayerPaths } from './chunk-NKOM4JKY.js';
|
|
7
7
|
import { C } from './chunk-ANPNT6PM.js';
|
|
8
|
-
import { resolveGitCommonDir, defaultGitRunner } from './chunk-
|
|
9
|
-
import { loadTemplateFiles, loadMaintainedFiles, skillDir, AGENTS_SKILLS_BASE } from './chunk-
|
|
8
|
+
import { resolveGitCommonDir, defaultGitRunner } from './chunk-O6DYCIVW.js';
|
|
9
|
+
import { loadTemplateFiles, loadMaintainedFiles, skillDir, AGENTS_SKILLS_BASE } from './chunk-ZQSANKS4.js';
|
|
10
10
|
import { cliInvocation } from './chunk-CRB3POP4.js';
|
|
11
|
-
import { linkedAgentsPath } from './chunk-
|
|
11
|
+
import { linkedAgentsPath } from './chunk-DQ6YO7FH.js';
|
|
12
12
|
import { cloneIsGoverned } from './chunk-YQR6E6OV.js';
|
|
13
|
-
import { generatedHeaderSource } from './chunk-
|
|
13
|
+
import { generatedHeaderSource } from './chunk-FGXT5OXS.js';
|
|
14
14
|
import { execFileSync } from 'child_process';
|
|
15
15
|
import { existsSync, mkdirSync, writeFileSync } from 'fs';
|
|
16
16
|
import { join, dirname } from 'path';
|
|
@@ -1,7 +1,7 @@
|
|
|
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-Z4KWHSO4.js';
|
|
4
|
+
import { defaultGitRunner, materializeContext, fetchControlPlaneCommit, lookupGoverningSource } from './chunk-O6DYCIVW.js';
|
|
5
5
|
import { signingFetchFor } from './chunk-6RKD7YZ6.js';
|
|
6
6
|
import { signerFor } from './chunk-SOI6K5DY.js';
|
|
7
7
|
import { SHIM_DIR, stagedContextDir, contextHomeDir, deliveryDir, keptContextDir } from './chunk-PA6CK6WQ.js';
|
|
@@ -680,11 +680,11 @@ async function missingControlPlane(cwd, sessionId, home, env) {
|
|
|
680
680
|
const dirs = findGitDirs(cwd);
|
|
681
681
|
if (dirs === void 0) return void 0;
|
|
682
682
|
if (existsSync(join(dirs.gitCommonDir, "outerlayer", "materialized.json")) || hasExcludeBlock(dirs.gitCommonDir)) {
|
|
683
|
-
const { cleanupEarlierCopies } = await import('./context-cleanup-
|
|
683
|
+
const { cleanupEarlierCopies } = await import('./context-cleanup-LUBEZB3L.js');
|
|
684
684
|
cleanupEarlierCopies(dirs);
|
|
685
685
|
}
|
|
686
686
|
if (!contextPossiblyGoverned(cwd, home)) return void 0;
|
|
687
|
-
const { governanceOf } = await import('./control-plane-launch-
|
|
687
|
+
const { governanceOf } = await import('./control-plane-launch-QSBWTA2V.js');
|
|
688
688
|
if (await governanceOf({ cwd, env, home }) !== "governed") return void 0;
|
|
689
689
|
recordMissingContext(dirs, sessionId, home);
|
|
690
690
|
const launcher = `${cliInvocation()} claude`;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { fetchFactories, selectFactory, saveFactoryConnection, autoConnectedLine } from './chunk-
|
|
3
|
+
import { fetchFactories, selectFactory, saveFactoryConnection, autoConnectedLine } from './chunk-EE2ZZGQV.js';
|
|
4
4
|
import { resolveRepoIdentity } from './chunk-6ZFY2L2T.js';
|
|
5
5
|
import { resolveGatewayCredentials } from './chunk-6RKD7YZ6.js';
|
|
6
6
|
import { readCloudConfig } from './chunk-PJDQPF5N.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { placeholderQueues, placeholderProblem } from './chunk-
|
|
3
|
+
import { placeholderQueues, placeholderProblem } from './chunk-YEVPRO7L.js';
|
|
4
4
|
import { checkFit } from './chunk-AMEM2ZLL.js';
|
|
5
5
|
import { builtinKind, imageBuildOf } from './chunk-3CKMB2UK.js';
|
|
6
6
|
import { realBuildDiskProbe, checkDiskFit, DEFAULT_CACHE_DISK, DEFAULT_BUILD_DISK } from './chunk-ZYKFYNES.js';
|
|
@@ -4,29 +4,29 @@ import { readsJobState, READ_JOB_STATE_FORMATS, jobStateFormatOf } from './chunk
|
|
|
4
4
|
import { DOCKERD_LOG, HELPER_PATH, HELPER_RECORD } from './chunk-HVRQQOMH.js';
|
|
5
5
|
import { writeDockerClientConfig } from './chunk-6LBSAW6I.js';
|
|
6
6
|
import { zodProblem } from './chunk-I3LTIAOR.js';
|
|
7
|
-
import { senderPidfile } from './chunk-
|
|
8
|
-
import { installScrubContext } from './chunk-
|
|
9
|
-
import { ADDED_USER, shellQuote, GH_CONFIG_YML, ghHostsYml, AssetError, obtainImage, ensureRootfs, makeBuildsDirPrivate, gitRemoteFor, startServicesFor, createLeaseChannel, createBuildDisk, machineConfig, startJailedInto, resolveAgentUser, AgentUserError, runBuildSteps, startHostServices, LEASE_SECONDS, createContainerRuntime, stopContainer, cleanupContainer, outOfMemoryReason, closeHostBuild, containerSenderCommand, hostCommandEnvironment, execArgv, signalInContainer, syncInContainer, copyTranscriptsFromContainer, MANAGED_UNJAILED_REASON, senderAliveScript, helperFirecrackerNote, stopJailed, deleteBuildDisk, startCheckContainer, lifecycleSteps, lifecycleFailureReason, writeEvalInput, DeliveryFailure, EVAL_INPUT_NAME, copyTranscripts, senderSignalScript, containerJudgeEnvironment, ROOT_DISK_ID_PREFIX, copyJudgeTree } from './chunk-
|
|
7
|
+
import { senderPidfile } from './chunk-XFFUXXI4.js';
|
|
8
|
+
import { installScrubContext } from './chunk-YGSY2NWU.js';
|
|
9
|
+
import { ADDED_USER, shellQuote, GH_CONFIG_YML, ghHostsYml, AssetError, obtainImage, ensureRootfs, makeBuildsDirPrivate, gitRemoteFor, startServicesFor, createLeaseChannel, createBuildDisk, machineConfig, startJailedInto, resolveAgentUser, AgentUserError, runBuildSteps, startHostServices, LEASE_SECONDS, createContainerRuntime, stopContainer, cleanupContainer, outOfMemoryReason, closeHostBuild, containerSenderCommand, hostCommandEnvironment, execArgv, signalInContainer, syncInContainer, copyTranscriptsFromContainer, MANAGED_UNJAILED_REASON, senderAliveScript, helperFirecrackerNote, stopJailed, deleteBuildDisk, startCheckContainer, lifecycleSteps, lifecycleFailureReason, writeEvalInput, DeliveryFailure, EVAL_INPUT_NAME, copyTranscripts, senderSignalScript, containerJudgeEnvironment, ROOT_DISK_ID_PREFIX, copyJudgeTree } from './chunk-YEVPRO7L.js';
|
|
10
10
|
import { readBranchHead, fetchCommit, diffBetween } from './chunk-ZVLSYWDF.js';
|
|
11
11
|
import { isSameProcess, startTimeOf } from './chunk-JBJTC3UU.js';
|
|
12
12
|
import { waitForAgent, vmExecArgs } from './chunk-5THSC6BD.js';
|
|
13
13
|
import { socketPathProblem, vsockLinks, LEASE_LINK, linkVsockSockets } from './chunk-L26V6ILJ.js';
|
|
14
|
-
import { describeCallFailure, resolveGoverningSource, prefetchGovernedContext, refusalCode, removeStagedContext, stageGovernedContext, pinnedSourceOf, commandWithShim, logStamp, createRunnerLog, removeKeptContext, formatDuration, retrySend, formatClock, WORKFLOW_PERMISSION_REASON, keptContextTree } from './chunk-
|
|
14
|
+
import { describeCallFailure, resolveGoverningSource, prefetchGovernedContext, refusalCode, removeStagedContext, stageGovernedContext, pinnedSourceOf, commandWithShim, logStamp, createRunnerLog, removeKeptContext, formatDuration, retrySend, formatClock, WORKFLOW_PERMISSION_REASON, keptContextTree } from './chunk-62LXQM7U.js';
|
|
15
15
|
import { imageBuildOf, isBuiltinContainer, isBuiltinProcess, isBuiltinVm, DEFAULT_CHECK_TIME_LIMIT_MINUTES } from './chunk-3CKMB2UK.js';
|
|
16
16
|
import { DEFAULT_CACHE_DISK, formatBytes, allocatedBytes } from './chunk-ZYKFYNES.js';
|
|
17
17
|
import { parseSize, HASH_ARGV, parseProgramHash, JUDGE_PROGRAM, writeJobFile, readJobFile, childEnvironment, withAnswerProtocol, judgeCommand, MAX_REPORT_BYTES, JUDGE_MAX_TURNS, JUDGE_DIR, COMMAND_DIR, MAX_ITEMS_BYTES } from './chunk-43I7PXDP.js';
|
|
18
18
|
import { CLAUDE_CODE_VERSION, FIRECRACKER_VERSION } from './chunk-ES4ULBAL.js';
|
|
19
|
-
import { WorkCommandError, postJson, isSignatureRefusal, getJson } from './chunk-
|
|
19
|
+
import { WorkCommandError, postJson, isSignatureRefusal, getJson } from './chunk-Z4KWHSO4.js';
|
|
20
20
|
import { planArtifactUpload } from './chunk-MECW77XP.js';
|
|
21
21
|
import { scrubText } from './chunk-6ZFY2L2T.js';
|
|
22
22
|
import { readCloudConfig } from './chunk-PJDQPF5N.js';
|
|
23
23
|
import { signerFor } from './chunk-SOI6K5DY.js';
|
|
24
24
|
import { RUNNER_FILE_MODE, runnerDir, buildDir, vsockPath, jobConsolePath } from './chunk-PA6CK6WQ.js';
|
|
25
25
|
import { JOB_MOUNT, claudeCredential, repositoriesOf, primaryOf, buildEnvironment, CHECKOUT_DIR, AGENT_CREDENTIAL_MISSING, sharedUserEnvironment, headerVariables, authorEnvironment, withTunnelRecord, commitIdentityRecord, buildMavenSettingsXml, CLAUDE_CREDENTIAL_VARIABLES, currentClaudeCredential, removedClaudeCredentialValues, RELAY_PORT, repositoryPath, lifecycleWorkdir, CHECK_ITEMS_FILE, MAVEN_SETTINGS_FILE, checkEnvironment, EVAL_INPUT_DIR } from './chunk-BALIE3BA.js';
|
|
26
|
-
import { resolvePackRoot } from './chunk-
|
|
26
|
+
import { resolvePackRoot } from './chunk-ZQSANKS4.js';
|
|
27
27
|
import { MAINTAINED_SKILLS } from './chunk-CDDED64E.js';
|
|
28
28
|
import { resolveVersion } from './chunk-RA3O54FC.js';
|
|
29
|
-
import { parsePolicy } from './chunk-
|
|
29
|
+
import { parsePolicy } from './chunk-FGXT5OXS.js';
|
|
30
30
|
import { CheckItemsSchema, CHECK_ITEM_REASON_MAX_LENGTH } from './chunk-EOTMDIYC.js';
|
|
31
31
|
import { homeFromEnv } from './chunk-VNVZDWO3.js';
|
|
32
32
|
import { fdName } from './chunk-HACGUL52.js';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { mcpTargetPath, INIT_STDIO_ENTRY, INIT_DOCS_ENTRY, DOCS_MCP_SERVER_NAME } from './chunk-KT4CN6OU.js';
|
|
4
|
-
import { POLICY_CONTENT, VALIDATOR_FILES, VALIDATORS_DIR, POLICY_PATH } from './chunk-
|
|
5
|
-
import { skillsBaseFor } from './chunk-
|
|
4
|
+
import { POLICY_CONTENT, VALIDATOR_FILES, VALIDATORS_DIR, POLICY_PATH } from './chunk-4P6QGMPN.js';
|
|
5
|
+
import { skillsBaseFor } from './chunk-NKOM4JKY.js';
|
|
6
6
|
import { findGitDirs } from './chunk-BJ3KTMDH.js';
|
|
7
|
-
import { resolvePackRoot, OUTERLAYER_SKILLS_BASE, skillDir, loadTemplateFiles, rewriteSkillPaths, restoreSkillPaths, TEMPLATE_SKILLS } from './chunk-
|
|
7
|
+
import { resolvePackRoot, OUTERLAYER_SKILLS_BASE, skillDir, loadTemplateFiles, rewriteSkillPaths, restoreSkillPaths, TEMPLATE_SKILLS } from './chunk-ZQSANKS4.js';
|
|
8
8
|
import { cliInvocation } from './chunk-CRB3POP4.js';
|
|
9
|
-
import { hasSymlinkComponent } from './chunk-
|
|
9
|
+
import { hasSymlinkComponent } from './chunk-DQ6YO7FH.js';
|
|
10
10
|
import { cloneIsGoverned } from './chunk-YQR6E6OV.js';
|
|
11
11
|
import { createHash } from 'crypto';
|
|
12
12
|
import { existsSync, readFileSync } from 'fs';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { readContextManifest, removeContextManifest } from './chunk-YQR6E6OV.js';
|
|
4
4
|
import { removePreCommitGuardHook } from './chunk-TUSYOL2O.js';
|
|
5
|
-
import { CONTEXT_PIN_FILENAME } from './chunk-
|
|
5
|
+
import { CONTEXT_PIN_FILENAME } from './chunk-FGXT5OXS.js';
|
|
6
6
|
import { execFileSync } from 'child_process';
|
|
7
7
|
import { lstatSync, existsSync, unlinkSync, readdirSync, rmdirSync, readFileSync, mkdirSync, writeFileSync } from 'fs';
|
|
8
8
|
import { join, dirname, isAbsolute } from 'path';
|