Skip to content

feat: Windows support & interactive REPL with image attachment#1

Open
cysics wants to merge 5 commits intoprofessional-ALFIE:mainfrom
cysics:feat/windows-interactive-repl
Open

feat: Windows support & interactive REPL with image attachment#1
cysics wants to merge 5 commits intoprofessional-ALFIE:mainfrom
cysics:feat/windows-interactive-repl

Conversation

@cysics
Copy link
Copy Markdown

@cysics cysics commented Mar 11, 2026

This PR adds Windows platform support and an interactive REPL mode with clipboard image
attachment capability.

What's Changed

Windows Support

  • PowerShell installer (install.ps1) for one-line Windows setup
  • Executable discovery for Cursor, Windsurf, and VS Code on Windows paths
  • Best-effort window minimize when launching a new workspace window
  • Path normalization — case-insensitive, slash-agnostic workspace matching

Interactive REPL Mode

  • New -i / --interactive flag for multi-turn conversations
  • Alt+V to paste clipboard images inline (saved as temp PNG)
  • Extension attachment bridge + /attachments/send route for image delivery
  • Polling-based conversation wait with attachment support in exec

Other Improvements

  • Spinner retry/backoff logic (configurable attempts, delay, multiplier)
  • Model alias resolution for convenient short names

Test Plan

  • install.ps1 installs correctly on a clean Windows machine
  • antigravity -i enters interactive REPL; multi-turn works
  • Alt+V pastes clipboard image and attaches it to the conversation
  • Path matching works on Windows (mixed case, backslash vs forward slash)
  • npm test — all new and updated tests pass

Commits

Commit Scope
feat: add Windows support install.ps1, discovery, auto-launch, root-mode
feat: add interactive REPL with clipboard image attachment interactive, clipboard-image,
attachment-bridge, exec
feat: enhance spinner with retry logic and add model alias resolution spinner,
model-resolver
test: add and update tests clipboard-image, interactive-attachments, spinner, help-surface,
phase10
docs: update README Windows install, REPL usage

cysics and others added 5 commits March 11, 2026 19:36
- Add install.ps1 PowerShell installer for Windows
- Add Windows executable discovery (Cursor, Windsurf, VS Code paths)
- Add best-effort window minimize on new workspace launch (Windows)
- Normalize path comparison (case-insensitive, slash-agnostic) for workspace matching

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add interactive REPL mode (-i/--interactive) for multi-turn conversations
- Add Alt+V clipboard image paste support (PNG temp file)
- Add attachment bridge in extension for image delivery via API
- Add /attachments/send route for extension-CLI image transfer
- Enhance exec command with polling-based conversation wait and attachment support

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add retry/backoff support to spinner (configurable attempts, delay, backoff)
- Add model alias resolution for convenient short names
- Update package.json dependencies

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…ures

- Add clipboard-image unit tests (temp file creation, cleanup)
- Add interactive-attachments integration tests
- Add spinner retry/backoff tests
- Update help-surface tests for new --interactive option
- Update phase10 tests with Windows platform guards

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add Windows PowerShell installation instructions
- Add interactive REPL mode examples and Alt+V image paste docs
- Note Windows best-effort auto-minimize behavior

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant