@agimon-ai/doompi-author

Visual steering workspace for focused document review and bounded authoring

Packages

Package details

extension

Install @agimon-ai/doompi-author from npm and Pi will load the resources declared by the package manifest.

$ pi install npm:@agimon-ai/doompi-author
Package
@agimon-ai/doompi-author
Version
0.0.1-alpha.14
Published
Sep 18, 2026
Downloads
801/mo · 597/wk
Author
agiflow-ai
License
MIT
Types
extension
Size
1,020.3 KB
Dependencies
11 dependencies · 1 peer
Pi manifest JSON
{
  "extensions": [
    "./dist/extensions/pi.mjs"
  ]
}

Security note

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

README

@agimon-ai/doompi-author

Private, optional DoomPi minor mode for focused document review and bounded visual authoring.

Behavior

Author is a session-scoped minor mode. Its three tools remain registered for the life of the extension but are active only while Author mode is active:

  • open_authoring_file validates a relative repository path and opens a focused document tab without writing the file.
  • describe_author_tools returns the current viewport capability catalog and its server-issued token.
  • use_author_tools invokes one named capability with exactly the arguments accepted by its advertised schema.

Catalog tokens rotate whenever viewport capabilities change. Viewport document content is treated as untrusted data and never as agent instructions.

The package declares session API, cockpit client, and web hub entries. Its bridge brokers live viewport capabilities through an ownership lease and rejects stale bindings. Without the host session API socket and token, catalog operations fail as unavailable.

Public API

import { activateAuthorExtension } from '@agimon-ai/doompi-author/extensions/pi';
import {
  createAuthorCatalog,
  DescribeAuthorToolsInputSchema,
  UseAuthorToolInputSchema,
} from '@agimon-ai/doompi-author';

The Pi host entry is available at @agimon-ai/doompi-author/extensions/pi.

Development

pnpm fixcode
pnpm typecheck
pnpm test
pnpm build

Plugin lifecycle

Author uses the shared plugin lifecycle contract. Pi and server entries compose shared tool and command declarations; controllers own Author behavior, and the helpers own registration and disposal. Minor-mode entry and exit are independent of plugin mounting.