@hyperprior/pi-browser

Lightweight browser helper tools

Package details

extension

Install @hyperprior/pi-browser from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@hyperprior/pi-browser
Package
@hyperprior/pi-browser
Version
0.1.0
Published
Feb 16, 2026
Downloads
14/mo · 5/wk
Author
hyperprior
License
MIT
Types
extension
Size
12.7 KB
Dependencies
1 dependency · 4 peers
Pi manifest JSON
{
  "extensions": [
    "./extensions"
  ]
}

Security note

Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.

README

@hyperprior/pi-browser

Lightweight page fetch + extraction helper (hyperpi_browser).

Installation

pi install npm:@hyperprior/pi-browser

Features

  • open / navigate: fetch a URL and cache extracted page data
  • snapshot: render a concise page summary from the cached result
  • extract: return extracted readable text content
  • links: list links from the active page
  • close: clear active session cache

Parameters

  • action: open | navigate | snapshot | extract | links | close
  • url: target URL (required for open/navigate, optional if session exists)
  • timeout: request timeout in ms
  • include_meta: include metadata in open/snapshot responses
  • include_text: include extracted text in snapshot
  • max_links: max links for links

Notes

This is a minimal browser-style plugin built for deterministic command-line workflows and does not launch a headful browser process.

All packages in this monorepo are namespaced under @hyperprior and built to be loaded as individual pi packages.