@baoanaz/cviauto 0.6.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +235 -0
- package/README.md +46 -0
- package/bin/trellis.js +3 -0
- package/dist/cli/index.d.ts +3 -0
- package/dist/cli/index.d.ts.map +1 -0
- package/dist/cli/index.js +209 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/commands/channel/adapters/claude.d.ts +29 -0
- package/dist/commands/channel/adapters/claude.d.ts.map +1 -0
- package/dist/commands/channel/adapters/claude.js +203 -0
- package/dist/commands/channel/adapters/claude.js.map +1 -0
- package/dist/commands/channel/adapters/codex.d.ts +85 -0
- package/dist/commands/channel/adapters/codex.d.ts.map +1 -0
- package/dist/commands/channel/adapters/codex.js +505 -0
- package/dist/commands/channel/adapters/codex.js.map +1 -0
- package/dist/commands/channel/adapters/index.d.ts +84 -0
- package/dist/commands/channel/adapters/index.d.ts.map +1 -0
- package/dist/commands/channel/adapters/index.js +115 -0
- package/dist/commands/channel/adapters/index.js.map +1 -0
- package/dist/commands/channel/adapters/types.d.ts +33 -0
- package/dist/commands/channel/adapters/types.d.ts.map +1 -0
- package/dist/commands/channel/adapters/types.js +2 -0
- package/dist/commands/channel/adapters/types.js.map +1 -0
- package/dist/commands/channel/agent-loader.d.ts +32 -0
- package/dist/commands/channel/agent-loader.d.ts.map +1 -0
- package/dist/commands/channel/agent-loader.js +154 -0
- package/dist/commands/channel/agent-loader.js.map +1 -0
- package/dist/commands/channel/context-loader.d.ts +26 -0
- package/dist/commands/channel/context-loader.d.ts.map +1 -0
- package/dist/commands/channel/context-loader.js +290 -0
- package/dist/commands/channel/context-loader.js.map +1 -0
- package/dist/commands/channel/context.d.ts +16 -0
- package/dist/commands/channel/context.d.ts.map +1 -0
- package/dist/commands/channel/context.js +83 -0
- package/dist/commands/channel/context.js.map +1 -0
- package/dist/commands/channel/create.d.ts +27 -0
- package/dist/commands/channel/create.d.ts.map +1 -0
- package/dist/commands/channel/create.js +39 -0
- package/dist/commands/channel/create.js.map +1 -0
- package/dist/commands/channel/dev-parse-trace.d.ts +14 -0
- package/dist/commands/channel/dev-parse-trace.d.ts.map +1 -0
- package/dist/commands/channel/dev-parse-trace.js +70 -0
- package/dist/commands/channel/dev-parse-trace.js.map +1 -0
- package/dist/commands/channel/guard.d.ts +150 -0
- package/dist/commands/channel/guard.d.ts.map +1 -0
- package/dist/commands/channel/guard.js +474 -0
- package/dist/commands/channel/guard.js.map +1 -0
- package/dist/commands/channel/index.d.ts +3 -0
- package/dist/commands/channel/index.d.ts.map +1 -0
- package/dist/commands/channel/index.js +531 -0
- package/dist/commands/channel/index.js.map +1 -0
- package/dist/commands/channel/interrupt.d.ts +10 -0
- package/dist/commands/channel/interrupt.d.ts.map +1 -0
- package/dist/commands/channel/interrupt.js +22 -0
- package/dist/commands/channel/interrupt.js.map +1 -0
- package/dist/commands/channel/kill.d.ts +7 -0
- package/dist/commands/channel/kill.d.ts.map +1 -0
- package/dist/commands/channel/kill.js +121 -0
- package/dist/commands/channel/kill.js.map +1 -0
- package/dist/commands/channel/list.d.ts +17 -0
- package/dist/commands/channel/list.d.ts.map +1 -0
- package/dist/commands/channel/list.js +233 -0
- package/dist/commands/channel/list.js.map +1 -0
- package/dist/commands/channel/messages.d.ts +15 -0
- package/dist/commands/channel/messages.d.ts.map +1 -0
- package/dist/commands/channel/messages.js +245 -0
- package/dist/commands/channel/messages.js.map +1 -0
- package/dist/commands/channel/rm.d.ts +27 -0
- package/dist/commands/channel/rm.d.ts.map +1 -0
- package/dist/commands/channel/rm.js +216 -0
- package/dist/commands/channel/rm.js.map +1 -0
- package/dist/commands/channel/run.d.ts +30 -0
- package/dist/commands/channel/run.d.ts.map +1 -0
- package/dist/commands/channel/run.js +130 -0
- package/dist/commands/channel/run.js.map +1 -0
- package/dist/commands/channel/send.d.ts +11 -0
- package/dist/commands/channel/send.d.ts.map +1 -0
- package/dist/commands/channel/send.js +24 -0
- package/dist/commands/channel/send.js.map +1 -0
- package/dist/commands/channel/spawn.d.ts +40 -0
- package/dist/commands/channel/spawn.d.ts.map +1 -0
- package/dist/commands/channel/spawn.js +244 -0
- package/dist/commands/channel/spawn.js.map +1 -0
- package/dist/commands/channel/store/events.d.ts +39 -0
- package/dist/commands/channel/store/events.d.ts.map +1 -0
- package/dist/commands/channel/store/events.js +87 -0
- package/dist/commands/channel/store/events.js.map +1 -0
- package/dist/commands/channel/store/filter.d.ts +3 -0
- package/dist/commands/channel/store/filter.d.ts.map +1 -0
- package/dist/commands/channel/store/filter.js +2 -0
- package/dist/commands/channel/store/filter.js.map +1 -0
- package/dist/commands/channel/store/lock.d.ts +23 -0
- package/dist/commands/channel/store/lock.d.ts.map +1 -0
- package/dist/commands/channel/store/lock.js +99 -0
- package/dist/commands/channel/store/lock.js.map +1 -0
- package/dist/commands/channel/store/paths.d.ts +63 -0
- package/dist/commands/channel/store/paths.d.ts.map +1 -0
- package/dist/commands/channel/store/paths.js +246 -0
- package/dist/commands/channel/store/paths.js.map +1 -0
- package/dist/commands/channel/store/schema.d.ts +27 -0
- package/dist/commands/channel/store/schema.d.ts.map +1 -0
- package/dist/commands/channel/store/schema.js +34 -0
- package/dist/commands/channel/store/schema.js.map +1 -0
- package/dist/commands/channel/store/thread-state.d.ts +5 -0
- package/dist/commands/channel/store/thread-state.d.ts.map +1 -0
- package/dist/commands/channel/store/thread-state.js +16 -0
- package/dist/commands/channel/store/thread-state.js.map +1 -0
- package/dist/commands/channel/store/watch.d.ts +19 -0
- package/dist/commands/channel/store/watch.d.ts.map +1 -0
- package/dist/commands/channel/store/watch.js +146 -0
- package/dist/commands/channel/store/watch.js.map +1 -0
- package/dist/commands/channel/supervisor/idle.d.ts +46 -0
- package/dist/commands/channel/supervisor/idle.d.ts.map +1 -0
- package/dist/commands/channel/supervisor/idle.js +72 -0
- package/dist/commands/channel/supervisor/idle.js.map +1 -0
- package/dist/commands/channel/supervisor/inbox.d.ts +30 -0
- package/dist/commands/channel/supervisor/inbox.d.ts.map +1 -0
- package/dist/commands/channel/supervisor/inbox.js +160 -0
- package/dist/commands/channel/supervisor/inbox.js.map +1 -0
- package/dist/commands/channel/supervisor/shutdown.d.ts +68 -0
- package/dist/commands/channel/supervisor/shutdown.d.ts.map +1 -0
- package/dist/commands/channel/supervisor/shutdown.js +146 -0
- package/dist/commands/channel/supervisor/shutdown.js.map +1 -0
- package/dist/commands/channel/supervisor/stdout.d.ts +51 -0
- package/dist/commands/channel/supervisor/stdout.d.ts.map +1 -0
- package/dist/commands/channel/supervisor/stdout.js +121 -0
- package/dist/commands/channel/supervisor/stdout.js.map +1 -0
- package/dist/commands/channel/supervisor/turns.d.ts +31 -0
- package/dist/commands/channel/supervisor/turns.d.ts.map +1 -0
- package/dist/commands/channel/supervisor/turns.js +45 -0
- package/dist/commands/channel/supervisor/turns.js.map +1 -0
- package/dist/commands/channel/supervisor/warning.d.ts +48 -0
- package/dist/commands/channel/supervisor/warning.d.ts.map +1 -0
- package/dist/commands/channel/supervisor/warning.js +77 -0
- package/dist/commands/channel/supervisor/warning.js.map +1 -0
- package/dist/commands/channel/supervisor.d.ts +59 -0
- package/dist/commands/channel/supervisor.d.ts.map +1 -0
- package/dist/commands/channel/supervisor.js +376 -0
- package/dist/commands/channel/supervisor.js.map +1 -0
- package/dist/commands/channel/text-body.d.ts +13 -0
- package/dist/commands/channel/text-body.d.ts.map +1 -0
- package/dist/commands/channel/text-body.js +47 -0
- package/dist/commands/channel/text-body.js.map +1 -0
- package/dist/commands/channel/threads.d.ts +39 -0
- package/dist/commands/channel/threads.d.ts.map +1 -0
- package/dist/commands/channel/threads.js +106 -0
- package/dist/commands/channel/threads.js.map +1 -0
- package/dist/commands/channel/title.d.ts +12 -0
- package/dist/commands/channel/title.d.ts.map +1 -0
- package/dist/commands/channel/title.js +24 -0
- package/dist/commands/channel/title.js.map +1 -0
- package/dist/commands/channel/wait.d.ts +17 -0
- package/dist/commands/channel/wait.d.ts.map +1 -0
- package/dist/commands/channel/wait.js +75 -0
- package/dist/commands/channel/wait.js.map +1 -0
- package/dist/commands/init.d.ts +66 -0
- package/dist/commands/init.d.ts.map +1 -0
- package/dist/commands/init.js +1704 -0
- package/dist/commands/init.js.map +1 -0
- package/dist/commands/mem.d.ts +30 -0
- package/dist/commands/mem.d.ts.map +1 -0
- package/dist/commands/mem.js +424 -0
- package/dist/commands/mem.js.map +1 -0
- package/dist/commands/uninstall.d.ts +27 -0
- package/dist/commands/uninstall.d.ts.map +1 -0
- package/dist/commands/uninstall.js +340 -0
- package/dist/commands/uninstall.js.map +1 -0
- package/dist/commands/update.d.ts +72 -0
- package/dist/commands/update.d.ts.map +1 -0
- package/dist/commands/update.js +2023 -0
- package/dist/commands/update.js.map +1 -0
- package/dist/commands/upgrade.d.ts +28 -0
- package/dist/commands/upgrade.d.ts.map +1 -0
- package/dist/commands/upgrade.js +88 -0
- package/dist/commands/upgrade.js.map +1 -0
- package/dist/commands/workflow.d.ts +35 -0
- package/dist/commands/workflow.d.ts.map +1 -0
- package/dist/commands/workflow.js +232 -0
- package/dist/commands/workflow.js.map +1 -0
- package/dist/configurators/antigravity.d.ts +7 -0
- package/dist/configurators/antigravity.d.ts.map +1 -0
- package/dist/configurators/antigravity.js +19 -0
- package/dist/configurators/antigravity.js.map +1 -0
- package/dist/configurators/claude.d.ts +12 -0
- package/dist/configurators/claude.d.ts.map +1 -0
- package/dist/configurators/claude.js +107 -0
- package/dist/configurators/claude.js.map +1 -0
- package/dist/configurators/codebuddy.d.ts +10 -0
- package/dist/configurators/codebuddy.d.ts.map +1 -0
- package/dist/configurators/codebuddy.js +30 -0
- package/dist/configurators/codebuddy.js.map +1 -0
- package/dist/configurators/codex.d.ts +8 -0
- package/dist/configurators/codex.d.ts.map +1 -0
- package/dist/configurators/codex.js +73 -0
- package/dist/configurators/codex.js.map +1 -0
- package/dist/configurators/copilot.d.ts +10 -0
- package/dist/configurators/copilot.d.ts.map +1 -0
- package/dist/configurators/copilot.js +51 -0
- package/dist/configurators/copilot.js.map +1 -0
- package/dist/configurators/cursor.d.ts +10 -0
- package/dist/configurators/cursor.d.ts.map +1 -0
- package/dist/configurators/cursor.js +29 -0
- package/dist/configurators/cursor.js.map +1 -0
- package/dist/configurators/devin.d.ts +7 -0
- package/dist/configurators/devin.d.ts.map +1 -0
- package/dist/configurators/devin.js +19 -0
- package/dist/configurators/devin.js.map +1 -0
- package/dist/configurators/droid.d.ts +10 -0
- package/dist/configurators/droid.d.ts.map +1 -0
- package/dist/configurators/droid.js +30 -0
- package/dist/configurators/droid.js.map +1 -0
- package/dist/configurators/gemini.d.ts +16 -0
- package/dist/configurators/gemini.d.ts.map +1 -0
- package/dist/configurators/gemini.js +38 -0
- package/dist/configurators/gemini.js.map +1 -0
- package/dist/configurators/index.d.ts +86 -0
- package/dist/configurators/index.d.ts.map +1 -0
- package/dist/configurators/index.js +430 -0
- package/dist/configurators/index.js.map +1 -0
- package/dist/configurators/kilo.d.ts +7 -0
- package/dist/configurators/kilo.d.ts.map +1 -0
- package/dist/configurators/kilo.js +19 -0
- package/dist/configurators/kilo.js.map +1 -0
- package/dist/configurators/kiro.d.ts +10 -0
- package/dist/configurators/kiro.d.ts.map +1 -0
- package/dist/configurators/kiro.js +33 -0
- package/dist/configurators/kiro.js.map +1 -0
- package/dist/configurators/opencode.d.ts +14 -0
- package/dist/configurators/opencode.d.ts.map +1 -0
- package/dist/configurators/opencode.js +102 -0
- package/dist/configurators/opencode.js.map +1 -0
- package/dist/configurators/pi.d.ts +3 -0
- package/dist/configurators/pi.d.ts.map +1 -0
- package/dist/configurators/pi.js +55 -0
- package/dist/configurators/pi.js.map +1 -0
- package/dist/configurators/qoder.d.ts +11 -0
- package/dist/configurators/qoder.d.ts.map +1 -0
- package/dist/configurators/qoder.js +31 -0
- package/dist/configurators/qoder.js.map +1 -0
- package/dist/configurators/reasonix.d.ts +23 -0
- package/dist/configurators/reasonix.d.ts.map +1 -0
- package/dist/configurators/reasonix.js +60 -0
- package/dist/configurators/reasonix.js.map +1 -0
- package/dist/configurators/shared.d.ts +172 -0
- package/dist/configurators/shared.d.ts.map +1 -0
- package/dist/configurators/shared.js +530 -0
- package/dist/configurators/shared.js.map +1 -0
- package/dist/configurators/trae.d.ts +17 -0
- package/dist/configurators/trae.d.ts.map +1 -0
- package/dist/configurators/trae.js +42 -0
- package/dist/configurators/trae.js.map +1 -0
- package/dist/configurators/workflow.d.ts +37 -0
- package/dist/configurators/workflow.d.ts.map +1 -0
- package/dist/configurators/workflow.js +177 -0
- package/dist/configurators/workflow.js.map +1 -0
- package/dist/configurators/zcode.d.ts +19 -0
- package/dist/configurators/zcode.d.ts.map +1 -0
- package/dist/configurators/zcode.js +54 -0
- package/dist/configurators/zcode.js.map +1 -0
- package/dist/constants/paths.d.ts +74 -0
- package/dist/constants/paths.d.ts.map +1 -0
- package/dist/constants/paths.js +83 -0
- package/dist/constants/paths.js.map +1 -0
- package/dist/constants/version.d.ts +9 -0
- package/dist/constants/version.d.ts.map +1 -0
- package/dist/constants/version.js +15 -0
- package/dist/constants/version.js.map +1 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -0
- package/dist/migrations/index.d.ts +62 -0
- package/dist/migrations/index.d.ts.map +1 -0
- package/dist/migrations/index.js +187 -0
- package/dist/migrations/index.js.map +1 -0
- package/dist/migrations/manifests/0.1.9.json +30 -0
- package/dist/migrations/manifests/0.2.0.json +49 -0
- package/dist/migrations/manifests/0.2.12.json +9 -0
- package/dist/migrations/manifests/0.2.13.json +9 -0
- package/dist/migrations/manifests/0.2.14.json +175 -0
- package/dist/migrations/manifests/0.2.15.json +33 -0
- package/dist/migrations/manifests/0.3.0-beta.0.json +297 -0
- package/dist/migrations/manifests/0.3.0-beta.1.json +9 -0
- package/dist/migrations/manifests/0.3.0-beta.10.json +9 -0
- package/dist/migrations/manifests/0.3.0-beta.11.json +9 -0
- package/dist/migrations/manifests/0.3.0-beta.12.json +9 -0
- package/dist/migrations/manifests/0.3.0-beta.13.json +9 -0
- package/dist/migrations/manifests/0.3.0-beta.14.json +9 -0
- package/dist/migrations/manifests/0.3.0-beta.15.json +9 -0
- package/dist/migrations/manifests/0.3.0-beta.16.json +9 -0
- package/dist/migrations/manifests/0.3.0-beta.2.json +9 -0
- package/dist/migrations/manifests/0.3.0-beta.3.json +9 -0
- package/dist/migrations/manifests/0.3.0-beta.4.json +9 -0
- package/dist/migrations/manifests/0.3.0-beta.5.json +9 -0
- package/dist/migrations/manifests/0.3.0-beta.6.json +9 -0
- package/dist/migrations/manifests/0.3.0-beta.7.json +11 -0
- package/dist/migrations/manifests/0.3.0-beta.8.json +9 -0
- package/dist/migrations/manifests/0.3.0-beta.9.json +9 -0
- package/dist/migrations/manifests/0.3.0-rc.0.json +9 -0
- package/dist/migrations/manifests/0.3.0-rc.1.json +9 -0
- package/dist/migrations/manifests/0.3.0-rc.2.json +9 -0
- package/dist/migrations/manifests/0.3.0-rc.3.json +9 -0
- package/dist/migrations/manifests/0.3.0-rc.4.json +9 -0
- package/dist/migrations/manifests/0.3.0-rc.5.json +9 -0
- package/dist/migrations/manifests/0.3.0-rc.6.json +9 -0
- package/dist/migrations/manifests/0.3.0.json +11 -0
- package/dist/migrations/manifests/0.3.1.json +9 -0
- package/dist/migrations/manifests/0.3.10.json +9 -0
- package/dist/migrations/manifests/0.3.2.json +9 -0
- package/dist/migrations/manifests/0.3.3.json +9 -0
- package/dist/migrations/manifests/0.3.4.json +21 -0
- package/dist/migrations/manifests/0.3.5.json +9 -0
- package/dist/migrations/manifests/0.3.6.json +9 -0
- package/dist/migrations/manifests/0.3.7.json +9 -0
- package/dist/migrations/manifests/0.3.8.json +9 -0
- package/dist/migrations/manifests/0.3.9.json +9 -0
- package/dist/migrations/manifests/0.4.0-beta.1.json +300 -0
- package/dist/migrations/manifests/0.4.0-beta.10.json +9 -0
- package/dist/migrations/manifests/0.4.0-beta.2.json +9 -0
- package/dist/migrations/manifests/0.4.0-beta.3.json +9 -0
- package/dist/migrations/manifests/0.4.0-beta.4.json +9 -0
- package/dist/migrations/manifests/0.4.0-beta.5.json +9 -0
- package/dist/migrations/manifests/0.4.0-beta.6.json +9 -0
- package/dist/migrations/manifests/0.4.0-beta.7.json +9 -0
- package/dist/migrations/manifests/0.4.0-beta.8.json +42 -0
- package/dist/migrations/manifests/0.4.0-beta.9.json +9 -0
- package/dist/migrations/manifests/0.4.0-rc.0.json +9 -0
- package/dist/migrations/manifests/0.4.0-rc.1.json +9 -0
- package/dist/migrations/manifests/0.4.0.json +9 -0
- package/dist/migrations/manifests/0.5.0-beta.0.json +1646 -0
- package/dist/migrations/manifests/0.5.0-beta.1.json +9 -0
- package/dist/migrations/manifests/0.5.0-beta.10.json +9 -0
- package/dist/migrations/manifests/0.5.0-beta.11.json +9 -0
- package/dist/migrations/manifests/0.5.0-beta.12.json +9 -0
- package/dist/migrations/manifests/0.5.0-beta.13.json +9 -0
- package/dist/migrations/manifests/0.5.0-beta.14.json +9 -0
- package/dist/migrations/manifests/0.5.0-beta.15.json +116 -0
- package/dist/migrations/manifests/0.5.0-beta.16.json +9 -0
- package/dist/migrations/manifests/0.5.0-beta.17.json +9 -0
- package/dist/migrations/manifests/0.5.0-beta.18.json +9 -0
- package/dist/migrations/manifests/0.5.0-beta.19.json +9 -0
- package/dist/migrations/manifests/0.5.0-beta.2.json +9 -0
- package/dist/migrations/manifests/0.5.0-beta.3.json +9 -0
- package/dist/migrations/manifests/0.5.0-beta.4.json +9 -0
- package/dist/migrations/manifests/0.5.0-beta.5.json +222 -0
- package/dist/migrations/manifests/0.5.0-beta.6.json +9 -0
- package/dist/migrations/manifests/0.5.0-beta.7.json +9 -0
- package/dist/migrations/manifests/0.5.0-beta.8.json +9 -0
- package/dist/migrations/manifests/0.5.0-beta.9.json +48 -0
- package/dist/migrations/manifests/0.5.0-rc.0.json +9 -0
- package/dist/migrations/manifests/0.5.0-rc.1.json +9 -0
- package/dist/migrations/manifests/0.5.0-rc.2.json +9 -0
- package/dist/migrations/manifests/0.5.0-rc.3.json +9 -0
- package/dist/migrations/manifests/0.5.0-rc.4.json +9 -0
- package/dist/migrations/manifests/0.5.0-rc.5.json +9 -0
- package/dist/migrations/manifests/0.5.0-rc.6.json +9 -0
- package/dist/migrations/manifests/0.5.0-rc.7.json +9 -0
- package/dist/migrations/manifests/0.5.0.json +9 -0
- package/dist/migrations/manifests/0.5.1.json +9 -0
- package/dist/migrations/manifests/0.5.10.json +9 -0
- package/dist/migrations/manifests/0.5.11.json +16 -0
- package/dist/migrations/manifests/0.5.12.json +9 -0
- package/dist/migrations/manifests/0.5.13.json +9 -0
- package/dist/migrations/manifests/0.5.14.json +9 -0
- package/dist/migrations/manifests/0.5.15.json +9 -0
- package/dist/migrations/manifests/0.5.16.json +9 -0
- package/dist/migrations/manifests/0.5.17.json +9 -0
- package/dist/migrations/manifests/0.5.18.json +9 -0
- package/dist/migrations/manifests/0.5.19.json +9 -0
- package/dist/migrations/manifests/0.5.2.json +9 -0
- package/dist/migrations/manifests/0.5.3.json +9 -0
- package/dist/migrations/manifests/0.5.4.json +9 -0
- package/dist/migrations/manifests/0.5.5.json +9 -0
- package/dist/migrations/manifests/0.5.6.json +9 -0
- package/dist/migrations/manifests/0.5.7.json +16 -0
- package/dist/migrations/manifests/0.5.8.json +9 -0
- package/dist/migrations/manifests/0.5.9.json +9 -0
- package/dist/migrations/manifests/0.6.0-beta.0.json +16 -0
- package/dist/migrations/manifests/0.6.0-beta.1.json +9 -0
- package/dist/migrations/manifests/0.6.0-beta.10.json +9 -0
- package/dist/migrations/manifests/0.6.0-beta.11.json +9 -0
- package/dist/migrations/manifests/0.6.0-beta.12.json +9 -0
- package/dist/migrations/manifests/0.6.0-beta.13.json +9 -0
- package/dist/migrations/manifests/0.6.0-beta.14.json +9 -0
- package/dist/migrations/manifests/0.6.0-beta.15.json +9 -0
- package/dist/migrations/manifests/0.6.0-beta.16.json +9 -0
- package/dist/migrations/manifests/0.6.0-beta.17.json +9 -0
- package/dist/migrations/manifests/0.6.0-beta.18.json +16 -0
- package/dist/migrations/manifests/0.6.0-beta.19.json +9 -0
- package/dist/migrations/manifests/0.6.0-beta.2.json +9 -0
- package/dist/migrations/manifests/0.6.0-beta.20.json +9 -0
- package/dist/migrations/manifests/0.6.0-beta.21.json +9 -0
- package/dist/migrations/manifests/0.6.0-beta.22.json +9 -0
- package/dist/migrations/manifests/0.6.0-beta.23.json +88 -0
- package/dist/migrations/manifests/0.6.0-beta.3.json +9 -0
- package/dist/migrations/manifests/0.6.0-beta.4.json +9 -0
- package/dist/migrations/manifests/0.6.0-beta.5.json +9 -0
- package/dist/migrations/manifests/0.6.0-beta.6.json +16 -0
- package/dist/migrations/manifests/0.6.0-beta.7.json +9 -0
- package/dist/migrations/manifests/0.6.0-beta.8.json +9 -0
- package/dist/migrations/manifests/0.6.0-beta.9.json +9 -0
- package/dist/migrations/manifests/0.6.0-rc.0.json +9 -0
- package/dist/migrations/manifests/0.6.0.json +9 -0
- package/dist/migrations/manifests/0.6.1.json +9 -0
- package/dist/migrations/manifests/0.6.2.json +9 -0
- package/dist/migrations/manifests/0.6.3.json +24 -0
- package/dist/migrations/manifests/0.6.4.json +9 -0
- package/dist/migrations/manifests/0.6.5.json +9 -0
- package/dist/templates/claude/agents/trellis-check.md +115 -0
- package/dist/templates/claude/agents/trellis-implement.md +110 -0
- package/dist/templates/claude/agents/trellis-research.md +137 -0
- package/dist/templates/claude/hooks/statusline.py +324 -0
- package/dist/templates/claude/index.d.ts +31 -0
- package/dist/templates/claude/index.d.ts.map +1 -0
- package/dist/templates/claude/index.js +58 -0
- package/dist/templates/claude/index.js.map +1 -0
- package/dist/templates/claude/settings.json +73 -0
- package/dist/templates/codebuddy/agents/trellis-check.md +115 -0
- package/dist/templates/codebuddy/agents/trellis-implement.md +110 -0
- package/dist/templates/codebuddy/agents/trellis-research.md +137 -0
- package/dist/templates/codebuddy/index.d.ts +15 -0
- package/dist/templates/codebuddy/index.d.ts.map +1 -0
- package/dist/templates/codebuddy/index.js +15 -0
- package/dist/templates/codebuddy/index.js.map +1 -0
- package/dist/templates/codebuddy/settings.json +59 -0
- package/dist/templates/codex/agents/trellis-check.toml +59 -0
- package/dist/templates/codex/agents/trellis-implement.toml +40 -0
- package/dist/templates/codex/agents/trellis-research.toml +73 -0
- package/dist/templates/codex/config.toml +28 -0
- package/dist/templates/codex/hooks/session-start.py +545 -0
- package/dist/templates/codex/hooks.json +15 -0
- package/dist/templates/codex/index.d.ts +39 -0
- package/dist/templates/codex/index.d.ts.map +1 -0
- package/dist/templates/codex/index.js +86 -0
- package/dist/templates/codex/index.js.map +1 -0
- package/dist/templates/codex/skills/before-dev/SKILL.md +40 -0
- package/dist/templates/codex/skills/brainstorm/SKILL.md +130 -0
- package/dist/templates/codex/skills/break-loop/SKILL.md +130 -0
- package/dist/templates/codex/skills/check/SKILL.md +98 -0
- package/dist/templates/codex/skills/check-cross-layer/SKILL.md +158 -0
- package/dist/templates/codex/skills/create-command/SKILL.md +101 -0
- package/dist/templates/codex/skills/finish-work/SKILL.md +98 -0
- package/dist/templates/codex/skills/improve-ut/SKILL.md +69 -0
- package/dist/templates/codex/skills/integrate-skill/SKILL.md +221 -0
- package/dist/templates/codex/skills/onboard/SKILL.md +363 -0
- package/dist/templates/codex/skills/record-session/SKILL.md +67 -0
- package/dist/templates/codex/skills/start/SKILL.md +64 -0
- package/dist/templates/codex/skills/update-spec/SKILL.md +335 -0
- package/dist/templates/common/bundled-skills/trellis-channel/SKILL.md +67 -0
- package/dist/templates/common/bundled-skills/trellis-channel/references/command-reference.md +480 -0
- package/dist/templates/common/bundled-skills/trellis-channel/references/forum.md +233 -0
- package/dist/templates/common/bundled-skills/trellis-channel/references/progress-debugging.md +226 -0
- package/dist/templates/common/bundled-skills/trellis-channel/references/workers.md +276 -0
- package/dist/templates/common/bundled-skills/trellis-channel/references/workflows.md +128 -0
- package/dist/templates/common/bundled-skills/trellis-meta/SKILL.md +85 -0
- package/dist/templates/common/bundled-skills/trellis-meta/references/customize-local/add-project-local-conventions.md +83 -0
- package/dist/templates/common/bundled-skills/trellis-meta/references/customize-local/change-agents.md +56 -0
- package/dist/templates/common/bundled-skills/trellis-meta/references/customize-local/change-context-loading.md +84 -0
- package/dist/templates/common/bundled-skills/trellis-meta/references/customize-local/change-hooks.md +57 -0
- package/dist/templates/common/bundled-skills/trellis-meta/references/customize-local/change-skills-or-commands.md +123 -0
- package/dist/templates/common/bundled-skills/trellis-meta/references/customize-local/change-spec-structure.md +83 -0
- package/dist/templates/common/bundled-skills/trellis-meta/references/customize-local/change-task-lifecycle.md +90 -0
- package/dist/templates/common/bundled-skills/trellis-meta/references/customize-local/change-workflow.md +66 -0
- package/dist/templates/common/bundled-skills/trellis-meta/references/customize-local/overview.md +55 -0
- package/dist/templates/common/bundled-skills/trellis-meta/references/local-architecture/bundled-skills.md +146 -0
- package/dist/templates/common/bundled-skills/trellis-meta/references/local-architecture/context-injection.md +68 -0
- package/dist/templates/common/bundled-skills/trellis-meta/references/local-architecture/generated-files.md +80 -0
- package/dist/templates/common/bundled-skills/trellis-meta/references/local-architecture/multi-agent-channel.md +69 -0
- package/dist/templates/common/bundled-skills/trellis-meta/references/local-architecture/overview.md +51 -0
- package/dist/templates/common/bundled-skills/trellis-meta/references/local-architecture/spec-system.md +102 -0
- package/dist/templates/common/bundled-skills/trellis-meta/references/local-architecture/task-system.md +130 -0
- package/dist/templates/common/bundled-skills/trellis-meta/references/local-architecture/workflow.md +75 -0
- package/dist/templates/common/bundled-skills/trellis-meta/references/local-architecture/workspace-memory.md +71 -0
- package/dist/templates/common/bundled-skills/trellis-meta/references/platform-files/agents.md +82 -0
- package/dist/templates/common/bundled-skills/trellis-meta/references/platform-files/hooks-and-settings.md +72 -0
- package/dist/templates/common/bundled-skills/trellis-meta/references/platform-files/overview.md +59 -0
- package/dist/templates/common/bundled-skills/trellis-meta/references/platform-files/platform-map.md +88 -0
- package/dist/templates/common/bundled-skills/trellis-meta/references/platform-files/skills-and-commands.md +85 -0
- package/dist/templates/common/bundled-skills/trellis-session-insight/SKILL.md +81 -0
- package/dist/templates/common/bundled-skills/trellis-session-insight/references/cli-quick-reference.md +65 -0
- package/dist/templates/common/bundled-skills/trellis-session-insight/references/triggering-patterns.md +93 -0
- package/dist/templates/common/bundled-skills/trellis-spec-bootstrap/SKILL.md +41 -0
- package/dist/templates/common/bundled-skills/trellis-spec-bootstrap/references/mcp-setup.md +90 -0
- package/dist/templates/common/bundled-skills/trellis-spec-bootstrap/references/repository-analysis.md +59 -0
- package/dist/templates/common/bundled-skills/trellis-spec-bootstrap/references/spec-task-planning.md +61 -0
- package/dist/templates/common/bundled-skills/trellis-spec-bootstrap/references/spec-writing.md +70 -0
- package/dist/templates/common/commands/continue.md +57 -0
- package/dist/templates/common/commands/finish-work.md +74 -0
- package/dist/templates/common/commands/start.md +59 -0
- package/dist/templates/common/index.d.ts +48 -0
- package/dist/templates/common/index.d.ts.map +1 -0
- package/dist/templates/common/index.js +104 -0
- package/dist/templates/common/index.js.map +1 -0
- package/dist/templates/common/skills/before-dev.md +35 -0
- package/dist/templates/common/skills/brainstorm.md +168 -0
- package/dist/templates/common/skills/break-loop.md +184 -0
- package/dist/templates/common/skills/check.md +93 -0
- package/dist/templates/common/skills/update-spec.md +351 -0
- package/dist/templates/copilot/hooks/session-start.py +547 -0
- package/dist/templates/copilot/hooks.json +19 -0
- package/dist/templates/copilot/index.d.ts +23 -0
- package/dist/templates/copilot/index.d.ts.map +1 -0
- package/dist/templates/copilot/index.js +54 -0
- package/dist/templates/copilot/index.js.map +1 -0
- package/dist/templates/copilot/prompts/before-dev.prompt.md +39 -0
- package/dist/templates/copilot/prompts/brainstorm.prompt.md +129 -0
- package/dist/templates/copilot/prompts/break-loop.prompt.md +129 -0
- package/dist/templates/copilot/prompts/check-cross-layer.prompt.md +157 -0
- package/dist/templates/copilot/prompts/check.prompt.md +97 -0
- package/dist/templates/copilot/prompts/create-command.prompt.md +116 -0
- package/dist/templates/copilot/prompts/finish-work.prompt.md +107 -0
- package/dist/templates/copilot/prompts/integrate-skill.prompt.md +223 -0
- package/dist/templates/copilot/prompts/onboard.prompt.md +362 -0
- package/dist/templates/copilot/prompts/parallel.prompt.md +204 -0
- package/dist/templates/copilot/prompts/record-session.prompt.md +66 -0
- package/dist/templates/copilot/prompts/start.prompt.md +63 -0
- package/dist/templates/copilot/prompts/update-spec.prompt.md +358 -0
- package/dist/templates/cursor/agents/trellis-check.md +114 -0
- package/dist/templates/cursor/agents/trellis-implement.md +109 -0
- package/dist/templates/cursor/agents/trellis-research.md +136 -0
- package/dist/templates/cursor/hooks.json +24 -0
- package/dist/templates/cursor/index.d.ts +13 -0
- package/dist/templates/cursor/index.d.ts.map +1 -0
- package/dist/templates/cursor/index.js +13 -0
- package/dist/templates/cursor/index.js.map +1 -0
- package/dist/templates/droid/droids/trellis-check.md +107 -0
- package/dist/templates/droid/droids/trellis-implement.md +102 -0
- package/dist/templates/droid/droids/trellis-research.md +137 -0
- package/dist/templates/droid/index.d.ts +15 -0
- package/dist/templates/droid/index.d.ts.map +1 -0
- package/dist/templates/droid/index.js +15 -0
- package/dist/templates/droid/index.js.map +1 -0
- package/dist/templates/droid/settings.json +59 -0
- package/dist/templates/extract.d.ts +40 -0
- package/dist/templates/extract.d.ts.map +1 -0
- package/dist/templates/extract.js +106 -0
- package/dist/templates/extract.js.map +1 -0
- package/dist/templates/gemini/agents/trellis-check.md +107 -0
- package/dist/templates/gemini/agents/trellis-implement.md +102 -0
- package/dist/templates/gemini/agents/trellis-research.md +136 -0
- package/dist/templates/gemini/index.d.ts +13 -0
- package/dist/templates/gemini/index.d.ts.map +1 -0
- package/dist/templates/gemini/index.js +13 -0
- package/dist/templates/gemini/index.js.map +1 -0
- package/dist/templates/gemini/settings.json +28 -0
- package/dist/templates/kiro/agents/trellis-check.json +14 -0
- package/dist/templates/kiro/agents/trellis-implement.json +14 -0
- package/dist/templates/kiro/agents/trellis-research.json +22 -0
- package/dist/templates/kiro/agents/trellis.json +20 -0
- package/dist/templates/kiro/hooks/cviauto-workflow-state.kiro.hook +14 -0
- package/dist/templates/kiro/index.d.ts +32 -0
- package/dist/templates/kiro/index.d.ts.map +1 -0
- package/dist/templates/kiro/index.js +28 -0
- package/dist/templates/kiro/index.js.map +1 -0
- package/dist/templates/markdown/agents.md +21 -0
- package/dist/templates/markdown/gitignore.txt +15 -0
- package/dist/templates/markdown/index.d.ts +27 -0
- package/dist/templates/markdown/index.d.ts.map +1 -0
- package/dist/templates/markdown/index.js +52 -0
- package/dist/templates/markdown/index.js.map +1 -0
- package/dist/templates/markdown/spec/backend/database-guidelines.md.txt +51 -0
- package/dist/templates/markdown/spec/backend/directory-structure.md.txt +54 -0
- package/dist/templates/markdown/spec/backend/error-handling.md.txt +51 -0
- package/dist/templates/markdown/spec/backend/index.md.txt +38 -0
- package/dist/templates/markdown/spec/backend/logging-guidelines.md.txt +51 -0
- package/dist/templates/markdown/spec/backend/quality-guidelines.md.txt +51 -0
- package/dist/templates/markdown/spec/frontend/component-guidelines.md.txt +59 -0
- package/dist/templates/markdown/spec/frontend/directory-structure.md.txt +54 -0
- package/dist/templates/markdown/spec/frontend/hook-guidelines.md.txt +51 -0
- package/dist/templates/markdown/spec/frontend/index.md.txt +39 -0
- package/dist/templates/markdown/spec/frontend/quality-guidelines.md.txt +51 -0
- package/dist/templates/markdown/spec/frontend/state-management.md.txt +51 -0
- package/dist/templates/markdown/spec/frontend/type-safety.md.txt +51 -0
- package/dist/templates/markdown/spec/guides/code-reuse-thinking-guide.md.txt +223 -0
- package/dist/templates/markdown/spec/guides/cross-layer-thinking-guide.md.txt +327 -0
- package/dist/templates/markdown/spec/guides/cross-platform-thinking-guide.md.txt +633 -0
- package/dist/templates/markdown/spec/guides/index.md.txt +97 -0
- package/dist/templates/markdown/workspace-index.md +125 -0
- package/dist/templates/markdown/worktree.yaml.txt +58 -0
- package/dist/templates/opencode/agents/trellis-check.md +122 -0
- package/dist/templates/opencode/agents/trellis-implement.md +118 -0
- package/dist/templates/opencode/agents/trellis-research.md +145 -0
- package/dist/templates/opencode/lib/cviauto-context.js +418 -0
- package/dist/templates/opencode/lib/session-utils.js +609 -0
- package/dist/templates/opencode/package.json +5 -0
- package/dist/templates/opencode/plugins/inject-subagent-context.js +570 -0
- package/dist/templates/opencode/plugins/inject-workflow-state.js +175 -0
- package/dist/templates/opencode/plugins/session-start.js +140 -0
- package/dist/templates/pi/agents/trellis-check.md +37 -0
- package/dist/templates/pi/agents/trellis-implement.md +42 -0
- package/dist/templates/pi/agents/trellis-research.md +25 -0
- package/dist/templates/pi/extensions/trellis/index.ts.txt +1680 -0
- package/dist/templates/pi/index.d.ts +5 -0
- package/dist/templates/pi/index.d.ts.map +1 -0
- package/dist/templates/pi/index.js +12 -0
- package/dist/templates/pi/index.js.map +1 -0
- package/dist/templates/pi/settings.json +6 -0
- package/dist/templates/qoder/agents/trellis-check.md +108 -0
- package/dist/templates/qoder/agents/trellis-implement.md +103 -0
- package/dist/templates/qoder/agents/trellis-research.md +137 -0
- package/dist/templates/qoder/index.d.ts +15 -0
- package/dist/templates/qoder/index.d.ts.map +1 -0
- package/dist/templates/qoder/index.js +15 -0
- package/dist/templates/qoder/index.js.map +1 -0
- package/dist/templates/qoder/settings.json +47 -0
- package/dist/templates/reasonix/agents/trellis-check.md +36 -0
- package/dist/templates/reasonix/agents/trellis-implement.md +41 -0
- package/dist/templates/reasonix/index.d.ts +13 -0
- package/dist/templates/reasonix/index.d.ts.map +1 -0
- package/dist/templates/reasonix/index.js +16 -0
- package/dist/templates/reasonix/index.js.map +1 -0
- package/dist/templates/shared-hooks/index.d.ts +58 -0
- package/dist/templates/shared-hooks/index.d.ts.map +1 -0
- package/dist/templates/shared-hooks/index.js +101 -0
- package/dist/templates/shared-hooks/index.js.map +1 -0
- package/dist/templates/shared-hooks/inject-shell-session-context.py +183 -0
- package/dist/templates/shared-hooks/inject-subagent-context.py +786 -0
- package/dist/templates/shared-hooks/inject-workflow-state.py +408 -0
- package/dist/templates/shared-hooks/session-start.py +844 -0
- package/dist/templates/template-utils.d.ts +28 -0
- package/dist/templates/template-utils.d.ts.map +1 -0
- package/dist/templates/template-utils.js +95 -0
- package/dist/templates/template-utils.js.map +1 -0
- package/dist/templates/trae/agents/trellis-check.md +108 -0
- package/dist/templates/trae/agents/trellis-implement.md +103 -0
- package/dist/templates/trae/agents/trellis-research.md +137 -0
- package/dist/templates/trae/hooks.json +27 -0
- package/dist/templates/trae/index.d.ts +15 -0
- package/dist/templates/trae/index.d.ts.map +1 -0
- package/dist/templates/trae/index.js +15 -0
- package/dist/templates/trae/index.js.map +1 -0
- package/dist/templates/trellis/agents/check.md +70 -0
- package/dist/templates/trellis/agents/implement.md +71 -0
- package/dist/templates/trellis/config.yaml +110 -0
- package/dist/templates/trellis/gitignore.txt +40 -0
- package/dist/templates/trellis/index.d.ts +65 -0
- package/dist/templates/trellis/index.d.ts.map +1 -0
- package/dist/templates/trellis/index.js +119 -0
- package/dist/templates/trellis/index.js.map +1 -0
- package/dist/templates/trellis/scripts/__init__.py +5 -0
- package/dist/templates/trellis/scripts/add_session.py +567 -0
- package/dist/templates/trellis/scripts/common/__init__.py +92 -0
- package/dist/templates/trellis/scripts/common/active_task.py +628 -0
- package/dist/templates/trellis/scripts/common/cli_adapter.py +851 -0
- package/dist/templates/trellis/scripts/common/config.py +444 -0
- package/dist/templates/trellis/scripts/common/cviauto_config.py +131 -0
- package/dist/templates/trellis/scripts/common/developer.py +190 -0
- package/dist/templates/trellis/scripts/common/git.py +31 -0
- package/dist/templates/trellis/scripts/common/git_context.py +106 -0
- package/dist/templates/trellis/scripts/common/io.py +37 -0
- package/dist/templates/trellis/scripts/common/log.py +45 -0
- package/dist/templates/trellis/scripts/common/packages_context.py +238 -0
- package/dist/templates/trellis/scripts/common/paths.py +447 -0
- package/dist/templates/trellis/scripts/common/safe_commit.py +315 -0
- package/dist/templates/trellis/scripts/common/session_context.py +821 -0
- package/dist/templates/trellis/scripts/common/task_context.py +223 -0
- package/dist/templates/trellis/scripts/common/task_queue.py +188 -0
- package/dist/templates/trellis/scripts/common/task_store.py +747 -0
- package/dist/templates/trellis/scripts/common/task_utils.py +274 -0
- package/dist/templates/trellis/scripts/common/tasks.py +112 -0
- package/dist/templates/trellis/scripts/common/types.py +110 -0
- package/dist/templates/trellis/scripts/common/workflow_phase.py +212 -0
- package/dist/templates/trellis/scripts/get_context.py +16 -0
- package/dist/templates/trellis/scripts/get_developer.py +26 -0
- package/dist/templates/trellis/scripts/hooks/linear_sync.py +243 -0
- package/dist/templates/trellis/scripts/init_developer.py +51 -0
- package/dist/templates/trellis/scripts/task.py +500 -0
- package/dist/templates/trellis/tasks/.gitkeep +0 -0
- package/dist/templates/trellis/workflow.md +697 -0
- package/dist/templates/zcode/agents/trellis-check.md +102 -0
- package/dist/templates/zcode/agents/trellis-implement.md +102 -0
- package/dist/templates/zcode/index.d.ts +15 -0
- package/dist/templates/zcode/index.d.ts.map +1 -0
- package/dist/templates/zcode/index.js +18 -0
- package/dist/templates/zcode/index.js.map +1 -0
- package/dist/types/ai-tools.d.ts +95 -0
- package/dist/types/ai-tools.d.ts.map +1 -0
- package/dist/types/ai-tools.js +330 -0
- package/dist/types/ai-tools.js.map +1 -0
- package/dist/types/migration.d.ts +125 -0
- package/dist/types/migration.d.ts.map +1 -0
- package/dist/types/migration.js +8 -0
- package/dist/types/migration.js.map +1 -0
- package/dist/utils/agent-refs.d.ts +31 -0
- package/dist/utils/agent-refs.d.ts.map +1 -0
- package/dist/utils/agent-refs.js +63 -0
- package/dist/utils/agent-refs.js.map +1 -0
- package/dist/utils/compare-versions.d.ts +12 -0
- package/dist/utils/compare-versions.d.ts.map +1 -0
- package/dist/utils/compare-versions.js +86 -0
- package/dist/utils/compare-versions.js.map +1 -0
- package/dist/utils/cwd-guard.d.ts +38 -0
- package/dist/utils/cwd-guard.d.ts.map +1 -0
- package/dist/utils/cwd-guard.js +62 -0
- package/dist/utils/cwd-guard.js.map +1 -0
- package/dist/utils/file-writer.d.ts +36 -0
- package/dist/utils/file-writer.d.ts.map +1 -0
- package/dist/utils/file-writer.js +203 -0
- package/dist/utils/file-writer.js.map +1 -0
- package/dist/utils/manifest-prune.d.ts +61 -0
- package/dist/utils/manifest-prune.d.ts.map +1 -0
- package/dist/utils/manifest-prune.js +137 -0
- package/dist/utils/manifest-prune.js.map +1 -0
- package/dist/utils/posix.d.ts +13 -0
- package/dist/utils/posix.d.ts.map +1 -0
- package/dist/utils/posix.js +15 -0
- package/dist/utils/posix.js.map +1 -0
- package/dist/utils/project-detector.d.ts +46 -0
- package/dist/utils/project-detector.d.ts.map +1 -0
- package/dist/utils/project-detector.js +666 -0
- package/dist/utils/project-detector.js.map +1 -0
- package/dist/utils/proxy.d.ts +25 -0
- package/dist/utils/proxy.d.ts.map +1 -0
- package/dist/utils/proxy.js +60 -0
- package/dist/utils/proxy.js.map +1 -0
- package/dist/utils/registry-config.d.ts +7 -0
- package/dist/utils/registry-config.d.ts.map +1 -0
- package/dist/utils/registry-config.js +171 -0
- package/dist/utils/registry-config.js.map +1 -0
- package/dist/utils/task-json.d.ts +13 -0
- package/dist/utils/task-json.d.ts.map +1 -0
- package/dist/utils/task-json.js +12 -0
- package/dist/utils/task-json.js.map +1 -0
- package/dist/utils/template-fetcher.d.ts +161 -0
- package/dist/utils/template-fetcher.d.ts.map +1 -0
- package/dist/utils/template-fetcher.js +956 -0
- package/dist/utils/template-fetcher.js.map +1 -0
- package/dist/utils/template-hash.d.ts +123 -0
- package/dist/utils/template-hash.d.ts.map +1 -0
- package/dist/utils/template-hash.js +334 -0
- package/dist/utils/template-hash.js.map +1 -0
- package/dist/utils/uninstall-scrubbers.d.ts +64 -0
- package/dist/utils/uninstall-scrubbers.d.ts.map +1 -0
- package/dist/utils/uninstall-scrubbers.js +367 -0
- package/dist/utils/uninstall-scrubbers.js.map +1 -0
- package/dist/utils/workflow-resolver.d.ts +86 -0
- package/dist/utils/workflow-resolver.d.ts.map +1 -0
- package/dist/utils/workflow-resolver.js +265 -0
- package/dist/utils/workflow-resolver.js.map +1 -0
- package/package.json +89 -0
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: trellis-check
|
|
3
|
+
description: |
|
|
4
|
+
Code quality check expert. Reviews code changes against specs and self-fixes issues.
|
|
5
|
+
color: "#4f46e5"
|
|
6
|
+
---
|
|
7
|
+
# Check Agent
|
|
8
|
+
|
|
9
|
+
You are the Check Agent in the Trellis workflow.
|
|
10
|
+
|
|
11
|
+
## Recursion Guard
|
|
12
|
+
|
|
13
|
+
You are already the `trellis-check` sub-agent that the main session dispatched. Do the review and fixes directly.
|
|
14
|
+
|
|
15
|
+
- Do NOT spawn another `trellis-check` or `trellis-implement` sub-agent.
|
|
16
|
+
- If SessionStart context, workflow-state breadcrumbs, or workflow.md say to dispatch `trellis-implement` / `trellis-check`, treat that as a main-session instruction that is already satisfied by your current role.
|
|
17
|
+
- Only the main session may dispatch Trellis implement/check agents. If more implementation work is needed, report that recommendation instead of spawning.
|
|
18
|
+
|
|
19
|
+
## Context
|
|
20
|
+
|
|
21
|
+
Before checking, read:
|
|
22
|
+
- `.cviauto/spec/` - Development guidelines
|
|
23
|
+
- Pre-commit checklist for quality standards
|
|
24
|
+
|
|
25
|
+
## Core Responsibilities
|
|
26
|
+
|
|
27
|
+
1. **Get code changes** - Use git diff to get uncommitted code
|
|
28
|
+
2. **Check against specs** - Verify code follows guidelines
|
|
29
|
+
3. **Self-fix** - Fix issues yourself, not just report them
|
|
30
|
+
4. **Run verification** - typecheck and lint
|
|
31
|
+
|
|
32
|
+
## Important
|
|
33
|
+
|
|
34
|
+
**Fix issues yourself**, don't just report them.
|
|
35
|
+
|
|
36
|
+
You have write and edit tools, you can modify code directly.
|
|
37
|
+
|
|
38
|
+
---
|
|
39
|
+
|
|
40
|
+
## Workflow
|
|
41
|
+
|
|
42
|
+
### Step 1: Get Changes
|
|
43
|
+
|
|
44
|
+
```bash
|
|
45
|
+
git diff --name-only # List changed files
|
|
46
|
+
git diff # View specific changes
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
### Step 2: Check Against Specs
|
|
50
|
+
|
|
51
|
+
Read relevant specs in `.cviauto/spec/` to check code:
|
|
52
|
+
|
|
53
|
+
- Does it follow directory structure conventions
|
|
54
|
+
- Does it follow naming conventions
|
|
55
|
+
- Does it follow code patterns
|
|
56
|
+
- Are there missing types
|
|
57
|
+
- Are there potential bugs
|
|
58
|
+
|
|
59
|
+
### Step 3: Self-Fix
|
|
60
|
+
|
|
61
|
+
After finding issues:
|
|
62
|
+
|
|
63
|
+
1. Fix the issue directly (use edit tool)
|
|
64
|
+
2. Record what was fixed
|
|
65
|
+
3. Continue checking other issues
|
|
66
|
+
|
|
67
|
+
### Step 4: Run Verification
|
|
68
|
+
|
|
69
|
+
Run project's lint and typecheck commands to verify changes.
|
|
70
|
+
|
|
71
|
+
If failed, fix issues and re-run.
|
|
72
|
+
|
|
73
|
+
---
|
|
74
|
+
|
|
75
|
+
## Report Format
|
|
76
|
+
|
|
77
|
+
```markdown
|
|
78
|
+
## Self-Check Complete
|
|
79
|
+
|
|
80
|
+
### Files Checked
|
|
81
|
+
|
|
82
|
+
- src/components/Feature.tsx
|
|
83
|
+
- src/hooks/useFeature.ts
|
|
84
|
+
|
|
85
|
+
### Issues Found and Fixed
|
|
86
|
+
|
|
87
|
+
1. `<file>:<line>` - <what was fixed>
|
|
88
|
+
2. `<file>:<line>` - <what was fixed>
|
|
89
|
+
|
|
90
|
+
### Issues Not Fixed
|
|
91
|
+
|
|
92
|
+
(If there are issues that cannot be self-fixed, list them here with reasons)
|
|
93
|
+
|
|
94
|
+
### Verification Results
|
|
95
|
+
|
|
96
|
+
- TypeCheck: Passed
|
|
97
|
+
- Lint: Passed
|
|
98
|
+
|
|
99
|
+
### Summary
|
|
100
|
+
|
|
101
|
+
Checked X files, found Y issues, all fixed.
|
|
102
|
+
```
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: trellis-implement
|
|
3
|
+
description: |
|
|
4
|
+
Code implementation expert. Understands specs and requirements, then implements features. No git commit allowed.
|
|
5
|
+
color: "#4f46e5"
|
|
6
|
+
---
|
|
7
|
+
# Implement Agent
|
|
8
|
+
|
|
9
|
+
You are the Implement Agent in the Trellis workflow.
|
|
10
|
+
|
|
11
|
+
## Recursion Guard
|
|
12
|
+
|
|
13
|
+
You are already the `trellis-implement` sub-agent that the main session dispatched. Do the implementation work directly.
|
|
14
|
+
|
|
15
|
+
- Do NOT spawn another `trellis-implement` or `trellis-check` sub-agent.
|
|
16
|
+
- If SessionStart context, workflow-state breadcrumbs, or workflow.md say to dispatch `trellis-implement` / `trellis-check`, treat that as a main-session instruction that is already satisfied by your current role.
|
|
17
|
+
- Only the main session may dispatch Trellis implement/check agents. If more parallel work is needed, report that recommendation instead of spawning.
|
|
18
|
+
|
|
19
|
+
## Context
|
|
20
|
+
|
|
21
|
+
Before implementing, read:
|
|
22
|
+
- `.cviauto/workflow.md` - Project workflow
|
|
23
|
+
- `.cviauto/spec/` - Development guidelines
|
|
24
|
+
- Task `prd.md` - Requirements document
|
|
25
|
+
- Task `info.md` - Technical design (if exists)
|
|
26
|
+
|
|
27
|
+
## Core Responsibilities
|
|
28
|
+
|
|
29
|
+
1. **Understand specs** - Read relevant spec files in `.cviauto/spec/`
|
|
30
|
+
2. **Understand requirements** - Read prd.md and info.md
|
|
31
|
+
3. **Implement features** - Write code following specs and design
|
|
32
|
+
4. **Self-check** - Ensure code quality
|
|
33
|
+
5. **Report results** - Report completion status
|
|
34
|
+
|
|
35
|
+
## Forbidden Operations
|
|
36
|
+
|
|
37
|
+
**Do NOT execute these git commands:**
|
|
38
|
+
|
|
39
|
+
- `git commit`
|
|
40
|
+
- `git push`
|
|
41
|
+
- `git merge`
|
|
42
|
+
|
|
43
|
+
---
|
|
44
|
+
|
|
45
|
+
## Workflow
|
|
46
|
+
|
|
47
|
+
### 1. Understand Specs
|
|
48
|
+
|
|
49
|
+
Read relevant specs based on task type:
|
|
50
|
+
|
|
51
|
+
- Spec layers: `.cviauto/spec/<package>/<layer>/`
|
|
52
|
+
- Shared guides: `.cviauto/spec/guides/`
|
|
53
|
+
|
|
54
|
+
### 2. Understand Requirements
|
|
55
|
+
|
|
56
|
+
Read the task's prd.md and info.md:
|
|
57
|
+
|
|
58
|
+
- What are the core requirements
|
|
59
|
+
- Key points of technical design
|
|
60
|
+
- Which files to modify/create
|
|
61
|
+
|
|
62
|
+
### 3. Implement Features
|
|
63
|
+
|
|
64
|
+
- Write code following specs and technical design
|
|
65
|
+
- Follow existing code patterns
|
|
66
|
+
- Only do what's required, no over-engineering
|
|
67
|
+
|
|
68
|
+
### 4. Verify
|
|
69
|
+
|
|
70
|
+
Run project's lint and typecheck commands to verify changes.
|
|
71
|
+
|
|
72
|
+
---
|
|
73
|
+
|
|
74
|
+
## Report Format
|
|
75
|
+
|
|
76
|
+
```markdown
|
|
77
|
+
## Implementation Complete
|
|
78
|
+
|
|
79
|
+
### Files Modified
|
|
80
|
+
|
|
81
|
+
- `src/components/Feature.tsx` - New component
|
|
82
|
+
- `src/hooks/useFeature.ts` - New hook
|
|
83
|
+
|
|
84
|
+
### Implementation Summary
|
|
85
|
+
|
|
86
|
+
1. Created Feature component...
|
|
87
|
+
2. Added useFeature hook...
|
|
88
|
+
|
|
89
|
+
### Verification Results
|
|
90
|
+
|
|
91
|
+
- Lint: Passed
|
|
92
|
+
- TypeCheck: Passed
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
---
|
|
96
|
+
|
|
97
|
+
## Code Standards
|
|
98
|
+
|
|
99
|
+
- Follow existing code patterns
|
|
100
|
+
- Don't add unnecessary abstractions
|
|
101
|
+
- Only do what's required, no over-engineering
|
|
102
|
+
- Keep code readable
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ZCode template module.
|
|
3
|
+
*
|
|
4
|
+
* ZCode (智谱) is an agentic AI coding tool that supports multi-agent
|
|
5
|
+
* collaboration. It stores agents as `.zcode/cli/agents/<name>.md`
|
|
6
|
+
* (Markdown with YAML frontmatter: name, description, color).
|
|
7
|
+
*
|
|
8
|
+
* Sub-agent definitions (trellis-implement, trellis-check) use pull-based
|
|
9
|
+
* context injection — no hooks are available, so agents read their own
|
|
10
|
+
* context files at startup.
|
|
11
|
+
*/
|
|
12
|
+
import { type AgentTemplate } from "../template-utils.js";
|
|
13
|
+
/** Sub-agent definitions (trellis-implement, trellis-check). */
|
|
14
|
+
export declare function getAllAgents(): AgentTemplate[];
|
|
15
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/templates/zcode/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAwB,KAAK,aAAa,EAAE,MAAM,sBAAsB,CAAC;AAIhF,gEAAgE;AAChE,wBAAgB,YAAY,IAAI,aAAa,EAAE,CAE9C"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ZCode template module.
|
|
3
|
+
*
|
|
4
|
+
* ZCode (智谱) is an agentic AI coding tool that supports multi-agent
|
|
5
|
+
* collaboration. It stores agents as `.zcode/cli/agents/<name>.md`
|
|
6
|
+
* (Markdown with YAML frontmatter: name, description, color).
|
|
7
|
+
*
|
|
8
|
+
* Sub-agent definitions (trellis-implement, trellis-check) use pull-based
|
|
9
|
+
* context injection — no hooks are available, so agents read their own
|
|
10
|
+
* context files at startup.
|
|
11
|
+
*/
|
|
12
|
+
import { createTemplateReader } from "../template-utils.js";
|
|
13
|
+
const { listMdAgents } = createTemplateReader(import.meta.url);
|
|
14
|
+
/** Sub-agent definitions (trellis-implement, trellis-check). */
|
|
15
|
+
export function getAllAgents() {
|
|
16
|
+
return listMdAgents();
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/templates/zcode/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,EAAE,oBAAoB,EAAsB,MAAM,sBAAsB,CAAC;AAEhF,MAAM,EAAE,YAAY,EAAE,GAAG,oBAAoB,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAE/D,gEAAgE;AAChE,MAAM,UAAU,YAAY;IAC1B,OAAO,YAAY,EAAE,CAAC;AACxB,CAAC"}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AI Tool Types and Registry
|
|
3
|
+
*
|
|
4
|
+
* Defines supported AI coding tools and which command templates they can use.
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* Supported AI coding tools
|
|
8
|
+
*/
|
|
9
|
+
export type AITool = "claude-code" | "cursor" | "opencode" | "codex" | "kilo" | "kiro" | "gemini" | "antigravity" | "devin" | "qoder" | "codebuddy" | "copilot" | "droid" | "pi" | "reasonix" | "zcode" | "trae";
|
|
10
|
+
/**
|
|
11
|
+
* Template directory categories
|
|
12
|
+
*/
|
|
13
|
+
export type TemplateDir = "common" | "claude" | "cursor" | "opencode" | "codex" | "kilo" | "kiro" | "gemini" | "antigravity" | "devin" | "qoder" | "codebuddy" | "copilot" | "droid" | "pi" | "reasonix" | "zcode" | "trae";
|
|
14
|
+
/**
|
|
15
|
+
* CLI flag names for platform selection (e.g., --claude, --cursor, --kilo, --kiro, --gemini, --antigravity)
|
|
16
|
+
* Must match keys in InitOptions (src/commands/init.ts)
|
|
17
|
+
*/
|
|
18
|
+
export type CliFlag = "claude" | "cursor" | "opencode" | "codex" | "kilo" | "kiro" | "gemini" | "antigravity" | "devin" | "qoder" | "codebuddy" | "copilot" | "droid" | "pi" | "reasonix" | "zcode" | "trae";
|
|
19
|
+
/**
|
|
20
|
+
* Template context for placeholder resolution.
|
|
21
|
+
* Controls how common templates are rendered per platform.
|
|
22
|
+
*/
|
|
23
|
+
export interface TemplateContext {
|
|
24
|
+
/** Prefix for cross-referencing other commands/skills */
|
|
25
|
+
cmdRefPrefix: "/cviauto:" | "/cviauto-" | "$" | "/" | "/skill cviauto-";
|
|
26
|
+
/** Description of AI executor actions shown in role tables */
|
|
27
|
+
executorAI: "Bash scripts or Task calls" | "Bash scripts or tool calls" | "Bash scripts or Agent calls" | "Bash scripts or file reads";
|
|
28
|
+
/** Label for user-invocable actions */
|
|
29
|
+
userActionLabel: "Slash commands" | "Skills" | "Workflows" | "Prompts" | "Commands";
|
|
30
|
+
/** Platform supports spawning sub-agents with isolated context */
|
|
31
|
+
agentCapable: boolean;
|
|
32
|
+
/** Platform has hook system (SessionStart, PreToolUse) */
|
|
33
|
+
hasHooks: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* CLI flag value for this platform (e.g. "claude", "codex", "kiro").
|
|
36
|
+
* Substituted into template commands via {{CLI_FLAG}} so rendered skill /
|
|
37
|
+
* command files can pass `--platform <flag>` to scripts that need to know
|
|
38
|
+
* the invoking platform, removing the need to re-detect at runtime.
|
|
39
|
+
* Duplicates the top-level `AIToolConfig.cliFlag` for convenience — the
|
|
40
|
+
* invariant is maintained in `AI_TOOLS` config blocks.
|
|
41
|
+
*/
|
|
42
|
+
cliFlag: CliFlag;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Configuration for an AI tool
|
|
46
|
+
*/
|
|
47
|
+
export interface AIToolConfig {
|
|
48
|
+
/** Display name of the tool */
|
|
49
|
+
name: string;
|
|
50
|
+
/** Command template directory names to include */
|
|
51
|
+
templateDirs: TemplateDir[];
|
|
52
|
+
/** Config directory name in the project root (e.g., ".claude") */
|
|
53
|
+
configDir: string;
|
|
54
|
+
/**
|
|
55
|
+
* Whether the platform supports the shared `.agents/skills/` layer
|
|
56
|
+
* (agentskills.io open standard). When true, `.agents/skills` is added
|
|
57
|
+
* to the platform's managed paths automatically.
|
|
58
|
+
*/
|
|
59
|
+
supportsAgentSkills?: boolean;
|
|
60
|
+
/** Additional managed paths beyond configDir (e.g., .github/hooks for Copilot) */
|
|
61
|
+
extraManagedPaths?: string[];
|
|
62
|
+
/** CLI flag name for --flag options (e.g., "claude" for --claude) */
|
|
63
|
+
cliFlag: CliFlag;
|
|
64
|
+
/** Whether this tool is checked by default in interactive init prompt */
|
|
65
|
+
defaultChecked: boolean;
|
|
66
|
+
/** Whether this tool uses Python hooks (affects Windows encoding detection) */
|
|
67
|
+
hasPythonHooks: boolean;
|
|
68
|
+
/** Template context for placeholder resolution in common templates */
|
|
69
|
+
templateContext: TemplateContext;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Registry of all supported AI tools and their configurations.
|
|
73
|
+
* This is the single source of truth for platform data.
|
|
74
|
+
*
|
|
75
|
+
* When adding a new platform, add an entry here and create:
|
|
76
|
+
* 1. src/configurators/{platform}.ts — configure function
|
|
77
|
+
* 2. src/templates/{platform}/ — template files
|
|
78
|
+
* 3. Register in src/configurators/index.ts — PLATFORM_FUNCTIONS
|
|
79
|
+
* 4. Add CLI flag in src/cli/index.ts
|
|
80
|
+
* 5. Add to InitOptions in src/commands/init.ts
|
|
81
|
+
*/
|
|
82
|
+
export declare const AI_TOOLS: Record<AITool, AIToolConfig>;
|
|
83
|
+
/**
|
|
84
|
+
* Get the configuration for a specific AI tool
|
|
85
|
+
*/
|
|
86
|
+
export declare function getToolConfig(tool: AITool): AIToolConfig;
|
|
87
|
+
/**
|
|
88
|
+
* Get all managed paths for a specific tool.
|
|
89
|
+
*/
|
|
90
|
+
export declare function getManagedPaths(tool: AITool): string[];
|
|
91
|
+
/**
|
|
92
|
+
* Get template directories for a specific tool
|
|
93
|
+
*/
|
|
94
|
+
export declare function getTemplateDirs(tool: AITool): TemplateDir[];
|
|
95
|
+
//# sourceMappingURL=ai-tools.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ai-tools.d.ts","sourceRoot":"","sources":["../../src/types/ai-tools.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;GAEG;AACH,MAAM,MAAM,MAAM,GACd,aAAa,GACb,QAAQ,GACR,UAAU,GACV,OAAO,GACP,MAAM,GACN,MAAM,GACN,QAAQ,GACR,aAAa,GACb,OAAO,GACP,OAAO,GACP,WAAW,GACX,SAAS,GACT,OAAO,GACP,IAAI,GACJ,UAAU,GACV,OAAO,GACP,MAAM,CAAC;AAEX;;GAEG;AACH,MAAM,MAAM,WAAW,GACnB,QAAQ,GACR,QAAQ,GACR,QAAQ,GACR,UAAU,GACV,OAAO,GACP,MAAM,GACN,MAAM,GACN,QAAQ,GACR,aAAa,GACb,OAAO,GACP,OAAO,GACP,WAAW,GACX,SAAS,GACT,OAAO,GACP,IAAI,GACJ,UAAU,GACV,OAAO,GACP,MAAM,CAAC;AAEX;;;GAGG;AACH,MAAM,MAAM,OAAO,GACf,QAAQ,GACR,QAAQ,GACR,UAAU,GACV,OAAO,GACP,MAAM,GACN,MAAM,GACN,QAAQ,GACR,aAAa,GACb,OAAO,GACP,OAAO,GACP,WAAW,GACX,SAAS,GACT,OAAO,GACP,IAAI,GACJ,UAAU,GACV,OAAO,GACP,MAAM,CAAC;AAEX;;;GAGG;AACH,MAAM,WAAW,eAAe;IAC9B,yDAAyD;IACzD,YAAY,EAAE,WAAW,GAAG,WAAW,GAAG,GAAG,GAAG,GAAG,GAAG,iBAAiB,CAAC;IACxE,8DAA8D;IAC9D,UAAU,EACN,4BAA4B,GAC5B,4BAA4B,GAC5B,6BAA6B,GAC7B,4BAA4B,CAAC;IACjC,uCAAuC;IACvC,eAAe,EACX,gBAAgB,GAChB,QAAQ,GACR,WAAW,GACX,SAAS,GACT,UAAU,CAAC;IACf,kEAAkE;IAClE,YAAY,EAAE,OAAO,CAAC;IACtB,0DAA0D;IAC1D,QAAQ,EAAE,OAAO,CAAC;IAClB;;;;;;;OAOG;IACH,OAAO,EAAE,OAAO,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,+BAA+B;IAC/B,IAAI,EAAE,MAAM,CAAC;IACb,kDAAkD;IAClD,YAAY,EAAE,WAAW,EAAE,CAAC;IAC5B,kEAAkE;IAClE,SAAS,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,kFAAkF;IAClF,iBAAiB,CAAC,EAAE,MAAM,EAAE,CAAC;IAC7B,qEAAqE;IACrE,OAAO,EAAE,OAAO,CAAC;IACjB,yEAAyE;IACzE,cAAc,EAAE,OAAO,CAAC;IACxB,+EAA+E;IAC/E,cAAc,EAAE,OAAO,CAAC;IACxB,sEAAsE;IACtE,eAAe,EAAE,eAAe,CAAC;CAClC;AAED;;;;;;;;;;GAUG;AACH,eAAO,MAAM,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,CA8RjD,CAAC;AAEF;;GAEG;AACH,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,YAAY,CAExD;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,CAUtD;AAED;;GAEG;AACH,wBAAgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,WAAW,EAAE,CAE3D"}
|
|
@@ -0,0 +1,330 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* AI Tool Types and Registry
|
|
3
|
+
*
|
|
4
|
+
* Defines supported AI coding tools and which command templates they can use.
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* Registry of all supported AI tools and their configurations.
|
|
8
|
+
* This is the single source of truth for platform data.
|
|
9
|
+
*
|
|
10
|
+
* When adding a new platform, add an entry here and create:
|
|
11
|
+
* 1. src/configurators/{platform}.ts — configure function
|
|
12
|
+
* 2. src/templates/{platform}/ — template files
|
|
13
|
+
* 3. Register in src/configurators/index.ts — PLATFORM_FUNCTIONS
|
|
14
|
+
* 4. Add CLI flag in src/cli/index.ts
|
|
15
|
+
* 5. Add to InitOptions in src/commands/init.ts
|
|
16
|
+
*/
|
|
17
|
+
export const AI_TOOLS = {
|
|
18
|
+
"claude-code": {
|
|
19
|
+
name: "Claude Code",
|
|
20
|
+
templateDirs: ["common", "claude"],
|
|
21
|
+
configDir: ".claude",
|
|
22
|
+
cliFlag: "claude",
|
|
23
|
+
defaultChecked: true,
|
|
24
|
+
hasPythonHooks: true,
|
|
25
|
+
templateContext: {
|
|
26
|
+
cmdRefPrefix: "/cviauto:",
|
|
27
|
+
executorAI: "Bash scripts or Task calls",
|
|
28
|
+
userActionLabel: "Slash commands",
|
|
29
|
+
agentCapable: true,
|
|
30
|
+
hasHooks: true,
|
|
31
|
+
cliFlag: "claude",
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
cursor: {
|
|
35
|
+
name: "Cursor",
|
|
36
|
+
templateDirs: ["common", "cursor"],
|
|
37
|
+
configDir: ".cursor",
|
|
38
|
+
cliFlag: "cursor",
|
|
39
|
+
defaultChecked: true,
|
|
40
|
+
hasPythonHooks: true,
|
|
41
|
+
templateContext: {
|
|
42
|
+
cmdRefPrefix: "/cviauto-",
|
|
43
|
+
executorAI: "Bash scripts or Task calls",
|
|
44
|
+
userActionLabel: "Slash commands",
|
|
45
|
+
agentCapable: true,
|
|
46
|
+
hasHooks: true,
|
|
47
|
+
cliFlag: "cursor",
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
opencode: {
|
|
51
|
+
name: "OpenCode",
|
|
52
|
+
templateDirs: ["common", "opencode"],
|
|
53
|
+
configDir: ".opencode",
|
|
54
|
+
cliFlag: "opencode",
|
|
55
|
+
defaultChecked: false,
|
|
56
|
+
hasPythonHooks: false,
|
|
57
|
+
templateContext: {
|
|
58
|
+
cmdRefPrefix: "/cviauto:",
|
|
59
|
+
executorAI: "Bash scripts or Task calls",
|
|
60
|
+
userActionLabel: "Slash commands",
|
|
61
|
+
agentCapable: true,
|
|
62
|
+
hasHooks: false,
|
|
63
|
+
cliFlag: "opencode",
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
codex: {
|
|
67
|
+
name: "Codex (also writes .agents/skills/ — read by Cursor, Gemini CLI, GitHub Copilot, Amp, Kimi Code)",
|
|
68
|
+
templateDirs: ["common", "codex"],
|
|
69
|
+
configDir: ".codex",
|
|
70
|
+
supportsAgentSkills: true,
|
|
71
|
+
cliFlag: "codex",
|
|
72
|
+
defaultChecked: false,
|
|
73
|
+
hasPythonHooks: true,
|
|
74
|
+
templateContext: {
|
|
75
|
+
cmdRefPrefix: "$",
|
|
76
|
+
executorAI: "Bash scripts or tool calls",
|
|
77
|
+
userActionLabel: "Skills",
|
|
78
|
+
agentCapable: true,
|
|
79
|
+
hasHooks: false,
|
|
80
|
+
cliFlag: "codex",
|
|
81
|
+
},
|
|
82
|
+
},
|
|
83
|
+
kilo: {
|
|
84
|
+
name: "Kilo CLI",
|
|
85
|
+
templateDirs: ["common", "kilo"],
|
|
86
|
+
configDir: ".kilocode",
|
|
87
|
+
cliFlag: "kilo",
|
|
88
|
+
defaultChecked: false,
|
|
89
|
+
hasPythonHooks: false,
|
|
90
|
+
templateContext: {
|
|
91
|
+
cmdRefPrefix: "/cviauto:",
|
|
92
|
+
executorAI: "Bash scripts or file reads",
|
|
93
|
+
userActionLabel: "Workflows",
|
|
94
|
+
agentCapable: false,
|
|
95
|
+
hasHooks: false,
|
|
96
|
+
cliFlag: "kilo",
|
|
97
|
+
},
|
|
98
|
+
},
|
|
99
|
+
kiro: {
|
|
100
|
+
name: "Kiro Code",
|
|
101
|
+
templateDirs: ["common", "kiro"],
|
|
102
|
+
configDir: ".kiro/skills",
|
|
103
|
+
extraManagedPaths: [".kiro/agents", ".kiro/hooks"],
|
|
104
|
+
cliFlag: "kiro",
|
|
105
|
+
defaultChecked: false,
|
|
106
|
+
hasPythonHooks: true,
|
|
107
|
+
templateContext: {
|
|
108
|
+
cmdRefPrefix: "$",
|
|
109
|
+
executorAI: "Bash scripts or tool calls",
|
|
110
|
+
userActionLabel: "Skills",
|
|
111
|
+
agentCapable: true,
|
|
112
|
+
hasHooks: true,
|
|
113
|
+
cliFlag: "kiro",
|
|
114
|
+
},
|
|
115
|
+
},
|
|
116
|
+
gemini: {
|
|
117
|
+
name: "Gemini CLI",
|
|
118
|
+
templateDirs: ["common", "gemini"],
|
|
119
|
+
configDir: ".gemini",
|
|
120
|
+
supportsAgentSkills: true,
|
|
121
|
+
cliFlag: "gemini",
|
|
122
|
+
defaultChecked: false,
|
|
123
|
+
hasPythonHooks: true,
|
|
124
|
+
templateContext: {
|
|
125
|
+
cmdRefPrefix: "/cviauto:",
|
|
126
|
+
executorAI: "Bash scripts or tool calls",
|
|
127
|
+
userActionLabel: "Slash commands",
|
|
128
|
+
agentCapable: true,
|
|
129
|
+
hasHooks: true,
|
|
130
|
+
cliFlag: "gemini",
|
|
131
|
+
},
|
|
132
|
+
},
|
|
133
|
+
antigravity: {
|
|
134
|
+
name: "Antigravity",
|
|
135
|
+
templateDirs: ["common", "antigravity"],
|
|
136
|
+
configDir: ".agent/workflows",
|
|
137
|
+
extraManagedPaths: [".agent/skills"],
|
|
138
|
+
cliFlag: "antigravity",
|
|
139
|
+
defaultChecked: false,
|
|
140
|
+
hasPythonHooks: false,
|
|
141
|
+
templateContext: {
|
|
142
|
+
cmdRefPrefix: "/",
|
|
143
|
+
executorAI: "Bash scripts or file reads",
|
|
144
|
+
userActionLabel: "Workflows",
|
|
145
|
+
agentCapable: false,
|
|
146
|
+
hasHooks: false,
|
|
147
|
+
cliFlag: "antigravity",
|
|
148
|
+
},
|
|
149
|
+
},
|
|
150
|
+
devin: {
|
|
151
|
+
name: "Devin",
|
|
152
|
+
templateDirs: ["common", "devin"],
|
|
153
|
+
configDir: ".devin/workflows",
|
|
154
|
+
extraManagedPaths: [".devin/skills"],
|
|
155
|
+
cliFlag: "devin",
|
|
156
|
+
defaultChecked: false,
|
|
157
|
+
hasPythonHooks: false,
|
|
158
|
+
templateContext: {
|
|
159
|
+
cmdRefPrefix: "/cviauto-",
|
|
160
|
+
executorAI: "Bash scripts or file reads",
|
|
161
|
+
userActionLabel: "Workflows",
|
|
162
|
+
agentCapable: false,
|
|
163
|
+
hasHooks: false,
|
|
164
|
+
cliFlag: "devin",
|
|
165
|
+
},
|
|
166
|
+
},
|
|
167
|
+
qoder: {
|
|
168
|
+
name: "Qoder",
|
|
169
|
+
templateDirs: ["common", "qoder"],
|
|
170
|
+
configDir: ".qoder",
|
|
171
|
+
cliFlag: "qoder",
|
|
172
|
+
defaultChecked: false,
|
|
173
|
+
hasPythonHooks: true,
|
|
174
|
+
templateContext: {
|
|
175
|
+
cmdRefPrefix: "$",
|
|
176
|
+
executorAI: "Bash scripts or tool calls",
|
|
177
|
+
userActionLabel: "Skills",
|
|
178
|
+
agentCapable: true,
|
|
179
|
+
hasHooks: true,
|
|
180
|
+
cliFlag: "qoder",
|
|
181
|
+
},
|
|
182
|
+
},
|
|
183
|
+
codebuddy: {
|
|
184
|
+
name: "CodeBuddy",
|
|
185
|
+
templateDirs: ["common", "codebuddy"],
|
|
186
|
+
configDir: ".codebuddy",
|
|
187
|
+
cliFlag: "codebuddy",
|
|
188
|
+
defaultChecked: false,
|
|
189
|
+
hasPythonHooks: true,
|
|
190
|
+
templateContext: {
|
|
191
|
+
cmdRefPrefix: "/cviauto:",
|
|
192
|
+
executorAI: "Bash scripts or Task calls",
|
|
193
|
+
userActionLabel: "Slash commands",
|
|
194
|
+
agentCapable: true,
|
|
195
|
+
hasHooks: true,
|
|
196
|
+
cliFlag: "codebuddy",
|
|
197
|
+
},
|
|
198
|
+
},
|
|
199
|
+
copilot: {
|
|
200
|
+
name: "GitHub Copilot",
|
|
201
|
+
templateDirs: ["common", "copilot"],
|
|
202
|
+
configDir: ".github/copilot",
|
|
203
|
+
extraManagedPaths: [
|
|
204
|
+
".github/agents",
|
|
205
|
+
".github/hooks",
|
|
206
|
+
".github/prompts",
|
|
207
|
+
".github/skills",
|
|
208
|
+
],
|
|
209
|
+
cliFlag: "copilot",
|
|
210
|
+
defaultChecked: false,
|
|
211
|
+
hasPythonHooks: true,
|
|
212
|
+
templateContext: {
|
|
213
|
+
cmdRefPrefix: "/",
|
|
214
|
+
executorAI: "Bash scripts or tool calls",
|
|
215
|
+
userActionLabel: "Prompts",
|
|
216
|
+
agentCapable: true,
|
|
217
|
+
hasHooks: true,
|
|
218
|
+
cliFlag: "copilot",
|
|
219
|
+
},
|
|
220
|
+
},
|
|
221
|
+
droid: {
|
|
222
|
+
name: "Factory Droid",
|
|
223
|
+
templateDirs: ["common", "droid"],
|
|
224
|
+
configDir: ".factory",
|
|
225
|
+
cliFlag: "droid",
|
|
226
|
+
defaultChecked: false,
|
|
227
|
+
hasPythonHooks: true,
|
|
228
|
+
templateContext: {
|
|
229
|
+
cmdRefPrefix: "/cviauto-",
|
|
230
|
+
executorAI: "Bash scripts or Task calls",
|
|
231
|
+
userActionLabel: "Slash commands",
|
|
232
|
+
agentCapable: true,
|
|
233
|
+
hasHooks: true,
|
|
234
|
+
cliFlag: "droid",
|
|
235
|
+
},
|
|
236
|
+
},
|
|
237
|
+
pi: {
|
|
238
|
+
name: "Pi Agent",
|
|
239
|
+
templateDirs: ["common", "pi"],
|
|
240
|
+
configDir: ".pi",
|
|
241
|
+
cliFlag: "pi",
|
|
242
|
+
defaultChecked: false,
|
|
243
|
+
hasPythonHooks: false,
|
|
244
|
+
templateContext: {
|
|
245
|
+
cmdRefPrefix: "/cviauto-",
|
|
246
|
+
executorAI: "Bash scripts or tool calls",
|
|
247
|
+
userActionLabel: "Slash commands",
|
|
248
|
+
agentCapable: true,
|
|
249
|
+
hasHooks: true,
|
|
250
|
+
cliFlag: "pi",
|
|
251
|
+
},
|
|
252
|
+
},
|
|
253
|
+
reasonix: {
|
|
254
|
+
name: "Reasonix",
|
|
255
|
+
templateDirs: ["common", "reasonix"],
|
|
256
|
+
configDir: ".reasonix",
|
|
257
|
+
cliFlag: "reasonix",
|
|
258
|
+
defaultChecked: false,
|
|
259
|
+
hasPythonHooks: false,
|
|
260
|
+
templateContext: {
|
|
261
|
+
cmdRefPrefix: "/skill cviauto-",
|
|
262
|
+
executorAI: "Bash scripts or tool calls",
|
|
263
|
+
userActionLabel: "Skills",
|
|
264
|
+
agentCapable: true,
|
|
265
|
+
hasHooks: false,
|
|
266
|
+
cliFlag: "reasonix",
|
|
267
|
+
},
|
|
268
|
+
},
|
|
269
|
+
zcode: {
|
|
270
|
+
name: "ZCode",
|
|
271
|
+
templateDirs: ["common", "zcode"],
|
|
272
|
+
configDir: ".zcode",
|
|
273
|
+
supportsAgentSkills: true,
|
|
274
|
+
extraManagedPaths: [".zcode/cli/agents", ".zcode/commands"],
|
|
275
|
+
cliFlag: "zcode",
|
|
276
|
+
defaultChecked: false,
|
|
277
|
+
hasPythonHooks: false,
|
|
278
|
+
templateContext: {
|
|
279
|
+
cmdRefPrefix: "/cviauto:",
|
|
280
|
+
executorAI: "Bash scripts or Agent calls",
|
|
281
|
+
userActionLabel: "Skills",
|
|
282
|
+
agentCapable: true,
|
|
283
|
+
hasHooks: false,
|
|
284
|
+
cliFlag: "zcode",
|
|
285
|
+
},
|
|
286
|
+
},
|
|
287
|
+
trae: {
|
|
288
|
+
name: "Trae",
|
|
289
|
+
templateDirs: ["common", "trae"],
|
|
290
|
+
configDir: ".trae",
|
|
291
|
+
cliFlag: "trae",
|
|
292
|
+
defaultChecked: false,
|
|
293
|
+
hasPythonHooks: true,
|
|
294
|
+
templateContext: {
|
|
295
|
+
cmdRefPrefix: "/cviauto-",
|
|
296
|
+
executorAI: "Bash scripts or tool calls",
|
|
297
|
+
userActionLabel: "Commands",
|
|
298
|
+
agentCapable: true,
|
|
299
|
+
hasHooks: true,
|
|
300
|
+
cliFlag: "trae",
|
|
301
|
+
},
|
|
302
|
+
},
|
|
303
|
+
};
|
|
304
|
+
/**
|
|
305
|
+
* Get the configuration for a specific AI tool
|
|
306
|
+
*/
|
|
307
|
+
export function getToolConfig(tool) {
|
|
308
|
+
return AI_TOOLS[tool];
|
|
309
|
+
}
|
|
310
|
+
/**
|
|
311
|
+
* Get all managed paths for a specific tool.
|
|
312
|
+
*/
|
|
313
|
+
export function getManagedPaths(tool) {
|
|
314
|
+
const config = AI_TOOLS[tool];
|
|
315
|
+
const paths = [config.configDir];
|
|
316
|
+
if (config.supportsAgentSkills) {
|
|
317
|
+
paths.push(".agents/skills");
|
|
318
|
+
}
|
|
319
|
+
if (config.extraManagedPaths) {
|
|
320
|
+
paths.push(...config.extraManagedPaths);
|
|
321
|
+
}
|
|
322
|
+
return paths;
|
|
323
|
+
}
|
|
324
|
+
/**
|
|
325
|
+
* Get template directories for a specific tool
|
|
326
|
+
*/
|
|
327
|
+
export function getTemplateDirs(tool) {
|
|
328
|
+
return AI_TOOLS[tool].templateDirs;
|
|
329
|
+
}
|
|
330
|
+
//# sourceMappingURL=ai-tools.js.map
|