feat: add Windows and Linux terminal support#569
Open
frosty-geek wants to merge 7 commits into
Open
Conversation
## Fixes - Resolve lockfile path to `.beastmode/.beastmode-watch.lock` instead of `cli/.beastmode-watch.lock` - Update `.gitignore` entry to match new lockfile path ## Docs - Update lockfile path references in orchestration and CLI context docs ## Artifacts - Design: .beastmode/artifacts/design/2026-04-12-lockfile-path-fix-dcd0.md - Plan: .beastmode/artifacts/plan/2026-04-12-lockfile-path-fix-dcd0--lockfile-path-fix.1.md - Release: .beastmode/artifacts/release/2026-04-12-lockfile-path-fix-dcd0.md Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add TerminalSessionFactory for Windows Terminal (wt) and GNOME Terminal - Extract shared file-watcher logic to session-watcher.ts - Fix proc.kill() calls to use no-arg form (SIGTERM unsupported on Windows) - Guard SIGTERM listener behind platform check in watch-loop - Fix --version/-v flag parsing in args.ts (was rejected before index.ts switch) - npx installer: support win32/linux platforms (bun install, prereq checks) - npx installer: create beastmode.cmd in npm bin dir on Windows - npx installer: fix plugin marketplace source type (directory, not npm) - npx installer: place marketplace.json in .claude-plugin/ subdir - npx installer: use Windows junctions for plugin/ symlink (no admin rights) - npx installer: print error message on install failure - Tests: add Windows/Linux variants for bun-installer and prereqs Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
4 tasks
…dCommand to avoid quoting issues
…ions for new plugin layout
… to source-layout (plugin/)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
TerminalSessionFactoryfor Windows and Linux: dispatches phases to Windows Terminal (wt new-tab) or GNOME Terminal (gnome-terminal --tab), falling back toxterm; completion detected via existing file-based.output.jsonmarkerssession-watcher.ts: shared file-watcher logic split out ofit2.tsso bothITermSessionFactoryandTerminalSessionFactoryuse the same completion detectionproc.kill("SIGINT")→proc.kill()infactory.tsandcompact.ts;SIGTERMlistener guarded byprocess.platform !== "win32"inwatch-loop.ts--versionflag parsing:args.tsrejected--version/-vbeforeindex.tsswitch could handle themwherevscommand -vfor prereqs,beastmode.cmdwrapper dropped directly in npm bin dir (bun shim dir not in PATH when bun is npm-installed)source: "directory"instead of unimplemented"npm",marketplace.jsonplaced in.claude-plugin/subdir, Windows directory junction forplugin/link (no admin rights required), error message printed on install failurebun-installerandprereqs; "rejects non-macOS" replaced with "rejects unsupported platforms"Test plan
npx beastmode installon Windows — plugin loads in Claude Code (/reload-plugins= 1 plugin, 17 agents)beastmode helpworks viabeastmode.cmdwrapper in npm bin dirbeastmode --versionno longer exits 1TerminalSessionFactoryon Windows Terminal — dispatch opens tabs, phases completeTerminalSessionFactoryon GNOME Terminal — dispatch opens tabs, phases completeSupersedes the npx fixes from #558 and extends them with Windows-specific adaptations.
Generated with Claude Code