@ghfs/cli 0.1.1 → 0.2.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 (83) hide show
  1. package/README.md +41 -1
  2. package/dist/cli.mjs +5875 -572
  3. package/dist/{factory-DmX3S7tf.mjs → factory-UMSInaa_.mjs} +379 -102
  4. package/dist/index.d.mts +363 -2
  5. package/dist/index.mjs +1 -1
  6. package/dist/ui/200.html +1 -1
  7. package/dist/ui/404.html +1 -1
  8. package/dist/ui/_nuxt/1bK2R2pL.js +1 -0
  9. package/dist/ui/_nuxt/{D8rZpOte.js → B0tHio-l.js} +1 -1
  10. package/dist/ui/_nuxt/BBxLfTx_.js +1 -0
  11. package/dist/ui/_nuxt/{Bp3cYrEr.js → BDEKrZIi.js} +1 -1
  12. package/dist/ui/_nuxt/{D4Qn4bBI.js → BKH9P1wN.js} +1 -1
  13. package/dist/ui/_nuxt/{oH_c3LbQ.js → BMKCr1FU.js} +1 -1
  14. package/dist/ui/_nuxt/BNh5okZH.js +4 -0
  15. package/dist/ui/_nuxt/BNzF7F9w.js +1 -0
  16. package/dist/ui/_nuxt/BWLewmBT.js +15 -0
  17. package/dist/ui/_nuxt/BbwaKnwL.js +1 -0
  18. package/dist/ui/_nuxt/BqmRGtwl.js +1 -0
  19. package/dist/ui/_nuxt/Bzq9aFVy.js +1 -0
  20. package/dist/ui/_nuxt/C2jkTI5u.js +2 -0
  21. package/dist/ui/_nuxt/{DElX3lK9.js → C8o6ovMK.js} +17 -17
  22. package/dist/ui/_nuxt/CBU7sHLx.js +1 -0
  23. package/dist/ui/_nuxt/CQja-oog.js +1 -0
  24. package/dist/ui/_nuxt/{BLtJtn59.js → CRqJ_cUM.js} +1 -1
  25. package/dist/ui/_nuxt/{DbWOdLaN.js → CV3vykTa.js} +1 -1
  26. package/dist/ui/_nuxt/{8syuri0t.js → ChS_g7wu.js} +1 -1
  27. package/dist/ui/_nuxt/{DWX1VroF.js → ChgxH8nk.js} +1 -1
  28. package/dist/ui/_nuxt/D4R7-XZQ.js +1 -0
  29. package/dist/ui/_nuxt/D4yIuA0F.js +64 -0
  30. package/dist/ui/_nuxt/DHH7xZXJ.js +11 -0
  31. package/dist/ui/_nuxt/DK734mxh.js +1 -0
  32. package/dist/ui/_nuxt/{CANp3yme.js → DMkUaiYH.js} +1 -1
  33. package/dist/ui/_nuxt/DRje8inN.js +1 -0
  34. package/dist/ui/_nuxt/{COcwbKMJ.js → DSvCPggb.js} +1 -1
  35. package/dist/ui/_nuxt/DToHIG1N.js +1 -0
  36. package/dist/ui/_nuxt/DVC3GhaL.js +1 -0
  37. package/dist/ui/_nuxt/DWBdeKmR.js +1 -0
  38. package/dist/ui/_nuxt/Da-Y9lY6.js +1 -0
  39. package/dist/ui/_nuxt/DeX2bcSG.js +1 -0
  40. package/dist/ui/_nuxt/{B6eN_cS4.js → Df2X-ZUM.js} +1 -1
  41. package/dist/ui/_nuxt/{CG8Ifv2g.js → DhaYTIfE.js} +1 -1
  42. package/dist/ui/_nuxt/Dqspr-GT.js +1 -0
  43. package/dist/ui/_nuxt/{DN-Z_aST.js → Dsmy0J62.js} +1 -1
  44. package/dist/ui/_nuxt/{DM8c43g1.js → HgPamjhh.js} +1 -1
  45. package/dist/ui/_nuxt/KW6xsasC.js +1 -0
  46. package/dist/ui/_nuxt/{CRBrlGZW.js → LYj2JSs-.js} +1 -1
  47. package/dist/ui/_nuxt/MRO5bC_T.js +1 -0
  48. package/dist/ui/_nuxt/Project.BMA756E4.css +1 -0
  49. package/dist/ui/_nuxt/W70NOuRA.js +1 -0
  50. package/dist/ui/_nuxt/builds/latest.json +1 -1
  51. package/dist/ui/_nuxt/builds/meta/f935488c-a544-4bf6-9a65-b421d02508c1.json +1 -0
  52. package/dist/ui/_nuxt/cards.DYf8w2uL.css +1 -0
  53. package/dist/ui/_nuxt/{C7UmGho8.js → e9S_qqu4.js} +1 -1
  54. package/dist/ui/_nuxt/entry.COcGUqGv.css +1 -0
  55. package/dist/ui/_nuxt/error-404.CiGdHkfa.css +1 -0
  56. package/dist/ui/_nuxt/error-500.DrZuPeVU.css +1 -0
  57. package/dist/ui/_nuxt/index.C3E0NnSu.css +1 -0
  58. package/dist/ui/cards/index.html +1 -0
  59. package/dist/ui/hub/index.html +1 -0
  60. package/dist/ui/hub/recent/index.html +1 -0
  61. package/dist/ui/index.html +1 -1
  62. package/dist/ui/recent/index.html +1 -0
  63. package/dist/ui/todo/index.html +1 -0
  64. package/package.json +26 -28
  65. package/skills/ghfs/SKILL.md +10 -0
  66. package/dist/provider-DCIsHVeA.d.mts +0 -249
  67. package/dist/server/index.d.mts +0 -330
  68. package/dist/server/index.mjs +0 -2
  69. package/dist/server-BwSU4kqr.mjs +0 -3518
  70. package/dist/ui/_nuxt/BhrAK1vL.js +0 -1
  71. package/dist/ui/_nuxt/C-HG3fhB.js +0 -1
  72. package/dist/ui/_nuxt/C4zNGwhW.js +0 -1
  73. package/dist/ui/_nuxt/CFbOZP3I.js +0 -75
  74. package/dist/ui/_nuxt/D8_7TLub.js +0 -1
  75. package/dist/ui/_nuxt/DU1UobuO.js +0 -1
  76. package/dist/ui/_nuxt/DnF83RMp.js +0 -1
  77. package/dist/ui/_nuxt/JZbLTBME.js +0 -1
  78. package/dist/ui/_nuxt/W9tJ9s81.js +0 -1
  79. package/dist/ui/_nuxt/builds/meta/12d68071-f4db-447f-b929-9033d66eadc3.json +0 -1
  80. package/dist/ui/_nuxt/entry.DfrFFNxd.css +0 -1
  81. package/dist/ui/_nuxt/eo99z4R2.js +0 -1
  82. package/dist/ui/_nuxt/error-404.C93cll2q.css +0 -1
  83. package/dist/ui/_nuxt/error-500.CPQqaJsC.css +0 -1
