@arnilo/prism-ponytail
v0.3.1
Published
Ponytail behavior integration for Prism.
Readme
@arnilo/prism-ponytail
Optional Ponytail behavior integration for Prism (0.0.23).
Importing is inert: no skills, commands, timers, or network until the host loads the extension via kernel.load([createPonytailExtension(...)]).
Requirements
- Optional peer
@dietrichgebert/ponytail@^4.9.0, or host-suppliedupstreamPathto a Ponytail checkout withskills/andhooks/. - Session callbacks (
appendEntry,getEntries) for mode persistence — same pattern as observational memoryattach. - Peer
@arnilo/[email protected].
Quick start
import { createPonytailExtension } from "@arnilo/prism-ponytail";
import { createExtensionKernel, createLoadSkillTool, createLoadedSkillSet, createSkillRegistry } from "@arnilo/prism";
const ponytail = createPonytailExtension({
upstreamPath: undefined, // resolves optional peer when installed
defaultMode: "full",
quietStartup: true,
appendEntry: (entry, options) => store.append(entry, options),
getEntries: () => session.entries(),
});
await kernel.load([ponytail]);Commands: ponytail (empty/status report mode; lite|full|ultra|off; default <mode>), ponytail-review, ponytail-audit, ponytail-gain, ponytail-debt, ponytail-help.
Mode persists as session custom { type: "ponytail-mode", mode }. Active mode injects upstream getPonytailInstructions via ponytail-mode instruction injector. stop ponytail / normal mode deactivate without erasing history.
Full API docs: docs/ponytail.md. Demo: node examples/caveman-ponytail.ts.
