@orchestrator-claude/cli 1.4.0

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 (176) hide show
  1. package/README.md +74 -0
  2. package/dist/api-client/OrchestratorAPIClient.d.ts +111 -0
  3. package/dist/api-client/OrchestratorAPIClient.d.ts.map +1 -0
  4. package/dist/api-client/OrchestratorAPIClient.js +176 -0
  5. package/dist/api-client/OrchestratorAPIClient.js.map +1 -0
  6. package/dist/api-client/index.d.ts +11 -0
  7. package/dist/api-client/index.d.ts.map +1 -0
  8. package/dist/api-client/index.js +10 -0
  9. package/dist/api-client/index.js.map +1 -0
  10. package/dist/api-client/retry.d.ts +29 -0
  11. package/dist/api-client/retry.d.ts.map +1 -0
  12. package/dist/api-client/retry.js +85 -0
  13. package/dist/api-client/retry.js.map +1 -0
  14. package/dist/api-client/types.d.ts +148 -0
  15. package/dist/api-client/types.d.ts.map +1 -0
  16. package/dist/api-client/types.js +10 -0
  17. package/dist/api-client/types.js.map +1 -0
  18. package/dist/commands/AgentsCommand.d.ts +74 -0
  19. package/dist/commands/AgentsCommand.d.ts.map +1 -0
  20. package/dist/commands/AgentsCommand.js +170 -0
  21. package/dist/commands/AgentsCommand.js.map +1 -0
  22. package/dist/commands/InitCommand.d.ts +63 -0
  23. package/dist/commands/InitCommand.d.ts.map +1 -0
  24. package/dist/commands/InitCommand.js +150 -0
  25. package/dist/commands/InitCommand.js.map +1 -0
  26. package/dist/commands/MigrateCommand.d.ts +93 -0
  27. package/dist/commands/MigrateCommand.d.ts.map +1 -0
  28. package/dist/commands/MigrateCommand.js +260 -0
  29. package/dist/commands/MigrateCommand.js.map +1 -0
  30. package/dist/commands/StatusCommand.d.ts +61 -0
  31. package/dist/commands/StatusCommand.d.ts.map +1 -0
  32. package/dist/commands/StatusCommand.js +142 -0
  33. package/dist/commands/StatusCommand.js.map +1 -0
  34. package/dist/commands/TemplatesCommand.d.ts +69 -0
  35. package/dist/commands/TemplatesCommand.d.ts.map +1 -0
  36. package/dist/commands/TemplatesCommand.js +147 -0
  37. package/dist/commands/TemplatesCommand.js.map +1 -0
  38. package/dist/commands/WorkflowCommand.d.ts +82 -0
  39. package/dist/commands/WorkflowCommand.d.ts.map +1 -0
  40. package/dist/commands/WorkflowCommand.js +203 -0
  41. package/dist/commands/WorkflowCommand.js.map +1 -0
  42. package/dist/config/CLIConfig.d.ts +66 -0
  43. package/dist/config/CLIConfig.d.ts.map +1 -0
  44. package/dist/config/CLIConfig.js +60 -0
  45. package/dist/config/CLIConfig.js.map +1 -0
  46. package/dist/formatters/OutputFormatter.d.ts +102 -0
  47. package/dist/formatters/OutputFormatter.d.ts.map +1 -0
  48. package/dist/formatters/OutputFormatter.js +182 -0
  49. package/dist/formatters/OutputFormatter.js.map +1 -0
  50. package/dist/index.d.ts +15 -0
  51. package/dist/index.d.ts.map +1 -0
  52. package/dist/index.js +249 -0
  53. package/dist/index.js.map +1 -0
  54. package/dist/templates/.gitkeep +0 -0
  55. package/dist/templates/TemplateEngine.d.ts +90 -0
  56. package/dist/templates/TemplateEngine.d.ts.map +1 -0
  57. package/dist/templates/TemplateEngine.js +149 -0
  58. package/dist/templates/TemplateEngine.js.map +1 -0
  59. package/dist/templates/base/CLAUDE.md.hbs +362 -0
  60. package/dist/templates/base/claude/agents/implementer.md +446 -0
  61. package/dist/templates/base/claude/agents/orchestrator.md +155 -0
  62. package/dist/templates/base/claude/agents/planner.md +348 -0
  63. package/dist/templates/base/claude/agents/researcher.md +390 -0
  64. package/dist/templates/base/claude/agents/reviewer.md +444 -0
  65. package/dist/templates/base/claude/agents/specifier.md +331 -0
  66. package/dist/templates/base/claude/agents/task-generator.md +382 -0
  67. package/dist/templates/base/claude/hooks/post-artifact-generate.sh +39 -0
  68. package/dist/templates/base/claude/hooks/post-implement-validate.sh +139 -0
  69. package/dist/templates/base/claude/hooks/post-phase-checkpoint.sh +322 -0
  70. package/dist/templates/base/claude/hooks/pre-agent-invoke.sh +34 -0
  71. package/dist/templates/base/claude/hooks/pre-phase-advance.sh +40 -0
  72. package/dist/templates/base/claude/hooks/track-agent-invocation.sh +230 -0
  73. package/dist/templates/base/claude/orchestrator-config.json +141 -0
  74. package/dist/templates/base/claude/settings.json +80 -0
  75. package/dist/templates/base/claude/skills/artifact-validator/SKILL.md +226 -0
  76. package/dist/templates/base/claude/skills/docs-guardian/SKILL.md +230 -0
  77. package/dist/templates/base/claude/skills/kb-lookup/SKILL.md +257 -0
  78. package/dist/templates/base/claude/skills/phase-gate-evaluator/SKILL.md +274 -0
  79. package/dist/templates/base/claude/skills/workflow-status/SKILL.md +322 -0
  80. package/dist/templates/base/docker-compose.yml.hbs +20 -0
  81. package/dist/templates/base/mcp.json.hbs +37 -0
  82. package/dist/templates/base/orchestrator/.state/.gitkeep +0 -0
  83. package/dist/templates/base/orchestrator-index.json.hbs +37 -0
  84. package/dist/templates/base/package.json.hbs +40 -0
  85. package/dist/templates/default/.orchestrator/orchestrator-index.json +19 -0
  86. package/dist/templates/default/README.md +58 -0
  87. package/dist/templates/default/docker-compose.yml +24 -0
  88. package/dist/templates/default/template.json +10 -0
  89. package/dist/templates/projects/api/files/index.ts.hbs +30 -0
  90. package/dist/templates/projects/api/files/server.ts.hbs +63 -0
  91. package/dist/templates/projects/api/files/tsconfig.json.hbs +27 -0
  92. package/dist/templates/projects/api/files/vitest.config.ts.hbs +28 -0
  93. package/dist/templates/projects/api/template.config.json +238 -0
  94. package/dist/templates/projects/api/template.config.ts +149 -0
  95. package/dist/templates/projects/cli/files/cli.ts.hbs +50 -0
  96. package/dist/templates/projects/cli/files/index.ts.hbs +8 -0
  97. package/dist/templates/projects/cli/files/tsconfig.json.hbs +27 -0
  98. package/dist/templates/projects/cli/files/vitest.config.ts.hbs +28 -0
  99. package/dist/templates/projects/cli/template.config.json +213 -0
  100. package/dist/templates/projects/cli/template.config.ts +126 -0
  101. package/dist/templates/projects/frontend/files/App.tsx.hbs +31 -0
  102. package/dist/templates/projects/frontend/files/index.html.hbs +13 -0
  103. package/dist/templates/projects/frontend/files/main.tsx.hbs +22 -0
  104. package/dist/templates/projects/frontend/files/tsconfig.json.hbs +34 -0
  105. package/dist/templates/projects/frontend/files/tsconfig.node.json.hbs +10 -0
  106. package/dist/templates/projects/frontend/files/vite.config.ts.hbs +19 -0
  107. package/dist/templates/projects/frontend/files/vitest.config.ts.hbs +36 -0
  108. package/dist/templates/projects/frontend/template.config.json +241 -0
  109. package/dist/templates/projects/frontend/template.config.ts +153 -0
  110. package/dist/templates/projects/minimal/files/claude-settings.json.hbs +20 -0
  111. package/dist/templates/projects/minimal/files/env.example.hbs +17 -0
  112. package/dist/templates/projects/minimal/files/gitignore.hbs +41 -0
  113. package/dist/templates/projects/minimal/files/index.ts.hbs +13 -0
  114. package/dist/templates/projects/minimal/files/tsconfig.json.hbs +27 -0
  115. package/dist/templates/projects/minimal/template.config.json +185 -0
  116. package/dist/templates/projects/minimal/template.config.ts +88 -0
  117. package/package.json +37 -0
  118. package/templates/.gitkeep +0 -0
  119. package/templates/base/CLAUDE.md.hbs +362 -0
  120. package/templates/base/claude/agents/implementer.md +446 -0
  121. package/templates/base/claude/agents/orchestrator.md +155 -0
  122. package/templates/base/claude/agents/planner.md +348 -0
  123. package/templates/base/claude/agents/researcher.md +390 -0
  124. package/templates/base/claude/agents/reviewer.md +444 -0
  125. package/templates/base/claude/agents/specifier.md +331 -0
  126. package/templates/base/claude/agents/task-generator.md +382 -0
  127. package/templates/base/claude/hooks/post-artifact-generate.sh +39 -0
  128. package/templates/base/claude/hooks/post-implement-validate.sh +139 -0
  129. package/templates/base/claude/hooks/post-phase-checkpoint.sh +322 -0
  130. package/templates/base/claude/hooks/pre-agent-invoke.sh +34 -0
  131. package/templates/base/claude/hooks/pre-phase-advance.sh +40 -0
  132. package/templates/base/claude/hooks/track-agent-invocation.sh +230 -0
  133. package/templates/base/claude/orchestrator-config.json +141 -0
  134. package/templates/base/claude/settings.json +80 -0
  135. package/templates/base/claude/skills/artifact-validator/SKILL.md +226 -0
  136. package/templates/base/claude/skills/docs-guardian/SKILL.md +230 -0
  137. package/templates/base/claude/skills/kb-lookup/SKILL.md +257 -0
  138. package/templates/base/claude/skills/phase-gate-evaluator/SKILL.md +274 -0
  139. package/templates/base/claude/skills/workflow-status/SKILL.md +322 -0
  140. package/templates/base/docker-compose.yml.hbs +20 -0
  141. package/templates/base/mcp.json.hbs +37 -0
  142. package/templates/base/orchestrator/.state/.gitkeep +0 -0
  143. package/templates/base/orchestrator-index.json.hbs +37 -0
  144. package/templates/base/package.json.hbs +40 -0
  145. package/templates/default/.orchestrator/orchestrator-index.json +19 -0
  146. package/templates/default/README.md +58 -0
  147. package/templates/default/docker-compose.yml +24 -0
  148. package/templates/default/template.json +10 -0
  149. package/templates/projects/api/files/index.ts.hbs +30 -0
  150. package/templates/projects/api/files/server.ts.hbs +63 -0
  151. package/templates/projects/api/files/tsconfig.json.hbs +27 -0
  152. package/templates/projects/api/files/vitest.config.ts.hbs +28 -0
  153. package/templates/projects/api/template.config.json +238 -0
  154. package/templates/projects/api/template.config.ts +149 -0
  155. package/templates/projects/cli/files/cli.ts.hbs +50 -0
  156. package/templates/projects/cli/files/index.ts.hbs +8 -0
  157. package/templates/projects/cli/files/tsconfig.json.hbs +27 -0
  158. package/templates/projects/cli/files/vitest.config.ts.hbs +28 -0
  159. package/templates/projects/cli/template.config.json +213 -0
  160. package/templates/projects/cli/template.config.ts +126 -0
  161. package/templates/projects/frontend/files/App.tsx.hbs +31 -0
  162. package/templates/projects/frontend/files/index.html.hbs +13 -0
  163. package/templates/projects/frontend/files/main.tsx.hbs +22 -0
  164. package/templates/projects/frontend/files/tsconfig.json.hbs +34 -0
  165. package/templates/projects/frontend/files/tsconfig.node.json.hbs +10 -0
  166. package/templates/projects/frontend/files/vite.config.ts.hbs +19 -0
  167. package/templates/projects/frontend/files/vitest.config.ts.hbs +36 -0
  168. package/templates/projects/frontend/template.config.json +241 -0
  169. package/templates/projects/frontend/template.config.ts +153 -0
  170. package/templates/projects/minimal/files/claude-settings.json.hbs +20 -0
  171. package/templates/projects/minimal/files/env.example.hbs +17 -0
  172. package/templates/projects/minimal/files/gitignore.hbs +41 -0
  173. package/templates/projects/minimal/files/index.ts.hbs +13 -0
  174. package/templates/projects/minimal/files/tsconfig.json.hbs +27 -0
  175. package/templates/projects/minimal/template.config.json +185 -0
  176. package/templates/projects/minimal/template.config.ts +88 -0
