@programinglive/dev-workflow-mcp-server 1.8.1 β†’ 1.10.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 (114) hide show
  1. package/.env.example +21 -1
  2. package/AGENTS.md +25 -0
  3. package/README.md +372 -649
  4. package/factory-client.js +554 -0
  5. package/git-facade.js +35 -0
  6. package/index.js +9 -34
  7. package/package.json +21 -20
  8. package/scripts/bootstrap-unix.sh +55 -0
  9. package/scripts/bootstrap-windows.ps1 +75 -0
  10. package/scripts/install-husky.js +43 -0
  11. package/scripts/setup-stack.js +436 -0
  12. package/scripts/setup-test-dbs.sh +61 -0
  13. package/scripts/test-db-adapters.sh +71 -0
  14. package/scripts/verify-bundle.mjs +92 -0
  15. package/tools/definitions.js +143 -0
  16. package/tools/handler-modules/commit-handlers.js +2 -1
  17. package/tools/handler-modules/factory-handlers.js +276 -0
  18. package/tools/handler-modules/index.js +24 -7
  19. package/tools/handler-modules/shared.js +7 -41
  20. package/tools/handler-modules/status-handlers.js +25 -3
  21. package/tools/handler-modules/workflow-handlers.js +57 -10
  22. package/vite.config.js +6 -0
  23. package/workflow-state.js +176 -2
  24. package/.agent/workflows/dev-workflow-bugfix.md +0 -250
  25. package/.agent/workflows/dev-workflow-feature.md +0 -201
  26. package/.agent/workflows/dev-workflow-full-cycle.md +0 -400
  27. package/.agent/workflows/dev-workflow-refactor.md +0 -238
  28. package/.env.production +0 -16
  29. package/.github/ISSUE_TEMPLATE/bug_report.md +0 -34
  30. package/.github/ISSUE_TEMPLATE/feature_request.md +0 -25
  31. package/.github/pull_request_template.md +0 -22
  32. package/.github/workflows/github-release.yml +0 -131
  33. package/.husky/commit-msg +0 -3
  34. package/.husky/pre-commit +0 -2
  35. package/CHANGELOG.md +0 -1145
  36. package/docs/GCP_DEPLOYMENT.md +0 -298
  37. package/docs/NETLIFY_DEPLOYMENT.md +0 -125
  38. package/docs/PLESK_DEPLOYMENT.md +0 -170
  39. package/docs/PRD.md +0 -86
  40. package/docs/WORKFLOW-BEST-PRACTICES.md +0 -58
  41. package/docs/antigravity/EXAMPLES.md +0 -535
  42. package/docs/antigravity/GETTING-STARTED.md +0 -292
  43. package/docs/antigravity/TROUBLESHOOTING.md +0 -742
  44. package/docs/antigravity/WALKTHROUGH.md +0 -25
  45. package/docs/antigravity/WORKFLOW-TEMPLATES.md +0 -670
  46. package/docs/release-notes/RELEASE_NOTES.md +0 -524
  47. package/docs/web-dashboard.md +0 -175
  48. package/scripts/test-auth-flow.js +0 -75
  49. package/tailwind.config.js +0 -8
  50. package/tests/build.test.js +0 -74
  51. package/tests/db-adapters.test.js +0 -108
  52. package/tests/env-support.test.js +0 -46
  53. package/tests/exec.test.js +0 -35
  54. package/tests/handlers-commit.test.js +0 -174
  55. package/tests/handlers-release.test.js +0 -212
  56. package/tests/handlers-workflow.test.js +0 -68
  57. package/tests/handlers.test.js +0 -1142
  58. package/tests/hello-world.test.js +0 -13
  59. package/tests/mcpRegistry.test.js +0 -65
  60. package/tests/patch-release.test.js +0 -7
  61. package/tests/release-wrapper.test.js +0 -107
  62. package/tests/startup-resilience.test.js +0 -73
  63. package/tests/test-helpers.js +0 -50
  64. package/tests/workflowState.test.js +0 -520
  65. package/web/Dockerfile.api +0 -25
  66. package/web/README.md +0 -133
  67. package/web/__tests__/api/workflow-history.test.js +0 -63
  68. package/web/api-server.js +0 -211
  69. package/web/app/docs/page.tsx +0 -202
  70. package/web/app/favicon.ico +0 -0
  71. package/web/app/globals.css +0 -91
  72. package/web/app/history/page.tsx +0 -220
  73. package/web/app/layout.tsx +0 -39
  74. package/web/app/login/page.tsx +0 -142
  75. package/web/app/page.tsx +0 -13
  76. package/web/components/ApiReference.tsx +0 -20
  77. package/web/components/Features.tsx +0 -61
  78. package/web/components/Footer.tsx +0 -9
  79. package/web/components/Hero.tsx +0 -96
  80. package/web/components/History.tsx +0 -175
  81. package/web/components/Navbar.tsx +0 -208
  82. package/web/components/Terminal.tsx +0 -114
  83. package/web/components/ThemeProvider.tsx +0 -58
  84. package/web/eslint.config.mjs +0 -18
  85. package/web/lib/api-client.ts +0 -123
  86. package/web/lib/auth.js +0 -75
  87. package/web/lib/db.js +0 -131
  88. package/web/lib/docs.js +0 -73
  89. package/web/middleware/auth.js +0 -26
  90. package/web/netlify.toml +0 -8
  91. package/web/next.config.ts +0 -19
  92. package/web/package-lock.json +0 -10911
  93. package/web/package.json +0 -42
  94. package/web/postcss.config.mjs +0 -9
  95. package/web/public/assets/android-chrome-192x192.png +0 -0
  96. package/web/public/assets/android-chrome-512x512.png +0 -0
  97. package/web/public/assets/apple-touch-icon.png +0 -0
  98. package/web/public/assets/favicon-16x16.png +0 -0
  99. package/web/public/assets/favicon-32x32.png +0 -0
  100. package/web/public/assets/favicon.ico +0 -0
  101. package/web/public/assets/favicon.png +0 -0
  102. package/web/public/assets/logo.png +0 -0
  103. package/web/public/assets/og-preview.png +0 -0
  104. package/web/public/assets/site.webmanifest +0 -1
  105. package/web/public/file.svg +0 -1
  106. package/web/public/globe.svg +0 -1
  107. package/web/public/next.svg +0 -1
  108. package/web/public/vercel.svg +0 -1
  109. package/web/public/window.svg +0 -1
  110. package/web/scripts/db-query-history.js +0 -120
  111. package/web/scripts/smoke-test.js +0 -30
  112. package/web/server.js +0 -184
  113. package/web/tailwind.config.ts +0 -20
  114. package/web/tsconfig.json +0 -42
