@runtypelabs/cli 2.35.4 → 2.35.6
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 +0 -3
- package/dist/index.js +8 -17
- package/package.json +3 -3
- package/CHANGELOG.md +0 -2436
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
|
@@ -19436,7 +19436,7 @@ var CANONICAL_LOG_COLUMN_SET = {
|
|
|
19436
19436
|
};
|
|
19437
19437
|
var CANONICAL_LOG_COLUMNS = Object.keys(CANONICAL_LOG_COLUMN_SET);
|
|
19438
19438
|
|
|
19439
|
-
// ../shared/dist/chunk-
|
|
19439
|
+
// ../shared/dist/chunk-HUUBCQSQ.mjs
|
|
19440
19440
|
var MODEL_FAMILY_PROVIDER_IDS = {
|
|
19441
19441
|
"claude-fable-5": {
|
|
19442
19442
|
"anthropic": "claude-fable-5",
|
|
@@ -21293,7 +21293,7 @@ var BuiltInToolIdPrefix = {
|
|
|
21293
21293
|
PLATFORM: "platform"
|
|
21294
21294
|
};
|
|
21295
21295
|
|
|
21296
|
-
// ../shared/dist/chunk-
|
|
21296
|
+
// ../shared/dist/chunk-FQCDNFXE.mjs
|
|
21297
21297
|
function sanitizeToolNameForAiSdk(name) {
|
|
21298
21298
|
return name.replace(/[^a-zA-Z0-9_]/g, "_").toLowerCase().replace(/_+/g, "_").replace(/^_|_$/g, "");
|
|
21299
21299
|
}
|
|
@@ -33174,7 +33174,9 @@ var userProfileFeaturesSchema = external_exports.object({
|
|
|
33174
33174
|
workspaceModelReady: external_exports.boolean(),
|
|
33175
33175
|
workspaceModelEligible: external_exports.boolean(),
|
|
33176
33176
|
// WHY(docs/why/packages/shared/src.md#model-credit-promo-multiplier-for-billing-discou): Model credit promo multiplier for billing discounts; billing never trusts the client value
|
|
33177
|
-
modelCreditPromoMultiplier: external_exports.number().min(0).max(1).optional()
|
|
33177
|
+
modelCreditPromoMultiplier: external_exports.number().min(0).max(1).optional(),
|
|
33178
|
+
// WHY(docs/claude/telemetry-suppression.md): Org-scoped external-telemetry gate; browser and Code Mode MCP surfaces read it here.
|
|
33179
|
+
externalTelemetryAllowed: external_exports.boolean().optional()
|
|
33178
33180
|
});
|
|
33179
33181
|
var SLACK_REQUIRED_BOT_SCOPES = [
|
|
33180
33182
|
"channels:history",
|
|
@@ -33746,8 +33748,7 @@ var surfaceSchema = external_exports.object({
|
|
|
33746
33748
|
config: external_exports.record(external_exports.string(), external_exports.any()),
|
|
33747
33749
|
createPolicy: createPolicySchema,
|
|
33748
33750
|
routes: external_exports.array(routeSchema).min(1, "Surface must have at least one route"),
|
|
33749
|
-
status: external_exports.enum(["draft", "active", "paused"]).optional()
|
|
33750
|
-
environment: external_exports.enum(["production", "development"]).optional()
|
|
33751
|
+
status: external_exports.enum(["draft", "active", "paused"]).optional()
|
|
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.6",
|
|
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.5.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.38.0",
|
|
37
37
|
"@types/express": "^5.0.6",
|
|
38
38
|
"@types/micromatch": "^4.0.9",
|
|
39
39
|
"@types/node": "^25.3.3",
|