@asteroidai/cli 1.9.182 → 1.9.185
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/asteroid.js +9 -2
- package/dist/core.js +8 -1
- package/package.json +1 -1
package/dist/asteroid.js
CHANGED
|
@@ -4305,7 +4305,7 @@ var COMMANDS = [
|
|
|
4305
4305
|
command: "skill get",
|
|
4306
4306
|
tool: "skill_get",
|
|
4307
4307
|
title: "Get skill",
|
|
4308
|
-
description: "Get one skill with the content of every file, SKILL.md first, in the Agent Skills format. A name resolves to the public skill, then a portal's, then the organization's; set `kind` to pick one. A portal skill needs its portal added with `portal_skills_add`. Pass `surface` `mcp` to spell the platform's commands as MCP tools.",
|
|
4308
|
+
description: "Get one skill with the content of every file, SKILL.md first, in the Agent Skills format. A large skill can exceed your result limit: pass `paths` to fetch only some files, such as `SKILL.md` first and then the reference files it names. A link like `../workflow-reference/references/nodes.md` is file `references/nodes.md` of skill `workflow-reference`. `skills_list` gives every file's path and size. A name resolves to the public skill, then a portal's, then the organization's; set `kind` to pick one. A portal skill needs its portal added with `portal_skills_add`. Pass `surface` `mcp` to spell the platform's commands as MCP tools.",
|
|
4309
4309
|
method: "GET",
|
|
4310
4310
|
path: "/astro/v2/skills/{name}",
|
|
4311
4311
|
args: [
|
|
@@ -4317,6 +4317,13 @@ var COMMANDS = [
|
|
|
4317
4317
|
}
|
|
4318
4318
|
],
|
|
4319
4319
|
query: [
|
|
4320
|
+
{
|
|
4321
|
+
name: "paths",
|
|
4322
|
+
flag: "paths",
|
|
4323
|
+
type: "string[]",
|
|
4324
|
+
required: false,
|
|
4325
|
+
description: "Return only the files at these skill-relative paths, such as `SKILL.md` or `references/nodes.md`. A path that names no file yields no entry."
|
|
4326
|
+
},
|
|
4320
4327
|
{
|
|
4321
4328
|
name: "kind",
|
|
4322
4329
|
flag: "kind",
|
|
@@ -7729,7 +7736,7 @@ var ApiError = class extends Error {
|
|
|
7729
7736
|
status;
|
|
7730
7737
|
body;
|
|
7731
7738
|
};
|
|
7732
|
-
var VERSION = "1.9.
|
|
7739
|
+
var VERSION = "1.9.185";
|
|
7733
7740
|
function problem(status, body, fallback) {
|
|
7734
7741
|
if (body && typeof body === "object") {
|
|
7735
7742
|
const record2 = body;
|
package/dist/core.js
CHANGED
|
@@ -4326,7 +4326,7 @@ var COMMANDS = [
|
|
|
4326
4326
|
command: "skill get",
|
|
4327
4327
|
tool: "skill_get",
|
|
4328
4328
|
title: "Get skill",
|
|
4329
|
-
description: "Get one skill with the content of every file, SKILL.md first, in the Agent Skills format. A name resolves to the public skill, then a portal's, then the organization's; set `kind` to pick one. A portal skill needs its portal added with `portal_skills_add`. Pass `surface` `mcp` to spell the platform's commands as MCP tools.",
|
|
4329
|
+
description: "Get one skill with the content of every file, SKILL.md first, in the Agent Skills format. A large skill can exceed your result limit: pass `paths` to fetch only some files, such as `SKILL.md` first and then the reference files it names. A link like `../workflow-reference/references/nodes.md` is file `references/nodes.md` of skill `workflow-reference`. `skills_list` gives every file's path and size. A name resolves to the public skill, then a portal's, then the organization's; set `kind` to pick one. A portal skill needs its portal added with `portal_skills_add`. Pass `surface` `mcp` to spell the platform's commands as MCP tools.",
|
|
4330
4330
|
method: "GET",
|
|
4331
4331
|
path: "/astro/v2/skills/{name}",
|
|
4332
4332
|
args: [
|
|
@@ -4338,6 +4338,13 @@ var COMMANDS = [
|
|
|
4338
4338
|
}
|
|
4339
4339
|
],
|
|
4340
4340
|
query: [
|
|
4341
|
+
{
|
|
4342
|
+
name: "paths",
|
|
4343
|
+
flag: "paths",
|
|
4344
|
+
type: "string[]",
|
|
4345
|
+
required: false,
|
|
4346
|
+
description: "Return only the files at these skill-relative paths, such as `SKILL.md` or `references/nodes.md`. A path that names no file yields no entry."
|
|
4347
|
+
},
|
|
4341
4348
|
{
|
|
4342
4349
|
name: "kind",
|
|
4343
4350
|
flag: "kind",
|