@blockrun/clawrouter 0.12.72 → 0.12.73
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/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -50741,11 +50741,13 @@ function installSkillsToWorkspace(logger) {
|
|
|
50741
50741
|
const workspaceDirName = profile && profile !== "default" ? `workspace-${profile}` : "workspace";
|
|
50742
50742
|
const workspaceSkillsDir = join10(homedir7(), ".openclaw", workspaceDirName, "skills");
|
|
50743
50743
|
mkdirSync3(workspaceSkillsDir, { recursive: true });
|
|
50744
|
+
const INTERNAL_SKILLS = /* @__PURE__ */ new Set(["release"]);
|
|
50744
50745
|
const entries = readdirSync(bundledSkillsDir, { withFileTypes: true });
|
|
50745
50746
|
let installed = 0;
|
|
50746
50747
|
for (const entry of entries) {
|
|
50747
50748
|
if (!entry.isDirectory()) continue;
|
|
50748
50749
|
const skillName = entry.name;
|
|
50750
|
+
if (INTERNAL_SKILLS.has(skillName)) continue;
|
|
50749
50751
|
const srcSkillFile = join10(bundledSkillsDir, skillName, "SKILL.md");
|
|
50750
50752
|
if (!existsSync3(srcSkillFile)) continue;
|
|
50751
50753
|
const destDir = join10(workspaceSkillsDir, skillName);
|