oneie 1.5.1 โ†’ 1.5.3

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.
@@ -58,7 +58,8 @@
58
58
  "Bash(eslint:*)",
59
59
  "Bash(../../node_modules/.bin/eslint src/**/*.ts)",
60
60
  "Bash(timeout:*)",
61
- "Bash(gtimeout:*)"
61
+ "Bash(gtimeout:*)",
62
+ "Bash(tar:*)"
62
63
  ],
63
64
  "deny": [],
64
65
  "additionalDirectories": [
@@ -20,9 +20,10 @@ const __dirname = path.dirname(__filename);
20
20
 
21
21
  class OneIECLI {
22
22
  constructor() {
23
- this.version = '1.5.0';
23
+ this.version = '1.5.3';
24
24
  // When running from NPX, the source directory is relative to this script
25
25
  this.sourceDir = path.resolve(__dirname, '../..');
26
+ console.log(chalk.gray(`๐Ÿ” Source directory resolved to: ${this.sourceDir}`));
26
27
  this.stats = {
27
28
  agents: 0,
28
29
  commands: 0,
@@ -207,16 +208,25 @@ Understand the value that ONE brings to your development workflow.
207
208
  const agentsSourceDir = path.join(this.sourceDir, '.claude', 'agents');
208
209
  const agentsTargetDir = path.join(cwd, '.claude', 'agents');
209
210
 
211
+ console.log(chalk.gray(`๐Ÿ” Looking for agents in: ${agentsSourceDir}`));
212
+ console.log(chalk.gray(`๐Ÿ“ Source directory exists: ${await fs.pathExists(agentsSourceDir)}`));
213
+
210
214
  try {
211
215
  // Copy all agents from source
212
216
  if (await fs.pathExists(agentsSourceDir)) {
217
+ console.log(chalk.gray('๐Ÿ“ Copying complete agent ecosystem...'));
213
218
  await fs.copy(agentsSourceDir, agentsTargetDir);
214
219
 
215
220
  // Count installed agents
216
221
  const agentFiles = await fs.readdir(agentsTargetDir);
217
222
  this.stats.agents = agentFiles.filter(f => f.endsWith('.md')).length;
223
+ console.log(chalk.green(`โœ… ${this.stats.agents} agents copied successfully`));
224
+ } else {
225
+ console.log(chalk.yellow('โš ๏ธ Source agents directory not found, installing fallback set...'));
226
+ await this.installFallbackAgents();
218
227
  }
219
228
  } catch (error) {
229
+ console.log(chalk.yellow(`โš ๏ธ Error copying agents: ${error.message}`));
220
230
  console.log(chalk.yellow('โš ๏ธ Installing fallback agent set...'));
221
231
  await this.installFallbackAgents();
222
232
  }
@@ -242,6 +252,9 @@ Understand the value that ONE brings to your development workflow.
242
252
  const oneDotSourceDir = path.join(this.sourceDir, '.one');
243
253
  const oneDotTargetDir = path.join(targetDir, '.one');
244
254
 
255
+ console.log(chalk.gray(`๐Ÿ” Looking for .one resources in: ${oneDotSourceDir}`));
256
+ console.log(chalk.gray(`๐Ÿ“ .one directory exists: ${await fs.pathExists(oneDotSourceDir)}`));
257
+
245
258
  const resourceTypes = ['templates', 'workflows', 'checklists', 'tasks'];
246
259
 
247
260
  for (const resourceType of resourceTypes) {
@@ -250,14 +263,19 @@ Understand the value that ONE brings to your development workflow.
250
263
 
251
264
  try {
252
265
  if (await fs.pathExists(sourceDir)) {
266
+ console.log(chalk.gray(`๐Ÿ“ Copying ${resourceType}...`));
253
267
  await fs.copy(sourceDir, targetSubDir);
254
268
 
255
269
  // Count resources
256
270
  const files = await fs.readdir(targetSubDir);
257
271
  this.stats[resourceType] = files.length;
272
+ console.log(chalk.green(`โœ… ${files.length} ${resourceType} copied`));
273
+ } else {
274
+ console.log(chalk.yellow(`โš ๏ธ ${resourceType} directory not found, creating minimal version...`));
275
+ await this.createMinimalResource(targetSubDir, resourceType);
258
276
  }
259
277
  } catch (error) {
260
- console.log(chalk.yellow(`โš ๏ธ Could not install ${resourceType}, creating minimal version...`));
278
+ console.log(chalk.yellow(`โš ๏ธ Could not install ${resourceType}: ${error.message}`));
261
279
  await this.createMinimalResource(targetSubDir, resourceType);
262
280
  }
263
281
  }
@@ -459,6 +477,16 @@ For more information, visit: https://github.com/one-ie/one
459
477
  console.log(` โœ… Checklists: ${this.stats.checklists}`);
460
478
  console.log(` ๐Ÿ“ Tasks: ${this.stats.tasks}`);
461
479
 
480
+ // Check if we have the full installation or fallback
481
+ const isFullInstallation = this.stats.agents >= 100 && this.stats.templates >= 20;
482
+
483
+ if (isFullInstallation) {
484
+ console.log(chalk.green('\n๐ŸŽ‰ Complete 3 Levels architecture installed successfully!'));
485
+ } else {
486
+ console.log(chalk.yellow('\nโš ๏ธ Fallback installation complete - essential components ready'));
487
+ console.log(chalk.gray(' Some resources may use minimal versions due to npm packaging'));
488
+ }
489
+
462
490
  console.log(chalk.blue('\n๐ŸŽฏ Next Steps:\n'));
463
491
  console.log('1. Open Claude Code in this directory');
464
492
  console.log('2. Type: ' + chalk.yellow('/one'));
@@ -467,9 +495,9 @@ For more information, visit: https://github.com/one-ie/one
467
495
  console.log(chalk.green('\n๐Ÿš€ What you can do now:'));
468
496
  console.log(' โ€ข Create missions with clear objectives');
469
497
  console.log(' โ€ข Break missions into actionable stories');
470
- console.log(' โ€ข Execute with 112+ specialized agents');
498
+ console.log(' โ€ข Execute with specialized agents');
471
499
  console.log(' โ€ข Follow proven workflows and quality gates');
472
- console.log(' โ€ข Build with complete 3 Levels architecture');
500
+ console.log(' โ€ข Build with the 3 Levels architecture');
473
501
 
474
502
  console.log(chalk.magenta('\n๐Ÿ’ซ Mission-driven development with AI excellence awaits!'));
475
503
  console.log(chalk.gray('\n๐Ÿ“š Documentation: https://github.com/one-ie/one'));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oneie",
3
- "version": "1.5.1",
3
+ "version": "1.5.3",
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",