diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..243824a --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,17 @@ +# Changelog + +All notable changes to **Poly for VS Code / Cursor** (`ritualdev-lab.vscode-poly`) are documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/). + +## [Unreleased] + +### Added +- Embedded animated extension workflow preview (`media/demo.gif`) in `README.md`. +- Editor right-click context menu actions for manifest files (`poly.toml`, `package.json`, `pyproject.toml`, `Cargo.toml`, `go.mod`). +- Keyboard shortcuts (`Ctrl+Alt+P A`, `Ctrl+Alt+P F`, `Ctrl+Alt+P V`, `Ctrl+Alt+P I` / `Cmd+Alt+P ...` on macOS). + +## [0.6.2] - 2026-11-24 + +### Added +- Synchronized extension version with `@ritualdev-lab/poly` CLI v0.6.2, PURL dependency tree, OSV vulnerability scanning, and Open VSX publishing. diff --git a/README.md b/README.md index 44077f0..60be7e8 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,8 @@ The official **Visual Studio Code extension** for **[Poly](https://github.com/RitualDev-Lab/poly)** — The Universal Polyglot CLI Package & Dependency Orchestrator for Node.js, Python, Rust, and Go. +![Poly VS Code Extension Demo](media/demo.gif) + --- ## Features @@ -40,6 +42,17 @@ The official **Visual Studio Code extension** for **[Poly](https://github.com/Ri --- +## Keyboard Shortcuts & Editor Context Actions + +Right-click inside `poly.toml`, `package.json`, `pyproject.toml`, `Cargo.toml`, or `go.mod` to run **Audit Security Vulnerabilities (OSV)**, **Install & Sync Dependencies**, or **Verify `poly.lock` Integrity** directly: + +| Action | Windows / Linux | macOS | +|---|---|---| +| Audit Security Vulnerabilities (OSV) | `Ctrl+Alt+P A` | `Cmd+Alt+P A` | +| Auto-Heal Vulnerabilities (`poly fix`) | `Ctrl+Alt+P F` | `Cmd+Alt+P F` | +| Verify `poly.lock` Integrity | `Ctrl+Alt+P V` | `Cmd+Alt+P V` | +| Install & Sync Dependencies | `Ctrl+Alt+P I` | `Cmd+Alt+P I` | + ## Extension Settings This extension contributes the following settings: diff --git a/media/demo.gif b/media/demo.gif new file mode 100644 index 0000000..8f45d69 Binary files /dev/null and b/media/demo.gif differ diff --git a/package.json b/package.json index a51ebfb..89c49b0 100644 --- a/package.json +++ b/package.json @@ -132,6 +132,23 @@ } ], "menus": { + "editor/context": [ + { + "command": "poly.audit", + "when": "editorTextFocus && resourceFilename =~ /^(poly\\.toml|package\\.json|pyproject\\.toml|Cargo\\.toml|go\\.mod)$/", + "group": "poly@1" + }, + { + "command": "poly.verifyLock", + "when": "editorTextFocus", + "group": "poly@2" + }, + { + "command": "poly.install", + "when": "editorTextFocus && resourceFilename =~ /^(poly\\.toml|package\\.json|pyproject\\.toml|Cargo\\.toml|go\\.mod)$/", + "group": "poly@3" + } + ], "view/title": [ { "command": "poly.refresh", @@ -150,6 +167,28 @@ } ] }, + "keybindings": [ + { + "command": "poly.audit", + "key": "ctrl+alt+p a", + "mac": "cmd+alt+p a" + }, + { + "command": "poly.fix", + "key": "ctrl+alt+p f", + "mac": "cmd+alt+p f" + }, + { + "command": "poly.verifyLock", + "key": "ctrl+alt+p v", + "mac": "cmd+alt+p v" + }, + { + "command": "poly.install", + "key": "ctrl+alt+p i", + "mac": "cmd+alt+p i" + } + ], "configuration": { "title": "Poly Orchestrator", "properties": {