Install
Install with PiG
pig install npm:pi-stretchtextInstall with Pi
pi install npm:pi-stretchtextPackages 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.
{
"image": "https://raw.githubusercontent.com/MonadicMike/pi-stretchtext/master/docs/demo.gif",
"extensions": [
"./index.ts"
]
}README
Written by the package's publisher, shown as published in version 0.1.0 (README.md). PiG does not review it.
pi-stretchtext
Stretchtext replies for Pi: the model answers in one to three short sentences, and the phrases that hold more open in place into longer text, which may hold further phrases to open.

Install
pi install npm:pi-stretchtext
Or from git: pi install git:github.com/MonadicMike/pi-stretchtext.
Set up
Clicking a stretch needs Pi's fullscreen TUI mode. It is Pi's default; if you switched to regular mode, turn it back on in any of these ways:
- in Pi, open
/settingsand set the TUI mode tofullscreen, - or in
~/.pi/agent/settings.jsonset"tuiMode": "fullscreen", - or start Pi with
pi --tui-mode fullscreen.
In regular mode the keyboard shortcuts below still work.
Use
| Action | Fullscreen | Any mode |
|---|---|---|
| Open a stretch | click its underlined short form | alt+o, then its letter |
| Close a stretch | click the « after it | alt+c, then its letter |
License
MIT. Based on cc-stretch by pro-vi, also MIT.