@tdsoft-tech/aikit 0.1.2 → 0.1.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/dist/cli.js +12 -1
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -1
package/dist/cli.js
CHANGED
|
@@ -4020,7 +4020,7 @@ init_logger();
|
|
|
4020
4020
|
// src/index.ts
|
|
4021
4021
|
init_logger();
|
|
4022
4022
|
init_paths();
|
|
4023
|
-
var VERSION = "0.1.
|
|
4023
|
+
var VERSION = "0.1.4";
|
|
4024
4024
|
|
|
4025
4025
|
// src/cli.ts
|
|
4026
4026
|
init_memory();
|
|
@@ -4042,6 +4042,17 @@ program.command("init").description("Initialize AIKit configuration").option("-g
|
|
|
4042
4042
|
if (result.count > 0) {
|
|
4043
4043
|
logger.success(`\u2713 Synced ${result.count} skills`);
|
|
4044
4044
|
}
|
|
4045
|
+
const beads = new BeadsIntegration();
|
|
4046
|
+
const beadsStatus = await beads.getStatus();
|
|
4047
|
+
if (!beadsStatus.installed) {
|
|
4048
|
+
logger.warn("Beads not installed. Please install it manually with: npm install -g beads");
|
|
4049
|
+
} else if (!beadsStatus.initialized) {
|
|
4050
|
+
logger.info("Initializing beads...");
|
|
4051
|
+
await beads.init();
|
|
4052
|
+
logger.success("\u2713 Beads initialized");
|
|
4053
|
+
} else {
|
|
4054
|
+
logger.info("Beads already initialized");
|
|
4055
|
+
}
|
|
4045
4056
|
const opencodePath = paths.opencodeConfig();
|
|
4046
4057
|
await installToOpenCode(opencodePath);
|
|
4047
4058
|
console.log(chalk2.bold("\n\u2728 AIKit is ready!\n"));
|