@ulrichc1/sparn 1.2.2 → 1.4.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 (42) hide show
  1. package/PRIVACY.md +1 -1
  2. package/README.md +136 -642
  3. package/SECURITY.md +1 -1
  4. package/dist/cli/dashboard.cjs +3977 -0
  5. package/dist/cli/dashboard.cjs.map +1 -0
  6. package/dist/cli/dashboard.d.cts +17 -0
  7. package/dist/cli/dashboard.d.ts +17 -0
  8. package/dist/cli/dashboard.js +3932 -0
  9. package/dist/cli/dashboard.js.map +1 -0
  10. package/dist/cli/index.cjs +3853 -484
  11. package/dist/cli/index.cjs.map +1 -1
  12. package/dist/cli/index.js +3810 -457
  13. package/dist/cli/index.js.map +1 -1
  14. package/dist/daemon/index.cjs +411 -99
  15. package/dist/daemon/index.cjs.map +1 -1
  16. package/dist/daemon/index.js +423 -103
  17. package/dist/daemon/index.js.map +1 -1
  18. package/dist/hooks/post-tool-result.cjs +115 -266
  19. package/dist/hooks/post-tool-result.cjs.map +1 -1
  20. package/dist/hooks/post-tool-result.js +115 -266
  21. package/dist/hooks/post-tool-result.js.map +1 -1
  22. package/dist/hooks/pre-prompt.cjs +197 -268
  23. package/dist/hooks/pre-prompt.cjs.map +1 -1
  24. package/dist/hooks/pre-prompt.js +182 -268
  25. package/dist/hooks/pre-prompt.js.map +1 -1
  26. package/dist/hooks/stop-docs-refresh.cjs +123 -0
  27. package/dist/hooks/stop-docs-refresh.cjs.map +1 -0
  28. package/dist/hooks/stop-docs-refresh.d.cts +1 -0
  29. package/dist/hooks/stop-docs-refresh.d.ts +1 -0
  30. package/dist/hooks/stop-docs-refresh.js +126 -0
  31. package/dist/hooks/stop-docs-refresh.js.map +1 -0
  32. package/dist/index.cjs +1754 -337
  33. package/dist/index.cjs.map +1 -1
  34. package/dist/index.d.cts +539 -40
  35. package/dist/index.d.ts +539 -40
  36. package/dist/index.js +1737 -329
  37. package/dist/index.js.map +1 -1
  38. package/dist/mcp/index.cjs +304 -71
  39. package/dist/mcp/index.cjs.map +1 -1
  40. package/dist/mcp/index.js +308 -71
  41. package/dist/mcp/index.js.map +1 -1
  42. package/package.json +10 -3
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Sparn Dashboard — Persistent TUI with integrated command execution.
3
+ *
4
+ * 4 auto-refreshing monitoring panels + command input/output area.
5
+ * Vim-inspired `:` toggle between monitor mode and command mode.
6
+ *
7
+ * Keys (monitor mode): q=quit, Tab=cycle focus, arrows=scroll, :=command mode
8
+ * Keys (command mode): Escape=monitor mode, Enter=execute, arrows=scroll output
9
+ */
10
+ interface RenderDashboardOptions {
11
+ dbPath: string;
12
+ projectRoot: string;
13
+ refreshInterval?: number;
14
+ }
15
+ declare function renderDashboard(options: RenderDashboardOptions): void;
16
+
17
+ export { type RenderDashboardOptions, renderDashboard };
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Sparn Dashboard — Persistent TUI with integrated command execution.
3
+ *
4
+ * 4 auto-refreshing monitoring panels + command input/output area.
5
+ * Vim-inspired `:` toggle between monitor mode and command mode.
6
+ *
7
+ * Keys (monitor mode): q=quit, Tab=cycle focus, arrows=scroll, :=command mode
8
+ * Keys (command mode): Escape=monitor mode, Enter=execute, arrows=scroll output
9
+ */
10
+ interface RenderDashboardOptions {
11
+ dbPath: string;
12
+ projectRoot: string;
13
+ refreshInterval?: number;
14
+ }
15
+ declare function renderDashboard(options: RenderDashboardOptions): void;
16
+
17
+ export { type RenderDashboardOptions, renderDashboard };