fix(skill): align app and platform terminology and sync skill to v0.8.3

This commit is contained in:
gitea committed 2026-09-09 15:21:18 +08:00
1 parent 3c680d0ed3
commit 69c6396d38
4 files changed
+65 -33

No files matched your search

+5 -2
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env bun
import { readFileSync, writeFileSync, existsSync, cpSync } from "node:fs";
import { readFileSync, writeFileSync, existsSync, cpSync, readdirSync } from "node:fs";
import { join } from "node:path";
import { execSync } from "node:child_process";
@@ -78,7 +78,10 @@ if (existsSync(pluginJsonPath)) {
// 6. Sync to global ~/.agents/skills/hose-use/ if present
const globalSkillDir = join(process.env.HOME || "", ".agents", "skills", "hose-use");
if (existsSync(globalSkillDir)) {
cpSync(join(ROOT, "skills", "hose-use"), globalSkillDir, { recursive: true });
const srcDir = join(ROOT, "skills", "hose-use");
for (const item of readdirSync(srcDir)) {
cpSync(join(srcDir, item), join(globalSkillDir, item), { recursive: true, force: true });
}
console.log("✓ Synchronized ~/.agents/skills/hose-use/");
}