@@ -0,0 +1,241 @@
1
+ {
2
+ "name": "frontend",
3
+ "description": "React frontend with Vite and TypeScript",
4
+ "version": "1.0.0",
5
+ "directories": [
6
+ ".orchestrator",
7
+ ".orchestrator/artifacts",
8
+ ".orchestrator/artifacts/research",
9
+ ".orchestrator/artifacts/specify",
10
+ ".orchestrator/artifacts/plan",
11
+ ".orchestrator/artifacts/tasks",
12
+ ".orchestrator/artifacts/implement",
13
+ ".orchestrator/workflows",
14
+ ".orchestrator/memory",
15
+ ".orchestrator/memory/knowledge-base",
16
+ ".orchestrator/memory/knowledge-base/core",
17
+ ".orchestrator/memory/knowledge-base/contextual",
18
+ ".orchestrator/memory/knowledge-base/research",
19
+ ".orchestrator/checkpoints",
20
+ ".orchestrator/.state",
21
+ ".claude",
22
+ ".claude/agents",
23
+ ".claude/skills",
24
+ ".claude/skills/artifact-validator",
25
+ ".claude/skills/kb-lookup",
26
+ ".claude/skills/phase-gate-evaluator",
27
+ ".claude/skills/workflow-status",
28
+ ".claude/skills/docs-guardian",
29
+ ".claude/hooks",
30
+ "src",
31
+ "src/components",
32
+ "src/hooks",
33
+ "src/utils",
34
+ "src/services",
35
+ "src/types",
36
+ "public",
37
+ "tests",
38
+ "tests/components",
39
+ "tests/hooks",
40
+ "tests/utils"
41
+ ],
42
+ "files": [
43
+ {
44
+ "source": "projects/frontend/files/index.html.hbs",
45
+ "destination": "index.html",
46
+ "template": true
47
+ },
48
+ {
49
+ "source": "projects/frontend/files/main.tsx.hbs",
50
+ "destination": "src/main.tsx",
51
+ "template": true
52
+ },
53
+ {
54
+ "source": "projects/frontend/files/App.tsx.hbs",
55
+ "destination": "src/App.tsx",
56
+ "template": true
57
+ },
58
+ {
59
+ "source": "projects/frontend/files/vite.config.ts.hbs",
60
+ "destination": "vite.config.ts",
61
+ "template": true
62
+ },
63
+ {
64
+ "source": "projects/frontend/files/tsconfig.json.hbs",
65
+ "destination": "tsconfig.json",
66
+ "template": true
67
+ },
68
+ {
69
+ "source": "projects/frontend/files/tsconfig.node.json.hbs",
70
+ "destination": "tsconfig.node.json",
71
+ "template": true
72
+ },
73
+ {
74
+ "source": "projects/frontend/files/vitest.config.ts.hbs",
75
+ "destination": "vitest.config.ts",
76
+ "template": true
77
+ },
78
+ {
79
+ "source": "projects/minimal/files/gitignore.hbs",
80
+ "destination": ".gitignore",
81
+ "template": true
82
+ },
83
+ {
84
+ "source": "projects/minimal/files/env.example.hbs",
85
+ "destination": ".env.example",
86
+ "template": true
87
+ },
88
+ {
89
+ "source": "base/CLAUDE.md.hbs",
90
+ "destination": "CLAUDE.md",
91
+ "template": true
92
+ },
93
+ {
94
+ "source": "base/mcp.json.hbs",
95
+ "destination": ".mcp.json",
96
+ "template": true
97
+ },
98
+ {
99
+ "source": "base/package.json.hbs",
100
+ "destination": "package.json",
101
+ "template": true
102
+ },
103
+ {
104
+ "source": "base/orchestrator-index.json.hbs",
105
+ "destination": ".orchestrator/orchestrator-index.json",
106
+ "template": true
107
+ },
108
+ {
109
+ "source": "base/claude/settings.json",
110
+ "destination": ".claude/settings.json",
111
+ "template": false
112
+ },
113
+ {
114
+ "source": "base/claude/orchestrator-config.json",
115
+ "destination": ".claude/orchestrator-config.json",
116
+ "template": false
117
+ },
118
+ {
119
+ "source": "base/claude/agents/orchestrator.md",
120
+ "destination": ".claude/agents/orchestrator.md",
121
+ "template": false
122
+ },
123
+ {
124
+ "source": "base/claude/agents/specifier.md",
125
+ "destination": ".claude/agents/specifier.md",
126
+ "template": false
127
+ },
128
+ {
129
+ "source": "base/claude/agents/planner.md",
130
+ "destination": ".claude/agents/planner.md",
131
+ "template": false
132
+ },
133
+ {
134
+ "source": "base/claude/agents/task-generator.md",
135
+ "destination": ".claude/agents/task-generator.md",
136
+ "template": false
137
+ },
138
+ {
139
+ "source": "base/claude/agents/implementer.md",
140
+ "destination": ".claude/agents/implementer.md",
141
+ "template": false
142
+ },
143
+ {
144
+ "source": "base/claude/agents/reviewer.md",
145
+ "destination": ".claude/agents/reviewer.md",
146
+ "template": false
147
+ },
148
+ {
149
+ "source": "base/claude/agents/researcher.md",
150
+ "destination": ".claude/agents/researcher.md",
151
+ "template": false
152
+ },
153
+ {
154
+ "source": "base/claude/skills/artifact-validator/SKILL.md",
155
+ "destination": ".claude/skills/artifact-validator/SKILL.md",
156
+ "template": false
157
+ },
158
+ {
159
+ "source": "base/claude/skills/kb-lookup/SKILL.md",
160
+ "destination": ".claude/skills/kb-lookup/SKILL.md",
161
+ "template": false
162
+ },
163
+ {
164
+ "source": "base/claude/skills/phase-gate-evaluator/SKILL.md",
165
+ "destination": ".claude/skills/phase-gate-evaluator/SKILL.md",
166
+ "template": false
167
+ },
168
+ {
169
+ "source": "base/claude/skills/workflow-status/SKILL.md",
170
+ "destination": ".claude/skills/workflow-status/SKILL.md",
171
+ "template": false
172
+ },
173
+ {
174
+ "source": "base/claude/skills/docs-guardian/SKILL.md",
175
+ "destination": ".claude/skills/docs-guardian/SKILL.md",
176
+ "template": false
177
+ },
178
+ {
179
+ "source": "base/claude/hooks/pre-agent-invoke.sh",
180
+ "destination": ".claude/hooks/pre-agent-invoke.sh",
181
+ "template": false
182
+ },
183
+ {
184
+ "source": "base/claude/hooks/pre-phase-advance.sh",
185
+ "destination": ".claude/hooks/pre-phase-advance.sh",
186
+ "template": false
187
+ },
188
+ {
189
+ "source": "base/claude/hooks/post-artifact-generate.sh",
190
+ "destination": ".claude/hooks/post-artifact-generate.sh",
191
+ "template": false
192
+ },
193
+ {
194
+ "source": "base/claude/hooks/post-implement-validate.sh",
195
+ "destination": ".claude/hooks/post-implement-validate.sh",
196
+ "template": false
197
+ },
198
+ {
199
+ "source": "base/claude/hooks/track-agent-invocation.sh",
200
+ "destination": ".claude/hooks/track-agent-invocation.sh",
201
+ "template": false
202
+ },
203
+ {
204
+ "source": "base/claude/hooks/post-phase-checkpoint.sh",
205
+ "destination": ".claude/hooks/post-phase-checkpoint.sh",
206
+ "template": false
207
+ },
208
+ {
209
+ "source": "base/orchestrator/.state/.gitkeep",
210
+ "destination": ".orchestrator/.state/.gitkeep",
211
+ "template": false
212
+ }
213
+ ],
214
+ "dependencies": {
215
+ "react": "^18.2.0",
216
+ "react-dom": "^18.2.0",
217
+ "react-router-dom": "^6.20.0"
218
+ },
219
+ "devDependencies": {
220
+ "@types/react": "^18.2.0",
221
+ "@types/react-dom": "^18.2.0",
222
+ "@vitejs/plugin-react": "^4.2.0",
223
+ "vite": "^5.0.0",
224
+ "@testing-library/react": "^14.1.0",
225
+ "@testing-library/jest-dom": "^6.1.0",
226
+ "@testing-library/user-event": "^14.5.0",
227
+ "jsdom": "^23.0.0"
228
+ },
229
+ "scripts": {
230
+ "start": "vite preview",
231
+ "dev": "vite",
232
+ "build": "tsc && vite build",
233
+ "preview": "vite preview",
234
+ "test": "vitest",
235
+ "test:coverage": "vitest --coverage",
236
+ "lint": "eslint src --ext .ts,.tsx",
237
+ "lint:fix": "eslint src --ext .ts,.tsx --fix"
238
+ },
239
+ "constitutionExtensions": [],
240
+ "knowledgeBaseSeeds": ["docs-constitution"]
241
+ }
@@ -0,0 +1,153 @@
1
+ /**
2
+ * Frontend Project Template Configuration
3
+ */
4
+ import { ProjectTemplate } from '../../../../domain/entities/ProjectTemplate.js';
5
+
6
+ const config = ProjectTemplate.create({
7
+ name: 'frontend',
8
+ description: 'React frontend with Vite and TypeScript',
9
+ version: '1.0.0',
10
+
11
+ directories: [
12
+ '.orchestrator',
13
+ '.orchestrator/artifacts',
14
+ '.orchestrator/artifacts/research',
15
+ '.orchestrator/artifacts/specify',
16
+ '.orchestrator/artifacts/plan',
17
+ '.orchestrator/artifacts/tasks',
18
+ '.orchestrator/artifacts/implement',
19
+ '.orchestrator/memory',
20
+ '.orchestrator/memory/knowledge-base',
21
+ '.orchestrator/memory/knowledge-base/core',
22
+ '.orchestrator/memory/knowledge-base/contextual',
23
+ '.orchestrator/memory/knowledge-base/research',
24
+ '.orchestrator/checkpoints',
25
+ '.orchestrator/.state',
26
+ 'src',
27
+ 'src/components',
28
+ 'src/hooks',
29
+ 'src/utils',
30
+ 'src/services',
31
+ 'src/types',
32
+ 'public',
33
+ 'tests',
34
+ 'tests/components',
35
+ 'tests/hooks',
36
+ 'tests/utils',
37
+ ],
38
+
39
+ files: [
40
+ {
41
+ source: 'projects/frontend/files/index.html.hbs',
42
+ destination: 'index.html',
43
+ template: true,
44
+ },
45
+ {
46
+ source: 'projects/frontend/files/main.tsx.hbs',
47
+ destination: 'src/main.tsx',
48
+ template: true,
49
+ },
50
+ {
51
+ source: 'projects/frontend/files/App.tsx.hbs',
52
+ destination: 'src/App.tsx',
53
+ template: true,
54
+ },
55
+ {
56
+ source: 'projects/frontend/files/vite.config.ts.hbs',
57
+ destination: 'vite.config.ts',
58
+ template: true,
59
+ },
60
+ {
61
+ source: 'projects/frontend/files/tsconfig.json.hbs',
62
+ destination: 'tsconfig.json',
63
+ template: true,
64
+ },
65
+ {
66
+ source: 'projects/frontend/files/tsconfig.node.json.hbs',
67
+ destination: 'tsconfig.node.json',
68
+ template: true,
69
+ },
70
+ {
71
+ source: 'projects/frontend/files/vitest.config.ts.hbs',
72
+ destination: 'vitest.config.ts',
73
+ template: true,
74
+ },
75
+ {
76
+ source: 'projects/minimal/files/gitignore.hbs',
77
+ destination: '.gitignore',
78
+ template: true,
79
+ },
80
+ {
81
+ source: 'projects/minimal/files/env.example.hbs',
82
+ destination: '.env.example',
83
+ template: true,
84
+ },
85
+ {
86
+ source: 'projects/minimal/files/claude-settings.json.hbs',
87
+ destination: '.claude/claude-settings.json',
88
+ template: true,
89
+ },
90
+ {
91
+ source: 'base/CLAUDE.md.hbs',
92
+ destination: 'CLAUDE.md',
93
+ template: true,
94
+ },
95
+ {
96
+ source: 'base/mcp.json.hbs',
97
+ destination: '.mcp.json',
98
+ template: true,
99
+ },
100
+ {
101
+ source: 'base/package.json.hbs',
102
+ destination: 'package.json',
103
+ template: true,
104
+ },
105
+ {
106
+ source: 'base/orchestrator-index.json.hbs',
107
+ destination: '.orchestrator/orchestrator-index.json',
108
+ template: true,
109
+ },
110
+ {
111
+ source: 'base/orchestrator/.state/.gitkeep',
112
+ destination: '.orchestrator/.state/.gitkeep',
113
+ template: false,
114
+ },
115
+ ],
116
+
117
+ dependencies: {
118
+ react: '^18.2.0',
119
+ 'react-dom': '^18.2.0',
120
+ 'react-router-dom': '^6.20.0',
121
+ },
122
+
123
+ devDependencies: {
124
+ '@types/react': '^18.2.0',
125
+ '@types/react-dom': '^18.2.0',
126
+ '@vitejs/plugin-react': '^4.2.0',
127
+ vite: '^5.0.0',
128
+ '@testing-library/react': '^14.1.0',
129
+ '@testing-library/jest-dom': '^6.1.0',
130
+ '@testing-library/user-event': '^14.5.0',
131
+ jsdom: '^23.0.0',
132
+ },
133
+
134
+ scripts: {
135
+ dev: 'vite',
136
+ build: 'tsc && vite build',
137
+ preview: 'vite preview',
138
+ test: 'vitest',
139
+ 'test:coverage': 'vitest --coverage',
140
+ lint: 'eslint src --ext .ts,.tsx',
141
+ 'lint:fix': 'eslint src --ext .ts,.tsx --fix',
142
+ },
143
+
144
+ constitutionExtensions: [],
145
+
146
+ knowledgeBaseSeeds: [],
147
+ });
148
+
149
+ if (config.isErr()) {
150
+ throw new Error(`Failed to create frontend template config: ${config.error}`);
151
+ }
152
+
153
+ export default config.value;
@@ -0,0 +1,20 @@
1
+ {
2
+ "project": {
3
+ "name": "{{projectName}}",
4
+ "description": "Project created with Orchestrator CLI",
5
+ "type": "nodejs"
6
+ },
7
+ "claude": {
8
+ "instructionsFile": "CLAUDE.md",
9
+ "mcpConfigFile": ".mcp.json"
10
+ },
11
+ "orchestrator": {
12
+ "enabled": true,
13
+ "workflowDir": ".orchestrator",
14
+ "constitutionFile": ".orchestrator/memory/knowledge-base/core/CONSTITUTION.md"
15
+ },
16
+ "preferences": {
17
+ "autoSuggest": true,
18
+ "validateBeforeCommit": true
19
+ }
20
+ }
@@ -0,0 +1,17 @@
1
+ # Environment Configuration for {{projectName}}
2
+
3
+ # Node Environment
4
+ NODE_ENV=development
5
+
6
+ # Perplexity AI (optional - for research capabilities)
7
+ # Get your API key from: https://www.perplexity.ai/settings/api
8
+ {{#if perplexityKey}}
9
+ PERPLEXITY_API_KEY={{perplexityKey}}
10
+ {{else}}
11
+ # PERPLEXITY_API_KEY=your-api-key-here
12
+ {{/if}}
13
+
14
+ # Application Settings
15
+ # Add your application-specific environment variables below
16
+ # APP_PORT=3000
17
+ # DATABASE_URL=postgresql://localhost:5432/mydb
@@ -0,0 +1,41 @@
1
+ # Dependencies
2
+ node_modules/
3
+ .pnp
4
+ .pnp.js
5
+
6
+ # Testing
7
+ coverage/
8
+ *.lcov
9
+
10
+ # Production
11
+ dist/
12
+ build/
13
+
14
+ # Misc
15
+ .DS_Store
16
+ *.log
17
+ npm-debug.log*
18
+ yarn-debug.log*
19
+ yarn-error.log*
20
+
21
+ # Environment
22
+ .env
23
+ .env.local
24
+ .env.*.local
25
+
26
+ # IDE
27
+ .vscode/
28
+ .idea/
29
+ *.swp
30
+ *.swo
31
+ *~
32
+
33
+ # Orchestrator
34
+ .orchestrator/memory/knowledge-base/research/*
35
+ !.orchestrator/memory/knowledge-base/research/.gitkeep
36
+ .orchestrator/.state/*
37
+ !.orchestrator/.state/.gitkeep
38
+ .orchestrator-backup-*/
39
+
40
+ # OS
41
+ Thumbs.db
@@ -0,0 +1,13 @@
1
+ /**
2
+ * {{projectName}}
3
+ *
4
+ * This is the entry point for your application.
5
+ * Created with Orchestrator CLI using the minimal template.
6
+ */
7
+
8
+ export function main(): void {
9
+ console.log('Hello from {{projectName}}!');
10
+ }
11
+
12
+ // Run if executed directly
13
+ main();
@@ -0,0 +1,27 @@
1
+ {
2
+ "compilerOptions": {
3
+ "target": "ES2022",
4
+ "module": "ES2022",
5
+ "lib": ["ES2022"],
6
+ "moduleResolution": "node",
7
+ "esModuleInterop": true,
8
+ "allowSyntheticDefaultImports": true,
9
+ "resolveJsonModule": true,
10
+ "isolatedModules": true,
11
+ "strict": true,
12
+ "noUnusedLocals": true,
13
+ "noUnusedParameters": true,
14
+ "noImplicitReturns": true,
15
+ "noFallthroughCasesInSwitch": true,
16
+ "skipLibCheck": true,
17
+ "forceConsistentCasingInFileNames": true,
18
+ "outDir": "./dist",
19
+ "rootDir": "./src",
20
+ "declaration": true,
21
+ "declarationMap": true,
22
+ "sourceMap": true,
23
+ "types": ["node", "vitest/globals"]
24
+ },
25
+ "include": ["src/**/*"],
26
+ "exclude": ["node_modules", "dist", "tests"]
27
+ }