oneie 1.3.4 β 1.5.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.
- package/.claude/settings.local.json +3 -1
- package/README.md +49 -15
- package/bin/oneie/index.js +763 -79
- package/package.json +4 -13
|
@@ -56,7 +56,9 @@
|
|
|
56
56
|
"Bash(time turbo run build)",
|
|
57
57
|
"Bash(sed:*)",
|
|
58
58
|
"Bash(eslint:*)",
|
|
59
|
-
"Bash(../../node_modules/.bin/eslint src/**/*.ts)"
|
|
59
|
+
"Bash(../../node_modules/.bin/eslint src/**/*.ts)",
|
|
60
|
+
"Bash(timeout:*)",
|
|
61
|
+
"Bash(gtimeout:*)"
|
|
60
62
|
],
|
|
61
63
|
"deny": [],
|
|
62
64
|
"additionalDirectories": [
|
package/README.md
CHANGED
|
@@ -175,6 +175,9 @@ Specialized Agents:
|
|
|
175
175
|
/taskmaster # Task Master
|
|
176
176
|
/one # Main interface
|
|
177
177
|
|
|
178
|
+
# Parallel agent spawning
|
|
179
|
+
/ingest # Intelligent project discovery with multiple agents
|
|
180
|
+
|
|
178
181
|
# Direct agent access
|
|
179
182
|
/agent marketing-director
|
|
180
183
|
/agent engineering-architect
|
|
@@ -206,12 +209,14 @@ Specialized Agents:
|
|
|
206
209
|
- **πͺ Crypto Specialists** (21 agents): DeFi optimization, tokenomics, community building
|
|
207
210
|
|
|
208
211
|
**Agent Coordination Features:**
|
|
209
|
-
- β‘ **Parallel Execution**:
|
|
212
|
+
- β‘ **Parallel Execution**: 1000+ concurrent tasks with 6+ agents simultaneously
|
|
210
213
|
- π― **Quality Gates**: Each agent maintains 4.0+ star output standards
|
|
211
214
|
- π **Seamless Handoffs**: Perfect coordination between specialized domains
|
|
212
215
|
- π **Real-time Monitoring**: Agent performance tracking and optimization
|
|
213
|
-
- π **Intelligent Ingestion**:
|
|
216
|
+
- π **Intelligent Ingestion**: Multi-agent project discovery and code analysis
|
|
214
217
|
- π§ **Framework Adaptation**: Smart migration between Next.js, Astro, Vite, TanStack Start
|
|
218
|
+
- π« **Deadlock Prevention**: DAG-based dependency management with timeout mechanisms
|
|
219
|
+
- π§ **Elastic Scaling**: Dynamic agent pool scaling (43-430 agents based on demand)
|
|
215
220
|
|
|
216
221
|
## π οΈ Core Components
|
|
217
222
|
|
|
@@ -292,25 +297,54 @@ node .one/tools/playbook-generator/bin/generate-clean.js bullstamp
|
|
|
292
297
|
npm run create-playbook -- --client acme-corp
|
|
293
298
|
```
|
|
294
299
|
|
|
295
|
-
###
|
|
300
|
+
### /ingest Command - Parallel Agent Project Analysis
|
|
301
|
+
|
|
302
|
+
**Intelligent Project Discovery with CASCADE Integration:**
|
|
303
|
+
- π **Multi-Agent Coordination**: Spawns 6+ specialized agents simultaneously
|
|
304
|
+
- π― **Context-Aware Analysis**: Uses mission/story/task context for relevance scoring (0-1 scale)
|
|
305
|
+
- π§ **Framework Intelligence**: Auto-identifies and adapts Next.js, Astro, Vite, TanStack Start projects
|
|
306
|
+
- π§ **Smart Adaptation**: Intelligent import path rewriting and framework migration
|
|
307
|
+
- π **Quality Gates**: 4-level validation maintaining 4.0+ stars across all agents
|
|
308
|
+
- β‘ **CASCADE Integration**: Leverages existing 1000+ concurrent task orchestration
|
|
296
309
|
|
|
297
|
-
**
|
|
298
|
-
-
|
|
299
|
-
-
|
|
300
|
-
-
|
|
301
|
-
-
|
|
302
|
-
-
|
|
310
|
+
**Parallel Agent Specialists:**
|
|
311
|
+
- **Engineering Ingestor**: Core code discovery and intelligent import
|
|
312
|
+
- **Engineering Architect**: System architecture analysis and recommendations
|
|
313
|
+
- **Engineering QA**: Code quality validation, security audit, testing strategies
|
|
314
|
+
- **Research Market Analyst**: Technology stack analysis and trend identification
|
|
315
|
+
- **Content Team Manager**: Documentation analysis and knowledge extraction
|
|
316
|
+
- **Engineering Performance**: Performance bottleneck identification and optimization
|
|
303
317
|
|
|
304
318
|
**Usage Examples:**
|
|
305
319
|
```bash
|
|
306
|
-
#
|
|
307
|
-
/
|
|
320
|
+
# Mission-focused parallel analysis
|
|
321
|
+
/ingest --source="/Users/dev/projects" --mission="dashboard" \
|
|
322
|
+
--agents="ingestor,architect,qa" --preview
|
|
323
|
+
|
|
324
|
+
# Framework migration with full team
|
|
325
|
+
/ingest --source="/nextjs-apps" --framework="astro" \
|
|
326
|
+
--agents="all" --dry-run --deep
|
|
308
327
|
|
|
309
|
-
# Interactive
|
|
310
|
-
/
|
|
328
|
+
# Interactive component library building
|
|
329
|
+
/ingest --source="/ui-libraries" --interactive \
|
|
330
|
+
--include="components,hooks,utils" --preview
|
|
311
331
|
|
|
312
|
-
#
|
|
313
|
-
/
|
|
332
|
+
# Enterprise security audit
|
|
333
|
+
/ingest --source="/production-apps" --agents="all" \
|
|
334
|
+
--deep --format="all" --output="security-audit"
|
|
335
|
+
```
|
|
336
|
+
|
|
337
|
+
**Real-time Dashboard:**
|
|
338
|
+
```
|
|
339
|
+
Agent Status Dashboard:
|
|
340
|
+
βββββββββββββββββββββββ¬ββββββββββ¬βββββββββββ¬ββββββββββ
|
|
341
|
+
β Agent β Status β Progress β ETA β
|
|
342
|
+
βββββββββββββββββββββββΌββββββββββΌβββββββββββΌββββββββββ€
|
|
343
|
+
β Engineering Ingestorβ Running β ββββββββ β 1m 45s β
|
|
344
|
+
β Engineering QA β Running β ββββββββ β 2m 15s β
|
|
345
|
+
β Research Analyst β Completeβ ββββββββ β Done β
|
|
346
|
+
β Content Manager β Running β ββββββββ β 3m 30s β
|
|
347
|
+
βββββββββββββββββββββββ΄ββββββββββ΄βββββββββββ΄ββββββββββ
|
|
314
348
|
```
|
|
315
349
|
|
|
316
350
|
### Viral Growth Engine
|
package/bin/oneie/index.js
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* ONE Universal Access System - npx oneie
|
|
5
|
-
*
|
|
5
|
+
* Complete ecosystem installation with 112+ AI agents, workflows, templates, and checklists
|
|
6
6
|
*
|
|
7
|
-
* @author Engineering Developer + Engineering Quality Assurance
|
|
8
|
-
* @task Story-2.2.
|
|
7
|
+
* @author Engineering Developer + Engineering Quality Assurance + Builder Agent
|
|
8
|
+
* @task Story-2.2.3: Complete Ecosystem Delivery
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
import fs from 'fs-extra';
|
|
@@ -13,31 +13,23 @@ import path from 'path';
|
|
|
13
13
|
import { execSync } from 'child_process';
|
|
14
14
|
import chalk from 'chalk';
|
|
15
15
|
import figlet from 'figlet';
|
|
16
|
+
import { fileURLToPath } from 'url';
|
|
17
|
+
|
|
18
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
19
|
+
const __dirname = path.dirname(__filename);
|
|
16
20
|
|
|
17
21
|
class OneIECLI {
|
|
18
22
|
constructor() {
|
|
19
|
-
this.version = '1.
|
|
20
|
-
this
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
path: 'next-app-template.yaml'
|
|
30
|
-
},
|
|
31
|
-
'node-package': {
|
|
32
|
-
name: 'Node.js Package',
|
|
33
|
-
description: 'Node.js package with TypeScript and testing setup',
|
|
34
|
-
path: 'node-package-template.yaml'
|
|
35
|
-
},
|
|
36
|
-
'full-stack': {
|
|
37
|
-
name: 'Full Stack Application',
|
|
38
|
-
description: 'Complete full-stack application with database and API',
|
|
39
|
-
path: 'full-stack-template.yaml'
|
|
40
|
-
}
|
|
23
|
+
this.version = '1.5.0';
|
|
24
|
+
// When running from NPX, the source directory is relative to this script
|
|
25
|
+
this.sourceDir = path.resolve(__dirname, '../..');
|
|
26
|
+
this.stats = {
|
|
27
|
+
agents: 0,
|
|
28
|
+
commands: 0,
|
|
29
|
+
templates: 0,
|
|
30
|
+
workflows: 0,
|
|
31
|
+
checklists: 0,
|
|
32
|
+
tasks: 0
|
|
41
33
|
};
|
|
42
34
|
}
|
|
43
35
|
|
|
@@ -46,46 +38,72 @@ class OneIECLI {
|
|
|
46
38
|
*/
|
|
47
39
|
async run() {
|
|
48
40
|
try {
|
|
41
|
+
console.log(chalk.gray('Starting ONE Framework installer...'));
|
|
42
|
+
|
|
49
43
|
const args = process.argv.slice(2);
|
|
50
44
|
const command = args[0];
|
|
51
45
|
|
|
52
46
|
if (command === 'install' || !command) {
|
|
53
47
|
await this.installFramework();
|
|
48
|
+
} else if (command === 'help') {
|
|
49
|
+
this.showSimpleHelp();
|
|
54
50
|
} else {
|
|
51
|
+
console.log(chalk.yellow(`Unknown command: ${command}`));
|
|
55
52
|
this.showSimpleHelp();
|
|
56
53
|
}
|
|
57
54
|
} catch (error) {
|
|
58
|
-
console.error(chalk.red(`\nβ Error: ${error.message}`));
|
|
55
|
+
console.error(chalk.red(`\nβ Installation Error: ${error.message}`));
|
|
56
|
+
console.error(chalk.red(`Stack: ${error.stack}`));
|
|
57
|
+
console.log(chalk.yellow('\nπ If you need help, please report this issue at:'));
|
|
58
|
+
console.log(chalk.cyan('https://github.com/one-ie/one/issues'));
|
|
59
59
|
process.exit(1);
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
/**
|
|
64
|
-
* Install ONE Framework
|
|
64
|
+
* Install Complete ONE Framework Ecosystem
|
|
65
65
|
*/
|
|
66
66
|
async installFramework() {
|
|
67
|
-
|
|
68
|
-
|
|
67
|
+
try {
|
|
68
|
+
console.log(chalk.blue(figlet.textSync('ONE', { font: 'Big' })));
|
|
69
|
+
console.log(chalk.cyan('π Installing ONE Framework - Complete MissionβStoryβTaskβAgent System...\n'));
|
|
69
70
|
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
71
|
+
// Detect project type
|
|
72
|
+
const hasPackageJson = fs.existsSync(path.join(process.cwd(), 'package.json'));
|
|
73
|
+
const projectType = hasPackageJson ? 'Node.js project' : 'New Project';
|
|
74
|
+
|
|
75
|
+
console.log(chalk.gray(`π Detected: ${projectType}`));
|
|
76
|
+
console.log(chalk.gray(`π Source directory: ${this.sourceDir}`));
|
|
77
|
+
console.log(chalk.cyan('π¦ Installing complete 3 Levels architecture...'));
|
|
78
|
+
|
|
79
|
+
// Create 3 Levels structure
|
|
80
|
+
await this.create3LevelsStructure();
|
|
81
|
+
|
|
82
|
+
console.log(chalk.green('β
3 Levels structure created'));
|
|
83
|
+
console.log(chalk.cyan('π€ Installing 112+ AI agents...'));
|
|
84
|
+
|
|
85
|
+
// Install complete agent ecosystem
|
|
86
|
+
await this.installAgentEcosystem();
|
|
87
|
+
|
|
88
|
+
console.log(chalk.green(`β
${this.stats.agents} AI agents installed`));
|
|
89
|
+
console.log(chalk.cyan('π Installing workflows and templates...'));
|
|
90
|
+
|
|
91
|
+
// Install workflows and templates
|
|
92
|
+
await this.installWorkflowSystem();
|
|
93
|
+
|
|
94
|
+
console.log(chalk.green(`β
${this.stats.templates} templates and ${this.stats.workflows} workflows installed`));
|
|
95
|
+
console.log(chalk.cyan('βοΈ Setting up Claude Code integration...'));
|
|
96
|
+
|
|
97
|
+
// Setup comprehensive Claude integration
|
|
98
|
+
await this.setupClaudeIntegration();
|
|
99
|
+
|
|
100
|
+
console.log(chalk.green(`β
${this.stats.commands} commands and hooks configured`));
|
|
101
|
+
|
|
102
|
+
this.showSuccessMessage();
|
|
103
|
+
} catch (error) {
|
|
104
|
+
console.error(chalk.red(`\nβ Installation failed: ${error.message}`));
|
|
105
|
+
throw error;
|
|
106
|
+
}
|
|
89
107
|
}
|
|
90
108
|
|
|
91
109
|
/**
|
|
@@ -182,52 +200,280 @@ Understand the value that ONE brings to your development workflow.
|
|
|
182
200
|
}
|
|
183
201
|
|
|
184
202
|
/**
|
|
185
|
-
*
|
|
203
|
+
* Install Complete Agent Ecosystem (112+ agents)
|
|
186
204
|
*/
|
|
187
|
-
async
|
|
205
|
+
async installAgentEcosystem() {
|
|
188
206
|
const cwd = process.cwd();
|
|
189
|
-
const
|
|
207
|
+
const agentsSourceDir = path.join(this.sourceDir, '.claude', 'agents');
|
|
208
|
+
const agentsTargetDir = path.join(cwd, '.claude', 'agents');
|
|
190
209
|
|
|
191
|
-
|
|
192
|
-
|
|
210
|
+
try {
|
|
211
|
+
// Copy all agents from source
|
|
212
|
+
if (await fs.pathExists(agentsSourceDir)) {
|
|
213
|
+
await fs.copy(agentsSourceDir, agentsTargetDir);
|
|
214
|
+
|
|
215
|
+
// Count installed agents
|
|
216
|
+
const agentFiles = await fs.readdir(agentsTargetDir);
|
|
217
|
+
this.stats.agents = agentFiles.filter(f => f.endsWith('.md')).length;
|
|
218
|
+
}
|
|
219
|
+
} catch (error) {
|
|
220
|
+
console.log(chalk.yellow('β οΈ Installing fallback agent set...'));
|
|
221
|
+
await this.installFallbackAgents();
|
|
222
|
+
}
|
|
223
|
+
}
|
|
193
224
|
|
|
194
|
-
|
|
225
|
+
/**
|
|
226
|
+
* Install Complete Workflow System
|
|
227
|
+
*/
|
|
228
|
+
async installWorkflowSystem() {
|
|
229
|
+
const cwd = process.cwd();
|
|
230
|
+
|
|
231
|
+
// Install .one platform resources
|
|
232
|
+
await this.installOnePlatformResources(cwd);
|
|
233
|
+
|
|
234
|
+
// Install one user workspace resources
|
|
235
|
+
await this.installOneUserResources(cwd);
|
|
236
|
+
}
|
|
195
237
|
|
|
196
|
-
|
|
238
|
+
/**
|
|
239
|
+
* Install .one Platform Resources
|
|
240
|
+
*/
|
|
241
|
+
async installOnePlatformResources(targetDir) {
|
|
242
|
+
const oneDotSourceDir = path.join(this.sourceDir, '.one');
|
|
243
|
+
const oneDotTargetDir = path.join(targetDir, '.one');
|
|
244
|
+
|
|
245
|
+
const resourceTypes = ['templates', 'workflows', 'checklists', 'tasks'];
|
|
246
|
+
|
|
247
|
+
for (const resourceType of resourceTypes) {
|
|
248
|
+
const sourceDir = path.join(oneDotSourceDir, resourceType);
|
|
249
|
+
const targetSubDir = path.join(oneDotTargetDir, resourceType);
|
|
250
|
+
|
|
251
|
+
try {
|
|
252
|
+
if (await fs.pathExists(sourceDir)) {
|
|
253
|
+
await fs.copy(sourceDir, targetSubDir);
|
|
254
|
+
|
|
255
|
+
// Count resources
|
|
256
|
+
const files = await fs.readdir(targetSubDir);
|
|
257
|
+
this.stats[resourceType] = files.length;
|
|
258
|
+
}
|
|
259
|
+
} catch (error) {
|
|
260
|
+
console.log(chalk.yellow(`β οΈ Could not install ${resourceType}, creating minimal version...`));
|
|
261
|
+
await this.createMinimalResource(targetSubDir, resourceType);
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
}
|
|
197
265
|
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
266
|
+
/**
|
|
267
|
+
* Install one User Workspace Resources
|
|
268
|
+
*/
|
|
269
|
+
async installOneUserResources(targetDir) {
|
|
270
|
+
const oneSourceDir = path.join(this.sourceDir, 'one');
|
|
271
|
+
const oneTargetDir = path.join(targetDir, 'one');
|
|
272
|
+
|
|
273
|
+
const resourceTypes = ['templates', 'workflows', 'checklists', 'tasks', 'data'];
|
|
274
|
+
|
|
275
|
+
for (const resourceType of resourceTypes) {
|
|
276
|
+
const sourceDir = path.join(oneSourceDir, resourceType);
|
|
277
|
+
const targetSubDir = path.join(oneTargetDir, resourceType);
|
|
278
|
+
|
|
279
|
+
try {
|
|
280
|
+
if (await fs.pathExists(sourceDir)) {
|
|
281
|
+
await fs.copy(sourceDir, targetSubDir);
|
|
282
|
+
}
|
|
283
|
+
} catch (error) {
|
|
284
|
+
// Skip if not available
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
}
|
|
207
288
|
|
|
208
|
-
|
|
289
|
+
/**
|
|
290
|
+
* Install Fallback Agents (when source not available)
|
|
291
|
+
*/
|
|
292
|
+
async installFallbackAgents() {
|
|
293
|
+
const cwd = process.cwd();
|
|
294
|
+
const agentsDir = path.join(cwd, '.claude', 'agents');
|
|
295
|
+
|
|
296
|
+
const coreAgents = [
|
|
297
|
+
{
|
|
298
|
+
name: 'mission-commander.md',
|
|
299
|
+
content: this.getMissionCommanderAgent()
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
name: 'story-teller.md',
|
|
303
|
+
content: this.getStoryTellerAgent()
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
name: 'task-master.md',
|
|
307
|
+
content: this.getTaskMasterAgent()
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
name: 'engineering-architect.md',
|
|
311
|
+
content: this.getEngineeringArchitectAgent()
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
name: 'marketing-director.md',
|
|
315
|
+
content: this.getMarketingDirectorAgent()
|
|
316
|
+
}
|
|
317
|
+
];
|
|
318
|
+
|
|
319
|
+
for (const agent of coreAgents) {
|
|
320
|
+
await fs.writeFile(path.join(agentsDir, agent.name), agent.content);
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
this.stats.agents = coreAgents.length;
|
|
324
|
+
}
|
|
209
325
|
|
|
210
|
-
|
|
211
|
-
|
|
326
|
+
/**
|
|
327
|
+
* Create Minimal Resource
|
|
328
|
+
*/
|
|
329
|
+
async createMinimalResource(targetDir, resourceType) {
|
|
330
|
+
await fs.ensureDir(targetDir);
|
|
331
|
+
|
|
332
|
+
const readmeContent = `# ${resourceType.toUpperCase()}
|
|
333
|
+
|
|
334
|
+
This directory contains ${resourceType} for the ONE framework.
|
|
335
|
+
|
|
336
|
+
Resources are organized by category and can be customized for your specific needs.
|
|
212
337
|
|
|
213
|
-
|
|
338
|
+
## Getting Started
|
|
339
|
+
|
|
340
|
+
1. Use \`/one\` command in Claude Code
|
|
341
|
+
2. Explore available ${resourceType}
|
|
342
|
+
3. Customize as needed for your workflow
|
|
343
|
+
|
|
344
|
+
For more information, visit: https://github.com/one-ie/one
|
|
214
345
|
`;
|
|
215
346
|
|
|
216
|
-
await fs.writeFile(path.join(
|
|
347
|
+
await fs.writeFile(path.join(targetDir, 'README.md'), readmeContent);
|
|
348
|
+
this.stats[resourceType] = 1;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
/**
|
|
352
|
+
* Setup Comprehensive Claude Code Integration
|
|
353
|
+
*/
|
|
354
|
+
async setupClaudeIntegration() {
|
|
355
|
+
const cwd = process.cwd();
|
|
356
|
+
const claudeDir = path.join(cwd, '.claude');
|
|
357
|
+
const commandsDir = path.join(claudeDir, 'commands');
|
|
358
|
+
|
|
359
|
+
// Copy all commands from source if available
|
|
360
|
+
const commandsSourceDir = path.join(this.sourceDir, '.claude', 'commands');
|
|
361
|
+
|
|
362
|
+
try {
|
|
363
|
+
if (await fs.pathExists(commandsSourceDir)) {
|
|
364
|
+
await fs.copy(commandsSourceDir, commandsDir);
|
|
365
|
+
|
|
366
|
+
// Count commands
|
|
367
|
+
const commandFiles = await fs.readdir(commandsDir);
|
|
368
|
+
this.stats.commands = commandFiles.filter(f => f.endsWith('.md')).length;
|
|
369
|
+
}
|
|
370
|
+
} catch (error) {
|
|
371
|
+
// Create essential commands manually
|
|
372
|
+
await this.createEssentialCommands(commandsDir);
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
// Setup Claude Code hooks
|
|
376
|
+
await this.setupClaudeHooks(claudeDir);
|
|
377
|
+
|
|
378
|
+
// Create configuration files
|
|
379
|
+
await this.setupClaudeConfiguration(claudeDir);
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
/**
|
|
383
|
+
* Create Essential Commands
|
|
384
|
+
*/
|
|
385
|
+
async createEssentialCommands(commandsDir) {
|
|
386
|
+
await fs.ensureDir(commandsDir);
|
|
387
|
+
|
|
388
|
+
// Main /one command with complete interface
|
|
389
|
+
const oneCommand = await this.getCompleteOneCommand();
|
|
390
|
+
await fs.writeFile(path.join(commandsDir, 'one.md'), oneCommand);
|
|
391
|
+
|
|
392
|
+
// Additional essential commands
|
|
393
|
+
const commands = {
|
|
394
|
+
'start.md': this.getStartCommand(),
|
|
395
|
+
'mission.md': this.getMissionCommand(),
|
|
396
|
+
'story.md': this.getStoryCommand(),
|
|
397
|
+
'task.md': this.getTaskCommand(),
|
|
398
|
+
'agent.md': this.getAgentCommand()
|
|
399
|
+
};
|
|
400
|
+
|
|
401
|
+
for (const [filename, content] of Object.entries(commands)) {
|
|
402
|
+
await fs.writeFile(path.join(commandsDir, filename), content);
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
this.stats.commands = Object.keys(commands).length + 1; // +1 for one.md
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
/**
|
|
409
|
+
* Setup Claude Hooks
|
|
410
|
+
*/
|
|
411
|
+
async setupClaudeHooks(claudeDir) {
|
|
412
|
+
// Copy hooks if available
|
|
413
|
+
const hooksSourceDir = path.join(this.sourceDir, '.claude', 'hooks');
|
|
414
|
+
const hooksTargetDir = path.join(claudeDir, 'hooks');
|
|
415
|
+
|
|
416
|
+
try {
|
|
417
|
+
if (await fs.pathExists(hooksSourceDir)) {
|
|
418
|
+
await fs.copy(hooksSourceDir, hooksTargetDir);
|
|
419
|
+
}
|
|
420
|
+
} catch (error) {
|
|
421
|
+
// Create minimal hooks directory
|
|
422
|
+
await fs.ensureDir(hooksTargetDir);
|
|
423
|
+
}
|
|
217
424
|
}
|
|
218
425
|
|
|
219
426
|
/**
|
|
220
|
-
*
|
|
427
|
+
* Setup Claude Configuration
|
|
428
|
+
*/
|
|
429
|
+
async setupClaudeConfiguration(claudeDir) {
|
|
430
|
+
// Claude Code hooks configuration
|
|
431
|
+
const hooksConfig = {
|
|
432
|
+
"version": "1.0",
|
|
433
|
+
"hooks": {
|
|
434
|
+
"file_change": {
|
|
435
|
+
"enabled": true,
|
|
436
|
+
"script": "hooks/file-organization-monitor.js"
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
};
|
|
440
|
+
|
|
441
|
+
await fs.writeFile(
|
|
442
|
+
path.join(claudeDir, 'claude-code-hooks.json'),
|
|
443
|
+
JSON.stringify(hooksConfig, null, 2)
|
|
444
|
+
);
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
/**
|
|
448
|
+
* Show success message with complete statistics
|
|
221
449
|
*/
|
|
222
450
|
showSuccessMessage() {
|
|
223
|
-
console.log(chalk.green('\n⨠Installation complete!\n'));
|
|
224
|
-
|
|
225
|
-
|
|
451
|
+
console.log(chalk.green('\n⨠Installation complete! Welcome to ONE Framework!\n'));
|
|
452
|
+
|
|
453
|
+
// Show installation statistics
|
|
454
|
+
console.log(chalk.cyan('π Installation Summary:'));
|
|
455
|
+
console.log(` π€ AI Agents: ${this.stats.agents}`);
|
|
456
|
+
console.log(` βοΈ Commands: ${this.stats.commands}`);
|
|
457
|
+
console.log(` π Templates: ${this.stats.templates}`);
|
|
458
|
+
console.log(` π Workflows: ${this.stats.workflows}`);
|
|
459
|
+
console.log(` β
Checklists: ${this.stats.checklists}`);
|
|
460
|
+
console.log(` π Tasks: ${this.stats.tasks}`);
|
|
461
|
+
|
|
462
|
+
console.log(chalk.blue('\nπ― Next Steps:\n'));
|
|
463
|
+
console.log('1. Open Claude Code in this directory');
|
|
464
|
+
console.log('2. Type: ' + chalk.yellow('/one'));
|
|
465
|
+
console.log('3. Explore your new MissionβStoryβTaskβAgent system');
|
|
466
|
+
|
|
467
|
+
console.log(chalk.green('\nπ What you can do now:'));
|
|
226
468
|
console.log(' β’ Create missions with clear objectives');
|
|
227
469
|
console.log(' β’ Break missions into actionable stories');
|
|
228
|
-
console.log(' β’ Execute with
|
|
229
|
-
console.log(' β’ Follow workflows
|
|
230
|
-
console.log(
|
|
470
|
+
console.log(' β’ Execute with 112+ specialized agents');
|
|
471
|
+
console.log(' β’ Follow proven workflows and quality gates');
|
|
472
|
+
console.log(' β’ Build with complete 3 Levels architecture');
|
|
473
|
+
|
|
474
|
+
console.log(chalk.magenta('\nπ« Mission-driven development with AI excellence awaits!'));
|
|
475
|
+
console.log(chalk.gray('\nπ Documentation: https://github.com/one-ie/one'));
|
|
476
|
+
console.log(chalk.gray('π― Framework: MissionβStoryβTaskβAgent cascade system'));
|
|
231
477
|
}
|
|
232
478
|
|
|
233
479
|
/**
|
|
@@ -236,7 +482,7 @@ _[Enter choice: 1-9, H, A, T, t, L, W, i, w, P, B, D, O, M, F, START, ?, K, S, Q
|
|
|
236
482
|
showSimpleHelp() {
|
|
237
483
|
console.log(chalk.blue('π ONE Framework - Mission-Driven Development\n'));
|
|
238
484
|
console.log('Usage:');
|
|
239
|
-
console.log(' npx oneie - Install ONE framework');
|
|
485
|
+
console.log(' npx oneie - Install complete ONE framework');
|
|
240
486
|
console.log(' npx oneie install - Install in current project');
|
|
241
487
|
console.log(' npx oneie help - Show this help');
|
|
242
488
|
console.log('\nAfter installation:');
|
|
@@ -244,10 +490,448 @@ _[Enter choice: 1-9, H, A, T, t, L, W, i, w, P, B, D, O, M, F, START, ?, K, S, Q
|
|
|
244
490
|
console.log('\nThe ONE framework provides:');
|
|
245
491
|
console.log(' π― Mission-driven development with clear objectives');
|
|
246
492
|
console.log(' π Story-based execution that achieves outcomes');
|
|
247
|
-
console.log(' π€
|
|
493
|
+
console.log(' π€ 112+ specialized agents organized by teams');
|
|
248
494
|
console.log(' π Proven workflows, tasks, and checklists');
|
|
249
495
|
console.log(' π₯ Cross-functional team coordination');
|
|
250
|
-
console.log(
|
|
496
|
+
console.log(' ποΈ Complete 3 Levels architecture (.claude/.one/one)');
|
|
497
|
+
console.log(chalk.magenta('\nπ« Complete AI-powered development ecosystem!'));
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
// ============================================================================
|
|
501
|
+
// CONTENT GENERATION METHODS
|
|
502
|
+
// ============================================================================
|
|
503
|
+
|
|
504
|
+
/**
|
|
505
|
+
* Get Complete /one Command
|
|
506
|
+
*/
|
|
507
|
+
async getCompleteOneCommand() {
|
|
508
|
+
try {
|
|
509
|
+
// Try to read from source first
|
|
510
|
+
const sourceCommand = path.join(this.sourceDir, '.claude', 'commands', 'one.md');
|
|
511
|
+
if (await fs.pathExists(sourceCommand)) {
|
|
512
|
+
return await fs.readFile(sourceCommand, 'utf8');
|
|
513
|
+
}
|
|
514
|
+
} catch (error) {
|
|
515
|
+
// Fall back to embedded version
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
return `# /one - Unified Command Interface
|
|
519
|
+
|
|
520
|
+
π― **ONE - Your Complete AI-Powered Workspace**
|
|
521
|
+
|
|
522
|
+
*Single entry point to the entire ONE framework with progressive disclosure and numbered selections.*
|
|
523
|
+
|
|
524
|
+
## Core Interface
|
|
525
|
+
|
|
526
|
+
When the \`/one\` command is invoked, display this main menu:
|
|
527
|
+
|
|
528
|
+
\`\`\`
|
|
529
|
+
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
|
530
|
+
β π― ONE - MISSION CONTROL β
|
|
531
|
+
β Your AI-Powered Success Platform with Live Status β
|
|
532
|
+
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
|
533
|
+
|
|
534
|
+
π **LIVE CASCADE STATUS**
|
|
535
|
+
π― Active Missions: 1 | Stories: 2 | Tasks: 8 | π€ Agents: 5 working
|
|
536
|
+
β Quality Score: 4.1β | π In Progress: 25% | β±οΈ ETA: Getting started
|
|
537
|
+
|
|
538
|
+
π **QUICK START** (Most Common Actions)
|
|
539
|
+
1. Start New Mission β Launch mission planning workflow
|
|
540
|
+
2. Continue Story β Work on existing stories
|
|
541
|
+
3. Execute Tasks β Run task execution
|
|
542
|
+
4. Get Agent Help β Access AI specialists
|
|
543
|
+
5. View Dashboard β Real-time cascade progress and status
|
|
544
|
+
|
|
545
|
+
π¨ **SPECIALIST TEAMS** (By Domain)
|
|
546
|
+
6. Marketing & Growth β Content, campaigns, social media
|
|
547
|
+
7. Engineering & Tech β Development, architecture, QA
|
|
548
|
+
8. Research & Analytics β Data analysis, market research
|
|
549
|
+
9. Design & UX β Interface design, user experience
|
|
550
|
+
|
|
551
|
+
βοΈ **ADVANCED** (Power Users)
|
|
552
|
+
A. Agent Directory β Browse all 112+ specialists
|
|
553
|
+
T. Template Library β Access workflow templates
|
|
554
|
+
W. Workflow Builder β Create custom workflows
|
|
555
|
+
S. System Settings β Configure preferences
|
|
556
|
+
|
|
557
|
+
β **HELP & INFO**
|
|
558
|
+
H. Help & Tutorials β Learn the ONE system
|
|
559
|
+
?. Command Reference β All available commands
|
|
560
|
+
|
|
561
|
+
Enter your choice (1-9, A, T, W, S, H, ?): _
|
|
562
|
+
\`\`\`
|
|
563
|
+
|
|
564
|
+
## Navigation Rules
|
|
565
|
+
|
|
566
|
+
### 1. Numbered Selection Pattern
|
|
567
|
+
- **Primary options**: 1-9 (consistent across all menus)
|
|
568
|
+
- **Advanced options**: Letters (A-Z)
|
|
569
|
+
- **Help options**: H, ?
|
|
570
|
+
- **Navigation**: B (Back), X (Exit)
|
|
571
|
+
|
|
572
|
+
### 2. Progressive Disclosure
|
|
573
|
+
- **Level 1**: Show most common actions (1-5)
|
|
574
|
+
- **Level 2**: Show specialist teams (6-9)
|
|
575
|
+
- **Level 3**: Show advanced features (A, T, W, S)
|
|
576
|
+
- **Level 4**: Show help and reference (H, ?)
|
|
577
|
+
|
|
578
|
+
*Designed with user-centered excellence for MissionβStoryβTaskβAgent workflow*`;
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
/**
|
|
582
|
+
* Get Start Command
|
|
583
|
+
*/
|
|
584
|
+
getStartCommand() {
|
|
585
|
+
return `# /start - Quick Mission Start
|
|
586
|
+
|
|
587
|
+
π **Quick Start New Mission**
|
|
588
|
+
|
|
589
|
+
When this command is used, immediately launch the mission creation workflow:
|
|
590
|
+
|
|
591
|
+
\`\`\`
|
|
592
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
|
593
|
+
β π― MISSION QUICK START β
|
|
594
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
|
595
|
+
|
|
596
|
+
Ready to start your next big goal?
|
|
597
|
+
|
|
598
|
+
1. Business Growth Mission β Increase revenue, expand market
|
|
599
|
+
2. Product Launch Mission β Launch new product or feature
|
|
600
|
+
3. Content Creation Mission β Create content at scale
|
|
601
|
+
4. Technical Project Mission β Build or improve systems
|
|
602
|
+
5. Custom Mission β Define your own objective
|
|
603
|
+
|
|
604
|
+
B. Back to Main Menu
|
|
605
|
+
H. Help with Missions
|
|
606
|
+
|
|
607
|
+
Choose mission type (1-5, B, H): _
|
|
608
|
+
\`\`\`
|
|
609
|
+
|
|
610
|
+
This command provides the fastest path from idea to execution in the ONE framework.`;
|
|
611
|
+
}
|
|
612
|
+
|
|
613
|
+
/**
|
|
614
|
+
* Get Mission Command
|
|
615
|
+
*/
|
|
616
|
+
getMissionCommand() {
|
|
617
|
+
return `# /mission - Mission Management
|
|
618
|
+
|
|
619
|
+
π― **Mission Control Center**
|
|
620
|
+
|
|
621
|
+
Manage your missions with this dedicated interface:
|
|
622
|
+
|
|
623
|
+
\`\`\`
|
|
624
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
|
625
|
+
β π― MISSION MANAGEMENT β
|
|
626
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
|
627
|
+
|
|
628
|
+
Your Missions:
|
|
629
|
+
|
|
630
|
+
Active:
|
|
631
|
+
1. Mission-1: Foundation Setup (67% complete)
|
|
632
|
+
2. Create New Mission
|
|
633
|
+
|
|
634
|
+
Completed:
|
|
635
|
+
3. View Completed Missions
|
|
636
|
+
|
|
637
|
+
Management:
|
|
638
|
+
4. Archive Mission
|
|
639
|
+
5. Mission Templates
|
|
640
|
+
6. Mission Analytics
|
|
641
|
+
|
|
642
|
+
B. Back to Main Menu
|
|
643
|
+
|
|
644
|
+
Choose option (1-6, B): _
|
|
645
|
+
\`\`\`
|
|
646
|
+
|
|
647
|
+
Provides comprehensive mission lifecycle management.`;
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
/**
|
|
651
|
+
* Get Story Command
|
|
652
|
+
*/
|
|
653
|
+
getStoryCommand() {
|
|
654
|
+
return `# /story - Story Management
|
|
655
|
+
|
|
656
|
+
π **Story Development Center**
|
|
657
|
+
|
|
658
|
+
Create and manage your stories within missions:
|
|
659
|
+
|
|
660
|
+
\`\`\`
|
|
661
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
|
662
|
+
β π STORY MANAGEMENT β
|
|
663
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
|
664
|
+
|
|
665
|
+
Your Stories:
|
|
666
|
+
|
|
667
|
+
In Progress:
|
|
668
|
+
1. Story-1.1: Value Proposition (40% complete)
|
|
669
|
+
2. Create New Story
|
|
670
|
+
|
|
671
|
+
Planning:
|
|
672
|
+
3. Story Ideas & Backlog
|
|
673
|
+
4. Story Templates
|
|
674
|
+
|
|
675
|
+
Management:
|
|
676
|
+
5. Story Analytics
|
|
677
|
+
6. Quality Validation
|
|
678
|
+
|
|
679
|
+
B. Back to Main Menu
|
|
680
|
+
|
|
681
|
+
Choose option (1-6, B): _
|
|
682
|
+
\`\`\`
|
|
683
|
+
|
|
684
|
+
Enables detailed story creation and tracking.`;
|
|
685
|
+
}
|
|
686
|
+
|
|
687
|
+
/**
|
|
688
|
+
* Get Task Command
|
|
689
|
+
*/
|
|
690
|
+
getTaskCommand() {
|
|
691
|
+
return `# /task - Task Execution
|
|
692
|
+
|
|
693
|
+
β
**Task Management Center**
|
|
694
|
+
|
|
695
|
+
Execute and coordinate tasks across your workflow:
|
|
696
|
+
|
|
697
|
+
\`\`\`
|
|
698
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
|
699
|
+
β β
TASK EXECUTION β
|
|
700
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
|
701
|
+
|
|
702
|
+
Ready Tasks:
|
|
703
|
+
|
|
704
|
+
High Priority:
|
|
705
|
+
1. Setup Development Environment (3 tasks)
|
|
706
|
+
2. Create Mission Brief (2 tasks)
|
|
707
|
+
|
|
708
|
+
Medium Priority:
|
|
709
|
+
3. Research Competitors (5 tasks)
|
|
710
|
+
4. Design User Interface (8 tasks)
|
|
711
|
+
|
|
712
|
+
Management:
|
|
713
|
+
5. Task Analytics
|
|
714
|
+
6. Create New Task
|
|
715
|
+
7. Batch Operations
|
|
716
|
+
|
|
717
|
+
B. Back to Main Menu
|
|
718
|
+
|
|
719
|
+
Choose option (1-7, B): _
|
|
720
|
+
\`\`\`
|
|
721
|
+
|
|
722
|
+
Provides task-level execution and coordination.`;
|
|
723
|
+
}
|
|
724
|
+
|
|
725
|
+
/**
|
|
726
|
+
* Get Agent Command
|
|
727
|
+
*/
|
|
728
|
+
getAgentCommand() {
|
|
729
|
+
return `# /agent - Direct Agent Access
|
|
730
|
+
|
|
731
|
+
π€ **AI Agent Directory**
|
|
732
|
+
|
|
733
|
+
Direct access to the 112+ specialized AI agents:
|
|
734
|
+
|
|
735
|
+
\`\`\`
|
|
736
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
|
737
|
+
β π€ AI AGENT ACCESS β
|
|
738
|
+
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
|
739
|
+
|
|
740
|
+
Popular Agents:
|
|
741
|
+
|
|
742
|
+
Mission & Strategy:
|
|
743
|
+
1. Mission Commander β Strategic planning
|
|
744
|
+
2. Story Teller β Narrative creation
|
|
745
|
+
3. Task Master β Execution coordination
|
|
746
|
+
|
|
747
|
+
Specialized Teams:
|
|
748
|
+
4. Engineering Architect β Technical design
|
|
749
|
+
5. Marketing Director β Growth strategy
|
|
750
|
+
6. UX Designer β User experience
|
|
751
|
+
7. Content Creator β Multi-platform content
|
|
752
|
+
|
|
753
|
+
Directory:
|
|
754
|
+
8. Browse All Agents β Complete directory
|
|
755
|
+
9. Agent Performance β Usage analytics
|
|
756
|
+
|
|
757
|
+
B. Back to Main Menu
|
|
758
|
+
|
|
759
|
+
Choose agent (1-9, B): _
|
|
760
|
+
\`\`\`
|
|
761
|
+
|
|
762
|
+
Direct access to specialized AI expertise.`;
|
|
763
|
+
}
|
|
764
|
+
|
|
765
|
+
// ============================================================================
|
|
766
|
+
// FALLBACK AGENT DEFINITIONS
|
|
767
|
+
// ============================================================================
|
|
768
|
+
|
|
769
|
+
/**
|
|
770
|
+
* Get Mission Commander Agent
|
|
771
|
+
*/
|
|
772
|
+
getMissionCommanderAgent() {
|
|
773
|
+
return `# Mission Commander
|
|
774
|
+
|
|
775
|
+
## Role & Expertise
|
|
776
|
+
Strategic planning specialist focused on mission-driven development. Expert in breaking down complex objectives into achievable stories and coordinating cross-functional execution.
|
|
777
|
+
|
|
778
|
+
## Core Capabilities
|
|
779
|
+
- Mission planning and objective definition
|
|
780
|
+
- Strategic story creation and prioritization
|
|
781
|
+
- Team coordination and resource allocation
|
|
782
|
+
- Quality gate establishment and monitoring
|
|
783
|
+
- Risk assessment and mitigation planning
|
|
784
|
+
|
|
785
|
+
## When to Use Mission Commander
|
|
786
|
+
- Starting new missions with clear objectives
|
|
787
|
+
- Breaking complex goals into manageable stories
|
|
788
|
+
- Coordinating multiple teams and specialists
|
|
789
|
+
- Establishing quality standards and success metrics
|
|
790
|
+
- Strategic planning and roadmap development
|
|
791
|
+
|
|
792
|
+
## Workflow Integration
|
|
793
|
+
Mission Commander initiates the MissionβStoryβTaskβAgent cascade by:
|
|
794
|
+
1. Defining clear mission objectives and success criteria
|
|
795
|
+
2. Creating strategic stories that achieve mission goals
|
|
796
|
+
3. Coordinating with Story Teller for detailed planning
|
|
797
|
+
4. Establishing quality gates with Task Master
|
|
798
|
+
5. Monitoring progress and adjusting strategy
|
|
799
|
+
|
|
800
|
+
*Expert in mission-driven development methodology with proven cascade orchestration.*`;
|
|
801
|
+
}
|
|
802
|
+
|
|
803
|
+
/**
|
|
804
|
+
* Get Story Teller Agent
|
|
805
|
+
*/
|
|
806
|
+
getStoryTellerAgent() {
|
|
807
|
+
return `# Story Teller
|
|
808
|
+
|
|
809
|
+
## Role & Expertise
|
|
810
|
+
Engineering narrative specialist who transforms mission objectives into actionable stories. Expert in agile methodologies, user story creation, and technical requirement specification.
|
|
811
|
+
|
|
812
|
+
## Core Capabilities
|
|
813
|
+
- User story creation with clear acceptance criteria
|
|
814
|
+
- Technical requirement specification and validation
|
|
815
|
+
- Story prioritization and backlog management
|
|
816
|
+
- Agile methodology implementation and optimization
|
|
817
|
+
- Cross-functional story coordination
|
|
818
|
+
|
|
819
|
+
## When to Use Story Teller
|
|
820
|
+
- Creating detailed user stories from mission objectives
|
|
821
|
+
- Defining acceptance criteria and success metrics
|
|
822
|
+
- Breaking stories into specific implementation tasks
|
|
823
|
+
- Validating story completeness and feasibility
|
|
824
|
+
- Coordinating story dependencies across teams
|
|
825
|
+
|
|
826
|
+
## Workflow Integration
|
|
827
|
+
Story Teller advances the cascade by:
|
|
828
|
+
1. Receiving mission objectives from Mission Commander
|
|
829
|
+
2. Creating detailed user stories with clear outcomes
|
|
830
|
+
3. Defining acceptance criteria and quality measures
|
|
831
|
+
4. Coordinating with Task Master for implementation planning
|
|
832
|
+
5. Ensuring story-level quality gates are established
|
|
833
|
+
|
|
834
|
+
*Expert in engineering storytelling with agile excellence and technical precision.*`;
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
/**
|
|
838
|
+
* Get Task Master Agent
|
|
839
|
+
*/
|
|
840
|
+
getTaskMasterAgent() {
|
|
841
|
+
return `# Task Master
|
|
842
|
+
|
|
843
|
+
## Role & Expertise
|
|
844
|
+
Execution coordination master specializing in task breakdown, agent assignment, and quality validation. Expert in workflow orchestration and delivery management.
|
|
845
|
+
|
|
846
|
+
## Core Capabilities
|
|
847
|
+
- Task decomposition and assignment optimization
|
|
848
|
+
- Agent coordination and workload balancing
|
|
849
|
+
- Quality validation and standards enforcement
|
|
850
|
+
- Workflow orchestration and dependency management
|
|
851
|
+
- Progress tracking and delivery coordination
|
|
852
|
+
|
|
853
|
+
## When to Use Task Master
|
|
854
|
+
- Breaking stories into specific implementation tasks
|
|
855
|
+
- Assigning tasks to appropriate specialized agents
|
|
856
|
+
- Coordinating parallel execution and dependencies
|
|
857
|
+
- Validating task completion and quality standards
|
|
858
|
+
- Managing workflow bottlenecks and optimization
|
|
859
|
+
|
|
860
|
+
## Workflow Integration
|
|
861
|
+
Task Master completes the cascade by:
|
|
862
|
+
1. Receiving detailed stories from Story Teller
|
|
863
|
+
2. Decomposing stories into specific implementation tasks
|
|
864
|
+
3. Assigning tasks to appropriate specialized agents
|
|
865
|
+
4. Coordinating parallel execution and managing dependencies
|
|
866
|
+
5. Validating completion through quality gate enforcement
|
|
867
|
+
|
|
868
|
+
*Expert in execution coordination with proven agent orchestration and delivery excellence.*`;
|
|
869
|
+
}
|
|
870
|
+
|
|
871
|
+
/**
|
|
872
|
+
* Get Engineering Architect Agent
|
|
873
|
+
*/
|
|
874
|
+
getEngineeringArchitectAgent() {
|
|
875
|
+
return `# Engineering Architect
|
|
876
|
+
|
|
877
|
+
## Role & Expertise
|
|
878
|
+
Technical system design specialist focused on scalable architecture and engineering excellence. Expert in modern development patterns, infrastructure design, and technical decision-making.
|
|
879
|
+
|
|
880
|
+
## Core Capabilities
|
|
881
|
+
- System architecture design and documentation
|
|
882
|
+
- Technology stack selection and optimization
|
|
883
|
+
- Infrastructure planning and scalability design
|
|
884
|
+
- Technical standards and best practices definition
|
|
885
|
+
- Cross-team technical coordination
|
|
886
|
+
|
|
887
|
+
## When to Use Engineering Architect
|
|
888
|
+
- Designing system architecture for new projects
|
|
889
|
+
- Making technology stack and infrastructure decisions
|
|
890
|
+
- Establishing technical standards and guidelines
|
|
891
|
+
- Coordinating technical work across multiple teams
|
|
892
|
+
- Reviewing and optimizing existing system designs
|
|
893
|
+
|
|
894
|
+
## Technical Expertise
|
|
895
|
+
- Full-stack development (React, Node.js, TypeScript)
|
|
896
|
+
- Cloud infrastructure (AWS, Cloudflare, Vercel)
|
|
897
|
+
- Database design (SQL, NoSQL, real-time systems)
|
|
898
|
+
- DevOps and CI/CD pipeline optimization
|
|
899
|
+
- Performance optimization and scalability planning
|
|
900
|
+
|
|
901
|
+
*Expert in technical architecture with proven system design and engineering leadership.*`;
|
|
902
|
+
}
|
|
903
|
+
|
|
904
|
+
/**
|
|
905
|
+
* Get Marketing Director Agent
|
|
906
|
+
*/
|
|
907
|
+
getMarketingDirectorAgent() {
|
|
908
|
+
return `# Marketing Director
|
|
909
|
+
|
|
910
|
+
## Role & Expertise
|
|
911
|
+
Growth strategy specialist focused on brand building, customer acquisition, and market expansion. Expert in modern marketing techniques, content strategy, and performance optimization.
|
|
912
|
+
|
|
913
|
+
## Core Capabilities
|
|
914
|
+
- Marketing strategy development and execution
|
|
915
|
+
- Brand positioning and message optimization
|
|
916
|
+
- Customer acquisition and retention planning
|
|
917
|
+
- Content marketing and social media strategy
|
|
918
|
+
- Performance analytics and optimization
|
|
919
|
+
|
|
920
|
+
## When to Use Marketing Director
|
|
921
|
+
- Developing comprehensive marketing strategies
|
|
922
|
+
- Planning product launches and campaigns
|
|
923
|
+
- Creating brand positioning and messaging
|
|
924
|
+
- Optimizing customer acquisition funnels
|
|
925
|
+
- Coordinating multi-channel marketing efforts
|
|
926
|
+
|
|
927
|
+
## Marketing Expertise
|
|
928
|
+
- Digital marketing and social media strategy
|
|
929
|
+
- Content creation and viral growth mechanics
|
|
930
|
+
- SEO/SEM optimization and analytics
|
|
931
|
+
- Email marketing and automation
|
|
932
|
+
- Brand development and market positioning
|
|
933
|
+
|
|
934
|
+
*Expert in growth marketing with proven customer acquisition and brand building success.*`;
|
|
251
935
|
}
|
|
252
936
|
|
|
253
937
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oneie",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.0",
|
|
4
4
|
"description": "π― ONE Personal Collaborative Intelligence - Complete MissionβStoryβTaskβAgent cascade system with 112+ AI agents. Universal access via `npx oneie` creates 3 Levels architecture (.claude/.one/one) for AI-human collaboration at any scale.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": ".one/tools/one-cli.js",
|
|
@@ -87,19 +87,10 @@
|
|
|
87
87
|
"release:test": "semantic-release --dry-run --no-ci || echo 'Config test complete - authentication errors are expected locally'"
|
|
88
88
|
},
|
|
89
89
|
"dependencies": {
|
|
90
|
-
"@kayvan/markdown-tree-parser": "^1.5.0",
|
|
91
|
-
"axios": "^1.7.9",
|
|
92
90
|
"chalk": "^5.4.1",
|
|
93
|
-
"cheerio": "^1.1.2",
|
|
94
|
-
"commander": "^14.0.0",
|
|
95
91
|
"figlet": "^1.7.0",
|
|
96
92
|
"fs-extra": "^11.3.0",
|
|
97
|
-
"
|
|
98
|
-
"inquirer": "^12.6.3",
|
|
99
|
-
"js-yaml": "^4.1.0",
|
|
100
|
-
"markdown": "^0.5.0",
|
|
101
|
-
"ora": "^8.2.0",
|
|
102
|
-
"puppeteer": "^24.12.0"
|
|
93
|
+
"js-yaml": "^4.1.0"
|
|
103
94
|
},
|
|
104
95
|
"keywords": [
|
|
105
96
|
"collaborative-intelligence",
|
|
@@ -138,8 +129,8 @@
|
|
|
138
129
|
"url": "https://github.com/one-ie/one/issues"
|
|
139
130
|
},
|
|
140
131
|
"engines": {
|
|
141
|
-
"node": ">=
|
|
142
|
-
"npm": ">=
|
|
132
|
+
"node": ">=18.0.0",
|
|
133
|
+
"npm": ">=9.0.0"
|
|
143
134
|
},
|
|
144
135
|
"devDependencies": {
|
|
145
136
|
"@semantic-release/changelog": "^6.0.3",
|