@outerlayer/cli 0.8.0 → 0.8.1
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 +14 -0
- package/dist/{agent-setup-C7PLRXZO.js → agent-setup-K6RD2Z4P.js} +3 -3
- package/dist/build-info.json +1 -1
- package/dist/{builder-G52A6GW2.js → builder-IG6FNA54.js} +1 -1
- package/dist/{check-FOF3PUKI.js → check-GX5ND6RO.js} +16 -15
- package/dist/{chunk-5TNS3PL7.js → chunk-2BRSMBBB.js} +2 -1
- package/dist/{chunk-3S4P55NE.js → chunk-4FPWKV7L.js} +2 -2
- package/dist/{chunk-IJBVPLZZ.js → chunk-5ODHQP6O.js} +24 -139
- package/dist/{chunk-AIL2R4SI.js → chunk-BF4KKEFY.js} +3 -3
- package/dist/{chunk-5FWNEQNZ.js → chunk-BQFNZOMQ.js} +1 -1
- package/dist/{chunk-4A5E2G4E.js → chunk-HSN5QNS5.js} +4 -4
- package/dist/chunk-I2UOAV7X.js +133 -0
- package/dist/{chunk-OEK4JEB3.js → chunk-I7CJIRMM.js} +13 -3
- package/dist/{chunk-JPR2WHHF.js → chunk-KSLNQOOS.js} +1 -1
- package/dist/{chunk-5QLNZGAQ.js → chunk-KV47VQJZ.js} +3 -3
- package/dist/{chunk-CM5QTKM4.js → chunk-M4ERCYDB.js} +84 -19
- package/dist/{chunk-K35RW5HP.js → chunk-PXFEYBDE.js} +1 -1
- package/dist/{chunk-IRCBTGWF.js → chunk-Q4432IZT.js} +4 -4
- package/dist/{chunk-7VNURP6M.js → chunk-QB5JQH5V.js} +15 -12
- package/dist/{chunk-TUUMW4TC.js → chunk-QNRSFEGY.js} +1 -1
- package/dist/{chunk-U3GOI2B4.js → chunk-TEKZRTM3.js} +1 -1
- package/dist/{chunk-M5POMKKW.js → chunk-V7NIVOFD.js} +5 -5
- package/dist/{chunk-BCLJSQCV.js → chunk-YO4PSLVB.js} +1 -1
- package/dist/{chunk-NALVDFIS.js → chunk-Z2THOHPP.js} +2 -2
- package/dist/{cli-AOJPAVFX.js → cli-X5ONGYNY.js} +80 -56
- package/dist/{command-SY3SVLAI.js → command-7NFU3IPO.js} +14 -11
- package/dist/{context-adopt-CE4KDXS3.js → context-adopt-D2Z7F7PB.js} +3 -3
- package/dist/{context-materialize-QL33HDJN.js → context-materialize-4PMTDS6K.js} +3 -3
- package/dist/{docker-676FD3CQ.js → docker-PRHRSJM5.js} +2 -2
- package/dist/{doctor-WR6TRPSU.js → doctor-KALLPCRB.js} +10 -10
- package/dist/{emit-artifact-cmd-AVM4YXMQ.js → emit-artifact-cmd-D5GMVWNC.js} +4 -4
- package/dist/{emit-criteria-cmd-LDBE4YDS.js → emit-criteria-cmd-IE7VIM64.js} +2 -2
- package/dist/{emit-finding-cmd-6R5WBPCH.js → emit-finding-cmd-46PTPN3A.js} +2 -2
- package/dist/{emit-result-cmd-2DMN6O6U.js → emit-result-cmd-KXHHP6HX.js} +4 -4
- package/dist/{hook-fast-XBOZ3N6L.js → hook-fast-5H5QBJKT.js} +1 -1
- package/dist/{host-key-KDYZ5ECC.js → host-key-YMLXY6QB.js} +1 -1
- package/dist/index.js +3 -3
- package/dist/{init-R2FJ5KNS.js → init-B4CECVOX.js} +9 -9
- package/dist/{init-KDK5QLQZ.js → init-S4DH6PWW.js} +9 -9
- package/dist/{init-cmd-BYZYAJ5P.js → init-cmd-P4MVCBCZ.js} +5 -5
- package/dist/{install-cmd-DCF7TVXD.js → install-cmd-BEC7XTNG.js} +2 -1
- package/dist/{loop-AG3PLXPO.js → loop-ODMRE3CW.js} +16 -15
- package/dist/{machine-LV6WBRRK.js → machine-J4SAB3Z2.js} +8 -8
- package/dist/{mcp-serve-cmd-N6UD2KBX.js → mcp-serve-cmd-CT47P4YQ.js} +2 -2
- package/dist/{session-sender-Q5HAMOL2.js → session-sender-V46VPWQ5.js} +5 -5
- package/dist/{status-HH4OSOHR.js → status-QBKSH3QE.js} +11 -11
- package/dist/{sync-cmd-CAEPJR7B.js → sync-cmd-RJR77V4O.js} +4 -4
- package/dist/{watch-LAAZFBHH.js → watch-YNZTFLEY.js} +4 -4
- package/dist/{work-claim-cmd-ARIYZARE.js → work-claim-cmd-KAD3ZAH7.js} +4 -4
- package/dist/{work-cmd-B3FOXZAL.js → work-cmd-CNWPTH7W.js} +3 -3
- package/dist/{work-comment-cmd-O5WGRI6K.js → work-comment-cmd-HH45S6UE.js} +3 -3
- package/dist/{work-open-pr-cmd-M6CQW7KW.js → work-open-pr-cmd-5KR3KFCN.js} +4 -4
- package/dist/{work-pr-cmd-C4YEGKD6.js → work-pr-cmd-TTEGCP76.js} +3 -3
- package/package.json +2 -2
- package/skill-pack/maintained/amend/SKILL.md +22 -6
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { createRequire } from 'node:module';
|
|
3
|
-
export { WorkPrCommandError, runWorkPr } from './chunk-
|
|
3
|
+
export { WorkPrCommandError, runWorkPr } from './chunk-PXFEYBDE.js';
|
|
4
4
|
import './chunk-4ACZCY4I.js';
|
|
5
5
|
import './chunk-BFESLKPP.js';
|
|
6
6
|
import './chunk-ILEA3YHM.js';
|
|
@@ -10,11 +10,11 @@ import './chunk-USO2DKBD.js';
|
|
|
10
10
|
import './chunk-N6LURUEF.js';
|
|
11
11
|
import './chunk-YRYMNBGQ.js';
|
|
12
12
|
import './chunk-WZBHBH3J.js';
|
|
13
|
-
import './chunk-
|
|
13
|
+
import './chunk-YO4PSLVB.js';
|
|
14
14
|
import './chunk-BOLTI6LR.js';
|
|
15
15
|
import './chunk-YNJEOGDL.js';
|
|
16
16
|
import './chunk-EABW6AJQ.js';
|
|
17
|
-
import './chunk-
|
|
17
|
+
import './chunk-V7NIVOFD.js';
|
|
18
18
|
import './chunk-ZM2IMMYN.js';
|
|
19
19
|
import './chunk-BJ3KTMDH.js';
|
|
20
20
|
import './chunk-VNVZDWO3.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@outerlayer/cli",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.1",
|
|
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.",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"@types/node": "^22.20.1",
|
|
55
55
|
"commander": "^15.0.0",
|
|
56
56
|
"http-message-sig": "0.3.0",
|
|
57
|
-
"structured-headers": "2.0
|
|
57
|
+
"structured-headers": "2.1.0",
|
|
58
58
|
"tsup": "^8.5.0",
|
|
59
59
|
"tsx": "^4.22.4",
|
|
60
60
|
"typescript": "^5.5.3",
|
|
@@ -26,6 +26,15 @@ request's branch first if the working tree is not already on it.
|
|
|
26
26
|
needs a person becomes a hand-off (step 5), never a stop that leaves a thread
|
|
27
27
|
silently waiting on an agent.
|
|
28
28
|
|
|
29
|
+
## Builds and local sessions
|
|
30
|
+
|
|
31
|
+
A session a runner started for the item is a build. `OUTERLAYER_JOB_DIR` is
|
|
32
|
+
set in a build and nowhere else. The GitHub token a runner gives a build can
|
|
33
|
+
read the issue and the pull request but cannot comment on either. In the
|
|
34
|
+
runner's own build environments, git pushes go through the runner, not
|
|
35
|
+
straight to the git host. A local session uses the person's own git remote and
|
|
36
|
+
`gh` login.
|
|
37
|
+
|
|
29
38
|
## Steps
|
|
30
39
|
|
|
31
40
|
1. **Read the threads.**
|
|
@@ -56,8 +65,11 @@ request's branch first if the working tree is not already on it.
|
|
|
56
65
|
- Make the change on the pull request's branch. Keep it to what the comment
|
|
57
66
|
asks. Do not refactor around it.
|
|
58
67
|
- Run the tests that cover the criterion, then the repository's full
|
|
59
|
-
pre-push checks through a normal `git push`. Never bypass a hook.
|
|
60
|
-
|
|
68
|
+
pre-push checks through a normal `git push`. Never bypass a hook.
|
|
69
|
+
- A runner accepts a build's push only to the pull request's branch. If it
|
|
70
|
+
refuses one, read the reason git prints, fix it and push again.
|
|
71
|
+
- In a local session over SSH, the git host can drop the connection during
|
|
72
|
+
a long gate. Push again with
|
|
61
73
|
`GIT_SSH_COMMAND="ssh -o ServerAliveInterval=20 -o ServerAliveCountMax=60"`.
|
|
62
74
|
- **When the thread asks for new proof** (a criterion thread whose proof the
|
|
63
75
|
person failed), capture it after the fixed state exists, in the form the
|
|
@@ -83,10 +95,14 @@ request's branch first if the working tree is not already on it.
|
|
|
83
95
|
6. **Check nothing is left waiting.** Read the threads again. No thread you
|
|
84
96
|
started with may still be waiting on an agent. If one is, the reply did not
|
|
85
97
|
land or was flagged `unchanged`. Find out why and fix it, or report it.
|
|
86
|
-
7. **Report.**
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
98
|
+
7. **Report.** Write one line per thread, naming the criterion (or the general
|
|
99
|
+
thread) and saying fixed (with the replacement) or handed off (with the
|
|
100
|
+
reason). Plain language. No session labels, no raw command output. Post the
|
|
101
|
+
lines once on the general thread, in a build and in a local session alike:
|
|
102
|
+
`outerlayer work comment --item "$OUTERLAYER_WORK" --body "<the lines>"`.
|
|
103
|
+
A plain comment from an agent leaves the general thread waiting on a person.
|
|
104
|
+
A local session also posts the lines once as a pull request comment. A build
|
|
105
|
+
does not try: its token cannot comment. End the session with the same lines.
|
|
90
106
|
|
|
91
107
|
## Rules
|
|
92
108
|
|