opencode-skills-antigravity 0.0.5 → 0.0.6

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/README.md CHANGED
@@ -40,7 +40,7 @@ OpenCode will automatically download the npm package on next startup via Bun. No
40
40
  Skills are stored at:
41
41
 
42
42
  ```
43
- ~/.config/opencode/.agents/skills/
43
+ ~/.config/opencode/skills/
44
44
  ```
45
45
 
46
46
  OpenCode scans this directory automatically at startup.
package/dist/index.js CHANGED
@@ -9,7 +9,7 @@ const AntigravityAutoUpdater = async (_ctx) => {
9
9
  const __dirname = path.dirname(fileURLToPath(import.meta.url));
10
10
  const bundledSkillsPath = path.join(__dirname, "..", "bundled-skills");
11
11
  // Resolve target path in OpenCode's config directory
12
- const skillsPath = path.join(os.homedir(), ".config", "opencode", ".agents", "skills");
12
+ const skillsPath = path.join(os.homedir(), ".config", "opencode", "skills");
13
13
  // Create destination directory and copy files
14
14
  fs.mkdirSync(skillsPath, { recursive: true });
15
15
  fs.cpSync(bundledSkillsPath, skillsPath, { recursive: true, force: true });
@@ -20,7 +20,7 @@ const AntigravityAutoUpdater = async (_ctx) => {
20
20
  const { exec } = await import("child_process");
21
21
  const util = await import("util");
22
22
  const execAsync = util.promisify(exec);
23
- const fallbackPath = path.join(os.homedir(), ".config", "opencode", ".agents", "skills");
23
+ const fallbackPath = path.join(os.homedir(), ".config", "opencode", "skills");
24
24
  await execAsync(`npx --yes antigravity-awesome-skills --path "${fallbackPath}"`);
25
25
  }
26
26
  catch (e) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-skills-antigravity",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "description": "OpenCode CLI plugin that automatically downloads and keeps Antigravity Awesome Skills up to date.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",