@shahmilsaari/memory-core 0.1.4 → 0.1.5
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 +2 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1037,6 +1037,7 @@ function printBanner(projectName, agentCount) {
|
|
|
1037
1037
|
];
|
|
1038
1038
|
lines.forEach((l) => console.log(l));
|
|
1039
1039
|
}
|
|
1040
|
+
var { version } = JSON.parse(readFileSync5(new URL("../package.json", import.meta.url), "utf-8"));
|
|
1040
1041
|
var CONFIG_FILE = ".memory-core.json";
|
|
1041
1042
|
function readProjectConfig() {
|
|
1042
1043
|
const path = join6(process.cwd(), CONFIG_FILE);
|
|
@@ -1051,7 +1052,7 @@ function writeProjectConfig(config2) {
|
|
|
1051
1052
|
writeFileSync3(join6(process.cwd(), CONFIG_FILE), JSON.stringify(config2, null, 2));
|
|
1052
1053
|
}
|
|
1053
1054
|
var program = new Command();
|
|
1054
|
-
program.name("memory-core").description("Universal AI memory core \u2014 generate AI context files for all coding agents").version(
|
|
1055
|
+
program.name("memory-core").description("Universal AI memory core \u2014 generate AI context files for all coding agents").version(version);
|
|
1055
1056
|
program.command("init").description("Initialize memory-core in the current project").action(async () => {
|
|
1056
1057
|
console.log(chalk3.bold.cyan("\n memory-core init\n"));
|
|
1057
1058
|
const detected = detectProject();
|