@blulotus/trellis 0.7.0 → 0.7.2
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/README.md +2 -2
- package/dist/cli/index.js +2 -29
- package/dist/cli/index.js.map +1 -1
- package/dist/commands/init.d.ts +0 -22
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +5 -12
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/mem.d.ts +2 -2
- package/dist/commands/mem.d.ts.map +1 -1
- package/dist/commands/mem.js +7 -40
- package/dist/commands/mem.js.map +1 -1
- package/dist/commands/uninstall.d.ts +1 -1
- package/dist/commands/uninstall.d.ts.map +1 -1
- package/dist/commands/uninstall.js +4 -34
- package/dist/commands/uninstall.js.map +1 -1
- package/dist/commands/update.d.ts.map +1 -1
- package/dist/commands/update.js +2 -28
- package/dist/commands/update.js.map +1 -1
- package/dist/configurators/index.d.ts.map +1 -1
- package/dist/configurators/index.js +7 -73
- package/dist/configurators/index.js.map +1 -1
- package/dist/configurators/shared.d.ts +18 -70
- package/dist/configurators/shared.d.ts.map +1 -1
- package/dist/configurators/shared.js +20 -299
- package/dist/configurators/shared.js.map +1 -1
- package/dist/configurators/workflow.d.ts +0 -14
- package/dist/configurators/workflow.d.ts.map +1 -1
- package/dist/configurators/workflow.js +1 -37
- package/dist/configurators/workflow.js.map +1 -1
- package/dist/migrations/manifests/0.1.9.json +0 -12
- package/dist/migrations/manifests/0.2.14.json +0 -84
- package/dist/migrations/manifests/0.3.0-beta.0.json +0 -87
- package/dist/migrations/manifests/0.3.4.json +1 -13
- package/dist/migrations/manifests/0.4.0-beta.1.json +24 -176
- package/dist/migrations/manifests/0.5.0-beta.0.json +67 -1203
- package/dist/migrations/manifests/0.5.0-beta.15.json +0 -96
- package/dist/migrations/manifests/0.5.0-beta.5.json +0 -168
- package/dist/migrations/manifests/0.5.0-beta.9.json +0 -20
- package/dist/migrations/manifests/0.6.0-beta.23.json +0 -66
- package/dist/migrations/manifests/0.6.3.json +1 -16
- package/dist/migrations/manifests/0.6.6.json +1 -9
- package/dist/migrations/manifests/0.7.0.json +9 -0
- package/dist/migrations/manifests/0.7.1.json +9 -0
- package/dist/migrations/manifests/0.7.2.json +9 -0
- package/dist/migrations/manifests/0.8.0.json +9 -0
- package/dist/templates/codex/hooks/session-start.py +37 -13
- package/dist/templates/codex/hooks.json +5 -0
- package/dist/templates/common/bundled-skills/trellis-meta/SKILL.md +5 -5
- package/dist/templates/common/bundled-skills/trellis-meta/references/customize-local/change-agents.md +0 -10
- package/dist/templates/common/bundled-skills/trellis-meta/references/customize-local/change-hooks.md +1 -1
- package/dist/templates/common/bundled-skills/trellis-meta/references/customize-local/change-skills-or-commands.md +1 -13
- package/dist/templates/common/bundled-skills/trellis-meta/references/customize-local/overview.md +2 -2
- package/dist/templates/common/bundled-skills/trellis-meta/references/local-architecture/bundled-skills.md +9 -28
- package/dist/templates/common/bundled-skills/trellis-meta/references/local-architecture/generated-files.md +5 -5
- package/dist/templates/common/bundled-skills/trellis-meta/references/local-architecture/overview.md +1 -1
- package/dist/templates/common/bundled-skills/trellis-meta/references/platform-files/agents.md +1 -17
- package/dist/templates/common/bundled-skills/trellis-meta/references/platform-files/hooks-and-settings.md +4 -12
- package/dist/templates/common/bundled-skills/trellis-meta/references/platform-files/overview.md +6 -6
- package/dist/templates/common/bundled-skills/trellis-meta/references/platform-files/platform-map.md +5 -75
- package/dist/templates/common/bundled-skills/trellis-meta/references/platform-files/skills-and-commands.md +0 -16
- package/dist/templates/common/bundled-skills/trellis-session-insight/SKILL.md +1 -1
- package/dist/templates/common/bundled-skills/trellis-session-insight/references/cli-quick-reference.md +2 -3
- package/dist/templates/common/commands/continue.md +24 -4
- package/dist/templates/common/commands/finish-work.md +19 -9
- package/dist/templates/common/commands/start.md +38 -29
- package/dist/templates/extract.d.ts +0 -10
- package/dist/templates/extract.d.ts.map +1 -1
- package/dist/templates/extract.js +0 -24
- package/dist/templates/extract.js.map +1 -1
- package/dist/templates/markdown/spec/guides/code-reuse-thinking-guide.md.txt +7 -9
- package/dist/templates/markdown/spec/guides/cross-layer-thinking-guide.md.txt +4 -8
- package/dist/templates/markdown/spec/guides/cross-platform-thinking-guide.md.txt +5 -5
- package/dist/templates/shared-hooks/index.d.ts +11 -43
- package/dist/templates/shared-hooks/index.d.ts.map +1 -1
- package/dist/templates/shared-hooks/index.js +9 -86
- package/dist/templates/shared-hooks/index.js.map +1 -1
- package/dist/templates/shared-hooks/inject-spec-context.py +1 -1
- package/dist/templates/shared-hooks/inject-subagent-context.py +23 -85
- package/dist/templates/shared-hooks/inject-workflow-state.py +56 -86
- package/dist/templates/shared-hooks/session-start.py +76 -98
- package/dist/templates/trellis/config.yaml +8 -8
- package/dist/templates/trellis/index.d.ts +1 -4
- package/dist/templates/trellis/index.d.ts.map +1 -1
- package/dist/templates/trellis/index.js +1 -5
- package/dist/templates/trellis/index.js.map +1 -1
- package/dist/templates/trellis/scripts/add_session.py +12 -11
- package/dist/templates/trellis/scripts/common/__init__.py +2 -0
- package/dist/templates/trellis/scripts/common/active_task.py +80 -152
- package/dist/templates/trellis/scripts/common/config.py +7 -7
- package/dist/templates/trellis/scripts/common/git_context.py +1 -1
- package/dist/templates/trellis/scripts/common/session_context.py +2 -2
- package/dist/templates/trellis/scripts/common/spec_inject.py +2 -2
- package/dist/templates/trellis/scripts/common/task_store.py +8 -28
- package/dist/templates/trellis/scripts/common/workflow_phase.py +4 -8
- package/dist/templates/trellis/scripts/get_context.py +2 -2
- package/dist/templates/trellis/scripts/init_developer.py +1 -1
- package/dist/templates/trellis/scripts/task.py +90 -57
- package/dist/templates/trellis/workflow.md +44 -66
- package/dist/types/ai-tools.d.ts +10 -10
- package/dist/types/ai-tools.d.ts.map +1 -1
- package/dist/types/ai-tools.js +3 -434
- package/dist/types/ai-tools.js.map +1 -1
- package/dist/utils/uninstall-scrubbers.d.ts +3 -18
- package/dist/utils/uninstall-scrubbers.d.ts.map +1 -1
- package/dist/utils/uninstall-scrubbers.js +24 -154
- package/dist/utils/uninstall-scrubbers.js.map +1 -1
- package/package.json +2 -2
- package/dist/configurators/antigravity.d.ts +0 -7
- package/dist/configurators/antigravity.d.ts.map +0 -1
- package/dist/configurators/antigravity.js +0 -11
- package/dist/configurators/antigravity.js.map +0 -1
- package/dist/configurators/codebuddy.d.ts +0 -10
- package/dist/configurators/codebuddy.d.ts.map +0 -1
- package/dist/configurators/codebuddy.js +0 -24
- package/dist/configurators/codebuddy.js.map +0 -1
- package/dist/configurators/copilot.d.ts +0 -14
- package/dist/configurators/copilot.d.ts.map +0 -1
- package/dist/configurators/copilot.js +0 -46
- package/dist/configurators/copilot.js.map +0 -1
- package/dist/configurators/cursor.d.ts +0 -10
- package/dist/configurators/cursor.d.ts.map +0 -1
- package/dist/configurators/cursor.js +0 -23
- package/dist/configurators/cursor.js.map +0 -1
- package/dist/configurators/devin.d.ts +0 -8
- package/dist/configurators/devin.d.ts.map +0 -1
- package/dist/configurators/devin.js +0 -12
- package/dist/configurators/devin.js.map +0 -1
- package/dist/configurators/droid.d.ts +0 -10
- package/dist/configurators/droid.d.ts.map +0 -1
- package/dist/configurators/droid.js +0 -24
- package/dist/configurators/droid.js.map +0 -1
- package/dist/configurators/dsh.d.ts +0 -26
- package/dist/configurators/dsh.d.ts.map +0 -1
- package/dist/configurators/dsh.js +0 -76
- package/dist/configurators/dsh.js.map +0 -1
- package/dist/configurators/gemini.d.ts +0 -18
- package/dist/configurators/gemini.d.ts.map +0 -1
- package/dist/configurators/gemini.js +0 -39
- package/dist/configurators/gemini.js.map +0 -1
- package/dist/configurators/grok.d.ts +0 -17
- package/dist/configurators/grok.d.ts.map +0 -1
- package/dist/configurators/grok.js +0 -38
- package/dist/configurators/grok.js.map +0 -1
- package/dist/configurators/kilo.d.ts +0 -7
- package/dist/configurators/kilo.d.ts.map +0 -1
- package/dist/configurators/kilo.js +0 -11
- package/dist/configurators/kilo.js.map +0 -1
- package/dist/configurators/kimi.d.ts +0 -26
- package/dist/configurators/kimi.d.ts.map +0 -1
- package/dist/configurators/kimi.js +0 -74
- package/dist/configurators/kimi.js.map +0 -1
- package/dist/configurators/kiro.d.ts +0 -11
- package/dist/configurators/kiro.d.ts.map +0 -1
- package/dist/configurators/kiro.js +0 -30
- package/dist/configurators/kiro.js.map +0 -1
- package/dist/configurators/omp.d.ts +0 -6
- package/dist/configurators/omp.d.ts.map +0 -1
- package/dist/configurators/omp.js +0 -28
- package/dist/configurators/omp.js.map +0 -1
- package/dist/configurators/opencode.d.ts +0 -5
- package/dist/configurators/opencode.d.ts.map +0 -1
- package/dist/configurators/opencode.js +0 -84
- package/dist/configurators/opencode.js.map +0 -1
- package/dist/configurators/pi.d.ts +0 -5
- package/dist/configurators/pi.d.ts.map +0 -1
- package/dist/configurators/pi.js +0 -39
- package/dist/configurators/pi.js.map +0 -1
- package/dist/configurators/qoder.d.ts +0 -12
- package/dist/configurators/qoder.d.ts.map +0 -1
- package/dist/configurators/qoder.js +0 -30
- package/dist/configurators/qoder.js.map +0 -1
- package/dist/configurators/reasonix.d.ts +0 -17
- package/dist/configurators/reasonix.d.ts.map +0 -1
- package/dist/configurators/reasonix.js +0 -37
- package/dist/configurators/reasonix.js.map +0 -1
- package/dist/configurators/snow.d.ts +0 -25
- package/dist/configurators/snow.d.ts.map +0 -1
- package/dist/configurators/snow.js +0 -69
- package/dist/configurators/snow.js.map +0 -1
- package/dist/configurators/trae.d.ts +0 -16
- package/dist/configurators/trae.d.ts.map +0 -1
- package/dist/configurators/trae.js +0 -34
- package/dist/configurators/trae.js.map +0 -1
- package/dist/configurators/zcode.d.ts +0 -23
- package/dist/configurators/zcode.d.ts.map +0 -1
- package/dist/configurators/zcode.js +0 -63
- package/dist/configurators/zcode.js.map +0 -1
- package/dist/templates/codebuddy/agents/trellis-check.md +0 -115
- package/dist/templates/codebuddy/agents/trellis-implement.md +0 -115
- package/dist/templates/codebuddy/agents/trellis-research.md +0 -137
- package/dist/templates/codebuddy/index.d.ts +0 -15
- package/dist/templates/codebuddy/index.d.ts.map +0 -1
- package/dist/templates/codebuddy/index.js +0 -15
- package/dist/templates/codebuddy/index.js.map +0 -1
- package/dist/templates/codebuddy/settings.json +0 -69
- package/dist/templates/copilot/copilot-instructions.md +0 -11
- package/dist/templates/copilot/hooks/session-start.py +0 -564
- package/dist/templates/copilot/hooks.json +0 -19
- package/dist/templates/copilot/index.d.ts +0 -28
- package/dist/templates/copilot/index.d.ts.map +0 -1
- package/dist/templates/copilot/index.js +0 -61
- package/dist/templates/copilot/index.js.map +0 -1
- package/dist/templates/copilot/prompts/before-dev.prompt.md +0 -39
- package/dist/templates/copilot/prompts/brainstorm.prompt.md +0 -173
- package/dist/templates/copilot/prompts/break-loop.prompt.md +0 -129
- package/dist/templates/copilot/prompts/check-cross-layer.prompt.md +0 -170
- package/dist/templates/copilot/prompts/check.prompt.md +0 -110
- package/dist/templates/copilot/prompts/create-command.prompt.md +0 -116
- package/dist/templates/copilot/prompts/finish-work.prompt.md +0 -99
- package/dist/templates/copilot/prompts/integrate-skill.prompt.md +0 -223
- package/dist/templates/copilot/prompts/onboard.prompt.md +0 -362
- package/dist/templates/copilot/prompts/parallel.prompt.md +0 -204
- package/dist/templates/copilot/prompts/record-session.prompt.md +0 -66
- package/dist/templates/copilot/prompts/start.prompt.md +0 -63
- package/dist/templates/copilot/prompts/update-spec.prompt.md +0 -358
- package/dist/templates/cursor/agents/trellis-check.md +0 -114
- package/dist/templates/cursor/agents/trellis-implement.md +0 -114
- package/dist/templates/cursor/agents/trellis-research.md +0 -136
- package/dist/templates/cursor/hooks.json +0 -24
- package/dist/templates/cursor/index.d.ts +0 -13
- package/dist/templates/cursor/index.d.ts.map +0 -1
- package/dist/templates/cursor/index.js +0 -13
- package/dist/templates/cursor/index.js.map +0 -1
- package/dist/templates/droid/droids/trellis-check.md +0 -107
- package/dist/templates/droid/droids/trellis-implement.md +0 -107
- package/dist/templates/droid/droids/trellis-research.md +0 -137
- package/dist/templates/droid/index.d.ts +0 -15
- package/dist/templates/droid/index.d.ts.map +0 -1
- package/dist/templates/droid/index.js +0 -15
- package/dist/templates/droid/index.js.map +0 -1
- package/dist/templates/droid/settings.json +0 -69
- package/dist/templates/dsh/DSH.md +0 -80
- package/dist/templates/dsh/agents/trellis-check.md +0 -99
- package/dist/templates/dsh/agents/trellis-implement.md +0 -106
- package/dist/templates/dsh/agents/trellis-research.md +0 -134
- package/dist/templates/dsh/index.d.ts +0 -22
- package/dist/templates/dsh/index.d.ts.map +0 -1
- package/dist/templates/dsh/index.js +0 -27
- package/dist/templates/dsh/index.js.map +0 -1
- package/dist/templates/gemini/agents/trellis-check.md +0 -107
- package/dist/templates/gemini/agents/trellis-implement.md +0 -107
- package/dist/templates/gemini/agents/trellis-research.md +0 -136
- package/dist/templates/gemini/index.d.ts +0 -13
- package/dist/templates/gemini/index.d.ts.map +0 -1
- package/dist/templates/gemini/index.js +0 -13
- package/dist/templates/gemini/index.js.map +0 -1
- package/dist/templates/gemini/settings.json +0 -40
- package/dist/templates/grok/agents/trellis-check.md +0 -106
- package/dist/templates/grok/agents/trellis-implement.md +0 -121
- package/dist/templates/grok/agents/trellis-research.md +0 -146
- package/dist/templates/grok/index.d.ts +0 -16
- package/dist/templates/grok/index.d.ts.map +0 -1
- package/dist/templates/grok/index.js +0 -19
- package/dist/templates/grok/index.js.map +0 -1
- package/dist/templates/kimi/agents/trellis-check.md +0 -104
- package/dist/templates/kimi/agents/trellis-implement.md +0 -120
- package/dist/templates/kimi/agents/trellis-research.md +0 -144
- package/dist/templates/kimi/index.d.ts +0 -20
- package/dist/templates/kimi/index.d.ts.map +0 -1
- package/dist/templates/kimi/index.js +0 -23
- package/dist/templates/kimi/index.js.map +0 -1
- package/dist/templates/kiro/agents/trellis-check.json +0 -26
- package/dist/templates/kiro/agents/trellis-implement.json +0 -26
- package/dist/templates/kiro/agents/trellis-research.json +0 -30
- package/dist/templates/kiro/agents/trellis.json +0 -34
- package/dist/templates/kiro/hooks/trellis-workflow-state.kiro.hook +0 -14
- package/dist/templates/kiro/index.d.ts +0 -32
- package/dist/templates/kiro/index.d.ts.map +0 -1
- package/dist/templates/kiro/index.js +0 -28
- package/dist/templates/kiro/index.js.map +0 -1
- package/dist/templates/omp/agents/trellis-check.md +0 -41
- package/dist/templates/omp/agents/trellis-implement.md +0 -55
- package/dist/templates/omp/agents/trellis-research.md +0 -30
- package/dist/templates/omp/extensions/trellis/index.ts.txt +0 -592
- package/dist/templates/omp/index.d.ts +0 -4
- package/dist/templates/omp/index.d.ts.map +0 -1
- package/dist/templates/omp/index.js +0 -9
- package/dist/templates/omp/index.js.map +0 -1
- package/dist/templates/opencode/agents/trellis-check.md +0 -122
- package/dist/templates/opencode/agents/trellis-implement.md +0 -123
- package/dist/templates/opencode/agents/trellis-research.md +0 -145
- package/dist/templates/opencode/lib/context-visibility.js +0 -86
- package/dist/templates/opencode/lib/session-utils.js +0 -526
- package/dist/templates/opencode/lib/trellis-context.js +0 -627
- package/dist/templates/opencode/package.json +0 -5
- package/dist/templates/opencode/plugins/inject-spec-context.js +0 -121
- package/dist/templates/opencode/plugins/inject-subagent-context.js +0 -569
- package/dist/templates/opencode/plugins/inject-workflow-state.js +0 -340
- package/dist/templates/opencode/plugins/session-start.js +0 -74
- package/dist/templates/pi/agents/trellis-check.md +0 -37
- package/dist/templates/pi/agents/trellis-implement.md +0 -52
- package/dist/templates/pi/agents/trellis-research.md +0 -25
- package/dist/templates/pi/extensions/trellis/index.ts.txt +0 -2033
- package/dist/templates/pi/index.d.ts +0 -5
- package/dist/templates/pi/index.d.ts.map +0 -1
- package/dist/templates/pi/index.js +0 -12
- package/dist/templates/pi/index.js.map +0 -1
- package/dist/templates/pi/settings.json +0 -9
- package/dist/templates/qoder/agents/trellis-check.md +0 -108
- package/dist/templates/qoder/agents/trellis-implement.md +0 -108
- package/dist/templates/qoder/agents/trellis-research.md +0 -137
- package/dist/templates/qoder/index.d.ts +0 -15
- package/dist/templates/qoder/index.d.ts.map +0 -1
- package/dist/templates/qoder/index.js +0 -15
- package/dist/templates/qoder/index.js.map +0 -1
- package/dist/templates/qoder/settings.json +0 -59
- package/dist/templates/reasonix/agents/trellis-check.md +0 -36
- package/dist/templates/reasonix/agents/trellis-implement.md +0 -51
- package/dist/templates/reasonix/index.d.ts +0 -13
- package/dist/templates/reasonix/index.d.ts.map +0 -1
- package/dist/templates/reasonix/index.js +0 -16
- package/dist/templates/reasonix/index.js.map +0 -1
- package/dist/templates/shared-hooks/inject-shell-session-context.py +0 -292
- package/dist/templates/snow/SNOW.md +0 -86
- package/dist/templates/snow/agents/trellis-check.md +0 -136
- package/dist/templates/snow/agents/trellis-implement.md +0 -158
- package/dist/templates/snow/agents/trellis-research.md +0 -114
- package/dist/templates/snow/hooks/beforeSubAgentStart.json +0 -15
- package/dist/templates/snow/hooks/onSessionStart.json +0 -15
- package/dist/templates/snow/hooks/onUserMessage.json +0 -15
- package/dist/templates/snow/hooks/write-trellis-context.py +0 -644
- package/dist/templates/snow/index.d.ts +0 -26
- package/dist/templates/snow/index.d.ts.map +0 -1
- package/dist/templates/snow/index.js +0 -36
- package/dist/templates/snow/index.js.map +0 -1
- package/dist/templates/trae/agents/trellis-check.md +0 -108
- package/dist/templates/trae/agents/trellis-implement.md +0 -108
- package/dist/templates/trae/agents/trellis-research.md +0 -137
- package/dist/templates/trae/hooks.json +0 -39
- package/dist/templates/trae/index.d.ts +0 -15
- package/dist/templates/trae/index.d.ts.map +0 -1
- package/dist/templates/trae/index.js +0 -15
- package/dist/templates/trae/index.js.map +0 -1
- package/dist/templates/trellis/gitattributes.txt +0 -9
- package/dist/templates/trellis/scripts/common/cli_adapter.py +0 -982
- package/dist/templates/zcode/agents/trellis-check.md +0 -110
- package/dist/templates/zcode/agents/trellis-implement.md +0 -116
- package/dist/templates/zcode/agents/trellis-research.md +0 -133
- package/dist/templates/zcode/config.json +0 -52
- package/dist/templates/zcode/index.d.ts +0 -25
- package/dist/templates/zcode/index.d.ts.map +0 -1
- package/dist/templates/zcode/index.js +0 -29
- package/dist/templates/zcode/index.js.map +0 -1
|
@@ -120,19 +120,17 @@ export function resolvePlaceholders(content, context) {
|
|
|
120
120
|
return result;
|
|
121
121
|
}
|
|
122
122
|
/**
|
|
123
|
-
* Resolve placeholders for files written under `.agents/skills/`
|
|
124
|
-
* Agent Skills directory
|
|
125
|
-
*
|
|
123
|
+
* Resolve placeholders for files written under `.agents/skills/` — the shared
|
|
124
|
+
* Agent Skills directory of the agentskills.io standard, which Codex reads and
|
|
125
|
+
* other tools on the same standard may read too.
|
|
126
126
|
*
|
|
127
|
-
* Identical to {@link resolvePlaceholders} except that {
|
|
128
|
-
* rendered in a platform-neutral form (`` `name` (Trellis command) ``)
|
|
129
|
-
*
|
|
130
|
-
*
|
|
131
|
-
*
|
|
132
|
-
*
|
|
133
|
-
*
|
|
134
|
-
* "last-writer-wins" collision when both Codex and Gemini target
|
|
135
|
-
* `.agents/skills/`.
|
|
127
|
+
* Identical to {@link resolvePlaceholders} except that `{{CMD_REF:name}}` is
|
|
128
|
+
* rendered in a platform-neutral form (`` `name` (Trellis command) ``) instead
|
|
129
|
+
* of substituting a platform-specific prefix. That is the only placeholder in
|
|
130
|
+
* the auto-triggered skill templates from `common/skills/` whose value varies
|
|
131
|
+
* per platform, so neutralizing it keeps the rendered SKILL.md files
|
|
132
|
+
* byte-identical no matter which writer produced them — the property that makes
|
|
133
|
+
* a shared directory safe to write into.
|
|
136
134
|
*
|
|
137
135
|
* `{{CLI_FLAG}}`, `{{EXECUTOR_AI}}`, `{{USER_ACTION_LABEL}}`, conditionals,
|
|
138
136
|
* and `{{PYTHON_CMD}}` are still resolved from the platform context. The
|
|
@@ -196,58 +194,6 @@ export function wrapWithSkillFrontmatter(name, content) {
|
|
|
196
194
|
}
|
|
197
195
|
return `---\nname: ${name}\ndescription: "${description}"\n---\n\n${content}`;
|
|
198
196
|
}
|
|
199
|
-
/**
|
|
200
|
-
* One-line blurbs shown in a `/` command palette — kept separate from
|
|
201
|
-
* SKILL_DESCRIPTIONS, which is long prose aimed at the skill matcher.
|
|
202
|
-
*/
|
|
203
|
-
const COMMAND_DESCRIPTIONS = {
|
|
204
|
-
start: "Initialize a Trellis development session.",
|
|
205
|
-
continue: "Resume work on the current task at the correct phase.",
|
|
206
|
-
"finish-work": "Wrap up the current session: quality gate, commit reminder, archive, journal.",
|
|
207
|
-
};
|
|
208
|
-
/** Wrap resolved command content with YAML frontmatter (name + description). */
|
|
209
|
-
export function wrapWithCommandFrontmatter(name, content) {
|
|
210
|
-
const baseName = name.replace(/^trellis-/, "");
|
|
211
|
-
const description = COMMAND_DESCRIPTIONS[baseName];
|
|
212
|
-
if (!description) {
|
|
213
|
-
throw new Error(`Missing command description for "${baseName}". Add it to COMMAND_DESCRIPTIONS in shared.ts.`);
|
|
214
|
-
}
|
|
215
|
-
// JSON.stringify produces a double-quoted YAML scalar, which is safe even
|
|
216
|
-
// when the description contains a colon (an unquoted plain scalar cannot
|
|
217
|
-
// contain ": " — some parsers reject it outright, e.g. Trae CLI's SlashCommand
|
|
218
|
-
// schema; others silently truncate at the second colon).
|
|
219
|
-
return `---\nname: ${name}\ndescription: ${JSON.stringify(description)}\n---\n\n${content}`;
|
|
220
|
-
}
|
|
221
|
-
/**
|
|
222
|
-
* Argument-hint values for commands that accept positional args.
|
|
223
|
-
* Used by OMP platform's YAML frontmatter.
|
|
224
|
-
*/
|
|
225
|
-
const COMMAND_ARGUMENT_HINTS = {
|
|
226
|
-
"finish-work": "[task-name]",
|
|
227
|
-
};
|
|
228
|
-
/**
|
|
229
|
-
* Wrap resolved command content with OMP-style YAML frontmatter.
|
|
230
|
-
* OMP uses `description` (required) + optional `argument-hint`.
|
|
231
|
-
* The leading `# Title` heading from the source template is stripped
|
|
232
|
-
* because OMP's frontmatter replaces its role.
|
|
233
|
-
*/
|
|
234
|
-
export function wrapWithOmpFrontmatter(name, content) {
|
|
235
|
-
const baseName = name.replace(/^trellis-/, "");
|
|
236
|
-
const description = COMMAND_DESCRIPTIONS[baseName];
|
|
237
|
-
if (!description) {
|
|
238
|
-
throw new Error(`Missing command description for "${baseName}". Add it to COMMAND_DESCRIPTIONS in shared.ts.`);
|
|
239
|
-
}
|
|
240
|
-
// Strip leading H1 + blank line from template body
|
|
241
|
-
const body = content.replace(/^# [^\n]+\n\n/, "");
|
|
242
|
-
const hint = COMMAND_ARGUMENT_HINTS[baseName];
|
|
243
|
-
// JSON.stringify produces a double-quoted YAML scalar, safe even when the
|
|
244
|
-
// description contains a colon (see wrapWithCommandFrontmatter).
|
|
245
|
-
const quotedDescription = JSON.stringify(description);
|
|
246
|
-
const frontmatter = hint
|
|
247
|
-
? `---\ndescription: ${quotedDescription}\nargument-hint: ${JSON.stringify(hint)}\n---`
|
|
248
|
-
: `---\ndescription: ${quotedDescription}\n---`;
|
|
249
|
-
return `${frontmatter}\n\n${body}`;
|
|
250
|
-
}
|
|
251
197
|
// ---------------------------------------------------------------------------
|
|
252
198
|
// Shared configurator helpers
|
|
253
199
|
// ---------------------------------------------------------------------------
|
|
@@ -255,60 +201,19 @@ import path from "node:path";
|
|
|
255
201
|
import { ensureDir, writeFile } from "../utils/file-writer.js";
|
|
256
202
|
import { getBundledSkillTemplates, getCommandTemplates, getSkillTemplates, } from "../templates/common/index.js";
|
|
257
203
|
import { getSharedHookScriptsForPlatform, } from "../templates/shared-hooks/index.js";
|
|
258
|
-
/**
|
|
259
|
-
* Filter command templates based on platform capabilities.
|
|
260
|
-
*
|
|
261
|
-
* `start.md` is stripped only on platforms that are BOTH `agentCapable` AND
|
|
262
|
-
* `hasHooks` — those platforms (Claude Code, Cursor, Kiro, Gemini, Qoder,
|
|
263
|
-
* CodeBuddy, Copilot, Droid, Pi) have a SessionStart-style hook that
|
|
264
|
-
* auto-injects the workflow overview, so a user-facing `start` would be
|
|
265
|
-
* redundant.
|
|
266
|
-
*
|
|
267
|
-
* `agentCapable && !hasHooks` platforms (Codex, ZCode, OpenCode, Reasonix, Grok)
|
|
268
|
-
* have no such hook (or use an out-of-band plugin), so they need the
|
|
269
|
-
* user-invocable `trellis-start` skill / `start.md` command as fallback.
|
|
270
|
-
* Snow is class-1 (`hasHooks: true`) with auto inject + project agents.
|
|
271
|
-
* Agent-less platforms (Kilo, Antigravity, Devin) also keep `start` since
|
|
272
|
-
* they rely entirely on user-triggered workflows.
|
|
273
|
-
*/
|
|
274
|
-
function filterCommands(templates, ctx) {
|
|
275
|
-
if (ctx.agentCapable && ctx.hasHooks) {
|
|
276
|
-
return templates.filter((t) => t.name !== "start");
|
|
277
|
-
}
|
|
278
|
-
return templates;
|
|
279
|
-
}
|
|
280
|
-
/**
|
|
281
|
-
* Resolve ALL templates as skills with trellis- prefix.
|
|
282
|
-
* Used by skill-only platforms (Kiro, Qoder, Codex) where everything is a skill.
|
|
283
|
-
*
|
|
284
|
-
* `start` is filtered out on agent-capable platforms — the session-start hook
|
|
285
|
-
* injects the workflow overview instead.
|
|
286
|
-
*/
|
|
287
|
-
export function resolveAllAsSkills(ctx) {
|
|
288
|
-
const templates = [
|
|
289
|
-
...filterCommands(getCommandTemplates(), ctx),
|
|
290
|
-
...getSkillTemplates(),
|
|
291
|
-
];
|
|
292
|
-
return templates.map((tmpl) => ({
|
|
293
|
-
name: `trellis-${tmpl.name}`,
|
|
294
|
-
content: wrapWithSkillFrontmatter(`trellis-${tmpl.name}`, resolvePlaceholders(tmpl.content, ctx)),
|
|
295
|
-
}));
|
|
296
|
-
}
|
|
297
204
|
/**
|
|
298
205
|
* Resolve command templates as plain commands (no wrapping).
|
|
299
|
-
* Used by
|
|
300
|
-
*
|
|
301
|
-
* `start` is filtered out on agent-capable platforms.
|
|
206
|
+
* Used by platforms with a native command surface (Claude Code).
|
|
302
207
|
*/
|
|
303
208
|
export function resolveCommands(ctx) {
|
|
304
|
-
return
|
|
209
|
+
return getCommandTemplates().map((tmpl) => ({
|
|
305
210
|
name: tmpl.name,
|
|
306
211
|
content: resolvePlaceholders(tmpl.content, ctx),
|
|
307
212
|
}));
|
|
308
213
|
}
|
|
309
214
|
/**
|
|
310
215
|
* Resolve the auto-triggered skill templates from `common/skills/` with trellis- prefix + SKILL.md frontmatter.
|
|
311
|
-
* Used
|
|
216
|
+
* Used for a platform-private skill root (Claude Code's `.claude/skills/`).
|
|
312
217
|
*/
|
|
313
218
|
export function resolveSkills(ctx) {
|
|
314
219
|
return getSkillTemplates().map((tmpl) => ({
|
|
@@ -317,30 +222,17 @@ export function resolveSkills(ctx) {
|
|
|
317
222
|
}));
|
|
318
223
|
}
|
|
319
224
|
/**
|
|
320
|
-
*
|
|
321
|
-
*
|
|
322
|
-
*
|
|
323
|
-
*
|
|
324
|
-
*
|
|
325
|
-
|
|
326
|
-
export function resolveSkillsNeutral(ctx) {
|
|
327
|
-
return getSkillTemplates().map((tmpl) => ({
|
|
328
|
-
name: `trellis-${tmpl.name}`,
|
|
329
|
-
content: wrapWithSkillFrontmatter(`trellis-${tmpl.name}`, resolvePlaceholdersNeutral(tmpl.content, ctx)),
|
|
330
|
-
}));
|
|
331
|
-
}
|
|
332
|
-
/**
|
|
333
|
-
* Same as {@link resolveAllAsSkills} but uses
|
|
334
|
-
* {@link resolvePlaceholdersNeutral} for the shared common skills. The 2 command
|
|
335
|
-
* templates (continue, finish-work) folded into the skill set still resolve
|
|
225
|
+
* Fold the command templates into the skill set (trellis- prefix + SKILL.md
|
|
226
|
+
* frontmatter) and render everything through
|
|
227
|
+
* {@link resolvePlaceholdersNeutral}. Used by Codex, whose only user-invocable
|
|
228
|
+
* surface is skills and whose skill root is the shared `.agents/skills/`.
|
|
229
|
+
*
|
|
230
|
+
* The 3 command templates (start, continue, finish-work) still resolve
|
|
336
231
|
* `{{CLI_FLAG}}` / `{{PYTHON_CMD}}` per platform — only Codex writes those
|
|
337
232
|
* files into `.agents/skills/`, so byte-identity isn't required there.
|
|
338
233
|
*/
|
|
339
234
|
export function resolveAllAsSkillsNeutral(ctx) {
|
|
340
|
-
const templates = [
|
|
341
|
-
...filterCommands(getCommandTemplates(), ctx),
|
|
342
|
-
...getSkillTemplates(),
|
|
343
|
-
];
|
|
235
|
+
const templates = [...getCommandTemplates(), ...getSkillTemplates()];
|
|
344
236
|
return templates.map((tmpl) => ({
|
|
345
237
|
name: `trellis-${tmpl.name}`,
|
|
346
238
|
content: wrapWithSkillFrontmatter(`trellis-${tmpl.name}`, resolvePlaceholdersNeutral(tmpl.content, ctx)),
|
|
@@ -416,175 +308,4 @@ export function collectSharedHooks(hooksPath, platform) {
|
|
|
416
308
|
}
|
|
417
309
|
return files;
|
|
418
310
|
}
|
|
419
|
-
/** Collect commands + skills for "both" platforms (a commands directory plus
|
|
420
|
-
* a skills root). */
|
|
421
|
-
export function collectBothTemplates(ctx, cmdPath, skillRoot, wrapCmd) {
|
|
422
|
-
const files = new Map();
|
|
423
|
-
for (const cmd of resolveCommands(ctx)) {
|
|
424
|
-
const filePath = cmdPath(cmd.name);
|
|
425
|
-
files.set(filePath, wrapCmd ? wrapCmd(filePath, cmd.content) : cmd.content);
|
|
426
|
-
}
|
|
427
|
-
for (const [filePath, content] of collectSkillTemplates(skillRoot, resolveSkills(ctx), resolveBundledSkills(ctx))) {
|
|
428
|
-
files.set(filePath, content);
|
|
429
|
-
}
|
|
430
|
-
return files;
|
|
431
|
-
}
|
|
432
|
-
/** Build the standard "load Trellis context first" prelude block. */
|
|
433
|
-
export function buildPullBasedPrelude(agentType) {
|
|
434
|
-
// JSONL filenames stay as implement.jsonl / check.jsonl — they are internal
|
|
435
|
-
// context buckets keyed by role (not by platform-visible agent name).
|
|
436
|
-
const jsonl = agentType === "check" ? "check.jsonl" : "implement.jsonl";
|
|
437
|
-
return replacePythonCommandLiterals(`## Required: Load Trellis Context First
|
|
438
|
-
|
|
439
|
-
This platform does NOT auto-inject task context via hook. Before doing anything else, you MUST load context yourself.
|
|
440
|
-
|
|
441
|
-
### Step 1: Find the active task path
|
|
442
|
-
|
|
443
|
-
Try in order — stop at the first one that yields a task path:
|
|
444
|
-
|
|
445
|
-
1. **Look at the dispatch prompt** you received from the main agent. If its first line is \`Active task: <path>\` (e.g. \`Active task: .trellis/tasks/04-17-foo\`), use that path. The main agent is required to include this line on class-2 platforms.
|
|
446
|
-
2. **Run** \`python3 ./.trellis/scripts/task.py current --source\` and read the \`Current task:\` line.
|
|
447
|
-
3. **If both fail** (no \`Active task:\` line in the prompt and \`task.py current\` returns no task), ask the user which task to work on; do NOT guess.
|
|
448
|
-
|
|
449
|
-
### Step 2: Load task context from the resolved path
|
|
450
|
-
|
|
451
|
-
1. Read \`<task-path>/${jsonl}\` — JSONL list of spec/research files relevant to this agent.
|
|
452
|
-
2. For each entry in the JSONL, Read its \`file\` path — these are the specs and research notes you must follow.
|
|
453
|
-
**Skip rows without a \`"file"\` field** (e.g. \`{"_example": "..."}\` seed rows left over from \`task.py create\` before the curator ran).
|
|
454
|
-
3. Read the task's \`prd.md\` (requirements), then \`design.md\` if present (technical design), then \`implement.md\` if present (execution plan).
|
|
455
|
-
|
|
456
|
-
If \`${jsonl}\` has no curated entries (only a seed row, or the file is missing), fall back to: read the task artifacts, list available specs with \`python3 ./.trellis/scripts/get_context.py --mode packages\`, and pick the specs that match the task domain yourself. Do NOT block on the missing jsonl — read \`prd.md\`, \`design.md\`, and \`implement.md\` from the task directory instead.
|
|
457
|
-
|
|
458
|
-
If the resolved task path has no \`prd.md\`, ask the user what to work on; do NOT proceed without context.
|
|
459
|
-
|
|
460
|
-
---
|
|
461
|
-
|
|
462
|
-
`);
|
|
463
|
-
}
|
|
464
|
-
/** Insert prelude into a markdown agent definition (after YAML frontmatter). */
|
|
465
|
-
export function injectPullBasedPreludeMarkdown(content, agentType) {
|
|
466
|
-
const prelude = buildPullBasedPrelude(agentType);
|
|
467
|
-
const sections = splitMarkdownFrontmatter(content);
|
|
468
|
-
if (!sections) {
|
|
469
|
-
return prelude + content;
|
|
470
|
-
}
|
|
471
|
-
const head = `---\n${sections.frontmatter}\n---`;
|
|
472
|
-
const tailTrimmed = sections.body.replace(/^(\r?\n)+/, "");
|
|
473
|
-
return `${head}\n\n${prelude}${tailTrimmed}`;
|
|
474
|
-
}
|
|
475
|
-
/** Insert prelude into a TOML agent (codex `developer_instructions`). */
|
|
476
|
-
export function injectPullBasedPreludeToml(content, agentType) {
|
|
477
|
-
const prelude = buildPullBasedPrelude(agentType);
|
|
478
|
-
// Match: developer_instructions = """ followed by newline
|
|
479
|
-
const re = /(developer_instructions\s*=\s*""")(\r?\n)/;
|
|
480
|
-
if (!re.test(content)) {
|
|
481
|
-
return content;
|
|
482
|
-
}
|
|
483
|
-
return content.replace(re, `$1$2${prelude}`);
|
|
484
|
-
}
|
|
485
|
-
/** Best-effort detect agent type from filename ("trellis-implement.md" → "implement").
|
|
486
|
-
* Returns null for research and unknown names — they skip the prelude.
|
|
487
|
-
*/
|
|
488
|
-
export function detectSubAgentType(name) {
|
|
489
|
-
const base = name.replace(/\.(md|toml|prompt\.md)$/, "");
|
|
490
|
-
if (base === "trellis-implement" || base === "trellis-check") {
|
|
491
|
-
return base === "trellis-implement" ? "implement" : "check";
|
|
492
|
-
}
|
|
493
|
-
return null;
|
|
494
|
-
}
|
|
495
|
-
function splitMarkdownFrontmatter(content) {
|
|
496
|
-
const match = content.match(/^---\r?\n([\s\S]*?)\r?\n---\r?\n?/);
|
|
497
|
-
if (!match) {
|
|
498
|
-
return null;
|
|
499
|
-
}
|
|
500
|
-
return {
|
|
501
|
-
frontmatter: match[1],
|
|
502
|
-
body: content.slice(match[0].length),
|
|
503
|
-
};
|
|
504
|
-
}
|
|
505
|
-
export function applyPullBasedPreludeMarkdown(agents) {
|
|
506
|
-
return agents.map((a) => {
|
|
507
|
-
const t = detectSubAgentType(a.name);
|
|
508
|
-
if (!t)
|
|
509
|
-
return { ...a };
|
|
510
|
-
return {
|
|
511
|
-
...a,
|
|
512
|
-
content: injectPullBasedPreludeMarkdown(a.content, t),
|
|
513
|
-
};
|
|
514
|
-
});
|
|
515
|
-
}
|
|
516
|
-
function mapLegacyToolToCopilot(tool) {
|
|
517
|
-
switch (tool) {
|
|
518
|
-
case "Read":
|
|
519
|
-
return ["read"];
|
|
520
|
-
case "Write":
|
|
521
|
-
case "Edit":
|
|
522
|
-
return ["edit"];
|
|
523
|
-
case "Glob":
|
|
524
|
-
case "Grep":
|
|
525
|
-
return ["search"];
|
|
526
|
-
case "Bash":
|
|
527
|
-
return ["execute"];
|
|
528
|
-
// Generic MCP wildcard — used by trellis-research to opt into "any MCP
|
|
529
|
-
// tool the user has configured" without locking the source template to a
|
|
530
|
-
// specific provider. Claude Code parses wildcards as glob-match-at-runtime
|
|
531
|
-
// (no silent agent-registration skip if nothing matches), so this is the
|
|
532
|
-
// safe default; explicit `mcp__exa__*` names would silent-skip the agent
|
|
533
|
-
// when the Exa MCP server is absent (#302).
|
|
534
|
-
case "mcp__*":
|
|
535
|
-
return ["web", "exa/*", "chrome-devtools/*"];
|
|
536
|
-
case "mcp__exa__web_search_exa":
|
|
537
|
-
case "mcp__exa__get_code_context_exa":
|
|
538
|
-
return ["web", "exa/*"];
|
|
539
|
-
case "mcp__chrome-devtools__*":
|
|
540
|
-
return ["chrome-devtools/*"];
|
|
541
|
-
case "Skill":
|
|
542
|
-
return [];
|
|
543
|
-
default:
|
|
544
|
-
return [];
|
|
545
|
-
}
|
|
546
|
-
}
|
|
547
|
-
function normalizeCopilotMarkdownAgentFrontmatter(content) {
|
|
548
|
-
const sections = splitMarkdownFrontmatter(content);
|
|
549
|
-
if (!sections) {
|
|
550
|
-
return content;
|
|
551
|
-
}
|
|
552
|
-
const frontmatter = sections.frontmatter.split(/\r?\n/);
|
|
553
|
-
const body = sections.body;
|
|
554
|
-
const normalized = [];
|
|
555
|
-
for (const line of frontmatter) {
|
|
556
|
-
if (!line.startsWith("tools:")) {
|
|
557
|
-
normalized.push(line);
|
|
558
|
-
continue;
|
|
559
|
-
}
|
|
560
|
-
const legacyTools = line
|
|
561
|
-
.slice("tools:".length)
|
|
562
|
-
.split(",")
|
|
563
|
-
.map((token) => token.trim())
|
|
564
|
-
.filter((token) => token.length > 0);
|
|
565
|
-
const tools = [...new Set(legacyTools.flatMap(mapLegacyToolToCopilot))];
|
|
566
|
-
normalized.push("tools:");
|
|
567
|
-
for (const tool of tools) {
|
|
568
|
-
normalized.push(` - ${tool}`);
|
|
569
|
-
}
|
|
570
|
-
}
|
|
571
|
-
return `---\n${normalized.join("\n")}\n---\n${body}`;
|
|
572
|
-
}
|
|
573
|
-
export function normalizeCopilotMarkdownAgents(agents) {
|
|
574
|
-
return agents.map((agent) => ({
|
|
575
|
-
...agent,
|
|
576
|
-
content: normalizeCopilotMarkdownAgentFrontmatter(agent.content),
|
|
577
|
-
}));
|
|
578
|
-
}
|
|
579
|
-
export function applyPullBasedPreludeToml(agents) {
|
|
580
|
-
return agents.map((a) => {
|
|
581
|
-
const t = detectSubAgentType(a.name);
|
|
582
|
-
if (!t)
|
|
583
|
-
return { ...a };
|
|
584
|
-
return {
|
|
585
|
-
...a,
|
|
586
|
-
content: injectPullBasedPreludeToml(a.content, t),
|
|
587
|
-
};
|
|
588
|
-
});
|
|
589
|
-
}
|
|
590
311
|
//# sourceMappingURL=shared.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared.js","sourceRoot":"","sources":["../../src/configurators/shared.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAkBH;;;;;;;;;;;;GAYG;AACH,IAAI,qBAAqB,GAAkB,IAAI,CAAC;AAEhD,MAAM,UAAU,wBAAwB,CAAC,GAAW;IAClD,MAAM,OAAO,GAAG,GAAG,CAAC,IAAI,EAAE,CAAC;IAC3B,qBAAqB,GAAG,OAAO,IAAI,IAAI,CAAC;AAC1C,CAAC;AAED,iEAAiE;AACjE,MAAM,UAAU,0BAA0B;IACxC,qBAAqB,GAAG,IAAI,CAAC;AAC/B,CAAC;AAED;;;;;;;GAOG;AACH,MAAM,UAAU,2BAA2B,CACzC,QAA0B;IAE1B,IAAI,QAAQ,KAAK,SAAS,IAAI,qBAAqB,EAAE,CAAC;QACpD,OAAO,qBAAqB,CAAC;I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BAAiB,CAAC,KAAK,CAAC,EAAE,CAAC;QAC1D,MAAM,OAAO,GAAG,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,GAAG,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC;QACtD,SAAS,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC,CAAC;QACjC,MAAM,SAAS,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IACpC,CAAC;AACH,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,kBAAkB,CAChC,SAAiB,EACjB,QAA4B;IAE5B,MAAM,KAAK,GAAG,IAAI,GAAG,EAAkB,CAAC;IACxC,KAAK,MAAM,IAAI,IAAI,+BAA+B,CAAC,QAAQ,CAAC,EAAE,CAAC;QAC7D,KAAK,CAAC,GAAG,CAAC,GAAG,SAAS,IAAI,IAAI,CAAC,IAAI,EAAE,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;IACvD,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC"}
|
|
@@ -20,20 +20,6 @@ export interface WorkflowOptions {
|
|
|
20
20
|
*/
|
|
21
21
|
workflowMdOverride?: string;
|
|
22
22
|
}
|
|
23
|
-
/**
|
|
24
|
-
* Ensure the project-root `.gitattributes` carries the journal `merge=union`
|
|
25
|
-
* rule, without ever overwriting a user's existing file wholesale.
|
|
26
|
-
*
|
|
27
|
-
* - No `.gitattributes` yet: write the bundled template directly.
|
|
28
|
-
* - Existing file that already has a `journal-*.md merge=union` rule (user's
|
|
29
|
-
* own or from a previous `trellis init`/`update`): no-op, avoids duplicates.
|
|
30
|
-
* - Existing file without that rule: append the bundled template content.
|
|
31
|
-
*
|
|
32
|
-
* Intentionally does NOT go through the standard `writeFile` conflict-prompt
|
|
33
|
-
* flow — this file is additive-only and never a candidate for whole-file
|
|
34
|
-
* overwrite.
|
|
35
|
-
*/
|
|
36
|
-
export declare function ensureGitattributes(cwd: string): void;
|
|
37
23
|
/**
|
|
38
24
|
* Create workflow structure based on project type
|
|
39
25
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow.d.ts","sourceRoot":"","sources":["../../src/configurators/workflow.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"workflow.d.ts","sourceRoot":"","sources":["../../src/configurators/workflow.ts"],"names":[],"mappings":"AAuCA,OAAO,EAEL,KAAK,WAAW,EAChB,KAAK,eAAe,EACrB,MAAM,8BAA8B,CAAC;AAOtC;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,yCAAyC;IACzC,WAAW,EAAE,WAAW,CAAC;IACzB,yFAAyF;IACzF,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,kEAAkE;IAClE,QAAQ,CAAC,EAAE,eAAe,EAAE,CAAC;IAC7B,0EAA0E;IAC1E,kBAAkB,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACjC;;;;;;OAMG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED;;;;;;;;;;;;GAYG;AACH,wBAAsB,uBAAuB,CAC3C,GAAG,EAAE,MAAM,EACX,OAAO,CAAC,EAAE,eAAe,GACxB,OAAO,CAAC,IAAI,CAAC,CA+Df"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import fs from "node:fs";
|
|
2
1
|
import path from "node:path";
|
|
3
2
|
import { DIR_NAMES, PATHS } from "../constants/paths.js";
|
|
4
3
|
import { copyTrellisDir } from "../templates/extract.js";
|
|
5
4
|
// Import trellis templates (generic, not project-specific)
|
|
6
|
-
import { workflowMdTemplate, configYamlTemplate, gitignoreTemplate,
|
|
5
|
+
import { workflowMdTemplate, configYamlTemplate, gitignoreTemplate, getAllAgents, } from "../templates/trellis/index.js";
|
|
7
6
|
// Import markdown templates
|
|
8
7
|
import { agentProgressIndexContent,
|
|
9
8
|
// Backend structure (multi-doc)
|
|
@@ -15,38 +14,6 @@ guidesIndexContent, guidesCrossLayerThinkingGuideContent, guidesCodeReuseThinkin
|
|
|
15
14
|
import { writeFile, ensureDir } from "../utils/file-writer.js";
|
|
16
15
|
import { replacePythonCommandLiterals } from "./shared.js";
|
|
17
16
|
import { sanitizePkgName, } from "../utils/project-detector.js";
|
|
18
|
-
/**
|
|
19
|
-
* Regex used to detect an existing `journal-*.md merge=union` gitattributes
|
|
20
|
-
* rule (any whitespace variant), so `ensureGitattributes` never appends a
|
|
21
|
-
* duplicate entry to a project's pre-existing `.gitattributes`.
|
|
22
|
-
*/
|
|
23
|
-
const JOURNAL_MERGE_UNION_PATTERN = /journal-\*\.md\s+merge=union/;
|
|
24
|
-
/**
|
|
25
|
-
* Ensure the project-root `.gitattributes` carries the journal `merge=union`
|
|
26
|
-
* rule, without ever overwriting a user's existing file wholesale.
|
|
27
|
-
*
|
|
28
|
-
* - No `.gitattributes` yet: write the bundled template directly.
|
|
29
|
-
* - Existing file that already has a `journal-*.md merge=union` rule (user's
|
|
30
|
-
* own or from a previous `trellis init`/`update`): no-op, avoids duplicates.
|
|
31
|
-
* - Existing file without that rule: append the bundled template content.
|
|
32
|
-
*
|
|
33
|
-
* Intentionally does NOT go through the standard `writeFile` conflict-prompt
|
|
34
|
-
* flow — this file is additive-only and never a candidate for whole-file
|
|
35
|
-
* overwrite.
|
|
36
|
-
*/
|
|
37
|
-
export function ensureGitattributes(cwd) {
|
|
38
|
-
const targetPath = path.join(cwd, ".gitattributes");
|
|
39
|
-
if (!fs.existsSync(targetPath)) {
|
|
40
|
-
fs.writeFileSync(targetPath, gitattributesTemplate);
|
|
41
|
-
return;
|
|
42
|
-
}
|
|
43
|
-
const existing = fs.readFileSync(targetPath, "utf-8");
|
|
44
|
-
if (JOURNAL_MERGE_UNION_PATTERN.test(existing)) {
|
|
45
|
-
return;
|
|
46
|
-
}
|
|
47
|
-
const separator = existing.endsWith("\n") ? "\n" : "\n\n";
|
|
48
|
-
fs.writeFileSync(targetPath, existing + separator + gitattributesTemplate);
|
|
49
|
-
}
|
|
50
17
|
/**
|
|
51
18
|
* Create workflow structure based on project type
|
|
52
19
|
*
|
|
@@ -78,9 +45,6 @@ export async function createWorkflowStructure(cwd, options) {
|
|
|
78
45
|
await writeFile(path.join(cwd, DIR_NAMES.WORKFLOW, ".gitignore"), gitignoreTemplate);
|
|
79
46
|
// Copy config.yaml from templates
|
|
80
47
|
await writeFile(path.join(cwd, DIR_NAMES.WORKFLOW, "config.yaml"), configYamlTemplate);
|
|
81
|
-
// Ensure project-root .gitattributes carries the journal merge=union rule
|
|
82
|
-
// (additive-only — never overwrites a user's existing file wholesale).
|
|
83
|
-
ensureGitattributes(cwd);
|
|
84
48
|
// Dispatch channel runtime agent definitions. These are platform-agnostic
|
|
85
49
|
// Trellis runtime files consumed by `trellis channel spawn --agent <name>`
|
|
86
50
|
// through `packages/cli/src/commands/channel/agent-loader.ts`. They are
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workflow.js","sourceRoot":"","sources":["../../src/configurators/workflow.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"workflow.js","sourceRoot":"","sources":["../../src/configurators/workflow.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAEzD,2DAA2D;AAC3D,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EAClB,iBAAiB,EACjB,YAAY,GACb,MAAM,+BAA+B,CAAC;AAEvC,4BAA4B;AAC5B,OAAO,EACL,yBAAyB;AACzB,gCAAgC;AAChC,mBAAmB,EACnB,gCAAgC,EAChC,gCAAgC,EAChC,+BAA+B,EAC/B,+BAA+B,EAC/B,2BAA2B;AAC3B,iCAAiC;AACjC,oBAAoB,EACpB,iCAAiC,EACjC,yBAAyB,EACzB,6BAA6B,EAC7B,kCAAkC,EAClC,gCAAgC,EAChC,8BAA8B;A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AAE,CAAC;QAC7B,MAAM,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,EAAE,GAAG,CAAC,IAAI,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;IAC/D,CAAC;IAED,IAAI,QAAQ,IAAI,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACpC,sDAAsD;QACtD,KAAK,MAAM,GAAG,IAAI,QAAQ,EAAE,CAAC;YAC3B,MAAM,OAAO,GAAG,eAAe,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;YAC1C,IAAI,kBAAkB,EAAE,GAAG,CAAC,OAAO,CAAC;gBAAE,SAAS;YAC/C,MAAM,WAAW,GAAG,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,GAAG,KAAK,CAAC,IAAI,IAAI,OAAO,EAAE,CAAC,CAAC;YAC/D,SAAS,CAAC,WAAW,CAAC,CAAC;YACvB,MAAM,OAAO,GAAG,GAAG,CAAC,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,GAAG,CAAC,IAAI,CAAC;YAChE,MAAM,gBAAgB,CAAC,WAAW,EAAE,OAAO,CAAC,CAAC;QAC/C,CAAC;IACH,CAAC;SAAM,CAAC;QACN,mBAAmB;QACnB,MAAM,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,KAAK,CAAC,IAAI,CAAC,EAAE,WAAW,CAAC,CAAC;IAClE,CAAC;AACH,CAAC"}
|
|
@@ -8,23 +8,11 @@
|
|
|
8
8
|
"to": ".claude/commands/onboard.md",
|
|
9
9
|
"description": "Shortened onboard-developer to onboard"
|
|
10
10
|
},
|
|
11
|
-
{
|
|
12
|
-
"type": "rename",
|
|
13
|
-
"from": ".cursor/commands/onboard-developer.md",
|
|
14
|
-
"to": ".cursor/commands/onboard.md",
|
|
15
|
-
"description": "Shortened onboard-developer to onboard"
|
|
16
|
-
},
|
|
17
11
|
{
|
|
18
12
|
"type": "rename",
|
|
19
13
|
"from": ".claude/commands/record-agent-flow.md",
|
|
20
14
|
"to": ".claude/commands/record-session.md",
|
|
21
15
|
"description": "Renamed record-agent-flow to record-session"
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"type": "rename",
|
|
25
|
-
"from": ".cursor/commands/record-agent-flow.md",
|
|
26
|
-
"to": ".cursor/commands/record-session.md",
|
|
27
|
-
"description": "Renamed record-agent-flow to record-session"
|
|
28
16
|
}
|
|
29
17
|
]
|
|
30
18
|
}
|
|
@@ -85,90 +85,6 @@
|
|
|
85
85
|
"from": ".claude/commands/parallel.md",
|
|
86
86
|
"to": ".claude/commands/trellis/parallel.md",
|
|
87
87
|
"description": "Move Claude parallel command to trellis/ subdirectory"
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
"type": "rename",
|
|
91
|
-
"from": ".cursor/commands/start.md",
|
|
92
|
-
"to": ".cursor/commands/trellis-start.md",
|
|
93
|
-
"description": "Rename Cursor start command with trellis- prefix"
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
"type": "rename",
|
|
97
|
-
"from": ".cursor/commands/finish-work.md",
|
|
98
|
-
"to": ".cursor/commands/trellis-finish-work.md",
|
|
99
|
-
"description": "Rename Cursor finish-work command with trellis- prefix"
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
"type": "rename",
|
|
103
|
-
"from": ".cursor/commands/before-frontend-dev.md",
|
|
104
|
-
"to": ".cursor/commands/trellis-before-frontend-dev.md",
|
|
105
|
-
"description": "Rename Cursor before-frontend-dev command with trellis- prefix"
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
"type": "rename",
|
|
109
|
-
"from": ".cursor/commands/before-backend-dev.md",
|
|
110
|
-
"to": ".cursor/commands/trellis-before-backend-dev.md",
|
|
111
|
-
"description": "Rename Cursor before-backend-dev command with trellis- prefix"
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
"type": "rename",
|
|
115
|
-
"from": ".cursor/commands/check-frontend.md",
|
|
116
|
-
"to": ".cursor/commands/trellis-check-frontend.md",
|
|
117
|
-
"description": "Rename Cursor check-frontend command with trellis- prefix"
|
|
118
|
-
},
|
|
119
|
-
{
|
|
120
|
-
"type": "rename",
|
|
121
|
-
"from": ".cursor/commands/check-backend.md",
|
|
122
|
-
"to": ".cursor/commands/trellis-check-backend.md",
|
|
123
|
-
"description": "Rename Cursor check-backend command with trellis- prefix"
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
"type": "rename",
|
|
127
|
-
"from": ".cursor/commands/check-cross-layer.md",
|
|
128
|
-
"to": ".cursor/commands/trellis-check-cross-layer.md",
|
|
129
|
-
"description": "Rename Cursor check-cross-layer command with trellis- prefix"
|
|
130
|
-
},
|
|
131
|
-
{
|
|
132
|
-
"type": "rename",
|
|
133
|
-
"from": ".cursor/commands/record-session.md",
|
|
134
|
-
"to": ".cursor/commands/trellis-record-session.md",
|
|
135
|
-
"description": "Rename Cursor record-session command with trellis- prefix"
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
"type": "rename",
|
|
139
|
-
"from": ".cursor/commands/update-spec.md",
|
|
140
|
-
"to": ".cursor/commands/trellis-update-spec.md",
|
|
141
|
-
"description": "Rename Cursor update-spec command with trellis- prefix"
|
|
142
|
-
},
|
|
143
|
-
{
|
|
144
|
-
"type": "rename",
|
|
145
|
-
"from": ".cursor/commands/onboard.md",
|
|
146
|
-
"to": ".cursor/commands/trellis-onboard.md",
|
|
147
|
-
"description": "Rename Cursor onboard command with trellis- prefix"
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
"type": "rename",
|
|
151
|
-
"from": ".cursor/commands/break-loop.md",
|
|
152
|
-
"to": ".cursor/commands/trellis-break-loop.md",
|
|
153
|
-
"description": "Rename Cursor break-loop command with trellis- prefix"
|
|
154
|
-
},
|
|
155
|
-
{
|
|
156
|
-
"type": "rename",
|
|
157
|
-
"from": ".cursor/commands/integrate-skill.md",
|
|
158
|
-
"to": ".cursor/commands/trellis-integrate-skill.md",
|
|
159
|
-
"description": "Rename Cursor integrate-skill command with trellis- prefix"
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
"type": "rename",
|
|
163
|
-
"from": ".cursor/commands/create-command.md",
|
|
164
|
-
"to": ".cursor/commands/trellis-create-command.md",
|
|
165
|
-
"description": "Rename Cursor create-command command with trellis- prefix"
|
|
166
|
-
},
|
|
167
|
-
{
|
|
168
|
-
"type": "rename",
|
|
169
|
-
"from": ".cursor/commands/parallel.md",
|
|
170
|
-
"to": ".cursor/commands/trellis-parallel.md",
|
|
171
|
-
"description": "Rename Cursor parallel command with trellis- prefix"
|
|
172
88
|
}
|
|
173
89
|
],
|
|
174
90
|
"notes": "This release includes: (1) Command namespace migration - Claude Code uses subdirectory (.claude/commands/trellis/), Cursor uses filename prefix (.cursor/commands/trellis-*); (2) Bug fix for incorrect task directory paths in agent docs - these files will be updated via normal template sync"
|