@gabeosx/skx 1.1.3 → 1.1.5

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
@@ -1,7 +1,7 @@
1
1
  # skx
2
2
 
3
3
  ![Build Status](https://img.shields.io/github/actions/workflow/status/gabeosx/skx/ci.yml?branch=main)
4
- ![License](https://img.shields.io/npm/l/skx)
4
+ ![License](https://img.shields.io/npm/l/@gabeosx/skx)
5
5
 
6
6
  **Agent Skills Manager** - The CLI tool for managing Agent Skills from the [Agent Skills Directory](https://skillindex.dev).
7
7
 
@@ -21,7 +21,7 @@
21
21
 
22
22
  ### NPM
23
23
  ```bash
24
- npm install -g skx
24
+ npm install -g @gabeosx/skx
25
25
  ```
26
26
 
27
27
  ### Homebrew (macOS)
Binary file
package/dist/ui.js CHANGED
@@ -2,6 +2,7 @@ import { intro, outro, cancel, spinner } from '@clack/prompts';
2
2
  import { runWizard } from './wizard.js';
3
3
  import { SkillInstaller } from './utils/skill-installer.js';
4
4
  import chalk from 'chalk';
5
+ import path from 'path';
5
6
  export async function startInteractiveMode() {
6
7
  intro(chalk.inverse(' skx '));
7
8
  try {
@@ -17,7 +18,8 @@ export async function startInteractiveMode() {
17
18
  // For now, we simulate the installation using the installer.
18
19
  // The installer expects sourceDir and targetDir.
19
20
  // We need to resolve the target directory using the adapter.
20
- const targetDir = await agent.getInstallationPath(scope, process.cwd());
21
+ const basePath = await agent.getInstallationPath(scope, process.cwd());
22
+ const targetDir = path.join(basePath, skill.packageName);
21
23
  const installer = new SkillInstaller();
22
24
  await installer.installFromUrl(skill.githubRepoUrl, targetDir);
23
25
  s.stop(`Successfully installed ${skill.name}!`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gabeosx/skx",
3
- "version": "1.1.3",
3
+ "version": "1.1.5",
4
4
  "description": "The CLI tool for managing Agent Skills",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
Binary file