paper-mono 0.62.0 → 0.62.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 +12 -0
- package/DEPENDENCIES.json +330 -37
- package/README.md +16 -20
- package/THIRD_PARTY_NOTICES.md +3343 -71
- package/bin/chunks/anthropic-messages-5RZBLJRE.js +7224 -0
- package/bin/chunks/azure-openai-responses-XS4TF6Z4.js +259 -0
- package/bin/chunks/bun-oauth-JJSCAKFO.js +2215 -0
- package/bin/chunks/chunk-5DR7NCQI.js +566 -0
- package/bin/chunks/chunk-62L4VN6G.js +139 -0
- package/bin/chunks/chunk-7MGGLMCX.js +33112 -0
- package/bin/chunks/chunk-C7RA4DSO.js +883 -0
- package/bin/chunks/chunk-CU4STILM.js +111 -0
- package/bin/chunks/chunk-CVWCYHWQ.js +74 -0
- package/bin/chunks/chunk-D5WU3ZOB.js +33 -0
- package/bin/chunks/chunk-ELNH22VM.js +85 -0
- package/bin/chunks/chunk-EUHYHWFB.js +7353 -0
- package/bin/chunks/chunk-EULGMHDP.js +345 -0
- package/bin/chunks/chunk-FHDSDI7Z.js +9809 -0
- package/bin/chunks/chunk-FYRG6IOU.js +19 -0
- package/bin/chunks/chunk-HIHX6ALB.js +16 -0
- package/bin/chunks/{chunk-I4P43IZS.js → chunk-ICDPC6EL.js} +4 -5
- package/bin/chunks/chunk-IH4ULEGM.js +4786 -0
- package/bin/chunks/chunk-JLJSUDRX.js +40 -0
- package/bin/chunks/{chunk-JCO37BXY.js → chunk-JWJWHJHQ.js} +2 -0
- package/bin/chunks/chunk-KHB4JOYP.js +10 -0
- package/bin/chunks/chunk-KUBT3TJN.js +25 -0
- package/bin/chunks/chunk-M5WYXRMO.js +34 -0
- package/bin/chunks/chunk-OSSHEAX4.js +88 -0
- package/bin/chunks/{chunk-ZX4GFXSY.js → chunk-QPVBM6BW.js} +13 -3
- package/bin/chunks/chunk-TUJUQSNQ.js +638 -0
- package/bin/chunks/{chunk-BGKLQ5Y6.js → chunk-U4I455JM.js} +2 -2
- package/bin/chunks/chunk-VS2POBL7.js +784 -0
- package/bin/chunks/chunk-ZIII3ND7.js +10516 -0
- package/bin/chunks/dist-HWRZC6YH.js +480 -0
- package/bin/chunks/{doctor-7DE4ASQO.js → doctor-TOH2BSQ6.js} +5 -4
- package/bin/chunks/google-generative-ai-JLHAVTKL.js +426 -0
- package/bin/chunks/google-vertex-7ZYVYHZB.js +475 -0
- package/bin/chunks/lib-P4LLE7KH.js +27551 -0
- package/bin/chunks/main-HS6FSCUI.js +190346 -0
- package/bin/chunks/mistral-conversations-L2KFMGUY.js +722 -0
- package/bin/chunks/multipart-parser-WVYHAH2A.js +372 -0
- package/bin/chunks/openai-codex-responses-JZ5R5XMX.js +1374 -0
- package/bin/chunks/openai-completions-I7IHQZTJ.js +1171 -0
- package/bin/chunks/openai-responses-4NJMNJTB.js +303 -0
- package/bin/chunks/openrouter-images-BCHR2IKN.js +147 -0
- package/bin/chunks/{owner-commands-MWXW2KMM.js → owner-commands-VZECUCWE.js} +3 -2
- package/bin/chunks/pi-messages-PBA4LXZP.js +306 -0
- package/bin/chunks/src-5L53DQVP.js +1353 -0
- package/bin/chunks/{tool-contract-ZWFZSYL4.js → tool-contract-5H55QIEJ.js} +4 -3
- package/bin/chunks/undici-EMZDFWT4.js +25580 -0
- package/bin/paper.js +23 -20
- package/docs/cli.md +19 -15
- package/docs/runtime.md +2 -1
- package/package.json +3 -11
- package/tool-walk/mono-safety-card.json +3 -3
- package/tools.contract.json +28 -28
- package/bin/chunks/chunk-UHVY2TIH.js +0 -3264
- package/bin/chunks/main-NQIGPQXK.js +0 -23401
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Release notes
|
|
2
2
|
|
|
3
|
+
## 0.62.2 — 2026-08-28
|
|
4
|
+
|
|
5
|
+
- Made fresh-cache `npx --yes paper-mono` startup fast by carrying the Pi runtime in the public artifact and reducing npm's install closure to four small runtime dependencies.
|
|
6
|
+
- Preserved Pi's supported provider and OAuth flows in the bundled runtime, including real interactive login-backed model execution.
|
|
7
|
+
- Added fail-closed bridge, dependency-closure, unpacked-size, file-count, installed-provider, and clean-start regression coverage for the optimized artifact.
|
|
8
|
+
|
|
9
|
+
## 0.62.1 — 2026-08-28
|
|
10
|
+
|
|
11
|
+
- Made bare `paper` and `npx paper-mono` the canonical specialist launch paths across help, workflow metadata, clean-room release proof, and public documentation.
|
|
12
|
+
- Kept `paper mono` as a compatibility-only route without exposing it in primary onboarding or help.
|
|
13
|
+
- Let Pi load project instructions, skills, cwd, and generic tool guidance exactly once, while preserving repository-relative provider metadata for Pi-loaded context.
|
|
14
|
+
|
|
3
15
|
## 0.62.0 — 2026-08-28
|
|
4
16
|
|
|
5
17
|
- Added equivalent public `paper` and `paper-mono` binaries with deterministic Paper reads, screenshots, diagnostics, and the guarded specialist.
|
package/DEPENDENCIES.json
CHANGED
|
@@ -1,54 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "paper-mono-dependencies.v1",
|
|
3
|
-
"package": "paper-mono@0.62.
|
|
3
|
+
"package": "paper-mono@0.62.2",
|
|
4
4
|
"external": [
|
|
5
|
-
{
|
|
6
|
-
"name": "@earendil-works/pi-agent-core",
|
|
7
|
-
"version": "0.84.3"
|
|
8
|
-
},
|
|
9
|
-
{
|
|
10
|
-
"name": "@earendil-works/pi-ai",
|
|
11
|
-
"version": "0.84.3"
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
"name": "@earendil-works/pi-coding-agent",
|
|
15
|
-
"version": "0.84.3"
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
"name": "@earendil-works/pi-tui",
|
|
19
|
-
"version": "0.84.3"
|
|
20
|
-
},
|
|
21
5
|
{
|
|
22
6
|
"name": "@silvia-odwyer/photon-node",
|
|
23
7
|
"version": "0.3.4"
|
|
24
8
|
},
|
|
25
|
-
{
|
|
26
|
-
"name": "@sinclair/typebox",
|
|
27
|
-
"version": "0.34.48"
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"name": "chalk",
|
|
31
|
-
"version": "5.6.2"
|
|
32
|
-
},
|
|
33
9
|
{
|
|
34
10
|
"name": "cli-highlight",
|
|
35
11
|
"version": "2.1.11"
|
|
36
12
|
},
|
|
37
13
|
{
|
|
38
|
-
"name": "
|
|
39
|
-
"version": "4.
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
"name": "undici",
|
|
43
|
-
"version": "7.29.0"
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
"name": "yaml",
|
|
47
|
-
"version": "2.9.0"
|
|
14
|
+
"name": "data-uri-to-buffer",
|
|
15
|
+
"version": "4.0.1"
|
|
48
16
|
},
|
|
49
17
|
{
|
|
50
|
-
"name": "
|
|
51
|
-
"version": "
|
|
18
|
+
"name": "ignore",
|
|
19
|
+
"version": "7.0.5"
|
|
52
20
|
}
|
|
53
21
|
],
|
|
54
22
|
"bundledInternal": [
|
|
@@ -70,36 +38,316 @@
|
|
|
70
38
|
}
|
|
71
39
|
],
|
|
72
40
|
"bundledThirdParty": [
|
|
41
|
+
{
|
|
42
|
+
"name": "@anthropic-ai/sdk",
|
|
43
|
+
"version": "0.91.1",
|
|
44
|
+
"license": "MIT"
|
|
45
|
+
},
|
|
73
46
|
{
|
|
74
47
|
"name": "@borewit/text-codec",
|
|
75
48
|
"version": "0.2.2",
|
|
76
49
|
"license": "MIT"
|
|
77
50
|
},
|
|
51
|
+
{
|
|
52
|
+
"name": "@earendil-works/pi-agent-core",
|
|
53
|
+
"version": "0.84.3",
|
|
54
|
+
"license": "MIT"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"name": "@earendil-works/pi-ai",
|
|
58
|
+
"version": "0.84.3",
|
|
59
|
+
"license": "MIT"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"name": "@earendil-works/pi-coding-agent",
|
|
63
|
+
"version": "0.84.3",
|
|
64
|
+
"license": "MIT"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"name": "@earendil-works/pi-telemetry",
|
|
68
|
+
"version": "0.84.3",
|
|
69
|
+
"license": "MIT"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"name": "@earendil-works/pi-tui",
|
|
73
|
+
"version": "0.84.3",
|
|
74
|
+
"license": "MIT"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"name": "@google/genai",
|
|
78
|
+
"version": "1.52.0",
|
|
79
|
+
"license": "Apache-2.0"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"name": "@sinclair/typebox",
|
|
83
|
+
"version": "0.34.52",
|
|
84
|
+
"license": "MIT"
|
|
85
|
+
},
|
|
78
86
|
{
|
|
79
87
|
"name": "@tokenizer/inflate",
|
|
80
88
|
"version": "0.4.1",
|
|
81
89
|
"license": "MIT"
|
|
82
90
|
},
|
|
91
|
+
{
|
|
92
|
+
"name": "agent-base",
|
|
93
|
+
"version": "7.1.4",
|
|
94
|
+
"license": "MIT"
|
|
95
|
+
},
|
|
83
96
|
{
|
|
84
97
|
"name": "ansi-regex",
|
|
85
98
|
"version": "6.2.2",
|
|
86
99
|
"license": "MIT"
|
|
87
100
|
},
|
|
101
|
+
{
|
|
102
|
+
"name": "balanced-match",
|
|
103
|
+
"version": "4.0.4",
|
|
104
|
+
"license": "MIT"
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"name": "base64-js",
|
|
108
|
+
"version": "1.5.1",
|
|
109
|
+
"license": "MIT"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"name": "bignumber.js",
|
|
113
|
+
"version": "9.3.1",
|
|
114
|
+
"license": "MIT"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"name": "brace-expansion",
|
|
118
|
+
"version": "5.0.7",
|
|
119
|
+
"license": "MIT"
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"name": "buffer-equal-constant-time",
|
|
123
|
+
"version": "1.0.1",
|
|
124
|
+
"license": "BSD-3-Clause"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"name": "chalk",
|
|
128
|
+
"version": "5.6.2",
|
|
129
|
+
"license": "MIT"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"name": "cross-spawn",
|
|
133
|
+
"version": "7.0.6",
|
|
134
|
+
"license": "MIT"
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
"name": "debug",
|
|
138
|
+
"version": "4.4.3",
|
|
139
|
+
"license": "MIT"
|
|
140
|
+
},
|
|
88
141
|
{
|
|
89
142
|
"name": "diff",
|
|
90
143
|
"version": "8.0.4",
|
|
91
144
|
"license": "BSD-3-Clause"
|
|
92
145
|
},
|
|
146
|
+
{
|
|
147
|
+
"name": "ecdsa-sig-formatter",
|
|
148
|
+
"version": "1.0.11",
|
|
149
|
+
"license": "Apache-2.0"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"name": "extend",
|
|
153
|
+
"version": "3.0.2",
|
|
154
|
+
"license": "MIT"
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"name": "fetch-blob",
|
|
158
|
+
"version": "3.2.0",
|
|
159
|
+
"license": "MIT"
|
|
160
|
+
},
|
|
93
161
|
{
|
|
94
162
|
"name": "file-type",
|
|
95
163
|
"version": "21.3.4",
|
|
96
164
|
"license": "MIT"
|
|
97
165
|
},
|
|
166
|
+
{
|
|
167
|
+
"name": "formdata-polyfill",
|
|
168
|
+
"version": "4.0.10",
|
|
169
|
+
"license": "MIT"
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"name": "gaxios",
|
|
173
|
+
"version": "7.3.0",
|
|
174
|
+
"license": "Apache-2.0"
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"name": "gcp-metadata",
|
|
178
|
+
"version": "8.1.2",
|
|
179
|
+
"license": "Apache-2.0"
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"name": "get-east-asian-width",
|
|
183
|
+
"version": "1.6.0",
|
|
184
|
+
"license": "MIT"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"name": "google-auth-library",
|
|
188
|
+
"version": "10.9.1",
|
|
189
|
+
"license": "Apache-2.0"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"name": "google-logging-utils",
|
|
193
|
+
"version": "1.1.3",
|
|
194
|
+
"license": "Apache-2.0"
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"name": "graceful-fs",
|
|
198
|
+
"version": "4.2.11",
|
|
199
|
+
"license": "ISC"
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"name": "grok-mermaid",
|
|
203
|
+
"version": "0.2.2",
|
|
204
|
+
"license": "Apache-2.0"
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"name": "has-flag",
|
|
208
|
+
"version": "4.0.0",
|
|
209
|
+
"license": "MIT"
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"name": "highlight.js",
|
|
213
|
+
"version": "10.7.3",
|
|
214
|
+
"license": "BSD-3-Clause"
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"name": "hosted-git-info",
|
|
218
|
+
"version": "9.0.3",
|
|
219
|
+
"license": "ISC"
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"name": "https-proxy-agent",
|
|
223
|
+
"version": "7.0.6",
|
|
224
|
+
"license": "MIT"
|
|
225
|
+
},
|
|
98
226
|
{
|
|
99
227
|
"name": "ieee754",
|
|
100
228
|
"version": "1.2.1",
|
|
101
229
|
"license": "BSD-3-Clause"
|
|
102
230
|
},
|
|
231
|
+
{
|
|
232
|
+
"name": "isexe",
|
|
233
|
+
"version": "2.0.0",
|
|
234
|
+
"license": "ISC"
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"name": "jiti",
|
|
238
|
+
"version": "2.7.0",
|
|
239
|
+
"license": "MIT"
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"name": "json-bigint",
|
|
243
|
+
"version": "1.0.0",
|
|
244
|
+
"license": "MIT"
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"name": "jwa",
|
|
248
|
+
"version": "2.0.1",
|
|
249
|
+
"license": "MIT"
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
"name": "jws",
|
|
253
|
+
"version": "4.0.1",
|
|
254
|
+
"license": "MIT"
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"name": "lru-cache",
|
|
258
|
+
"version": "11.5.2",
|
|
259
|
+
"license": "BlueOak-1.0.0"
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"name": "marked",
|
|
263
|
+
"version": "18.0.5",
|
|
264
|
+
"license": "MIT"
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"name": "minimatch",
|
|
268
|
+
"version": "10.2.5",
|
|
269
|
+
"license": "BlueOak-1.0.0"
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"name": "ms",
|
|
273
|
+
"version": "2.1.3",
|
|
274
|
+
"license": "MIT"
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"name": "node-domexception",
|
|
278
|
+
"version": "1.0.0",
|
|
279
|
+
"license": "MIT"
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
"name": "node-fetch",
|
|
283
|
+
"version": "3.3.2",
|
|
284
|
+
"license": "MIT"
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
"name": "openai",
|
|
288
|
+
"version": "6.40.0",
|
|
289
|
+
"license": "Apache-2.0"
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"name": "p-retry",
|
|
293
|
+
"version": "4.6.2",
|
|
294
|
+
"license": "MIT"
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
"name": "partial-json",
|
|
298
|
+
"version": "0.1.7",
|
|
299
|
+
"license": "MIT"
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"name": "path-key",
|
|
303
|
+
"version": "3.1.1",
|
|
304
|
+
"license": "MIT"
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
"name": "pend",
|
|
308
|
+
"version": "1.2.0",
|
|
309
|
+
"license": "MIT"
|
|
310
|
+
},
|
|
311
|
+
{
|
|
312
|
+
"name": "proper-lockfile",
|
|
313
|
+
"version": "4.1.2",
|
|
314
|
+
"license": "MIT"
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
"name": "retry",
|
|
318
|
+
"version": "0.12.0",
|
|
319
|
+
"license": "MIT"
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
"name": "retry",
|
|
323
|
+
"version": "0.13.1",
|
|
324
|
+
"license": "MIT"
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
"name": "safe-buffer",
|
|
328
|
+
"version": "5.2.1",
|
|
329
|
+
"license": "MIT"
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"name": "semver",
|
|
333
|
+
"version": "7.8.0",
|
|
334
|
+
"license": "ISC"
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
"name": "shebang-command",
|
|
338
|
+
"version": "2.0.0",
|
|
339
|
+
"license": "MIT"
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
"name": "shebang-regex",
|
|
343
|
+
"version": "3.0.0",
|
|
344
|
+
"license": "MIT"
|
|
345
|
+
},
|
|
346
|
+
{
|
|
347
|
+
"name": "signal-exit",
|
|
348
|
+
"version": "3.0.7",
|
|
349
|
+
"license": "ISC"
|
|
350
|
+
},
|
|
103
351
|
{
|
|
104
352
|
"name": "strip-ansi",
|
|
105
353
|
"version": "7.2.0",
|
|
@@ -110,6 +358,11 @@
|
|
|
110
358
|
"version": "10.3.5",
|
|
111
359
|
"license": "MIT"
|
|
112
360
|
},
|
|
361
|
+
{
|
|
362
|
+
"name": "supports-color",
|
|
363
|
+
"version": "8.1.1",
|
|
364
|
+
"license": "MIT"
|
|
365
|
+
},
|
|
113
366
|
{
|
|
114
367
|
"name": "token-types",
|
|
115
368
|
"version": "6.1.2",
|
|
@@ -120,10 +373,50 @@
|
|
|
120
373
|
"version": "1.1.38",
|
|
121
374
|
"license": "MIT"
|
|
122
375
|
},
|
|
376
|
+
{
|
|
377
|
+
"name": "typebox",
|
|
378
|
+
"version": "1.3.7",
|
|
379
|
+
"license": "MIT"
|
|
380
|
+
},
|
|
123
381
|
{
|
|
124
382
|
"name": "uint8array-extras",
|
|
125
383
|
"version": "1.5.0",
|
|
126
384
|
"license": "MIT"
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
"name": "undici",
|
|
388
|
+
"version": "7.29.0",
|
|
389
|
+
"license": "MIT"
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
"name": "undici",
|
|
393
|
+
"version": "8.9.0",
|
|
394
|
+
"license": "MIT"
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
"name": "web-streams-polyfill",
|
|
398
|
+
"version": "3.3.3",
|
|
399
|
+
"license": "MIT"
|
|
400
|
+
},
|
|
401
|
+
{
|
|
402
|
+
"name": "which",
|
|
403
|
+
"version": "2.0.2",
|
|
404
|
+
"license": "ISC"
|
|
405
|
+
},
|
|
406
|
+
{
|
|
407
|
+
"name": "ws",
|
|
408
|
+
"version": "8.21.1",
|
|
409
|
+
"license": "MIT"
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
"name": "yaml",
|
|
413
|
+
"version": "2.9.0",
|
|
414
|
+
"license": "ISC"
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
"name": "yauzl",
|
|
418
|
+
"version": "3.4.0",
|
|
419
|
+
"license": "MIT"
|
|
127
420
|
}
|
|
128
421
|
],
|
|
129
422
|
"runtimeAssets": [
|
package/README.md
CHANGED
|
@@ -11,12 +11,15 @@ You need Node.js 22.19.0 or newer, Paper Desktop, a Paper document open, and use
|
|
|
11
11
|
Open a terminal in the destination repository root before starting the specialist. That current working directory becomes the brief's project boundary for inspection, approved edit/write paths, command approval, and verification. An `@file` attachment must be a regular file inside that repository after symlink resolution; its contents are sent to the selected model provider as prompt context. Edit and write tools enforce approved project paths. An approved shell command must exactly match the brief and launches from the repository root, but it runs in the normal host shell—not an operating-system sandbox. Review every proposed command for absolute paths, parent traversal, redirection, subprocesses, and package lifecycle scripts that could reach outside the repository.
|
|
12
12
|
|
|
13
13
|
```bash
|
|
14
|
+
# Run the complete specialist now; no global install required
|
|
15
|
+
npx --yes paper-mono
|
|
16
|
+
|
|
17
|
+
# Keep the short `paper` command
|
|
14
18
|
npm install -g paper-mono
|
|
15
|
-
paper
|
|
16
|
-
paper mono
|
|
19
|
+
paper
|
|
17
20
|
```
|
|
18
21
|
|
|
19
|
-
On first use, enter `/login` inside
|
|
22
|
+
The `--yes` flag only answers npm's first-run install confirmation; it does not bypass Paper Mono's brief or mutation approval gates. On first use, enter `/login` inside Paper Mono and choose a supported model provider. Then tell it which reference and destination surface to inspect.
|
|
20
23
|
|
|
21
24
|
The default workflow is deliberately gated:
|
|
22
25
|
|
|
@@ -40,22 +43,16 @@ It is not a hosted design service, a Paper replacement, a Chrome automation tool
|
|
|
40
43
|
Reference-to-code is the default. Two explicit alternatives are available:
|
|
41
44
|
|
|
42
45
|
```bash
|
|
43
|
-
paper
|
|
44
|
-
paper
|
|
46
|
+
paper --audit-only
|
|
47
|
+
paper --copilot
|
|
45
48
|
```
|
|
46
49
|
|
|
47
50
|
- `--audit-only` is permanently read-only and can never unlock mutation.
|
|
48
51
|
- `--copilot` can propose guarded work inside Paper, but the same brief approval boundary still applies.
|
|
49
52
|
|
|
50
|
-
`paper
|
|
51
|
-
|
|
52
|
-
For a one-command trial without a global install, use:
|
|
53
|
-
|
|
54
|
-
```bash
|
|
55
|
-
npx paper-mono mono
|
|
56
|
-
```
|
|
53
|
+
`paper --list-models` is a model-inventory helper, not a fourth workflow.
|
|
57
54
|
|
|
58
|
-
`npx` uses npm-managed cache and
|
|
55
|
+
The quick-start `npx --yes paper-mono` command runs the same complete specialist as `paper`. It uses npm-managed cache and may create normal local state under `~/.paper/agent`; it only avoids a global package install. The public artifact carries the Pi runtime with it, so npm installs only four small runtime dependencies instead of reifying Pi's full nested dependency tree on every fresh cache. The package exposes equivalent `paper` and `paper-mono` binaries. Documentation uses `paper` as the canonical command after installation.
|
|
59
56
|
|
|
60
57
|
## Paper Snapshot
|
|
61
58
|
|
|
@@ -75,33 +72,32 @@ paper selection --json
|
|
|
75
72
|
paper tree --json
|
|
76
73
|
paper node "replace-with-node-id" --json
|
|
77
74
|
paper screenshot --out reference --json
|
|
78
|
-
paper mono --help
|
|
79
75
|
```
|
|
80
76
|
|
|
81
|
-
Machine-readable commands emit JSON without decorative stdout. Screenshot exports require an explicit `--node` or exactly one current selection, append the verified image extension when needed, and refuse to overwrite an existing path. Deterministic owner commands reject unknown subcommands, and the specialist rejects unsupported flags, invalid option values, path-like `--session` values, and conflicting session actions with a nonzero exit and an actionable error.
|
|
77
|
+
Machine-readable commands emit JSON without decorative stdout. Screenshot exports require an explicit `--node` or exactly one current selection, append the verified image extension when needed, and refuse to overwrite an existing path. Deterministic owner commands reject unknown subcommands, and the specialist rejects unsupported flags, invalid option values, path-like `--session` values, and conflicting session actions with a nonzero exit and an actionable error. Positional text on `paper` is prompt input unless its first word is a reserved owner command: `show`, `info`, `selection`, `tree`, `node`, `screenshot`, `doctor`, `page`, or `help`. Put `--` before option-shaped or reserved-word prompt text; for example, `paper -- --version` or `paper -- info about this layout`.
|
|
82
78
|
|
|
83
79
|
## Model authentication
|
|
84
80
|
|
|
85
|
-
Run `paper
|
|
81
|
+
Run `paper`, enter `/login`, and choose a provider. You may instead use that provider's documented environment variable. `paper --list-models` shows available model IDs; Paper Mono never prints credential values in diagnostics.
|
|
86
82
|
|
|
87
83
|
Credentials, settings, and sessions stay under `~/.paper/agent` by default. Set `PAPER_CODING_AGENT_DIR` before the first run to use another local directory. `--session <id>` accepts a verified session ID only; public v1 rejects path-like values before session activation. Use `--fork <path-or-id>` when you explicitly intend to import a transcript into a new session scoped to the current project. `--session-dir <dir>` overrides session storage and lookup only; it may place transcripts outside the agent home and uses the runtime's explicit-directory lookup instead of Paper Mono's hardened implicit-session verification path. Use only a directory you trust. A resumed session is mutation-locked again until the current brief is reconfirmed.
|
|
88
84
|
|
|
89
85
|
Resume a previous interactive session with:
|
|
90
86
|
|
|
91
87
|
```bash
|
|
92
|
-
paper
|
|
88
|
+
paper -r
|
|
93
89
|
```
|
|
94
90
|
|
|
95
91
|
## Privacy and network boundaries
|
|
96
92
|
|
|
97
93
|
Paper document reads travel over the loopback MCP endpoint at `127.0.0.1`. Paper Mono disables the inherited install ping, automatic version polling, provider-attribution telemetry, and executable downloader before startup; it adds no product telemetry or hidden backend and does not silently phone home. The public TUI also disables inherited `/debug`, `/export`, `/import`, and `/share` commands, so a locked session cannot write a raw debug log or export, replace itself from a file, or send a transcript to an external sharing service. Generated provider metadata names the current project as `<repository-root>` and uses repository-relative labels for attached and context files; Paper Mono does not add the absolute local project path to the model request. User-authored prompts, attached file contents, imported instructions, tool results, or approved commands can still contain paths. Prompts, relevant code/reference context, and tool results needed for reasoning are sent to the model provider you select, so that provider's privacy and retention terms apply.
|
|
98
94
|
|
|
99
|
-
Use `PAPER_OFFLINE=1` or `paper
|
|
95
|
+
Use `PAPER_OFFLINE=1` or `paper --offline` to disable startup network operations. Local deterministic Paper reads remain available, but model work still requires a reachable configured provider unless you use a local one.
|
|
100
96
|
|
|
101
97
|
## Compatibility and current limits
|
|
102
98
|
|
|
103
99
|
- Node.js 22.19.0 or newer is required.
|
|
104
|
-
- `fd` (or `fdfind`) and `rg` must already be executable on `PATH` before `paper
|
|
100
|
+
- `fd` (or `fdfind`) and `rg` must already be executable on `PATH` before `paper` starts. Missing tools fail with install guidance in both default and offline modes; Paper Mono does not acquire them.
|
|
105
101
|
- Paper Desktop must be running with a document open for live MCP reads.
|
|
106
102
|
- Clean-room installation and offline CLI behavior are exercised on Apple-silicon macOS with Node.js 22.23.1. That receipt does not claim live Paper Desktop integration on any operating system. The package declares no OS restriction, but Linux and Windows live integration remain unproven.
|
|
107
103
|
- A static Snapshot cannot prove original motion, hidden application state, backend behavior, or inaccessible assets. The brief labels those details as unknown instead of inventing them.
|
|
@@ -112,7 +108,7 @@ Use `PAPER_OFFLINE=1` or `paper mono --offline` to disable startup network opera
|
|
|
112
108
|
|
|
113
109
|
- **Paper is closed or no file is open:** open Paper Desktop and a document, then rerun `paper doctor --json`. Reinstallation is unnecessary.
|
|
114
110
|
- **MCP is unreachable:** confirm the document is open and that another process is not interfering with `127.0.0.1:29979`, then rerun doctor. Restart Paper only if the local endpoint still does not recover.
|
|
115
|
-
- **Model authentication is missing:** start `paper
|
|
111
|
+
- **Model authentication is missing:** start `paper`, enter `/login`, or configure the selected provider's documented environment variable. A missing key should produce guidance, not a stack trace.
|
|
116
112
|
- **The Snapshot is too large:** select or name one artboard, rerun bounded inspection, use scale 1, and request JSX/styles for a smaller subtree. Paper Mono suppresses over-budget rich parts whole; it never returns partial JSON, JSX, or base64.
|
|
117
113
|
- **The wrong file, page, or artboard is active:** run `paper info --json` and `paper selection --json`, switch to the intended target in Paper, and request a fresh brief. Existing approval does not carry across target drift.
|
|
118
114
|
- **The imported structure is malformed or incomplete:** provide a narrower node or screenshot and let the brief record unsupported details explicitly.
|