VS Code, Cursor and Open VSX editors (Shield KYA extension)

The vscode/ folder of this repo is a VS Code extension, Shield KYA. It shows what kya recorded for every coding-agent tool call, inside the editor. It works in VS Code 1.101+ and in forks that install extensions from Open VSX, such as Cursor.

It is a viewer and a launcher, not a gate. Local kya is advisory: it records every tool call, blocks the never-list and the guard pack and fails open (an error lets the call through). Enforcement (fail-closed hooks, Hold tickets, approvals) is the hosted product.

Install

Install Shield KYA from the VS Code Marketplace (code --install-extension shield-agent.shield-kya). The Open VSX listing is pending: Eclipse must verify the shield-agent namespace first. Until then, Cursor and other Open VSX editors need the .vsix that you build from source:

git clone https://github.com/The-Pixel-Boys/shield-kya && cd shield-kya/vscode
pnpm install --frozen-lockfile && pnpm package
code --install-extension dist/shield-kya.vsix      # Cursor: cursor --install-extension dist/shield-kya.vsix

It needs an installed kya (npm i -g @shield-agent/kya, Node.js 24+). kya start wires your agent hooks and starts the record (trail).

What you get

Security model

Known limits