memorix 0.3.7 → 0.3.9
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/README.md +48 -21
- 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 +8 -2
package/dist/index.js
CHANGED
|
@@ -2742,9 +2742,10 @@ var WorkspaceSyncEngine = class _WorkspaceSyncEngine {
|
|
|
2742
2742
|
"claude-code": [".claude/skills"],
|
|
2743
2743
|
copilot: []
|
|
2744
2744
|
};
|
|
2745
|
-
/** Get the target skills directory for an agent */
|
|
2745
|
+
/** Get the target skills directory for an agent (null if agent has no skills support) */
|
|
2746
2746
|
getTargetSkillsDir(target) {
|
|
2747
2747
|
const dirs = _WorkspaceSyncEngine.SKILLS_DIRS[target];
|
|
2748
|
+
if (!dirs || dirs.length === 0) return null;
|
|
2748
2749
|
return join7(this.projectRoot, dirs[0]);
|
|
2749
2750
|
}
|
|
2750
2751
|
/**
|
|
@@ -2811,6 +2812,9 @@ var WorkspaceSyncEngine = class _WorkspaceSyncEngine {
|
|
|
2811
2812
|
const targetDir = this.getTargetSkillsDir(target);
|
|
2812
2813
|
const copied = [];
|
|
2813
2814
|
const skipped = [];
|
|
2815
|
+
if (!targetDir) {
|
|
2816
|
+
return { copied, skipped };
|
|
2817
|
+
}
|
|
2814
2818
|
for (const skill of skills) {
|
|
2815
2819
|
if (skill.sourceAgent === target) continue;
|
|
2816
2820
|
const dest = join7(targetDir, skill.name);
|