@programinglive/dev-workflow-mcp-server 1.5.0 → 1.5.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 (77) hide show
  1. package/.github/workflows/npm-publish.yml +3 -0
  2. package/CHANGELOG.md +252 -3
  3. package/README.md +24 -1
  4. package/docs/NETLIFY_DEPLOYMENT.md +125 -0
  5. package/docs/PLESK_DEPLOYMENT.md +170 -0
  6. package/docs/WORKFLOW-BEST-PRACTICES.md +58 -0
  7. package/docs/product/PRD.md +5 -2
  8. package/docs/release-notes/RELEASE_NOTES.md +94 -0
  9. package/docs/web-dashboard.md +12 -0
  10. package/package.json +8 -6
  11. package/release-wrapper.js +68 -33
  12. package/scripts/update-release-notes.cjs +14 -18
  13. package/server.json +23 -0
  14. package/tailwind.config.js +2 -4
  15. package/tests/build.test.js +46 -3
  16. package/tests/handlers.test.js +78 -0
  17. package/tests/mcpRegistry.test.js +65 -0
  18. package/tests/release-wrapper.test.js +2 -0
  19. package/tests/workflowState.test.js +7 -4
  20. package/tools/definitions.js +2 -2
  21. package/tools/handlers.js +2 -2
  22. package/vite.web.config.js +23 -0
  23. package/web/README.md +36 -0
  24. package/web/app/api/docs/route.ts +32 -0
  25. package/web/app/api/history/route.ts +12 -0
  26. package/web/app/api/npm-downloads/route.ts +21 -0
  27. package/web/app/api/summary/route.ts +13 -0
  28. package/web/app/api/version/route.ts +8 -0
  29. package/web/app/docs/page.tsx +202 -0
  30. package/web/app/favicon.ico +0 -0
  31. package/web/app/globals.css +91 -0
  32. package/web/app/layout.tsx +36 -0
  33. package/web/app/page.tsx +15 -0
  34. package/web/components/ApiReference.tsx +20 -0
  35. package/web/components/Features.tsx +61 -0
  36. package/web/components/Footer.tsx +9 -0
  37. package/web/components/Hero.tsx +97 -0
  38. package/web/components/History.tsx +143 -0
  39. package/web/components/Navbar.tsx +64 -0
  40. package/web/components/Terminal.tsx +114 -0
  41. package/web/eslint.config.mjs +18 -0
  42. package/web/lib/db.js +131 -0
  43. package/web/lib/docs.js +73 -0
  44. package/web/netlify.toml +6 -0
  45. package/web/next.config.ts +7 -0
  46. package/web/package-lock.json +6560 -0
  47. package/web/package.json +28 -0
  48. package/web/postcss.config.mjs +9 -0
  49. package/web/public/assets/android-chrome-192x192.png +0 -0
  50. package/web/public/assets/android-chrome-512x512.png +0 -0
  51. package/web/public/assets/apple-touch-icon.png +0 -0
  52. package/web/public/assets/favicon-16x16.png +0 -0
  53. package/web/public/assets/favicon-32x32.png +0 -0
  54. package/web/public/assets/favicon.ico +0 -0
  55. package/web/public/assets/favicon.png +0 -0
  56. package/web/public/assets/logo.png +0 -0
  57. package/web/public/assets/og-preview.png +0 -0
  58. package/web/public/assets/site.webmanifest +1 -0
  59. package/web/public/file.svg +1 -0
  60. package/web/public/globe.svg +1 -0
  61. package/web/public/next.svg +1 -0
  62. package/web/public/vercel.svg +1 -0
  63. package/web/public/window.svg +1 -0
  64. package/web/server.js +30 -158
  65. package/web/tailwind.config.ts +19 -0
  66. package/web/tsconfig.json +42 -0
  67. package/workflow-state.js +11 -25
  68. package/dist/docs/EXAMPLES.html +0 -411
  69. package/dist/docs/GETTING-STARTED.html +0 -233
  70. package/dist/docs/README.html +0 -535
  71. package/dist/docs/RELEASE_NOTES.html +0 -167
  72. package/dist/docs/TROUBLESHOOTING.html +0 -542
  73. package/dist/docs/WORKFLOW-TEMPLATES.html +0 -591
  74. package/dist/docs/web-dashboard.html +0 -158
  75. package/web/public/index.html +0 -1046
  76. package/web/public/input.css +0 -3
  77. package/web/public/output.css +0 -1
@@ -31,6 +31,9 @@ jobs:
31
31
  - name: Install dependencies
32
32
  run: npm ci
33
33
 
34
+ - name: Install web dependencies
35
+ run: npm ci --prefix web
36
+
34
37
  - name: Build package
35
38
  run: npm run build
36
39
 
package/CHANGELOG.md CHANGED
@@ -2,14 +2,263 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
- ## [1.5.0](https://github.com/programinglive/dev-workflow-mcp-server/compare/v1.4.0...v1.5.0) (2025-11-22)
5
+ ### [1.5.1](https://github.com/programinglive/dev-workflow-mcp-server/compare/v1.5.0...v1.5.1) (2025-12-02)
6
6
 