package/README.md CHANGED
@@ -36,6 +36,46 @@ It will sync the open issues and pull requests to the local filesystem under `.g
36
36
 
37
37
  Then you can view them offline, or ask your local agent to summarize them for you.
38
38
 
39
+ ## Web UI
40
+
41
+ `ghfs` ships a local web UI for browsing and acting on the synced mirror.
42
+
43
+ ### `ghfs ui` — single project
44
+
45
+ Run inside a repository directory after a sync. Opens a browser tab with a two-pane (list + detail) view of the project's issues and PRs.
46
+
47
+ ```bash
48
+ ghfs ui
49
+ ```
50
+
51
+ Flags:
52
+
53
+ - `--port <number>` — port to listen on (default `7710`).
54
+ - `--host <addr>` — bind address (default `127.0.0.1`).
55
+ - `--cwd <path>` — project directory; defaults to the current working directory.
56
+ - `--no-open` — don't auto-open the browser (useful for headless setups).
57
+
58
+ The UI is read-and-queue: edits made in the interface are queued to `.ghfs/execute.yml` and `.ghfs/execute.md` — you still apply them with `ghfs execute --run`.
59
+
60
+ ### `ghfs hub` — multi-project dashboard
61
+
62
+ Point at a directory that contains multiple project checkouts and `ghfs hub` scans for git repositories, lets you enable the ones you want, and exposes them all in one dashboard.
63
+
64
+ ```bash
65
+ ghfs hub --cwd ~/projects
66
+ ```
67
+
68
+ The hub keeps its enabled-project list and auto-sync interval in `~/.config/ghfs/hub.json`, keyed by the hub root. Switching roots remembers each root's selection independently.
69
+
70
+ Features:
71
+
72
+ - Project cards with activity sparkline, open issue / PR counts, last updated and last synced badges.
73
+ - `/recent` — cross-project list of recently-updated issues and PRs.
74
+ - Queue drawer (`q`) — aggregated queue across all enabled projects with per-project execute; press `X` to execute everything.
75
+ - Settings dialog (`,`) for hub root and an optional auto-sync interval (1–60 minutes).
76
+
77
+ Flags mirror `ghfs ui` (`--port`, `--host`, `--cwd`, `--no-open`).
78
+
39
79
  ## Execute operations
40
80
 
41
81
  `ghfs` also allows you to take actions on the issues and pull requests in batch.
@@ -149,4 +189,4 @@ export default defineConfig({
149
189
  - [ ] Documentation.
150
190
  - [x] Index page, and basic repo info
151
191
  - [x] Agent Skills.
152
- - [ ] Local Web UI for managing the local mirror.
192
+ - [x] Local Web UI for managing the local mirror (`ghfs ui` and `ghfs hub`).