@asteroidai/cli 1.9.191 → 1.9.193
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 +4 -4
- package/dist/core.js +3 -3
- package/package.json +1 -1
package/dist/asteroid.js
CHANGED
|
@@ -374,7 +374,7 @@ var COMMANDS = [
|
|
|
374
374
|
command: "catalog get",
|
|
375
375
|
tool: "catalog_get",
|
|
376
376
|
title: "Get catalog",
|
|
377
|
-
description: "The organization's agent catalog: categories, portals and
|
|
377
|
+
description: "The organization's agent catalog: categories, portals and every live template. `accessLevel` is `granted` (can instantiate a `runnable` template) or `viewable` (locked). A template the organization has not added is `viewable`; `catalog_template_add` grants it. `organizationId` defaults to the caller's one organization. Template definitions are omitted; read one with `catalog_template_get`.",
|
|
378
378
|
method: "GET",
|
|
379
379
|
path: "/agents/v2/catalog",
|
|
380
380
|
args: [],
|
|
@@ -387,7 +387,7 @@ var COMMANDS = [
|
|
|
387
387
|
command: "catalog template add",
|
|
388
388
|
tool: "catalog_template_add",
|
|
389
389
|
title: "Add catalog template",
|
|
390
|
-
description: "Add a catalog template to an organization at `accessLevel` `granted`, so `catalog_template_instantiate` can clone it. Also adds the skills of the template's portal. Needs a Startup plan or above. Adding one the organization already has is a no-op. `organizationId` defaults to the caller's one organization.",
|
|
390
|
+
description: "Add a catalog template to an organization at `accessLevel` `granted`, so `catalog_template_instantiate` can clone it. Also adds the skills of the template's portal. A template that is not `runnable` (see `catalog_template_get`) returns 400 and uses no grant. Needs a Startup plan or above. Adding one the organization already has is a no-op. `organizationId` defaults to the caller's one organization.",
|
|
391
391
|
method: "POST",
|
|
392
392
|
path: "/agents/v2/catalog/templates/{templateId}/add",
|
|
393
393
|
args: [
|
|
@@ -407,7 +407,7 @@ var COMMANDS = [
|
|
|
407
407
|
command: "catalog template get",
|
|
408
408
|
tool: "catalog_template_get",
|
|
409
409
|
title: "Get catalog template",
|
|
410
|
-
description: "One catalog template, with `runnable`, its `inputs`, the portal's credential fields and the organization's `accessLevel`. Set `includeWorkflowDefinition` to also get the template's rules, nodes and transitions as a read-only reference when building or editing a workflow; on an organization-scoped read it needs `accessLevel` `granted`. To get an editable copy, use `catalog_template_instantiate`. `organizationId` defaults to the caller's one organization.",
|
|
410
|
+
description: "One live catalog template, with `runnable`, its `inputs`, the portal's credential fields and the organization's `accessLevel`. A template the organization has not added is `viewable`. Set `includeWorkflowDefinition` to also get the template's rules, nodes and transitions as a read-only reference when building or editing a workflow; on an organization-scoped read it needs `accessLevel` `granted`. To get an editable copy, use `catalog_template_instantiate`. `organizationId` defaults to the caller's one organization.",
|
|
411
411
|
method: "GET",
|
|
412
412
|
path: "/agents/v2/catalog/templates/{templateId}",
|
|
413
413
|
args: [
|
|
@@ -7756,7 +7756,7 @@ var ApiError = class extends Error {
|
|
|
7756
7756
|
status;
|
|
7757
7757
|
body;
|
|
7758
7758
|
};
|
|
7759
|
-
var VERSION = "1.9.
|
|
7759
|
+
var VERSION = "1.9.193";
|
|
7760
7760
|
function problem(status, body, fallback) {
|
|
7761
7761
|
if (body && typeof body === "object") {
|
|
7762
7762
|
const record2 = body;
|
package/dist/core.js
CHANGED
|
@@ -395,7 +395,7 @@ var COMMANDS = [
|
|
|
395
395
|
command: "catalog get",
|
|
396
396
|
tool: "catalog_get",
|
|
397
397
|
title: "Get catalog",
|
|
398
|
-
description: "The organization's agent catalog: categories, portals and
|
|
398
|
+
description: "The organization's agent catalog: categories, portals and every live template. `accessLevel` is `granted` (can instantiate a `runnable` template) or `viewable` (locked). A template the organization has not added is `viewable`; `catalog_template_add` grants it. `organizationId` defaults to the caller's one organization. Template definitions are omitted; read one with `catalog_template_get`.",
|
|
399
399
|
method: "GET",
|
|
400
400
|
path: "/agents/v2/catalog",
|
|
401
401
|
args: [],
|
|
@@ -408,7 +408,7 @@ var COMMANDS = [
|
|
|
408
408
|
command: "catalog template add",
|
|
409
409
|
tool: "catalog_template_add",
|
|
410
410
|
title: "Add catalog template",
|
|
411
|
-
description: "Add a catalog template to an organization at `accessLevel` `granted`, so `catalog_template_instantiate` can clone it. Also adds the skills of the template's portal. Needs a Startup plan or above. Adding one the organization already has is a no-op. `organizationId` defaults to the caller's one organization.",
|
|
411
|
+
description: "Add a catalog template to an organization at `accessLevel` `granted`, so `catalog_template_instantiate` can clone it. Also adds the skills of the template's portal. A template that is not `runnable` (see `catalog_template_get`) returns 400 and uses no grant. Needs a Startup plan or above. Adding one the organization already has is a no-op. `organizationId` defaults to the caller's one organization.",
|
|
412
412
|
method: "POST",
|
|
413
413
|
path: "/agents/v2/catalog/templates/{templateId}/add",
|
|
414
414
|
args: [
|
|
@@ -428,7 +428,7 @@ var COMMANDS = [
|
|
|
428
428
|
command: "catalog template get",
|
|
429
429
|
tool: "catalog_template_get",
|
|
430
430
|
title: "Get catalog template",
|
|
431
|
-
description: "One catalog template, with `runnable`, its `inputs`, the portal's credential fields and the organization's `accessLevel`. Set `includeWorkflowDefinition` to also get the template's rules, nodes and transitions as a read-only reference when building or editing a workflow; on an organization-scoped read it needs `accessLevel` `granted`. To get an editable copy, use `catalog_template_instantiate`. `organizationId` defaults to the caller's one organization.",
|
|
431
|
+
description: "One live catalog template, with `runnable`, its `inputs`, the portal's credential fields and the organization's `accessLevel`. A template the organization has not added is `viewable`. Set `includeWorkflowDefinition` to also get the template's rules, nodes and transitions as a read-only reference when building or editing a workflow; on an organization-scoped read it needs `accessLevel` `granted`. To get an editable copy, use `catalog_template_instantiate`. `organizationId` defaults to the caller's one organization.",
|
|
432
432
|
method: "GET",
|
|
433
433
|
path: "/agents/v2/catalog/templates/{templateId}",
|
|
434
434
|
args: [
|