skilluse 0.1.8 → 0.1.10
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/dist/cli.js +22 -38
- package/package.json +2 -2
package/dist/cli.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
#!/usr/bin/env
|
|
2
|
-
// @bun
|
|
1
|
+
#!/usr/bin/env node
|
|
3
2
|
import { createRequire } from "node:module";
|
|
4
3
|
var __create = Object.create;
|
|
5
4
|
var __getProtoOf = Object.getPrototypeOf;
|
|
@@ -44831,14 +44830,6 @@ var require_semver2 = __commonJS((exports, module) => {
|
|
|
44831
44830
|
};
|
|
44832
44831
|
});
|
|
44833
44832
|
|
|
44834
|
-
// node_modules/react/jsx-dev-runtime.js
|
|
44835
|
-
var require_jsx_dev_runtime2 = __commonJS((exports, module) => {
|
|
44836
|
-
var react_jsx_dev_runtime_development = __toESM(require_react_jsx_dev_runtime_development(), 1);
|
|
44837
|
-
if (false) {} else {
|
|
44838
|
-
module.exports = react_jsx_dev_runtime_development;
|
|
44839
|
-
}
|
|
44840
|
-
});
|
|
44841
|
-
|
|
44842
44833
|
// node_modules/commander/esm.mjs
|
|
44843
44834
|
var import__ = __toESM(require_commander(), 1);
|
|
44844
44835
|
var {
|
|
@@ -64753,7 +64744,7 @@ function Table({
|
|
|
64753
64744
|
const truncate = (str, maxLen) => {
|
|
64754
64745
|
if (str.length <= maxLen)
|
|
64755
64746
|
return str;
|
|
64756
|
-
return `${str.slice(0, maxLen -
|
|
64747
|
+
return `${str.slice(0, maxLen - 1)}…`;
|
|
64757
64748
|
};
|
|
64758
64749
|
const renderCell = (value, width, isHeader = false) => {
|
|
64759
64750
|
const str = value == null ? "" : String(value);
|
|
@@ -64768,7 +64759,7 @@ function Table({
|
|
|
64768
64759
|
};
|
|
64769
64760
|
const separator = /* @__PURE__ */ jsx_dev_runtime6.jsxDEV(Box_default, {
|
|
64770
64761
|
children: /* @__PURE__ */ jsx_dev_runtime6.jsxDEV(Text, {
|
|
64771
|
-
children: widths.map((w, i) => "
|
|
64762
|
+
children: widths.map((w, i) => "─".repeat(w) + (i < widths.length - 1 ? "─┼─" : "")).join("")
|
|
64772
64763
|
}, undefined, false, undefined, this)
|
|
64773
64764
|
}, undefined, false, undefined, this);
|
|
64774
64765
|
return /* @__PURE__ */ jsx_dev_runtime6.jsxDEV(Box_default, {
|
|
@@ -64779,7 +64770,7 @@ function Table({
|
|
|
64779
64770
|
children: [
|
|
64780
64771
|
renderCell(String(col), widths[i], true),
|
|
64781
64772
|
i < cols.length - 1 && /* @__PURE__ */ jsx_dev_runtime6.jsxDEV(Text, {
|
|
64782
|
-
children: "
|
|
64773
|
+
children: " │ "
|
|
64783
64774
|
}, undefined, false, undefined, this)
|
|
64784
64775
|
]
|
|
64785
64776
|
}, String(col), true, undefined, this))
|
|
@@ -64790,7 +64781,7 @@ function Table({
|
|
|
64790
64781
|
children: [
|
|
64791
64782
|
renderCell(row[col], widths[i]),
|
|
64792
64783
|
i < cols.length - 1 && /* @__PURE__ */ jsx_dev_runtime6.jsxDEV(Text, {
|
|
64793
|
-
children: "
|
|
64784
|
+
children: " │ "
|
|
64794
64785
|
}, undefined, false, undefined, this)
|
|
64795
64786
|
]
|
|
64796
64787
|
}, String(col), true, undefined, this))
|
|
@@ -66499,7 +66490,7 @@ import { join } from "node:path";
|
|
|
66499
66490
|
var AGENTS = {
|
|
66500
66491
|
claude: {
|
|
66501
66492
|
id: "claude",
|
|
66502
|
-
name: "Claude
|
|
66493
|
+
name: "Claude",
|
|
66503
66494
|
description: "Anthropic Claude Code CLI",
|
|
66504
66495
|
localPath: ".claude/skills",
|
|
66505
66496
|
globalPath: join(homedir2(), ".claude/skills")
|
|
@@ -66511,17 +66502,10 @@ var AGENTS = {
|
|
|
66511
66502
|
localPath: ".cursor/skills",
|
|
66512
66503
|
globalPath: ".cursor/skills"
|
|
66513
66504
|
},
|
|
66514
|
-
amp: {
|
|
66515
|
-
id: "amp",
|
|
66516
|
-
name: "Amp",
|
|
66517
|
-
description: "Sourcegraph Amp CLI",
|
|
66518
|
-
localPath: ".amp/skills",
|
|
66519
|
-
globalPath: join(homedir2(), ".amp/skills")
|
|
66520
|
-
},
|
|
66521
66505
|
vscode: {
|
|
66522
66506
|
id: "vscode",
|
|
66523
|
-
name: "
|
|
66524
|
-
description: "
|
|
66507
|
+
name: "VSCode",
|
|
66508
|
+
description: "VS Code with GitHub Copilot",
|
|
66525
66509
|
localPath: ".github/skills",
|
|
66526
66510
|
globalPath: ".github/skills"
|
|
66527
66511
|
},
|
|
@@ -66532,13 +66516,6 @@ var AGENTS = {
|
|
|
66532
66516
|
localPath: ".goose/skills",
|
|
66533
66517
|
globalPath: join(homedir2(), ".config/goose/skills")
|
|
66534
66518
|
},
|
|
66535
|
-
opencode: {
|
|
66536
|
-
id: "opencode",
|
|
66537
|
-
name: "OpenCode",
|
|
66538
|
-
description: "OpenCode CLI",
|
|
66539
|
-
localPath: ".opencode/skills",
|
|
66540
|
-
globalPath: join(homedir2(), ".opencode/skills")
|
|
66541
|
-
},
|
|
66542
66519
|
codex: {
|
|
66543
66520
|
id: "codex",
|
|
66544
66521
|
name: "Codex",
|
|
@@ -66546,6 +66523,13 @@ var AGENTS = {
|
|
|
66546
66523
|
localPath: ".codex/skills",
|
|
66547
66524
|
globalPath: join(homedir2(), ".codex/skills")
|
|
66548
66525
|
},
|
|
66526
|
+
opencode: {
|
|
66527
|
+
id: "opencode",
|
|
66528
|
+
name: "OpenCode",
|
|
66529
|
+
description: "OpenCode CLI",
|
|
66530
|
+
localPath: ".opencode/skills",
|
|
66531
|
+
globalPath: join(homedir2(), ".opencode/skills")
|
|
66532
|
+
},
|
|
66549
66533
|
letta: {
|
|
66550
66534
|
id: "letta",
|
|
66551
66535
|
name: "Letta",
|
|
@@ -66553,10 +66537,10 @@ var AGENTS = {
|
|
|
66553
66537
|
localPath: ".letta/skills",
|
|
66554
66538
|
globalPath: join(homedir2(), ".letta/skills")
|
|
66555
66539
|
},
|
|
66556
|
-
|
|
66557
|
-
id: "
|
|
66558
|
-
name: "
|
|
66559
|
-
description: "Portable agent-agnostic skills
|
|
66540
|
+
other: {
|
|
66541
|
+
id: "other",
|
|
66542
|
+
name: "Other",
|
|
66543
|
+
description: "Portable agent-agnostic skills",
|
|
66560
66544
|
localPath: ".skills",
|
|
66561
66545
|
globalPath: ".skills"
|
|
66562
66546
|
}
|
|
@@ -70425,7 +70409,7 @@ function Upgrade({ args: [skillName] }) {
|
|
|
70425
70409
|
// package.json
|
|
70426
70410
|
var package_default = {
|
|
70427
70411
|
name: "skilluse",
|
|
70428
|
-
version: "0.1.
|
|
70412
|
+
version: "0.1.10",
|
|
70429
70413
|
description: "CLI tool for managing and installing AI Coding Agent Skills",
|
|
70430
70414
|
main: "dist/cli.js",
|
|
70431
70415
|
bin: {
|
|
@@ -70457,7 +70441,7 @@ var package_default = {
|
|
|
70457
70441
|
format: "biome format --write .",
|
|
70458
70442
|
lint: "biome lint .",
|
|
70459
70443
|
check: "biome check .",
|
|
70460
|
-
start: "
|
|
70444
|
+
start: "node dist/cli.js",
|
|
70461
70445
|
prepublishOnly: "bun run build"
|
|
70462
70446
|
},
|
|
70463
70447
|
keywords: [
|
|
@@ -70495,7 +70479,7 @@ var package_default = {
|
|
|
70495
70479
|
};
|
|
70496
70480
|
|
|
70497
70481
|
// src/cli.tsx
|
|
70498
|
-
var jsx_dev_runtime24 = __toESM(
|
|
70482
|
+
var jsx_dev_runtime24 = __toESM(require_jsx_dev_runtime(), 1);
|
|
70499
70483
|
var VERSION = process.env.VERSION || package_default.version;
|
|
70500
70484
|
var BUILD_TIME = process.env.BUILD_TIME || new Date().toISOString();
|
|
70501
70485
|
var program2 = new Command;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "skilluse",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.10",
|
|
4
4
|
"description": "CLI tool for managing and installing AI Coding Agent Skills",
|
|
5
5
|
"main": "dist/cli.js",
|
|
6
6
|
"bin": {
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"format": "biome format --write .",
|
|
33
33
|
"lint": "biome lint .",
|
|
34
34
|
"check": "biome check .",
|
|
35
|
-
"start": "
|
|
35
|
+
"start": "node dist/cli.js",
|
|
36
36
|
"prepublishOnly": "bun run build"
|
|
37
37
|
},
|
|
38
38
|
"keywords": [
|