@dosu/cli 0.19.2 → 0.19.3
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/bin/dosu.js +18 -3
- package/package.json +1 -1
package/bin/dosu.js
CHANGED
|
@@ -4548,7 +4548,7 @@ var init_dist4 = __esm(() => {
|
|
|
4548
4548
|
function getVersionString() {
|
|
4549
4549
|
return `v${VERSION}`;
|
|
4550
4550
|
}
|
|
4551
|
-
var VERSION = "0.19.
|
|
4551
|
+
var VERSION = "0.19.3";
|
|
4552
4552
|
|
|
4553
4553
|
// src/debug/logger.ts
|
|
4554
4554
|
import {
|
|
@@ -7667,9 +7667,12 @@ var init_skill_update_check = __esm(() => {
|
|
|
7667
7667
|
|
|
7668
7668
|
// src/commands/skill.ts
|
|
7669
7669
|
import { execSync } from "node:child_process";
|
|
7670
|
+
function supportedSkillAgentArgs() {
|
|
7671
|
+
return SUPPORTED_SKILL_AGENTS.map((agent) => `-a ${agent}`).join(" ");
|
|
7672
|
+
}
|
|
7670
7673
|
async function installSkill() {
|
|
7671
7674
|
try {
|
|
7672
|
-
execSync(`npx skills add ${SKILL_REPO} -g -s ${SKILL_NAME} -y`, {
|
|
7675
|
+
execSync(`npx skills add ${SKILL_REPO} -g ${supportedSkillAgentArgs()} -s ${SKILL_NAME} -y`, {
|
|
7673
7676
|
stdio: "inherit"
|
|
7674
7677
|
});
|
|
7675
7678
|
} catch (err) {
|
|
@@ -7733,12 +7736,24 @@ Failed to update skill.`));
|
|
|
7733
7736
|
});
|
|
7734
7737
|
return cmd;
|
|
7735
7738
|
}
|
|
7736
|
-
var import_picocolors10, SKILL_REPO = "dosu-ai/dosu-skill", SKILL_NAME = "dosu";
|
|
7739
|
+
var import_picocolors10, SKILL_REPO = "dosu-ai/dosu-skill", SKILL_NAME = "dosu", SUPPORTED_SKILL_AGENTS;
|
|
7737
7740
|
var init_skill = __esm(() => {
|
|
7738
7741
|
init_esm();
|
|
7739
7742
|
init_logger();
|
|
7740
7743
|
init_skill_update_check();
|
|
7741
7744
|
import_picocolors10 = __toESM(require_picocolors(), 1);
|
|
7745
|
+
SUPPORTED_SKILL_AGENTS = [
|
|
7746
|
+
"claude-code",
|
|
7747
|
+
"cursor",
|
|
7748
|
+
"gemini-cli",
|
|
7749
|
+
"codex",
|
|
7750
|
+
"windsurf",
|
|
7751
|
+
"zed",
|
|
7752
|
+
"cline",
|
|
7753
|
+
"github-copilot",
|
|
7754
|
+
"opencode",
|
|
7755
|
+
"antigravity"
|
|
7756
|
+
];
|
|
7742
7757
|
});
|
|
7743
7758
|
|
|
7744
7759
|
// src/mcp/constants.ts
|