@amrhas82/agentic-kit 2.3.2 → 2.3.4
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/installer/cli.js +8 -3
- package/installer/package-manager.js +4 -4
- package/package.json +1 -1
package/installer/cli.js
CHANGED
|
@@ -73,9 +73,14 @@ class InteractiveInstaller {
|
|
|
73
73
|
async askInstallOrUninstall() {
|
|
74
74
|
console.log('\nWhat would you like to do?\n');
|
|
75
75
|
console.log(' 1. Install tools');
|
|
76
|
-
console.log(' 2. Uninstall tools
|
|
76
|
+
console.log(' 2. Uninstall tools');
|
|
77
|
+
console.log(' 3. Exit\n');
|
|
77
78
|
|
|
78
|
-
const choice = await this.askQuestion('Enter choice (1
|
|
79
|
+
const choice = await this.askQuestion('Enter choice (1-3): ', '1');
|
|
80
|
+
if (choice === '3') {
|
|
81
|
+
console.log('\nGoodbye!\n');
|
|
82
|
+
process.exit(0);
|
|
83
|
+
}
|
|
79
84
|
return choice === '2' ? 'uninstall' : 'install';
|
|
80
85
|
}
|
|
81
86
|
|
|
@@ -451,7 +456,7 @@ ${colors.bright}${colors.cyan}██╔══██║██║ ██║█
|
|
|
451
456
|
${colors.bright}${colors.cyan}██║ ██║╚██████╔╝███████╗██║ ╚████║ ██║ ██║╚██████╗ ██║ ██╗██║ ██║${colors.reset}
|
|
452
457
|
${colors.bright}${colors.cyan}╚═╝ ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═══╝ ╚═╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝${colors.reset}
|
|
453
458
|
|
|
454
|
-
${colors.bright}v2.3.
|
|
459
|
+
${colors.bright}v2.3.4 | 11 agents + 20 commands per tool${colors.reset}
|
|
455
460
|
`);
|
|
456
461
|
}
|
|
457
462
|
|
|
@@ -73,10 +73,10 @@ class PackageManager {
|
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
// Validate each variant has required fields
|
|
76
|
-
// Note: 'skills'
|
|
76
|
+
// Note: 'skills', 'commands', 'resources', 'hooks' are optional
|
|
77
77
|
for (const variant of requiredVariants) {
|
|
78
78
|
const variantConfig = config[variant];
|
|
79
|
-
const requiredFields = ['name', 'description', 'agents'
|
|
79
|
+
const requiredFields = ['name', 'description', 'agents'];
|
|
80
80
|
|
|
81
81
|
for (const field of requiredFields) {
|
|
82
82
|
if (variantConfig[field] === undefined) {
|
|
@@ -529,8 +529,8 @@ class PackageManager {
|
|
|
529
529
|
}
|
|
530
530
|
|
|
531
531
|
// Check 5: Each variant has required fields
|
|
532
|
-
// Note: 'skills'
|
|
533
|
-
const requiredFields = ['name', 'description', 'agents'
|
|
532
|
+
// Note: 'skills', 'commands', 'resources', 'hooks' are optional
|
|
533
|
+
const requiredFields = ['name', 'description', 'agents'];
|
|
534
534
|
for (const reqVariant of requiredVariants) {
|
|
535
535
|
const variantConfig = config[reqVariant];
|
|
536
536
|
for (const field of requiredFields) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@amrhas82/agentic-kit",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.4",
|
|
4
4
|
"description": "AI development toolkit with 11 specialized agents and 20 commands. Simple one-question installer for Claude, Opencode, Ampcode, and Droid.",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|