@faviovazquez/deliberate 0.2.7 → 0.2.8

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/BRAINSTORM.md CHANGED
@@ -293,6 +293,20 @@ If you want changes, tell me what to adjust.
293
293
 
294
294
  **Only proceed to implementation after explicit user approval.**
295
295
 
296
+ ### Phase 12: Visual Companion Shutdown (if active)
297
+
298
+ If the visual companion server was started during this session, ask the user after they approve or conclude the brainstorm:
299
+
300
+ ```
301
+ The visual companion server is still running at http://localhost:{port}.
302
+ Stop it now? (Y/n)
303
+ ```
304
+
305
+ - If **Y** or Enter: run `scripts/stop-server.sh` to shut it down cleanly.
306
+ - If **N**: leave it running. Remind the user it will auto-shutdown after 30 minutes of inactivity.
307
+
308
+ If the visual companion was NOT active during this session, skip this phase.
309
+
296
310
  ---
297
311
 
298
312
  ## Visual Companion in Brainstorm Mode
package/CHANGELOG.md CHANGED
@@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [0.2.8] - 2026-04-04
9
+
10
+ ### Added
11
+ - `README.md`: Expanded Visual Companion section with a dedicated "Starting and stopping the server" subsection — explains that the coordinator starts the server automatically, documents the shutdown prompt shown at the end of each session, the 30-minute auto-shutdown, and manual `start-server.sh` / `stop-server.sh` commands for both Claude Code and Windsurf install paths.
12
+ - `SKILL.md`: Added **Step 12 — Visual Companion Shutdown**. After saving output, the coordinator asks the user whether to stop the server (`Y/n`). If yes, runs `scripts/stop-server.sh`. If no, reminds user of the 30-minute auto-shutdown. Skipped if visual companion was not active.
13
+ - `BRAINSTORM.md`: Added **Phase 12 — Visual Companion Shutdown**, identical logic to SKILL.md Step 12, triggered after Phase 11 user approval.
14
+
8
15
  ## [0.2.7] - 2026-04-04
9
16
 
10
17
  ### Fixed
package/README.md CHANGED
@@ -479,6 +479,33 @@ It provides:
479
479
 
480
480
  Built with plain HTML + JS + Canvas 2D. No framework, no build step. Served locally via a lightweight Node.js file-watcher server.
481
481
 
482
+ ### Starting and stopping the server
483
+
484
+ The coordinator starts the server automatically when `--visual` is active. You do not need to start it manually. When your deliberation or brainstorm ends, the coordinator will ask you:
485
+
486
+ ```
487
+ The visual companion server is still running at http://localhost:{port}.
488
+ Stop it now? (Y/n)
489
+ ```
490
+
491
+ If you say yes (or press Enter), it runs `scripts/stop-server.sh` to shut it down cleanly. If you say no, the server keeps running — useful if you want to review the session in the browser after the deliberation ends. **It will auto-shutdown after 30 minutes of inactivity regardless.**
492
+
493
+ If you ever need to manage the server manually:
494
+
495
+ ```bash
496
+ # Start the server (from your project root)
497
+ bash ~/.claude/skills/deliberate/scripts/start-server.sh --project-dir .
498
+
499
+ # Stop the server
500
+ bash ~/.claude/skills/deliberate/scripts/stop-server.sh
501
+ ```
502
+
503
+ For Windsurf:
504
+ ```bash
505
+ bash ~/.codeium/windsurf/skills/deliberate/scripts/start-server.sh --project-dir .
506
+ bash ~/.codeium/windsurf/skills/deliberate/scripts/stop-server.sh
507
+ ```
508
+
482
509
  ---
483
510
 
484
511
  ## Platforms
package/SKILL.md CHANGED
@@ -342,6 +342,20 @@ Save the full deliberation record to `deliberations/YYYY-MM-DD-HH-MM-{mode}-{slu
342
342
 
343
343
  If visual companion is active, push the verdict formation view to the browser.
344
344
 
345
+ ### Step 12: Visual Companion Shutdown (if active)
346
+
347
+ If the visual companion server was started during this session, ask the user:
348
+
349
+ ```
350
+ The visual companion server is still running at http://localhost:{port}.
351
+ Stop it now? (Y/n)
352
+ ```
353
+
354
+ - If **Y** or Enter: run `scripts/stop-server.sh` to shut it down cleanly.
355
+ - If **N**: leave it running. Remind the user it will auto-shutdown after 30 minutes of inactivity.
356
+
357
+ If the visual companion was NOT active during this session, skip this step.
358
+
345
359
  ---
346
360
 
347
361
  ## Quick Mode Execution
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faviovazquez/deliberate",
3
- "version": "0.2.7",
3
+ "version": "0.2.8",
4
4
  "description": "Multi-agent deliberation skill for AI coding assistants. Agreement is a bug.",
5
5
  "license": "MIT",
6
6
  "author": "Favio Vazquez",