@outerlayer/cli 0.33.0-next.20261021194303 → 0.33.0-next.20261021223634
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 +1 -1
- package/dist/{agent-setup-P5PWEGZM.js → agent-setup-UY5NBT7C.js} +10 -10
- package/dist/{artifact-link-cmd-IGVFGHC2.js → artifact-link-cmd-2MBHG3PO.js} +2 -2
- package/dist/build-info.json +1 -1
- package/dist/{builder-X4PIGYS6.js → builder-K2XIVSSZ.js} +3 -3
- package/dist/{check-DPVNDAQQ.js → check-AXDPZJU4.js} +24 -24
- package/dist/{chunk-ZAJKEHIE.js → chunk-4IG6EZHU.js} +2 -2
- package/dist/{chunk-VFW6I4GG.js → chunk-5RUH3PCG.js} +4 -4
- package/dist/{chunk-ZPW6PUNK.js → chunk-6TFTRVOA.js} +2 -2
- package/dist/{chunk-TGXYNEI7.js → chunk-72YES3RL.js} +11 -11
- package/dist/{chunk-3WW2TL7V.js → chunk-AKHGQKNR.js} +64 -4
- package/dist/{chunk-XT5SOJRC.js → chunk-AKR32WHV.js} +1 -1
- package/dist/{chunk-KUOY5UIR.js → chunk-CHXYLCMA.js} +1 -1
- package/dist/{chunk-XQTT3222.js → chunk-CMU6QJHE.js} +1 -1
- package/dist/{chunk-ENV3AIWQ.js → chunk-CV2S5L4J.js} +8 -8
- package/dist/{chunk-543ZX5TM.js → chunk-DE7YSNDX.js} +2 -2
- package/dist/{chunk-3H7NZPYG.js → chunk-DM4EGXDO.js} +1 -1
- package/dist/{chunk-YZIC5JXC.js → chunk-EG7KPSSP.js} +6 -6
- package/dist/{chunk-OXSFOLWE.js → chunk-HT7LVCTX.js} +2 -2
- package/dist/{chunk-LTZVMKQS.js → chunk-KDM77TVX.js} +2 -2
- package/dist/{chunk-YW4PEGLN.js → chunk-KUTZ6XLS.js} +1 -1
- package/dist/{chunk-OVSUSOHL.js → chunk-LBPK2TPR.js} +4 -4
- package/dist/{chunk-WXEPMPHK.js → chunk-LN4WDONI.js} +1 -1
- package/dist/{chunk-FE3RTGJN.js → chunk-M5OBRUQE.js} +2 -2
- package/dist/{chunk-5ZUT3IK3.js → chunk-N3KK5BKF.js} +7 -7
- package/dist/{chunk-C4N5QRQJ.js → chunk-NOXK3QW6.js} +3 -3
- package/dist/{chunk-CG5TWQ23.js → chunk-O6NG67Y7.js} +2 -2
- package/dist/{chunk-JUXATN46.js → chunk-OGCG5LOX.js} +1 -1
- package/dist/{chunk-XRQ7DABQ.js → chunk-Q2D4M3GC.js} +1 -1
- package/dist/{chunk-UVZ43SW3.js → chunk-Q4YVHYHT.js} +3 -3
- package/dist/{chunk-4OKOLFPH.js → chunk-RQKQTRXM.js} +4 -4
- package/dist/{chunk-WRX2MCDV.js → chunk-RVWADVBN.js} +3 -3
- package/dist/{chunk-6C3ZVE62.js → chunk-RW52CUFX.js} +1 -1
- package/dist/{chunk-NNNUME4Y.js → chunk-SFJD4MRY.js} +5 -5
- package/dist/{chunk-GI6LOIHS.js → chunk-TNJXCNQ6.js} +4 -4
- package/dist/{chunk-XRZGT54P.js → chunk-UIBTEDLA.js} +5 -5
- package/dist/{chunk-QCDVKCHA.js → chunk-UWEJ6HGB.js} +2 -2
- package/dist/{chunk-BBK62GXM.js → chunk-X5LFLYSD.js} +6 -6
- package/dist/{chunk-KURUM765.js → chunk-Y3LIJIRH.js} +4 -4
- package/dist/{chunk-TAZJDD2U.js → chunk-YH2632RT.js} +5 -5
- package/dist/{chunk-LPIUIRHA.js → chunk-ZRTMS4C7.js} +9 -9
- package/dist/{claude-launcher-Q7YAPLY2.js → claude-launcher-STSKZNW3.js} +5 -5
- package/dist/{cli-OGX6JNIN.js → cli-LYJEJTQG.js} +94 -89
- package/dist/{command-UIAQUHHU.js → command-2JEY6X6U.js} +16 -16
- package/dist/{connect-cmd-OLESV5O3.js → connect-cmd-WFHAPGCZ.js} +8 -8
- package/dist/{container-start-MGY5VFHW.js → container-start-TTEHOSJK.js} +17 -17
- package/dist/{context-cleanup-VSDT77BZ.js → context-cleanup-UBOJHGQM.js} +3 -3
- package/dist/{control-plane-launch-7PXJSMVM.js → control-plane-launch-R4X63DYW.js} +6 -6
- package/dist/{dist-DY2ZNEBS.js → dist-ADFLG3AY.js} +2 -2
- package/dist/{docker-XRUAUQIG.js → docker-UYS5N5B7.js} +3 -3
- package/dist/{doctor-ZMKO3F7I.js → doctor-3XPT5F2Y.js} +18 -18
- package/dist/{emit-artifact-cmd-RI7HA37S.js → emit-artifact-cmd-FR5PUUJR.js} +13 -13
- package/dist/{emit-cmd-T7NIBSF3.js → emit-cmd-JOO6ZTEI.js} +6 -6
- package/dist/{emit-criteria-cmd-T5HZZ7XJ.js → emit-criteria-cmd-DKPZJTIN.js} +9 -9
- package/dist/emit-demo-cmd-IVLL6OWZ.js +3027 -0
- package/dist/{emit-finding-cmd-RN7LSGJ7.js → emit-finding-cmd-VM4KIVEM.js} +10 -10
- package/dist/{emit-result-cmd-72STGWMP.js → emit-result-cmd-SEKL6HUU.js} +12 -12
- package/dist/{emit-step-cmd-POFAEM7G.js → emit-step-cmd-4YAWK4VE.js} +10 -10
- package/dist/{findings-cmd-TMURLT3A.js → findings-cmd-RXYIWXY4.js} +10 -10
- package/dist/{fleet-readiness-N6Y3F7R6.js → fleet-readiness-VIX76RNL.js} +8 -8
- package/dist/{governing-source-2R7IS7LZ.js → governing-source-APGCKDTS.js} +13 -13
- package/dist/{hook-fast-GO7UTNN5.js → hook-fast-NVBMSE3N.js} +1 -1
- package/dist/index.js +4 -4
- package/dist/{init-YMU4QFRV.js → init-BR4Z4T2Q.js} +17 -17
- package/dist/{init-E3VWTJFQ.js → init-XWQJEW6H.js} +17 -17
- package/dist/{init-cmd-WBPE3X7T.js → init-cmd-IEMYX6KA.js} +18 -18
- package/dist/{init-update-MONZSG7L.js → init-update-HOTJISWA.js} +17 -17
- package/dist/{layout-OQ7EJUMH.js → layout-ZI4RJ6MT.js} +4 -4
- package/dist/{login-browser-KP7YVYTN.js → login-browser-WUSIVD5E.js} +2 -2
- package/dist/{loop-N3IUN4F3.js → loop-3NRAMJA4.js} +24 -24
- package/dist/{machine-J7QFINBX.js → machine-LUXL7SFT.js} +16 -16
- package/dist/{machine-skills-XWWYFNOZ.js → machine-skills-REHDWINX.js} +4 -4
- package/dist/{runner-identity-MSMI2PD4.js → runner-identity-DR5I3NBT.js} +3 -3
- package/dist/{runner-key-QTNYQ2I7.js → runner-key-OLMCAOTD.js} +17 -17
- package/dist/{session-sender-USH6NOZL.js → session-sender-PLQ5NOEW.js} +13 -13
- package/dist/{spec-cmd-ABGR2ZDH.js → spec-cmd-NIAQWMLE.js} +10 -10
- package/dist/{starter-pack-6O7F6P7C.js → starter-pack-OESK7UX2.js} +5 -5
- package/dist/{status-FHEVPRWN.js → status-4HNX45UZ.js} +20 -20
- package/dist/{sync-cmd-GC2TBSUO.js → sync-cmd-UTESQMDU.js} +12 -12
- package/dist/{watch-F3LCBTNO.js → watch-4UC4FGI5.js} +12 -12
- package/dist/{work-claim-cmd-X7KNYGU7.js → work-claim-cmd-ODYRE44S.js} +12 -12
- package/dist/{work-cmd-AI3ZPCP7.js → work-cmd-QQDUI3YX.js} +10 -10
- package/dist/{work-comment-cmd-6UXS342S.js → work-comment-cmd-FIOMDPIZ.js} +10 -10
- package/dist/{work-logs-cmd-TVKWMDOW.js → work-logs-cmd-DA6MPQ6O.js} +10 -10
- package/dist/{work-open-pr-cmd-WZ7W2HZ7.js → work-open-pr-cmd-QG2FT7OW.js} +11 -11
- package/dist/{work-pr-cmd-KTNNR46X.js → work-pr-cmd-XNXWWLS5.js} +10 -10
- package/dist/{work-stop-cmd-2BUDSXUU.js → work-stop-cmd-2KLZ2UH2.js} +10 -10
- package/package.json +3 -1
- package/dist/emit-demo-cmd-MWRFZHSX.js +0 -808
package/README.md
CHANGED
|
@@ -473,7 +473,7 @@ before it gives up.
|
|
|
473
473
|
| `outerlayer context emit [--check]` | Compile `.outerlayer/` into each configured target tool's native files (targets come from `.outerlayer/config.json`). `--check` computes outputs and diffs against disk without writing (CI mode). Bare `outerlayer emit` with no name still compiles, with a deprecation warning. |
|
|
474
474
|
| `outerlayer hooks wrap` / `outerlayer hooks unwrap` | Auto-wrap (or undo wrapping) `PreToolUse`/`PostToolUse` hooks for execution evidence — one spawn per firing. |
|
|
475
475
|
| `outerlayer emit artifact <file> --caption <text> [--for <criterion-id>] [--pr <n>]` | Upload a proof artifact — screenshot, recording, report, or log — with its caption. Inside a recorded session it spools locally and ships on the next `sync`; otherwise it uploads immediately, anchored to a pull request or the current checkout. `--replaces` retires artifacts an earlier run uploaded. A JUnit XML file bound with `--for` proves a criterion that declares `test` proof; `--test <name[=path:line]>` binds only the named tests. |
|
|
476
|
-
| `outerlayer emit demo <manifest> [--no-narration] [--item <n>] [--pr <n>]` | Turn a recorded video and its manifest (written by `@outerlayer/playwright`) into a narrated demo: one WebM clip for each chapter, emitted as a video artifact. A chapter whose checks all passed is bound to its criterion. The manifest is emitted as the demo record. Needs `ffmpeg` and `ffprobe`, and `espeak-ng` unless `--no-narration`. Exit 1 means a chapter had a failed check. |
|
|
476
|
+
| `outerlayer emit demo <manifest> [--compare <manifest>] [--no-narration] [--item <n>] [--pr <n>]` | Turn a recorded video and its manifest (written by `@outerlayer/playwright`) into a narrated demo: one WebM clip for each chapter, emitted as a video artifact. A chapter whose checks all passed is bound to its criterion. The manifest is emitted as the demo record. With `--compare`, a second run's stills are compared with the first run's, and each chapter reads `yes`, `no` or `not checked`. Needs `ffmpeg` and `ffprobe`, and `espeak-ng` unless `--no-narration`. Exit 1 means a chapter had a failed check. |
|
|
477
477
|
| `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. |
|
|
478
478
|
| `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. |
|
|
479
479
|
| `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. |
|
|
@@ -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-N3KK5BKF.js';
|
|
4
|
+
import './chunk-TNJXCNQ6.js';
|
|
5
5
|
import './chunk-KT4CN6OU.js';
|
|
6
|
-
import './chunk-
|
|
7
|
-
import './chunk-
|
|
6
|
+
import './chunk-UWEJ6HGB.js';
|
|
7
|
+
import './chunk-4IG6EZHU.js';
|
|
8
8
|
import './chunk-ANPNT6PM.js';
|
|
9
|
-
import './chunk-
|
|
10
|
-
import './chunk-
|
|
9
|
+
import './chunk-RVWADVBN.js';
|
|
10
|
+
import './chunk-M5OBRUQE.js';
|
|
11
11
|
import './chunk-VQ2JGZSC.js';
|
|
12
12
|
import './chunk-PJDQPF5N.js';
|
|
13
13
|
import './chunk-JT3YO5MH.js';
|
|
@@ -15,16 +15,16 @@ import './chunk-ESP5VZBD.js';
|
|
|
15
15
|
import './chunk-HDSDUTX4.js';
|
|
16
16
|
import './chunk-ZJSNLVCE.js';
|
|
17
17
|
import './chunk-BJ3KTMDH.js';
|
|
18
|
-
import './chunk-
|
|
18
|
+
import './chunk-KUTZ6XLS.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-LN4WDONI.js';
|
|
24
24
|
import './chunk-YQR6E6OV.js';
|
|
25
25
|
import './chunk-TUSYOL2O.js';
|
|
26
|
-
import './chunk-
|
|
27
|
-
import './chunk-
|
|
26
|
+
import './chunk-OGCG5LOX.js';
|
|
27
|
+
import './chunk-AKHGQKNR.js';
|
|
28
28
|
import './chunk-VNVZDWO3.js';
|
|
29
29
|
import './chunk-XD4ZCMA4.js';
|
|
30
30
|
import './chunk-MESOOLF4.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { sanitizeTerminal, readEffectiveArtifactSpoolState } from './chunk-
|
|
3
|
+
import { sanitizeTerminal, readEffectiveArtifactSpoolState } from './chunk-DM4EGXDO.js';
|
|
4
4
|
import { cliInvocation } from './chunk-CRB3POP4.js';
|
|
5
|
-
import './chunk-
|
|
5
|
+
import './chunk-AKHGQKNR.js';
|
|
6
6
|
import { homeFromEnv } from './chunk-VNVZDWO3.js';
|
|
7
7
|
import './chunk-Z5GEFMRW.js';
|
|
8
8
|
|
package/dist/build-info.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"id":"2026-10-
|
|
1
|
+
{"id":"2026-10-21T22:39:20.164Z+ff838ea","root":"/home/runner/_work/outerlayer/outerlayer","pkg":"outerlayer"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { MIN_BUILDX_VERSION, builderName, builderSpec, buildxState, ensureBuilder, ensureFailureCount, isOutOfMemory, proxyEnvironment, trackImageBuild } from './chunk-
|
|
3
|
+
export { MIN_BUILDX_VERSION, builderName, builderSpec, buildxState, ensureBuilder, ensureFailureCount, isOutOfMemory, proxyEnvironment, trackImageBuild } from './chunk-CHXYLCMA.js';
|
|
4
4
|
import './chunk-YJLHUKYS.js';
|
|
5
5
|
import './chunk-3Z3MPR55.js';
|
|
6
6
|
import './chunk-LHYO4RDP.js';
|
|
7
|
-
import './chunk-
|
|
7
|
+
import './chunk-AKR32WHV.js';
|
|
8
8
|
import './chunk-JT3YO5MH.js';
|
|
9
9
|
import './chunk-ESP5VZBD.js';
|
|
10
10
|
import './chunk-HDSDUTX4.js';
|
|
11
|
-
import './chunk-
|
|
11
|
+
import './chunk-AKHGQKNR.js';
|
|
12
12
|
import './chunk-XD4ZCMA4.js';
|
|
13
13
|
import './chunk-MESOOLF4.js';
|
|
14
14
|
import './chunk-Z5GEFMRW.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { probeCredentials } from './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
import { probeCredentials } from './chunk-CV2S5L4J.js';
|
|
4
|
+
import './chunk-72YES3RL.js';
|
|
5
5
|
import './chunk-LH3KULPL.js';
|
|
6
6
|
import './chunk-3JVYMD4G.js';
|
|
7
7
|
import './chunk-E7R2GIAW.js';
|
|
@@ -11,21 +11,21 @@ import './chunk-CNRMP6EN.js';
|
|
|
11
11
|
import './chunk-ZVB57WI6.js';
|
|
12
12
|
import './chunk-RJYKTWUP.js';
|
|
13
13
|
import './chunk-I3LTIAOR.js';
|
|
14
|
-
import './chunk-
|
|
15
|
-
import './chunk-
|
|
16
|
-
import './chunk-
|
|
14
|
+
import './chunk-Q4YVHYHT.js';
|
|
15
|
+
import './chunk-SFJD4MRY.js';
|
|
16
|
+
import './chunk-RQKQTRXM.js';
|
|
17
17
|
import './chunk-ESVW4MJY.js';
|
|
18
18
|
import './chunk-XTNMIV77.js';
|
|
19
|
-
import { placeholderQueues, placeholderProblem, permissionModeProblems, permissionModeProblem, managedProblems, managedFactsOf, needsClaudeCredential, claudeCredentialCheck, claimPermissionProblem, formerSkillQueues, formerSkillProblem } from './chunk-
|
|
19
|
+
import { placeholderQueues, placeholderProblem, permissionModeProblems, permissionModeProblem, managedProblems, managedFactsOf, needsClaudeCredential, claudeCredentialCheck, claimPermissionProblem, formerSkillQueues, formerSkillProblem } from './chunk-LBPK2TPR.js';
|
|
20
20
|
import './chunk-3VGDZ23W.js';
|
|
21
21
|
import './chunk-TBT347UY.js';
|
|
22
|
-
import './chunk-
|
|
23
|
-
import './chunk-
|
|
24
|
-
import { probeHelper, HELPER_ENV, helperSocketPath } from './chunk-
|
|
22
|
+
import './chunk-O6NG67Y7.js';
|
|
23
|
+
import './chunk-CMU6QJHE.js';
|
|
24
|
+
import { probeHelper, HELPER_ENV, helperSocketPath } from './chunk-X5LFLYSD.js';
|
|
25
25
|
import './chunk-2PGI6RDE.js';
|
|
26
26
|
import './chunk-QQGZ5THT.js';
|
|
27
27
|
import './chunk-HIGJTX5U.js';
|
|
28
|
-
import './chunk-
|
|
28
|
+
import './chunk-KDM77TVX.js';
|
|
29
29
|
import './chunk-533QGXGZ.js';
|
|
30
30
|
import './chunk-TQMI335S.js';
|
|
31
31
|
import './chunk-52C3SSNF.js';
|
|
@@ -36,34 +36,34 @@ import './chunk-TPGHCH2H.js';
|
|
|
36
36
|
import './chunk-IPJ6HR7E.js';
|
|
37
37
|
import './chunk-JBJTC3UU.js';
|
|
38
38
|
import './chunk-OGFGZQA3.js';
|
|
39
|
-
import './chunk-
|
|
39
|
+
import './chunk-CHXYLCMA.js';
|
|
40
40
|
import './chunk-YJLHUKYS.js';
|
|
41
41
|
import './chunk-3Z3MPR55.js';
|
|
42
42
|
import './chunk-LHYO4RDP.js';
|
|
43
|
-
import './chunk-
|
|
44
|
-
import './chunk-
|
|
45
|
-
import './chunk-
|
|
46
|
-
import './chunk-
|
|
47
|
-
import './chunk-
|
|
48
|
-
import './chunk-
|
|
49
|
-
import './chunk-
|
|
43
|
+
import './chunk-UIBTEDLA.js';
|
|
44
|
+
import './chunk-6TFTRVOA.js';
|
|
45
|
+
import './chunk-5RUH3PCG.js';
|
|
46
|
+
import './chunk-DM4EGXDO.js';
|
|
47
|
+
import './chunk-AKR32WHV.js';
|
|
48
|
+
import './chunk-4IG6EZHU.js';
|
|
49
|
+
import './chunk-RW52CUFX.js';
|
|
50
50
|
import './chunk-G2JWZDFA.js';
|
|
51
51
|
import './chunk-ANPNT6PM.js';
|
|
52
|
-
import './chunk-
|
|
53
|
-
import './chunk-
|
|
52
|
+
import './chunk-RVWADVBN.js';
|
|
53
|
+
import './chunk-M5OBRUQE.js';
|
|
54
54
|
import './chunk-VQ2JGZSC.js';
|
|
55
55
|
import './chunk-PJDQPF5N.js';
|
|
56
56
|
import './chunk-JT3YO5MH.js';
|
|
57
57
|
import './chunk-ESP5VZBD.js';
|
|
58
58
|
import { claudeEnvPath } from './chunk-HDSDUTX4.js';
|
|
59
|
-
import './chunk-
|
|
59
|
+
import './chunk-HT7LVCTX.js';
|
|
60
60
|
import './chunk-ZJSNLVCE.js';
|
|
61
61
|
import './chunk-2O5KA67H.js';
|
|
62
62
|
import './chunk-BKO6JEZI.js';
|
|
63
63
|
import './chunk-FGF52V4V.js';
|
|
64
64
|
import './chunk-HCVLP7XA.js';
|
|
65
65
|
import './chunk-BJ3KTMDH.js';
|
|
66
|
-
import './chunk-
|
|
66
|
+
import './chunk-KUTZ6XLS.js';
|
|
67
67
|
import './chunk-5BHIBJDA.js';
|
|
68
68
|
import './chunk-CDDED64E.js';
|
|
69
69
|
import './chunk-RA3O54FC.js';
|
|
@@ -73,8 +73,8 @@ import './chunk-CRB3POP4.js';
|
|
|
73
73
|
import './chunk-URIZRCRY.js';
|
|
74
74
|
import './chunk-YQR6E6OV.js';
|
|
75
75
|
import './chunk-TUSYOL2O.js';
|
|
76
|
-
import './chunk-
|
|
77
|
-
import './chunk-
|
|
76
|
+
import './chunk-OGCG5LOX.js';
|
|
77
|
+
import './chunk-AKHGQKNR.js';
|
|
78
78
|
import './chunk-VNVZDWO3.js';
|
|
79
79
|
import { parseRunnerEnv } from './chunk-XD4ZCMA4.js';
|
|
80
80
|
import './chunk-MESOOLF4.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE } from './chunk-
|
|
4
|
-
import { normalizePath, CONTEXT_PIN_FILENAME } from './chunk-
|
|
3
|
+
import { AGENTS_SKILLS_BASE, OUTERLAYER_SKILLS_BASE } from './chunk-KUTZ6XLS.js';
|
|
4
|
+
import { normalizePath, CONTEXT_PIN_FILENAME } from './chunk-OGCG5LOX.js';
|
|
5
5
|
import { existsSync, readdirSync, readFileSync, mkdirSync, writeFileSync, lstatSync, readlinkSync, symlinkSync, rmdirSync } from 'fs';
|
|
6
6
|
import { relative, sep, join } from 'path';
|
|
7
7
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { sanitizeTerminal } from './chunk-
|
|
4
|
-
import { remoteLookupFailed } from './chunk-
|
|
5
|
-
import { isAgentsMdLayout } from './chunk-
|
|
6
|
-
import { DEFAULT_DASHBOARD } from './chunk-
|
|
3
|
+
import { sanitizeTerminal } from './chunk-DM4EGXDO.js';
|
|
4
|
+
import { remoteLookupFailed } from './chunk-AKR32WHV.js';
|
|
5
|
+
import { isAgentsMdLayout } from './chunk-4IG6EZHU.js';
|
|
6
|
+
import { DEFAULT_DASHBOARD } from './chunk-RW52CUFX.js';
|
|
7
7
|
import { cliFetch, resolveGatewayCredentials } from './chunk-VQ2JGZSC.js';
|
|
8
8
|
import { readCloudConfig } from './chunk-PJDQPF5N.js';
|
|
9
9
|
import { findGitDirs, writeRepoConnection, readRepoConnection } from './chunk-BJ3KTMDH.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { fetchFactories, selectFactory, saveFactoryConnection, autoConnectedLine } from './chunk-
|
|
4
|
-
import { resolveRepoIdentity } from './chunk-
|
|
3
|
+
import { fetchFactories, selectFactory, saveFactoryConnection, autoConnectedLine } from './chunk-5RUH3PCG.js';
|
|
4
|
+
import { resolveRepoIdentity } from './chunk-AKR32WHV.js';
|
|
5
5
|
import { resolveGatewayCredentials } from './chunk-VQ2JGZSC.js';
|
|
6
6
|
import { findGitDirs, readRepoConnection } from './chunk-BJ3KTMDH.js';
|
|
7
7
|
import { cliInvocation } from './chunk-CRB3POP4.js';
|
|
@@ -3,31 +3,31 @@ import { createRequire } from 'node:module';
|
|
|
3
3
|
import { readsJobState, READ_JOB_STATE_FORMATS, jobStateFormatOf } from './chunk-ZVB57WI6.js';
|
|
4
4
|
import { DOCKERD_LOG, HELPER_PATH, HELPER_RECORD } from './chunk-RJYKTWUP.js';
|
|
5
5
|
import { zodProblem } from './chunk-I3LTIAOR.js';
|
|
6
|
-
import { senderPidfile } from './chunk-
|
|
7
|
-
import { installScrubContext } from './chunk-
|
|
6
|
+
import { senderPidfile } from './chunk-Q4YVHYHT.js';
|
|
7
|
+
import { installScrubContext } from './chunk-SFJD4MRY.js';
|
|
8
8
|
import { writeDockerClientConfig } from './chunk-XTNMIV77.js';
|
|
9
|
-
import { ADDED_USER, shellQuote, GH_CONFIG_YML, ghHostsYml, AssetError, obtainImage, ensureRootfs, makeBuildsDirPrivate, gitRemoteFor, startServicesFor, createLeaseChannel, createBuildDisk, machineConfig, startJailedInto, resolveAgentUser, AgentUserError, runBuildSteps, LEASE_SECONDS, createContainerRuntime, stopContainer, cleanupContainer, outOfMemoryReason, containerSenderCommand, signalInContainer, syncInContainer, copyTranscriptsFromContainer, MANAGED_UNJAILED_REASON, senderAliveScript, helperFirecrackerNote, isLiteralAddress, stopJailed, deleteBuildDisk, startCheckContainer, lifecycleSteps, lifecycleFailureReason, writeEvalInput, DeliveryFailure, EVAL_INPUT_NAME, copyTranscripts, senderSignalScript, containerJudgeEnvironment, ROOT_DISK_ID_PREFIX, copyJudgeTree } from './chunk-
|
|
9
|
+
import { ADDED_USER, shellQuote, GH_CONFIG_YML, ghHostsYml, AssetError, obtainImage, ensureRootfs, makeBuildsDirPrivate, gitRemoteFor, startServicesFor, createLeaseChannel, createBuildDisk, machineConfig, startJailedInto, resolveAgentUser, AgentUserError, runBuildSteps, LEASE_SECONDS, createContainerRuntime, stopContainer, cleanupContainer, outOfMemoryReason, containerSenderCommand, signalInContainer, syncInContainer, copyTranscriptsFromContainer, MANAGED_UNJAILED_REASON, senderAliveScript, helperFirecrackerNote, isLiteralAddress, stopJailed, deleteBuildDisk, startCheckContainer, lifecycleSteps, lifecycleFailureReason, writeEvalInput, DeliveryFailure, EVAL_INPUT_NAME, copyTranscripts, senderSignalScript, containerJudgeEnvironment, ROOT_DISK_ID_PREFIX, copyJudgeTree } from './chunk-X5LFLYSD.js';
|
|
10
10
|
import { waitForAgent, vmExecArgs } from './chunk-QQGZ5THT.js';
|
|
11
11
|
import { socketPathProblem, vsockLinks, LEASE_LINK, linkVsockSockets } from './chunk-HIGJTX5U.js';
|
|
12
|
-
import { describeCallFailure, resolveGoverningSource, refusalCode, removeStagedContext, stageGovernedContext, pinnedSourceOf, commandWithShim, logStamp, createRunnerLog, removeKeptContext, formatDuration, retrySend, formatClock, WORKFLOW_PERMISSION_REASON, keptContextTree } from './chunk-
|
|
12
|
+
import { describeCallFailure, resolveGoverningSource, refusalCode, removeStagedContext, stageGovernedContext, pinnedSourceOf, commandWithShim, logStamp, createRunnerLog, removeKeptContext, formatDuration, retrySend, formatClock, WORKFLOW_PERMISSION_REASON, keptContextTree } from './chunk-KDM77TVX.js';
|
|
13
13
|
import { imageBuildOf, isBuiltinContainer, isBuiltinProcess, isBuiltinVm, DEFAULT_CHECK_TIME_LIMIT_MINUTES } from './chunk-ALSE7YKX.js';
|
|
14
14
|
import { readBranchHead, fetchCommit, diffBetween } from './chunk-TPGHCH2H.js';
|
|
15
15
|
import { isSameProcess, startTimeOf } from './chunk-JBJTC3UU.js';
|
|
16
|
-
import { 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-
|
|
16
|
+
import { 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-CHXYLCMA.js';
|
|
17
17
|
import { parseSize } from './chunk-YJLHUKYS.js';
|
|
18
18
|
import { CLAUDE_CODE_VERSION, FIRECRACKER_VERSION } from './chunk-LHYO4RDP.js';
|
|
19
|
-
import { WorkCommandError, postJson, isSignatureRefusal, getJson } from './chunk-
|
|
20
|
-
import { planArtifactUpload } from './chunk-
|
|
21
|
-
import { scrubText } from './chunk-
|
|
19
|
+
import { WorkCommandError, postJson, isSignatureRefusal, getJson } from './chunk-UIBTEDLA.js';
|
|
20
|
+
import { planArtifactUpload } from './chunk-DM4EGXDO.js';
|
|
21
|
+
import { scrubText } from './chunk-AKR32WHV.js';
|
|
22
22
|
import { readCloudConfig } from './chunk-PJDQPF5N.js';
|
|
23
23
|
import { signerFor } from './chunk-JT3YO5MH.js';
|
|
24
24
|
import { RUNNER_FILE_MODE, runnerDir, buildDir, vsockPath } from './chunk-ESP5VZBD.js';
|
|
25
25
|
import { JOB_MOUNT, claudeCredential, repositoriesOf, primaryOf, buildEnvironment, CHECKOUT_DIR, parseIsolation, proxyEnvironment, withProxyWarningHidden, containerLocalAddress, destinationEnvironment, CLAUDE_CREDENTIAL_VARIABLES, builtInEnvironment, withHooksPath, startBuildServices, BUILT_IN_NAMES, AGENT_CREDENTIAL_MISSING, sharedUserEnvironment, headerVariables, authorEnvironment, withTunnelRecord, commitIdentityRecord, RELAY_PORT, repositoryPath, lifecycleWorkdir, CHECK_ITEMS_FILE, currentClaudeCredential, removedClaudeCredentialValues, checkEnvironment, EVAL_INPUT_DIR } from './chunk-HDSDUTX4.js';
|
|
26
|
-
import { resolvePackRoot } from './chunk-
|
|
26
|
+
import { resolvePackRoot } from './chunk-KUTZ6XLS.js';
|
|
27
27
|
import { MAINTAINED_SKILLS } from './chunk-CDDED64E.js';
|
|
28
28
|
import { resolveVersion } from './chunk-RA3O54FC.js';
|
|
29
|
-
import { parsePolicy } from './chunk-
|
|
30
|
-
import { CheckItemsSchema, CHECK_ITEM_REASON_MAX_LENGTH } from './chunk-
|
|
29
|
+
import { parsePolicy } from './chunk-OGCG5LOX.js';
|
|
30
|
+
import { CheckItemsSchema, CHECK_ITEM_REASON_MAX_LENGTH } from './chunk-AKHGQKNR.js';
|
|
31
31
|
import { homeFromEnv } from './chunk-VNVZDWO3.js';
|
|
32
32
|
import { fdName } from './chunk-XD4ZCMA4.js';
|
|
33
33
|
import { RUNNER_WORDED_REASONS, UNKNOWN_TRACKING_REASON } from './chunk-MESOOLF4.js';
|
|
@@ -22661,12 +22661,47 @@ var DemoChapterSchema = external_exports.strictObject(chapterFields).refine((cha
|
|
|
22661
22661
|
message: "a chapter must end after it starts",
|
|
22662
22662
|
path: ["end"]
|
|
22663
22663
|
});
|
|
22664
|
-
var
|
|
22665
|
-
|
|
22664
|
+
var DemoStillSchema = external_exports.strictObject({
|
|
22665
|
+
/** The index, in the chapter's checks, of the check the still follows. */
|
|
22666
|
+
check: external_exports.number().int().min(0),
|
|
22667
|
+
/** The PNG file, as a path relative to the manifest's folder. */
|
|
22668
|
+
file: external_exports.string().min(1).max(500),
|
|
22669
|
+
/** SHA-256 of the PNG file's bytes, in lower-case hex. */
|
|
22670
|
+
sha256: external_exports.string().regex(/^[0-9a-f]{64}$/)
|
|
22671
|
+
});
|
|
22672
|
+
var chapterWithStillsFields = {
|
|
22673
|
+
...chapterFields,
|
|
22674
|
+
stills: external_exports.array(DemoStillSchema).max(DEMO_CHECKS_MAX)
|
|
22675
|
+
};
|
|
22676
|
+
function stillsFollowPassedChecks(chapter, context) {
|
|
22677
|
+
let previous = -1;
|
|
22678
|
+
for (const [index, still] of chapter.stills.entries()) {
|
|
22679
|
+
const check2 = chapter.checks[still.check];
|
|
22680
|
+
if (check2 === void 0 || !check2.passed) {
|
|
22681
|
+
context.addIssue({ code: "custom", path: ["stills", index, "check"], message: "a still must follow a check that passed" });
|
|
22682
|
+
} else if (still.check <= previous) {
|
|
22683
|
+
context.addIssue({ code: "custom", path: ["stills", index, "check"], message: "stills must follow distinct checks, in order" });
|
|
22684
|
+
}
|
|
22685
|
+
previous = still.check;
|
|
22686
|
+
}
|
|
22687
|
+
}
|
|
22688
|
+
var endsAfterStart = (chapter) => chapter.end > chapter.start;
|
|
22689
|
+
var DemoChapterV2Schema = external_exports.strictObject(chapterWithStillsFields).refine(endsAfterStart, { message: "a chapter must end after it starts", path: ["end"] }).superRefine(stillsFollowPassedChecks);
|
|
22690
|
+
var manifestFields = {
|
|
22666
22691
|
/** The recorded video, as a path relative to the manifest's folder. */
|
|
22667
|
-
video: external_exports.string().min(1).max(500)
|
|
22692
|
+
video: external_exports.string().min(1).max(500)
|
|
22693
|
+
};
|
|
22694
|
+
var DemoManifestV1Schema = external_exports.strictObject({
|
|
22695
|
+
schemaVersion: external_exports.literal(1),
|
|
22696
|
+
...manifestFields,
|
|
22668
22697
|
chapters: external_exports.array(DemoChapterSchema).min(1).max(DEMO_CHAPTERS_MAX)
|
|
22669
22698
|
});
|
|
22699
|
+
var DemoManifestV2Schema = external_exports.strictObject({
|
|
22700
|
+
schemaVersion: external_exports.literal(2),
|
|
22701
|
+
...manifestFields,
|
|
22702
|
+
chapters: external_exports.array(DemoChapterV2Schema).min(1).max(DEMO_CHAPTERS_MAX)
|
|
22703
|
+
});
|
|
22704
|
+
var DemoManifestSchema = external_exports.discriminatedUnion("schemaVersion", [DemoManifestV1Schema, DemoManifestV2Schema]);
|
|
22670
22705
|
var DemoRecordChapterSchema = external_exports.strictObject({
|
|
22671
22706
|
...chapterFields,
|
|
22672
22707
|
/** The `clientArtifactId` of the chapter's clip. */
|
|
@@ -22674,10 +22709,35 @@ var DemoRecordChapterSchema = external_exports.strictObject({
|
|
|
22674
22709
|
/** True when the clip was bound to the chapter's criterion: every check passed. */
|
|
22675
22710
|
bound: external_exports.boolean()
|
|
22676
22711
|
});
|
|
22677
|
-
external_exports.
|
|
22712
|
+
var DemoComparableSchema = external_exports.enum(["yes", "no", "not checked"]);
|
|
22713
|
+
var DemoRegionSchema = external_exports.strictObject({
|
|
22714
|
+
x: external_exports.number().int().min(0),
|
|
22715
|
+
y: external_exports.number().int().min(0),
|
|
22716
|
+
width: external_exports.number().int().positive(),
|
|
22717
|
+
height: external_exports.number().int().positive()
|
|
22718
|
+
});
|
|
22719
|
+
var DemoRecordChapterV2Schema = external_exports.strictObject({
|
|
22720
|
+
...chapterFields,
|
|
22721
|
+
clipArtifactId: external_exports.string().min(1).max(64),
|
|
22722
|
+
bound: external_exports.boolean(),
|
|
22723
|
+
comparable: DemoComparableSchema,
|
|
22724
|
+
/** The first run's stills: the check each follows and the SHA-256 of its file. */
|
|
22725
|
+
stills: external_exports.array(DemoStillSchema.pick({ check: true, sha256: true })).max(DEMO_CHECKS_MAX),
|
|
22726
|
+
/** The first still that differs between the runs. Present exactly when `comparable` is `no`. */
|
|
22727
|
+
difference: external_exports.strictObject({ check: external_exports.number().int().min(0), region: DemoRegionSchema }).optional()
|
|
22728
|
+
}).refine((chapter) => chapter.end > chapter.start, { message: "a chapter must end after it starts", path: ["end"] }).refine((chapter) => chapter.comparable === "no" === (chapter.difference !== void 0), {
|
|
22729
|
+
message: "a chapter has a difference exactly when it is not comparable",
|
|
22730
|
+
path: ["difference"]
|
|
22731
|
+
});
|
|
22732
|
+
var DemoRecordV1Schema = external_exports.strictObject({
|
|
22678
22733
|
schemaVersion: external_exports.literal(1),
|
|
22679
22734
|
chapters: external_exports.array(DemoRecordChapterSchema).min(1).max(DEMO_CHAPTERS_MAX)
|
|
22680
22735
|
});
|
|
22736
|
+
var DemoRecordV2Schema = external_exports.strictObject({
|
|
22737
|
+
schemaVersion: external_exports.literal(2),
|
|
22738
|
+
chapters: external_exports.array(DemoRecordChapterV2Schema).min(1).max(DEMO_CHAPTERS_MAX)
|
|
22739
|
+
});
|
|
22740
|
+
external_exports.discriminatedUnion("schemaVersion", [DemoRecordV1Schema, DemoRecordV2Schema]);
|
|
22681
22741
|
/*! Bundled license information:
|
|
22682
22742
|
|
|
22683
22743
|
xmlchars/xml/1.0/ed5.js:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { EVENT_TYPES, isHumanUserTurn, INPUT_BAND_BOUNDARIES, parseAgentSession, SCHEMA_VERSION, SPEED_MAX_LENGTH, inputBandOf, BUCKET_MODEL_MAX_LENGTH } from './chunk-
|
|
3
|
+
import { EVENT_TYPES, isHumanUserTurn, INPUT_BAND_BOUNDARIES, parseAgentSession, SCHEMA_VERSION, SPEED_MAX_LENGTH, inputBandOf, BUCKET_MODEL_MAX_LENGTH } from './chunk-AKHGQKNR.js';
|
|
4
4
|
import { createHash } from 'crypto';
|
|
5
5
|
import { readFileSync, readdirSync, statSync, mkdirSync, copyFileSync, renameSync, unlinkSync, writeFileSync, stat as stat$1, unwatchFile, watchFile, watch as watch$1 } from 'fs';
|
|
6
6
|
import { type, homedir } from 'os';
|
|
@@ -3,7 +3,7 @@ import { createRequire } from 'node:module';
|
|
|
3
3
|
import { parseSize } from './chunk-YJLHUKYS.js';
|
|
4
4
|
import { RecipeError } from './chunk-3Z3MPR55.js';
|
|
5
5
|
import { BUILDKIT_IMAGE } from './chunk-LHYO4RDP.js';
|
|
6
|
-
import { compareVersions } from './chunk-
|
|
6
|
+
import { compareVersions } from './chunk-AKR32WHV.js';
|
|
7
7
|
import { ensureHostKey } from './chunk-JT3YO5MH.js';
|
|
8
8
|
import { RUNNER_DIR_MODE, RUNNER_FILE_MODE, runnerDir, jobsDir } from './chunk-ESP5VZBD.js';
|
|
9
9
|
import { CLAUDE_PORT, JOB_MOUNT, GATEWAY_PORT, GATEWAY_SOCKET, CLAUDE_SOCKET, RELAY_PORT, DESTINATION_BASE_PORT } from './chunk-HDSDUTX4.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { MIN_ENGINE_MAJOR } from './chunk-
|
|
3
|
+
import { MIN_ENGINE_MAJOR } from './chunk-X5LFLYSD.js';
|
|
4
4
|
import { runnerImageVersion } from './chunk-533QGXGZ.js';
|
|
5
5
|
import { firecrackerArch, MICROVM_ARCHES, guestAssetsPinned } from './chunk-LHYO4RDP.js';
|
|
6
6
|
import { spawnSync } from 'child_process';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { releaseLease, isUnfinished, setStage, jobEnv, runHook, describeHookEnd, provisionMicroVm, deliverCommitHooks, provisionProcess, provisionEnvironment, readProvisionOut, resolveHostBuild, workdirProblem, listenOnBroker, hostEnvironment, hostCommandEnvironment, execArgv, MICROVM_COMMAND_DIR, commandLogOffset, startMicroVmCommand, microVmCommandLine, runCommand, execCommandLine, startSender, startHostServices, 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-
|
|
3
|
+
import { releaseLease, isUnfinished, setStage, jobEnv, runHook, describeHookEnd, provisionMicroVm, deliverCommitHooks, provisionProcess, provisionEnvironment, readProvisionOut, resolveHostBuild, workdirProblem, listenOnBroker, hostEnvironment, hostCommandEnvironment, execArgv, MICROVM_COMMAND_DIR, commandLogOffset, startMicroVmCommand, microVmCommandLine, runCommand, execCommandLine, startSender, startHostServices, 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-72YES3RL.js';
|
|
4
4
|
import { readHousekeepingRecord, writeHousekeepingRecord } from './chunk-LH3KULPL.js';
|
|
5
5
|
import { decideInstalledSwitch } from './chunk-3JVYMD4G.js';
|
|
6
6
|
import { fetchVersionMeta, npmVersion, npmSupportsProvenance, fetchTarballDigest, fetchProvenance, installVersion, auditSignatures } from './chunk-E7R2GIAW.js';
|
|
@@ -8,19 +8,19 @@ import { fitImageBuildMemory } from './chunk-M5ZXOQYS.js';
|
|
|
8
8
|
import { RUNNER_PROTOCOL } from './chunk-YKYCE4HY.js';
|
|
9
9
|
import { writePendingUpdate } from './chunk-CNRMP6EN.js';
|
|
10
10
|
import { JOB_STATE_FORMAT, readsJobState, jobStateFormatOf } from './chunk-ZVB57WI6.js';
|
|
11
|
-
import { currentSkillCommand, formerSkillProblem, realBlockedProbes, checkBlocked } from './chunk-
|
|
11
|
+
import { currentSkillCommand, formerSkillProblem, realBlockedProbes, checkBlocked } from './chunk-LBPK2TPR.js';
|
|
12
12
|
import { writeMarker, readMarker, currentVersion, removeMarker, entryIn, versionDir, startedThroughCurrent, switchCurrent, isInLayout, cleanVersions, stagingDir } from './chunk-3VGDZ23W.js';
|
|
13
13
|
import { RepoFilter } from './chunk-TBT347UY.js';
|
|
14
|
-
import { leaseTimeLeftMs, createContainerRuntime, withTunnelLog, LEASE_SECONDS, provisionContainer, leaseExpiresAtMs, deliverContainerHooks, lifecycleSteps, lifecycleFailureReason, prepareBranch, containerCommandExec, setUpRunnerCgroup, sweepImageBuilders, freeBytes, formatBytes, measureDisk, parseCpuList, ensureTunnel, keepGhConfigCurrent, filesAreCopied, gitRemoteFor, startServicesFor, createLeaseChannel } from './chunk-
|
|
15
|
-
import { describeCallFailure, retrySend, shortClaim, relativeToRunner, formatDuration, BuildTokens, classifyRefusal, refusalCode, createRunnerLog, formatClock } from './chunk-
|
|
14
|
+
import { leaseTimeLeftMs, createContainerRuntime, withTunnelLog, LEASE_SECONDS, provisionContainer, leaseExpiresAtMs, deliverContainerHooks, lifecycleSteps, lifecycleFailureReason, prepareBranch, containerCommandExec, setUpRunnerCgroup, sweepImageBuilders, freeBytes, formatBytes, measureDisk, parseCpuList, ensureTunnel, keepGhConfigCurrent, filesAreCopied, gitRemoteFor, startServicesFor, createLeaseChannel } from './chunk-X5LFLYSD.js';
|
|
15
|
+
import { describeCallFailure, retrySend, shortClaim, relativeToRunner, formatDuration, BuildTokens, classifyRefusal, refusalCode, createRunnerLog, formatClock } from './chunk-KDM77TVX.js';
|
|
16
16
|
import { tagToPull, pullInstruction, imageTag, writeUpdateStatus } from './chunk-533QGXGZ.js';
|
|
17
17
|
import { isVersion, compareVersions, satisfiesRange } from './chunk-TQMI335S.js';
|
|
18
18
|
import { isBuiltinContainer, isBuiltinVm, isBuiltinProcess, loadRunnerConfig, checkHooks, builtinKind, DEFAULT_UPDATE_MAX_WAIT_HOURS } from './chunk-ALSE7YKX.js';
|
|
19
19
|
import { claimPidFile, writePidFile, readPidFile, releasePidFile } from './chunk-IPJ6HR7E.js';
|
|
20
20
|
import { startTimeOf, isSameProcess } from './chunk-JBJTC3UU.js';
|
|
21
|
-
import { writeJobFile, ensureRunnerIdentity, readJobFile, builderName, runnerLabelValue, ensureFailureCount, builderSpec, ensureBuilder, spawnRun, BUILD_LABEL, RUNNER_LABEL, readJobFileChecked } from './chunk-
|
|
21
|
+
import { writeJobFile, ensureRunnerIdentity, readJobFile, builderName, runnerLabelValue, ensureFailureCount, builderSpec, ensureBuilder, spawnRun, BUILD_LABEL, RUNNER_LABEL, readJobFileChecked } from './chunk-CHXYLCMA.js';
|
|
22
22
|
import { exceedsDisk } from './chunk-YJLHUKYS.js';
|
|
23
|
-
import { isSignatureRefusal, WorkCommandError, getJson, postJson } from './chunk-
|
|
23
|
+
import { isSignatureRefusal, WorkCommandError, getJson, postJson } from './chunk-UIBTEDLA.js';
|
|
24
24
|
import { loadHostKey, ensureHostKey, signerFor } from './chunk-JT3YO5MH.js';
|
|
25
25
|
import { RUNNER_DIR_MODE, runnerDir, buildDir, attemptStamp, jobDir, RUNNER_FILE_MODE, jobsDir, pidFilePath, spoolDir, rootfsDir, imagesDir, builderCacheDiskPath } from './chunk-ESP5VZBD.js';
|
|
26
26
|
import { parseClaimIdentity, parseClaimedRepositories, parseUnreachable, repositoriesOf, primaryOf, sharedUserEnvironment, JOB_MOUNT, takeClaudeCredential, heldClaudeCredential, currentClaudeCredential } from './chunk-HDSDUTX4.js';
|
|
@@ -1770,7 +1770,7 @@ var CLAIM_REFUSAL_CODES = new Set(
|
|
|
1770
1770
|
"pull_request_from_fork pull_request_on_default_branch pull_request_ambiguous pull_request_repository_not_connected repository_not_reachable branch_claimed_elsewhere".split(" ")
|
|
1771
1771
|
);
|
|
1772
1772
|
async function tryClaimAndStart(state, item, queue) {
|
|
1773
|
-
const { postJson: postJson2 } = await import('./work-cmd-
|
|
1773
|
+
const { postJson: postJson2 } = await import('./work-cmd-QQDUI3YX.js');
|
|
1774
1774
|
const log = logOf(state);
|
|
1775
1775
|
const hostKey = await loadHostKey(state.config.configPath);
|
|
1776
1776
|
const claim = await retrySend(
|
|
@@ -2966,7 +2966,7 @@ async function start(configPath, deps = { fetchImpl: fetch }) {
|
|
|
2966
2966
|
check: update.check ? () => update.check(configPath) : async () => {
|
|
2967
2967
|
const held = heldClaudeCredential();
|
|
2968
2968
|
const env = held === void 0 ? process.env : { ...process.env, [held.variable]: held.value };
|
|
2969
|
-
return (await import('./check-
|
|
2969
|
+
return (await import('./check-AXDPZJU4.js')).runRunnerCheck(configPath, { fetchImpl: deps.fetchImpl, env });
|
|
2970
2970
|
},
|
|
2971
2971
|
now: () => (deps.now ?? (() => /* @__PURE__ */ new Date()))().getTime(),
|
|
2972
2972
|
log
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { autoConnect, detectActiveSession } from './chunk-
|
|
4
|
-
import { resolveRepoIdentity } from './chunk-
|
|
3
|
+
import { autoConnect, detectActiveSession } from './chunk-6TFTRVOA.js';
|
|
4
|
+
import { resolveRepoIdentity } from './chunk-AKR32WHV.js';
|
|
5
5
|
import { C } from './chunk-ANPNT6PM.js';
|
|
6
6
|
import { defaultFetch, unauthorizedMessage, resolveGatewayCredentials } from './chunk-VQ2JGZSC.js';
|
|
7
7
|
import { parseWorkItemEnv } from './chunk-T2Q7ISPE.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { ArtifactTombstoneRecordSchema, ArtifactSpoolRecordSchema } from './chunk-
|
|
3
|
+
import { ArtifactTombstoneRecordSchema, ArtifactSpoolRecordSchema } from './chunk-AKHGQKNR.js';
|
|
4
4
|
import { homeFromEnv } from './chunk-VNVZDWO3.js';
|
|
5
5
|
import { mkdirSync, appendFileSync, writeFileSync, renameSync, unlinkSync, existsSync, readdirSync, readFileSync, statSync } from 'fs';
|
|
6
6
|
import { join, dirname } from 'path';
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { sanitizeTerminal } from './chunk-
|
|
4
|
-
import { isAgentsMdLayout } from './chunk-
|
|
3
|
+
import { sanitizeTerminal } from './chunk-DM4EGXDO.js';
|
|
4
|
+
import { isAgentsMdLayout } from './chunk-4IG6EZHU.js';
|
|
5
5
|
import { resolveGatewayCredentials, defaultFetch } from './chunk-VQ2JGZSC.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-Q2D4M3GC.js';
|
|
9
|
+
import { AGENTS_SKILLS_BASE, skillDir, namesCore, MACHINE_SKILL_PATH, isMaintainedCopy, loadTemplateFiles } from './chunk-KUTZ6XLS.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-LN4WDONI.js';
|
|
13
|
+
import { emitTree, ALL_TARGET_IDS, classifyTree, splitRawFile } from './chunk-OGCG5LOX.js';
|
|
14
14
|
import { existsSync, readFileSync, writeFileSync, realpathSync, readdirSync } from 'fs';
|
|
15
15
|
import { join, dirname, posix } from 'path';
|
|
16
16
|
|
|
@@ -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-UBOJHGQM.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-R4X63DYW.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,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, isStagingWriteFault, lookupGoverningSource } from './chunk-
|
|
3
|
+
import { WorkCommandError, postJson } from './chunk-UIBTEDLA.js';
|
|
4
|
+
import { defaultGitRunner, materializeContext, isStagingWriteFault, lookupGoverningSource } from './chunk-RVWADVBN.js';
|
|
5
5
|
import { signingFetchFor } from './chunk-VQ2JGZSC.js';
|
|
6
6
|
import { signerFor } from './chunk-JT3YO5MH.js';
|
|
7
7
|
import { SHIM_DIR, stagedContextDir, contextHomeDir, deliveryDir, keptContextDir } from './chunk-ESP5VZBD.js';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { MAINTAINED_SKILLS } from './chunk-CDDED64E.js';
|
|
4
4
|
import { resolvePackageVersion } from './chunk-RA3O54FC.js';
|
|
5
|
-
import { splitRawFile } from './chunk-
|
|
5
|
+
import { splitRawFile } from './chunk-OGCG5LOX.js';
|
|
6
6
|
import { existsSync, readFileSync, mkdirSync, writeFileSync, readdirSync } from 'fs';
|
|
7
7
|
import { join, dirname } from 'path';
|
|
8
8
|
import { fileURLToPath } from 'url';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { isPlaceholderCommand } from './chunk-
|
|
4
|
-
import { describeCallFailure } from './chunk-
|
|
3
|
+
import { isPlaceholderCommand } from './chunk-O6NG67Y7.js';
|
|
4
|
+
import { describeCallFailure } from './chunk-KDM77TVX.js';
|
|
5
5
|
import { checkFit } from './chunk-HBBCQ5NE.js';
|
|
6
6
|
import { builtinKind, imageBuildOf } from './chunk-ALSE7YKX.js';
|
|
7
7
|
import { builderDiskPinned } from './chunk-LHYO4RDP.js';
|
|
8
|
-
import { WorkCommandError, getJson } from './chunk-
|
|
9
|
-
import { sanitizeTerminal } from './chunk-
|
|
8
|
+
import { WorkCommandError, getJson } from './chunk-UIBTEDLA.js';
|
|
9
|
+
import { sanitizeTerminal } from './chunk-DM4EGXDO.js';
|
|
10
10
|
import { signerFor } from './chunk-JT3YO5MH.js';
|
|
11
11
|
import { CLAUDE_CREDENTIAL_VARIABLES, claudeCredential, claudeCredentialVariablesSet } from './chunk-HDSDUTX4.js';
|
|
12
12
|
import { closeSync, openSync, constants } 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-OGCG5LOX.js';
|
|
6
6
|
import { execFileSync } from 'child_process';
|
|
7
7
|
import { lstatSync, existsSync, unlinkSync, readdirSync, rmdirSync, readFileSync, mkdirSync, writeFileSync } from 'fs';
|
|
8
8
|
import { join, dirname, isAbsolute } from 'path';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { skillDir, FORMER_MAINTAINED_NAMES, isMaintainedCopy } from './chunk-
|
|
3
|
+
import { skillDir, FORMER_MAINTAINED_NAMES, isMaintainedCopy } from './chunk-KUTZ6XLS.js';
|
|
4
4
|
import { cliInvocation } from './chunk-CRB3POP4.js';
|
|
5
|
-
import { emitTree, ALL_TARGET_IDS, classifyTree } from './chunk-
|
|
5
|
+
import { emitTree, ALL_TARGET_IDS, classifyTree } from './chunk-OGCG5LOX.js';
|
|
6
6
|
import { readFileSync, existsSync, unlinkSync, rmdirSync, readdirSync } from 'fs';
|
|
7
7
|
import { join, dirname, relative, sep } from 'path';
|
|
8
8
|
|
|
@@ -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-TNJXCNQ6.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-UWEJ6HGB.js';
|
|
6
|
+
import { AGENTS_MD_LAYOUT, declareAgentsMdLayout, linkClaudeSkills, SKILLS_LINK_PATH, describeSkillsLink, isAgentsMdLayout, holdsTodaysLayoutSources, discoverOuterlayerPaths } from './chunk-4IG6EZHU.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-RVWADVBN.js';
|
|
9
|
+
import { loadTemplateFiles, loadMaintainedFiles, skillDir, AGENTS_SKILLS_BASE } from './chunk-KUTZ6XLS.js';
|
|
10
10
|
import { cliInvocation } from './chunk-CRB3POP4.js';
|
|
11
|
-
import { linkedAgentsPath } from './chunk-
|
|
11
|
+
import { linkedAgentsPath } from './chunk-LN4WDONI.js';
|
|
12
12
|
import { cloneIsGoverned } from './chunk-YQR6E6OV.js';
|
|
13
|
-
import { generatedHeaderSource } from './chunk-
|
|
13
|
+
import { generatedHeaderSource } from './chunk-OGCG5LOX.js';
|
|
14
14
|
import { execFileSync } from 'child_process';
|
|
15
15
|
import { existsSync, mkdirSync, writeFileSync } from 'fs';
|
|
16
16
|
import { join, dirname } from 'path';
|