@kurokeita/add-skill 1.5.0 → 1.6.0
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/dist/src/commands/add.js
CHANGED
|
@@ -192,7 +192,11 @@ export async function add(type, url) {
|
|
|
192
192
|
currentSourcePath = src; // direct path to dir
|
|
193
193
|
}
|
|
194
194
|
}
|
|
195
|
-
|
|
195
|
+
let targetItemName = item;
|
|
196
|
+
if (platform === "windsurf" && normalizedType === "agent") {
|
|
197
|
+
targetItemName = path.join(path.parse(item).name, "AGENTS.md");
|
|
198
|
+
}
|
|
199
|
+
const installed = await installItem(targetItemName, overwrite, currentSourcePath, targetBase);
|
|
196
200
|
if (installed) {
|
|
197
201
|
installedCount++;
|
|
198
202
|
}
|
package/dist/src/utils/paths.js
CHANGED
|
@@ -23,10 +23,10 @@ export const PLATFORM_PATHS_AGENTS = {
|
|
|
23
23
|
windsurf: path.join(os.homedir(), ".codeium/windsurf/agents"),
|
|
24
24
|
};
|
|
25
25
|
export const PLATFORM_PATHS_WORKFLOWS = {
|
|
26
|
-
antigravity: path.join(os.homedir(), ".gemini/antigravity/
|
|
26
|
+
antigravity: path.join(os.homedir(), ".gemini/antigravity/global_workflows"),
|
|
27
27
|
copilot: path.join(os.homedir(), ".copilot/prompts"),
|
|
28
28
|
gemini: path.join(os.homedir(), ".gemini/workflows"),
|
|
29
|
-
windsurf: path.join(os.homedir(), ".codeium/windsurf/
|
|
29
|
+
windsurf: path.join(os.homedir(), ".codeium/windsurf/global_workflows"),
|
|
30
30
|
};
|
|
31
31
|
export const TYPE_DIRS = {
|
|
32
32
|
skill: path.join(PROJECT_ROOT, "skills"),
|