@fabiofiorita/porcelain 0.87.0 → 0.88.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.
Files changed (40) hide show
  1. package/README.md +23 -13
  2. package/package.json +1 -1
  3. package/server/src/cli/main.mjs +5727 -5190
  4. package/web/dist/assets/_paired-B0NHYBZw.js +1 -0
  5. package/web/dist/assets/_paired-CI9bDWMQ.js +2 -0
  6. package/web/dist/assets/_section-BpoeKbFs.js +2 -0
  7. package/web/dist/assets/_section-I2Pn1XO-.js +1 -0
  8. package/web/dist/assets/access-RB9HeZAM.js +27 -0
  9. package/web/dist/assets/confirmed-read-BzQiPqPU.js +184 -0
  10. package/web/dist/assets/edit-file-CiBSkj3Q.js +139 -0
  11. package/web/dist/assets/file-editor-DlbnkKAk.js +67 -0
  12. package/web/dist/assets/index-5QFOY56T.js +10 -0
  13. package/web/dist/assets/index-DC_fpjQG.css +2 -0
  14. package/web/dist/assets/lazyRouteComponent-CBnL3Wua.js +1 -0
  15. package/web/dist/assets/pair-B0NHYBZw.js +1 -0
  16. package/web/dist/assets/pair-_VLWQklP.js +2 -0
  17. package/web/dist/assets/pair-knAwIdS8.js +1 -0
  18. package/web/dist/assets/settings-page-CEgn-xXq.js +13 -0
  19. package/web/dist/assets/useNavigate-DSRB4lpU.js +1 -0
  20. package/web/dist/assets/workspace-error-BeTBm_6h.js +1 -0
  21. package/web/dist/assets/workspace-pending-ZZrMTy9_.js +1345 -0
  22. package/web/dist/index.html +11 -11
  23. package/web/dist/assets/_paired-ZqQMB38g.js +0 -1
  24. package/web/dist/assets/_paired-adOps7b6.js +0 -2
  25. package/web/dist/assets/_section-BIcfL8dP.js +0 -1
  26. package/web/dist/assets/_section-C-ubW0di.js +0 -2
  27. package/web/dist/assets/access-_gVZfZwG.js +0 -27
  28. package/web/dist/assets/confirmed-read-DHK9_uTM.js +0 -184
  29. package/web/dist/assets/edit-file-CINgRIqd.js +0 -139
  30. package/web/dist/assets/file-editor-Dwcj8Ajp.js +0 -67
  31. package/web/dist/assets/index-CMEpIZ84.css +0 -2
  32. package/web/dist/assets/index-D57Ctkfa.js +0 -10
  33. package/web/dist/assets/lazyRouteComponent-CH-emk-1.js +0 -1
  34. package/web/dist/assets/pair-B5f8pA1O.js +0 -1
  35. package/web/dist/assets/pair-Mi9PlJP-.js +0 -2
  36. package/web/dist/assets/pair-ZqQMB38g.js +0 -1
  37. package/web/dist/assets/settings-page-COU_hsXm.js +0 -13
  38. package/web/dist/assets/useMatch-BcFiDpwl.js +0 -1
  39. package/web/dist/assets/workspace-error-Afry6cwW.js +0 -1
  40. package/web/dist/assets/workspace-pending-B5GdvEpa.js +0 -1345
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @fabiofiorita/porcelain (0.87.0)
1
+ # @fabiofiorita/porcelain (0.88.1)
2
2
 
3
3
  The Porcelain server and bundled web app for a plain Node installation. A
4
4
  fresh, read-only agent writes a Walkthrough of what your coding agent changed,
@@ -6,14 +6,20 @@ through the Claude Code or Codex CLI signed in on this machine.
6
6
 
7
7
  ## Quick start
8
8
 
9
- The host needs Node 24 (24.20+) or Node 26 (26.13+), Git, and the file watcher supported on its platform. Official Node 26 binaries on Linux also need the distribution’s `libatomic` runtime:
9
+ The host needs Node 24 (24.20+) or Node 26 (26.13+), Git, and the file watcher supported on its platform. Official Node 26 binaries on Linux also need the distribution’s `libatomic` runtime.
10
10
 
11
11
  ```sh
12
12
  npx @fabiofiorita/porcelain@latest serve
13
+ ```
14
+
15
+ To connect from another device on the local network, use `serve --lan`.
16
+ **LAN sharing uses unencrypted HTTP.** Anyone on the same network can read what Porcelain shows and the device credentials it sends. For an encrypted connection, use Tailscale. Configure Tailscale with `porcelain share tailscale <hostname>`.
13
17
 
14
- # Permit other devices on the local network to connect:
18
+ ```sh
15
19
  npx @fabiofiorita/porcelain@latest serve --lan
20
+ ```
16
21
 
22
+ ```sh
17
23
  # Install this exact CLI version as a user service (Linux):
18
24
  npx @fabiofiorita/porcelain@latest service install
19
25
 
@@ -22,14 +28,15 @@ porcelain service update
22
28
  ```
23
29
 
24
30
  State lives in `~/.porcelain/`; pass `--data-directory` to keep it somewhere
25
- else. Use `porcelain serve --help` for all options.
31
+ else. Use `npx @fabiofiorita/porcelain@latest serve --help` for all options.
26
32
 
27
- Nothing can reach the server until you pair a device. On the machine running
28
- it, `porcelain pair "Phone" --address <the address serve printed>` prints a
29
- link that works once; open it on the device itself. The address must be one
30
- this server answers at, and the not-paired screen in the browser shows the
31
- whole command with that device's own origin already filled in. `porcelain devices` lists what is paired and
32
- `porcelain revoke <id>` ends it.
33
+ To pair a browser, open the address the server prints. Run the pairing command
34
+ shown there on the server machine, using
35
+ `npx @fabiofiorita/porcelain@latest pair` in place of `porcelain pair` if you
36
+ started the server with `npx`. Open the single-use link on the device you want
37
+ to pair. The command uses the browser's address so the device can reach the
38
+ server. Run `devices` to list paired devices and `revoke <id>` to unpair one,
39
+ using the same CLI prefix as for `pair`.
33
40
 
34
41
  ## Background service
35
42
 
@@ -44,9 +51,12 @@ same updater as Settings → Update, waits for it to finish and says whether it
44
51
  updated, was already current or failed. `npx @fabiofiorita/porcelain@<version>
45
52
  service update` installs that exact version instead.
46
53
 
47
- `porcelain share lan on` shares the service on the local network and
48
- `porcelain share` shows how it is shared. Sharing is kept in the data
49
- directory, so it survives restarts and updates.
54
+ `porcelain share lan on` shares the service over unencrypted HTTP on the
55
+ local network. Anyone on the same network can read what Porcelain shows and the device credentials it sends. For an encrypted connection, use Tailscale. Configure Tailscale with `porcelain share tailscale <hostname>`.
56
+ If LAN starts listening after startup, systemd writes the warning to
57
+ `~/.local/share/porcelain/service/logs/stdout.log`. Run `porcelain share`
58
+ to see the sharing status and warning in your terminal. Sharing is kept in the
59
+ data directory, so it survives restarts and updates.
50
60
 
51
61
  Updates stop the service and back up SQLite before the new runtime can migrate
52
62
  it. An older CLI refuses to replace a newer runtime unless
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fabiofiorita/porcelain",
3
- "version": "0.87.0",
3
+ "version": "0.88.1",
4
4
  "description": "A fresh, read-only agent explains what your coding agent changed. Read it from a browser, Mac or phone.",
5
5
  "license": "MIT",
6
6
  "repository": {