repositories / pi-ext

pi-ext

bugabingas pi extensions

owned by bugabinga

extensions/super/README.md

Raw

super

Task branches and curated Super skills for Pi.

Install / load

Loaded through the root pi-ext package.

Commands / tools / settings

Commands:

Tools:

Hooks:

Renderers:

Settings: none.

Behavior

Task prompts are stored as session entries. push-task updates task status and notifies the UI after storing a task. The extension uses Pi session-tree navigation to isolate work and return results. Finishing a task attaches the last assistant response as a task-result entry. Aborting a task abandons the branch and leaves the task pending. Discarding a task removes the pending task without starting a branch. /auto waits for idle, starts pending tasks, finishes current tasks, and stops when there is no task work left. If /auto starts with no pending tasks, it notifies that there is nothing to run. mockup serves content from memory on 127.0.0.1 and stores no project files. It rejects full HTML documents in options[].html with an agent-facing fix message. It returns action, selected, notes, and annotations. It also ships skills from extensions/super/skills through Pi package resources.

Markdown source
File outline
# super

Task branches and curated Super skills for Pi.

## Install / load

Loaded through the root [pi-ext package](../../README.md).

## Commands / tools / settings

Commands:

- `/start-task` starts the active pending task in a fresh branch.
- `/discard-task` drops the active pending task.
- `/finish-task` returns from a task branch with the last assistant result.
- `/abort-task` abandons the current task branch without a summary.
- `/auto` runs pending task branches until no task work remains.

Tools:

- `push-task` stores a focused task prompt for isolated execution.
  - `prompt`: task prompt to store.
  - `inherit_context`: marks the task as inheriting context.
- `mockup` opens HTML-fragment mockup options in a browser and blocks until browser feedback returns.
  - `title`: browser page title.
  - `question`: visual question for the human.
  - `options`: one to four `{ id, label, description?, html }` fragments.
  - `multi`: allow multiple selected options.

Hooks:

- `session_start`, `turn_end`, and `session_tree` update task status.
- `session_shutdown` stops `/auto`.

Renderers:

- `task-result` renders a finished task result entry.

Settings: none.

## Behavior

Task prompts are stored as session entries.
`push-task` updates task status and notifies the UI after storing a task.
The extension uses Pi session-tree navigation to isolate work and return
results.
Finishing a task attaches the last assistant response as a `task-result` entry.
Aborting a task abandons the branch and leaves the task pending.
Discarding a task removes the pending task without starting a branch.
`/auto` waits for idle, starts pending tasks, finishes current tasks, and stops
when there is no task work left.
If `/auto` starts with no pending tasks, it notifies that there is nothing to
run.
`mockup` serves content from memory on `127.0.0.1` and stores no project files.
It rejects full HTML documents in `options[].html` with an agent-facing fix message.
It returns `action`, `selected`, `notes`, and `annotations`.
It also ships skills from `extensions/super/skills` through Pi package resources.