Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pi-lifecycle

A pi extension that records lifecycle events into the active session as custom metadata entries. These enteries aren't sent to the LLM, and just serve as a record of the session's lifecycle events.

Install

pi install git:github.com/quincycs/pi-lifecycle

What it records

The extension appends pi-lifecycle custom entries for:

  • session_start
  • agent_start
  • agent_end (recorded after agent_settled)
  • session_shutdown

Each entry includes state (idle or busy), timestamp, process id, and related metadata such as run id, session/shutdown reason, and elapsed time.

Package layout

This repository is a pi package. Its package.json declares:

{
  "pi": {
    "extensions": ["./extensions"]
  }
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages