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.
@@ -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**: Multiple agents working simultaneously on complex tasks
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**: Context-aware code discovery from local projects
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
- ### Engineering Ingestor Agent
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
- **Intelligent Project Code Discovery:**
298
- - πŸ” **Smart Crawling**: Recursively scan local directories for TypeScript/React projects
299
- - 🎯 **Context-Aware**: Uses mission/story/task context for relevance scoring (0-1 scale)
300
- - 🧠 **Framework Detection**: Auto-identifies Next.js, Astro, Vite, TanStack Start projects
301
- - πŸ”§ **Intelligent Adaptation**: Smart import path rewriting and framework migration
302
- - πŸ“‹ **Quality Gates**: TypeScript compliance, ESLint validation, security scanning
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
- # Context-aware ingestion with mission focus
307
- /agent engineering-ingestor --source="/Users/dev/projects" --mission="dashboard"
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 file selection with preview
310
- /agent engineering-ingestor --source="/path/projects" --interactive --dry-run
328
+ # Interactive component library building
329
+ /ingest --source="/ui-libraries" --interactive \
330
+ --include="components,hooks,utils" --preview
311
331
 
312
- # Framework migration with adaptation
313
- /agent engineering-ingestor --source="/nextjs-app" --framework="astro"
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
@@ -2,10 +2,10 @@
2
2
 
3
3
  /**
4
4
  * ONE Universal Access System - npx oneie
5
- * Universal installation and configuration for ONE framework
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.2: NPX Package Infrastructure
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.0.0';
20
- this.templates = {
21
- 'turbo-monorepo': {
22
- name: 'Turbo Monorepo',
23
- description: 'Full-stack monorepo with Next.js, React Native, and Electron',
24
- path: 'turbo-monorepo-template.yaml'
25
- },
26
- 'next-app': {
27
- name: 'Next.js Application',
28
- description: 'Modern Next.js application with TypeScript and Tailwind',
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
- console.log(chalk.blue(figlet.textSync('ONE', { font: 'Big' })));
68
- console.log(chalk.cyan('πŸš€ Installing ONE Framework - Mission-Driven Development System...\n'));
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
- // Detect project type
71
- const hasPackageJson = fs.existsSync(path.join(process.cwd(), 'package.json'));
72
- const projectType = hasPackageJson ? 'Node.js project' : 'New Project';
73
-
74
- console.log(chalk.gray(`πŸ“ Detected: ${projectType}`));
75
- console.log(chalk.cyan('πŸ“¦ Installing complete ONE framework...'));
76
-
77
- // Create ONE structure
78
- await this.create3LevelsStructure();
79
-
80
- console.log(chalk.green('βœ… Complete ONE framework installed'));
81
- console.log(chalk.cyan('πŸ€– Setting up Claude Code integration...'));
82
-
83
- // Setup Claude integration
84
- await this.setupClaudeIntegration();
85
-
86
- console.log(chalk.green('βœ… Claude Code integration ready'));
87
-
88
- this.showSuccessMessage();
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
- * Setup Claude Code Integration
203
+ * Install Complete Agent Ecosystem (112+ agents)
186
204
  */
187
- async setupClaudeIntegration() {
205
+ async installAgentEcosystem() {
188
206
  const cwd = process.cwd();
189
- const claudeDir = path.join(cwd, '.claude');
207
+ const agentsSourceDir = path.join(this.sourceDir, '.claude', 'agents');
208
+ const agentsTargetDir = path.join(cwd, '.claude', 'agents');
190
209
 
191
- // Create /one command
192
- const oneCommand = `# /one Command
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
- When this command is used, launch the ONE interactive CLI interface with beautiful terminal UI:
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
- # ONE - Optimized Network of Experts
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
- \`\`\`yaml
199
- activation:
200
- - Display the ONE logo and welcome screen
201
- - Show the interactive team selection menu
202
- - Present 9 specialized teams with numbered options
203
- - Also show advanced options for power users
204
- - Wait for user selection
205
- - Process selection accordingly
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
- When the /one command is invoked:
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
- 🎯 Select your path to exponential growth:
211
- _[Enter choice: 1-9, H, A, T, t, L, W, i, w, P, B, D, O, M, F, START, ?, K, S, Q]_
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
- πŸ’Ό **TEAMS:** [1] πŸ”¬ Research [2] πŸ“ Content [3] πŸ“ˆ Marketing [4] πŸ’° Sales [5] 🀝 Service [6] 🎨 Design [7] πŸ› οΈ Engineering [8] πŸŽ“ Education [9] 🧠 Intelligence
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(claudeDir, 'commands', 'one.md'), oneCommand);
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
- * Show success message
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
- console.log(chalk.blue('🎯 Now use Claude Code and type: /one\n'));
225
- console.log('Then you can:');
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 18+ specialized agents');
229
- console.log(' β€’ Follow workflows, tasks, and checklists');
230
- console.log(chalk.magenta('\nπŸ’« Beautiful mission-driven development awaits!'));
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(' πŸ€– 18+ specialized agents organized by teams');
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(chalk.magenta('\nπŸ’« Beautiful mission-driven development awaits!'));
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.4",
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
- "glob": "^11.0.3",
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": ">=20.11.0",
142
- "npm": ">=10.0.0"
132
+ "node": ">=18.0.0",
133
+ "npm": ">=9.0.0"
143
134
  },
144
135
  "devDependencies": {
145
136
  "@semantic-release/changelog": "^6.0.3",