@mindfoldhq/trellis 0.6.1 → 0.6.3
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 +1 -1
- package/dist/cli/index.js +11 -2
- package/dist/cli/index.js.map +1 -1
- package/dist/commands/init.d.ts +5 -0
- package/dist/commands/init.d.ts.map +1 -1
- package/dist/commands/init.js +49 -2
- package/dist/commands/init.js.map +1 -1
- package/dist/commands/mem.d.ts.map +1 -1
- package/dist/commands/mem.js +4 -3
- package/dist/commands/mem.js.map +1 -1
- package/dist/commands/update.d.ts.map +1 -1
- package/dist/commands/update.js +1 -2
- package/dist/commands/update.js.map +1 -1
- package/dist/configurators/antigravity.d.ts +1 -1
- package/dist/configurators/antigravity.js +1 -1
- package/dist/configurators/claude.d.ts +5 -2
- package/dist/configurators/claude.d.ts.map +1 -1
- package/dist/configurators/claude.js +37 -4
- package/dist/configurators/claude.js.map +1 -1
- package/dist/configurators/codebuddy.d.ts +1 -1
- package/dist/configurators/codebuddy.js +1 -1
- package/dist/configurators/codex.js +2 -2
- package/dist/configurators/codex.js.map +1 -1
- package/dist/configurators/copilot.d.ts +1 -1
- package/dist/configurators/copilot.js +1 -1
- package/dist/configurators/cursor.d.ts +1 -1
- package/dist/configurators/cursor.js +1 -1
- package/dist/configurators/devin.d.ts +7 -0
- package/dist/configurators/devin.d.ts.map +1 -0
- package/dist/configurators/{windsurf.js → devin.js} +7 -7
- package/dist/configurators/devin.js.map +1 -0
- package/dist/configurators/droid.d.ts +1 -1
- package/dist/configurators/droid.js +1 -1
- package/dist/configurators/gemini.d.ts +1 -1
- package/dist/configurators/gemini.js +1 -1
- package/dist/configurators/index.d.ts +2 -1
- package/dist/configurators/index.d.ts.map +1 -1
- package/dist/configurators/index.js +17 -6
- package/dist/configurators/index.js.map +1 -1
- package/dist/configurators/kilo.d.ts +1 -1
- package/dist/configurators/kilo.js +1 -1
- package/dist/configurators/shared.d.ts +18 -5
- package/dist/configurators/shared.d.ts.map +1 -1
- package/dist/configurators/shared.js +8 -8
- package/dist/configurators/shared.js.map +1 -1
- 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/migrations/manifests/0.6.2.json +9 -0
- package/dist/migrations/manifests/0.6.3.json +24 -0
- package/dist/templates/claude/hooks/statusline.py +324 -0
- package/dist/templates/claude/index.d.ts +10 -1
- package/dist/templates/claude/index.d.ts.map +1 -1
- package/dist/templates/claude/index.js +12 -1
- package/dist/templates/claude/index.js.map +1 -1
- package/dist/templates/common/bundled-skills/trellis-meta/SKILL.md +4 -4
- package/dist/templates/common/bundled-skills/trellis-meta/references/customize-local/change-agents.md +2 -0
- package/dist/templates/common/bundled-skills/trellis-meta/references/customize-local/change-skills-or-commands.md +2 -1
- 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 +3 -3
- package/dist/templates/common/bundled-skills/trellis-meta/references/local-architecture/generated-files.md +2 -2
- 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 +3 -1
- package/dist/templates/common/bundled-skills/trellis-meta/references/platform-files/hooks-and-settings.md +2 -0
- package/dist/templates/common/bundled-skills/trellis-meta/references/platform-files/overview.md +2 -2
- package/dist/templates/common/bundled-skills/trellis-meta/references/platform-files/platform-map.md +4 -2
- package/dist/templates/common/bundled-skills/trellis-meta/references/platform-files/skills-and-commands.md +3 -1
- package/dist/templates/common/bundled-skills/trellis-session-insight/SKILL.md +2 -2
- package/dist/templates/common/bundled-skills/trellis-session-insight/references/cli-quick-reference.md +23 -24
- package/dist/templates/common/commands/continue.md +1 -1
- package/dist/templates/common/skills/brainstorm.md +43 -0
- package/dist/templates/common/skills/break-loop.md +59 -0
- package/dist/templates/shared-hooks/index.d.ts +4 -2
- package/dist/templates/shared-hooks/index.d.ts.map +1 -1
- package/dist/templates/shared-hooks/index.js +4 -2
- package/dist/templates/shared-hooks/index.js.map +1 -1
- package/dist/templates/trellis/scripts/add_session.py +26 -6
- package/dist/templates/trellis/scripts/common/cli_adapter.py +46 -32
- package/dist/templates/trellis/scripts/common/safe_commit.py +46 -16
- package/dist/templates/trellis/scripts/common/task_store.py +2 -2
- package/dist/templates/trellis/scripts/common/workflow_phase.py +1 -1
- package/dist/templates/trellis/workflow.md +10 -10
- 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 +4 -4
- package/dist/types/ai-tools.d.ts.map +1 -1
- package/dist/types/ai-tools.js +25 -7
- package/dist/types/ai-tools.js.map +1 -1
- package/package.json +2 -2
- package/dist/configurators/windsurf.d.ts +0 -7
- package/dist/configurators/windsurf.d.ts.map +0 -1
- package/dist/configurators/windsurf.js.map +0 -1
|
@@ -115,7 +115,7 @@ def _repo_relative_path(path: Path, repo_root: Path) -> str:
|
|
|
115
115
|
# Keep in sync with src/types/ai-tools.ts AI_TOOLS entries — these are the
|
|
116
116
|
# platforms listed in workflow.md's "agent-capable" Skill Routing block
|
|
117
117
|
# (Class-1 hook-inject + Class-2 pull-based preludes). Kilo / Antigravity /
|
|
118
|
-
#
|
|
118
|
+
# Devin are NOT in this list: they do not consume JSONL.
|
|
119
119
|
_SUBAGENT_CONFIG_DIRS: tuple[str, ...] = (
|
|
120
120
|
".claude",
|
|
121
121
|
".cursor",
|
|
@@ -299,7 +299,7 @@ def cmd_create(args: argparse.Namespace) -> int:
|
|
|
299
299
|
|
|
300
300
|
# Seed implement.jsonl / check.jsonl for sub-agent-capable platforms.
|
|
301
301
|
# Agent curates real entries during planning when the task needs them.
|
|
302
|
-
# Agent-less platforms (Kilo / Antigravity /
|
|
302
|
+
# Agent-less platforms (Kilo / Antigravity / Devin) skip this — they
|
|
303
303
|
# load specs via the trellis-before-dev skill instead of JSONL.
|
|
304
304
|
seeded_jsonl = False
|
|
305
305
|
if _has_subagent_platform(repo_root):
|
|
@@ -148,7 +148,7 @@ def resolve_effective_platform(platform: str, config: dict) -> str:
|
|
|
148
148
|
or ``"codex-sub-agent"`` based on ``.trellis/config.yaml`` ``codex.dispatch_mode``.
|
|
149
149
|
``filter_platform`` then surfaces blocks whose marker lists include the
|
|
150
150
|
namespaced name (e.g. ``[codex-sub-agent, ...]`` or ``[codex-inline, Kilo,
|
|
151
|
-
Antigravity,
|
|
151
|
+
Antigravity, Devin]``).
|
|
152
152
|
|
|
153
153
|
Default is ``inline`` because Codex sub-agents run with ``fork_turns="none"``
|
|
154
154
|
isolation and can't inherit the parent session's task context — inline
|
|
@@ -280,13 +280,13 @@ When a user request matches one of these intents inside an active task, route fi
|
|
|
280
280
|
|
|
281
281
|
[/Claude Code, Cursor, OpenCode, codex-sub-agent, Kiro, Gemini, Qoder, CodeBuddy, Copilot, Droid, Pi]
|
|
282
282
|
|
|
283
|
-
[codex-inline, Kilo, Antigravity,
|
|
283
|
+
[codex-inline, Kilo, Antigravity, Devin]
|
|
284
284
|
|
|
285
285
|
- Planning or unclear requirements -> `trellis-brainstorm`.
|
|
286
286
|
- Before editing -> `trellis-before-dev`; after editing -> `trellis-check`.
|
|
287
287
|
- Repeated debugging -> `trellis-break-loop`; spec updates -> `trellis-update-spec`.
|
|
288
288
|
|
|
289
|
-
[/codex-inline, Kilo, Antigravity,
|
|
289
|
+
[/codex-inline, Kilo, Antigravity, Devin]
|
|
290
290
|
|
|
291
291
|
### Guardrails
|
|
292
292
|
|
|
@@ -363,11 +363,11 @@ Spawn the research sub-agent:
|
|
|
363
363
|
|
|
364
364
|
[/Claude Code, Cursor, OpenCode, codex-sub-agent, Kiro, Gemini, Qoder, CodeBuddy, Copilot, Droid, Pi]
|
|
365
365
|
|
|
366
|
-
[codex-inline, Kilo, Antigravity,
|
|
366
|
+
[codex-inline, Kilo, Antigravity, Devin]
|
|
367
367
|
|
|
368
368
|
Do the research in the main session directly and write findings into `{TASK_DIR}/research/`. (For `codex-inline` this avoids the `fork_turns="none"` isolation that prevents `trellis-research` sub-agents from resolving the active task path.)
|
|
369
369
|
|
|
370
|
-
[/codex-inline, Kilo, Antigravity,
|
|
370
|
+
[/codex-inline, Kilo, Antigravity, Devin]
|
|
371
371
|
|
|
372
372
|
**Research artifact conventions**:
|
|
373
373
|
- One file per research topic (e.g. `research/auth-library-comparison.md`)
|
|
@@ -425,11 +425,11 @@ Skip when: `implement.jsonl` and `check.jsonl` have agent-curated entries (the s
|
|
|
425
425
|
|
|
426
426
|
[/Claude Code, Cursor, OpenCode, codex-sub-agent, Kiro, Gemini, Qoder, CodeBuddy, Copilot, Droid, Pi]
|
|
427
427
|
|
|
428
|
-
[codex-inline, Kilo, Antigravity,
|
|
428
|
+
[codex-inline, Kilo, Antigravity, Devin]
|
|
429
429
|
|
|
430
430
|
Skip this step. Context is loaded directly by the `trellis-before-dev` skill in Phase 2.
|
|
431
431
|
|
|
432
|
-
[/codex-inline, Kilo, Antigravity,
|
|
432
|
+
[/codex-inline, Kilo, Antigravity, Devin]
|
|
433
433
|
|
|
434
434
|
#### 1.4 Activate task `[required · once]`
|
|
435
435
|
|
|
@@ -512,7 +512,7 @@ The platform prelude auto-handles the context load requirement:
|
|
|
512
512
|
|
|
513
513
|
[/Kiro]
|
|
514
514
|
|
|
515
|
-
[codex-inline, Kilo, Antigravity,
|
|
515
|
+
[codex-inline, Kilo, Antigravity, Devin]
|
|
516
516
|
|
|
517
517
|
1. Load the `trellis-before-dev` skill to read project guidelines
|
|
518
518
|
2. Read `{TASK_DIR}/prd.md`, then `design.md` if present, then `implement.md` if present
|
|
@@ -520,7 +520,7 @@ The platform prelude auto-handles the context load requirement:
|
|
|
520
520
|
4. Implement the code per reviewed artifacts
|
|
521
521
|
5. Run project lint and type-check
|
|
522
522
|
|
|
523
|
-
[/codex-inline, Kilo, Antigravity,
|
|
523
|
+
[/codex-inline, Kilo, Antigravity, Devin]
|
|
524
524
|
|
|
525
525
|
#### 2.2 Quality check `[required · repeatable]`
|
|
526
526
|
|
|
@@ -540,7 +540,7 @@ The check agent's job:
|
|
|
540
540
|
|
|
541
541
|
[/Claude Code, Cursor, OpenCode, codex-sub-agent, Kiro, Gemini, Qoder, CodeBuddy, Copilot, Droid, Pi]
|
|
542
542
|
|
|
543
|
-
[codex-inline, Kilo, Antigravity,
|
|
543
|
+
[codex-inline, Kilo, Antigravity, Devin]
|
|
544
544
|
|
|
545
545
|
Load the `trellis-check` skill and verify the code per its guidance:
|
|
546
546
|
- Spec compliance
|
|
@@ -549,7 +549,7 @@ Load the `trellis-check` skill and verify the code per its guidance:
|
|
|
549
549
|
|
|
550
550
|
If issues are found → fix → re-check, until green.
|
|
551
551
|
|
|
552
|
-
[/codex-inline, Kilo, Antigravity,
|
|
552
|
+
[/codex-inline, Kilo, Antigravity, Devin]
|
|
553
553
|
|
|
554
554
|
**Final pass (before Phase 3.4 commit)**: the last 2.2 of a task must run full-scope, not just on the latest implement chunk. List all affected packages with `python3 ./.trellis/scripts/get_context.py --mode packages`, then load each package's spec index Quality Check section. This catches cross-layer / multi-package issues a mid-iteration local 2.2 cannot.
|
|
555
555
|
|
|
@@ -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
|
+
- `.trellis/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 `.trellis/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
|
+
- `.trellis/workflow.md` - Project workflow
|
|
23
|
+
- `.trellis/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 `.trellis/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: `.trellis/spec/<package>/<layer>/`
|
|
52
|
+
- Shared guides: `.trellis/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"}
|
package/dist/types/ai-tools.d.ts
CHANGED
|
@@ -6,16 +6,16 @@
|
|
|
6
6
|
/**
|
|
7
7
|
* Supported AI coding tools
|
|
8
8
|
*/
|
|
9
|
-
export type AITool = "claude-code" | "cursor" | "opencode" | "codex" | "kilo" | "kiro" | "gemini" | "antigravity" | "
|
|
9
|
+
export type AITool = "claude-code" | "cursor" | "opencode" | "codex" | "kilo" | "kiro" | "gemini" | "antigravity" | "devin" | "qoder" | "codebuddy" | "copilot" | "droid" | "pi" | "reasonix" | "zcode";
|
|
10
10
|
/**
|
|
11
11
|
* Template directory categories
|
|
12
12
|
*/
|
|
13
|
-
export type TemplateDir = "common" | "claude" | "cursor" | "opencode" | "codex" | "kilo" | "kiro" | "gemini" | "antigravity" | "
|
|
13
|
+
export type TemplateDir = "common" | "claude" | "cursor" | "opencode" | "codex" | "kilo" | "kiro" | "gemini" | "antigravity" | "devin" | "qoder" | "codebuddy" | "copilot" | "droid" | "pi" | "reasonix" | "zcode";
|
|
14
14
|
/**
|
|
15
15
|
* CLI flag names for platform selection (e.g., --claude, --cursor, --kilo, --kiro, --gemini, --antigravity)
|
|
16
16
|
* Must match keys in InitOptions (src/commands/init.ts)
|
|
17
17
|
*/
|
|
18
|
-
export type CliFlag = "claude" | "cursor" | "opencode" | "codex" | "kilo" | "kiro" | "gemini" | "antigravity" | "
|
|
18
|
+
export type CliFlag = "claude" | "cursor" | "opencode" | "codex" | "kilo" | "kiro" | "gemini" | "antigravity" | "devin" | "qoder" | "codebuddy" | "copilot" | "droid" | "pi" | "reasonix" | "zcode";
|
|
19
19
|
/**
|
|
20
20
|
* Template context for placeholder resolution.
|
|
21
21
|
* Controls how common templates are rendered per platform.
|
|
@@ -24,7 +24,7 @@ export interface TemplateContext {
|
|
|
24
24
|
/** Prefix for cross-referencing other commands/skills */
|
|
25
25
|
cmdRefPrefix: "/trellis:" | "/trellis-" | "$" | "/" | "/skill trellis-";
|
|
26
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 file reads";
|
|
27
|
+
executorAI: "Bash scripts or Task calls" | "Bash scripts or tool calls" | "Bash scripts or Agent calls" | "Bash scripts or file reads";
|
|
28
28
|
/** Label for user-invocable actions */
|
|
29
29
|
userActionLabel: "Slash commands" | "Skills" | "Workflows" | "Prompts";
|
|
30
30
|
/** Platform supports spawning sub-agents with isolated context */
|
|
@@ -1 +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,
|
|
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,CAAC;AAEZ;;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,CAAC;AAEZ;;;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,CAAC;AAEZ;;;GAGG;AACH,MAA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AE,CAE3D"}
|
package/dist/types/ai-tools.js
CHANGED
|
@@ -147,12 +147,12 @@ export const AI_TOOLS = {
|
|
|
147
147
|
cliFlag: "antigravity",
|
|
148
148
|
},
|
|
149
149
|
},
|
|
150
|
-
|
|
151
|
-
name: "
|
|
152
|
-
templateDirs: ["common", "
|
|
153
|
-
configDir: ".
|
|
154
|
-
extraManagedPaths: [".
|
|
155
|
-
cliFlag: "
|
|
150
|
+
devin: {
|
|
151
|
+
name: "Devin",
|
|
152
|
+
templateDirs: ["common", "devin"],
|
|
153
|
+
configDir: ".devin/workflows",
|
|
154
|
+
extraManagedPaths: [".devin/skills"],
|
|
155
|
+
cliFlag: "devin",
|
|
156
156
|
defaultChecked: false,
|
|
157
157
|
hasPythonHooks: false,
|
|
158
158
|
templateContext: {
|
|
@@ -161,7 +161,7 @@ export const AI_TOOLS = {
|
|
|
161
161
|
userActionLabel: "Workflows",
|
|
162
162
|
agentCapable: false,
|
|
163
163
|
hasHooks: false,
|
|
164
|
-
cliFlag: "
|
|
164
|
+
cliFlag: "devin",
|
|
165
165
|
},
|
|
166
166
|
},
|
|
167
167
|
qoder: {
|
|
@@ -266,6 +266,24 @@ export const AI_TOOLS = {
|
|
|
266
266
|
cliFlag: "reasonix",
|
|
267
267
|
},
|
|
268
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: "/trellis:",
|
|
280
|
+
executorAI: "Bash scripts or Agent calls",
|
|
281
|
+
userActionLabel: "Skills",
|
|
282
|
+
agentCapable: true,
|
|
283
|
+
hasHooks: false,
|
|
284
|
+
cliFlag: "zcode",
|
|
285
|
+
},
|
|
286
|
+
},
|
|
269
287
|
};
|
|
270
288
|
/**
|
|
271
289
|
* Get the configuration for a specific AI tool
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ai-tools.js","sourceRoot":"","sources":["../../src/types/ai-tools.ts"],"names":[],"mappings":"AAAA;;;;GAIG;
|
|
1
|
+
{"version":3,"file":"ai-tools.js","sourceRoot":"","sources":["../../src/types/ai-tools.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AA6HH;;;;;;;;;;GAUG;AACH,MAAM,CAAC,MAAM,QAAQ,GAAiC;IACpD,aAAa,EAAE;QACb,IAAI,EAAE,aAAa;QACnB,YAAY,EAAE,CAAC,QAAQ,EAAE,QAAQ,CAAC;QAClC,SAAS,EAAE,SAAS;QACpB,OAAO,EAAE,QAAQ;QACjB,cAAc,EAAE,IAAI;QACpB,cAAc,EAAE,IAAI;QACpB,eAAe,EAAE;YACf,YAAY,EAAE,WAAW;YACzB,UAAU,EAAE,4BAA4B;YACxC,eAAe,EAAE,gBAAgB;YACjC,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,QAAQ;SAClB;KACF;IACD,MAAM,EAAE;QACN,IAAI,EAAE,QAAQ;QACd,YAAY,EAAE,CAAC,QAAQ,EAAE,QAAQ,CAAC;QAClC,SAAS,EAAE,SAAS;QACpB,OAAO,EAAE,QAAQ;QACjB,cAAc,EAAE,IAAI;QACpB,cAAc,EAAE,IAAI;QACpB,eAAe,EAAE;YACf,YAAY,EAAE,WAAW;YACzB,UAAU,EAAE,4BAA4B;YACxC,eAAe,EAAE,gBAAgB;YACjC,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,QAAQ;SAClB;KACF;IACD,QAAQ,EAAE;QACR,IAAI,EAAE,UAAU;QAChB,YAAY,EAAE,CAAC,QAAQ,EAAE,UAAU,CAAC;QACpC,SAAS,EAAE,WAAW;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C,QAAQ,EAAE,OAAO,CAAC;QACjC,SAAS,EAAE,QAAQ;QACnB,mBAAmB,EAAE,IAAI;QACzB,iBAAiB,EAAE,CAAC,mBAAmB,EAAE,iBAAiB,CAAC;QAC3D,OAAO,EAAE,OAAO;QAChB,cAAc,EAAE,KAAK;QACrB,cAAc,EAAE,KAAK;QACrB,eAAe,EAAE;YACf,YAAY,EAAE,WAAW;YACzB,UAAU,EAAE,6BAA6B;YACzC,eAAe,EAAE,QAAQ;YACzB,YAAY,EAAE,IAAI;YAClB,QAAQ,EAAE,KAAK;YACf,OAAO,EAAE,OAAO;SACjB;KACF;CACF,CAAC;AAEF;;GAEG;AACH,MAAM,UAAU,aAAa,CAAC,IAAY;IACxC,OAAO,QAAQ,CAAC,IAAI,CAAC,CAAC;AACxB,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,eAAe,CAAC,IAAY;IAC1C,MAAM,MAAM,GAAG,QAAQ,CAAC,IAAI,CAAC,CAAC;IAC9B,MAAM,KAAK,GAAG,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC;IACjC,IAAI,MAAM,CAAC,mBAAmB,EAAE,CAAC;QAC/B,KAAK,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;IAC/B,CAAC;IACD,IAAI,MAAM,CAAC,iBAAiB,EAAE,CAAC;QAC7B,KAAK,CAAC,IAAI,CAAC,GAAG,MAAM,CAAC,iBAAiB,CAAC,CAAC;IAC1C,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,eAAe,CAAC,IAAY;IAC1C,OAAO,QAAQ,CAAC,IAAI,CAAC,CAAC,YAAY,CAAC;AACrC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mindfoldhq/trellis",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.3",
|
|
4
4
|
"description": "AI capabilities grow like ivy — Trellis provides the structure to guide them along a disciplined path",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"inquirer": "^9.3.7",
|
|
35
35
|
"undici": "^6.21.0",
|
|
36
36
|
"zod": "^4.4.2",
|
|
37
|
-
"@mindfoldhq/trellis-core": "0.6.
|
|
37
|
+
"@mindfoldhq/trellis-core": "0.6.3"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@eslint/js": "^9.18.0",
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Configure Windsurf:
|
|
3
|
-
* - workflows/ — start + finish-work as slash commands
|
|
4
|
-
* - skills/trellis-{name}/SKILL.md — other 5 as auto-triggered skills
|
|
5
|
-
*/
|
|
6
|
-
export declare function configureWindsurf(cwd: string): Promise<void>;
|
|
7
|
-
//# sourceMappingURL=windsurf.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"windsurf.d.ts","sourceRoot":"","sources":["../../src/configurators/windsurf.ts"],"names":[],"mappings":"AAUA;;;;GAIG;AACH,wBAAsB,iBAAiB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAiBlE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"windsurf.js","sourceRoot":"","sources":["../../src/configurators/windsurf.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,WAAW,CAAC;AAC7B,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAC/D,OAAO,EACL,oBAAoB,EACpB,eAAe,EACf,aAAa,EACb,WAAW,GACZ,MAAM,aAAa,CAAC;AAErB;;;;GAIG;AACH,MAAM,CAAC,KAAK,UAAU,iBAAiB,CAAC,GAAW;IACjD,MAAM,GAAG,GAAG,QAAQ,CAAC,QAAQ,CAAC,eAAe,CAAC;IAE9C,MAAM,YAAY,GAAG,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,WAAW,EAAE,WAAW,CAAC,CAAC;IAC9D,SAAS,CAAC,YAAY,CAAC,CAAC;IACxB,KAAK,MAAM,GAAG,IAAI,eAAe,CAAC,GAAG,CAAC,EAAE,CAAC;QACvC,MAAM,SAAS,CACb,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE,WAAW,GAAG,CAAC,IAAI,KAAK,CAAC,EACjD,GAAG,CAAC,OAAO,CACZ,CAAC;IACJ,CAAC;IAED,MAAM,WAAW,CACf,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE,WAAW,EAAE,QAAQ,CAAC,EACrC,aAAa,CAAC,GAAG,CAAC,EAClB,oBAAoB,CAAC,GAAG,CAAC,CAC1B,CAAC;AACJ,CAAC"}
|