@fabiofiorita/porcelain 0.65.3 → 0.66.0

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 (51) hide show
  1. package/README.md +1 -1
  2. package/package.json +3 -2
  3. package/server/drizzle/0028_reset_legacy_projects.sql +36 -0
  4. package/server/drizzle/meta/_journal.json +8 -1
  5. package/server/src/cli/main.mjs +5065 -4570
  6. package/web/dist/assets/_paired-BJ24myQ-.js +1 -0
  7. package/web/dist/assets/_paired-BOEAypIu.js +1 -0
  8. package/web/dist/assets/_paired-DWS716EI.js +1 -0
  9. package/web/dist/assets/{_paired-C-OPMHd_.js → _paired-kBv2c0H3.js} +1 -1
  10. package/web/dist/assets/_section-C-I81Snm.js +1 -0
  11. package/web/dist/assets/_worktreeId-BJ24myQ-.js +1 -0
  12. package/web/dist/assets/_worktreeId-BOEAypIu.js +1 -0
  13. package/web/dist/assets/_worktreeId-CBPxjFcc.js +1 -0
  14. package/web/dist/assets/_worktreeId-D0zP3o0a.js +1 -0
  15. package/web/dist/assets/access-PfkNUy8X.js +1 -0
  16. package/web/dist/assets/connected-workspace-ilTkoEvG.js +1 -0
  17. package/web/dist/assets/desktop-actions-yCl9eHIG.js +11 -0
  18. package/web/dist/assets/{edit-file-CqSI_R_G.js → edit-file-DCY33r0N.js} +35 -35
  19. package/web/dist/assets/{file-editor-CY822nHE.js → file-editor-DqwC15Bu.js} +12 -12
  20. package/web/dist/assets/files-DSu00eSD.js +17 -0
  21. package/web/dist/assets/git-actions-CzAWomWn.js +1345 -0
  22. package/web/dist/assets/index-BLk_t8u4.css +2 -0
  23. package/web/dist/assets/index-BkIFSmjE.js +10 -0
  24. package/web/dist/assets/{lazyRouteComponent-BpzFu5o7.js → lazyRouteComponent-BN1KZ2m_.js} +1 -1
  25. package/web/dist/assets/{link-B0k0Dw1r.js → link-CHPttD8L.js} +1 -1
  26. package/web/dist/assets/pair-BJ24myQ-.js +1 -0
  27. package/web/dist/assets/pair-D18DAPBg.js +1 -0
  28. package/web/dist/assets/search-BRNsqnzM.js +1 -0
  29. package/web/dist/assets/useRouterState-CMqkVuYp.js +1 -0
  30. package/web/dist/assets/{workspace-error-CpgoRLTX.js → workspace-error-6xgfcxxo.js} +1 -1
  31. package/web/dist/assets/{workspace-pending-CSj0ENeH.js → workspace-pending-BgHnZ1Rw.js} +1 -1
  32. package/web/dist/index.html +10 -10
  33. package/web/dist/assets/_paired-BGQByqTx.js +0 -1
  34. package/web/dist/assets/_paired-DR1ndZmE.js +0 -1
  35. package/web/dist/assets/_paired-qSHXbKkl.js +0 -1
  36. package/web/dist/assets/_section-D25X_IP_.js +0 -1
  37. package/web/dist/assets/_worktreeId-2AckLnuR.js +0 -1
  38. package/web/dist/assets/_worktreeId-Cfr9rr3q.js +0 -1
  39. package/web/dist/assets/_worktreeId-DR1ndZmE.js +0 -1
  40. package/web/dist/assets/_worktreeId-qSHXbKkl.js +0 -1
  41. package/web/dist/assets/access-CnKxJMA6.js +0 -1
  42. package/web/dist/assets/connected-workspace-DDQUa7Bv.js +0 -1
  43. package/web/dist/assets/desktop-actions-C6IPObdg.js +0 -11
  44. package/web/dist/assets/files-Dq4t9_xQ.js +0 -17
  45. package/web/dist/assets/git-actions-BrTzG9I2.js +0 -1345
  46. package/web/dist/assets/index-D5KKCKKt.js +0 -10
  47. package/web/dist/assets/index-DddS8Xzd.css +0 -2
  48. package/web/dist/assets/pair-D3O7jbtO.js +0 -1
  49. package/web/dist/assets/pair-DR1ndZmE.js +0 -1
  50. package/web/dist/assets/search-CVF8YG8C.js +0 -1
  51. package/web/dist/assets/useRouterState-GGrtXzjn.js +0 -1
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # @fabiofiorita/porcelain (0.65.3)
1
+ # @fabiofiorita/porcelain (0.66.0)
2
2
 
