@outerlayer/cli 0.8.1 → 0.8.2
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/CHANGELOG.md +16 -0
- package/README.md +27 -9
- package/dist/{agent-setup-K6RD2Z4P.js → agent-setup-C5X4356W.js} +8 -8
- package/dist/{build-MS34XEGN.js → build-3FSJR5OO.js} +1 -1
- package/dist/build-info.json +1 -1
- package/dist/{builder-IG6FNA54.js → builder-QZA2Z3M3.js} +3 -3
- package/dist/{check-GX5ND6RO.js → check-HQHFAOXW.js} +27 -27
- package/dist/{chunk-R7STSBLC.js → chunk-2E2MG3KW.js} +1 -1
- package/dist/{chunk-OD2VTIHN.js → chunk-2FWL7CE2.js} +3 -2
- package/dist/{chunk-PXFEYBDE.js → chunk-33GOCSRO.js} +3 -3
- package/dist/{chunk-HSN5QNS5.js → chunk-3J476JZC.js} +10 -10
- package/dist/{chunk-MQ3IPHIZ.js → chunk-47RS42OZ.js} +6 -3
- package/dist/{chunk-4FPWKV7L.js → chunk-4ZZR5SKG.js} +3 -3
- package/dist/{chunk-PWBILI5P.js → chunk-7KI224YS.js} +1 -1
- package/dist/{chunk-2BRSMBBB.js → chunk-CLURXEWV.js} +2 -2
- package/dist/{chunk-7ZR5UPMB.js → chunk-CMFCCIQN.js} +167 -1
- package/dist/{chunk-AX23QKHS.js → chunk-CRLAB4PM.js} +1 -1
- package/dist/{chunk-M4ERCYDB.js → chunk-EQG7L6LM.js} +232 -15
- package/dist/{chunk-I7CJIRMM.js → chunk-ERI5GBNI.js} +6 -1
- package/dist/{chunk-ILEA3YHM.js → chunk-EWBM2USM.js} +2 -2
- package/dist/{chunk-EV3M3EH7.js → chunk-G54QHBTI.js} +2 -2
- package/dist/{chunk-M3SQ4YGD.js → chunk-GXSMDL4M.js} +1 -1
- package/dist/{chunk-GAYWY4GI.js → chunk-HN2JBGSI.js} +2 -1
- package/dist/{chunk-ZOAEPWGL.js → chunk-HWMYGAKF.js} +1 -1
- package/dist/{chunk-ABIWDUMS.js → chunk-IS4DIGBQ.js} +13 -1
- package/dist/{chunk-WVGSB3Z2.js → chunk-J5DPVNL3.js} +2 -2
- package/dist/{chunk-VXLJORHL.js → chunk-JXH6LEEH.js} +1 -1
- package/dist/{chunk-KSLNQOOS.js → chunk-KI7VPNKC.js} +1 -1
- package/dist/{chunk-QNRSFEGY.js → chunk-LSPJHYHM.js} +1 -1
- package/dist/{chunk-QB5JQH5V.js → chunk-M2F2RAMK.js} +72 -19
- package/dist/{chunk-Z2THOHPP.js → chunk-MJLUWGUD.js} +2 -2
- package/dist/{chunk-BQFNZOMQ.js → chunk-NACLOOXP.js} +4 -4
- package/dist/{chunk-TEKZRTM3.js → chunk-NPBLDMSD.js} +1 -1
- package/dist/{chunk-BOLTI6LR.js → chunk-PLMTLGYH.js} +1 -1
- package/dist/{chunk-Q4432IZT.js → chunk-QJPO42VI.js} +5 -5
- package/dist/{chunk-KV47VQJZ.js → chunk-R5SPFO6F.js} +4 -4
- package/dist/{chunk-5ODHQP6O.js → chunk-VUGDEUMM.js} +55 -12
- package/dist/{chunk-4ACZCY4I.js → chunk-WMPO3SKK.js} +3 -3
- package/dist/{chunk-TTNFGMHO.js → chunk-Y7UQHKFY.js} +19 -1
- package/dist/{chunk-BF4KKEFY.js → chunk-YU4Z2O3W.js} +3 -3
- package/dist/{chunk-ZZXLM64C.js → chunk-ZJ3WRVRG.js} +1 -1
- package/dist/{cli-X5ONGYNY.js → cli-OWM54BIU.js} +87 -84
- package/dist/{command-7NFU3IPO.js → command-LIHTWJHQ.js} +24 -21
- package/dist/{config-Z3USDBLU.js → config-OOBPCY7Q.js} +2 -2
- package/dist/{connect-cmd-PNZ6IJLJ.js → connect-cmd-NV7WVBY7.js} +3 -3
- package/dist/{context-adopt-D2Z7F7PB.js → context-adopt-PPCNSN5D.js} +5 -5
- package/dist/{context-materialize-4PMTDS6K.js → context-materialize-YR3JQCUF.js} +5 -5
- package/dist/{dist-3ZTZF2TP.js → dist-2LNAXGPZ.js} +1 -1
- package/dist/{docker-PRHRSJM5.js → docker-RSALMGPL.js} +4 -4
- package/dist/{doctor-KALLPCRB.js → doctor-PKT42NOJ.js} +57 -23
- package/dist/{emit-artifact-cmd-D5GMVWNC.js → emit-artifact-cmd-BZYXRBCV.js} +6 -6
- package/dist/{emit-cmd-2QRMYPYO.js → emit-cmd-IRYNFHPM.js} +3 -3
- package/dist/{emit-criteria-cmd-IE7VIM64.js → emit-criteria-cmd-PSZYZ32B.js} +4 -4
- package/dist/{emit-finding-cmd-46PTPN3A.js → emit-finding-cmd-VTSYDJYZ.js} +4 -4
- package/dist/{emit-result-cmd-KXHHP6HX.js → emit-result-cmd-5P7ZFWMZ.js} +6 -6
- package/dist/{exec-client-NPYNUAF3.js → exec-client-2UX6NHAO.js} +3 -3
- package/dist/{guest-init-JWNNAH2H.js → guest-init-VHQNFCFS.js} +3 -3
- package/dist/{hook-fast-5H5QBJKT.js → hook-fast-OCHVQZTU.js} +1 -1
- package/dist/{import-capture-cmd-T4556ELW.js → import-capture-cmd-2QFLZQFY.js} +3 -3
- package/dist/{import-ruler-cmd-SG3UVGI7.js → import-ruler-cmd-BD22GUJS.js} +1 -1
- package/dist/index.js +3 -3
- package/dist/{init-B4CECVOX.js → init-CY4IMZE4.js} +20 -20
- package/dist/{init-S4DH6PWW.js → init-TQUN5RF7.js} +18 -18
- package/dist/{init-cmd-P4MVCBCZ.js → init-cmd-F4TZXQJH.js} +9 -9
- package/dist/{install-FHTVJZS6.js → install-C33LT5KQ.js} +3 -3
- package/dist/{install-cmd-BEC7XTNG.js → install-cmd-5HYMXLEW.js} +1 -1
- package/dist/{loop-ODMRE3CW.js → loop-NZP5FAC3.js} +27 -27
- package/dist/{machine-J4SAB3Z2.js → machine-RUSNVLKO.js} +17 -17
- package/dist/{mcp-install-cmd-RLK4SO3N.js → mcp-install-cmd-4AQMSIGY.js} +1 -1
- package/dist/{mcp-serve-cmd-CT47P4YQ.js → mcp-serve-cmd-3KVYEUXG.js} +1 -1
- package/dist/{real-deps-SU24ZA2K.js → real-deps-TK6JMQSW.js} +3 -2
- package/dist/{session-sender-V46VPWQ5.js → session-sender-EECVKXTC.js} +5 -5
- package/dist/{starter-pack-MUXMAU4S.js → starter-pack-VNWPYP5U.js} +3 -3
- package/dist/{status-QBKSH3QE.js → status-KCONQLOD.js} +29 -23
- package/dist/{sync-cmd-RJR77V4O.js → sync-cmd-R54ZBHXX.js} +4 -4
- package/dist/{watch-YNZTFLEY.js → watch-YTFNBO3S.js} +4 -4
- package/dist/{work-claim-cmd-KAD3ZAH7.js → work-claim-cmd-HRPJ4VUF.js} +8 -8
- package/dist/{work-cmd-CNWPTH7W.js → work-cmd-W4GQUUBC.js} +5 -5
- package/dist/{work-comment-cmd-HH45S6UE.js → work-comment-cmd-DDZ4SZ35.js} +5 -5
- package/dist/{work-open-pr-cmd-5KR3KFCN.js → work-open-pr-cmd-GXULDTSC.js} +6 -6
- package/dist/{work-pr-cmd-TTEGCP76.js → work-pr-cmd-T6SU4TYN.js} +5 -5
- package/package.json +1 -1
- package/skill-pack/maintained/outerlayer/SKILL.md +12 -2
- package/skill-pack/maintained/outerlayer/references/open-pull-request.md +29 -0
- package/skill-pack/template/build/SKILL.md +3 -2
- package/skill-pack/template/build/references/release.md +11 -2
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { WorkPrCommandError, runWorkPr } from './chunk-
|
|
4
|
-
import './chunk-
|
|
3
|
+
export { WorkPrCommandError, runWorkPr } from './chunk-33GOCSRO.js';
|
|
4
|
+
import './chunk-WMPO3SKK.js';
|
|
5
5
|
import './chunk-BFESLKPP.js';
|
|
6
|
-
import './chunk-
|
|
6
|
+
import './chunk-EWBM2USM.js';
|
|
7
7
|
import './chunk-ZYHKJKSU.js';
|
|
8
|
-
import './chunk-
|
|
8
|
+
import './chunk-HN2JBGSI.js';
|
|
9
9
|
import './chunk-USO2DKBD.js';
|
|
10
10
|
import './chunk-N6LURUEF.js';
|
|
11
11
|
import './chunk-YRYMNBGQ.js';
|
|
12
12
|
import './chunk-WZBHBH3J.js';
|
|
13
13
|
import './chunk-YO4PSLVB.js';
|
|
14
|
-
import './chunk-
|
|
14
|
+
import './chunk-PLMTLGYH.js';
|
|
15
15
|
import './chunk-YNJEOGDL.js';
|
|
16
16
|
import './chunk-EABW6AJQ.js';
|
|
17
17
|
import './chunk-V7NIVOFD.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@outerlayer/cli",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.2",
|
|
4
4
|
"description": "OuterLayer CLI — commands: init, connect, doctor, login, logout, sync, daemon (alias: watch), emit, work, runner, hooks, mcp, import, 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.",
|
|
@@ -4,8 +4,9 @@ description: >
|
|
|
4
4
|
Explain what OuterLayer is and how work flows through it: work items, the
|
|
5
5
|
OUTERLAYER_WORK variable, the factory, and building an issue or specifying one.
|
|
6
6
|
Use when asked about OuterLayer, a work item, OUTERLAYER_WORK, "build issue
|
|
7
|
-
42", how an issue becomes a pull request,
|
|
8
|
-
a
|
|
7
|
+
42", how an issue becomes a pull request, how a build opens its pull request
|
|
8
|
+
(a runner build or a local session), or how to attach evidence or answer a
|
|
9
|
+
review.
|
|
9
10
|
---
|
|
10
11
|
|
|
11
12
|
OuterLayer is a software factory. An issue goes in. A reviewed and verified
|
|
@@ -37,6 +38,15 @@ from the output of `outerlayer work build`.
|
|
|
37
38
|
skill says what to capture.
|
|
38
39
|
5. `/amend` answers the review threads a person handed to an agent.
|
|
39
40
|
|
|
41
|
+
## Opening the pull request
|
|
42
|
+
|
|
43
|
+
A runner build opens its pull request with `outerlayer work open-pr`, never
|
|
44
|
+
with `gh pr create`. A session is a runner build when `OUTERLAYER_WORK` is set
|
|
45
|
+
and `OUTERLAYER_API_KEY` holds an item key, which starts with `olitem_`. A
|
|
46
|
+
local session uses `gh pr create` and then `outerlayer work pr <number>`. The
|
|
47
|
+
full steps are in
|
|
48
|
+
[references/open-pull-request.md](references/open-pull-request.md).
|
|
49
|
+
|
|
40
50
|
Launching recorded work needs Claude Code. It is the one agent whose sessions
|
|
41
51
|
OuterLayer can start with `OUTERLAYER_WORK` set and record. Other agents can
|
|
42
52
|
read the files this repository emits, but they cannot be launched as work.
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# Opening the pull request
|
|
2
|
+
|
|
3
|
+
How a build opens its pull request depends on where it runs.
|
|
4
|
+
|
|
5
|
+
A session is a runner build when `OUTERLAYER_WORK` is set and
|
|
6
|
+
`OUTERLAYER_API_KEY` holds an item key, which starts with `olitem_`. Any other
|
|
7
|
+
session is a local session.
|
|
8
|
+
|
|
9
|
+
## A runner build
|
|
10
|
+
|
|
11
|
+
A runner build opens its pull request with `outerlayer work open-pr`:
|
|
12
|
+
|
|
13
|
+
outerlayer work open-pr --title "<title>" --body-file <path>
|
|
14
|
+
|
|
15
|
+
The build holds an item key, so the gateway opens the pull request as the
|
|
16
|
+
factory's GitHub App on the branch the build's claim named. The build needs no
|
|
17
|
+
GitHub login of its own, and it does not run `gh pr create`. The command also
|
|
18
|
+
links the pull request to the work item, so no `outerlayer work pr` follows.
|
|
19
|
+
Run it again to edit the pull request that is already open.
|
|
20
|
+
|
|
21
|
+
A runner build whose command exits 0 while its item has no pull request is
|
|
22
|
+
released `incomplete`, not `ok`. Open the pull request before the build ends.
|
|
23
|
+
|
|
24
|
+
## A local session
|
|
25
|
+
|
|
26
|
+
A local session opens the pull request under the person's own GitHub login
|
|
27
|
+
with `gh pr create`. It then declares the pull request to the work item with
|
|
28
|
+
`outerlayer work pr <number>`. Without that declaration the item shows no pull
|
|
29
|
+
request, no evaluation and no evidence.
|
|
@@ -179,8 +179,9 @@ Run them in order.
|
|
|
179
179
|
|
|
180
180
|
5. **Sync and pull request.** Read [references/release.md](references/release.md)
|
|
181
181
|
on entry and run it. A release agent rebases, gates and pushes. Open the
|
|
182
|
-
pull request.
|
|
183
|
-
|
|
182
|
+
pull request as release.md says: a runner build with `outerlayer work open-pr`,
|
|
183
|
+
which links it, and a local session with `gh pr create` and then
|
|
184
|
+
`outerlayer work pr <number>`. When the issue has criteria, a fresh agent judges them with
|
|
184
185
|
[references/criteria-judge.md](references/criteria-judge.md), and the
|
|
185
186
|
judge's HTML report is emitted:
|
|
186
187
|
|
|
@@ -21,12 +21,17 @@ problem, the change, how to verify it, and, when the change alters what a user
|
|
|
21
21
|
sees or does, a link to each documentation file added or changed. It carries
|
|
22
22
|
no telemetry, round tables or reviewer roles. Those go in the final report.
|
|
23
23
|
|
|
24
|
+
How to open it, and how to link it to the work item, depends on whether this is
|
|
25
|
+
a runner build or a local session. Read
|
|
26
|
+
`.outerlayer/skills/outerlayer/references/open-pull-request.md` and follow the
|
|
27
|
+
steps for where this build runs.
|
|
28
|
+
|
|
24
29
|
Run the reader pass on the title and body before opening, and after any later
|
|
25
30
|
edit. Add an "Unverified, non-blocking" section to the review report when
|
|
26
31
|
classes were left unrefuted.
|
|
27
32
|
|
|
28
|
-
|
|
29
|
-
session:
|
|
33
|
+
In a local session, the moment the pull request exists, declare it to the work
|
|
34
|
+
item from this session:
|
|
30
35
|
|
|
31
36
|
outerlayer work pr <number>
|
|
32
37
|
|
|
@@ -37,6 +42,10 @@ evaluation and no evidence. Check that the command reports the link as created
|
|
|
37
42
|
or already present before going on. A CLI that does not know the command needs
|
|
38
43
|
refreshing, and the final report names that as a blocker.
|
|
39
44
|
|
|
45
|
+
A runner build declares nothing. `outerlayer work open-pr` opens the pull
|
|
46
|
+
request and links it to the item in one step. Check that it reports the pull
|
|
47
|
+
request before going on.
|
|
48
|
+
|
|
40
49
|
## Judge the criteria
|
|
41
50
|
|
|
42
51
|
When the issue has criteria, spawn one fresh agent on
|