Address Copilot code review feedback

- Fix browser leak in render_url_to_pdf (try/finally around Playwright)
- Remove setup.sh references from SKILL.md (not bundled in plugin)
- Use consistent <path-to>/eyeball.py paths in SKILL.md
- Update plugin README install instructions for awesome-copilot
- Add Windows pywin32 install step to SKILL.md

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
dvelton
2026-04-04 18:06:59 -07:00
parent 4626aaf948
commit 2c24c55f0e
3 changed files with 37 additions and 52 deletions

View File

@@ -22,44 +22,25 @@ If the analysis says "Section 9.3 allows termination for cause with a 30-day cur
### Install the plugin
Point your CLI at this repo and ask it to install the plugin for you, with this prompt:
Install via the Copilot CLI plugin system. In a Copilot CLI conversation:
```
Install the plugin at github.com/dvelton/eyeball for me.
```
Or:
Install via the Copilot CLI plugin system, or clone the repo:
```bash
git clone https://github.com/dvelton/eyeball.git
install the eyeball plugin from github/awesome-copilot
```
### Install dependencies
**macOS / Linux:**
```bash
cd eyeball
bash setup.sh
```
**Windows (PowerShell):**
```powershell
cd eyeball
.\setup.ps1
```
**Manual install (any platform):**
After installing the plugin, install the Python dependencies:
```bash
pip install pymupdf pillow python-docx playwright
python -m playwright install chromium
```
On Windows, `pywin32` is also needed for Microsoft Word automation and is installed automatically by the setup script.
On Windows, also install pywin32 for Word automation:
```bash
pip install pywin32
```
### Verify setup