跳转到主要内容

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.

增强

trellis-core SDK

@mindfoldhq/trellis-core 现在发布 CLI 使用的 channel 和 task primitives。
  • Package: @mindfoldhq/trellis-core
  • Exports: @mindfoldhq/trellis-core/channel@mindfoldhq/trellis-core/task@mindfoldhq/trellis-core/testing
  • CLI dependency: @mindfoldhq/trellis-core

Channel thread commands

Thread channels 现在使用 threads structural type,并提供 context、title 和 rename commands。
  • trellis channel create --type threads
  • trellis channel context add|delete|list
  • trellis channel title set|clear
  • trellis channel thread rename

Channel context flags

Context input 现在使用 context 命名,同时继续接受 beta.12 linked-context aliases。
  • --context-file <absolute-path>
  • --context-raw <text>
  • Legacy aliases: --linked-context-file--linked-context-raw

内部

Core package publishing

Publish workflow 现在先发布 @mindfoldhq/trellis-core,再发布 @mindfoldhq/trellis,并共用同一个版本和 npm dist-tag。
  • Workflow: .github/workflows/publish.yml
  • Preflight: packages/cli/scripts/release-preflight.js
  • Version bump: packages/cli/scripts/bump-versions.js
  • Release runner: packages/cli/scripts/release.js

升级方式

npm install -g @mindfoldhq/trellis@beta
trellis update
将 beta.12 scripts 中的 trellis channel create --type thread 替换为 trellis channel create --type threads