@gabeosx/skx 1.1.3 → 1.1.4

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.
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.4",
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