musubi-sdd 0.5.0 → 0.5.1
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/bin/musubi-sync.js +4 -2
- package/package.json +1 -1
package/bin/musubi-sync.js
CHANGED
|
@@ -208,7 +208,8 @@ async function analyzeCodebase() {
|
|
|
208
208
|
nodir: true,
|
|
209
209
|
});
|
|
210
210
|
|
|
211
|
-
const
|
|
211
|
+
const fileArray = Array.isArray(files) ? files : [];
|
|
212
|
+
const extensions = new Set(fileArray.map(f => path.extname(f)).filter(Boolean));
|
|
212
213
|
const langMap = {
|
|
213
214
|
'.js': 'javascript',
|
|
214
215
|
'.ts': 'typescript',
|
|
@@ -229,7 +230,8 @@ async function analyzeCodebase() {
|
|
|
229
230
|
const dirs = await glob('*/', {
|
|
230
231
|
ignore: ['node_modules/**', '.git/**', 'dist/**', 'build/**', '.vscode/**'],
|
|
231
232
|
});
|
|
232
|
-
|
|
233
|
+
const dirArray = Array.isArray(dirs) ? dirs : [];
|
|
234
|
+
state.directories = dirArray.map(d => d.replace(/\/$/, '')).slice(0, 10);
|
|
233
235
|
|
|
234
236
|
return state;
|
|
235
237
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "musubi-sdd",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.1",
|
|
4
4
|
"description": "Ultimate Specification Driven Development Tool with 25 Agents for 7 AI Coding Platforms (Claude Code, GitHub Copilot, Cursor, Gemini CLI, Windsurf, Codex, Qwen Code)",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"bin": {
|