Skip to main content
Adds trellis upgrade and carries stable-line context fixes into the 0.6 beta track.

Enhancements

Trellis Upgrade

trellis upgrade installs the npm channel that matches the current CLI version. Update hints now point at trellis upgrade instead of raw npm install -g commands.

Brainstorm Templates

Bundled brainstorm instructions are shorter and match the beta.8 planning artifact flow.

Bug Fixes

Upgrade Execution

The upgrade command validates tag/version input, avoids shell interpolation on POSIX, uses cmd.exe /d /s /c on Windows, and prints npm/PATH troubleshooting when installation fails.

OpenCode Context Prefix

OpenCode now picks the TRELLIS_CONTEXT_ID prefix for the shell dialect that will parse the command.

Session Context

Non-Git Trellis roots no longer report fake clean Git state. Session context now states that the root is not a Git repository and scans bounded child repositories for unconfigured polyrepo layouts.

OpenCode Sub-Agent Context

Trellis implement/check/research child sessions skip duplicate workflow-state injection and resolve the active task from session runtime, an Active task: prompt hint, or a single-session fallback.

Hook Timeouts And Copilot

Hook defaults now allow 30s for SessionStart and 15s for per-prompt workflow injection across hook-based platforms. Copilot SessionStart output no longer emits the stale systemMessage; it keeps hookSpecificOutput.additionalContext.

Internal

Manifest Continuity

The beta line restores 0.5.13.json so future beta manifest checks include the stable 0.5.13 release.

Upgrade