oneie 1.5.0 โ 1.5.2
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/bin/oneie/index.js +32 -4
- package/package.json +1 -1
package/bin/oneie/index.js
CHANGED
|
@@ -20,9 +20,10 @@ const __dirname = path.dirname(__filename);
|
|
|
20
20
|
|
|
21
21
|
class OneIECLI {
|
|
22
22
|
constructor() {
|
|
23
|
-
this.version = '1.5.
|
|
23
|
+
this.version = '1.5.2';
|
|
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}
|
|
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
|
|
498
|
+
console.log(' โข Execute with specialized agents');
|
|
471
499
|
console.log(' โข Follow proven workflows and quality gates');
|
|
472
|
-
console.log(' โข Build with
|
|
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.
|
|
3
|
+
"version": "1.5.2",
|
|
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",
|