@mindfoldhq/trellis 0.4.0-beta.8 → 0.4.0-beta.9

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.
Files changed (92) hide show
  1. package/README.md +10 -5
  2. package/dist/cli/index.js +2 -0
  3. package/dist/cli/index.js.map +1 -1
  4. package/dist/commands/init.d.ts +2 -0
  5. package/dist/commands/init.d.ts.map +1 -1
  6. package/dist/commands/init.js +33 -9
  7. package/dist/commands/init.js.map +1 -1
  8. package/dist/configurators/codex.d.ts.map +1 -1
  9. package/dist/configurators/codex.js +2 -1
  10. package/dist/configurators/codex.js.map +1 -1
  11. package/dist/configurators/copilot.d.ts +9 -0
  12. package/dist/configurators/copilot.d.ts.map +1 -0
  13. package/dist/configurators/copilot.js +34 -0
  14. package/dist/configurators/copilot.js.map +1 -0
  15. package/dist/configurators/index.d.ts.map +1 -1
  16. package/dist/configurators/index.js +32 -1
  17. package/dist/configurators/index.js.map +1 -1
  18. package/dist/configurators/windsurf.d.ts +8 -0
  19. package/dist/configurators/windsurf.d.ts.map +1 -0
  20. package/dist/configurators/windsurf.js +18 -0
  21. package/dist/configurators/windsurf.js.map +1 -0
  22. package/dist/migrations/manifests/0.4.0-beta.9.json +9 -0
  23. package/dist/templates/claude/hooks/inject-subagent-context.py +8 -1
  24. package/dist/templates/claude/hooks/ralph-loop.py +8 -1
  25. package/dist/templates/claude/hooks/session-start.py +31 -7
  26. package/dist/templates/claude/hooks/statusline.py +211 -0
  27. package/dist/templates/claude/settings.json +4 -0
  28. package/dist/templates/codex/hooks/session-start.py +31 -7
  29. package/dist/templates/codex/hooks.json +1 -1
  30. package/dist/templates/copilot/hooks/session-start.py +218 -0
  31. package/dist/templates/copilot/hooks.json +11 -0
  32. package/dist/templates/copilot/index.d.ts +23 -0
  33. package/dist/templates/copilot/index.d.ts.map +1 -0
  34. package/dist/templates/copilot/index.js +54 -0
  35. package/dist/templates/copilot/index.js.map +1 -0
  36. package/dist/templates/copilot/prompts/before-dev.prompt.md +33 -0
  37. package/dist/templates/copilot/prompts/brainstorm.prompt.md +491 -0
  38. package/dist/templates/copilot/prompts/break-loop.prompt.md +129 -0
  39. package/dist/templates/copilot/prompts/check-cross-layer.prompt.md +157 -0
  40. package/dist/templates/copilot/prompts/check.prompt.md +29 -0
  41. package/dist/templates/copilot/prompts/create-command.prompt.md +116 -0
  42. package/dist/templates/copilot/prompts/finish-work.prompt.md +157 -0
  43. package/dist/templates/copilot/prompts/integrate-skill.prompt.md +223 -0
  44. package/dist/templates/copilot/prompts/onboard.prompt.md +362 -0
  45. package/dist/templates/copilot/prompts/parallel.prompt.md +196 -0
  46. package/dist/templates/copilot/prompts/record-session.prompt.md +66 -0
  47. package/dist/templates/copilot/prompts/start.prompt.md +397 -0
  48. package/dist/templates/copilot/prompts/update-spec.prompt.md +358 -0
  49. package/dist/templates/extract.d.ts +18 -0
  50. package/dist/templates/extract.d.ts.map +1 -1
  51. package/dist/templates/extract.js +32 -0
  52. package/dist/templates/extract.js.map +1 -1
  53. package/dist/templates/iflow/hooks/inject-subagent-context.py +8 -1
  54. package/dist/templates/iflow/hooks/ralph-loop.py +8 -1
  55. package/dist/templates/iflow/hooks/session-start.py +31 -7
  56. package/dist/templates/markdown/spec/backend/directory-structure.md +1 -1
  57. package/dist/templates/opencode/agents/dispatch.md +20 -19
  58. package/dist/templates/opencode/lib/trellis-context.js +42 -2
  59. package/dist/templates/opencode/plugins/session-start.js +7 -27
  60. package/dist/templates/trellis/scripts/add_session.py +6 -1
  61. package/dist/templates/trellis/scripts/common/__init__.py +2 -0
  62. package/dist/templates/trellis/scripts/common/cli_adapter.py +87 -9
  63. package/dist/templates/trellis/scripts/common/paths.py +57 -6
  64. package/dist/templates/trellis/scripts/common/task_store.py +6 -4
  65. package/dist/templates/trellis/scripts/common/task_utils.py +14 -8
  66. package/dist/templates/trellis/scripts/multi_agent/start.py +9 -5
  67. package/dist/templates/trellis/scripts/task.py +1 -1
  68. package/dist/templates/windsurf/index.d.ts +21 -0
  69. package/dist/templates/windsurf/index.d.ts.map +1 -0
  70. package/dist/templates/windsurf/index.js +44 -0
  71. package/dist/templates/windsurf/index.js.map +1 -0
  72. package/dist/templates/windsurf/workflows/trellis-before-dev.md +31 -0
  73. package/dist/templates/windsurf/workflows/trellis-brainstorm.md +491 -0
  74. package/dist/templates/windsurf/workflows/trellis-break-loop.md +111 -0
  75. package/dist/templates/windsurf/workflows/trellis-check-cross-layer.md +157 -0
  76. package/dist/templates/windsurf/workflows/trellis-check.md +27 -0
  77. package/dist/templates/windsurf/workflows/trellis-create-command.md +154 -0
  78. package/dist/templates/windsurf/workflows/trellis-finish-work.md +147 -0
  79. package/dist/templates/windsurf/workflows/trellis-integrate-skill.md +220 -0
  80. package/dist/templates/windsurf/workflows/trellis-onboard.md +362 -0
  81. package/dist/templates/windsurf/workflows/trellis-record-session.md +66 -0
  82. package/dist/templates/windsurf/workflows/trellis-start.md +373 -0
  83. package/dist/templates/windsurf/workflows/trellis-update-spec.md +358 -0
  84. package/dist/types/ai-tools.d.ts +5 -3
  85. package/dist/types/ai-tools.d.ts.map +1 -1
  86. package/dist/types/ai-tools.js +21 -1
  87. package/dist/types/ai-tools.js.map +1 -1
  88. package/dist/utils/template-fetcher.d.ts +17 -4
  89. package/dist/utils/template-fetcher.d.ts.map +1 -1
  90. package/dist/utils/template-fetcher.js +94 -12
  91. package/dist/utils/template-fetcher.js.map +1 -1
  92. package/package.json +1 -1
