devez-vibe 1.5.6 → 1.5.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/bin/dvz.exe +0 -0
- package/bridge/claude-agent-sdk-bridge.mjs +18 -16
- package/package.json +1 -1
package/bin/dvz.exe
CHANGED
|
Binary file
|
|
@@ -846,22 +846,24 @@ async function claudePluginDetail(params) {
|
|
|
846
846
|
};
|
|
847
847
|
}
|
|
848
848
|
|
|
849
|
-
async function claudeSkills(params) {
|
|
850
|
-
const installed = await runClaudeJson(params, ["plugin", "list", "--json"]);
|
|
851
|
-
const skills = [];
|
|
852
|
-
for (const plugin of Array.isArray(installed) ? installed : []) {
|
|
853
|
-
if (!plugin?.
|
|
854
|
-
try {
|
|
855
|
-
for (const child of await readdir(join(plugin.installPath, "skills"), { withFileTypes: true })) {
|
|
856
|
-
if (!child.isDirectory()) continue;
|
|
857
|
-
skills.push({
|
|
858
|
-
name: child.name,
|
|
859
|
-
path: join(plugin.installPath, "skills", child.name, "SKILL.md"),
|
|
860
|
-
description: `${plugin.id} plugin skill`,
|
|
861
|
-
enabled:
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
849
|
+
async function claudeSkills(params) {
|
|
850
|
+
const installed = await runClaudeJson(params, ["plugin", "list", "--json"]);
|
|
851
|
+
const skills = [];
|
|
852
|
+
for (const plugin of Array.isArray(installed) ? installed : []) {
|
|
853
|
+
if (!plugin?.installPath) continue;
|
|
854
|
+
try {
|
|
855
|
+
for (const child of await readdir(join(plugin.installPath, "skills"), { withFileTypes: true })) {
|
|
856
|
+
if (!child.isDirectory()) continue;
|
|
857
|
+
skills.push({
|
|
858
|
+
name: child.name,
|
|
859
|
+
path: join(plugin.installPath, "skills", child.name, "SKILL.md"),
|
|
860
|
+
description: `${plugin.id} plugin skill`,
|
|
861
|
+
enabled: Boolean(plugin.enabled),
|
|
862
|
+
scope: plugin.scope || "user",
|
|
863
|
+
pluginId: plugin.id,
|
|
864
|
+
});
|
|
865
|
+
}
|
|
866
|
+
} catch { /* Plugins do not have to provide skills. */ }
|
|
865
867
|
}
|
|
866
868
|
return { data: [{ cwd: params.cwd || process.cwd(), skills }] };
|
|
867
869
|
}
|