@varman96/paper 1.0.2 → 1.0.4
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 +40 -8
- package/dist/paper.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Paper captures command failures in a structured Incident Report for coding-agent investigation.
|
|
4
4
|
|
|
5
|
-
GitHub
|
|
6
|
-
npm: https://www.npmjs.com/package/@varman96/paper
|
|
5
|
+
[GitHub](https://github.com/varman96/paper) · [npm](https://www.npmjs.com/package/@varman96/paper)
|
|
7
6
|
|
|
8
7
|
Primary workflow: Install -> Capture -> Ask.
|
|
9
8
|
|
|
@@ -15,21 +14,53 @@ npm install -g @varman96/paper
|
|
|
15
14
|
|
|
16
15
|
## Use
|
|
17
16
|
|
|
18
|
-
Run the command
|
|
17
|
+
Run the failing command through Paper:
|
|
19
18
|
|
|
20
19
|
```bash
|
|
21
|
-
paper run
|
|
20
|
+
$ paper run npm test
|
|
21
|
+
...
|
|
22
|
+
COMMAND FAILED
|
|
23
|
+
`npm test` exited with code 1.
|
|
24
|
+
|
|
25
|
+
Paper captured the failure and persisted the Incident Report at `.paper/incident_report.md`.
|
|
22
26
|
```
|
|
23
27
|
|
|
24
|
-
|
|
28
|
+
### Example Incident Report
|
|
29
|
+
|
|
30
|
+
```markdown
|
|
31
|
+
# Incident Report
|
|
32
|
+
|
|
33
|
+
## Evidence
|
|
34
|
+
|
|
35
|
+
### Commands
|
|
36
|
+
|
|
37
|
+
npm test
|
|
38
|
+
|
|
39
|
+
### Exit code
|
|
40
|
+
|
|
41
|
+
1
|
|
42
|
+
|
|
43
|
+
### Working directory
|
|
44
|
+
|
|
45
|
+
C:\work\my-app
|
|
46
|
+
|
|
47
|
+
### Timestamp
|
|
48
|
+
|
|
49
|
+
2026-09-30T14:32:08.000Z
|
|
50
|
+
|
|
51
|
+
### stderr / stack trace
|
|
52
|
+
|
|
53
|
+
Error: Expected 2 tests to pass, received 1
|
|
54
|
+
at runTests (test/runner.js:42:11)
|
|
55
|
+
```
|
|
25
56
|
|
|
26
|
-
Ask
|
|
57
|
+
Ask Cursor, Codex, or Claude:
|
|
27
58
|
|
|
28
59
|
```text
|
|
29
|
-
Diagnose the
|
|
60
|
+
Diagnose and fix the failure in .paper/incident_report.md
|
|
30
61
|
```
|
|
31
62
|
|
|
32
|
-
|
|
63
|
+
No terminal spew to copy-paste. The report is the handoff.
|
|
33
64
|
|
|
34
65
|
For a resolved incident, move the active report out of the workspace:
|
|
35
66
|
|
|
@@ -51,6 +82,7 @@ paper --version
|
|
|
51
82
|
- Local CLI for capturing failed-command evidence.
|
|
52
83
|
- Structured Incident Report at `.paper/incident_report.md`.
|
|
53
84
|
- Evidence anchor for coding-agent investigation.
|
|
85
|
+
- Local-only; zero telemetry.
|
|
54
86
|
- No model API calls.
|
|
55
87
|
- No command-output upload.
|
|
56
88
|
|
package/dist/paper.js
CHANGED
|
@@ -9,7 +9,7 @@ ${s.join(`
|
|
|
9
9
|
|
|
10
10
|
${t.join(`
|
|
11
11
|
|
|
12
|
-
`)}`:""}`}var T={name:"@varman96/paper",version:"1.0.
|
|
12
|
+
`)}`:""}`}var T={name:"@varman96/paper",version:"1.0.4",description:"Paper captures command failures in a structured Incident Report for coding-agent investigation.",main:"dist/paper.js",bin:{paper:"./dist/paper.js"},files:["dist/paper.js","README.md","LICENSE"],directories:{test:"test"},scripts:{"alpha:issue":"node scripts/issue-alpha-access.js","alpha:revoke":"node scripts/revoke-alpha-access.js","fail:test":"node scripts/fail-test.js",paper:"node scripts/paper.js","build:cli":"node scripts/build-cli.js",prepack:"npm run build:cli","deploy:production":"wrangler deploy --env production",test:"node test/run-tests.js","test:fast":"node test/run-tests.js --fast","test:browser":"node test/run-tests.js --browser","test:alpha-browser":"node test/alpha-access.browser.js"},repository:{type:"git",url:"git+https://github.com/varman96/paper.git"},keywords:[],author:"",license:"SEE LICENSE IN LICENSE",type:"module",bugs:{url:"https://github.com/varman96/paper/issues"},homepage:"https://paper-ai.paperhq.workers.dev/",devDependencies:{"@biomejs/biome":"2.5.14",esbuild:"^0.28.1",wrangler:"^4.132.0"}};var J=`Paper captures a failed command and writes a local Incident Report.
|
|
13
13
|
|
|
14
14
|
Usage: paper run <command>
|
|
15
15
|
|