@monopi/extension-answer
Monopi answer pi extension.
Package details
Install @monopi/extension-answer from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@monopi/extension-answer- Package
@monopi/extension-answer- Version
0.6.1- Published
- Aug 28, 2026
- Downloads
- 282/mo · 26/wk
- Author
- ifiokjr
- License
- MIT AND Apache-2.0
- Types
- extension
- Size
- 22 KB
- Dependencies
- 1 dependency · 5 peers
Pi manifest JSON
{
"extensions": [
"./index.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
@monopi/extension-answer
Standalone pi extension package for answering questions extracted from the last assistant response.
pi install npm:@monopi/extension-answer
Commands
/answer: extract questions from the last completed assistant message and answer them in the Q&A overlay./answer auto: toggle automatic question detection after assistant turns.
The extension uses @monopi/shared-qna for the interactive Q&A UI. It accepts both Monopi's JSON-array extraction format and the upstream object-shaped { "questions": [...] } format, and prefers a configured fast extraction model when one is available.
Attribution
This package keeps the Monopi Q&A UI flow while incorporating extraction-model selection and JSON repair ideas from mitsuhiko/agent-stuff extensions/answer.ts.
Those adapted ideas are Copyright Armin Ronacher and contributors and licensed under Apache-2.0.
Monopi package metadata and surrounding repository files remain MIT licensed.