@@ -0,0 +1,358 @@
1
+ ---
2
+ description: Update the relevant code-spec documents with newly learned contracts and patterns.
3
+ ---
4
+
5
+ # Update Code-Spec - Capture Executable Contracts
6
+
7
+ When you learn something valuable (from debugging, implementing, or discussion), use this workflow to update the relevant code-spec documents.
8
+
9
+ **Timing**: After completing a task, fixing a bug, or discovering a new pattern
10
+
11
+ ---
12
+
13
+ ## Code-Spec First Rule (CRITICAL)
14
+
15
+ In this project, "spec" for implementation work means **code-spec**:
16
+ - Executable contracts (not principle-only text)
17
+ - Concrete signatures, payload fields, env keys, and boundary behavior
18
+ - Testable validation/error behavior
19
+
20
+ If the change touches infra or cross-layer contracts, code-spec depth is mandatory.
21
+
22
+ ### Mandatory Triggers
23
+
24
+ Apply code-spec depth when the change includes any of:
25
+ - New/changed command or API signature
26
+ - Cross-layer request/response contract change
27
+ - Database schema/migration change
28
+ - Infra integration (storage, queue, cache, secrets, env wiring)
29
+
30
+ ### Mandatory Output (7 Sections)
31
+
32
+ For triggered tasks, include all sections below:
33
+ 1. Scope / Trigger
34
+ 2. Signatures (command/API/DB)
35
+ 3. Contracts (request/response/env)
36
+ 4. Validation & Error Matrix
37
+ 5. Good/Base/Bad Cases
38
+ 6. Tests Required (with assertion points)
39
+ 7. Wrong vs Correct (at least one pair)
40
+
41
+ ---
42
+
43
+ ## When to Update Code-Specs
44
+
45
+ | Trigger | Example | Target Spec |
46
+ |---------|---------|-------------|
47
+ | **Implemented a feature** | Added template download with giget | Relevant `backend/` or `frontend/` file |
48
+ | **Made a design decision** | Used type field + mapping table for extensibility | Relevant code-spec + "Design Decisions" section |
49
+ | **Fixed a bug** | Found a subtle issue with error handling | `backend/error-handling.md` |
50
+ | **Discovered a pattern** | Found a better way to structure code | Relevant `backend/` or `frontend/` file |
51
+ | **Hit a gotcha** | Learned that X must be done before Y | Relevant code-spec + "Common Mistakes" section |
52
+ | **Established a convention** | Team agreed on naming pattern | `quality-guidelines.md` |
53
+ | **New thinking trigger** | "Don't forget to check X before doing Y" | `guides/*.md` (as a checklist item, not detailed rules) |
54
+
55
+ **Key Insight**: Code-spec updates are NOT just for problems. Every feature implementation contains design decisions and contracts that future AI/developers need to execute safely.
56
+
57
+ ---
58
+
59
+ ## Spec Structure Overview
60
+
61
+ ```
62
+ .trellis/spec/
63
+ ├── backend/ # Backend coding standards
64
+ │ ├── index.md # Overview and links
65
+ │ └── *.md # Topic-specific guidelines
66
+ ├── frontend/ # Frontend coding standards
67
+ │ ├── index.md # Overview and links
68
+ │ └── *.md # Topic-specific guidelines
69
+ └── guides/ # Thinking checklists (NOT coding specs!)
70
+ ├── index.md # Guide index
71
+ └── *.md # Topic-specific guides
72
+ ```
73
+
74
+ ### CRITICAL: Code-Spec vs Guide - Know the Difference
75
+
76
+ | Type | Location | Purpose | Content Style |
77
+ |------|----------|---------|---------------|
78
+ | **Code-Spec** | `backend/*.md`, `frontend/*.md` | Tell AI "how to implement safely" | Signatures, contracts, matrices, cases, test points |
79
+ | **Guide** | `guides/*.md` | Help AI "what to think about" | Checklists, questions, pointers to specs |
80
+
81
+ **Decision Rule**: Ask yourself:
82
+
83
+ - "This is **how to write** the code" → Put in `backend/` or `frontend/`
84
+ - "This is **what to consider** before writing" → Put in `guides/`
85
+
86
+ **Example**:
87
+
88
+ | Learning | Wrong Location | Correct Location |
89
+ |----------|----------------|------------------|
90
+ | "Use `reconfigure()` not `TextIOWrapper` for Windows stdout" | ❌ `guides/cross-platform-thinking-guide.md` | ✅ `backend/script-conventions.md` |
91
+ | "Remember to check encoding when writing cross-platform code" | ❌ `backend/script-conventions.md` | ✅ `guides/cross-platform-thinking-guide.md` |
92
+
93
+ **Guides should be short checklists that point to specs**, not duplicate the detailed rules.
94
+
95
+ ---
96
+
97
+ ## Update Process
98
+
99
+ ### Step 1: Identify What You Learned
100
+
101
+ Answer these questions:
102
+
103
+ 1. **What did you learn?** (Be specific)
104
+ 2. **Why is it important?** (What problem does it prevent?)
105
+ 3. **Where does it belong?** (Which spec file?)
106
+
107
+ ### Step 2: Classify the Update Type
108
+
109
+ | Type | Description | Action |
110
+ |------|-------------|--------|
111
+ | **Design Decision** | Why we chose approach X over Y | Add to "Design Decisions" section |
112
+ | **Project Convention** | How we do X in this project | Add to relevant section with examples |
113
+ | **New Pattern** | A reusable approach discovered | Add to "Patterns" section |
114
+ | **Forbidden Pattern** | Something that causes problems | Add to "Anti-patterns" or "Don't" section |
115
+ | **Common Mistake** | Easy-to-make error | Add to "Common Mistakes" section |
116
+ | **Convention** | Agreed-upon standard | Add to relevant section |
117
+ | **Gotcha** | Non-obvious behavior | Add warning callout |
118
+
119
+ ### Step 3: Read the Target Code-Spec
120
+
121
+ Before editing, read the current code-spec to:
122
+ - Understand existing structure
123
+ - Avoid duplicating content
124
+ - Find the right section for your update
125
+
126
+ ```bash
127
+ cat .trellis/spec/<category>/<file>.md
128
+ ```
129
+
130
+ ### Step 4: Make the Update
131
+
132
+ Follow these principles:
133
+
134
+ 1. **Be Specific**: Include concrete examples, not just abstract rules
135
+ 2. **Explain Why**: State the problem this prevents
136
+ 3. **Show Contracts**: Add signatures, payload fields, and error behavior
137
+ 4. **Show Code**: Add code snippets for key patterns
138
+ 5. **Keep it Short**: One concept per section
139
+
140
+ ### Step 5: Update the Index (if needed)
141
+
142
+ If you added a new section or the code-spec status changed, update the category's `index.md`.
143
+
144
+ ---
145
+
146
+ ## Update Templates
147
+
148
+ ### Mandatory Template for Infra/Cross-Layer Work
149
+
150
+ ```markdown
151
+ ## Scenario: <name>
152
+
153
+ ### 1. Scope / Trigger
154
+ - Trigger: <why this requires code-spec depth>
155
+
156
+ ### 2. Signatures
157
+ - Backend command/API/DB signature(s)
158
+
159
+ ### 3. Contracts
160
+ - Request fields (name, type, constraints)
161
+ - Response fields (name, type, constraints)
162
+ - Environment keys (required/optional)
163
+
164
+ ### 4. Validation & Error Matrix
165
+ - <condition> -> <error>
166
+
167
+ ### 5. Good/Base/Bad Cases
168
+ - Good: ...
169
+ - Base: ...
170
+ - Bad: ...
171
+
172
+ ### 6. Tests Required
173
+ - Unit/Integration/E2E with assertion points
174
+
175
+ ### 7. Wrong vs Correct
176
+ #### Wrong
177
+ ...
178
+ #### Correct
179
+ ...
180
+ ```
181
+
182
+ ### Adding a Design Decision
183
+
184
+ ```markdown
185
+ ### Design Decision: [Decision Name]
186
+
187
+ **Context**: What problem were we solving?
188
+
189
+ **Options Considered**:
190
+ 1. Option A - brief description
191
+ 2. Option B - brief description
192
+
193
+ **Decision**: We chose Option X because...
194
+
195
+ **Example**:
196
+ \`\`\`typescript
197
+ // How it's implemented
198
+ code example
199
+ \`\`\`
200
+
201
+ **Extensibility**: How to extend this in the future...
202
+ ```
203
+
204
+ ### Adding a Project Convention
205
+
206
+ ```markdown
207
+ ### Convention: [Convention Name]
208
+
209
+ **What**: Brief description of the convention.
210
+
211
+ **Why**: Why we do it this way in this project.
212
+
213
+ **Example**:
214
+ \`\`\`typescript
215
+ // How to follow this convention
216
+ code example
217
+ \`\`\`
218
+
219
+ **Related**: Links to related conventions or specs.
220
+ ```
221
+
222
+ ### Adding a New Pattern
223
+
224
+ ```markdown
225
+ ### Pattern Name
226
+
227
+ **Problem**: What problem does this solve?
228
+
229
+ **Solution**: Brief description of the approach.
230
+
231
+ **Example**:
232
+ \`\`\`
233
+ // Good
234
+ code example
235
+
236
+ // Bad
237
+ code example
238
+ \`\`\`
239
+
240
+ **Why**: Explanation of why this works better.
241
+ ```
242
+
243
+ ### Adding a Forbidden Pattern
244
+
245
+ ```markdown
246
+ ### Don't: Pattern Name
247
+
248
+ **Problem**:
249
+ \`\`\`
250
+ // Don't do this
251
+ bad code example
252
+ \`\`\`
253
+
254
+ **Why it's bad**: Explanation of the issue.
255
+
256
+ **Instead**:
257
+ \`\`\`
258
+ // Do this instead
259
+ good code example
260
+ \`\`\`
261
+ ```
262
+
263
+ ### Adding a Common Mistake
264
+
265
+ ```markdown
266
+ ### Common Mistake: Description
267
+
268
+ **Symptom**: What goes wrong
269
+
270
+ **Cause**: Why this happens
271
+
272
+ **Fix**: How to correct it
273
+
274
+ **Prevention**: How to avoid it in the future
275
+ ```
276
+
277
+ ### Adding a Gotcha
278
+
279
+ ```markdown
280
+ > **Warning**: Brief description of the non-obvious behavior.
281
+ >
282
+ > Details about when this happens and how to handle it.
283
+ ```
284
+
285
+ ---
286
+
287
+ ## Interactive Mode
288
+
289
+ If you're unsure what to update, answer these prompts:
290
+
291
+ 1. **What did you just finish?**
292
+ - [ ] Fixed a bug
293
+ - [ ] Implemented a feature
294
+ - [ ] Refactored code
295
+ - [ ] Had a discussion about approach
296
+
297
+ 2. **What did you learn or decide?**
298
+ - Design decision (why X over Y)
299
+ - Project convention (how we do X)
300
+ - Non-obvious behavior (gotcha)
301
+ - Better approach (pattern)
302
+
303
+ 3. **Would future AI/developers need to know this?**
304
+ - To understand how the code works → Yes, update spec
305
+ - To maintain or extend the feature → Yes, update spec
306
+ - To avoid repeating mistakes → Yes, update spec
307
+ - Purely one-off implementation detail → Maybe skip
308
+
309
+ 4. **Which area does it relate to?**
310
+ - [ ] Backend code
311
+ - [ ] Frontend code
312
+ - [ ] Cross-layer data flow
313
+ - [ ] Code organization/reuse
314
+ - [ ] Quality/testing
315
+
316
+ ---
317
+
318
+ ## Quality Checklist
319
+
320
+ Before finishing your code-spec update:
321
+
322
+ - [ ] Is the content specific and actionable?
323
+ - [ ] Did you include a code example?
324
+ - [ ] Did you explain WHY, not just WHAT?
325
+ - [ ] Did you include executable signatures/contracts?
326
+ - [ ] Did you include validation and error matrix?
327
+ - [ ] Did you include Good/Base/Bad cases?
328
+ - [ ] Did you include required tests with assertion points?
329
+ - [ ] Is it in the right code-spec file?
330
+ - [ ] Does it duplicate existing content?
331
+ - [ ] Would a new team member understand it?
332
+
333
+ ---
334
+
335
+ ## Relationship to Other Workflows
336
+
337
+ ```
338
+ Development Flow:
339
+ Learn something → /trellis-update-spec → Knowledge captured
340
+ ↑ ↓
341
+ /trellis-break-loop ←──────────────────── Future sessions benefit
342
+ (deep bug analysis)
343
+ ```
344
+
345
+ - `/trellis-break-loop` - Analyzes bugs deeply, often reveals spec updates needed
346
+ - `/trellis-update-spec` - Actually makes the updates (this workflow)
347
+ - `/trellis-finish-work` - Reminds you to check if specs need updates
348
+
349
+ ---
350
+
351
+ ## Core Philosophy
352
+
353
+ > **Code-specs are living documents. Every debugging session, every "aha moment" is an opportunity to make the implementation contract clearer.**
354
+
355
+ The goal is **institutional memory**:
356
+ - What one person learns, everyone benefits from
357
+ - What AI learns in one session, persists to future sessions
358
+ - Mistakes become documented guardrails
@@ -6,16 +6,16 @@
6
6
  /**
7
7
  * Supported AI coding tools
8
8
  */
