@outerlayer/cli 0.36.0-next.20261031161320 → 0.36.0-next.20261101022001
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/build-info.json +1 -1
- package/dist/{check-ARDGJYVM.js → check-LUQM6DGK.js} +7 -7
- package/dist/{chunk-4RSTPRMH.js → chunk-453B2ZHX.js} +1 -1
- package/dist/{chunk-LZ7PAU55.js → chunk-7EPIOSLO.js} +1 -1
- package/dist/{chunk-TXJMHMPO.js → chunk-AHEIZCCA.js} +2 -2
- package/dist/{chunk-MR5MAX77.js → chunk-CVQ4YBBE.js} +1 -1
- package/dist/{chunk-7SDVHXP7.js → chunk-GQVOK4ZO.js} +8 -8
- package/dist/{chunk-PGWK2FH5.js → chunk-HDTFRHY6.js} +2 -2
- package/dist/{chunk-27DQ3DDF.js → chunk-IVH7WDOO.js} +2 -2
- package/dist/{chunk-JVQYYVDS.js → chunk-NIZ7FXUX.js} +6 -4
- package/dist/{chunk-S6OD32NC.js → chunk-T3SRWWPX.js} +1 -0
- package/dist/{chunk-VG2NIWR4.js → chunk-XZ7NIGVA.js} +1 -1
- package/dist/{chunk-VHR3WQTP.js → chunk-ZJ4Y2BOI.js} +4 -4
- package/dist/{cli-YLO3M2X4.js → cli-I7ZLMEL6.js} +46 -46
- package/dist/{command-IANIXN6N.js → command-TDJDBIXU.js} +4 -4
- package/dist/{container-start-EUTOX4EU.js → container-start-DNGL4XJ3.js} +5 -5
- package/dist/{doctor-VSPDIR6T.js → doctor-LXVJQKME.js} +5 -5
- package/dist/{governing-source-6ANJ4HQI.js → governing-source-3LUGSBRW.js} +2 -2
- package/dist/{host-checks-3QBPJLSG.js → host-checks-7NCEW7FR.js} +3 -3
- package/dist/index.js +1 -1
- package/dist/{init-JLOGNKPC.js → init-AQJEIH57.js} +3 -3
- package/dist/{init-5QYRPZ63.js → init-U4AM3APJ.js} +3 -3
- package/dist/{init-cmd-NDXN2XPU.js → init-cmd-SP4YMVKT.js} +2 -2
- package/dist/{loop-I7ZM4CEZ.js → loop-NKJRLAGI.js} +7 -7
- package/dist/{machine-7NYF2WBI.js → machine-VV4LYWZQ.js} +3 -3
- package/dist/recorder.cjs +166 -55
- package/dist/{runner-key-VVLYZFP6.js → runner-key-4JXOPPUJ.js} +3 -3
- package/dist/{spec-cmd-253AGRFF.js → spec-cmd-6LT5JJKG.js} +1 -1
- package/dist/{status-I3TV7ZZV.js → status-OADVUMST.js} +3 -3
- package/dist/{update-steps-VOSUXXMS.js → update-steps-GRF3BQ5M.js} +4 -4
- package/dist/{work-claim-cmd-KG3VBBZ2.js → work-claim-cmd-2OO73LEV.js} +2 -2
- package/dist/{work-cmd-JZUBXXJN.js → work-cmd-YOWM4KZU.js} +1 -1
- package/dist/{work-comment-cmd-L4R6ZXLO.js → work-comment-cmd-7AKCM2JN.js} +2 -2
- package/dist/{work-demo-cmd-YNPN2PHQ.js → work-demo-cmd-DHJDR7BB.js} +1 -1
- package/dist/{work-logs-cmd-CSQJB5MD.js → work-logs-cmd-62PZKGUU.js} +1 -1
- package/dist/{work-open-pr-cmd-Y7YNI2PF.js → work-open-pr-cmd-DMDHGKEJ.js} +1 -1
- package/dist/{work-proofs-cmd-74Z72ZG6.js → work-proofs-cmd-UQPQF7CK.js} +2 -2
- package/dist/{work-proofs-record-LT7UXHNZ.js → work-proofs-record-SRL7DRXV.js} +3 -3
- package/dist/{work-stop-cmd-LF4OTNPL.js → work-stop-cmd-NYPQKSHC.js} +1 -1
- package/package.json +1 -1
- package/skill-pack/maintained/outerlayer-build/references/agent-briefs.md +4 -2
- package/skill-pack/maintained/outerlayer-evidence/SKILL.md +8 -3
- package/skill-pack/maintained/outerlayer-evidence/references/demo.md +17 -4
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { realOwnership, accountNamed, handOver, runRunnerInstall, launcherSummary, restartNote, accountIdentity } from './chunk-RIHB3HA2.js';
|
|
4
|
-
import { installHelper, helperUnitFor, helperSocketFor, uninstallHelper } from './chunk-
|
|
4
|
+
import { installHelper, helperUnitFor, helperSocketFor, uninstallHelper } from './chunk-453B2ZHX.js';
|
|
5
5
|
import './chunk-7J7HRYZ3.js';
|
|
6
6
|
import { currentLink, execStartCommand } from './chunk-AF6DQJ5W.js';
|
|
7
|
-
import { detectMachine, ensureFirecrackerAndJailer } from './chunk-
|
|
7
|
+
import { detectMachine, ensureFirecrackerAndJailer } from './chunk-NIZ7FXUX.js';
|
|
8
8
|
import './chunk-GDIVOYDA.js';
|
|
9
9
|
import './chunk-I3LTIAOR.js';
|
|
10
10
|
import './chunk-2PGI6RDE.js';
|
|
@@ -24,7 +24,7 @@ import './chunk-KB5B6ZT5.js';
|
|
|
24
24
|
import './chunk-WAZJPDR2.js';
|
|
25
25
|
import './chunk-OGFGZQA3.js';
|
|
26
26
|
import './chunk-46OBCATR.js';
|
|
27
|
-
import './chunk-
|
|
27
|
+
import './chunk-7EPIOSLO.js';
|
|
28
28
|
import './chunk-55PYF6S2.js';
|
|
29
29
|
import './chunk-JBJTC3UU.js';
|
|
30
30
|
import './chunk-UZGQT6OF.js';
|
|
@@ -39,7 +39,7 @@ import './chunk-CIUD3436.js';
|
|
|
39
39
|
import { HOST_HELPER_ASSETS_VERSION, builderDiskPinned, hostHelperSupportsSlice, HOST_HELPER_SLICE_SINCE, firecrackerArch, MICROVM_ARCHES, FIRECRACKER_VERSION, FIRECRACKER_BINARY_SHA256, JAILER_BINARY_SHA256, HOST_HELPER_SHA256, HOST_HELPER_BASE_URL, hostHelperPinned } from './chunk-OUPQTA7N.js';
|
|
40
40
|
import './chunk-OHQMGLJP.js';
|
|
41
41
|
import './chunk-3SQZ5LIK.js';
|
|
42
|
-
import './chunk-
|
|
42
|
+
import './chunk-T3SRWWPX.js';
|
|
43
43
|
import './chunk-IP7BIBXJ.js';
|
|
44
44
|
import './chunk-LHFG5YUG.js';
|
|
45
45
|
import './chunk-JPROSTGX.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { reportFailedStart, BUILD_MEMORY_VARIABLE } from './chunk-
|
|
4
|
-
import { readOwnContainer } from './chunk-
|
|
5
|
-
import { detectMachine, supportsContainerBuilds, MIN_ENGINE_MAJOR, describeMachineDocker, RunnerInitError, prepareRunnerInit, writeRunnerInit } from './chunk-
|
|
3
|
+
import { reportFailedStart, BUILD_MEMORY_VARIABLE } from './chunk-IVH7WDOO.js';
|
|
4
|
+
import { readOwnContainer } from './chunk-CVQ4YBBE.js';
|
|
5
|
+
import { detectMachine, supportsContainerBuilds, MIN_ENGINE_MAJOR, describeMachineDocker, RunnerInitError, prepareRunnerInit, writeRunnerInit } from './chunk-NIZ7FXUX.js';
|
|
6
6
|
import './chunk-GDIVOYDA.js';
|
|
7
7
|
import './chunk-I3LTIAOR.js';
|
|
8
8
|
import './chunk-2PGI6RDE.js';
|
|
@@ -22,7 +22,7 @@ import './chunk-KB5B6ZT5.js';
|
|
|
22
22
|
import './chunk-WAZJPDR2.js';
|
|
23
23
|
import './chunk-OGFGZQA3.js';
|
|
24
24
|
import './chunk-46OBCATR.js';
|
|
25
|
-
import './chunk-
|
|
25
|
+
import './chunk-7EPIOSLO.js';
|
|
26
26
|
import './chunk-55PYF6S2.js';
|
|
27
27
|
import './chunk-JBJTC3UU.js';
|
|
28
28
|
import './chunk-UZGQT6OF.js';
|
|
@@ -35,7 +35,7 @@ import './chunk-CIUD3436.js';
|
|
|
35
35
|
import './chunk-OUPQTA7N.js';
|
|
36
36
|
import './chunk-OHQMGLJP.js';
|
|
37
37
|
import './chunk-3SQZ5LIK.js';
|
|
38
|
-
import './chunk-
|
|
38
|
+
import './chunk-T3SRWWPX.js';
|
|
39
39
|
import './chunk-IP7BIBXJ.js';
|
|
40
40
|
import './chunk-LHFG5YUG.js';
|
|
41
41
|
import './chunk-JPROSTGX.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { managedProblems, fleetConfigProblem, askFleetMachine } from './chunk-
|
|
4
|
-
import { helperBinaryFor } from './chunk-
|
|
3
|
+
import { managedProblems, fleetConfigProblem, askFleetMachine } from './chunk-HDTFRHY6.js';
|
|
4
|
+
import { helperBinaryFor } from './chunk-453B2ZHX.js';
|
|
5
5
|
import { launcherCheck } from './chunk-7J7HRYZ3.js';
|
|
6
6
|
import './chunk-AF6DQJ5W.js';
|
|
7
|
-
import { needsClaudeCredential, claudeCredentialCheck, detectMachine, supportsContainerBuilds, describeMachineDocker, MIN_ENGINE_MAJOR, reachDockerStep, supportsMicroVmBuilds, microVmArchSupported, microVmAssetsPinned, helperFirecrackerNote, probeHelper, helperSocketPath, firstLine, KIND_LABEL, missingPermissionOf, missingPermissionFix } from './chunk-
|
|
7
|
+
import { needsClaudeCredential, claudeCredentialCheck, detectMachine, supportsContainerBuilds, describeMachineDocker, MIN_ENGINE_MAJOR, reachDockerStep, supportsMicroVmBuilds, microVmArchSupported, microVmAssetsPinned, helperFirecrackerNote, probeHelper, helperSocketPath, firstLine, KIND_LABEL, missingPermissionOf, missingPermissionFix } from './chunk-NIZ7FXUX.js';
|
|
8
8
|
import './chunk-GDIVOYDA.js';
|
|
9
9
|
import './chunk-I3LTIAOR.js';
|
|
10
10
|
import './chunk-2PGI6RDE.js';
|
|
@@ -24,7 +24,7 @@ import './chunk-KB5B6ZT5.js';
|
|
|
24
24
|
import './chunk-WAZJPDR2.js';
|
|
25
25
|
import './chunk-OGFGZQA3.js';
|
|
26
26
|
import './chunk-46OBCATR.js';
|
|
27
|
-
import './chunk-
|
|
27
|
+
import './chunk-7EPIOSLO.js';
|
|
28
28
|
import './chunk-55PYF6S2.js';
|
|
29
29
|
import './chunk-JBJTC3UU.js';
|
|
30
30
|
import './chunk-UZGQT6OF.js';
|
|
@@ -37,7 +37,7 @@ import { resolveDevcontainerCli, locateRecipe, assertBuildable, readRecipe, Reci
|
|
|
37
37
|
import { HOST_HELPER_ASSETS_VERSION, FIRECRACKER_VERSION, HOST_HELPER_SHA256, builderDiskPinned, CLAUDE_CODE_VERSION } from './chunk-OUPQTA7N.js';
|
|
38
38
|
import './chunk-OHQMGLJP.js';
|
|
39
39
|
import './chunk-3SQZ5LIK.js';
|
|
40
|
-
import { getJson, WorkCommandError, signatureRefusalMessage } from './chunk-
|
|
40
|
+
import { getJson, WorkCommandError, signatureRefusalMessage } from './chunk-T3SRWWPX.js';
|
|
41
41
|
import './chunk-IP7BIBXJ.js';
|
|
42
42
|
import './chunk-LHFG5YUG.js';
|
|
43
43
|
import './chunk-JPROSTGX.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { imageTargetFor, pinnedSourceOf, resolveGoverningSource } from './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
export { imageTargetFor, pinnedSourceOf, resolveGoverningSource } from './chunk-7EPIOSLO.js';
|
|
4
|
+
import './chunk-T3SRWWPX.js';
|
|
5
5
|
import './chunk-IP7BIBXJ.js';
|
|
6
6
|
import './chunk-LHFG5YUG.js';
|
|
7
7
|
import './chunk-JPROSTGX.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { MAX_CHECK_ITEMS_BYTES, checksIn, commandItems, isJudgeCheck, makeRecorder, readDefinitions, runHostChecks, testProofIn, timeoutAfter } from './chunk-
|
|
3
|
+
export { MAX_CHECK_ITEMS_BYTES, checksIn, commandItems, isJudgeCheck, makeRecorder, readDefinitions, runHostChecks, testProofIn, timeoutAfter } from './chunk-NIZ7FXUX.js';
|
|
4
4
|
import './chunk-GDIVOYDA.js';
|
|
5
5
|
import './chunk-I3LTIAOR.js';
|
|
6
6
|
import './chunk-2PGI6RDE.js';
|
|
@@ -20,7 +20,7 @@ import './chunk-KB5B6ZT5.js';
|
|
|
20
20
|
import './chunk-WAZJPDR2.js';
|
|
21
21
|
import './chunk-OGFGZQA3.js';
|
|
22
22
|
import './chunk-46OBCATR.js';
|
|
23
|
-
import './chunk-
|
|
23
|
+
import './chunk-7EPIOSLO.js';
|
|
24
24
|
import './chunk-55PYF6S2.js';
|
|
25
25
|
import './chunk-JBJTC3UU.js';
|
|
26
26
|
import './chunk-UZGQT6OF.js';
|
|
@@ -33,7 +33,7 @@ import './chunk-CIUD3436.js';
|
|
|
33
33
|
import './chunk-OUPQTA7N.js';
|
|
34
34
|
import './chunk-OHQMGLJP.js';
|
|
35
35
|
import './chunk-3SQZ5LIK.js';
|
|
36
|
-
import './chunk-
|
|
36
|
+
import './chunk-T3SRWWPX.js';
|
|
37
37
|
import './chunk-IP7BIBXJ.js';
|
|
38
38
|
import './chunk-LHFG5YUG.js';
|
|
39
39
|
import './chunk-JPROSTGX.js';
|
package/dist/index.js
CHANGED
|
@@ -26,5 +26,5 @@ if (argv[0] === "claude") {
|
|
|
26
26
|
process.exit(await runClaudeLauncher(argv.slice(1)));
|
|
27
27
|
}
|
|
28
28
|
(await import('./hook-fast-3HPWMSFB.js')).recordLinkExitFailure(argv);
|
|
29
|
-
var { runCli } = await import('./cli-
|
|
29
|
+
var { runCli } = await import('./cli-I7ZLMEL6.js');
|
|
30
30
|
await runCli(process.argv);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { npmSupportsProvenance } from './chunk-E7R2GIAW.js';
|
|
4
|
-
import { RunnerInitError, readConfigObject } from './chunk-
|
|
4
|
+
import { RunnerInitError, readConfigObject } from './chunk-NIZ7FXUX.js';
|
|
5
5
|
import './chunk-GDIVOYDA.js';
|
|
6
6
|
import './chunk-I3LTIAOR.js';
|
|
7
7
|
import './chunk-2PGI6RDE.js';
|
|
@@ -21,7 +21,7 @@ import './chunk-KB5B6ZT5.js';
|
|
|
21
21
|
import './chunk-WAZJPDR2.js';
|
|
22
22
|
import './chunk-OGFGZQA3.js';
|
|
23
23
|
import './chunk-46OBCATR.js';
|
|
24
|
-
import './chunk-
|
|
24
|
+
import './chunk-7EPIOSLO.js';
|
|
25
25
|
import './chunk-55PYF6S2.js';
|
|
26
26
|
import './chunk-JBJTC3UU.js';
|
|
27
27
|
import './chunk-UZGQT6OF.js';
|
|
@@ -35,7 +35,7 @@ import './chunk-CIUD3436.js';
|
|
|
35
35
|
import './chunk-OUPQTA7N.js';
|
|
36
36
|
import './chunk-OHQMGLJP.js';
|
|
37
37
|
import './chunk-3SQZ5LIK.js';
|
|
38
|
-
import './chunk-
|
|
38
|
+
import './chunk-T3SRWWPX.js';
|
|
39
39
|
import './chunk-IP7BIBXJ.js';
|
|
40
40
|
import './chunk-LHFG5YUG.js';
|
|
41
41
|
import './chunk-JPROSTGX.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { PLACEHOLDER_MARKER, RunnerInitError, isPlaceholderCommand, prepareRunnerInit, readConfigObject, runRunnerInit, writeRunnerInit } from './chunk-
|
|
3
|
+
export { PLACEHOLDER_MARKER, RunnerInitError, isPlaceholderCommand, prepareRunnerInit, readConfigObject, runRunnerInit, writeRunnerInit } from './chunk-NIZ7FXUX.js';
|
|
4
4
|
import './chunk-GDIVOYDA.js';
|
|
5
5
|
import './chunk-I3LTIAOR.js';
|
|
6
6
|
import './chunk-2PGI6RDE.js';
|
|
@@ -20,7 +20,7 @@ import './chunk-KB5B6ZT5.js';
|
|
|
20
20
|
import './chunk-WAZJPDR2.js';
|
|
21
21
|
import './chunk-OGFGZQA3.js';
|
|
22
22
|
import './chunk-46OBCATR.js';
|
|
23
|
-
import './chunk-
|
|
23
|
+
import './chunk-7EPIOSLO.js';
|
|
24
24
|
import './chunk-55PYF6S2.js';
|
|
25
25
|
import './chunk-JBJTC3UU.js';
|
|
26
26
|
import './chunk-UZGQT6OF.js';
|
|
@@ -33,7 +33,7 @@ import './chunk-CIUD3436.js';
|
|
|
33
33
|
import './chunk-OUPQTA7N.js';
|
|
34
34
|
import './chunk-OHQMGLJP.js';
|
|
35
35
|
import './chunk-3SQZ5LIK.js';
|
|
36
|
-
import './chunk-
|
|
36
|
+
import './chunk-T3SRWWPX.js';
|
|
37
37
|
import './chunk-IP7BIBXJ.js';
|
|
38
38
|
import './chunk-LHFG5YUG.js';
|
|
39
39
|
import './chunk-JPROSTGX.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { summarizeChecks, summaryText, renderDoctorText } from './chunk-
|
|
3
|
+
import { summarizeChecks, summaryText, renderDoctorText } from './chunk-AHEIZCCA.js';
|
|
4
4
|
import { shellFunctionInstalled, removeShellFunction, installShellFunction, SHELL_FUNCTION_LINE } from './chunk-CJJDJ7AT.js';
|
|
5
5
|
import './chunk-U553JKMO.js';
|
|
6
6
|
import './chunk-OHQMGLJP.js';
|
|
7
7
|
import './chunk-3SQZ5LIK.js';
|
|
8
|
-
import './chunk-
|
|
8
|
+
import './chunk-T3SRWWPX.js';
|
|
9
9
|
import './chunk-IP7BIBXJ.js';
|
|
10
10
|
import './chunk-LHFG5YUG.js';
|
|
11
11
|
import { runConnect, hasUncommittedPolicy, commitCommandsFor } from './chunk-JPROSTGX.js';
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { RunnerStartError, fleetKeepalive, leaseTimeLeftFor, listJobFiles, logUnusableHelper, prepareSession, probeBuild, probeCredentials, requestStop, runnerProcessState, runtimeOf, sampleUsage, start, tick, watchTick } from './chunk-
|
|
3
|
+
export { RunnerStartError, fleetKeepalive, leaseTimeLeftFor, listJobFiles, logUnusableHelper, prepareSession, probeBuild, probeCredentials, requestStop, runnerProcessState, runtimeOf, sampleUsage, start, tick, watchTick } from './chunk-GQVOK4ZO.js';
|
|
4
4
|
import './chunk-7Y5VW4JG.js';
|
|
5
5
|
import './chunk-3JVYMD4G.js';
|
|
6
6
|
import './chunk-E7R2GIAW.js';
|
|
7
|
-
import './chunk-
|
|
8
|
-
import './chunk-
|
|
7
|
+
import './chunk-IVH7WDOO.js';
|
|
8
|
+
import './chunk-CVQ4YBBE.js';
|
|
9
9
|
import './chunk-3LCXSD26.js';
|
|
10
10
|
import './chunk-LGV5N5DG.js';
|
|
11
11
|
import './chunk-EZRAR5YG.js';
|
|
12
|
-
import './chunk-
|
|
12
|
+
import './chunk-HDTFRHY6.js';
|
|
13
13
|
import './chunk-AF6DQJ5W.js';
|
|
14
|
-
import './chunk-
|
|
14
|
+
import './chunk-NIZ7FXUX.js';
|
|
15
15
|
import './chunk-GDIVOYDA.js';
|
|
16
16
|
import './chunk-I3LTIAOR.js';
|
|
17
17
|
import './chunk-2PGI6RDE.js';
|
|
@@ -31,7 +31,7 @@ import './chunk-KB5B6ZT5.js';
|
|
|
31
31
|
import './chunk-WAZJPDR2.js';
|
|
32
32
|
import './chunk-OGFGZQA3.js';
|
|
33
33
|
import './chunk-46OBCATR.js';
|
|
34
|
-
import './chunk-
|
|
34
|
+
import './chunk-7EPIOSLO.js';
|
|
35
35
|
import './chunk-55PYF6S2.js';
|
|
36
36
|
import './chunk-JBJTC3UU.js';
|
|
37
37
|
import './chunk-UZGQT6OF.js';
|
|
@@ -44,7 +44,7 @@ import './chunk-CIUD3436.js';
|
|
|
44
44
|
import './chunk-OUPQTA7N.js';
|
|
45
45
|
import './chunk-OHQMGLJP.js';
|
|
46
46
|
import './chunk-3SQZ5LIK.js';
|
|
47
|
-
import './chunk-
|
|
47
|
+
import './chunk-T3SRWWPX.js';
|
|
48
48
|
import './chunk-IP7BIBXJ.js';
|
|
49
49
|
import './chunk-LHFG5YUG.js';
|
|
50
50
|
import './chunk-JPROSTGX.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { describeMachineDocker, detectMachine, microVmArchSupported, microVmAssetsPinned, reachDockerStep, supportsContainerBuilds, supportsMicroVmBuilds } from './chunk-
|
|
3
|
+
export { describeMachineDocker, detectMachine, microVmArchSupported, microVmAssetsPinned, reachDockerStep, supportsContainerBuilds, supportsMicroVmBuilds } from './chunk-NIZ7FXUX.js';
|
|
4
4
|
import './chunk-GDIVOYDA.js';
|
|
5
5
|
import './chunk-I3LTIAOR.js';
|
|
6
6
|
import './chunk-2PGI6RDE.js';
|
|
@@ -20,7 +20,7 @@ import './chunk-KB5B6ZT5.js';
|
|
|
20
20
|
import './chunk-WAZJPDR2.js';
|
|
21
21
|
import './chunk-OGFGZQA3.js';
|
|
22
22
|
import './chunk-46OBCATR.js';
|
|
23
|
-
import './chunk-
|
|
23
|
+
import './chunk-7EPIOSLO.js';
|
|
24
24
|
import './chunk-55PYF6S2.js';
|
|
25
25
|
import './chunk-JBJTC3UU.js';
|
|
26
26
|
import './chunk-UZGQT6OF.js';
|
|
@@ -33,7 +33,7 @@ import './chunk-CIUD3436.js';
|
|
|
33
33
|
import './chunk-OUPQTA7N.js';
|
|
34
34
|
import './chunk-OHQMGLJP.js';
|
|
35
35
|
import './chunk-3SQZ5LIK.js';
|
|
36
|
-
import './chunk-
|
|
36
|
+
import './chunk-T3SRWWPX.js';
|
|
37
37
|
import './chunk-IP7BIBXJ.js';
|
|
38
38
|
import './chunk-LHFG5YUG.js';
|
|
39
39
|
import './chunk-JPROSTGX.js';
|
package/dist/recorder.cjs
CHANGED
|
@@ -49,6 +49,15 @@ async function recordChecksDuring(checks, body, onPass) {
|
|
|
49
49
|
await Promise.allSettled(store.pending);
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
|
+
var beat = new async_hooks.AsyncLocalStorage();
|
|
53
|
+
function pointAtChecksDuring(onChecked, body) {
|
|
54
|
+
return beat.run({ onChecked }, async () => await body());
|
|
55
|
+
}
|
|
56
|
+
var NOT_POINTED = /* @__PURE__ */ new Set(["toHaveScreenshot", "toMatchAriaSnapshot"]);
|
|
57
|
+
function isLocator(value) {
|
|
58
|
+
const candidate = value;
|
|
59
|
+
return typeof candidate?.boundingBox === "function" && typeof candidate.page === "function" && typeof candidate.count === "function";
|
|
60
|
+
}
|
|
52
61
|
var RECORDED = /* @__PURE__ */ Symbol.for("outerlayer.playwright.recorded");
|
|
53
62
|
function describeValue(value) {
|
|
54
63
|
if (value === null || value === void 0 || typeof value !== "object") return JSON.stringify(value) ?? String(value);
|
|
@@ -94,7 +103,7 @@ function wrapMatchers(matchers, context) {
|
|
|
94
103
|
return (...args) => {
|
|
95
104
|
const text = `${context.subject}.${context.modifiers}${property}(${describeArgs(args)})`;
|
|
96
105
|
const errorsBefore = context.soft ? test$1.test.info().errors.length : 0;
|
|
97
|
-
const
|
|
106
|
+
const settle2 = (error, hasError) => {
|
|
98
107
|
const softFailure = context.soft && test$1.test.info().errors.length > errorsBefore;
|
|
99
108
|
const after = record({ text, passed: !hasError && !softFailure });
|
|
100
109
|
if (hasError) throw failed(error);
|
|
@@ -104,20 +113,25 @@ function wrapMatchers(matchers, context) {
|
|
|
104
113
|
try {
|
|
105
114
|
result = value.apply(target, args);
|
|
106
115
|
} catch (error) {
|
|
107
|
-
|
|
116
|
+
settle2(error, true);
|
|
108
117
|
}
|
|
109
118
|
if (isThenable(result)) {
|
|
110
119
|
return result.then(
|
|
111
120
|
async (resolved) => {
|
|
112
|
-
await
|
|
121
|
+
await settle2(void 0, false);
|
|
122
|
+
const pointing = beat.getStore();
|
|
123
|
+
const softFailure = context.soft && test$1.test.info().errors.length > errorsBefore;
|
|
124
|
+
if (pointing !== void 0 && !softFailure && context.modifiers === "" && !NOT_POINTED.has(property) && isLocator(context.received)) {
|
|
125
|
+
await pointing.onChecked(context.received).catch(() => void 0);
|
|
126
|
+
}
|
|
113
127
|
return resolved;
|
|
114
128
|
},
|
|
115
129
|
(error) => {
|
|
116
|
-
|
|
130
|
+
settle2(error, true);
|
|
117
131
|
}
|
|
118
132
|
);
|
|
119
133
|
}
|
|
120
|
-
|
|
134
|
+
settle2(void 0, false);
|
|
121
135
|
return result;
|
|
122
136
|
};
|
|
123
137
|
}
|
|
@@ -126,7 +140,7 @@ function wrapMatchers(matchers, context) {
|
|
|
126
140
|
function wrapEntry(entry, thisArg, args, soft, label) {
|
|
127
141
|
const matchers = Reflect.apply(entry, thisArg, args);
|
|
128
142
|
const [received] = args;
|
|
129
|
-
return wrapMatchers(matchers, { subject: `expect${label}(${describeValue(received)})`, modifiers: "", soft });
|
|
143
|
+
return wrapMatchers(matchers, { subject: `expect${label}(${describeValue(received)})`, received, modifiers: "", soft });
|
|
130
144
|
}
|
|
131
145
|
var expect = new Proxy(test$1.expect, {
|
|
132
146
|
apply(target, thisArg, args) {
|
|
@@ -275,7 +289,7 @@ async function bringIntoView(locator) {
|
|
|
275
289
|
}
|
|
276
290
|
}
|
|
277
291
|
var TEXT_INPUT_TYPES = /* @__PURE__ */ new Set(["", "text", "search", "email", "url", "tel", "password", "number"]);
|
|
278
|
-
function actLikeAPerson(page, hand) {
|
|
292
|
+
function actLikeAPerson(page, hand, beforeApproach) {
|
|
279
293
|
const prototype = Object.getPrototypeOf(page.locator("html"));
|
|
280
294
|
const original = {
|
|
281
295
|
click: prototype.click,
|
|
@@ -289,6 +303,7 @@ function actLikeAPerson(page, hand) {
|
|
|
289
303
|
};
|
|
290
304
|
const approach = async (locator, position) => {
|
|
291
305
|
await locator.waitFor({ state: "visible", timeout: STEP_TIMEOUT }).catch(() => void 0);
|
|
306
|
+
await beforeApproach?.(locator);
|
|
292
307
|
await bringIntoView(locator);
|
|
293
308
|
await hand.pointAt(locator, position);
|
|
294
309
|
await sleep(130);
|
|
@@ -427,52 +442,136 @@ function takeStill(page, params) {
|
|
|
427
442
|
|
|
428
443
|
// ../playwright/src/highlight.ts
|
|
429
444
|
var HIGHLIGHT_ATTRIBUTE = "data-outerlayer-highlight";
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
445
|
+
var CHECK_TIMEOUT = 2e3;
|
|
446
|
+
var LARGEST_SHARE = 0.5;
|
|
447
|
+
function ring(element, params) {
|
|
448
|
+
const { attribute, join: join4, share } = params;
|
|
449
|
+
const unite = (elements) => {
|
|
450
|
+
let left = Infinity;
|
|
451
|
+
let top = Infinity;
|
|
452
|
+
let right = -Infinity;
|
|
453
|
+
let bottom = -Infinity;
|
|
454
|
+
for (const target of elements) {
|
|
455
|
+
if (!target.isConnected) continue;
|
|
456
|
+
const rect = target.getBoundingClientRect();
|
|
457
|
+
if (rect.width === 0 && rect.height === 0) continue;
|
|
458
|
+
left = Math.min(left, rect.left);
|
|
459
|
+
top = Math.min(top, rect.top);
|
|
460
|
+
right = Math.max(right, rect.right);
|
|
461
|
+
bottom = Math.max(bottom, rect.bottom);
|
|
462
|
+
}
|
|
463
|
+
return left === Infinity ? void 0 : { left, top, width: right - left, height: bottom - top };
|
|
464
|
+
};
|
|
465
|
+
const tooLarge = (box2) => box2.width * box2.height > window.innerWidth * window.innerHeight * share || box2.height > window.innerHeight * 0.8;
|
|
466
|
+
const current = Array.from(document.querySelectorAll(`[${attribute}]`)).find((box2) => box2.dataset.leaving === void 0);
|
|
467
|
+
const targets = current?.outerlayerTargets ?? [];
|
|
468
|
+
if (current !== void 0 && targets.some((target) => target === element || target.contains(element))) return "same";
|
|
469
|
+
if (join4 && current !== void 0) {
|
|
470
|
+
const kept = targets.filter((target) => !element.contains(target));
|
|
471
|
+
const united = unite([...kept, element]);
|
|
472
|
+
if (united !== void 0 && !tooLarge(united)) {
|
|
473
|
+
current.outerlayerTargets = [...kept, element];
|
|
474
|
+
return "grown";
|
|
475
|
+
}
|
|
476
|
+
}
|
|
477
|
+
const alone = unite([element]);
|
|
478
|
+
if (alone === void 0 || tooLarge(alone)) return "none";
|
|
479
|
+
for (const old of Array.from(document.querySelectorAll(`[${attribute}]`))) {
|
|
480
|
+
old.dataset.leaving = "";
|
|
481
|
+
const began2 = performance.now();
|
|
482
|
+
const hide = (now) => {
|
|
483
|
+
const p = Math.min(1, (now - began2) / 220);
|
|
484
|
+
old.style.opacity = String(1 - p);
|
|
485
|
+
if (p < 1) requestAnimationFrame(hide);
|
|
486
|
+
else old.remove();
|
|
487
|
+
};
|
|
488
|
+
requestAnimationFrame(hide);
|
|
489
|
+
}
|
|
490
|
+
const box = document.createElement("div");
|
|
491
|
+
box.outerlayerTargets = [element];
|
|
492
|
+
box.setAttribute(attribute, "");
|
|
493
|
+
box.style.cssText = "position:fixed;pointer-events:none;z-index:2147483630;border-radius:10px;opacity:0;box-shadow:0 0 0 3px rgba(59,130,246,.95),0 0 0 9999px rgba(15,23,42,.42);";
|
|
494
|
+
document.documentElement.appendChild(box);
|
|
495
|
+
let shown;
|
|
496
|
+
const place = () => {
|
|
497
|
+
if (!box.isConnected) return;
|
|
498
|
+
const target = unite(box.outerlayerTargets ?? []);
|
|
499
|
+
if (target !== void 0) {
|
|
500
|
+
const step = (from, to) => Math.abs(to - from) < 0.5 ? to : from + (to - from) * 0.3;
|
|
501
|
+
shown = shown === void 0 ? target : { left: step(shown.left, target.left), top: step(shown.top, target.top), width: step(shown.width, target.width), height: step(shown.height, target.height) };
|
|
502
|
+
box.style.left = `${shown.left - 8}px`;
|
|
503
|
+
box.style.top = `${shown.top - 6}px`;
|
|
504
|
+
box.style.width = `${shown.width + 16}px`;
|
|
505
|
+
box.style.height = `${shown.height + 12}px`;
|
|
506
|
+
}
|
|
507
|
+
requestAnimationFrame(place);
|
|
508
|
+
};
|
|
509
|
+
place();
|
|
510
|
+
const began = performance.now();
|
|
511
|
+
const show = (now) => {
|
|
512
|
+
const p = Math.min(1, (now - began) / 260);
|
|
513
|
+
box.style.opacity = String(p);
|
|
514
|
+
if (p < 1) requestAnimationFrame(show);
|
|
515
|
+
};
|
|
516
|
+
requestAnimationFrame(show);
|
|
517
|
+
return "new";
|
|
518
|
+
}
|
|
519
|
+
async function settle(page, change) {
|
|
520
|
+
if (change === "new" || change === "grown") await page.waitForTimeout(300);
|
|
521
|
+
}
|
|
522
|
+
async function showHighlight(locator, timeout = 1e4) {
|
|
523
|
+
const change = await locator.evaluate(ring, { attribute: HIGHLIGHT_ATTRIBUTE, join: false, share: Number.POSITIVE_INFINITY }, { timeout });
|
|
524
|
+
await settle(locator.page(), change);
|
|
525
|
+
return change !== "same" && change !== "none";
|
|
526
|
+
}
|
|
527
|
+
async function highlightCheckedElement(locator) {
|
|
528
|
+
try {
|
|
529
|
+
if (await locator.count() !== 1) return false;
|
|
530
|
+
const pointable = await locator.evaluate(
|
|
531
|
+
(element) => {
|
|
532
|
+
for (let node = element; node !== null; node = node.parentElement) {
|
|
533
|
+
if (node.getAttributeNames().some((name) => name.startsWith("data-outerlayer-"))) return false;
|
|
534
|
+
}
|
|
439
535
|
const rect = element.getBoundingClientRect();
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
536
|
+
return rect.width > 0 && rect.height > 0;
|
|
537
|
+
},
|
|
538
|
+
void 0,
|
|
539
|
+
{ timeout: CHECK_TIMEOUT }
|
|
540
|
+
);
|
|
541
|
+
if (!pointable) return false;
|
|
542
|
+
await bringIntoView(locator);
|
|
543
|
+
const change = await locator.evaluate(ring, { attribute: HIGHLIGHT_ATTRIBUTE, join: true, share: LARGEST_SHARE }, { timeout: CHECK_TIMEOUT });
|
|
544
|
+
await settle(locator.page(), change);
|
|
545
|
+
return change === "new" || change === "grown";
|
|
546
|
+
} catch {
|
|
547
|
+
return false;
|
|
548
|
+
}
|
|
549
|
+
}
|
|
550
|
+
async function clearHighlights(page, keep) {
|
|
551
|
+
let handle = null;
|
|
552
|
+
if (keep !== void 0) handle = await keep.elementHandle({ timeout: CHECK_TIMEOUT }).catch(() => null);
|
|
553
|
+
await page.evaluate(
|
|
554
|
+
async ({ attribute, kept }) => {
|
|
555
|
+
const boxes = Array.from(document.querySelectorAll(`[${attribute}]`)).filter(
|
|
556
|
+
(box) => !(kept instanceof Element && (box.outerlayerTargets ?? []).some((target) => target.contains(kept)))
|
|
557
|
+
);
|
|
558
|
+
if (boxes.length === 0) return;
|
|
559
|
+
for (const box of boxes) box.dataset.leaving = "";
|
|
447
560
|
const began = performance.now();
|
|
448
|
-
|
|
449
|
-
const
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
561
|
+
await new Promise((resolve) => {
|
|
562
|
+
const hide = (now) => {
|
|
563
|
+
const p = Math.min(1, (now - began) / 220);
|
|
564
|
+
for (const box of boxes) box.style.opacity = String(1 - p);
|
|
565
|
+
if (p < 1) requestAnimationFrame(hide);
|
|
566
|
+
else resolve();
|
|
567
|
+
};
|
|
568
|
+
requestAnimationFrame(hide);
|
|
569
|
+
});
|
|
570
|
+
for (const box of boxes) box.remove();
|
|
454
571
|
},
|
|
455
|
-
HIGHLIGHT_ATTRIBUTE,
|
|
456
|
-
|
|
457
|
-
);
|
|
458
|
-
await locator.page().waitForTimeout(300);
|
|
459
|
-
}
|
|
460
|
-
async function clearHighlights(page) {
|
|
461
|
-
await page.evaluate(async (attribute) => {
|
|
462
|
-
const boxes = Array.from(document.querySelectorAll(`[${attribute}]`));
|
|
463
|
-
if (boxes.length === 0) return;
|
|
464
|
-
const began = performance.now();
|
|
465
|
-
await new Promise((resolve) => {
|
|
466
|
-
const hide = (now) => {
|
|
467
|
-
const p = Math.min(1, (now - began) / 220);
|
|
468
|
-
for (const box of boxes) box.style.opacity = String(1 - p);
|
|
469
|
-
if (p < 1) requestAnimationFrame(hide);
|
|
470
|
-
else resolve();
|
|
471
|
-
};
|
|
472
|
-
requestAnimationFrame(hide);
|
|
473
|
-
});
|
|
474
|
-
for (const box of boxes) box.remove();
|
|
475
|
-
}, HIGHLIGHT_ATTRIBUTE).catch(() => void 0);
|
|
572
|
+
{ attribute: HIGHLIGHT_ATTRIBUTE, kept: handle }
|
|
573
|
+
).catch(() => void 0);
|
|
574
|
+
await handle?.dispose().catch(() => void 0);
|
|
476
575
|
}
|
|
477
576
|
|
|
478
577
|
// ../playwright/src/panel.ts
|
|
@@ -722,6 +821,7 @@ var pad = (n) => String(n).padStart(2, "0");
|
|
|
722
821
|
var DEMO_FOLDER = "demo";
|
|
723
822
|
var BEAT_LEAD_IN = 0.15;
|
|
724
823
|
var BEAT_TAIL = 0.45;
|
|
824
|
+
var HIGHLIGHT_HOLD = 1200;
|
|
725
825
|
var test = test$1.test.extend({
|
|
726
826
|
// The settings that vary between runs. A config's `use` or a test's `test.use` replaces any of them.
|
|
727
827
|
viewport: [FIXED_SETTINGS.viewport, { option: true }],
|
|
@@ -775,6 +875,7 @@ var test = test$1.test.extend({
|
|
|
775
875
|
return hand;
|
|
776
876
|
};
|
|
777
877
|
let panelOpen = false;
|
|
878
|
+
let pointing;
|
|
778
879
|
const demo = {
|
|
779
880
|
async say(narration, steps) {
|
|
780
881
|
const chapter = running2;
|
|
@@ -788,13 +889,22 @@ var test = test$1.test.extend({
|
|
|
788
889
|
panelOpen = false;
|
|
789
890
|
await closePanels(page);
|
|
790
891
|
}
|
|
791
|
-
const
|
|
892
|
+
const current = { chosen: false, shownAt: Number.NEGATIVE_INFINITY };
|
|
893
|
+
pointing = current;
|
|
894
|
+
const restore = actLikeAPerson(page, person, (target) => clearHighlights(page, target));
|
|
792
895
|
try {
|
|
793
|
-
if (steps !== void 0)
|
|
896
|
+
if (steps !== void 0) {
|
|
897
|
+
await pointAtChecksDuring(async (checked) => {
|
|
898
|
+
if (current.chosen) return;
|
|
899
|
+
if (await highlightCheckedElement(checked)) current.shownAt = performance.now();
|
|
900
|
+
}, steps);
|
|
901
|
+
}
|
|
794
902
|
} finally {
|
|
795
903
|
restore();
|
|
904
|
+
pointing = void 0;
|
|
796
905
|
}
|
|
797
|
-
const
|
|
906
|
+
const spokenDue = startedAtMs + (spoken.seconds === 0 ? 0 : (BEAT_LEAD_IN + spoken.seconds + BEAT_TAIL) * 1e3);
|
|
907
|
+
const due = Math.max(spokenDue, current.shownAt + HIGHLIGHT_HOLD);
|
|
798
908
|
const wait = due - performance.now();
|
|
799
909
|
if (wait > 0) await page.waitForTimeout(wait);
|
|
800
910
|
const end = Math.max(seconds(performance.now() - startedAt), start + 1e-3);
|
|
@@ -820,7 +930,8 @@ var test = test$1.test.extend({
|
|
|
820
930
|
return response;
|
|
821
931
|
},
|
|
822
932
|
async highlight(locator) {
|
|
823
|
-
|
|
933
|
+
if (pointing !== void 0) pointing.chosen = true;
|
|
934
|
+
if (await showHighlight(locator) && pointing !== void 0) pointing.shownAt = performance.now();
|
|
824
935
|
},
|
|
825
936
|
async screenshot(screenshotOptions = {}) {
|
|
826
937
|
const chapter = running2;
|
|
@@ -870,7 +981,7 @@ var test = test$1.test.extend({
|
|
|
870
981
|
end,
|
|
871
982
|
title,
|
|
872
983
|
// A chapter told in beats lists its lines in the narration, for a reader of the record.
|
|
873
|
-
narration: told ? beats.map((
|
|
984
|
+
narration: told ? beats.map((beat2) => beat2.narration).join(" ").slice(0, 2e3) : narration,
|
|
874
985
|
checks,
|
|
875
986
|
stills: stills.sort((a, b) => a.check - b.check),
|
|
876
987
|
...current.screenshot === void 0 ? {} : { screenshot: current.screenshot },
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { readConfigObject, RunnerInitError } from './chunk-
|
|
3
|
+
import { readConfigObject, RunnerInitError } from './chunk-NIZ7FXUX.js';
|
|
4
4
|
import './chunk-GDIVOYDA.js';
|
|
5
5
|
import './chunk-I3LTIAOR.js';
|
|
6
6
|
import './chunk-2PGI6RDE.js';
|
|
@@ -20,7 +20,7 @@ import './chunk-KB5B6ZT5.js';
|
|
|
20
20
|
import './chunk-WAZJPDR2.js';
|
|
21
21
|
import './chunk-OGFGZQA3.js';
|
|
22
22
|
import './chunk-46OBCATR.js';
|
|
23
|
-
import './chunk-
|
|
23
|
+
import './chunk-7EPIOSLO.js';
|
|
24
24
|
import './chunk-55PYF6S2.js';
|
|
25
25
|
import './chunk-JBJTC3UU.js';
|
|
26
26
|
import './chunk-UZGQT6OF.js';
|
|
@@ -33,7 +33,7 @@ import './chunk-CIUD3436.js';
|
|
|
33
33
|
import './chunk-OUPQTA7N.js';
|
|
34
34
|
import './chunk-OHQMGLJP.js';
|
|
35
35
|
import './chunk-3SQZ5LIK.js';
|
|
36
|
-
import { getJson } from './chunk-
|
|
36
|
+
import { getJson } from './chunk-T3SRWWPX.js';
|
|
37
37
|
import './chunk-IP7BIBXJ.js';
|
|
38
38
|
import './chunk-LHFG5YUG.js';
|
|
39
39
|
import { fetchFactories, slug, dashboardBase, listText } from './chunk-JPROSTGX.js';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { criteriaFromAcceptanceFile, runEmitCriteria } from './chunk-IVY3PD7P.js';
|
|
4
4
|
import './chunk-AAGU5FJF.js';
|
|
5
|
-
import { getJson, postJson, patchJson, WorkCommandError, resolveCredentials } from './chunk-
|
|
5
|
+
import { getJson, postJson, patchJson, WorkCommandError, resolveCredentials } from './chunk-T3SRWWPX.js';
|
|
6
6
|
import './chunk-IP7BIBXJ.js';
|
|
7
7
|
import { autoConnect } from './chunk-LHFG5YUG.js';
|
|
8
8
|
import './chunk-JPROSTGX.js';
|