musubix2 0.5.84 → 0.5.85
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/.claude/.musubix-managed +1 -1
- package/dist/assets/skills-manifest.json +1 -1
- package/dist/cli.js +8 -4
- package/dist/index.js +8 -4
- package/package.json +1 -1
package/.claude/.musubix-managed
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"generator":"musubix2","version":"0.5.
|
|
1
|
+
{"generator":"musubix2","version":"0.5.85","timestamp":"2026-07-11T23:00:53.949Z"}
|
package/dist/cli.js
CHANGED
|
@@ -2952,11 +2952,15 @@ var init_design = __esm({
|
|
|
2952
2952
|
const interfaces = [];
|
|
2953
2953
|
for (const req of reqs) {
|
|
2954
2954
|
const words = req.title.split(/[\s_\-,、]+/).map((w) => w.replace(/[^A-Za-z0-9]/g, "")).filter((w) => w.length > 3);
|
|
2955
|
+
let name = "";
|
|
2955
2956
|
if (words.length > 0) {
|
|
2956
|
-
|
|
2957
|
-
|
|
2958
|
-
|
|
2959
|
-
|
|
2957
|
+
name = words.map((w) => w.charAt(0).toUpperCase() + w.slice(1).toLowerCase()).join("");
|
|
2958
|
+
} else {
|
|
2959
|
+
const op = deriveOperation(req.text, "");
|
|
2960
|
+
name = op ? op.charAt(0).toUpperCase() + op.slice(1) : "";
|
|
2961
|
+
}
|
|
2962
|
+
if (name) {
|
|
2963
|
+
interfaces.push(`I${name}`);
|
|
2960
2964
|
}
|
|
2961
2965
|
}
|
|
2962
2966
|
return [...new Set(interfaces)];
|
package/dist/index.js
CHANGED
|
@@ -2952,11 +2952,15 @@ var init_design = __esm({
|
|
|
2952
2952
|
const interfaces = [];
|
|
2953
2953
|
for (const req of reqs) {
|
|
2954
2954
|
const words = req.title.split(/[\s_\-,、]+/).map((w) => w.replace(/[^A-Za-z0-9]/g, "")).filter((w) => w.length > 3);
|
|
2955
|
+
let name = "";
|
|
2955
2956
|
if (words.length > 0) {
|
|
2956
|
-
|
|
2957
|
-
|
|
2958
|
-
|
|
2959
|
-
|
|
2957
|
+
name = words.map((w) => w.charAt(0).toUpperCase() + w.slice(1).toLowerCase()).join("");
|
|
2958
|
+
} else {
|
|
2959
|
+
const op = deriveOperation(req.text, "");
|
|
2960
|
+
name = op ? op.charAt(0).toUpperCase() + op.slice(1) : "";
|
|
2961
|
+
}
|
|
2962
|
+
if (name) {
|
|
2963
|
+
interfaces.push(`I${name}`);
|
|
2960
2964
|
}
|
|
2961
2965
|
}
|
|
2962
2966
|
return [...new Set(interfaces)];
|