@runtypelabs/cli 2.59.6 → 2.59.7
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/README.md
CHANGED
|
@@ -1083,8 +1083,9 @@ Pass `--timeout <ms>` to use a different positive millisecond deadline.
|
|
|
1083
1083
|
|
|
1084
1084
|
### `runtype simulations`
|
|
1085
1085
|
|
|
1086
|
-
Push a sandbox candidate (an agent run as real code in a Runtype sandbox). Simulations
|
|
1087
|
-
|
|
1086
|
+
Push a sandbox candidate (an agent run as real code in a Runtype sandbox). Simulations is not
|
|
1087
|
+
available on every account; when it is not enabled for yours, these commands fail with
|
|
1088
|
+
`SIMULATIONS_DISABLED`.
|
|
1088
1089
|
|
|
1089
1090
|
| Command | Description |
|
|
1090
1091
|
| ------------------------------------------------------- | ----------------------------------------------------------------- |
|
|
@@ -3538,6 +3538,7 @@ async function digestCandidateArchive(file, options = {}) {
|
|
|
3538
3538
|
bytes
|
|
3539
3539
|
};
|
|
3540
3540
|
}
|
|
3541
|
+
const SIMULATIONS_DISABLED_MESSAGE = "Simulations is not enabled for this account.";
|
|
3541
3542
|
var ExchangesFileError = class extends Error {
|
|
3542
3543
|
code = "INVALID_INPUT";
|
|
3543
3544
|
constructor(message) {
|
|
@@ -3621,7 +3622,7 @@ function describeSimulationApiError(error) {
|
|
|
3621
3622
|
};
|
|
3622
3623
|
if (code === "SIMULATIONS_DISABLED") return {
|
|
3623
3624
|
code,
|
|
3624
|
-
message:
|
|
3625
|
+
message: SIMULATIONS_DISABLED_MESSAGE
|
|
3625
3626
|
};
|
|
3626
3627
|
return {
|
|
3627
3628
|
code: code ?? "EXECUTION_FAILED",
|
|
@@ -3721,7 +3722,7 @@ function describeCandidateApiError(error, action) {
|
|
|
3721
3722
|
case 401: return new CandidatePushError("AUTH_REQUIRED", "Not authenticated: run `runtype login` or set RUNTYPE_API_KEY.");
|
|
3722
3723
|
case 403: return new CandidatePushError("FORBIDDEN", `${error.message} This step needs an API key with ${ACTION_SCOPE[action]}.`);
|
|
3723
3724
|
case 404:
|
|
3724
|
-
if (code === "SIMULATIONS_DISABLED") return new CandidatePushError("SIMULATIONS_DISABLED",
|
|
3725
|
+
if (code === "SIMULATIONS_DISABLED") return new CandidatePushError("SIMULATIONS_DISABLED", SIMULATIONS_DISABLED_MESSAGE);
|
|
3725
3726
|
return new CandidatePushError("NOT_FOUND", `Not found: ${error.message}`);
|
|
3726
3727
|
case 411: return new CandidatePushError("LENGTH_REQUIRED", "The API refused the upload because it carried no Content-Length.");
|
|
3727
3728
|
case 413: return new CandidatePushError("TOO_LARGE", "The API refused the bundle: it is over the 250 MB compressed limit.");
|
package/dist/index.js
CHANGED
|
@@ -358,7 +358,7 @@ const COMMAND_REGISTRY = [
|
|
|
358
358
|
name: "simulations",
|
|
359
359
|
term: "simulations",
|
|
360
360
|
description: "Simulations: sandbox candidates, recorded tool exchanges and reports",
|
|
361
|
-
load: async () => (await import("./chunk-
|
|
361
|
+
load: async () => (await import("./chunk-A9sGZdg3.js")).simulationsCommand
|
|
362
362
|
},
|
|
363
363
|
{
|
|
364
364
|
name: "apps",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@runtypelabs/cli",
|
|
3
|
-
"version": "2.59.
|
|
3
|
+
"version": "2.59.7",
|
|
4
4
|
"description": "Command-line interface for Runtype AI platform",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"@modelcontextprotocol/core": "2.3.1",
|
|
14
14
|
"@napi-rs/keyring": "2.1.0",
|
|
15
15
|
"@runtypelabs/ink-components": "0.3.15",
|
|
16
|
-
"@runtypelabs/sdk": "11.22.
|
|
16
|
+
"@runtypelabs/sdk": "11.22.2",
|
|
17
17
|
"@runtypelabs/terminal-animations": "0.2.4",
|
|
18
18
|
"add-mcp": "2.6.0",
|
|
19
19
|
"chalk": "^5.3.0",
|