← Catalog

@mortenmo/vegvisir-pi

Vegvísir extension for pi.dev coding agent

Package

Install

Install with PiG

pig install npm:@mortenmo/vegvisir-pi

Install with Pi

pi install npm:@mortenmo/vegvisir-pi
Review before installing

Packages 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 pi coding 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. /reload re-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. /reload is fine for skills, prompts, and themes.


Registered Tools

ToolParametersDescription
searchpattern, and?, not?, within?, path?, after? (4), before? (1), mode?Search codebase with boolean filters, returning <site handle="..."> blocks.
definitionsymbolOrSiteId, path?Extract complete definition body for a class, function, interface, or site handle.
lspath?, recursive?Metadata-bearing directory listing.
readpath, offset?, limit?Read file lines (capped at 2k lines / 50 KB). Returns <file handle="...">.
edithandle?, path?, edits?, handles?, newText?Apply scoped exact replacements or multi-site handle sweeps. Returns next fresh handle.
writehandle?, path?, contentCreate 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.