@asteroidai/cli 1.9.182 → 1.9.189

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 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",
@@ -5567,7 +5574,7 @@ var COMMANDS = [
5567
5574
  command: "workflow push",
5568
5575
  tool: "workflow_files_patch",
5569
5576
  title: "Write workflow files",
5570
- description: "Write and delete files on the workflow's editable head in one patch. Structural files re-derive the graph; the workflow's own files go to its file store, you just write paths. Pass the rev from `workflow_files_list` as baseRev; a stale value is rejected with 409, so re-read and retry. Editing a published or already-executed version forks a new one instead of rewriting it. Each write carries `contentBase64`: base64-encode the file content, plain text is rejected with 400.",
5577
+ description: "Write and delete files on the workflow's editable head in one patch. Structural files re-derive the graph; the workflow's own files go to its file store, you just write paths. Pass the rev from `workflow_files_list` as baseRev; a stale value is rejected with 409, so re-read and retry. Editing a published or already-executed version forks a new one instead of rewriting it. Each write carries the file as `content` (UTF-8 text) or `contentBase64` (base64 bytes, for binary files), exactly one.",
5571
5578
  method: "PATCH",
5572
5579
  path: "/agents/v2/workflows/{workflowId}/head/files",
5573
5580
  args: [
@@ -7729,7 +7736,7 @@ var ApiError = class extends Error {
7729
7736
  status;
7730
7737
  body;
7731
7738
  };
7732
- var VERSION = "1.9.182";
7739
+ var VERSION = "1.9.189";
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",
@@ -5588,7 +5595,7 @@ var COMMANDS = [
5588
5595
  command: "workflow push",
5589
5596
  tool: "workflow_files_patch",
5590
5597
  title: "Write workflow files",
5591
- description: "Write and delete files on the workflow's editable head in one patch. Structural files re-derive the graph; the workflow's own files go to its file store, you just write paths. Pass the rev from `workflow_files_list` as baseRev; a stale value is rejected with 409, so re-read and retry. Editing a published or already-executed version forks a new one instead of rewriting it. Each write carries `contentBase64`: base64-encode the file content, plain text is rejected with 400.",
5598
+ description: "Write and delete files on the workflow's editable head in one patch. Structural files re-derive the graph; the workflow's own files go to its file store, you just write paths. Pass the rev from `workflow_files_list` as baseRev; a stale value is rejected with 409, so re-read and retry. Editing a published or already-executed version forks a new one instead of rewriting it. Each write carries the file as `content` (UTF-8 text) or `contentBase64` (base64 bytes, for binary files), exactly one.",
5592
5599
  method: "PATCH",
5593
5600
  path: "/agents/v2/workflows/{workflowId}/head/files",
5594
5601
  args: [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asteroidai/cli",
3
- "version": "1.9.182",
3
+ "version": "1.9.189",
4
4
  "description": "The asteroid command-line interface for the Asteroid platform.",
5
5
  "type": "module",
6
6
  "license": "MIT",