@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,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { isReadable, LEASE_SECONDS, ALREADY_RELEASED, RENEW_INTERVAL_SECONDS } from './chunk-
|
|
3
|
+
import { isReadable, LEASE_SECONDS, ALREADY_RELEASED, RENEW_INTERVAL_SECONDS } 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 { formatDuration, formatClock, relativeToRunner } from './chunk-
|
|
23
|
+
import { formatDuration, formatClock, relativeToRunner } from './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,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { readOwnContainer, renderUpdateSteps, runUpdateSteps } from './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
export { readOwnContainer, renderUpdateSteps, runUpdateSteps } from './chunk-CVQ4YBBE.js';
|
|
4
|
+
import './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';
|
|
@@ -34,7 +34,7 @@ import './chunk-CIUD3436.js';
|
|
|
34
34
|
import './chunk-OUPQTA7N.js';
|
|
35
35
|
import './chunk-OHQMGLJP.js';
|
|
36
36
|
import './chunk-3SQZ5LIK.js';
|
|
37
|
-
import './chunk-
|
|
37
|
+
import './chunk-T3SRWWPX.js';
|
|
38
38
|
import './chunk-IP7BIBXJ.js';
|
|
39
39
|
import './chunk-LHFG5YUG.js';
|
|
40
40
|
import './chunk-JPROSTGX.js';
|
|
@@ -6,8 +6,8 @@ import './chunk-IGHAPIKZ.js';
|
|
|
6
6
|
import './chunk-6O33JZ3X.js';
|
|
7
7
|
import './chunk-CIUD3436.js';
|
|
8
8
|
import './chunk-OUPQTA7N.js';
|
|
9
|
-
import { resolveCredentials, WorkCommandError, parsePositiveInt, postJson, environmentFacts, findLiveItemForIssue } from './chunk-
|
|
10
|
-
export { WorkCommandError } from './chunk-
|
|
9
|
+
import { resolveCredentials, WorkCommandError, parsePositiveInt, postJson, environmentFacts, findLiveItemForIssue } from './chunk-T3SRWWPX.js';
|
|
10
|
+
export { WorkCommandError } from './chunk-T3SRWWPX.js';
|
|
11
11
|
import './chunk-IP7BIBXJ.js';
|
|
12
12
|
import './chunk-LHFG5YUG.js';
|
|
13
13
|
import './chunk-JPROSTGX.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { WorkCommandError, environmentFacts, findLiveItemForIssue, getJson, parsePositiveInt, patchJson, postJson, resolveCredentials, runWorkBuild, runWorkLinkSession, runWorkList, runWorkRemove, runWorkStatus } from './chunk-
|
|
3
|
+
export { WorkCommandError, environmentFacts, findLiveItemForIssue, getJson, parsePositiveInt, patchJson, postJson, resolveCredentials, runWorkBuild, runWorkLinkSession, runWorkList, runWorkRemove, runWorkStatus } from './chunk-T3SRWWPX.js';
|
|
4
4
|
import './chunk-IP7BIBXJ.js';
|
|
5
5
|
import './chunk-LHFG5YUG.js';
|
|
6
6
|
import './chunk-JPROSTGX.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { WorkCommentCommandError, runWorkComment, runWorkCommentsRead, runWorkThreads } from './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
export { WorkCommentCommandError, runWorkComment, runWorkCommentsRead, runWorkThreads } from './chunk-XZ7NIGVA.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,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { readNewestDemo } from './chunk-ER6KQCVJ.js';
|
|
4
|
-
import { resolveCredentials, WorkCommandError } from './chunk-
|
|
4
|
+
import { resolveCredentials, WorkCommandError } from './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
|
-
import { resolveCredentials, getJson } from './chunk-
|
|
3
|
+
import { resolveCredentials, getJson } from './chunk-T3SRWWPX.js';
|
|
4
4
|
import './chunk-IP7BIBXJ.js';
|
|
5
5
|
import './chunk-LHFG5YUG.js';
|
|
6
6
|
import './chunk-JPROSTGX.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
3
|
import { itemLabel, runWorkPr, WorkPrCommandError } from './chunk-6IJZL7X2.js';
|
|
4
|
-
import { resolveCredentials } from './chunk-
|
|
4
|
+
import { resolveCredentials } from './chunk-T3SRWWPX.js';
|
|
5
5
|
import './chunk-IP7BIBXJ.js';
|
|
6
6
|
import './chunk-LHFG5YUG.js';
|
|
7
7
|
import './chunk-JPROSTGX.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { classifyProofs, classifyProofsAt, otherPullRequestHeads, resolveProofsItem, runWorkProofs, runWorkProofsCommand } from './chunk-
|
|
3
|
+
export { classifyProofs, classifyProofsAt, otherPullRequestHeads, resolveProofsItem, runWorkProofs, runWorkProofsCommand } from './chunk-ZJ4Y2BOI.js';
|
|
4
4
|
import './chunk-GDIVOYDA.js';
|
|
5
|
-
import './chunk-
|
|
5
|
+
import './chunk-T3SRWWPX.js';
|
|
6
6
|
import './chunk-IP7BIBXJ.js';
|
|
7
7
|
import './chunk-LHFG5YUG.js';
|
|
8
8
|
import './chunk-JPROSTGX.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { resolveProofsItem, ownPullRequest, otherPullRequestHeads, classifyProofsAt, runWorkProofs, proofsCommentId, kindProblem, proofsCommentBody } from './chunk-
|
|
4
|
-
import { runWorkComment } from './chunk-
|
|
3
|
+
import { resolveProofsItem, ownPullRequest, otherPullRequestHeads, classifyProofsAt, runWorkProofs, proofsCommentId, kindProblem, proofsCommentBody } from './chunk-ZJ4Y2BOI.js';
|
|
4
|
+
import { runWorkComment } from './chunk-XZ7NIGVA.js';
|
|
5
5
|
import { runEmitDemo } from './chunk-SK7ZXQIV.js';
|
|
6
6
|
import { readNewestDemo } from './chunk-ER6KQCVJ.js';
|
|
7
7
|
import { runEmitArtifact } from './chunk-PDQWXH3F.js';
|
|
@@ -11,7 +11,7 @@ import { runSync } from './chunk-XTVVKNRP.js';
|
|
|
11
11
|
import './chunk-3GFZSLSP.js';
|
|
12
12
|
import './chunk-AAGU5FJF.js';
|
|
13
13
|
import './chunk-OUPQTA7N.js';
|
|
14
|
-
import { WorkCommandError, resolveCredentials, getJson } from './chunk-
|
|
14
|
+
import { WorkCommandError, resolveCredentials, getJson } from './chunk-T3SRWWPX.js';
|
|
15
15
|
import './chunk-IP7BIBXJ.js';
|
|
16
16
|
import './chunk-LHFG5YUG.js';
|
|
17
17
|
import './chunk-JPROSTGX.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
import { resolveCredentials, postJson, WorkCommandError } from './chunk-
|
|
3
|
+
import { resolveCredentials, postJson, WorkCommandError } from './chunk-T3SRWWPX.js';
|
|
4
4
|
import './chunk-IP7BIBXJ.js';
|
|
5
5
|
import './chunk-LHFG5YUG.js';
|
|
6
6
|
import './chunk-JPROSTGX.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@outerlayer/cli",
|
|
3
|
-
"version": "0.36.0-next.
|
|
3
|
+
"version": "0.36.0-next.20261101022001",
|
|
4
4
|
"description": "OuterLayer CLI — commands: init, claude, connect, doctor, login, logout, sync, daemon (alias: watch), emit, demo, findings, work, spec, runner, hooks, mcp, context. Capture and sync coding-agent sessions, and record proof of factory work.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Magu Studios, Inc.",
|
|
@@ -294,8 +294,10 @@ tests at HEAD that hold the id of each proof that is not current, and runs them.
|
|
|
294
294
|
video criterion in the criteria's order, as the outerlayer-evidence skill's
|
|
295
295
|
"Record a demo" says. Tell each chapter in beats with `demo.say()`: sign in
|
|
296
296
|
once, and seed and wait between beats, so the demo shows only narrated
|
|
297
|
-
steps.
|
|
298
|
-
|
|
297
|
+
steps. In each beat, check with `expect(locator)` the element its line
|
|
298
|
+
names, so the recorder rings it. Render it with `outerlayer emit demo
|
|
299
|
+
<manifest> --output demo.webm` and watch it before you commit the test:
|
|
300
|
+
each beat rings what its line names. The fixture writes the manifest
|
|
299
301
|
where `OUTERLAYER_PROOF_OUT` names.
|
|
300
302
|
- A report, log or file proof is a test, in any language, that writes
|
|
301
303
|
`$OUTERLAYER_PROOF_OUT/<criterion id>.<ext>`. The kind of the file must be the
|
|
@@ -84,8 +84,11 @@ only when Playwright cannot drive the flow.
|
|
|
84
84
|
|
|
85
85
|
A demo plays like a person showing the app. Tell each chapter in beats with
|
|
86
86
|
`demo.say(line, steps)`: the line is spoken while its steps run on screen.
|
|
87
|
-
The demo shows only beats, so sign in, seed data and wait outside them.
|
|
88
|
-
|
|
87
|
+
The demo shows only beats, so sign in, seed data and wait outside them. In
|
|
88
|
+
each beat, check with `expect(locator)` the element its line names: the
|
|
89
|
+
recorder dims the page around each element a beat checks and rings it, so
|
|
90
|
+
the viewer sees what the line talks about. Show a CLI step with
|
|
91
|
+
`demo.terminal()`. The recorder ships inside the CLI, so
|
|
89
92
|
install nothing. The script, and the rules a reviewer holds it to, are in
|
|
90
93
|
[references/demo.md](references/demo.md).
|
|
91
94
|
|
|
@@ -95,7 +98,9 @@ chapter ids. Record it, then emit the demo:
|
|
|
95
98
|
outerlayer demo record e2e/<name>.demo.ts --config <playwright config> --project <name>
|
|
96
99
|
outerlayer emit demo <the manifest it prints>
|
|
97
100
|
|
|
98
|
-
Pass `--output demo.webm` first and watch the demo.
|
|
101
|
+
Pass `--output demo.webm` first and watch the demo. Each beat rings what its
|
|
102
|
+
line names. Where a ring is missing or marks the wrong part, check the
|
|
103
|
+
element the line names in that beat. The command shows only
|
|
99
104
|
the beats and cuts each stretch in which the screen does not move and nothing
|
|
100
105
|
is said. It refuses a demo that still holds one over 2 s, a chapter id that is
|
|
101
106
|
not recorded, or a line too long for its beat. A chapter whose checks all
|
|
@@ -31,7 +31,10 @@ it against the app as it is now, not from an older demo. Import `test` and
|
|
|
31
31
|
});
|
|
32
32
|
|
|
33
33
|
Each beat lasts as long as its line. Inside a beat a pointer moves to each
|
|
34
|
-
click, `fill` types its text, and the page scrolls smoothly.
|
|
34
|
+
click, `fill` types its text, and the page scrolls smoothly. Each `expect` on
|
|
35
|
+
a locator dims the page around the element it checks and rings it, so the
|
|
36
|
+
viewer sees what the line talks about. A second check in the beat widens the
|
|
37
|
+
ring to take in both elements.
|
|
35
38
|
|
|
36
39
|
Record it with `outerlayer demo record <script>`. In a repository with its
|
|
37
40
|
own Playwright config, add `--config <file>` and `--project <name>` to reuse
|
|
@@ -62,9 +65,18 @@ prints the manifest's path.
|
|
|
62
65
|
- Show a call to an API with `await demo.http({ method, url, body }, run)`
|
|
63
66
|
when a criterion's proof is an API response, or a step goes through the
|
|
64
67
|
API and no page shows it. Return the real `{ status, body }` from `run`.
|
|
65
|
-
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
+
- In each beat, check with `expect(locator)` each element its line names,
|
|
69
|
+
such as the new status in a list. The ring covers every element the beat
|
|
70
|
+
checks. A check of a computed value, such as a style read with
|
|
71
|
+
`evaluate`, rings nothing, so check the element itself too. A locator that
|
|
72
|
+
matches several elements, a negated check, and an element that fills most
|
|
73
|
+
of the screen ring nothing. When the box around all the checked elements
|
|
74
|
+
would fill most of the screen, the ring starts again on the latest one.
|
|
75
|
+
The pointer moving to an element outside the ring clears it.
|
|
76
|
+
- Call `await demo.highlight(locator)` to ring an element no check looks at.
|
|
77
|
+
After it, checks in that beat leave the ring in place.
|
|
78
|
+
- Write the script against the guidance here, not by copying an older demo:
|
|
79
|
+
an older demo can break a rule that came later.
|
|
68
80
|
- Turn off `demoOptions.animations` to keep the app's own transitions. Each
|
|
69
81
|
still and screenshot stops motion either way.
|
|
70
82
|
|
|
@@ -72,5 +84,6 @@ prints the manifest's path.
|
|
|
72
84
|
|
|
73
85
|
Render the demo with `outerlayer emit demo <manifest> --output demo.webm`
|
|
74
86
|
and watch it. Fix a beat that shows a loading screen, a sign-in or a step
|
|
87
|
+
its line does not name. Fix a beat whose ring is missing, or marks a part
|
|
75
88
|
its line does not name. The command exits 1 while the demo holds a frozen,
|
|
76
89
|
silent stretch over 2 s.
|