Files
gabrielvidalandClaude Fable 5.2 b32458e821 feat(trackers): tasks leave the core for the tasks plugin — tool trackers, checklists
Generic points the plugin stands on (docs/plugins.md → "Trackers" → Tool
trackers, "Checklists"):
- trackers[]: tool-call rules — `tool` (a neutral tool name) + `ops` (create /
  update by id / whole-list snapshot, told apart by the input's field paths) +
  `statuses`; items gain `status` and `startedAt`, keep the list's order; the
  re-derive pass finds the transcripts by the tool's quoted names
  (toolnames.byte_hints), no PARSER_VERSION bump (48: the unshipped v49 goes)
- provides tasks.list: the completion scaffold reads the task list through
  trackers.provided; an older row's `tasks` is carried over until re-read
- ui.card[].list.style "checklist" (the ✓ done/total pill and its card),
  ui.panels[] (the floating checklist over the thread) and ui.toolCards[]
  naming a tracker (the calls' rows) — declared by the plugin, drawn by the
  app: Checklist.tsx (the old TaskPanel, moved), PluginPanels, trackerCards;
  the tool-card registry has an epoch so mounted rows follow a declared card

Removed from core: todo_op / _task_times and the summary's `tasks`, the card
field, the Task schema, the registered `todo` card (its bucket stays), the
taskPanel switch (a hidden one carries over to plugin:tasks:panel), their
i18n keys.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
2026-12-02 22:30:48 +01:00

49 lines
1.8 KiB
JSON

{
"schema": 1,
"id": "tasks",
"name": "Tasks",
"version": "1.0.0",
"description": "The task list a conversation keeps — a progress pill on its card, a checklist over its thread.",
"trackers": [
{
"id": "tasks",
"label": "Tasks",
"tool": "todo",
"ops": [
{"do": "snapshot", "items": "todos", "name": ["content", "activeForm"], "status": "status"},
{"do": "update", "id": ["taskId", "task_id"], "name": "subject", "status": "status"},
{"do": "create", "name": ["subject", "content"]}
],
"statuses": {"deleted": "cancelled"}
}
],
"provides": {"tasks.list": "tasks"},
"ui": {
"card": [
{
"id": "tasks", "place": "tags", "icon": "list-checks", "tone": "primary",
"list": {
"tracker": "tasks", "style": "checklist",
"title": "Tasks", "progress": "{done} of {total} tasks done",
"added": "added {when}", "started": "started {when}", "done": "done {when}",
"cancelled": "cancelled {when}", "took": "took {time}"
},
"vis": {"key": "pill", "label": "Tasks pill", "hint": "A conversation's task progress — the pill on its card and in its header"}
}
],
"panels": [
{
"id": "tasks", "tracker": "tasks", "title": "Tasks", "show": "Show tasks",
"vis": {"key": "panel", "label": "Task panel", "hint": "The floating task checklist over a conversation's thread"}
}
],
"toolCards": [
{
"id": "todo", "tracker": "tasks", "icon": "list-checks",
"create": "New task", "update": "Task", "snapshot": "Updated todos", "many": "{count} task updates",
"vis": {"key": "calls", "label": "Task calls", "hint": "The calls that keep the task list, as rows in the thread", "defaultOff": true}
}
]
}
}