pi-constell-tasks
Companion pi extension for native workspace tasks, manual /tasks control, and cross-instance implementation pickup.
Package details
Install pi-constell-tasks from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:pi-constell-tasks- Package
pi-constell-tasks- Version
0.1.0- Published
- Apr 14, 2026
- Downloads
- 121/mo · 3/wk
- Author
- tridha643
- License
- ISC
- Types
- extension
- Size
- 58.5 KB
- Dependencies
- 0 dependencies · 5 peers
Pi manifest JSON
{
"extensions": [
"./extensions/pi-constell-tasks.ts"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
pi-constell-tasks
pi-constell-tasks is the implementation-time companion to pi-constell-plan.
It owns the native Task* tools, /tasks, shared task-store status, and startup-time context injection that lets a separate pi instance pick up a stored plan handoff from the same workspace.
Features
- Exposes
TaskCreate,TaskList,TaskGet,TaskUpdate,TaskOutput,TaskStop, andTaskExecutein normal mode. - Adds
/tasksas the manual TUI task surface. - Reads
~/.pi/<workspaceId>/tasks/handoff.jsonto inject the stored plan reference on startup. - Reads the shared workspace task graph from
~/.pi/<workspaceId>/tasks/tasks.jsonby default. - Supports
workspace,session, andmemorytask scopes plusautoCascadeandautoClearCompletedsettings. - Uses lock files with stale-lock recovery for file-backed task stores.
Install
pi install npm:pi-constell-tasks
Use it together with the planner package when you want cross-instance pickup:
pi install npm:pi-constell-plan
pi install npm:pi-constell-tasks
Workflow
- Use
pi-constell-planin one pi instance to create and save a plan. - That save seeds
handoff.jsonand, when the shared task graph is still empty,tasks.json. - Start another pi instance with
pi-constell-tasksin the same worktree. - The task extension injects the stored plan reference plus current task summary, and
/tasksandTask*tools are immediately available.
Notes
- File-backed
workspacescope is the supported handoff mode across pi instances. sessionandmemoryscopes are local convenience modes and are not durable handoff paths.- If the stored
planPathis missing, the extension still injects the reference and asks the agent to read the path directly if available.