specsmd 0.1.65 → 0.1.68

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.
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # specs.md
1
+ # specs.md - by fabriqa
2
2
 
3
3
  <p align="center">
4
4
  <img src="images/specs_md_pixel_logo.png" alt="specs.md logo" width="400" />
@@ -89,9 +89,9 @@ During installation, select your flow:
89
89
 
90
90
  The installer detects your AI coding tools and sets up agent definitions, slash commands, and project structure for your selected flow.
91
91
 
92
- ### Live Dashboard (FIRE)
92
+ ### Dashboard Web
93
93
 
94
- Track FIRE state continuously from terminal:
94
+ Track specsmd flow state from a local browser dashboard:
95
95
 
96
96
  ```bash
97
97
  npx specsmd@latest dashboard
@@ -100,8 +100,15 @@ npx specsmd@latest dashboard
100
100
  Useful options:
101
101
 
102
102
  ```bash
103
- npx specsmd@latest dashboard --flow fire --path . --refresh-ms 1000
104
- npx specsmd@latest dashboard --no-watch
103
+ npx specsmd@latest dashboard --flow fire --path . --no-open
104
+ npx specsmd@latest dashboard --host 127.0.0.1 --port 4317
105
+ ```
106
+
107
+ Prefer the terminal dashboard?
108
+
109
+ ```bash
110
+ npx specsmd@latest dashboard-cli
111
+ npx specsmd@latest dashboard-cli --flow fire --path . --refresh-ms 1000
105
112
  ```
106
113
 
107
114
  ### Install VS Code Extension (Optional)
package/bin/cli.js CHANGED
@@ -3,6 +3,7 @@
3
3
  const { program } = require('commander');
4
4
  const installer = require('../lib/installer');
5
5
  const dashboard = require('../lib/dashboard');
6
+ const dashboardWeb = require('../lib/dashboard/web/server');
6
7
  const packageJson = require('../package.json');
7
8
 
8
9
  program
@@ -21,7 +22,19 @@ program
21
22
 
22
23
  program
23
24
  .command('dashboard')
24
- .description('Live terminal dashboard for flow state (FIRE first)')
25
+ .description('Local web dashboard for flow state')
26
+ .option('--flow <flow>', 'Flow to inspect (fire|aidlc|simple), default auto-detect')
27
+ .option('--path <dir>', 'Workspace path', process.cwd())
28
+ .option('--host <host>', 'Host to bind (default: 127.0.0.1)', '127.0.0.1')
29
+ .option('--port <n>', 'Port to bind (default: random available port)', '0')
30
+ .option('--refresh-ms <n>', 'Fallback refresh interval in milliseconds (reserved for compatibility)', '1000')
31
+ .option('--no-watch', 'Disable file watching')
32
+ .option('--no-open', 'Do not open the dashboard in a browser automatically')
33
+ .action((options) => dashboardWeb.run(options));
34
+
35
+ program
36
+ .command('dashboard-cli')
37
+ .description('Live terminal dashboard for flow state')
25
38
  .option('--flow <flow>', 'Flow to inspect (fire|aidlc|simple), default auto-detect')
26
39
  .option('--path <dir>', 'Workspace path', process.cwd())
27
40
  .option('--worktree <nameOrPath>', 'Initial git worktree (branch name, worktree name, id, or absolute path)')