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.

Adds trellis channel, a CLI runtime for coordinating worker agents through a shared event log.

Enhancements

Trellis Channel

trellis channel manages collaboration sessions, messages, worker processes, waits, cleanup, and one-shot runs.
CommandBehavior
trellis channel create <name>Creates a channel session.
trellis channel send <name>Writes a message event.
trellis channel wait <name>Blocks until matching events arrive.
trellis channel spawn <name>Starts a Claude or Codex worker.
trellis channel run [name]Creates an ephemeral channel, runs one worker, prints the final answer, and cleans up.
trellis channel list / messages / kill / rm / pruneInspect, terminate, remove, and clean channel state.

Channel adapters

Claude and Codex worker output is normalized into channel events.
AdapterSource protocolEvent output
packages/cli/src/commands/channel/adapters/claude.tsClaude stream-jsonmessage, progress, done, error
packages/cli/src/commands/channel/adapters/codex.tsCodex app-server JSON-RPCmessage, progress, done, error

Channel store

Channel events are written to project-scoped JSONL logs with locked sequence assignment.
PathPurpose
~/.trellis/channels/<project>/<channel>/events.jsonlChannel event stream.
packages/cli/src/commands/channel/store/events.tsAppend-only event writes and seq assignment.
packages/cli/src/commands/channel/store/paths.tsProject bucket selection and legacy channel relocation.

Internal

Channel supervisor modules

Channel runtime internals are split into adapter parsing, event storage, inbox polling, stdout pumping, and shutdown control under packages/cli/src/commands/channel/.

Upgrade

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