@faviovazquez/deliberate 0.2.7 → 0.2.9
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 +14 -0
- package/CHANGELOG.md +13 -0
- package/README.md +43 -0
- package/SKILL.md +35 -4
- package/package.json +1 -1
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,19 @@ 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.9] - 2026-04-04
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
- `README.md`: Added local install path examples for `start-server.sh` / `stop-server.sh` under "Starting and stopping the server" — covers Claude Code global/local, Windsurf global/local, and Cursor local install paths.
|
|
12
|
+
- `SKILL.md`: Step 5 now always offers the visual companion before starting the deliberation, even when `--visual` was not passed. Mirrors the behavior already present in BRAINSTORM.md Phase 2. The offer is a standalone message; the user can accept (y) or decline (N/Enter).
|
|
13
|
+
|
|
14
|
+
## [0.2.8] - 2026-04-04
|
|
15
|
+
|
|
16
|
+
### Added
|
|
17
|
+
- `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.
|
|
18
|
+
- `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.
|
|
19
|
+
- `BRAINSTORM.md`: Added **Phase 12 — Visual Companion Shutdown**, identical logic to SKILL.md Step 12, triggered after Phase 11 user approval.
|
|
20
|
+
|
|
8
21
|
## [0.2.7] - 2026-04-04
|
|
9
22
|
|
|
10
23
|
### Fixed
|
package/README.md
CHANGED
|
@@ -479,6 +479,49 @@ 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
|
+
**Claude Code — global install:**
|
|
496
|
+
```bash
|
|
497
|
+
bash ~/.claude/skills/deliberate/scripts/start-server.sh --project-dir .
|
|
498
|
+
bash ~/.claude/skills/deliberate/scripts/stop-server.sh
|
|
499
|
+
```
|
|
500
|
+
|
|
501
|
+
**Claude Code — local install:**
|
|
502
|
+
```bash
|
|
503
|
+
bash .claude/skills/deliberate/scripts/start-server.sh --project-dir .
|
|
504
|
+
bash .claude/skills/deliberate/scripts/stop-server.sh
|
|
505
|
+
```
|
|
506
|
+
|
|
507
|
+
**Windsurf — global install:**
|
|
508
|
+
```bash
|
|
509
|
+
bash ~/.codeium/windsurf/skills/deliberate/scripts/start-server.sh --project-dir .
|
|
510
|
+
bash ~/.codeium/windsurf/skills/deliberate/scripts/stop-server.sh
|
|
511
|
+
```
|
|
512
|
+
|
|
513
|
+
**Windsurf — local install:**
|
|
514
|
+
```bash
|
|
515
|
+
bash .windsurf/skills/deliberate/scripts/start-server.sh --project-dir .
|
|
516
|
+
bash .windsurf/skills/deliberate/scripts/stop-server.sh
|
|
517
|
+
```
|
|
518
|
+
|
|
519
|
+
**Cursor — local install:**
|
|
520
|
+
```bash
|
|
521
|
+
bash .cursor/skills/deliberate/scripts/start-server.sh --project-dir .
|
|
522
|
+
bash .cursor/skills/deliberate/scripts/stop-server.sh
|
|
523
|
+
```
|
|
524
|
+
|
|
482
525
|
---
|
|
483
526
|
|
|
484
527
|
## Platforms
|
package/SKILL.md
CHANGED
|
@@ -207,12 +207,29 @@ Use the resolved model map from Step 0.5 (Claude Code) or the active context mod
|
|
|
207
207
|
- `model_tier` in agent frontmatter is treated as metadata only — no model switching occurs
|
|
208
208
|
- No model selection prompt is shown
|
|
209
209
|
|
|
210
|
-
### Step 5: Visual Companion
|
|
210
|
+
### Step 5: Visual Companion Offer
|
|
211
211
|
|
|
212
|
-
If `--visual` flag is set,
|
|
213
|
-
|
|
212
|
+
If `--visual` flag is set, skip directly to launching the server (step 5c below).
|
|
213
|
+
|
|
214
|
+
Otherwise, **always offer the visual companion** before starting the deliberation:
|
|
215
|
+
|
|
216
|
+
```
|
|
217
|
+
Would you like to follow the deliberation in real time in your browser?
|
|
218
|
+
The visual companion shows agent positions, agreement/disagreement maps,
|
|
219
|
+
and verdict formation as it happens. (Requires opening a local URL)
|
|
220
|
+
|
|
221
|
+
Open visual companion? (y/N)
|
|
222
|
+
```
|
|
223
|
+
|
|
224
|
+
**This offer MUST be its own message.** Wait for the user's response before continuing.
|
|
225
|
+
|
|
226
|
+
- If **yes**: proceed to launch (5c)
|
|
227
|
+
- If **no** or Enter: proceed without visual companion
|
|
228
|
+
|
|
229
|
+
**5c — Launch:**
|
|
230
|
+
1. Run `scripts/start-server.sh --project-dir {project_root}`
|
|
214
231
|
2. Save `screen_dir` and `state_dir` from the response
|
|
215
|
-
3. Tell user to open the URL
|
|
232
|
+
3. Tell the user to open the URL
|
|
216
233
|
4. Visual companion will be updated after each round
|
|
217
234
|
|
|
218
235
|
### Step 6: Round 1 -- Independent Analysis
|
|
@@ -342,6 +359,20 @@ Save the full deliberation record to `deliberations/YYYY-MM-DD-HH-MM-{mode}-{slu
|
|
|
342
359
|
|
|
343
360
|
If visual companion is active, push the verdict formation view to the browser.
|
|
344
361
|
|
|
362
|
+
### Step 12: Visual Companion Shutdown (if active)
|
|
363
|
+
|
|
364
|
+
If the visual companion server was started during this session, ask the user:
|
|
365
|
+
|
|
366
|
+
```
|
|
367
|
+
The visual companion server is still running at http://localhost:{port}.
|
|
368
|
+
Stop it now? (Y/n)
|
|
369
|
+
```
|
|
370
|
+
|
|
371
|
+
- If **Y** or Enter: run `scripts/stop-server.sh` to shut it down cleanly.
|
|
372
|
+
- If **N**: leave it running. Remind the user it will auto-shutdown after 30 minutes of inactivity.
|
|
373
|
+
|
|
374
|
+
If the visual companion was NOT active during this session, skip this step.
|
|
375
|
+
|
|
345
376
|
---
|
|
346
377
|
|
|
347
378
|
## Quick Mode Execution
|