skilluse 0.1.7 → 0.1.9
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 +28 -25
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -64729,7 +64729,11 @@ function StatusMessage({ type, children }) {
|
|
|
64729
64729
|
}
|
|
64730
64730
|
// src/components/Table.tsx
|
|
64731
64731
|
var jsx_dev_runtime6 = __toESM(require_jsx_dev_runtime(), 1);
|
|
64732
|
-
function Table({
|
|
64732
|
+
function Table({
|
|
64733
|
+
data,
|
|
64734
|
+
columns,
|
|
64735
|
+
maxColWidth = 30
|
|
64736
|
+
}) {
|
|
64733
64737
|
if (data.length === 0) {
|
|
64734
64738
|
return /* @__PURE__ */ jsx_dev_runtime6.jsxDEV(Text, {
|
|
64735
64739
|
dimColor: true,
|
|
@@ -64744,11 +64748,17 @@ function Table({ data, columns }) {
|
|
|
64744
64748
|
const width = value == null ? 0 : String(value).length;
|
|
64745
64749
|
return Math.max(max, width);
|
|
64746
64750
|
}, 0);
|
|
64747
|
-
return Math.max(headerWidth, maxDataWidth);
|
|
64751
|
+
return Math.min(Math.max(headerWidth, maxDataWidth), maxColWidth);
|
|
64748
64752
|
});
|
|
64753
|
+
const truncate = (str, maxLen) => {
|
|
64754
|
+
if (str.length <= maxLen)
|
|
64755
|
+
return str;
|
|
64756
|
+
return `${str.slice(0, maxLen - 1)}…`;
|
|
64757
|
+
};
|
|
64749
64758
|
const renderCell = (value, width, isHeader = false) => {
|
|
64750
64759
|
const str = value == null ? "" : String(value);
|
|
64751
|
-
const
|
|
64760
|
+
const truncated = truncate(str, width);
|
|
64761
|
+
const padded = truncated.padEnd(width);
|
|
64752
64762
|
return isHeader ? /* @__PURE__ */ jsx_dev_runtime6.jsxDEV(Text, {
|
|
64753
64763
|
bold: true,
|
|
64754
64764
|
children: padded
|
|
@@ -66489,7 +66499,7 @@ import { join } from "node:path";
|
|
|
66489
66499
|
var AGENTS = {
|
|
66490
66500
|
claude: {
|
|
66491
66501
|
id: "claude",
|
|
66492
|
-
name: "Claude
|
|
66502
|
+
name: "Claude",
|
|
66493
66503
|
description: "Anthropic Claude Code CLI",
|
|
66494
66504
|
localPath: ".claude/skills",
|
|
66495
66505
|
globalPath: join(homedir2(), ".claude/skills")
|
|
@@ -66501,17 +66511,10 @@ var AGENTS = {
|
|
|
66501
66511
|
localPath: ".cursor/skills",
|
|
66502
66512
|
globalPath: ".cursor/skills"
|
|
66503
66513
|
},
|
|
66504
|
-
amp: {
|
|
66505
|
-
id: "amp",
|
|
66506
|
-
name: "Amp",
|
|
66507
|
-
description: "Sourcegraph Amp CLI",
|
|
66508
|
-
localPath: ".amp/skills",
|
|
66509
|
-
globalPath: join(homedir2(), ".amp/skills")
|
|
66510
|
-
},
|
|
66511
66514
|
vscode: {
|
|
66512
66515
|
id: "vscode",
|
|
66513
|
-
name: "
|
|
66514
|
-
description: "
|
|
66516
|
+
name: "VSCode",
|
|
66517
|
+
description: "VS Code with GitHub Copilot",
|
|
66515
66518
|
localPath: ".github/skills",
|
|
66516
66519
|
globalPath: ".github/skills"
|
|
66517
66520
|
},
|
|
@@ -66522,13 +66525,6 @@ var AGENTS = {
|
|
|
66522
66525
|
localPath: ".goose/skills",
|
|
66523
66526
|
globalPath: join(homedir2(), ".config/goose/skills")
|
|
66524
66527
|
},
|
|
66525
|
-
opencode: {
|
|
66526
|
-
id: "opencode",
|
|
66527
|
-
name: "OpenCode",
|
|
66528
|
-
description: "OpenCode CLI",
|
|
66529
|
-
localPath: ".opencode/skills",
|
|
66530
|
-
globalPath: join(homedir2(), ".opencode/skills")
|
|
66531
|
-
},
|
|
66532
66528
|
codex: {
|
|
66533
66529
|
id: "codex",
|
|
66534
66530
|
name: "Codex",
|
|
@@ -66536,6 +66532,13 @@ var AGENTS = {
|
|
|
66536
66532
|
localPath: ".codex/skills",
|
|
66537
66533
|
globalPath: join(homedir2(), ".codex/skills")
|
|
66538
66534
|
},
|
|
66535
|
+
opencode: {
|
|
66536
|
+
id: "opencode",
|
|
66537
|
+
name: "OpenCode",
|
|
66538
|
+
description: "OpenCode CLI",
|
|
66539
|
+
localPath: ".opencode/skills",
|
|
66540
|
+
globalPath: join(homedir2(), ".opencode/skills")
|
|
66541
|
+
},
|
|
66539
66542
|
letta: {
|
|
66540
66543
|
id: "letta",
|
|
66541
66544
|
name: "Letta",
|
|
@@ -66543,10 +66546,10 @@ var AGENTS = {
|
|
|
66543
66546
|
localPath: ".letta/skills",
|
|
66544
66547
|
globalPath: join(homedir2(), ".letta/skills")
|
|
66545
66548
|
},
|
|
66546
|
-
|
|
66547
|
-
id: "
|
|
66548
|
-
name: "
|
|
66549
|
-
description: "Portable agent-agnostic skills
|
|
66549
|
+
other: {
|
|
66550
|
+
id: "other",
|
|
66551
|
+
name: "Other",
|
|
66552
|
+
description: "Portable agent-agnostic skills",
|
|
66550
66553
|
localPath: ".skills",
|
|
66551
66554
|
globalPath: ".skills"
|
|
66552
66555
|
}
|
|
@@ -70415,7 +70418,7 @@ function Upgrade({ args: [skillName] }) {
|
|
|
70415
70418
|
// package.json
|
|
70416
70419
|
var package_default = {
|
|
70417
70420
|
name: "skilluse",
|
|
70418
|
-
version: "0.1.
|
|
70421
|
+
version: "0.1.9",
|
|
70419
70422
|
description: "CLI tool for managing and installing AI Coding Agent Skills",
|
|
70420
70423
|
main: "dist/cli.js",
|
|
70421
70424
|
bin: {
|