@runtypelabs/cli 2.35.4 → 2.35.5
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/CHANGELOG.md +12 -0
- package/README.md +0 -3
- package/dist/index.js +3 -12
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @runtypelabs/cli
|
|
2
2
|
|
|
3
|
+
## 2.35.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 3285445: Remove the retired slow-mode execution throttle. Nothing produced `inSlowMode: true` since execution counts became uncapped, so the 10s delay branches, the `slow_mode_hourly` block type, the `X-Slow-Mode-*` headers, the `UsageTrackerDO.checkBuildTierExecution` / `resetSlowModeState` RPCs and their `hourly_rate_counts` table, and the `inSlowMode` field on 429 responses are gone. `/v1/usage-limits` keeps emitting `inSlowMode: false` as a deprecated constant because pinned Python/Ruby SDK models require the property. The plan-upgrade counter reset survives as `resetExecutionCountersForPlanChange` (daily + monthly). The Analytics Engine `doubles[3]` slot stays at 0 so historical column positions are unchanged.
|
|
8
|
+
- 0584e9a: Remove the development/production distinction on product surfaces (ADR 0023). Every surface accepts both test and live credentials and there is no promotion step; the `SURFACE_TYPE_PRERELEASE`, `SURFACE_HAS_LIVE_KEYS`, `SURFACE_ENVIRONMENT_MISMATCH` and `ENVIRONMENT_MISMATCH` errors are gone, OAuth-minted MCP surface keys are live keys, and a surface's integration tools resolve the organization-connection environment of the deployment they run in. For one release the wire keeps a compatibility shape: surface reads return `environment: 'production'` as a deprecated constant; create, update, ensure, FPO import, the MCP `create_surface` / `list_surfaces` inputs and the SDK `defineSurface` accept an `environment` key and ignore it; the `?environment=` list filter answers `400 SURFACE_ENVIRONMENT_RETIRED`. The `product_surfaces.environment` column is backfilled to `'production'`, never read, and dropped in a follow-up.
|
|
9
|
+
- Updated dependencies [31e02de]
|
|
10
|
+
- Updated dependencies [b08a7a2]
|
|
11
|
+
- Updated dependencies [3285445]
|
|
12
|
+
- Updated dependencies [0584e9a]
|
|
13
|
+
- @runtypelabs/sdk@9.4.0
|
|
14
|
+
|
|
3
15
|
## 2.35.4
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/README.md
CHANGED
|
@@ -998,9 +998,6 @@ pnpm test:watch
|
|
|
998
998
|
```bash
|
|
999
999
|
# Simulate enterprise (unlimited)
|
|
1000
1000
|
export RUNTYPE_DEV_PLAN_OVERRIDE='{"scenarioId":"unlimited","plan":"enterprise","overrides":{}}'
|
|
1001
|
-
|
|
1002
|
-
# Simulate slow mode
|
|
1003
|
-
export RUNTYPE_DEV_PLAN_OVERRIDE='{"scenarioId":"slow","plan":"trial","overrides":{"inSlowMode":true,"hourlyUsed":9,"hourlyLimit":10,"hourlyResetSeconds":600}}'
|
|
1004
1001
|
```
|
|
1005
1002
|
|
|
1006
1003
|
## License
|
package/dist/index.js
CHANGED
|
@@ -33748,6 +33748,7 @@ var surfaceSchema = external_exports.object({
|
|
|
33748
33748
|
routes: external_exports.array(routeSchema).min(1, "Surface must have at least one route"),
|
|
33749
33749
|
status: external_exports.enum(["draft", "active", "paused"]).optional(),
|
|
33750
33750
|
environment: external_exports.enum(["production", "development"]).optional()
|
|
33751
|
+
// deprecated: ignored
|
|
33751
33752
|
});
|
|
33752
33753
|
var recordSchema = external_exports.object({
|
|
33753
33754
|
id: external_exports.string().min(1),
|
|
@@ -41944,15 +41945,14 @@ import React10 from "react";
|
|
|
41944
41945
|
import { render as render10 } from "ink";
|
|
41945
41946
|
import { useState as useState11, useEffect as useEffect12 } from "react";
|
|
41946
41947
|
var surfacesCommand = new Command11("surfaces").description("View product surfaces");
|
|
41947
|
-
surfacesCommand.command("list").description("List surfaces across your products").option("--json", "Output as JSON").option("--limit <n>", "Maximum number of surfaces to return").option("--cursor <cursor>", "Pagination cursor for the next page").option("--type <type>", "Filter by surface type").option("--status <status>", "Filter by surface status").option("--
|
|
41948
|
+
surfacesCommand.command("list").description("List surfaces across your products").option("--json", "Output as JSON").option("--limit <n>", "Maximum number of surfaces to return").option("--cursor <cursor>", "Pagination cursor for the next page").option("--type <type>", "Filter by surface type").option("--status <status>", "Filter by surface status").option("--tty", "Force TTY mode").option("--no-tty", "Force non-TTY mode").action(
|
|
41948
41949
|
async (options) => {
|
|
41949
41950
|
const apiKey = await ensureAuth();
|
|
41950
41951
|
if (!apiKey) return;
|
|
41951
41952
|
const client = createCliClient(apiKey);
|
|
41952
41953
|
const query = buildListParams(options, {
|
|
41953
41954
|
type: options.type,
|
|
41954
|
-
status: options.status
|
|
41955
|
-
environment: options.environment
|
|
41955
|
+
status: options.status
|
|
41956
41956
|
});
|
|
41957
41957
|
if (!isTTY(options) || options.json) {
|
|
41958
41958
|
try {
|
|
@@ -41973,9 +41973,6 @@ surfacesCommand.command("list").description("List surfaces across your products"
|
|
|
41973
41973
|
if (surface.status) {
|
|
41974
41974
|
console.log(` Status: ${surface.status}`);
|
|
41975
41975
|
}
|
|
41976
|
-
if (surface.environment) {
|
|
41977
|
-
console.log(` Environment: ${surface.environment}`);
|
|
41978
|
-
}
|
|
41979
41976
|
if (surface.updatedAt) {
|
|
41980
41977
|
console.log(` Updated: ${surface.updatedAt}`);
|
|
41981
41978
|
}
|
|
@@ -42022,7 +42019,6 @@ surfacesCommand.command("list").description("List surfaces across your products"
|
|
|
42022
42019
|
{ label: "Type", value: surface.type, color: "gray" },
|
|
42023
42020
|
{ label: "Product", value: surface.productId, color: "gray" },
|
|
42024
42021
|
{ label: "Status", value: surface.status, color: "gray" },
|
|
42025
|
-
{ label: "Environment", value: surface.environment, color: "gray" },
|
|
42026
42022
|
{ label: "Updated", value: surface.updatedAt }
|
|
42027
42023
|
]
|
|
42028
42024
|
});
|
|
@@ -42052,7 +42048,6 @@ surfacesCommand.command("get <id>").description("Get surface details including i
|
|
|
42052
42048
|
{ label: "Type", value: data.type },
|
|
42053
42049
|
{ label: "Product", value: data.productId },
|
|
42054
42050
|
{ label: "Status", value: data.status },
|
|
42055
|
-
{ label: "Environment", value: data.environment },
|
|
42056
42051
|
{ label: "Created", value: data.createdAt },
|
|
42057
42052
|
{ label: "Updated", value: data.updatedAt }
|
|
42058
42053
|
]);
|
|
@@ -42111,7 +42106,6 @@ Keys (${keys.length}):`));
|
|
|
42111
42106
|
{ label: "Type", value: data.type, color: "gray" },
|
|
42112
42107
|
{ label: "Product", value: data.productId, color: "gray" },
|
|
42113
42108
|
{ label: "Status", value: data.status, color: "gray" },
|
|
42114
|
-
{ label: "Environment", value: data.environment, color: "gray" },
|
|
42115
42109
|
{ label: "Created", value: data.createdAt },
|
|
42116
42110
|
{ label: "Updated", value: data.updatedAt },
|
|
42117
42111
|
{ label: `Items (${items.length})`, value: itemSummary },
|
|
@@ -49477,13 +49471,11 @@ var OverviewTranscriptPane = memo6(function OverviewTranscriptPane2({
|
|
|
49477
49471
|
|
|
49478
49472
|
// src/ink/marathon/upgrade-modal-utils.ts
|
|
49479
49473
|
var UPGRADE_LIMIT_TYPES = /* @__PURE__ */ new Set([
|
|
49480
|
-
"slow_mode_hourly",
|
|
49481
49474
|
"daily_limit",
|
|
49482
49475
|
"monthly_limit",
|
|
49483
49476
|
"spend_limit"
|
|
49484
49477
|
]);
|
|
49485
49478
|
var UPGRADE_CODES = /* @__PURE__ */ new Set([
|
|
49486
|
-
"SLOW_MODE_HOURLY_LIMIT_EXCEEDED",
|
|
49487
49479
|
"DAILY_EXECUTION_LIMIT_EXCEEDED",
|
|
49488
49480
|
"MONTHLY_EXECUTION_LIMIT_EXCEEDED",
|
|
49489
49481
|
"SPEND_LIMIT_EXCEEDED"
|
|
@@ -60033,7 +60025,6 @@ async function runPersonaInit(options) {
|
|
|
60033
60025
|
name: "Local Persona Playground",
|
|
60034
60026
|
type: "chat",
|
|
60035
60027
|
status: "active",
|
|
60036
|
-
environment: "development",
|
|
60037
60028
|
behavior: {
|
|
60038
60029
|
type: "chat",
|
|
60039
60030
|
welcomeMessage: "Try asking me to inspect or update this local page. I can use WebMCP tools registered by the HTML file.",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@runtypelabs/cli",
|
|
3
|
-
"version": "2.35.
|
|
3
|
+
"version": "2.35.5",
|
|
4
4
|
"description": "Command-line interface for Runtype AI platform",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"@modelcontextprotocol/client": "2.0.0",
|
|
12
12
|
"@modelcontextprotocol/core": "2.0.0",
|
|
13
13
|
"@runtypelabs/ink-components": "0.3.7",
|
|
14
|
-
"@runtypelabs/sdk": "9.
|
|
14
|
+
"@runtypelabs/sdk": "9.4.0",
|
|
15
15
|
"@runtypelabs/terminal-animations": "0.2.4",
|
|
16
16
|
"add-mcp": "2.0.0",
|
|
17
17
|
"chalk": "^5.3.0",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@modelcontextprotocol/server": "2.0.0",
|
|
35
35
|
"@runtypelabs/persona": "4.17.1",
|
|
36
|
-
"@runtypelabs/shared": "3.
|
|
36
|
+
"@runtypelabs/shared": "3.37.0",
|
|
37
37
|
"@types/express": "^5.0.6",
|
|
38
38
|
"@types/micromatch": "^4.0.9",
|
|
39
39
|
"@types/node": "^25.3.3",
|