memorix 0.3.7 → 0.3.8
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/index.js +6 -2
- package/dist/cli/index.js.map +1 -1
- package/dist/index.js +5 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -2462,9 +2462,10 @@ var init_engine2 = __esm({
|
|
|
2462
2462
|
"claude-code": [".claude/skills"],
|
|
2463
2463
|
copilot: []
|
|
2464
2464
|
};
|
|
2465
|
-
/** Get the target skills directory for an agent */
|
|
2465
|
+
/** Get the target skills directory for an agent (null if agent has no skills support) */
|
|
2466
2466
|
getTargetSkillsDir(target) {
|
|
2467
2467
|
const dirs = _WorkspaceSyncEngine.SKILLS_DIRS[target];
|
|
2468
|
+
if (!dirs || dirs.length === 0) return null;
|
|
2468
2469
|
return join7(this.projectRoot, dirs[0]);
|
|
2469
2470
|
}
|
|
2470
2471
|
/**
|
|
@@ -2531,6 +2532,9 @@ var init_engine2 = __esm({
|
|
|
2531
2532
|
const targetDir = this.getTargetSkillsDir(target);
|
|
2532
2533
|
const copied = [];
|
|
2533
2534
|
const skipped = [];
|
|
2535
|
+
if (!targetDir) {
|
|
2536
|
+
return { copied, skipped };
|
|
2537
|
+
}
|
|
2534
2538
|
for (const skill of skills) {
|
|
2535
2539
|
if (skill.sourceAgent === target) continue;
|
|
2536
2540
|
const dest = join7(targetDir, skill.name);
|
|
@@ -4702,7 +4706,7 @@ import { defineCommand as defineCommand9, runMain } from "citty";
|
|
|
4702
4706
|
var main = defineCommand9({
|
|
4703
4707
|
meta: {
|
|
4704
4708
|
name: "memorix",
|
|
4705
|
-
version: "0.3.
|
|
4709
|
+
version: "0.3.8",
|
|
4706
4710
|
description: "Cross-Agent Memory Bridge \u2014 Universal memory layer for AI coding agents via MCP"
|
|
4707
4711
|
},
|
|
4708
4712
|
subCommands: {
|