pi-constell-tasks
v0.1.0
Published
Companion pi extension for native workspace tasks, manual /tasks control, and cross-instance implementation pickup.
Maintainers
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-tasksUse it together with the planner package when you want cross-instance pickup:
pi install npm:pi-constell-plan
pi install npm:pi-constell-tasksWorkflow
- 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.
