@asteroidai/cli 1.9.547 → 1.9.548
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 -3
- package/dist/core.js +3 -2
- package/package.json +3 -3
package/dist/asteroid.js
CHANGED
|
@@ -923,7 +923,7 @@ var COMMANDS = [
|
|
|
923
923
|
command: "custom-environment delete",
|
|
924
924
|
tool: "custom_environment_delete",
|
|
925
925
|
title: "Delete custom environment",
|
|
926
|
-
description: "Delete a custom environment. Refused while a workflow's published or head version selects it through `settings.default_environment_id
|
|
926
|
+
description: "Delete a custom environment. Refused while a workflow's published or head version selects it through `settings.default_environment_id` (the environment's `usedBy`), while a schedule names it in `customEnvironmentId`, enabled or not (`usedBySchedules`), or while a scheduled execution or batch item that names it can still start: pending, awaiting capacity, or in a paused batch (`usedByScheduledExecutions`). The error names up to five of each kind and counts the rest. Point them at another environment, or cancel the scheduled executions, first. Also refused while warm members exist: set `warmPool.targetSize` to 0 first and wait for them to retire.",
|
|
927
927
|
method: "DELETE",
|
|
928
928
|
path: "/agents/v2/custom-environments/{customEnvironmentId}",
|
|
929
929
|
args: [
|
|
@@ -5262,7 +5262,8 @@ Omitting customEnvironmentId on its own means "leave unchanged".`
|
|
|
5262
5262
|
name: "name",
|
|
5263
5263
|
flag: "name",
|
|
5264
5264
|
type: "string",
|
|
5265
|
-
required: true
|
|
5265
|
+
required: true,
|
|
5266
|
+
description: "A skill name: kebab-case, lowercase letters, digits and hyphens, starting with a letter or digit, at most 64 characters."
|
|
5266
5267
|
}
|
|
5267
5268
|
],
|
|
5268
5269
|
query: [
|
|
@@ -8832,7 +8833,7 @@ var ApiError = class extends Error {
|
|
|
8832
8833
|
status;
|
|
8833
8834
|
body;
|
|
8834
8835
|
};
|
|
8835
|
-
var VERSION = "1.9.
|
|
8836
|
+
var VERSION = "1.9.548";
|
|
8836
8837
|
function problem(status, body, fallback) {
|
|
8837
8838
|
if (body && typeof body === "object") {
|
|
8838
8839
|
const record2 = body;
|
package/dist/core.js
CHANGED
|
@@ -944,7 +944,7 @@ var COMMANDS = [
|
|
|
944
944
|
command: "custom-environment delete",
|
|
945
945
|
tool: "custom_environment_delete",
|
|
946
946
|
title: "Delete custom environment",
|
|
947
|
-
description: "Delete a custom environment. Refused while a workflow's published or head version selects it through `settings.default_environment_id
|
|
947
|
+
description: "Delete a custom environment. Refused while a workflow's published or head version selects it through `settings.default_environment_id` (the environment's `usedBy`), while a schedule names it in `customEnvironmentId`, enabled or not (`usedBySchedules`), or while a scheduled execution or batch item that names it can still start: pending, awaiting capacity, or in a paused batch (`usedByScheduledExecutions`). The error names up to five of each kind and counts the rest. Point them at another environment, or cancel the scheduled executions, first. Also refused while warm members exist: set `warmPool.targetSize` to 0 first and wait for them to retire.",
|
|
948
948
|
method: "DELETE",
|
|
949
949
|
path: "/agents/v2/custom-environments/{customEnvironmentId}",
|
|
950
950
|
args: [
|
|
@@ -5283,7 +5283,8 @@ Omitting customEnvironmentId on its own means "leave unchanged".`
|
|
|
5283
5283
|
name: "name",
|
|
5284
5284
|
flag: "name",
|
|
5285
5285
|
type: "string",
|
|
5286
|
-
required: true
|
|
5286
|
+
required: true,
|
|
5287
|
+
description: "A skill name: kebab-case, lowercase letters, digits and hyphens, starting with a letter or digit, at most 64 characters."
|
|
5287
5288
|
}
|
|
5288
5289
|
],
|
|
5289
5290
|
query: [
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@asteroidai/cli",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.548",
|
|
4
4
|
"description": "The asteroid command-line interface for the Asteroid platform.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"tsx": "^4.23.12",
|
|
36
36
|
"typescript": "5.9.3",
|
|
37
37
|
"vitest": "^4.1.11",
|
|
38
|
-
"@
|
|
39
|
-
"@
|
|
38
|
+
"@asteroid/workflow-files": "0.1.0",
|
|
39
|
+
"@workspace/typescript-config": "0.0.0"
|
|
40
40
|
},
|
|
41
41
|
"scripts": {
|
|
42
42
|
"generate": "tsx scripts/generate.ts && pnpm exec oxfmt src/generated/commands.ts",
|