Install
Install with PiG
pig install npm:@mortenmo/vegvisir-piInstall with Pi
pi install npm:@mortenmo/vegvisir-piPackages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.
Pi manifest JSON
The pi field of package.json.
{
"extensions": [
"./vegvisir.js"
]
}README
Written by the package's publisher, shown as published in version 0.7.1 (README.md). PiG does not review it.
@mortenmo/vegvisir-pi
Vegvísir find/read/write extension for the
picoding agent.
Installation
Project-local or CLI
# Test extension directly
pi -e ./packages/pi
# Install package
pi install ./packages/pi
From npm (when published)
pi install npm:@mortenmo/vegvisir-pi
Development
pnpm -r run build # rebuild packages/core and packages/pi into dist/
pnpm test # run the full test suite
After changing extension/tool code, restart the session with
/new./reloadre-imports the extension module but does not re-bind the tool executors the running conversation is already using, so the old behavior persists until you restart./reloadis fine for skills, prompts, and themes.
Registered Tools
| Tool | Parameters | Description |
|---|---|---|
search | pattern, and?, not?, within?, path?, after? (4), before? (1), mode? | Search codebase with boolean filters, returning <site handle="..."> blocks. |
definition | symbolOrSiteId, path? | Extract complete definition body for a class, function, interface, or site handle. |
ls | path?, recursive? | Metadata-bearing directory listing. |
read | path, offset?, limit? | Read file lines (capped at 2k lines / 50 KB). Returns <file handle="...">. |
edit | handle?, path?, edits?, handles?, newText? | Apply scoped exact replacements or multi-site handle sweeps. Returns next fresh handle. |
write | handle?, path?, content | Create new files or overwrite existing files (verified via handle). Returns next fresh handle. |
System Prompt
The extension injects its toolbelt guidelines into Pi's system prompt automatically
via before_agent_start (see src/prompt.ts). No manual configuration is needed.