Skip to main content

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

  • tl mem extract <id> --phase brainstorm — slice out the discussion portion of a session (between task.py create and task.py start). Multi-task sessions are separated with --- task: <slug> ---. --phase implement is the inverse; --phase all is the default full dump.
    tl mem extract <id> --phase brainstorm
    tl mem extract <id> --phase brainstorm --json
    tl mem extract <id> --phase implement
    
    Supported on Claude and Codex. OpenCode falls back to full dialogue.
  • tl mem is 5-9× faster.
    commandbeforeafter
    mem list3.5s0.67s
    mem list --platform codex3.2s0.33s
    mem extract --phase brainstorm5.8s0.73s

Bug Fixes

  • OpenCode 1.2+ users no longer see 0 sessions from tl mem. OpenCode 1.2 moved session storage to SQLite; the old reader was looking at a now-empty JSON directory, so anyone on a recent OpenCode couldn’t use tl mem at all. Fixed. OpenCode 1.1.x is no longer supported.
  • --phase parser handles $(... --slug NAME) substitution, multiple task.py invocations per Bash command, and task.py start quoted literally inside commit-message heredocs.

Other Platforms

Claude Code, Cursor, Kiro, CodeBuddy, Droid, Gemini, Qoder, Copilot — unchanged.

Upgrade

npm install -g @mindfoldhq/trellis@beta
trellis update

New dependency

Adds better-sqlite3 for OpenCode. Standard npm install handles it via prebuilt binaries. If the native binding fails to load, tl mem still works on other platforms; OpenCode reads return empty with a one-time stderr hint.