@hasnatools/skills 0.1.13 → 0.1.14
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/index.js +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -20718,10 +20718,10 @@ async function downloadSkill(slug) {
|
|
|
20718
20718
|
async function installSkill(slug) {
|
|
20719
20719
|
return apiRequest(`/skills/${slug}/install`);
|
|
20720
20720
|
}
|
|
20721
|
-
async function runSkillRemote(slug, args = [], input) {
|
|
20721
|
+
async function runSkillRemote(slug, args = [], input, cwd) {
|
|
20722
20722
|
return apiRequest(`/skills/${slug}/run`, {
|
|
20723
20723
|
method: "POST",
|
|
20724
|
-
body: JSON.stringify({ args, input })
|
|
20724
|
+
body: JSON.stringify({ args, input, cwd: cwd || process.cwd() })
|
|
20725
20725
|
});
|
|
20726
20726
|
}
|
|
20727
20727
|
async function requestDeviceCode() {
|
|
@@ -22924,7 +22924,7 @@ async function doctorCommand() {
|
|
|
22924
22924
|
// src/index.ts
|
|
22925
22925
|
var indigo12 = source_default.hex("#6366f1");
|
|
22926
22926
|
var program2 = new Command;
|
|
22927
|
-
program2.name("skills").description("CLI for skills.md - AI Agent Skills Marketplace").version("0.1.
|
|
22927
|
+
program2.name("skills").description("CLI for skills.md - AI Agent Skills Marketplace").version("0.1.14");
|
|
22928
22928
|
program2.command("init").description("Initialize skills.md in current project").option("-f, --force", "Force re-initialization (removes existing .skills/)").action((options) => {
|
|
22929
22929
|
initCommand({ force: options.force });
|
|
22930
22930
|
});
|