9
- export type AITool = "claude-code" | "cursor" | "opencode" | "iflow" | "codex" | "kilo" | "kiro" | "gemini" | "antigravity" | "qoder" | "codebuddy";
9
+ export type AITool = "claude-code" | "cursor" | "opencode" | "iflow" | "codex" | "kilo" | "kiro" | "gemini" | "antigravity" | "windsurf" | "qoder" | "codebuddy" | "copilot";
10
10
  /**
11
11
  * Template directory categories
12
12
  */
13
- export type TemplateDir = "common" | "claude" | "cursor" | "opencode" | "iflow" | "codex" | "kilo" | "kiro" | "gemini" | "antigravity" | "qoder" | "codebuddy";
13
+ export type TemplateDir = "common" | "claude" | "cursor" | "opencode" | "iflow" | "codex" | "kilo" | "kiro" | "gemini" | "antigravity" | "windsurf" | "qoder" | "codebuddy" | "copilot";
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" | "iflow" | "codex" | "kilo" | "kiro" | "gemini" | "antigravity" | "qoder" | "codebuddy";
18
+ export type CliFlag = "claude" | "cursor" | "opencode" | "iflow" | "codex" | "kilo" | "kiro" | "gemini" | "antigravity" | "windsurf" | "qoder" | "codebuddy" | "copilot";
19
19
  /**
20
20
  * Configuration for an AI tool
21
21
  */
