@programinglive/dev-workflow-mcp-server 1.5.1 → 1.5.2

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 (78) hide show
  1. package/.agent/workflows/dev-workflow-bugfix.md +250 -250
  2. package/.agent/workflows/dev-workflow-feature.md +201 -201
  3. package/.agent/workflows/dev-workflow-full-cycle.md +400 -400
  4. package/.agent/workflows/dev-workflow-refactor.md +238 -238
  5. package/.github/ISSUE_TEMPLATE/bug_report.md +34 -34
  6. package/.github/ISSUE_TEMPLATE/feature_request.md +25 -25
  7. package/.github/pull_request_template.md +22 -22
  8. package/.github/workflows/npm-publish.yml +50 -50
  9. package/.husky/commit-msg +0 -0
  10. package/CHANGELOG.md +749 -739
  11. package/CODE_OF_CONDUCT.md +79 -79
  12. package/CONTRIBUTING.md +60 -60
  13. package/LICENSE +21 -21
  14. package/README.md +632 -632
  15. package/SECURITY.md +20 -20
  16. package/db/index.js +204 -204
  17. package/docs/NETLIFY_DEPLOYMENT.md +125 -125
  18. package/docs/PLESK_DEPLOYMENT.md +170 -170
  19. package/docs/WORKFLOW-BEST-PRACTICES.md +58 -58
  20. package/docs/antigravity/EXAMPLES.md +535 -535
  21. package/docs/antigravity/GETTING-STARTED.md +292 -292
  22. package/docs/antigravity/TROUBLESHOOTING.md +742 -742
  23. package/docs/antigravity/WALKTHROUGH.md +25 -25
  24. package/docs/antigravity/WORKFLOW-TEMPLATES.md +670 -670
  25. package/docs/product/PRD.md +67 -67
  26. package/docs/release-notes/RELEASE_NOTES.md +226 -226
  27. package/docs/web-dashboard.md +175 -175
  28. package/exec.js +49 -49
  29. package/index.js +279 -279
  30. package/install.js +73 -73
  31. package/package.json +4 -4
  32. package/release-wrapper.js +192 -192
  33. package/scripts/build-docs.js +63 -63
  34. package/scripts/hello-world.js +1 -1
  35. package/scripts/release.cjs +252 -252
  36. package/scripts/update-release-notes.cjs +178 -178
  37. package/server.json +23 -23
  38. package/tailwind.config.js +8 -8
  39. package/tests/build.test.js +83 -91
  40. package/tests/exec.test.js +35 -35
  41. package/tests/handlers.test.js +1058 -1058
  42. package/tests/hello-world.test.js +13 -13
  43. package/tests/mcpRegistry.test.js +65 -65
  44. package/tests/release-wrapper.test.js +107 -107
  45. package/tests/workflowState.test.js +505 -505
  46. package/tools/definitions.js +332 -332
  47. package/tools/handlers.js +1019 -1019
  48. package/vite.config.js +43 -43
  49. package/vite.web.config.js +23 -23
  50. package/web/README.md +36 -36
  51. package/web/app/docs/page.tsx +202 -202
  52. package/web/app/globals.css +90 -90
  53. package/web/app/layout.tsx +36 -36
  54. package/web/app/page.tsx +15 -15
  55. package/web/components/ApiReference.tsx +20 -20
  56. package/web/components/Features.tsx +61 -61
  57. package/web/components/Footer.tsx +9 -9
  58. package/web/components/Hero.tsx +96 -97
  59. package/web/components/History.tsx +143 -143
  60. package/web/components/Navbar.tsx +64 -64
  61. package/web/components/Terminal.tsx +114 -114
  62. package/web/eslint.config.mjs +18 -18
  63. package/web/lib/db.js +131 -131
  64. package/web/lib/docs.js +73 -73
  65. package/web/netlify.toml +3 -6
  66. package/web/next.config.ts +12 -7
  67. package/web/package-lock.json +6560 -6560
  68. package/web/package.json +28 -28
  69. package/web/postcss.config.mjs +9 -9
  70. package/web/server.js +31 -31
  71. package/web/tailwind.config.ts +19 -19
  72. package/web/tsconfig.json +42 -42
  73. package/workflow-state.js +612 -612
  74. package/web/app/api/docs/route.ts +0 -32
  75. package/web/app/api/history/route.ts +0 -12
  76. package/web/app/api/npm-downloads/route.ts +0 -21
  77. package/web/app/api/summary/route.ts +0 -13
  78. package/web/app/api/version/route.ts +0 -8
@@ -1,35 +1,35 @@
1
- import { test } from 'node:test';
2
- import assert from 'node:assert';
3
- import { exec } from '../exec.js';
4
- import { tmpdir } from 'os';
5
- import { mkdtemp, rm } from 'fs/promises';
6
- import path from 'path';
7
-
8
- test('exec runs commands successfully', async () => {
9
- const echoCommand = process.platform === 'win32' ? 'echo hello world' : 'echo "hello world"';
10
- const { stdout } = await exec(echoCommand);
11
- const normalized = stdout.trim().replace(/^"(.*)"$/, '$1');
12
- assert.strictEqual(normalized, 'hello world');
13
- });
14
-
15
- test('exec respects explicit cwd option', async () => {
16
- const tempDir = await mkdtemp(path.join(tmpdir(), 'mcp-test-'));
17
-
18
- try {
19
- const dirCommand = process.platform === 'win32' ? 'cd' : 'pwd';
20
- const { stdout } = await exec(dirCommand, { cwd: tempDir });
21
- // Just verify it runs in the specified directory (path may vary by platform)
22
- assert(stdout.trim().toLowerCase().includes('mcp-test-'));
23
- } finally {
24
- await rm(tempDir, { recursive: true, force: true });
25
- }
26
- });
27
-
28
- test('exec handles command errors', async () => {
29
- try {
30
- await exec('command-that-does-not-exist');
31
- assert.fail('Should have thrown an error');
32
- } catch (error) {
33
- assert(error.code !== undefined || error.message.includes('command-not-found'));
34
- }
35
- });
1
+ import { test } from 'node:test';
2
+ import assert from 'node:assert';
3
+ import { exec } from '../exec.js';
4
+ import { tmpdir } from 'os';
5
+ import { mkdtemp, rm } from 'fs/promises';
6
+ import path from 'path';
7
+
8
+ test('exec runs commands successfully', async () => {
9
+ const echoCommand = process.platform === 'win32' ? 'echo hello world' : 'echo "hello world"';
10
+ const { stdout } = await exec(echoCommand);
11
+ const normalized = stdout.trim().replace(/^"(.*)"$/, '$1');
12
+ assert.strictEqual(normalized, 'hello world');
13
+ });
14
+
15
+ test('exec respects explicit cwd option', async () => {
16
+ const tempDir = await mkdtemp(path.join(tmpdir(), 'mcp-test-'));
17
+
18
+ try {
19
+ const dirCommand = process.platform === 'win32' ? 'cd' : 'pwd';
20
+ const { stdout } = await exec(dirCommand, { cwd: tempDir });
21
+ // Just verify it runs in the specified directory (path may vary by platform)
22
+ assert(stdout.trim().toLowerCase().includes('mcp-test-'));
23
+ } finally {
24
+ await rm(tempDir, { recursive: true, force: true });
25
+ }
26
+ });
27
+
28
+ test('exec handles command errors', async () => {
29
+ try {
30
+ await exec('command-that-does-not-exist');
31
+ assert.fail('Should have thrown an error');
32
+ } catch (error) {
33
+ assert(error.code !== undefined || error.message.includes('command-not-found'));
34
+ }
35
+ });