← Catalog

@pi-in-go/pigpen-tintinweb-tasks

Go port of @tintinweb/pi-tasks: Claude Code-style task tracking for PiG (seven task tools, /tasks, a live widget, reminders, and task execution through @tintinweb/pi-subagents)

ExtensionPigpen

Install

Install with PiG

pig install npm:@pi-in-go/pigpen-tintinweb-tasks
Review before installing

Packages 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. This one is published by the PiG project from the Pigpen repository; that is not a verification claim.

Pi manifest JSON

The pi field of package.json.

{
  "extensions": [
    "extensions/tintinweb-tasks"
  ]
}

README

Written by the package's publisher, shown as published in version 0.2.1 (README.md). PiG does not review it.

tintinweb-tasks (Go port of @tintinweb/pi-tasks)

A Go extension for PiG that brings Claude Code-style task tracking to the agent: seven tools the model calls to plan and run multi-step work, a /tasks menu, a live task list above the editor, periodic reminders when the list goes stale, and (with tintinweb-subagents) task execution by background subagents. It is a port of @tintinweb/pi-tasks 0.9.0 by tintinweb (see CREDITS.md), made with the extension porting Skill. It needs no Node runtime, and starts no process and makes no network call at start-up.

● 4 tasks (1 done, 1 in progress, 2 open)
  ✔ #1 Design the flux capacitor
  ✳ #2 Acquiring plutonium… (2m 49s · ↑ 4.1k ↓ 1.2k)
  ◻ #3 Install flux capacitor in DeLorean › blocked by #1
  ◻ #4 Test time travel at 88 mph › blocked by #2, #3

Install

pig install ./components/tintinweb-tasks

Or take the pig-essentials Piglet, which selects it.

Tools

TaskCreate, TaskList, TaskGet, TaskUpdate (status, fields, metadata, addBlocks and addBlockedBy with warnings for cycles, self-dependencies and unknown ids), TaskOutput, TaskStop and TaskExecute. Their descriptions and schemas are the original's. A finished list is retired when the next batch of work starts, and completed tasks are cleared a few turns after the list is done (autoClearCompleted).

Storage and configuration

Each key of taskScope (memory, session (default), session-global, project) and the PI_TASKS override (off, a list name under ~/.pi/tasks/, an absolute path, or a path relative to the workspace) behave as in the original; shared lists use a lock file with stale-lock detection. Settings live in <agent dir>/tasks-config.json (global) and <workspace>/.pi/tasks-config.json (project overrides, written by /tasks → Settings): taskScope, autoCascade, autoClearCompleted, collapseCompleted, showAll, maxVisible, sortOrder (a preset or a sort spec), hiddenAt and glyphs. Configuration is data, never code.

Differences from the original

  • The widget is a lines view. The original registers a component the host draws every frame. The Go SDK has no widget factory, so the port sends the same rows as a kit view (the kit form of the factory): Pi's rule that a component widget is not cut at ten rows holds, so maxVisible can be anything (the Settings panel offers 5 to 100, as the original does). The rows are laid out at the terminal's width and sent again on every change, on the spinner's 150 ms tick and when the terminal is resized. In RPC mode the rows are not sent at all, as Pi's RPC mode drops a component widget.
  • Agent directory. <agent dir> is PiG's (PIG_CODING_AGENT_DIR, else <PIG_HOME or ~/.pig>/agent; PIG_USE_PI_DIRS=1 selects Pi's), not Pi's fixed ~/.pi/agent. It holds tasks-config.json and the session-global lists. This is PiG's identity rule (divergence D2: PiG keeps its own state apart from Pi's), and the owner decided on 2026-10-20 that the global tasks config and the session-global lists use it. Nothing is read from or copied out of ~/.pi/agent: a Pi user who wants the same files copies tasks-config.json and tasks/sessions/ into PiG's agent directory, or runs PiG with PIG_USE_PI_DIRS=1. Named lists (PI_TASKS=<name>) stay under ~/.pi/tasks/, as in the original (it reads them from the home directory, not from its agent directory).
  • Pinging pi-subagents. The original pings while it loads. Here the ping waits for the first session_start (the SDK cannot emit on the event bus before the extension is connected, and a ping sent right after connecting deadlocked the host when pi-subagents is built into the same Binary), and is repeated on the subagents:ready broadcast and when TaskExecute runs without having found it. The protocol (version 2) is unchanged.
  • Key order. Metadata is printed and stored as JSON.stringify does (array-index keys first in numeric order, numbers as JavaScript writes them), but the other keys come out in byte order, not in the order the model wrote them: the SDK hands a tool its arguments as a Go map. /tasks → Settings writes tasks-config.json with sorted keys for the same reason.
  • Create task sends the original's two input prompts with an empty placeholder (the SDK's Input always sends one); nothing is shown differently in the terminal.

The proof that it matches the original is in port/PORT.md.