@asteroidai/cli 1.9.111 → 1.9.115

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
@@ -2206,7 +2206,7 @@ var COMMANDS = [
2206
2206
  command: "portal-skills add",
2207
2207
  tool: "portal_skills_add",
2208
2208
  title: "Add portal skills",
2209
- description: "Add a portal's skills to an organization, by a `portalId` from `portal_skills_list`. Needs a Startup plan or above. Astro loads the portal's skills once it is added. Adding one the organization already has is a no-op.",
2209
+ description: "Add a portal's skills to an organization, by the `portalId` of a portal skill from `skills_list`. Needs a Startup plan or above. Astro loads the portal's skills once it is added, and `skill_get` serves them. Adding one the organization already has is a no-op.",
2210
2210
  method: "POST",
2211
2211
  path: "/agents/v2/portal-skills/{portalId}",
2212
2212
  args: [
@@ -2222,27 +2222,6 @@ var COMMANDS = [
2222
2222
  readOnly: false,
2223
2223
  destructive: false
2224
2224
  },
2225
- {
2226
- command: "portal-skills list",
2227
- tool: "portal_skills_list",
2228
- title: "List portal skills",
2229
- description: "List the skills for third-party portals, or only for the portals matching a portal name or task, such as `caloptima eligibility`. A portal skill is general knowledge about how a portal works: sign-in, page quirks, field mappings. Each portal comes with its skill names, and whether the organization has added it. Add one with `portal_skills_add`.",
2230
- method: "GET",
2231
- path: "/astro/v2/portal-skills",
2232
- args: [],
2233
- query: [
2234
- {
2235
- name: "query",
2236
- flag: "query",
2237
- type: "string",
2238
- required: false,
2239
- description: "A portal name or task, at least three characters. Omit to list every portal with skills."
2240
- }
2241
- ],
2242
- binary: false,
2243
- readOnly: true,
2244
- destructive: false
2245
- },
2246
2225
  {
2247
2226
  command: "profile clear-cache",
2248
2227
  tool: "profile_clear_browser_cache",
@@ -4018,6 +3997,80 @@ var COMMANDS = [
4018
3997
  credentialOrganization: false
4019
3998
  }
4020
3999
  },
4000
+ {
4001
+ command: "skill get",
4002
+ tool: "skill_get",
4003
+ title: "Get skill",
4004
+ 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.",
4005
+ method: "GET",
4006
+ path: "/astro/v2/skills/{name}",
4007
+ args: [
4008
+ {
4009
+ name: "name",
4010
+ flag: "name",
4011
+ type: "string",
4012
+ required: true
4013
+ }
4014
+ ],
4015
+ query: [
4016
+ {
4017
+ name: "kind",
4018
+ flag: "kind",
4019
+ type: "string",
4020
+ required: false,
4021
+ description: "Only a skill of this kind.",
4022
+ enum: ["public", "portal", "organization"]
4023
+ },
4024
+ {
4025
+ name: "surface",
4026
+ flag: "surface",
4027
+ type: "string",
4028
+ required: false,
4029
+ description: "The surface the skill is rendered for. Defaults to `cli`.",
4030
+ enum: ["cli", "mcp"]
4031
+ }
4032
+ ],
4033
+ binary: false,
4034
+ readOnly: true,
4035
+ destructive: false
4036
+ },
4037
+ {
4038
+ command: "skill list",
4039
+ tool: "skills_list",
4040
+ title: "List skills",
4041
+ description: "List the skills an organization can load, by kind then name: Asteroid's `public` skills, the `portal` skills (general knowledge of a third-party portal: sign-in, page quirks, field mappings) with whether the organization has added the portal, and the `organization`'s own. Filter with `kind`, or rank by a `query` such as `caloptima eligibility`. Each skill comes with its file paths and digests; `skill_get` returns the content. Add a portal with `portal_skills_add`.",
4042
+ method: "GET",
4043
+ path: "/astro/v2/skills",
4044
+ args: [],
4045
+ query: [
4046
+ {
4047
+ name: "kind",
4048
+ flag: "kind",
4049
+ type: "string",
4050
+ required: false,
4051
+ description: "Only skills of this kind.",
4052
+ enum: ["public", "portal", "organization"]
4053
+ },
4054
+ {
4055
+ name: "query",
4056
+ flag: "query",
4057
+ type: "string",
4058
+ required: false,
4059
+ description: "A skill name, portal name or task, at least three characters. Best matches first."
4060
+ },
4061
+ {
4062
+ name: "surface",
4063
+ flag: "surface",
4064
+ type: "string",
4065
+ required: false,
4066
+ description: "The surface the skills are rendered for. Defaults to `cli`.",
4067
+ enum: ["cli", "mcp"]
4068
+ }
4069
+ ],
4070
+ binary: false,
4071
+ readOnly: true,
4072
+ destructive: false
4073
+ },
4021
4074
  {
4022
4075
  command: "tag create",
4023
4076
  tool: "workflow_tags_create",
@@ -7205,7 +7258,7 @@ var ApiError = class extends Error {
7205
7258
  status;
7206
7259
  body;
7207
7260
  };
7208
- var VERSION = "1.9.111";
7261
+ var VERSION = "1.9.115";
7209
7262
  function problem(status, body, fallback) {
7210
7263
  if (body && typeof body === "object") {
7211
7264
  const record2 = body;
package/dist/core.js CHANGED
@@ -2227,7 +2227,7 @@ var COMMANDS = [
2227
2227
  command: "portal-skills add",
2228
2228
  tool: "portal_skills_add",
2229
2229
  title: "Add portal skills",
2230
- description: "Add a portal's skills to an organization, by a `portalId` from `portal_skills_list`. Needs a Startup plan or above. Astro loads the portal's skills once it is added. Adding one the organization already has is a no-op.",
2230
+ description: "Add a portal's skills to an organization, by the `portalId` of a portal skill from `skills_list`. Needs a Startup plan or above. Astro loads the portal's skills once it is added, and `skill_get` serves them. Adding one the organization already has is a no-op.",
2231
2231
  method: "POST",
2232
2232
  path: "/agents/v2/portal-skills/{portalId}",
2233
2233
  args: [
@@ -2243,27 +2243,6 @@ var COMMANDS = [
2243
2243
  readOnly: false,
2244
2244
  destructive: false
2245
2245
  },
2246
- {
2247
- command: "portal-skills list",
2248
- tool: "portal_skills_list",
2249
- title: "List portal skills",
2250
- description: "List the skills for third-party portals, or only for the portals matching a portal name or task, such as `caloptima eligibility`. A portal skill is general knowledge about how a portal works: sign-in, page quirks, field mappings. Each portal comes with its skill names, and whether the organization has added it. Add one with `portal_skills_add`.",
2251
- method: "GET",
2252
- path: "/astro/v2/portal-skills",
2253
- args: [],
2254
- query: [
2255
- {
2256
- name: "query",
2257
- flag: "query",
2258
- type: "string",
2259
- required: false,
2260
- description: "A portal name or task, at least three characters. Omit to list every portal with skills."
2261
- }
2262
- ],
2263
- binary: false,
2264
- readOnly: true,
2265
- destructive: false
2266
- },
2267
2246
  {
2268
2247
  command: "profile clear-cache",
2269
2248
  tool: "profile_clear_browser_cache",
@@ -4039,6 +4018,80 @@ var COMMANDS = [
4039
4018
  credentialOrganization: false
4040
4019
  }
4041
4020
  },
4021
+ {
4022
+ command: "skill get",
4023
+ tool: "skill_get",
4024
+ title: "Get skill",
4025
+ 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.",
4026
+ method: "GET",
4027
+ path: "/astro/v2/skills/{name}",
4028
+ args: [
4029
+ {
4030
+ name: "name",
4031
+ flag: "name",
4032
+ type: "string",
4033
+ required: true
4034
+ }
4035
+ ],
4036
+ query: [
4037
+ {
4038
+ name: "kind",
4039
+ flag: "kind",
4040
+ type: "string",
4041
+ required: false,
4042
+ description: "Only a skill of this kind.",
4043
+ enum: ["public", "portal", "organization"]
4044
+ },
4045
+ {
4046
+ name: "surface",
4047
+ flag: "surface",
4048
+ type: "string",
4049
+ required: false,
4050
+ description: "The surface the skill is rendered for. Defaults to `cli`.",
4051
+ enum: ["cli", "mcp"]
4052
+ }
4053
+ ],
4054
+ binary: false,
4055
+ readOnly: true,
4056
+ destructive: false
4057
+ },
4058
+ {
4059
+ command: "skill list",
4060
+ tool: "skills_list",
4061
+ title: "List skills",
4062
+ description: "List the skills an organization can load, by kind then name: Asteroid's `public` skills, the `portal` skills (general knowledge of a third-party portal: sign-in, page quirks, field mappings) with whether the organization has added the portal, and the `organization`'s own. Filter with `kind`, or rank by a `query` such as `caloptima eligibility`. Each skill comes with its file paths and digests; `skill_get` returns the content. Add a portal with `portal_skills_add`.",
4063
+ method: "GET",
4064
+ path: "/astro/v2/skills",
4065
+ args: [],
4066
+ query: [
4067
+ {
4068
+ name: "kind",
4069
+ flag: "kind",
4070
+ type: "string",
4071
+ required: false,
4072
+ description: "Only skills of this kind.",
4073
+ enum: ["public", "portal", "organization"]
4074
+ },
4075
+ {
4076
+ name: "query",
4077
+ flag: "query",
4078
+ type: "string",
4079
+ required: false,
4080
+ description: "A skill name, portal name or task, at least three characters. Best matches first."
4081
+ },
4082
+ {
4083
+ name: "surface",
4084
+ flag: "surface",
4085
+ type: "string",
4086
+ required: false,
4087
+ description: "The surface the skills are rendered for. Defaults to `cli`.",
4088
+ enum: ["cli", "mcp"]
4089
+ }
4090
+ ],
4091
+ binary: false,
4092
+ readOnly: true,
4093
+ destructive: false
4094
+ },
4042
4095
  {
4043
4096
  command: "tag create",
4044
4097
  tool: "workflow_tags_create",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@asteroidai/cli",
3
- "version": "1.9.111",
3
+ "version": "1.9.115",
4
4
  "description": "The asteroid command-line interface for the Asteroid platform.",
5
5
  "type": "module",
6
6
  "license": "MIT",