@varman96/paper 1.0.3 → 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 CHANGED
@@ -14,21 +14,53 @@ npm install -g @varman96/paper
14
14
 
15
15
  ## Use
16
16
 
17
- Run the command that is failing:
17
+ Run the failing command through Paper:
18
18
 
19
19
  ```bash
20
- paper run <command>
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`.
21
26
  ```
22
27
 
23
- Paper runs the command normally. If it fails, Paper writes the captured evidence to `.paper/incident_report.md`.
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
+ ```
24
56
 
25
- Ask your coding agent:
57
+ Ask Cursor, Codex, or Claude:
26
58
 
27
59
  ```text
28
- Diagnose the current failure.
60
+ Diagnose and fix the failure in .paper/incident_report.md
29
61
  ```
30
62
 
31
- The active Incident Report gives supported coding agents an evidence anchor, so you do not need to reconstruct the failure context.
63
+ No terminal spew to copy-paste. The report is the handoff.
32
64
 
33
65
  For a resolved incident, move the active report out of the workspace:
34
66
 
@@ -50,6 +82,7 @@ paper --version
50
82
  - Local CLI for capturing failed-command evidence.
51
83
  - Structured Incident Report at `.paper/incident_report.md`.
52
84
  - Evidence anchor for coding-agent investigation.
85
+ - Local-only; zero telemetry.
53
86
  - No model API calls.
54
87
  - No command-output upload.
55
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.3",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.
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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@varman96/paper",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "Paper captures command failures in a structured Incident Report for coding-agent investigation.",
5
5
  "main": "dist/paper.js",
6
6
  "bin": {