@@ -32,6 +32,8 @@ export interface AIToolConfig {
32
32
  * to the platform's managed paths automatically.
33
33
  */
34
34
  supportsAgentSkills?: boolean;
35
+ /** Additional managed paths beyond configDir (e.g., .github/hooks for Copilot) */
36
+ extraManagedPaths?: string[];
35
37
  /** CLI flag name for --flag options (e.g., "claude" for --claude) */
36
38
  cliFlag: CliFlag;
37
39
  /** Whether this tool is checked by default in interactive init prompt */
@@ -1 +1 @@
1
- {"version":3,"file":"ai-tools.d.ts","sourceRoot":"","sources":["../../src/types/ai-tools.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAE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AM,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"}
@@ -54,7 +54,7 @@ export const AI_TOOLS = {
54
54
  supportsAgentSkills: true,
55
55
  cliFlag: "codex",
56
56
  defaultChecked: false,
57
- hasPythonHooks: false,
57
+ hasPythonHooks: true,
58
58
  },
59
59
  kilo: {
60
60
  name: "Kilo CLI",
@@ -88,6 +88,14 @@ export const AI_TOOLS = {
88
88
  defaultChecked: false,
89
89
  hasPythonHooks: false,
90
90
  },
91
+ windsurf: {
92
+ name: "Windsurf",
93
+ templateDirs: ["common", "windsurf"],
94
+ configDir: ".windsurf/workflows",
95
+ cliFlag: "windsurf",
96
+ defaultChecked: false,
97
+ hasPythonHooks: false,
98
+ },
91
99
  qoder: {
92
100
  name: "Qoder",
93
101
  templateDirs: ["common", "qoder"],
@@ -104,6 +112,15 @@ export const AI_TOOLS = {
104
112
  defaultChecked: false,
105
113
  hasPythonHooks: false,
106
114
  },
115
+ copilot: {
116
+ name: "GitHub Copilot",
117
+ templateDirs: ["common", "copilot"],
118
+ configDir: ".github/copilot",
119
+ extraManagedPaths: [".github/hooks", ".github/prompts"],
120
+ cliFlag: "copilot",
121
+ defaultChecked: false,
122
+ hasPythonHooks: true,
123
+ },
107
124
  };
108
125
  /**
109
126
  * Get the configuration for a specific AI tool
@@ -120,6 +137,9 @@ export function getManagedPaths(tool) {
120
137
  if (config.supportsAgentSkills) {
121
138
  paths.push(".agents/skills");
122
139
  }
140
+ if (config.extraManagedPaths) {
141
+ paths.push(...config.extraManagedPaths);
142
+ }
123
143
  return paths;
124
144
  }
125
145
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"ai-tools.js","sourceRoot":"","sources":["../../src/types/ai-tools.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AA4E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+2,9 @@
2
2
  * Remote template fetcher for Trellis CLI
3
3
  *
4
4
  * Fetches spec templates from the official marketplace:
5
- * https://github.com/mindfold-ai/Trellis/tree/main/marketplace
5
+ * https://github.com/mindfold-ai/marketplace
6
6
  */
7
- export declare const TEMPLATE_INDEX_URL = "https://raw.githubusercontent.com/mindfold-ai/Trellis/main/marketplace/index.json";
7
+ export declare const TEMPLATE_INDEX_URL = "https://raw.githubusercontent.com/mindfold-ai/marketplace/main/index.json";
8
8
  /** Timeout constants for network operations */
9
9
  export declare const TIMEOUTS: {
10
10
  /** Timeout for fetching the template index (ms) */
@@ -34,6 +34,8 @@ export interface RegistrySource {
34
34
  rawBaseUrl: string;
35
35
  /** Full giget source string for downloading */
36
36
  gigetSource: string;
37
+ /** Custom host for self-hosted instances (e.g., "git.company.com"). Undefined for public providers. */
38
+ host?: string;
37
39
  }
38
40
  export declare const SUPPORTED_PROVIDERS: string[];
39
41
  /**
@@ -46,9 +48,20 @@ export declare function normalizeRegistrySource(source: string): string;
46
48
  /**
47
49
  * Parse a giget-style registry source into its components.
48
50
  *
49
- * Supports: gh:user/repo/subdir#ref, gitlab:user/repo/subdir, bitbucket:user/repo/subdir
50
- * Also accepts HTTPS URLs which are auto-converted (e.g. https://github.com/user/repo).
51
+ * Supported input formats:
52
+ * | Format | Example | Provider | Host? |
53
+ * |-------------------------------------|----------------------------------------------|-----------|-----------|
54
+ * | giget prefix | gh:org/repo, gitlab:org/repo#ref | native | no |
55
+ * | Public HTTPS | https://github.com/org/repo | native | no |
56
+ * | Public SSH | git@github.com:org/repo | native | no |
57
+ * | Self-hosted HTTPS | https://git.corp.com/org/repo | gitlab | yes |
58
+ * | Self-hosted SSH | git@git.corp.com:org/repo | gitlab | yes |
59
+ * | ssh:// protocol (with/without port) | ssh://git@host:2222/org/repo | gitlab | yes |
60
+ * | HTTPS with port | https://host:8443/org/repo | gitlab | yes |
61
+ * | GitLab browse URL | https://host/org/repo/-/tree/branch/path | gitlab | yes |
62
+ *
51
63
  * Ref defaults to "main" if not specified.
64
+ * Unknown domains default to GitLab URL patterns (covers self-hosted GitLab CE/EE).
52
65
  *
53
66
  * @throws Error if provider is unsupported
54
67
  */
@@ -1 +1 @@
1
- {"version":3,"file":"template-fetcher.d.ts","sourceRoot":"","sources":["../../src/utils/template-fetcher.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAWH,eAAO,MAAM,kBAAkB,sFACsD,CAAC;AAYtF,+CAA+C;AAC/C,eAAO,MAAM,QAAQ;IACnB,mDAAmD;;IAEnD,wDAAwD;;CAEhD,CAAC;AAMX,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,EAAE,CAAC;CACjB;AAOD,MAAM,MAAM,gBAAgB,GAAG,MAAM,GAAG,WAAW,GAAG,QAAQ,CAAC;AAE/D,MAAM,WAAW,cAAc;IAC7B,mEAAmE;IACnE,QAAQ,EAAE,MAAM,CAAC;IACjB,6CAA6C;IAC7C,IAAI,EAAE,MAAM,CAAC;IACb,gFAAgF;IAChF,MAAM,EAAE,MAAM,CAAC;IACf,yCAAyC;IACzC,GAAG,EAAE,MAAM,CAAC;IACZ,yDAAyD;IACzD,UAAU,EAAE,MAAM,CAAC;IACnB,+CAA+C;IAC/C,WAAW,EAAE,MAAM,CAAC;CACrB;AAcD,eAAO,MAAM,mBAAmB,UAAgC,CAAC;AAEjE;;;;;GAKG;AACH,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAwB9D;AAED;;;;;;;;GAQG;AACH,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,MAAM,GAAG,cAAc,CAyDlE;AAgCD;;;;;GAKG;AACH,wBAAsB,kBAAkB,CACtC,QAAQ,CAAC,EAAE,MAAM,G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