@orchestrator-claude/cli 3.1.12 → 3.2.1
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/dist/api-client/OrchestratorAPIClient.d.ts +50 -1
- package/dist/api-client/OrchestratorAPIClient.d.ts.map +1 -1
- package/dist/api-client/OrchestratorAPIClient.js +73 -1
- package/dist/api-client/OrchestratorAPIClient.js.map +1 -1
- package/dist/api-client/types.d.ts +95 -2
- package/dist/api-client/types.d.ts.map +1 -1
- package/dist/commands/InitCommand.d.ts +22 -3
- package/dist/commands/InitCommand.d.ts.map +1 -1
- package/dist/commands/InitCommand.js +147 -13
- package/dist/commands/InitCommand.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/services/BootstrapService.d.ts +100 -0
- package/dist/services/BootstrapService.d.ts.map +1 -0
- package/dist/services/BootstrapService.js +231 -0
- package/dist/services/BootstrapService.js.map +1 -0
- package/dist/services/CleanupManager.d.ts +49 -0
- package/dist/services/CleanupManager.d.ts.map +1 -0
- package/dist/services/CleanupManager.js +87 -0
- package/dist/services/CleanupManager.js.map +1 -0
- package/dist/services/CredentialGenerator.d.ts +11 -0
- package/dist/services/CredentialGenerator.d.ts.map +1 -0
- package/dist/services/CredentialGenerator.js +25 -0
- package/dist/services/CredentialGenerator.js.map +1 -0
- package/dist/services/VerificationService.d.ts +103 -0
- package/dist/services/VerificationService.d.ts.map +1 -0
- package/dist/services/VerificationService.js +350 -0
- package/dist/services/VerificationService.js.map +1 -0
- package/dist/templates/base/claude/skills/release/SKILL.md +236 -0
- package/dist/templates/base/claude/skills/release/release.sh +460 -0
- package/dist/templates/base/docker-compose.yml.hbs +189 -8
- package/dist/templates/base/mcp.json.hbs +16 -9
- package/dist/templates/default/docker-compose.yml +190 -10
- package/package.json +1 -1
- package/templates/base/claude/skills/release/SKILL.md +236 -0
- package/templates/base/claude/skills/release/release.sh +460 -0
- package/templates/base/docker-compose.yml.hbs +189 -8
- package/templates/base/mcp.json.hbs +16 -9
- package/templates/default/docker-compose.yml +190 -10
- package/dist/templates/base/orchestrator-index.json.hbs +0 -37
- package/dist/templates/projects/api/files/index.ts.hbs +0 -30
- package/dist/templates/projects/api/files/server.ts.hbs +0 -63
- package/dist/templates/projects/api/files/tsconfig.json.hbs +0 -27
- package/dist/templates/projects/api/files/vitest.config.ts.hbs +0 -28
- package/dist/templates/projects/api/template.config.json +0 -238
- package/dist/templates/projects/api/template.config.ts +0 -149
- package/dist/templates/projects/cli/files/cli.ts.hbs +0 -50
- package/dist/templates/projects/cli/files/index.ts.hbs +0 -8
- package/dist/templates/projects/cli/files/tsconfig.json.hbs +0 -27
- package/dist/templates/projects/cli/files/vitest.config.ts.hbs +0 -28
- package/dist/templates/projects/cli/template.config.json +0 -213
- package/dist/templates/projects/cli/template.config.ts +0 -126
- package/dist/templates/projects/frontend/files/App.tsx.hbs +0 -31
- package/dist/templates/projects/frontend/files/index.html.hbs +0 -13
- package/dist/templates/projects/frontend/files/main.tsx.hbs +0 -22
- package/dist/templates/projects/frontend/files/tsconfig.json.hbs +0 -34
- package/dist/templates/projects/frontend/files/tsconfig.node.json.hbs +0 -10
- package/dist/templates/projects/frontend/files/vite.config.ts.hbs +0 -19
- package/dist/templates/projects/frontend/files/vitest.config.ts.hbs +0 -36
- package/dist/templates/projects/frontend/template.config.json +0 -241
- package/dist/templates/projects/frontend/template.config.ts +0 -153
- package/dist/templates/projects/minimal/files/claude-settings.json.hbs +0 -20
- package/dist/templates/projects/minimal/files/env.example.hbs +0 -17
- package/dist/templates/projects/minimal/files/gitignore.hbs +0 -41
- package/dist/templates/projects/minimal/files/index.ts.hbs +0 -13
- package/dist/templates/projects/minimal/files/tsconfig.json.hbs +0 -27
- package/dist/templates/projects/minimal/template.config.json +0 -185
- package/dist/templates/projects/minimal/template.config.ts +0 -88
- package/templates/base/orchestrator-index.json.hbs +0 -37
- package/templates/projects/api/files/index.ts.hbs +0 -30
- package/templates/projects/api/files/server.ts.hbs +0 -63
- package/templates/projects/api/files/tsconfig.json.hbs +0 -27
- package/templates/projects/api/files/vitest.config.ts.hbs +0 -28
- package/templates/projects/api/template.config.json +0 -238
- package/templates/projects/api/template.config.ts +0 -149
- package/templates/projects/cli/files/cli.ts.hbs +0 -50
- package/templates/projects/cli/files/index.ts.hbs +0 -8
- package/templates/projects/cli/files/tsconfig.json.hbs +0 -27
- package/templates/projects/cli/files/vitest.config.ts.hbs +0 -28
- package/templates/projects/cli/template.config.json +0 -213
- package/templates/projects/cli/template.config.ts +0 -126
- package/templates/projects/frontend/files/App.tsx.hbs +0 -31
- package/templates/projects/frontend/files/index.html.hbs +0 -13
- package/templates/projects/frontend/files/main.tsx.hbs +0 -22
- package/templates/projects/frontend/files/tsconfig.json.hbs +0 -34
- package/templates/projects/frontend/files/tsconfig.node.json.hbs +0 -10
- package/templates/projects/frontend/files/vite.config.ts.hbs +0 -19
- package/templates/projects/frontend/files/vitest.config.ts.hbs +0 -36
- package/templates/projects/frontend/template.config.json +0 -241
- package/templates/projects/frontend/template.config.ts +0 -153
- package/templates/projects/minimal/files/claude-settings.json.hbs +0 -20
- package/templates/projects/minimal/files/env.example.hbs +0 -17
- package/templates/projects/minimal/files/gitignore.hbs +0 -41
- package/templates/projects/minimal/files/index.ts.hbs +0 -13
- package/templates/projects/minimal/files/tsconfig.json.hbs +0 -27
- package/templates/projects/minimal/template.config.json +0 -185
- package/templates/projects/minimal/template.config.ts +0 -88
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
"target": "ES2020",
|
|
4
|
-
"useDefineForClassFields": true,
|
|
5
|
-
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
|
6
|
-
"module": "ESNext",
|
|
7
|
-
"skipLibCheck": true,
|
|
8
|
-
|
|
9
|
-
/* Bundler mode */
|
|
10
|
-
"moduleResolution": "bundler",
|
|
11
|
-
"allowImportingTsExtensions": true,
|
|
12
|
-
"resolveJsonModule": true,
|
|
13
|
-
"isolatedModules": true,
|
|
14
|
-
"noEmit": true,
|
|
15
|
-
"jsx": "react-jsx",
|
|
16
|
-
|
|
17
|
-
/* Linting */
|
|
18
|
-
"strict": true,
|
|
19
|
-
"noUnusedLocals": true,
|
|
20
|
-
"noUnusedParameters": true,
|
|
21
|
-
"noFallthroughCasesInSwitch": true,
|
|
22
|
-
|
|
23
|
-
/* Path mapping */
|
|
24
|
-
"baseUrl": ".",
|
|
25
|
-
"paths": {
|
|
26
|
-
"@/*": ["./src/*"]
|
|
27
|
-
},
|
|
28
|
-
|
|
29
|
-
/* Types */
|
|
30
|
-
"types": ["vitest/globals"]
|
|
31
|
-
},
|
|
32
|
-
"include": ["src"],
|
|
33
|
-
"references": [{ "path": "./tsconfig.node.json" }]
|
|
34
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { defineConfig } from 'vite';
|
|
2
|
-
import react from '@vitejs/plugin-react';
|
|
3
|
-
|
|
4
|
-
export default defineConfig({
|
|
5
|
-
plugins: [react()],
|
|
6
|
-
server: {
|
|
7
|
-
port: 3000,
|
|
8
|
-
open: true,
|
|
9
|
-
},
|
|
10
|
-
build: {
|
|
11
|
-
outDir: 'dist',
|
|
12
|
-
sourcemap: true,
|
|
13
|
-
},
|
|
14
|
-
resolve: {
|
|
15
|
-
alias: {
|
|
16
|
-
'@': '/src',
|
|
17
|
-
},
|
|
18
|
-
},
|
|
19
|
-
});
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { defineConfig } from 'vitest/config';
|
|
2
|
-
import react from '@vitejs/plugin-react';
|
|
3
|
-
|
|
4
|
-
export default defineConfig({
|
|
5
|
-
plugins: [react()],
|
|
6
|
-
test: {
|
|
7
|
-
globals: true,
|
|
8
|
-
environment: 'jsdom',
|
|
9
|
-
setupFiles: './tests/setup.ts',
|
|
10
|
-
coverage: {
|
|
11
|
-
provider: 'v8',
|
|
12
|
-
reporter: ['text', 'json', 'html', 'lcov'],
|
|
13
|
-
exclude: [
|
|
14
|
-
'node_modules/',
|
|
15
|
-
'dist/',
|
|
16
|
-
'tests/',
|
|
17
|
-
'**/*.d.ts',
|
|
18
|
-
'**/*.config.*',
|
|
19
|
-
'**/main.tsx',
|
|
20
|
-
],
|
|
21
|
-
thresholds: {
|
|
22
|
-
lines: 80,
|
|
23
|
-
functions: 80,
|
|
24
|
-
branches: 80,
|
|
25
|
-
statements: 80,
|
|
26
|
-
},
|
|
27
|
-
},
|
|
28
|
-
include: ['tests/**/*.test.{ts,tsx}'],
|
|
29
|
-
exclude: ['node_modules', 'dist'],
|
|
30
|
-
},
|
|
31
|
-
resolve: {
|
|
32
|
-
alias: {
|
|
33
|
-
'@': '/src',
|
|
34
|
-
},
|
|
35
|
-
},
|
|
36
|
-
});
|
|
@@ -1,241 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,153 +0,0 @@
|
|
|
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;
|
|
@@ -1,20 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
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
|
|
@@ -1,41 +0,0 @@
|
|
|
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
|
|
@@ -1,13 +0,0 @@
|
|
|
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();
|
|
@@ -1,27 +0,0 @@
|
|
|
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
|
-
}
|