@@ -1,524 +0,0 @@
1
- # Release Notes
2
-
3
- Authoritative history of user-visible changes for the Development Workflow MCP Server. Each entry highlights the improvements that shipped with the tagged version.
4
-
5
- | Version | Date | Notes |
6
- |---------|------|-------|
7
- | 1.8.0 | 2025-12-27 | See CHANGELOG for details. |
8
- | 1.7.17 | 2025-12-26 | update release notes for v1.7.16 (0afd96b) |
9
- | 1.7.16 | 2025-12-24 | align database schema with dashboard and improve user ID handling (69e7f38) |
10
- | 1.7.15 | 2025-12-19 | optimize startup performance and add database connection resilience (bff2714) |
11
- | 1.7.14 | 2025-12-19 | add API dependencies and update login to use API client (94bb42f) |
12
- | 1.7.13 | 2025-12-18 | remote db connection, history api 500 errors, and windows startup (ce559a6) |
13
- | 1.7.12 | 2025-12-17 | post-release cleanup v1.7.11 (c2ee733) |
14
- | 1.7.11 | 2025-12-17 | test: comprehensive DB adapter tests, env support, and warning fixes (64b029a) |
15
- | 1.7.10 | 2025-12-16 | update release notes and finalize ci config (92ac78a) |
16
- | 1.7.9 | 2025-12-16 | **ci:** apply official npm trusted publishing config (9256583) |
17
- | 1.7.8 | 2025-12-16 | **ci:** remove all token config for pure OIDC publishing (d4759cc) |
18
- | 1.7.7 | 2025-12-16 | **ci:** remove duplicates and apply robust trusted publishing config (eedb661) |
19
- | 1.7.6 | 2025-12-16 | **ci:** restore registry config with token fallback for Trusted Publishing (542615c) |
20
- | 1.7.5 | 2025-12-16 | **ci:** switch to tokenless trusted publishing (fdfc4a9) |
21
- | 1.7.4 | 2025-12-16 | **ci:** add id-token permission for npm provenance (8930338) |
22
- | 1.7.3 | 2025-12-16 | **ci:** add web dependencies installation step (7d5dc62) |
23
- | 1.7.2 | 2025-12-16 | **ci:** consolidate release and publish workflows (98e5b31) |
24
- | 1.7.1 | 2025-12-16 | build errors and warnings (dc24831) |
25
- | 1.7.0 | 2025-12-16 | See CHANGELOG for details. |
26
- | 1.6.3 | 2025-12-06 | update release notes for 1.6.2 (f0c2d49) |
27
- | 1.6.2 | 2025-12-06 | update release notest for 1.6.1 (72a9284) |
28
- | 1.6.1 | 2025-12-06 | add table header to release notes for release script compatibility (44e47fc) |
29
-
30
-
31
-
32
-
33
-
34
-
35
-
36
-
37
-
38
-
39
-
40
-
41
-
42
-
43
-
44
-
45
-
46
-
47
-
48
-
49
-
50
-
51
-
52
- ## 1.8.0
53
-
54
- Released on **2025-12-27**.
55
-
56
- - See CHANGELOG for details.
57
-
58
- ## 1.7.17 – πŸ“ Documentation
59
-
60
- Released on **2025-12-26**.
61
-
62
- - update release notes for v1.7.16 (0afd96b)
63
- - allow skipping release step (004e4fa)
64
- - add @programinglive/commiter setup (1d2a19d)
65
-
66
- ## 1.7.16 – πŸ› Bug Fixes
67
-
68
- Released on **2025-12-24**.
69
-
70
- - align database schema with dashboard and improve user ID handling (69e7f38)
71
- - cleanup temporary debugging scripts (a5e2b15)
72
- - sync version to 1.7.15 across web and landing pages (c520e4a)
73
- - update macOS MCP config instructions (1e368da)
74
-
75
- ## 1.7.15 – πŸ› Bug Fixes
76
-
77
- Released on **2025-12-19**.
78
-
79
- - optimize startup performance and add database connection resilience (bff2714)
80
- - refactor Navbar and History to use absolute API client URLs v1.7.18 (dc33eae)
81
- - sync all version labels to 1.7.14 and improve netlify routing (78712eb)
82
- - sync all version strings to 1.7.14 (e2a1795)
83
- - sync version to 1.7.14 and fix static routing via trailingSlash (1c152bd)
84
-
85
- ## 1.7.14 – ✨ Features
86
-
87
- Released on **2025-12-19**.
88
-
89
- - add API dependencies and update login to use API client (94bb42f)
90
- - add REST API server for frontend database access (cdb347c)
91
- - implement JWT authentication and update client (8efbe80)
92
- - remove session cookies, enforce JWT only (bacd83a)
93
- - add credentials:include to getCurrentUser to persist session (b8f2df5)
94
- - add root netlify.toml for monorepo support (54c5ed3)
95
- - enable trust proxy and force secure cookies for cross-domain session (2c5d6e8)
96
- - ensure getMe uses full API URL (b3bd0da)
97
- - force API URL to tunnel address to resolve cached old IP (1883731)
98
- - inline auth functions in API server (eefd73c)
99
- - remove duplicate variable declarations in API server (31d3621)
100
- - remove dynamic API route for static export (05a4dd0)
101
- - remove explicit publish path to fix netlify build (cd64bcf)
102
- - remove incorrect netlify publish dir for dynamic build (ea34cf4)
103
- - remove incorrect publish dir from netlify config (010236f)
104
- - restore static export for netlify deployment (685d841)
105
- - update API URL to use Cloudflare Tunnel for HTTPS (ab72f6c)
106
- - use apiClient in history page and add version indicator (4889669)
107
- - use npm install instead of ci to avoid lockfile issues (e5fae26)
108
- - bump version to 1.7.14 to ensure fresh build (f7d8886)
109
- - bump version to 1.7.15 for JWT frontend deploy (7850268)
110
- - cleanup post-release and update website version to 1.7.13 (7341d44)
111
- - save pending changes before release (4d4b1c9)
112
-
113
- ## 1.7.13 – πŸ› Bug Fixes
114
-
115
- Released on **2025-12-18**.
116
-
117
- - remote db connection, history api 500 errors, and windows startup (ce559a6)
118
-
119
- ## 1.7.12 – πŸ“ Documentation
120
-
121
- Released on **2025-12-17**.
122
-
123
- - post-release cleanup v1.7.11 (c2ee733)
124
- - add authentication system with login page and protected routes (2acb20e)
125
- - add Docker deployment support with PostgreSQL for GCP (3adb4cb)
126
- - expose PostgreSQL port for remote access (b1d4066)
127
- - revamp history page UI and remove history from landing (a9d0e4e)
128
- - simplify docker-compose to only PostgreSQL, improve logout button UI (4530862)
129
- - suppress 401 auth errors in console (b63e63b)
130
- - **web:** resolve 500 error on history API and auth sync (88bbff0)
131
- - configure commitlint and husky via commiter setup (4de6c84)
132
- - update website to v1.7.11 and fix dependencies (da80b1c)
133
-
134
- ## 1.7.11 – πŸ“ Documentation
135
-
136
- Released on **2025-12-16**.
137
-
138
- - fix version status in PRD (fa7912b)
139
- - implement .env support and fix mysql date persistence (096797c)
140
- ## 1.7.11 – πŸ“ Documentation & πŸ§ͺ Testing
141
-
142
- Released on **2025-12-17**.
143
-
144
- - test: comprehensive DB adapter tests for MySQL, PostgreSQL, and SQLite (64b029a)
145
- - test: implemented env support verification (64b029a)
146
- - test: fixed deprecation warnings and missing mock exports (64b029a)
147
- - docs: updated PRD and README with testing guide (64b029a)
148
-
149
- ## 1.7.10 – 🧹 Chores
150
-
151
- Released on **2025-12-16**.
152
-
153
- - update release notes and finalize ci config (92ac78a)
154
- - update PRD and release notes for v1.7.9 (024b3c2)
155
-
156
- ## 1.7.9 – πŸ› Bug Fixes
157
-
158
- Released on **2025-12-16**.
159
-
160
- - **ci:** apply official npm trusted publishing config (9256583)
161
- - Fixed recurring ENEEDAUTH errors by adhering strictly to npm's Trusted Publishing documentation.
162
- - Configuration now includes `registry-url` in `setup-node` combined with `id-token: write` permission.
163
- - Ensures a seamless, tokenless release process via OIDC.
164
-
165
- ## 1.7.8 – πŸ› Bug Fixes
166
-
167
- Released on **2025-12-16**.
168
-
169
- - **ci:** remove all token config for pure OIDC publishing (d4759cc)
170
-
171
- ## 1.7.7 – πŸ› Bug Fixes
172
-
173
- Released on **2025-12-16**.
174
-
175
- - **ci:** remove duplicates and apply robust trusted publishing config (eedb661)
176
-
177
- ## 1.7.6 – πŸ› Bug Fixes
178
-
179
- Released on **2025-12-16**.
180
-
181
- - **ci:** restore registry config with token fallback for Trusted Publishing (542615c)
182
-
183
- ## 1.7.5 – πŸ› Bug Fixes
184
-
185
- Released on **2025-12-16**.
186
-
187
- - **ci:** switch to tokenless trusted publishing (fdfc4a9)
188
-
189
- ## 1.7.4 – πŸ› Bug Fixes
190
-
191
- Released on **2025-12-16**.
192
-
193
- - **ci:** add id-token permission for npm provenance (8930338)
194
-
195
- ## 1.7.3 – πŸ› Bug Fixes
196
-
197
- Released on **2025-12-16**.
198
-
199
- - **ci:** add web dependencies installation step (7d5dc62)
200
-
201
- ## 1.7.2 – πŸ› Bug Fixes
202
-
203
- Released on **2025-12-16**.
204
-
205
- - **ci:** consolidate release and publish workflows (98e5b31)
206
-
207
- ## 1.7.1 – πŸ› Bug Fixes
208
-
209
- Released on **2025-12-16**.
210
-
211
- - build errors and warnings (dc24831)
212
- - suppress remaining build warnings (f7d9b2d)
213
- - handle null CustPL in birthday-customers.blade.php (ERP-19) (71b8f7e)
214
- - integrate database adapters into workflow state (370cbb4)
215
- - update PRD and add configuration guide (1dfccf5)
216
- - update release notes for 1.6.3 (afb9fb9)
217
- - add mysql2 and pg dependencies (94423d7)
218
- - **release:** null πŸš€ (93a17e2)
219
- - **release:** null πŸš€ (033097e)
220
- - **release:** null πŸš€ (91c800a)
221
- - **release:** null πŸš€ (f0958c4)
222
- - **release:** null πŸš€ (ac3cc6e)
223
- - **release:** null πŸš€ (f3f9a00)
224
- - **release:** null πŸš€ (bcf7d95)
225
- - **release:** null πŸš€ (74df6d6)
226
- - **release:** null πŸš€ (0d9dc4d)
227
- - **release:** null πŸš€ (9667012)
228
- - **release:** null πŸš€ (db25d0c)
229
- - **release:** null πŸš€ (50d5353)
230
- - **release:** null πŸš€ (ee0a540)
231
- - **release:** null πŸš€ (92558af)
232
- - **release:** null πŸš€ (cd851ac)
233
- - **release:** null πŸš€ (49ec562)
234
- - **release:** null πŸš€ (bcc7a3c)
235
- - implement database adapters for sqlite, mysql, postgres (8e7416a)
236
- - persist active workflow state to database (d29546d)
237
-
238
- ## 1.7.0
239
-
240
- Released on **2025-12-16**.
241
-
242
- - See CHANGELOG for details.
243
-
244
- ## 1.6.3 – πŸ“ Documentation
245
-
246
- Released on **2025-12-06**.
247
-
248
- - update release notes for 1.6.2 (f0c2d49)
249
- - add light mode support to docs page (490cf22)
250
-
251
- ## 1.6.2 – πŸ“ Documentation
252
-
253
- Released on **2025-12-06**.
254
-
255
- - update release notest for 1.6.1 (72a9284)
256
- - update create_documentation test to verify PRD check and remove incompatible jest test (a7f2b28)
257
- - add PRD file existence check to create_documentation workflow step (62cdee3)
258
- - add PRD file existence check to create_documentation workflow step (6c51012)
259
-
260
- ## 1.6.1 – πŸ› Bug Fixes
261
-
262
- Released on **2025-12-06**.
263
-
264
- - add table header to release notes for release script compatibility (44e47fc)
265
- - add responsive vertical monitor support and dark/light mode toggle (5565765)
266
-
267
- ## Unreleased
268
-
269
- ## 1.5.11 β€” 2025-12-05
270
- - See CHANGELOG for details.
271
-
272
- ## 1.5.10 β€” 2025-12-05
273
- - See CHANGELOG for details.
274
-
275
- ## 1.5.9 β€” 2025-12-05
276
- - See CHANGELOG for details.
277
-
278
- ## 1.5.8 β€” 2025-12-05 β€” πŸ› Bug Fixes
279
- - **release:** amend tag to include release notes, remove build-docs.js and dist/docs (a3cea9b)
280
-
281
- ## 1.5.7 β€” 2025-12-05 β€” πŸ› Bug Fixes
282
- - **ci:** checkout main branch for release notes and remove RELEASE_NOTES.html generation (5d50dc0)
283
-
284
- ## 1.5.6 β€” 2025-12-05 β€” πŸ› Bug Fixes
285
- - **ci:** update github release workflow to use github-script (0990808)
286
-
287
- ## 1.5.5 β€” 2025-12-05 β€” πŸ“ Documentation
288
- - add unreleased note for release automation (a5478dc)
289
- - ensure GitHub release workflow writes release notes correctly
290
-
291
- ## 1.5.4 β€” 2025-12-05 β€” 🧹 Chores
292
- - **ci:** add github release automation workflow (80d5ded)
293
- - **release:** version 1.5.3 changes and changelog (c2698a7)
294
- - run release scripts via cjs (bc241c8)
295
- - **web:** update version display to 1.5.3 in docs page (25e37f3)
296
- - **web:** update version display to 1.5.3 in Hero component (b478449)
297
-
298
- ## 1.5.3 β€” 2025-12-05 β€” πŸ› Bug Fixes
299
- - correct package.json version from null to 1.5.2 for npm publish (be60c99)
300
- - **news:** improve error handling and form accessibility (5e0a1a8)
301
- - switch to static export for Netlify deployment (acddfd7)
302
- - **release:** null πŸš€ (55d7f99)
303
- - **release:** prepare patch release 1.5.3 (5b92c42)
304
-
305
- ## 1.5.0 β€” 2025-12-02
306
- - See CHANGELOG for details.
307
-
308
- ## 1.4.11 β€” 2025-12-01 β€” πŸ› Bug Fixes
309
- - move vite to dependencies to ensure build works on production (62fc4c0)
310
- - resolve sentry permission issues (c739f8e)
311
-
312
- ## 1.4.10 β€” 2025-12-01 β€” ✨ Features
313
- - **dashboard:** implement random data generation for analytics chart (17e2073)
314
- - move dompdf to require and resolve debugbar production error (e5d1cb6)
315
-
316
- ## 1.4.9 β€” 2025-11-30 β€” ♻️ Refactors
317
- - **dashboard:** combine analytics charts and use local Chart.js (86ed3f4)
318
-
319
- ## 1.4.8 β€” 2025-11-30 β€” πŸ› Bug Fixes
320
- - **dashboard:** improve responsive layout for admin stats cards (33d5b39)
321
- - **dashboard:** improve responsive layout for admin stats cards (530400d)
322
-
323
- ## 1.4.7 β€” 2025-11-29 β€” ✨ Features
324
- - add core doc types (PRD/README/RELEASE_NOTES) and fix CI build (8ed0567)
325
- - update hero text and meta description to emphasize Indonesian programmer community (681547b)
326
- - display dynamic version in web dashboard from /api/version (69f561d)
327
- - add 1.4.3 release notes (8b165f7)
328
- - add MCP registry metadata (mcpName & server.json) (66caea1)
329
- - align MCP registry schema and docs (e4e732d)
330
- - **release:** 1.4.4 πŸš€ (05a968f)
331
- - **release:** 1.4.5 πŸš€ (7e823b9)
332
- - **release:** 1.4.6 πŸš€ (7e0b672)
333
-
334
- ## 1.4.6 β€” 2025-11-27 β€” 🧹 Chores
335
- - add MCP registry metadata (mcpName & server.json) (66caea1)
336
-
337
- ## 1.4.5 β€” 2025-11-27 β€” πŸ› Bug Fixes
338
- - display dynamic version in web dashboard from /api/version (69f561d)
339
-
340
- ## 1.4.4 β€” 2025-11-27 β€” ♻️ Refactors
341
- - consolidate workflow state to root .state folder only (3d69a14)
342
- - ensure release guard uses freshest workflow state (e07eb42)
343
- - remove invalid turbopack experimental config from next.config.ts (af0a7ea)
344
- - **web:** configure next.js root to silence warnings (22ed002)
345
- - **web:** improve mobile layout for hero section (53b26bf)
346
- - add Plesk deployment guide (de35675)
347
- - add 1.4.3 release notes (8b165f7)
348
- - fix release state detection (ed5dfd1)
349
- - prepare for release (a6ea2d0)
350
- - **release:** 1.4.2 (fac8999)
351
- - **release:** 1.4.2 πŸš€ (01b0b3c)
352
- - **release:** 1.4.3 πŸš€ (04d8c3b)
353
- - update task list (35663dd)
354
- - **web:** fix next.js lockfile warning (05ffce0)
355
- - add core doc types (PRD/README/RELEASE_NOTES) and fix CI build (8ed0567)
356
- - update hero text and meta description to emphasize Indonesian programmer community (681547b)
357
- - update program tracks and fix fast refresh warning (aa5bc9c)
358
-
359
- ## 1.4.3 β€” 2025-11-27 β€” 🧹 Chores
360
- - **release:** 1.4.2 (fac8999)
361
- - remove invalid turbopack experimental config from next.config.ts (af0a7ea)
362
- - add Plesk deployment guide (de35675)
363
- - update program tracks and fix fast refresh warning (aa5bc9c)
364
-
365
- ## 1.4.2 β€” 2025-11-27 β€” 🧹 Chores
366
- - fix release state detection (ed5dfd1)
367
- - prepare for release (a6ea2d0)
368
- - update task list (35663dd)
369
- - **web:** fix next.js lockfile warning (05ffce0)
370
- - ensure release guard uses freshest workflow state (e07eb42)
371
- - **web:** configure next.js root to silence warnings (22ed002)
372
- - **web:** improve mobile layout for hero section (53b26bf)
373
- - consolidate workflow state to root .state folder only (3d69a14)
374
-
375
- ## 1.4.1 β€” 2025-11-27 β€” πŸ› Bug Fixes
376
- - update build test to include postbuild (b1e2f48)
377
- - add custom server.js for Plesk (b3912cd)
378
- - migrate dashboard to Next.js with TypeScript and Tailwind CSS (bce1fec)
379
- - fix package.json scripts (fb25e98)
380
- - fix tsconfig and remove dist artifact (282759f)
381
-
382
- ## 1.4.0 β€” 2025-11-26
383
- - See CHANGELOG for details.
384
-
385
- ## 1.3.11 β€” 2025-11-23
386
- - Re-applied Plesk security fix (moved static files to `web/public/`).
387
- - Updated build configuration and server paths.
388
-
389
- ## 1.3.10 β€” 2025-11-23
390
- - Fixed workflow state synchronization issue that caused forced releases.
391
- - Added `docs/WORKFLOW-BEST-PRACTICES.md`.
392
-
393
- ## 1.3.9 β€” 2025-11-23
394
- - Improved documentation modal layout and readability.
395
-
396
- ## 1.3.8 β€” 2025-11-23
397
- - Fixed documentation loading in production by tracking `dist/docs` in git.
398
-
399
- ## 1.3.0 β€” 2025-11-22
400
- - Added comprehensive Antigravity integration documentation and examples.
401
- - Fixed Windows shell escaping for commit messages.
402
- - Fixed release scripts to support ESM projects.
403
- - Release guard now delegates to `@programinglive/commiter` and verifies the package is installed before running.
404
-
405
- ## 1.2.7 β€” 2025-11-13
406
- - Delegated release process to `@programinglive/commiter`.
407
-
408
- ## 1.2.6 β€” 2025-11-11
409
- - Exposed primary branch helper in CLI.
410
- - Updated documentation regarding commiter delegation.
411
-
412
- > **Notice:** Versions 1.2.2 through 1.2.5 were published briefly for packaging experiments and have been withdrawn.
413
-
414
- ## 1.2.1 β€” 2025-11-03
415
- - Packaging touch-up; functionality remains identical to 1.2.0.
416
-
417
- ## 1.2.0 β€” 2025-11-03
418
- - Reload the workflow state from disk for every tool call, preventing stale data when multiple clients manipulate the same project.
419
-
420
- ## 1.1.18 β€” 2025-11-03
421
- - `commit_and_push` now auto-detects the primary branch (preferring `main`, then `master`) when none is supplied.
422
-
423
- ## 1.1.17 β€” 2025-10-31
424
- - Release bookkeeping only; no user-facing changes.
425
-
426
- ## 1.1.16 β€” 2025-10-31
427
- - Added npm provenance metadata so published packages include supply-chain attestations.
428
-
429
- ## 1.1.15 β€” 2025-10-31
430
- - Documented the automated npm publish workflow and ensured CI builds include provenance before publishing.
431
-
432
- ## 1.1.14 β€” 2025-10-31
433
- - Improved project-root detection for workflow state, fixing issues when the server runs from nested directories.
434
-
435
- ## 1.1.13 β€” 2025-10-30
436
- - Version bump to distribute refreshed dashboard assets; no new functionality beyond 1.1.12.
437
-
438
- ## 1.1.12 β€” 2025-10-30
439
- - Added a `node index.js call <tool>` CLI helper to invoke MCP tools without a client integration.
440
- - Refreshed the web dashboard with a docs modal, dedicated docs API endpoints, and streamlined navigation.
441
-
442
- ## 1.1.11 β€” 2025-10-30
443
- - Introduced per-user workflow state stored under `.state/users/<id>/` to avoid collisions on shared repos.
444
- - Added a SQLite-backed project knowledge summary and the dashboard that visualizes history and trends.
445
- - Hardened resumable workflows by re-checking persisted summaries between steps.
446
-
447
- ## 1.1.10 β€” 2025-10-29
448
- - Shipped the initial project knowledge library with a persisted JSON summary for future database integrations.
449
-
450
- ## 1.1.9 β€” 2025-10-29
451
- - Made `run_full_workflow` resume intelligently from the current phase.
452
- - Expanded automated tests around README/exec updates and other workflow paths.
453
-
454
- ## 1.1.8 β€” 2025-10-27
455
- - Documented the `DEV_WORKFLOW_STATE_FILE` override for relocating workflow state outside the repository.
456
-
457
- ## 1.1.7 β€” 2025-10-26
458
- - Added prompts guiding developers to document changes immediately after tests pass.
459
-
460
- ## 1.1.6 β€” 2025-10-26
461
- - Prevented `.state` from being created at filesystem roots.
462
- - Enforced that commits must land before any release action can run.
463
-
464
- ## 1.1.5 β€” 2025-10-25
465
- - Introduced the release guard, blocking `npm run release:*` until every prerequisite tool has run.
466
- - Standardized per-project workflow state creation during installs.
467
-
468
- ## 1.1.4 β€” 2025-10-25
469
- - Ensured the install script always targets the project root when initializing `.state`.
470
-
471
- ## 1.1.3 β€” 2025-10-25
472
- - Packaged the MCP server for project-level installs with per-project workflow state isolation.
473
-
474
- ## 1.1.2 β€” 2025-10-25
475
- - Version alignment release with no additional changes versus 1.1.1.
476
-
477
- ## 1.1.1 β€” 2025-10-25
478
- - Added `force_complete_task`, letting teams close tasks early with an audit trail.
479
-
480
- ## 1.1.0 β€” 2025-10-25
481
- - Added smart staging checks before commit, and made `continue_workflow` auto-run the next action in the commit phase.
482
- - Enabled clean-tree commits to utilize `commit_and_push` and `perform_release` without manual staging.
483
- - Clarified documentation for the commit/push step.
484
-
485
- ## 1.0.11 β€” 2025-10-25
486
- - Added contextual "continue workflow" guidance describing the next recommended tool.
487
- - Blocked releases until commits are safely pushed.
488
-
489
- ## 1.0.10 β€” 2025-10-24
490
- - Modularized the workflow server internals for maintainability.
491
- - Expanded automated tests around the release push flow.
492
-
493
- ## 1.0.9 β€” 2025-10-23
494
- - Documented how local workflow state is managed across projects.
495
-
496
- ## 1.0.8 β€” 2025-10-21
497
- - Added explicit workflows for skipping tests with justification and dropping tasks mid-flight.
498
-
499
- ## 1.0.7 β€” 2025-10-20
500
- - Version alignment update; no new functionality recorded.
501
-
502
- ## 1.0.6 β€” 2025-10-20
503
- - Strengthened release tests to ensure prerequisites are met before tagging.
504
-
505
- ## 1.0.5 β€” 2025-10-20
506
- - Updated tests around `workflowState` persistence and validation.
507
-
508
- ## 1.0.4 β€” 2025-10-20
509
- - Added an enforced release step after the ready check to ensure workflow order.
510
- - Improved Windows compatibility by quoting commit messages safely.
511
-
512
- ## 1.0.3 β€” 2025-10-20
513
- - Added a project `.gitignore` and clarified cross-platform installation steps.
514
-
515
- ## 1.0.2 β€” 2025-10-19
516
- - Hardened `run_tests` argument validation and normalized tool call arguments.
517
- - Expanded documentation around tool payload requirements.
518
-
519
- ## 1.0.1 β€” 2025-10-18
520
- - Configured release tooling to support semantic version tagging moving forward.
521
-
522
- ## 1.0.0 β€” 2025-10-18
523
- - Initial public release with the full MCP workflow (start β†’ fix β†’ tests β†’ docs β†’ commit β†’ release β†’ complete).
524
- - Launched project governance, contribution guidelines, and tooling scaffolding.
@@ -1,175 +0,0 @@
1
- # Dev Workflow Web Dashboard
2
-
3
- Learn how to start and use the Dev Workflow dashboard included with the MCP server. The dashboard exposes project history, summaries, and aggregates through a small Node.js service.
4
-
5
- ## Prerequisites
6
-
7
- Before launching the dashboard, confirm the following:
8
-
9
- - Node.js 18+ installed (same requirement as the MCP server)
10
- - Project dependencies installed with `npm install`
11
- - Workflow history stored under `.state/` (created automatically when using the MCP server)
12
-
13
- > **Plesk users:** follow the [Plesk installation guide](../README.md#option-3-install-on-plesk-hosting) first and ensure SSH access is enabled.
14
-
15
- ## Features
16
-
17
- - **Task history browser** – Paginated list of completed workflow entries.
18
- - **Summary stats** – Counts of tasks by type and recent activity timeline.
19
- - **Aggregated trends** – Daily, monthly, or yearly breakdowns of workflow activity.
20
- - **Multi-user support** – Switch between user identifiers recorded in the `.state` directory.
21
-
22
- ## Getting Started
23
-
24
- Launch the dashboard from your project directory:
25
-
26
- ```bash
27
- npm run web
28
- ```
29
-
30
- When the server is ready you will see:
31
-
32
- ```
33
- 🌐 Dev Workflow Dashboard running at http://localhost:3111
34
- ```
35
-
36
- Open the URL in your browser. If port 3111 is in use, the script automatically selects a nearby free port.
37
-
38
- ### Choosing a Port
39
-
40
- Set `DEV_WORKFLOW_WEB_PORT` to force a specific port:
41
-
42
- ```bash
43
- DEV_WORKFLOW_WEB_PORT=5000 npm run web
44
- ```
45
-
46
- ### Selecting a User
47
-
48
- The dashboard defaults to the `default` user. Append `?user=<USER_ID>` to view another user’s data. User IDs map to the subdirectories under `.state/users/`.
49
-
50
- ```
51
- http://localhost:3111/?user=my-teammate
52
- ```
53
-
54
- ## Navigation
55
-
56
- The HTML frontend lives in `web/index.html`. The default UI includes:
57
-
58
- - **Summary cards** – Total tasks completed and last active date.
59
- - **Recent tasks table** – Paginated entries with task descriptions and timestamps.
60
- - **Charts** (if script extensions are enabled) – Visual trends per frequency selection.
61
-
62
- ## API Reference
63
-
64
- Interact with the dashboard programmatically using the JSON endpoints served by `web/server.js`.
65
-
66
- ### `GET /api/summary`
67
-
68
- Returns aggregate statistics for a user.
69
-
70
- **Query parameters**
71
-
72
- - `user` *(optional, string)* – User identifier (default `default`).
73
-
74
- **Response**
75
-
76
- ```json
77
- {
78
- "summary": {
79
- "totalTasks": 12,
80
- "taskTypes": { "feature": 8, "bugfix": 3, "refactor": 1 },
81
- "lastActive": "2025-10-01T09:25:41.123Z",
82
- "recentTasks": [
83
- { "description": "feat: add billing webhooks", "type": "feature", "timestamp": "2025-10-01T09:25:41.123Z" }
84
- ],
85
- "updatedAt": "2025-10-01T09:30:00.000Z"
86
- }
87
- }
88
- ```
89
-
90
- ### `GET /api/history`
91
-
92
- Returns paginated task history.
93
-
94
- **Query parameters**
95
-
96
- - `user` *(optional, string)* – User identifier (default `default`).
97
- - `page` *(optional, number)* – Page number (default `1`).
98
- - `pageSize` *(optional, number)* – Items per page (default `20`, max `100`).
99
- - `startDate` *(optional, string)* – Filter by ISO date (inclusive).
100
- - `endDate` *(optional, string)* – Filter by ISO date (inclusive).
101
-
102
- **Response**
103
-
104
- ```json
105
- {
106
- "entries": [
107
- {
108
- "id": 42,
109
- "user_id": "default",
110
- "task_description": "feat: add reporting endpoint",
111
- "task_type": "feature",
112
- "commit_message": "feat: add reporting endpoint",
113
- "timestamp": "2025-09-30T09:18:00.000Z"
114
- }
115
- ],
116
- "total": 42,
117
- "page": 1,
118
- "pageSize": 20
119
- }
120
- ```
121
-
122
- ### `GET /api/history-summary`
123
-
124
- Returns an array of task counts grouped by period.
125
-
126
- **Query parameters**
127
-
128
- - `user` *(optional, string)* – User identifier (default `default`).
129
- - `frequency` *(optional, string)* – `daily`, `monthly`, or `yearly` (default `daily`).
130
- - `startDate`, `endDate` *(optional, string)* – Limit range by ISO dates.
131
-
132
- **Response**
133
-
134
- ```json
135
- {
136
- "summary": [
137
- { "period": "2025-09-30", "count": 3 },
138
- { "period": "2025-09-29", "count": 1 }
139
- ]
140
- }
141
- ```
142
-
143
- ## Configuration
144
-
145
- | Variable | Description | Default |
146
- | --- | --- | --- |
147
- | `DEV_WORKFLOW_WEB_PORT` | Port for the dashboard | `3111` or next available |
148
- | `DEV_WORKFLOW_USER_ID` | User identifier when launching via MCP | auto-generated |
149
- | `DEV_WORKFLOW_STATE_FILE` | Overrides path to workflow state JSON | auto-detected |
150
-
151
- ## Troubleshooting
152
-
153
- | Symptom | Fix |
154
- | --- | --- |
155
- | Server fails with `better-sqlite3` build error | Install Python 3 and build tools (Windows) or ensure SQLite build dependencies exist (Linux/macOS). |
156
- | Dashboard shows empty data | Confirm the MCP server has generated `.state/users/<user>/workflow-state.json` and that the chosen `user` matches. |
157
- | Port already in use | Set `DEV_WORKFLOW_WEB_PORT` to a free port before running `npm run web`. |
158
-
159
- ## Deployment Options
160
-
161
- The web dashboard can be deployed in multiple ways:
162
-
163
- | Platform | Database Support | Best For |
164
- | --- | --- | --- |
165
- | Local (`npm run web`) | Full SQLite | Development and personal use |
166
- | [Netlify](./NETLIFY_DEPLOYMENT.md) | Static only | Public documentation site |
167
- | [Plesk](./PLESK_DEPLOYMENT.md) | Full SQLite | Self-hosted production |
168
-
169
- ## Related Topics
170
-
171
- - [Main README](../README.md)
172
- - [Netlify Deployment](./NETLIFY_DEPLOYMENT.md)
173
- - [Plesk Deployment](./PLESK_DEPLOYMENT.md)
174
- - [Workflow State Internals](./state.md) *(coming soon)*
175
- - [CLI Tools](../README.md#πŸ› οΈ-available-tools)