summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authort <t@tjp.lol>2026-08-21 10:43:08 -0600
committert <t@tjp.lol>2026-08-21 10:44:33 -0600
commit2d4981b3870f2aee75d03006eea6318c501fe47b (patch)
treece0488e7100a5d096e91d490427590b03ef23afb /README.md
parent4183fdc7d3667fb4c2af72ff0098c15168c9e950 (diff)
Expose workflow status to other extensions
Diffstat (limited to 'README.md')
-rw-r--r--README.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/README.md b/README.md
index b462053..1cbf917 100644
--- a/README.md
+++ b/README.md
@@ -145,6 +145,11 @@ records through `subagents.workflows[id]`, including named child status and
outputs. Every `ctx:agent` needs a workflow-unique `name`, and the callback must
return the workflow's string result.
+The same read-only workflow records are exposed to other extensions as
+`panto.ext.workflows`. Extensions can iterate this table or look up an ID; each
+record has `id`, `status`, `result`, `error`, and `agents`, and a `status` of
+`running` identifies in-flight background work.
+
Inline `agents` remain scoped to workflows started by that tool call. The API
can await one job or a group and supports one-turn workers whose validated tool
input is their structured result. Persistent TOML workflows remain the simpler