summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)Author
2026-01-17Use semantic filenames for visual companion screensJesse Vincent
Server now watches directory for new .html files instead of a single screen file. Claude writes to semantically named files like platform.html, style.html, layout.html - each screen is a new file. Benefits: - No need to read before write (files are always new) - Semantic filenames describe what's on screen - History preserved in directory for debugging - Server serves newest file by mtime automatically Updated: index.js, start-server.sh, and all documentation.
2026-01-17refactor: simplify visual companion workflow, improve guidanceJesse Vincent
Scripts: - Rename show-and-wait.sh -> wait-for-feedback.sh (just waits, no HTML piping) - Remove wait-for-event.sh (used hanging tail -f) - Workflow now: Write tool for HTML, wait-for-feedback.sh to block Documentation rewrite: - Broader "when to use" (UI, architecture, complex choices, spatial) - Always ask user first before starting - Scale fidelity to the question being asked - Explain the question on each page - Iterate before moving on - validate changes address feedback - Use real content (Unsplash images) when it matters
2026-01-17feat: add show-and-wait.sh helper, fix race conditionJesse Vincent
- New show-and-wait.sh combines write + wait into one command - Uses polling instead of tail -f (which hangs on macOS) - Docs updated: start watcher BEFORE writing screen to avoid race - Reduces terminal noise by consolidating operations
2026-01-17fix: session isolation and blocking wait for visual companionJesse Vincent
- Each session gets unique temp directory (/tmp/brainstorm-{pid}-{timestamp}) - Server outputs screen_dir and screen_file in startup JSON - stop-server.sh takes screen_dir arg and cleans up session directory - Document blocking TaskOutput pattern: 10-min timeouts, retry up to 3x, then prompt user "let me know when you want to continue"
2026-01-17feat: add visual companion for brainstorming skillJesse Vincent
Adds browser-based mockup display to replace ASCII art during brainstorming sessions. Key components: - Frame template with OS-aware light/dark theming - CSS helpers for options, cards, mockups, split views - Server lifecycle scripts (start/stop with random high port) - Event watcher using tail+grep for feedback loop - Claude instructions for using the visual companion The skill now asks users if they want browser mockups and only runs in Claude Code environments.
2026-01-17feat: add sendToClaude helper and wait-for-event toolJesse Vincent
- Add sendToClaude() function to browser helper that shows confirmation - Add wait-for-event.sh script for watching server output (tail -f | grep -m 1) - Enables clean event-driven loop: background bash waits for event, completion triggers Claude's turn
2026-01-17fix: preserve original event type, use source field for wrapperJesse Vincent
2026-01-17fix: ensure user-event type is preserved in WebSocket message outputJesse Vincent
The spread operator order was causing incoming event types to overwrite the user-event type marker.
2026-01-17feat: add browser helper library for event captureJesse Vincent
2026-01-17feat: add brainstorm server foundationJesse Vincent
Create the initial server for the visual brainstorming companion: - Express server with WebSocket support for browser communication - File watcher (chokidar) to detect screen.html changes - Auto-injects helper.js into served HTML for event capture - Binds to localhost only (127.0.0.1) for security - Outputs JSON events to stdout for Claude consumption
2025-11-22refactor: convert skills-core and plugin to pure ESM for module compatibilityJesse Vincent
2025-11-22refactor: extract frontmatter stripping to shared helper functionJesse Vincent
2025-11-22feat: add git update checking to core moduleJesse Vincent
2025-11-22feat: add skill path resolution with shadowing supportJesse Vincent
2025-11-22feat: add skill discovery function to core moduleJesse Vincent
2025-11-22feat: create shared skills core module with frontmatter parserJesse Vincent
Extract frontmatter parsing logic into lib/skills-core.js to enable code reuse between Codex and OpenCode implementations.
2025-11-22Remove unused initialize-skills.sh scriptJesse Vincent
- Deleted lib/initialize-skills.sh (no longer called) - Removed permission entry from .claude/settings.local.json
2025-10-15Revert "Reapply "Move superpowers plugin into plugins/superpowers-bootstrap ↵Jesse Vincent
subdirectory"" This reverts commit 0fdea80a7d6b2e5d6b2d3e59ff2ca378ecd56cc0.
2025-10-15Reapply "Move superpowers plugin into plugins/superpowers-bootstrap ↵Jesse Vincent
subdirectory" This reverts commit d6ac9a8b5d5884413b194330653b6aa336d3c87a. turns out this worked. it's just that anthropic changed claude's startup hook output
2025-10-15Revert "Move superpowers plugin into plugins/superpowers-bootstrap subdirectory"Jesse Vincent
This reverts commit 809956f3bff3a9eb9891f08ce8dd41504e4a5af1.
2025-10-15Move superpowers plugin into plugins/superpowers-bootstrap subdirectoryJesse Vincent
This restructures the repo to support multiple plugins by moving the current plugin into a subdirectory. The plugin continues to be published as "superpowers" in the marketplace.
2025-10-12Fix false warning when local skills repo is ahead of upstreamJesse Vincent
The initialization script was incorrectly warning about upstream updates when the local repository was ahead of upstream. This happened because the logic didn't distinguish between three states: - Local behind: LOCAL=BASE, REMOTE≠BASE → should update or warn - Local ahead: LOCAL≠BASE, REMOTE=BASE → no warning needed - Diverged: LOCAL≠BASE, REMOTE≠BASE → should warn Changed the else clause to only set SKILLS_BEHIND when REMOTE≠BASE, which correctly handles all three scenarios. Fixes the issue reported in #8 where users with local commits ahead of upstream were seeing spurious "new skills available" warnings.
2025-10-11Fix skills auto-update to fetch from tracking branchJesse Vincent
Determine and fetch from the current branch's tracking remote instead of hardcoding upstream/origin. This ensures the correct remote is updated regardless of fork/upstream setup. Fixes issue where auto-update wasn't fetching on session start.
2025-10-11Make skills auto-update verbose for debuggingJesse Vincent
2025-10-11Auto-update skills repo with fast-forward merge on session startJesse Vincent
2025-10-11Fix duplicate upstream remote addition when forkingJesse Vincent
2025-10-11Add skills repository initialization scriptJesse Vincent