@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 +2 -2
- package/dist/gabeosx-skx-1.1.5.tgz +0 -0
- package/dist/ui.js +3 -1
- package/package.json +1 -1
- package/dist/gabeosx-skx-1.1.3.tgz +0 -0
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# skx
|
|
2
2
|
|
|
3
3
|

|
|
4
|
-

|
|
4
|
+

|
|
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
|
|
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
|
Binary file
|