openmatrix 0.1.11 → 0.1.12
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.
|
@@ -65,8 +65,8 @@ exports.installSkillsCommand = new commander_1.Command('install-skills')
|
|
|
65
65
|
console.error(' Error:', err.message);
|
|
66
66
|
process.exit(1);
|
|
67
67
|
}
|
|
68
|
-
// Get skill files (excluding om.md and openmatrix
|
|
69
|
-
const files = fs.readdirSync(skillsDir).filter(f => f.endsWith('.md') && f !== 'om.md' && f !== 'openmatrix
|
|
68
|
+
// Get skill files (excluding om.md and openmatrix.md which are handled separately)
|
|
69
|
+
const files = fs.readdirSync(skillsDir).filter(f => f.endsWith('.md') && f !== 'om.md' && f !== 'openmatrix.md');
|
|
70
70
|
if (files.length === 0) {
|
|
71
71
|
console.error('❌ No skill files found in:', skillsDir);
|
|
72
72
|
process.exit(1);
|
|
@@ -117,22 +117,22 @@ exports.installSkillsCommand = new commander_1.Command('install-skills')
|
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
// Install auto-detection instructions
|
|
120
|
-
const autoSrc = path.join(skillsDir, 'openmatrix
|
|
121
|
-
const autoDest = path.join(claudeDir, 'commands', 'openmatrix
|
|
120
|
+
const autoSrc = path.join(skillsDir, 'openmatrix.md');
|
|
121
|
+
const autoDest = path.join(claudeDir, 'commands', 'openmatrix.md');
|
|
122
122
|
if (fs.existsSync(autoSrc)) {
|
|
123
123
|
try {
|
|
124
124
|
if (fs.existsSync(autoDest) && !options.force) {
|
|
125
|
-
console.log(` ⏭️ Skipped: openmatrix
|
|
125
|
+
console.log(` ⏭️ Skipped: openmatrix.md (already exists)`);
|
|
126
126
|
skipped++;
|
|
127
127
|
}
|
|
128
128
|
else {
|
|
129
129
|
fs.copyFileSync(autoSrc, autoDest);
|
|
130
|
-
console.log(` ✅ Installed: auto-detection
|
|
130
|
+
console.log(` ✅ Installed: /om:openmatrix (auto-detection)`);
|
|
131
131
|
installed++;
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
134
|
catch (err) {
|
|
135
|
-
console.log(` ❌ Failed: openmatrix
|
|
135
|
+
console.log(` ❌ Failed: openmatrix.md (${err.message})`);
|
|
136
136
|
failed++;
|
|
137
137
|
}
|
|
138
138
|
}
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
---
|
|
2
|
-
name: openmatrix
|
|
2
|
+
name: openmatrix
|
|
3
3
|
description: "Invoke /om:start for any implementation task - adding features, fixing bugs, refactoring, creating commands, writing code, building systems. Use this when user describes work to be done, not for questions or information requests."
|
|
4
4
|
---
|
|
5
5
|
|