Install
Install with PiG
pig install npm:@thgilciffart/pi-ephemeralInstall with Pi
pi install npm:@thgilciffart/pi-ephemeralPackages 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.
{
"extensions": [
"./src/index.ts"
]
}README
Written by the package's publisher, shown as published in version 0.1.1 (README.md). PiG does not review it.
pi-ephemeral
Ephemeral chats for the Pi coding agent: /ephemeral starts a new chat that is never written to disk.
Install
pi install npm:@thgilciffart/pi-ephemeral
Run /reload in an open Pi session.
Start a chat
/ephemeral
/ephemeral Explain this function
Confirm the dialog to start a new chat. An optional prompt is sent after the extension verifies that persistence is disabled. Your previous saved chat remains on disk.
The footer shows ◌ ephemeral. Running /ephemeral again reports that the chat is already ephemeral. /new keeps the in-memory mode, and /resume can open a saved chat. Creating an ephemeral chat requires an interactive UI.
Ephemeral chats do not appear in /resume, and /session shows In-memory. Their conversation history is lost when Pi exits. The conversation still goes to your configured model provider. Tools can still write files, and commands such as /export and /share can save or upload content.
Compatibility
The extension changes internal SessionManager persistence fields before the new chat receives a message. It then verifies that isPersisted() is false and getSessionFile() is undefined. If verification fails, it reports that the new chat will be saved and does not send the optional prompt.
Develop
bun install
./scripts/link-pi-types.sh
bun run typecheck
bun test
pi -e ./src/index.ts
The linking script supplies types from your installed Pi packages.