7
- ## [1.4.0](https://github.com/programinglive/dev-workflow-mcp-server/compare/v1.3.9...v1.4.0) (2025-11-22)
7
+
8
+ ### 🏗️ Build System
9
+
10
+ * add netlify.toml for static site deployment ([8667537](https://github.com/programinglive/dev-workflow-mcp-server/commit/8667537baf16889b830c46d3ffde5770589f868f))
11
+
12
+
13
+ ### ✨ Features
14
+
15
+ * add Netlify deployment support for web dashboard ([c05a791](https://github.com/programinglive/dev-workflow-mcp-server/commit/c05a791b3dac12d708e971061c48d3783733f985))
16
+
17
+
18
+ ### 📝 Documentation
19
+
20
+ * update generated web-dashboard.html ([96d47a5](https://github.com/programinglive/dev-workflow-mcp-server/commit/96d47a52a658b105d4d094e18156a8cfc2d13854))
21
+ * update release notes for 1.5.0 ([d860460](https://github.com/programinglive/dev-workflow-mcp-server/commit/d860460826d179e94524807b1776f60854c1db4c))
22
+
23
+ ## [1.5.0](https://github.com/programinglive/dev-workflow-mcp-server/compare/v1.4.6...v1.5.0) (2025-12-02)
24
+
25
+
26
+ ### ♻️ Refactors
27
+
28
+ * **dashboard:** combine analytics charts and use local Chart.js ([86ed3f4](https://github.com/programinglive/dev-workflow-mcp-server/commit/86ed3f4a88570b2f580cb1408e459da681288254))
29
+
30
+
31
+ ### ✨ Features
32
+
33
+ * **dashboard:** implement random data generation for analytics chart ([17e2073](https://github.com/programinglive/dev-workflow-mcp-server/commit/17e20737b719392a2bd90cb1a6f4cc6084b54ab5))
34
+
35
+
36
+ ### 🐛 Bug Fixes
37
+
38
+ * **dashboard:** improve responsive layout for admin stats cards ([33d5b39](https://github.com/programinglive/dev-workflow-mcp-server/commit/33d5b3929ffda733d2328d1e9214c17c1e3d2b40))
39
+ * **dashboard:** improve responsive layout for admin stats cards ([530400d](https://github.com/programinglive/dev-workflow-mcp-server/commit/530400d6ce266d151c617b4b2c7ea56cb1b15042))
40
+ * move build dependencies to dependencies section ([701b07c](https://github.com/programinglive/dev-workflow-mcp-server/commit/701b07c91d31007bc63899a8ddd6350773d4704f))
41
+ * move dompdf to require and resolve debugbar production error ([e5d1cb6](https://github.com/programinglive/dev-workflow-mcp-server/commit/e5d1cb68f70f0980fbbd69f914b76bf0fb09af18))
42
+ * move vite to dependencies to ensure build works on production ([62fc4c0](https://github.com/programinglive/dev-workflow-mcp-server/commit/62fc4c0fecf3ef4cfce231a2663bc67d34668c25))
43
+ * resolve sentry permission issues ([c739f8e](https://github.com/programinglive/dev-workflow-mcp-server/commit/c739f8e2bc5b99d70d63dbc66cefc3fa3b187651))
44
+
45
+
46
+ ### 🧹 Chores
47
+
48
+ * align MCP registry schema and docs ([e4e732d](https://github.com/programinglive/dev-workflow-mcp-server/commit/e4e732d6149a63ddf327ffb741f94d90103c903b))
49
+ * **release:** 1.4.10 🚀 ([74fa5c1](https://github.com/programinglive/dev-workflow-mcp-server/commit/74fa5c11e44bf9c3b29981314c4d13469691fab2))
50
+ * **release:** 1.4.11 🚀 ([28c7a62](https://github.com/programinglive/dev-workflow-mcp-server/commit/28c7a62422d247369ea6652d0bf31b874534a1e4))
51
+ * **release:** 1.4.7 🚀 ([ab4c218](https://github.com/programinglive/dev-workflow-mcp-server/commit/ab4c2184a4fe5e410f54d3723af247ecb0d06f28))
52
+ * **release:** 1.4.8 🚀 ([b60681b](https://github.com/programinglive/dev-workflow-mcp-server/commit/b60681b801be01919711302be38fb6e576f99a8b))
53
+ * **release:** 1.4.9 🚀 ([3f73564](https://github.com/programinglive/dev-workflow-mcp-server/commit/3f73564197068b6a055d36df560322150c0ba6b4))
54
+ * remove web-legacy ([5f0d29e](https://github.com/programinglive/dev-workflow-mcp-server/commit/5f0d29e087918e6891b7e41aa58e262c710d4a67))
55
+
56
+
57
+ ### 📝 Documentation
58
+
59
+ * update release notes html for 1.4.11 ([e683ab6](https://github.com/programinglive/dev-workflow-mcp-server/commit/e683ab6b06bfd5bbcc2dbd6441c9d121bec74feb))
60
+
61
+ ### [1.4.11](https://github.com/programinglive/dev-workflow-mcp-server/compare/v1.4.10...v1.4.11) (2025-12-01)
62
+
63
+
64
+ ### 🐛 Bug Fixes
65
+
66
+ * move vite to dependencies to ensure build works on production ([62fc4c0](https://github.com/programinglive/dev-workflow-mcp-server/commit/62fc4c0fecf3ef4cfce231a2663bc67d34668c25))
67
+ * resolve sentry permission issues ([c739f8e](https://github.com/programinglive/dev-workflow-mcp-server/commit/c739f8e2bc5b99d70d63dbc66cefc3fa3b187651))
68
+
69
+ ### [1.4.10](https://github.com/programinglive/dev-workflow-mcp-server/compare/v1.4.9...v1.4.10) (2025-12-01)
70
+
71
+
72
+ ### ✨ Features
73
+
74
+ * **dashboard:** implement random data generation for analytics chart ([17e2073](https://github.com/programinglive/dev-workflow-mcp-server/commit/17e20737b719392a2bd90cb1a6f4cc6084b54ab5))
75
+
76
+
77
+ ### 🐛 Bug Fixes
78
+
79
+ * move dompdf to require and resolve debugbar production error ([e5d1cb6](https://github.com/programinglive/dev-workflow-mcp-server/commit/e5d1cb68f70f0980fbbd69f914b76bf0fb09af18))
80
+
81
+ ### [1.4.9](https://github.com/programinglive/dev-workflow-mcp-server/compare/v1.4.8...v1.4.9) (2025-11-30)
82
+
83
+
84
+ ### ♻️ Refactors
85
+
86
+ * **dashboard:** combine analytics charts and use local Chart.js ([86ed3f4](https://github.com/programinglive/dev-workflow-mcp-server/commit/86ed3f4a88570b2f580cb1408e459da681288254))
87
+
88
+ ### [1.4.8](https://github.com/programinglive/dev-workflow-mcp-server/compare/v1.4.7...v1.4.8) (2025-11-30)
89
+
90
+
91
+ ### 🐛 Bug Fixes
92
+
93
+ * **dashboard:** improve responsive layout for admin stats cards ([33d5b39](https://github.com/programinglive/dev-workflow-mcp-server/commit/33d5b3929ffda733d2328d1e9214c17c1e3d2b40))
94
+ * **dashboard:** improve responsive layout for admin stats cards ([530400d](https://github.com/programinglive/dev-workflow-mcp-server/commit/530400d6ce266d151c617b4b2c7ea56cb1b15042))
95
+
96
+ ### [1.4.7](https://github.com/programinglive/dev-workflow-mcp-server/compare/v1.4.3...v1.4.7) (2025-11-29)
97
+
98
+
99
+ ### ✨ Features
100
+
101
+ * add core doc types (PRD/README/RELEASE_NOTES) and fix CI build ([8ed0567](https://github.com/programinglive/dev-workflow-mcp-server/commit/8ed0567e8de772b95de6fb744a936b07ed3e1c32))
102
+ * update hero text and meta description to emphasize Indonesian programmer community ([681547b](https://github.com/programinglive/dev-workflow-mcp-server/commit/681547b764b2fcf3a874cc637d9653c12bf62640))
103
+
104
+
105
+ ### 🐛 Bug Fixes
106
+
107
+ * display dynamic version in web dashboard from /api/version ([69f561d](https://github.com/programinglive/dev-workflow-mcp-server/commit/69f561d369fa8347399fafe5dcdb3a2dbb485064))
108
+
109
+
110
+ ### 🧹 Chores
111
+
112
+ * add 1.4.3 release notes ([8b165f7](https://github.com/programinglive/dev-workflow-mcp-server/commit/8b165f7a8201f6b8484dce60f3f907cb195abb83))
113
+ * add MCP registry metadata (mcpName & server.json) ([66caea1](https://github.com/programinglive/dev-workflow-mcp-server/commit/66caea1d684473cfc916917faa42e16fc4ad9e14))
114
+ * align MCP registry schema and docs ([e4e732d](https://github.com/programinglive/dev-workflow-mcp-server/commit/e4e732d6149a63ddf327ffb741f94d90103c903b))
115
+ * **release:** 1.4.4 🚀 ([05a968f](https://github.com/programinglive/dev-workflow-mcp-server/commit/05a968fd08ca41e50d324893d993cb5117b2575c))
116
+ * **release:** 1.4.5 🚀 ([7e823b9](https://github.com/programinglive/dev-workflow-mcp-server/commit/7e823b993c04c5372b4c6acbdf58c713458e8881))
117
+ * **release:** 1.4.6 🚀 ([7e0b672](https://github.com/programinglive/dev-workflow-mcp-server/commit/7e0b67208756b2e6bb34f61ff0382022979b294e))
118
+
119
+ ### [1.4.6](https://github.com/programinglive/dev-workflow-mcp-server/compare/v1.4.5...v1.4.6) (2025-11-27)
120
+
121
+
122
+ ### 🧹 Chores
123
+
124
+ * add MCP registry metadata (mcpName & server.json) ([66caea1](https://github.com/programinglive/dev-workflow-mcp-server/commit/66caea1d684473cfc916917faa42e16fc4ad9e14))
125
+
126
+ ### [1.4.5](https://github.com/programinglive/dev-workflow-mcp-server/compare/v1.4.4...v1.4.5) (2025-11-27)
127
+
128
+
129
+ ### 🐛 Bug Fixes
130
+
131
+ * display dynamic version in web dashboard from /api/version ([69f561d](https://github.com/programinglive/dev-workflow-mcp-server/commit/69f561d369fa8347399fafe5dcdb3a2dbb485064))
132
+
133
+ ### [1.4.4](https://github.com/programinglive/dev-workflow-mcp-server/compare/v1.4.1...v1.4.4) (2025-11-27)
8
134
 
9
135
 
10
136
  ### ♻️ Refactors
11
137
 
12
- * **web:** move static files to public/ subdirectory for Plesk security ([f68c6b6](https://github.com/programinglive/dev-workflow-mcp-server/commit/f68c6b6321fa85e9537f8592dfcbc8fb718f77c4))
138
+ * consolidate workflow state to root .state folder only ([3d69a14](https://github.com/programinglive/dev-workflow-mcp-server/commit/3d69a14e2abd7897bc91ede5e3c484b90eefc726))
139
+
140
+
141
+ ### 🐛 Bug Fixes
142
+
143
+ * ensure release guard uses freshest workflow state ([e07eb42](https://github.com/programinglive/dev-workflow-mcp-server/commit/e07eb42179f17f2da282bff70392ce1b4652346a))
144
+ * remove invalid turbopack experimental config from next.config.ts ([af0a7ea](https://github.com/programinglive/dev-workflow-mcp-server/commit/af0a7ea7906654755a2520693fd81d7fb6633c13))
145
+ * **web:** configure next.js root to silence warnings ([22ed002](https://github.com/programinglive/dev-workflow-mcp-server/commit/22ed00256a4c6d7dbca13d2733baf0f4392b6650))
146
+ * **web:** improve mobile layout for hero section ([53b26bf](https://github.com/programinglive/dev-workflow-mcp-server/commit/53b26bf3271cab3ac029be8ddb72a8d5312b150e))
147
+
148
+
149
+ ### 📝 Documentation
150
+
151
+ * add Plesk deployment guide ([de35675](https://github.com/programinglive/dev-workflow-mcp-server/commit/de356753231d1bb29fd3c87fdd9d095932fae4b0))
152
+
153
+
154
+ ### 🧹 Chores
155
+
156
+ * add 1.4.3 release notes ([8b165f7](https://github.com/programinglive/dev-workflow-mcp-server/commit/8b165f7a8201f6b8484dce60f3f907cb195abb83))
157
+ * fix release state detection ([ed5dfd1](https://github.com/programinglive/dev-workflow-mcp-server/commit/ed5dfd15d296c555bd5c2731267a87ad4a371af9))
158
+ * prepare for release ([a6ea2d0](https://github.com/programinglive/dev-workflow-mcp-server/commit/a6ea2d0c44f35f2a1e06c4e01bbe026177e9cff2))
159
+ * **release:** 1.4.2 ([fac8999](https://github.com/programinglive/dev-workflow-mcp-server/commit/fac899992d370c0198954a6f7c97ab7645514e25))
160
+ * **release:** 1.4.2 🚀 ([01b0b3c](https://github.com/programinglive/dev-workflow-mcp-server/commit/01b0b3c791c10b76c05bae01e4e8c5ce7435ce14))
161
+ * **release:** 1.4.3 🚀 ([04d8c3b](https://github.com/programinglive/dev-workflow-mcp-server/commit/04d8c3b2873ce819633c95a12f6c48e73fe671ea))
162
+ * update task list ([35663dd](https://github.com/programinglive/dev-workflow-mcp-server/commit/35663dd661d3b97a5fedb5013fbbca36e75605d8))
163
+ * **web:** fix next.js lockfile warning ([05ffce0](https://github.com/programinglive/dev-workflow-mcp-server/commit/05ffce0b171cb804c6a14223521cd1fa876b80ae))
164
+
165
+
166
+ ### ✨ Features
167
+
168
+ * add core doc types (PRD/README/RELEASE_NOTES) and fix CI build ([8ed0567](https://github.com/programinglive/dev-workflow-mcp-server/commit/8ed0567e8de772b95de6fb744a936b07ed3e1c32))
169
+ * update hero text and meta description to emphasize Indonesian programmer community ([681547b](https://github.com/programinglive/dev-workflow-mcp-server/commit/681547b764b2fcf3a874cc637d9653c12bf62640))
170
+ * update program tracks and fix fast refresh warning ([aa5bc9c](https://github.com/programinglive/dev-workflow-mcp-server/commit/aa5bc9cbc8a9bf9c9552e00e89b0b97ddeac0592))
171
+
172
+ ### [1.4.3](https://github.com/programinglive/dev-workflow-mcp-server/compare/v1.4.2...v1.4.3) (2025-11-27)
173
+
174
+
175
+ ### 🧹 Chores
176
+
177
+ * **release:** 1.4.2 ([fac8999](https://github.com/programinglive/dev-workflow-mcp-server/commit/fac899992d370c0198954a6f7c97ab7645514e25))
178
+
179
+
180
+ ### 🐛 Bug Fixes
181
+
182
+ * remove invalid turbopack experimental config from next.config.ts ([af0a7ea](https://github.com/programinglive/dev-workflow-mcp-server/commit/af0a7ea7906654755a2520693fd81d7fb6633c13))
183
+
184
+
185
+ ### 📝 Documentation
186
+
187
+ * add Plesk deployment guide ([de35675](https://github.com/programinglive/dev-workflow-mcp-server/commit/de356753231d1bb29fd3c87fdd9d095932fae4b0))
188
+
189
+
190
+ ### ✨ Features
191
+
192
+ * update program tracks and fix fast refresh warning ([aa5bc9c](https://github.com/programinglive/dev-workflow-mcp-server/commit/aa5bc9cbc8a9bf9c9552e00e89b0b97ddeac0592))
193
+
194
+ ### [1.4.2](https://github.com/programinglive/dev-workflow-mcp-server/compare/v1.4.1...v1.4.2) (2025-11-27)
195
+
196
+
197
+ ### 🧹 Chores
198
+
199
+ * fix release state detection ([ed5dfd1](https://github.com/programinglive/dev-workflow-mcp-server/commit/ed5dfd15d296c555bd5c2731267a87ad4a371af9))
200
+ * prepare for release ([a6ea2d0](https://github.com/programinglive/dev-workflow-mcp-server/commit/a6ea2d0c44f35f2a1e06c4e01bbe026177e9cff2))
201
+ * update task list ([35663dd](https://github.com/programinglive/dev-workflow-mcp-server/commit/35663dd661d3b97a5fedb5013fbbca36e75605d8))
202
+ * **web:** fix next.js lockfile warning ([05ffce0](https://github.com/programinglive/dev-workflow-mcp-server/commit/05ffce0b171cb804c6a14223521cd1fa876b80ae))
203
+
204
+
205
+ ### 🐛 Bug Fixes
206
+
207
+ * ensure release guard uses freshest workflow state ([e07eb42](https://github.com/programinglive/dev-workflow-mcp-server/commit/e07eb42179f17f2da282bff70392ce1b4652346a))
208
+ * **web:** configure next.js root to silence warnings ([22ed002](https://github.com/programinglive/dev-workflow-mcp-server/commit/22ed00256a4c6d7dbca13d2733baf0f4392b6650))
209
+ * **web:** improve mobile layout for hero section ([53b26bf](https://github.com/programinglive/dev-workflow-mcp-server/commit/53b26bf3271cab3ac029be8ddb72a8d5312b150e))
210
+
211
+
212
+ ### ♻️ Refactors
213
+
214
+ * consolidate workflow state to root .state folder only ([3d69a14](https://github.com/programinglive/dev-workflow-mcp-server/commit/3d69a14e2abd7897bc91ede5e3c484b90eefc726))
215
+
216
+ ### [1.4.1](https://github.com/programinglive/dev-workflow-mcp-server/compare/v1.4.0...v1.4.1) (2025-11-27)
217
+
218
+
219
+ ### 🐛 Bug Fixes
220
+
221
+ * update build test to include postbuild ([b1e2f48](https://github.com/programinglive/dev-workflow-mcp-server/commit/b1e2f481334df825109e3f2934c88b8f14c1b4d0))
222
+
223
+
224
+ ### ✨ Features
225
+
226
+ * add custom server.js for Plesk ([b3912cd](https://github.com/programinglive/dev-workflow-mcp-server/commit/b3912cdaf50085ae30cab553a9ebac2b7281ee28))
227
+
228
+ ## [1.4.0](https://github.com/programinglive/dev-workflow-mcp-server/compare/v1.3.12...v1.4.0) (2025-11-26)
229
+
230
+
231
+ ### ✨ Features
232
+
233
+ * migrate dashboard to Next.js with TypeScript and Tailwind CSS ([bce1fec](https://github.com/programinglive/dev-workflow-mcp-server/commit/bce1fec98a7b5e5542644271a77ccaf1019dd83c))
234
+
235
+
236
+ ### 🧹 Chores
237
+
238
+ * fix package.json scripts ([fb25e98](https://github.com/programinglive/dev-workflow-mcp-server/commit/fb25e98c763d4b5cac5c321f56a2e533577fc38b))
239
+ * fix tsconfig and remove dist artifact ([282759f](https://github.com/programinglive/dev-workflow-mcp-server/commit/282759f14de6231ad6374dc891b551ca0d70ac28))
240
+
241
+ ### [1.3.12](https://github.com/programinglive/dev-workflow-mcp-server/compare/v1.3.11...v1.3.12) (2025-11-22)
242
+
243
+
244
+ ### 🐛 Bug Fixes
245
+
246
+ * **scripts:** update release notes script and backfill versions ([808791e](https://github.com/programinglive/dev-workflow-mcp-server/commit/808791ec4a988fe557fa82be21fb92f6a34d792c))
247
+ * **scripts:** update release notes script to support header format and backfill versions ([e4a5055](https://github.com/programinglive/dev-workflow-mcp-server/commit/e4a5055633ba4d83d43c85ee8b475cd761685519))
248
+
249
+ ### [1.3.11](https://github.com/programinglive/dev-workflow-mcp-server/compare/v1.3.10...v1.3.11) (2025-11-22)
250
+
251
+
252
+ ### ♻️ Refactors
253
+
254
+ * **web:** move static files to public/ subdirectory for Plesk security ([3e5c321](https://github.com/programinglive/dev-workflow-mcp-server/commit/3e5c321d569e3594d9f29c8762513b95df8dbd84))
255
+
256
+ ### [1.3.10](https://github.com/programinglive/dev-workflow-mcp-server/compare/v1.3.9...v1.3.10) (2025-11-22)
257
+
258
+
259
+ ### 📝 Documentation
260
+
261
+ * add workflow best practices to eliminate forced releases ([6bcac42](https://github.com/programinglive/dev-workflow-mcp-server/commit/6bcac42bc9f30cbfa0a27e36a90af303d244d863))
13
262
 
14
263
  ### [1.3.9](https://github.com/programinglive/dev-workflow-mcp-server/compare/v1.3.8...v1.3.9) (2025-11-22)
15
264
 
package/README.md CHANGED
@@ -205,6 +205,7 @@ npm run web
205
205
  - **Environment overrides:** Honors `PORT` (common on hosts like Plesk/Render) or `DEV_WORKFLOW_WEB_PORT` before falling back to auto-selection.
206
206
  - **Query parameter:** `?user=<id>` lets you inspect another user’s history (defaults to `default`).
207
207
  - **API endpoints:**
208
+ - `GET /api/version` → current package version from `package.json` (used by dashboard to display version dynamically).
208
209
  - `GET /api/summary?user=<id>` → overall stats for the user.
209
210
  - `GET /api/history?user=<id>&page=1&pageSize=20&startDate=YYYY-MM-DD&endDate=YYYY-MM-DD` → paginated task history.
210
211
  - `GET /api/history-summary?user=<id>&frequency=daily|monthly|yearly` → aggregated counts over time.
@@ -227,6 +228,28 @@ For MCP server usage, point your client at `index.js` (source) to avoid stdio tr
227
228
  - Performance optimization
228
229
  - Embedding in other projects
229
230
 
231
+ ### MCP Tools Registry (Publishing)
232
+
233
+ This package is configured for the official MCP Tools Registry using **npm package deployment**:
234
+
235
+ - `package.json` declares `mcpName: "io.github.programinglive/dev-workflow-mcp-server"`.
236
+ - `server.json` describes the server and links it to the npm package `@programinglive/dev-workflow-mcp-server`.
237
+
238
+ To publish a new server version to the registry:
239
+
240
+ 1. Release a new npm version (for example):
241
+ - `npm test`
242
+ - `npm run release:patch` (runs your existing release pipeline and publishes to npm)
243
+ 2. Verify the new version exists on npm:
244
+ - `npm view @programinglive/dev-workflow-mcp-server version`
245
+ 3. Install the MCP publisher CLI (once per machine):
246
+ - `brew install mcp-publisher` (or follow the docs at https://modelcontextprotocol.info/tools/registry/publishing/)
247
+ 4. From this repo root, authenticate and publish:
248
+ - `mcp-publisher login github`
249
+ - `mcp-publisher publish`
250
+ 5. Optionally verify in the registry:
251
+ - `curl "https://registry.modelcontextprotocol.io/v0/servers?search=io.github.programinglive/dev-workflow-mcp-server"`
252
+
230
253
  #### PowerShell CLI tip
231
254
 
232
255
  When invoking the lightweight CLI from PowerShell, use `--%` to prevent PowerShell from rewriting JSON arguments, for example:
@@ -431,7 +454,7 @@ Use run_tests with:
431
454
  Mark that documentation has been created/updated. This is required before committing.
432
455
 
433
456
  **Parameters:**
434
- - `documentationType` (enum, required): "README", "inline-comments", "API-docs", "changelog", or "other"
457
+ - `documentationType` (enum, required): "PRD", "README", "RELEASE_NOTES", "inline-comments", "API-docs", "changelog", or "other"
435
458
  - `summary` (string, required): What was documented
436
459
 
437
460
  ### `check_ready_to_commit`
@@ -0,0 +1,125 @@
1
+ # Netlify Deployment Guide
2
+
3
+ Deploy the Dev Workflow web dashboard to Netlify for a public-facing documentation and demo site.
4
+
5
+ ## Overview
6
+
7
+ The web dashboard can be deployed to Netlify as a static Next.js application. This deployment mode provides:
8
+
9
+ - **Static documentation pages** - Full access to the `/docs` section
10
+ - **Demo interface** - Showcase the workflow features
11
+ - **API endpoints** - Serverless functions for version and npm download stats
12
+
13
+ > **Note:** Database features (history, summary) return placeholder data in this deployment mode. For full functionality with persistent data, use the [local development server](./web-dashboard.md) or [Plesk deployment](./PLESK_DEPLOYMENT.md).
14
+
15
+ ## Live Site
16
+
17
+ The official deployment is available at:
18
+ - **Primary:** https://devworkflow.programinglive.com
19
+ - **Netlify:** https://devworkflow.netlify.app
20
+
21
+ ## Prerequisites
22
+
23
+ - Netlify account (free tier works)
24
+ - Node.js 18+ for local builds
25
+ - Git repository connected to Netlify (optional, for auto-deploy)
26
+
27
+ ## Quick Deploy
28
+
29
+ ### Option 1: Netlify CLI
30
+
31
+ ```bash
32
+ # Install Netlify CLI
33
+ npm install -g netlify-cli
34
+
35
+ # Login to Netlify
36
+ netlify login
37
+
38
+ # Navigate to web directory
39
+ cd web
40
+
41
+ # Create new site and deploy
42
+ netlify sites:create --name your-site-name
43
+ netlify deploy --prod --build
44
+ ```
45
+
46
+ ### Option 2: Netlify Dashboard
47
+
48
+ 1. Go to [app.netlify.com](https://app.netlify.com)
49
+ 2. Click "Add new site" > "Import an existing project"
50
+ 3. Connect your GitHub repository
51
+ 4. Configure build settings:
52
+ - **Base directory:** `web`
53
+ - **Build command:** `npm run build`
54
+ - **Publish directory:** `.next`
55
+ 5. Deploy
56
+
57
+ ## Configuration
58
+
59
+ The `web/netlify.toml` file configures the build:
60
+
61
+ ```toml
62
+ [build]
63
+ command = "npm run build"
64
+ publish = ".next"
65
+
66
+ [[plugins]]
67
+ package = "@netlify/plugin-nextjs"
68
+ ```
69
+
70
+ ## Custom Domain Setup
71
+
72
+ 1. Go to your site's **Domain management** in Netlify
73
+ 2. Click **Add a domain**
74
+ 3. Enter your subdomain (e.g., `devworkflow.yourdomain.com`)
75
+ 4. Add a CNAME record in your DNS provider:
76
+ - **Host:** `devworkflow` (or your subdomain)
77
+ - **Value:** `your-site-name.netlify.app`
78
+ 5. Click **Provision certificate** for HTTPS
79
+
80
+ ## API Endpoints
81
+
82
+ The following API routes are available as Netlify Functions:
83
+
84
+ | Endpoint | Description |
85
+ | --- | --- |
86
+ | `/api/version` | Returns current package version |
87
+ | `/api/npm-downloads` | Returns monthly npm download count |
88
+ | `/api/summary` | Returns placeholder summary data |
89
+ | `/api/history` | Returns placeholder history data |
90
+ | `/api/docs` | Returns documentation content |
91
+
92
+ ## Limitations
93
+
94
+ When deployed to Netlify (static mode):
95
+
96
+ - **No persistent database** - History and summary return empty/placeholder data
97
+ - **No real-time updates** - Data is static between deployments
98
+ - **Version is build-time** - Update `web/app/api/version/route.ts` before each release
99
+
100
+ ## Updating the Deployment
101
+
102
+ ### Manual Redeploy
103
+
104
+ ```bash
105
+ cd web
106
+ netlify deploy --prod --build
107
+ ```
108
+
109
+ ### Auto-Deploy (Recommended)
110
+
111
+ Connect your GitHub repository to Netlify for automatic deployments on push to main branch.
112
+
113
+ ## Troubleshooting
114
+
115
+ | Issue | Solution |
116
+ | --- | --- |
117
+ | 404 on custom domain | Provision SSL certificate in Netlify dashboard |
118
+ | Build fails | Ensure `web/package.json` has no native dependencies |
119
+ | Functions timeout | Netlify has 10s limit; optimize API routes |
120
+
121
+ ## Related
122
+
123
+ - [Web Dashboard Guide](./web-dashboard.md)
124
+ - [Plesk Deployment](./PLESK_DEPLOYMENT.md)
125
+ - [Main README](../README.md)
@@ -0,0 +1,170 @@
1
+ # Deploying dev-workflow-mcp-server to Plesk
2
+
3
+ This guide covers deploying the dev-workflow MCP server (Node.js backend + Next.js frontend) to Plesk hosting.
4
+
5
+ ## Prerequisites
6
+
7
+ - Plesk control panel access
8
+ - Node.js 18+ installed on the server
9
+ - Git installed on the server
10
+ - Domain/subdomain configured in Plesk
11
+
12
+ ## Deployment Steps
13
+
14
+ ### 1. Set Up Node.js Application in Plesk
15
+
16
+ 1. Log in to Plesk control panel
17
+ 2. Go to **Domains** → Select your domain
18
+ 3. Click **Node.js** (or **Applications** if using newer Plesk)
19
+ 4. Click **Add Application**
20
+ 5. Configure:
21
+ - **Application root**: `/var/www/vhosts/yourdomain.com/dev-workflow-mcp-server` (or your path)
22
+ - **Startup file**: `index.js`
23
+ - **Node.js version**: 18.x or higher
24
+ - **Port**: Leave as auto (Plesk assigns a port)
25
+
26
+ ### 2. Clone Repository
27
+
28
+ SSH into your Plesk server:
29
+
30
+ ```bash
31
+ cd /var/www/vhosts/yourdomain.com
32
+ git clone https://github.com/programinglive/dev-workflow-mcp-server.git
33
+ cd dev-workflow-mcp-server
34
+ ```
35
+
36
+ ### 3. Install Dependencies
37
+
38
+ ```bash
39
+ npm install
40
+ ```
41
+
42
+ ### 4. Build the Application
43
+
44
+ ```bash
45
+ npm run build
46
+ ```
47
+
48
+ This builds:
49
+ - **Backend**: Vite bundle → `dist/index.mjs`
50
+ - **Frontend**: Next.js static + server → `web/.next/`
51
+ - **Docs**: HTML files → `dist/docs/`
52
+
53
+ ### 5. Configure Environment (if needed)
54
+
55
+ Create `.env` file in the project root if you need custom settings:
56
+
57
+ ```bash
58
+ # Example (adjust as needed)
59
+ NODE_ENV=production
60
+ PORT=3000
61
+ ```
62
+
63
+ ### 6. Start the Application
64
+
65
+ In Plesk:
66
+ 1. Go back to **Node.js Applications**
67
+ 2. Find your application
68
+ 3. Click **Start** (or it may auto-start)
69
+
70
+ Alternatively, via SSH:
71
+
72
+ ```bash
73
+ npm start
74
+ ```
75
+
76
+ ### 7. Configure Reverse Proxy (Plesk)
77
+
78
+ Plesk automatically sets up a reverse proxy. Verify:
79
+ 1. Go to **Domains** → Your domain → **Web Server Settings**
80
+ 2. Ensure **Proxy** is enabled
81
+ 3. Verify the proxy points to the Node.js app port
82
+
83
+ ### 8. Verify Deployment
84
+
85
+ - Visit `https://yourdomain.com` → Should see the Next.js frontend
86
+ - Visit `https://yourdomain.com/docs` → Should see documentation
87
+ - Check browser console for any `_next/static` 500 errors
88
+
89
+ If you see 500 errors on `_next/static` requests:
90
+ - SSH to server and check logs: `tail -f /var/log/plesk/nodejs/yourdomain.com.log`
91
+ - Ensure `.next` directory exists: `ls -la web/.next/`
92
+ - Verify Node.js is running: `ps aux | grep node`
93
+
94
+ ### 9. Set Up Auto-Restart (Optional)
95
+
96
+ In Plesk, the Node.js app should auto-restart on failure. To verify:
97
+ 1. Go to **Node.js Applications**
98
+ 2. Check **Restart policy** is set to auto-restart
99
+
100
+ ### 10. Enable HTTPS (Recommended)
101
+
102
+ 1. Go to **Domains** → Your domain → **SSL/TLS Certificates**
103
+ 2. Click **Install** (use Let's Encrypt free certificate)
104
+ 3. Plesk auto-redirects HTTP → HTTPS
105
+
106
+ ## Troubleshooting
107
+
108
+ ### `_next/static` returns 500
109
+
110
+ **Cause**: Next.js build output not deployed or server crashed.
111
+
112
+ **Fix**:
113
+ ```bash
114
+ # SSH to server
115
+ npm run build --prefix web
116
+ npm start
117
+ # Check logs
118
+ tail -f /var/log/plesk/nodejs/yourdomain.com.log
119
+ ```
120
+
121
+ ### Application won't start
122
+
123
+ **Check**:
124
+ 1. Node.js version: `node --version` (must be 18+)
125
+ 2. Dependencies: `npm install`
126
+ 3. Build output: `ls -la dist/` and `ls -la web/.next/`
127
+ 4. Logs: Check Plesk control panel logs
128
+
129
+ ### Port conflicts
130
+
131
+ Plesk assigns ports automatically. If you get a port conflict:
132
+ 1. Go to **Node.js Applications** → Edit
133
+ 2. Let Plesk auto-assign a new port
134
+ 3. Restart the app
135
+
136
+ ## Updating the Application
137
+
138
+ To deploy a new version:
139
+
140
+ ```bash
141
+ cd /var/www/vhosts/yourdomain.com/dev-workflow-mcp-server
142
+ git pull origin main
143
+ npm install
144
+ npm run build
145
+ # Plesk will auto-restart the app
146
+ ```
147
+
148
+ Or manually restart in Plesk control panel:
149
+ 1. **Node.js Applications** → Select app → **Restart**
150
+
151
+ ## Production Checklist
152
+
153
+ - [ ] Node.js 18+ installed
154
+ - [ ] `npm install` completed
155
+ - [ ] `npm run build` succeeded (no errors)
156
+ - [ ] `.next` directory exists with static files
157
+ - [ ] HTTPS/SSL certificate installed
158
+ - [ ] Reverse proxy configured
159
+ - [ ] Application started and running
160
+ - [ ] `https://yourdomain.com` loads without 500 errors
161
+ - [ ] `_next/static` assets load correctly
162
+ - [ ] Logs show no errors
163
+
164
+ ## Support
165
+
166
+ For issues:
167
+ 1. Check Plesk logs: `/var/log/plesk/nodejs/`
168
+ 2. SSH and run `npm start` manually to see real-time errors
169
+ 3. Verify Node.js and npm versions
170
+ 4. Ensure all dependencies installed: `npm install`
@@ -0,0 +1,58 @@
1
+ # Workflow Best Practices
2
+
3
+ ## Correct Release Workflow Order
4
+
5
+ To avoid needing `--force` flag for releases, follow this exact order:
6
+
7
+ 1. **Start Task**: `mcp0_start_task`
8
+ 2. **Fix/Implement**: Make your code changes
9
+ 3. **Mark Fixed**: `mcp0_mark_bug_fixed`
10
+ 4. **Tests**: `mcp0_create_tests` + `mcp0_run_tests` (or `mcp0_skip_tests` with reason)
11
+ 5. **Documentation**: `mcp0_create_documentation`
12
+ 6. **Ready Check**: `mcp0_check_ready_to_commit`
13
+ 7. **Commit & Push**: `mcp0_commit_and_push`
14
+ 8. **Release**: `mcp0_perform_release` ⚠️ **MUST come BEFORE complete_task**
15
+ 9. **Complete**: `mcp0_complete_task`
16
+
17
+ ## Common Mistakes
18
+
19
+ ### ❌ Wrong Order (causes forced releases)
20
+ ```
21
+ check_ready → commit → complete → release // WRONG!
22
+ ```
23
+
24
+ ### ✅ Correct Order
25
+ ```
26
+ check_ready → commit → release → complete // CORRECT!
27
+ ```
28
+
29
+ ## Why This Matters
30
+
31
+ - `complete_task` **resets the workflow state**
32
+ - `perform_release` **checks the workflow state** before running
33
+ - If you complete before releasing, the state is cleared and release guards fail
34
+ - Using `--force` bypasses guards but doesn't fix the root cause
35
+
36
+ ## State Transitions
37
+
38
+ 1. After `commit_and_push`: `currentPhase = "release"`
39
+ 2. After `perform_release`: `currentPhase = "ready_to_complete"`, `released = true`
40
+ 3. After `complete_task`: State is reset to idle
41
+
42
+ ## Solution
43
+
44
+ Always call `perform_release` BEFORE `complete_task`. Never use `--force` unless absolutely necessary.
45
+
46
+ ## Documentation Phase Expectations
47
+
48
+ During the documentation step (`mcp0_create_documentation`), make sure the core project docs are created or updated as needed:
49
+
50
+ 1. `docs/product/PRD.md` – Product Requirements Document
51
+ 2. `README.md` – Project overview and usage
52
+ 3. `docs/release-notes/RELEASE_NOTES.md` – Release notes for changes in this task/version
53
+
54
+ If one or more of these files already exist, **update them** instead of creating new variants. Use the `documentationType` argument to reflect what you touched:
55
+
56
+ - `"PRD"` when you added/updated the PRD
57
+ - `"README"` when you updated the main README
58
+ - `"RELEASE_NOTES"` when you updated the release notes