Documentation Index
Fetch the complete documentation index at: https://docs.trytrellis.app/llms.txt
Use this file to discover all available pages before exploring further.
Enhancements
Workflow templates
Workflow templates 现在可以在trellis init 时选择,也可以之后用 trellis workflow 切换。
- Init flags:
--workflow,--workflow-source - Command:
trellis workflow - Built-in templates:
native,tdd,channel-driven-subagent-dispatch - Marketplace resolver:
workflow-resolver.ts - Active file:
.trellis/workflow.md
Channel worker coordination
Channel workers 现在支持 timeout warning 控制和多 kind wait 过滤。- Wait filter:
trellis channel wait --kind done,killed - Warning event:
supervisor_warning - Spawn flag:
trellis channel spawn --warn-before <duration> - Disable warning:
--warn-before 0ms - Default warning lead time:
5m
Worker inbox core API
@mindfoldhq/trellis-core/channel 现在导出 durable worker inbox 的 read 和 watch API。
- Read API:
readWorkerInbox() - Watch API:
watchWorkerInbox() - Error class:
WorkerInboxError - Routing SOT:
matchesInboxPolicy() - Generation boundary: same-id respawns 不会 replay old worker messages
Bug Fixes
Cursor sessionStart hook
CursorsessionStart 输出现在符合 Cursor 的 top-level context schema。
- Output field:
additional_context - Shared format retained:
hookSpecificOutput.additionalContext - Removed unsupported Cursor hook:
beforeSubmitPrompt - Removed copied Cursor file:
.cursor/hooks/inject-workflow-state.py