3
3
  The Porcelain review server and bundled web app for a plain Node installation.
4
4
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fabiofiorita/porcelain",
3
- "version": "0.65.3",
3
+ "version": "0.66.0",
4
4
  "description": "Review coding agents’ changes from a browser, Mac or phone",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -28,7 +28,8 @@
28
28
  "effect": "4.0.1",
29
29
  "qrcode-terminal": "0.12.0",
30
30
  "trash": "10.1.1",
31
- "ws": "8.21.3"
31
+ "ws": "8.21.3",
32
+ "@effect/platform-node-shared": "4.0.1"
32
33
  },
33
34
  "publishConfig": {
34
35
  "access": "public"
@@ -0,0 +1,36 @@
1
+ -- Reset registrations made with dev:ino:birthtimeNs so they can be added again.
2
+ -- Foreign keys are disabled during upgrades, so remove their children explicitly.
3
+ CREATE TEMP TABLE reset_projects AS
4
+ SELECT id FROM inventory_projects
5
+ WHERE length(repository_identity) - length(replace(repository_identity, ':', '')) = 2;
6
+ --> statement-breakpoint
7
+ CREATE TEMP TABLE reset_worktrees AS
8
+ SELECT worktree_id FROM worktree_presence WHERE project_id IN (SELECT id FROM reset_projects);
9
+ --> statement-breakpoint
10
+ DELETE FROM comment_messages WHERE worktree_id IN (SELECT worktree_id FROM reset_worktrees)
11
+ OR thread_id IN (SELECT id FROM comment_threads WHERE worktree_id IN (SELECT worktree_id FROM reset_worktrees));
12
+ --> statement-breakpoint
13
+ DELETE FROM comment_threads WHERE worktree_id IN (SELECT worktree_id FROM reset_worktrees);
14
+ --> statement-breakpoint
15
+ DELETE FROM comment_reads WHERE worktree_id IN (SELECT worktree_id FROM reset_worktrees);
16
+ --> statement-breakpoint
17
+ DELETE FROM review_proof_files WHERE worktree_id IN (SELECT worktree_id FROM reset_worktrees);
18
+ --> statement-breakpoint
19
+ DELETE FROM reviews WHERE worktree_id IN (SELECT worktree_id FROM reset_worktrees);
20
+ --> statement-breakpoint
21
+ DELETE FROM reviewed_files WHERE worktree_id IN (SELECT worktree_id FROM reset_worktrees);
22
+ --> statement-breakpoint
23
+ DELETE FROM reviewed_layers WHERE worktree_id IN (SELECT worktree_id FROM reset_worktrees);
24
+ --> statement-breakpoint
25
+ DELETE FROM git_action_receipts WHERE worktree_id IN (SELECT worktree_id FROM reset_worktrees)
26
+ OR project_id IN (SELECT id FROM reset_projects);
27
+ --> statement-breakpoint
28
+ DELETE FROM worktree_presence WHERE worktree_id IN (SELECT worktree_id FROM reset_worktrees);
29
+ --> statement-breakpoint
30
+ DELETE FROM project_file_preferences WHERE project_id IN (SELECT id FROM reset_projects);
31
+ --> statement-breakpoint
32
+ DELETE FROM inventory_projects WHERE id IN (SELECT id FROM reset_projects);
33
+ --> statement-breakpoint
34
+ DROP TABLE reset_worktrees;
35
+ --> statement-breakpoint
36
+ DROP TABLE reset_projects;
@@ -197,6 +197,13 @@
197
197
  "when": 1790808928164,
198
198
  "tag": "0027_trusted_devices",
199
199
  "breakpoints": true
200
+ },
201
+ {
202
+ "idx": 28,
203
+ "version": "6",
204
+ "when": 1791743820853,
205
+ "tag": "0028_reset_legacy_projects",
206
+ "breakpoints": true
200
207
  }
201
208
  ]
202
- }
209
+ }