20 Commits

Author SHA1 Message Date
Michael Ramos 3fdb35d80d fix: honor CLAUDE_CONFIG_DIR in install scripts (#137)
Install scripts now check for the CLAUDE_CONFIG_DIR environment
variable when determining where to place the slash command file.
Falls back to the default ~/.claude/ when unset.

Closes #136

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-10 09:13:38 -08:00
Michael Ramos 813d41ddb2 fix: clean up old Windows install locations from bash script
Windows users running the bash script (via Git Bash/MSYS) may have old
binaries at different locations. Now cleans up both:
- $USERPROFILE/.local/bin/plannotator* (old bash location)
- $LOCALAPPDATA/plannotator/plannotator.exe (PowerShell location)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-20 16:09:19 -08:00
Michael Ramos 2b9bb37eb7 fix: explicitly delete old binary before install
Helps Windows users running bash script who were stuck on old versions.
The mv command may not overwrite properly on Windows due to file locking
or .exe extension mismatch.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-20 16:06:53 -08:00
Michael Ramos 0802102b2c fix: clean up old Windows install locations (#101)
Users with older installations at ~/.local/bin had PATH conflicts
where the old binary took precedence over the new install location.

Now removes plannotator from old locations before installing.

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-20 16:01:56 -08:00
Michael Ramos 49c6575370 fix: restore both cache paths in install.sh
Keep clearing both ~/.cache/opencode and ~/.bun/install/cache paths
to match Windows behavior (belt and suspenders).

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-15 10:13:26 -08:00
Michael Ramos b1883d38e8 fix(opencode): include HTML files in npm package
The `files` array in package.json was missing plannotator.html and
review-editor.html, causing them to be omitted from npm publishes.
This explains why users were stuck on old versions.

Also fixes incorrect cache path in docs and install script.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-15 10:04:26 -08:00
stranger2904 fb59c14b43 fix: respect XDG environment variables in install script (#73) 2026-01-14 06:13:34 -08:00
Michael Ramos 8108546c10 chore: simplify install scripts
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-13 14:56:44 -08:00
Malik Tafheem 01ee1be666 fix(installer): handle byte array response in Windows PowerShell 5.1 (#65)
In Windows PowerShell 5.1, Invoke-WebRequest returns .Content as a byte
array (System.Byte[]) for non-HTML responses, not a string. This causes
the installer to fail with:

  Method invocation failed because [System.Byte] does not contain a
  method named 'Split'.

This fix:
- Adds -UseBasicParsing to avoid security warning prompts
- Detects if Content is byte[] and converts to string using UTF8 encoding
- Maintains compatibility with PowerShell 7+ where Content is already a string

Fixes installation on Windows PowerShell 5.1 (the default on Windows 10/11).

Co-authored-by: Tafheem Malik <maliktafheem@yvp5c.onmicrosoft.com>
2026-01-13 14:38:54 -08:00
Michael Ramos c58439bf82 fix: use win32 platform name in Windows install script
GitHub releases use win32-x64, not windows-x64

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-13 05:11:54 -08:00
Michael Ramos 4d2481e812 fix: rebuild with correct version embedded in bundle
0.5.4 was published with stale build containing 0.5.2 version string

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-13 04:57:14 -08:00
Michael Ramos f5f59a3d34 fix: add OpenCode cache clearing to Windows install script
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-13 04:47:36 -08:00
Michael Ramos 806e5536d6 feat: unified install script for all platforms
- Add Windows PowerShell install script (install.ps1)
- Install slash commands for both Claude Code and OpenCode
- Update OpenCode README with install script instructions
- Simplify UpdateBanner to use same install command for both platforms

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-13 04:45:51 -08:00
Michael Ramos 0a909fa6ca fix: add restart note to install script and symlink for deploys
- Add "after you restart Claude Code" to /plannotator-review message
- Symlink install scripts to marketing/public for automatic deploys

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-12 20:00:00 -08:00
Michael Ramos 8019f73a44 Feat/code review system (#57)
## Summary
Complete code review system for reviewing git diffs with annotations.

### Features
- Interactive diff viewer with split/unified views
- Line-level annotation system
- Diff type selector (uncommitted, last commit, vs main branch)
- Dynamic default branch detection
- Empty state handling
- Simplified UX with streamlined feedback flow

Closes #51
Closes #56
2026-01-12 19:36:09 -08:00
Michael Ramos cb8d293f8a Update install script to clear both OpenCode caches
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-06 15:17:47 -08:00
Michael Ramos 7a7e98b55b Add Linux ARM64 binary to release workflow 2026-01-05 09:06:57 -08:00
Michael Ramos 33ecca3c19 Add prominent OpenCode notice to install script
OpenCode users were running the Claude Code install script and getting
confused. Added a clear banner at the end directing them to use the
npm plugin instead.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-03 13:33:14 -08:00
Michael Ramos 804f5c603c Update install scripts with test command and plugin instructions
- Remove incorrect --help reference
- Add test command to verify installation
- Add Claude Code plugin installation instructions
- Update all platforms (bash, PowerShell, CMD)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-28 16:16:30 -08:00
Michael Ramos 042403a6a8 Switch to install script distribution, add CI/CD
- Remove npm package distribution
- Add install.sh/ps1/cmd scripts for binary installation
- Update release workflow for GitHub Releases
- Add deploy workflow for marketing + portal sites
- Remove Landing from editor (now editor-only)
- Update Landing: GitHub/Install links, Open Demo button

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-28 14:44:54 -08:00