@runtypelabs/cli 2.55.3 → 2.55.4
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/index.js +70 -17
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -132,7 +132,7 @@ const SURFACE_OUTBOUND_CREDENTIAL_KEYS = credentialKeysOf({
|
|
|
132
132
|
smtpPassword: true
|
|
133
133
|
});
|
|
134
134
|
[.../* @__PURE__ */ new Set([...SURFACE_INBOUND_CREDENTIAL_KEYS, ...SURFACE_OUTBOUND_CREDENTIAL_KEYS])];
|
|
135
|
-
// ../shared/dist/chunk-
|
|
135
|
+
// ../shared/dist/chunk-BP5cqd2d.mjs
|
|
136
136
|
/** Every evaluation model the gateway lists, keyed by the gateway id a call names. */
|
|
137
137
|
const GATEWAY_EVALUATION_MODELS = Object.freeze({
|
|
138
138
|
"baseten/elephant-1": Object.freeze({
|
|
@@ -142,9 +142,9 @@ const GATEWAY_EVALUATION_MODELS = Object.freeze({
|
|
|
142
142
|
contextWindow: 16384,
|
|
143
143
|
supportedSpecifications: Object.freeze(["v4"]),
|
|
144
144
|
pricing: Object.freeze({
|
|
145
|
-
inputPerToken: "0",
|
|
145
|
+
inputPerToken: "0.000000035",
|
|
146
146
|
outputPerToken: "0",
|
|
147
|
-
inputPer1MTokens:
|
|
147
|
+
inputPer1MTokens: .035,
|
|
148
148
|
outputPer1MTokens: 0
|
|
149
149
|
})
|
|
150
150
|
}),
|
|
@@ -155,9 +155,9 @@ const GATEWAY_EVALUATION_MODELS = Object.freeze({
|
|
|
155
155
|
contextWindow: 16384,
|
|
156
156
|
supportedSpecifications: Object.freeze(["v4"]),
|
|
157
157
|
pricing: Object.freeze({
|
|
158
|
-
inputPerToken: "0",
|
|
158
|
+
inputPerToken: "0.0000001",
|
|
159
159
|
outputPerToken: "0",
|
|
160
|
-
inputPer1MTokens:
|
|
160
|
+
inputPer1MTokens: .1,
|
|
161
161
|
outputPer1MTokens: 0
|
|
162
162
|
})
|
|
163
163
|
}),
|
|
@@ -232,7 +232,12 @@ const GATEWAY_EVALUATION_MODELS = Object.freeze({
|
|
|
232
232
|
description: "GPT-6 Luna Decisions evaluates classification and scoring questions against shared text and image input using OpenAI's Decisions API. It supports predicate, choice, and score questions with probabilities and confidence values.",
|
|
233
233
|
contextWindow: 105e4,
|
|
234
234
|
supportedSpecifications: Object.freeze(["v4"]),
|
|
235
|
-
pricing:
|
|
235
|
+
pricing: Object.freeze({
|
|
236
|
+
inputPerToken: "0.0000001",
|
|
237
|
+
outputPerToken: "0",
|
|
238
|
+
inputPer1MTokens: .1,
|
|
239
|
+
outputPer1MTokens: 0
|
|
240
|
+
})
|
|
236
241
|
}),
|
|
237
242
|
"perplexity/pplx-decider-flash-v1.2": Object.freeze({
|
|
238
243
|
id: "perplexity/pplx-decider-flash-v1.2",
|
|
@@ -276,7 +281,7 @@ const GATEWAY_EVALUATION_MODELS = Object.freeze({
|
|
|
276
281
|
"typesafe-ai/jev": Object.freeze({
|
|
277
282
|
id: "typesafe-ai/jev",
|
|
278
283
|
name: "Jev",
|
|
279
|
-
description: "TypeSafe AI System One decision model.
|
|
284
|
+
description: "Jev is TypeSafe AI’s System One decision model for fast, structured decisions in software. It evaluates shared state against typed questions and returns choices, scores, and boolean probabilities, supporting classification, routing, rubric-based assessment, and automated verification. Multiple questions can be evaluated in parallel within a single request.",
|
|
280
285
|
contextWindow: 32e3,
|
|
281
286
|
supportedSpecifications: Object.freeze(["v4"]),
|
|
282
287
|
pricing: Object.freeze({
|
|
@@ -6431,7 +6436,7 @@ function date(params) {
|
|
|
6431
6436
|
function number(params) {
|
|
6432
6437
|
return /* @__PURE__ */ _coercedNumber(ZodNumber, params);
|
|
6433
6438
|
}
|
|
6434
|
-
// ../shared/dist/chunk-
|
|
6439
|
+
// ../shared/dist/chunk-VCYa1mc5.mjs
|
|
6435
6440
|
const judgmentJsonValueSchema = lazy(() => union([
|
|
6436
6441
|
_null(),
|
|
6437
6442
|
string(),
|
|
@@ -11496,7 +11501,7 @@ object({
|
|
|
11496
11501
|
externalId: string().min(1).max(500).optional().describe("The conversation id in the source system. Re-creating with the same system and externalId returns the existing conversation with imported: false instead of a duplicate."),
|
|
11497
11502
|
importedAt: string().datetime({ offset: true }).optional()
|
|
11498
11503
|
});
|
|
11499
|
-
// ../shared/dist/chunk
|
|
11504
|
+
// ../shared/dist/chunk-DMk4smnv.mjs
|
|
11500
11505
|
const voiceInterruptionModeSchema = _enum([
|
|
11501
11506
|
"none",
|
|
11502
11507
|
"cancel",
|
|
@@ -24343,7 +24348,7 @@ _enum([
|
|
|
24343
24348
|
"cancelled",
|
|
24344
24349
|
"interrupted"
|
|
24345
24350
|
]);
|
|
24346
|
-
// ../shared/dist/chunk-
|
|
24351
|
+
// ../shared/dist/chunk-DA5hhace.mjs
|
|
24347
24352
|
/**
|
|
24348
24353
|
* Maps model families to provider-specific model IDs.
|
|
24349
24354
|
* Use for routing: family + provider → exact model ID
|
|
@@ -24565,10 +24570,9 @@ const MODEL_FAMILY_PROVIDER_IDS = {
|
|
|
24565
24570
|
"gemini-3-flash-batch": { "vercel": "google/gemini-3-flash-batch" },
|
|
24566
24571
|
"gemini-3-flash-preview": { "google": "gemini-3-flash-preview" },
|
|
24567
24572
|
"gemini-3-pro-image": {
|
|
24568
|
-
"google": "gemini-3-pro-image
|
|
24573
|
+
"google": "gemini-3-pro-image",
|
|
24569
24574
|
"vercel": "google/gemini-3-pro-image"
|
|
24570
24575
|
},
|
|
24571
|
-
"gemini-3-pro-image-preview": { "google": "gemini-3-pro-image-preview" },
|
|
24572
24576
|
"gemini-3.1-flash-image": {
|
|
24573
24577
|
"google": "gemini-3.1-flash-image",
|
|
24574
24578
|
"vercel": "google/gemini-3.1-flash-image"
|
|
@@ -24623,8 +24627,6 @@ const MODEL_FAMILY_PROVIDER_IDS = {
|
|
|
24623
24627
|
"gemini-embedding-2": { "google": "gemini-embedding-2" },
|
|
24624
24628
|
"gemini-nano-banana-2-1": { "vercel": "google/gemini-nano-banana-2.1" },
|
|
24625
24629
|
"gemini-nano-banana-2.1": { "vercel": "google/gemini-nano-banana-2.1" },
|
|
24626
|
-
"gemini-omni-flash": { "vercel": "google/gemini-omni-flash-preview" },
|
|
24627
|
-
"gemini-omni-flash-preview": { "vercel": "google/gemini-omni-flash-preview" },
|
|
24628
24630
|
"gemma-4-26b-a4b-it": {
|
|
24629
24631
|
"google": "gemma-4-26b-a4b-it",
|
|
24630
24632
|
"vercel": "google/gemma-4-26b-a4b-it"
|
|
@@ -24872,6 +24874,11 @@ const MODEL_FAMILY_PROVIDER_IDS = {
|
|
|
24872
24874
|
"gpt-6-1-sol-batch": { "vercel": "openai/gpt-6.1-sol-batch" },
|
|
24873
24875
|
"gpt-6-1-sol-fast": { "vercel": "openai/gpt-6.1-sol-fast" },
|
|
24874
24876
|
"gpt-6-1-sol-ultrafast": { "openai": "gpt-6.1-sol-ultrafast" },
|
|
24877
|
+
"gpt-6-1-terra": {
|
|
24878
|
+
"openai": "gpt-6.1-terra",
|
|
24879
|
+
"vercel": "openai/gpt-6.1-terra"
|
|
24880
|
+
},
|
|
24881
|
+
"gpt-6-1-terra-fast": { "vercel": "openai/gpt-6.1-terra-fast" },
|
|
24875
24882
|
"gpt-6-astra": {
|
|
24876
24883
|
"openai": "gpt-6-astra",
|
|
24877
24884
|
"vercel": "openai/gpt-6-astra"
|
|
@@ -24897,6 +24904,11 @@ const MODEL_FAMILY_PROVIDER_IDS = {
|
|
|
24897
24904
|
"gpt-6.1-sol-batch": { "vercel": "openai/gpt-6.1-sol-batch" },
|
|
24898
24905
|
"gpt-6.1-sol-fast": { "vercel": "openai/gpt-6.1-sol-fast" },
|
|
24899
24906
|
"gpt-6.1-sol-ultrafast": { "openai": "gpt-6.1-sol-ultrafast" },
|
|
24907
|
+
"gpt-6.1-terra": {
|
|
24908
|
+
"openai": "gpt-6.1-terra",
|
|
24909
|
+
"vercel": "openai/gpt-6.1-terra"
|
|
24910
|
+
},
|
|
24911
|
+
"gpt-6.1-terra-fast": { "vercel": "openai/gpt-6.1-terra-fast" },
|
|
24900
24912
|
"gpt-image-1-5": { "openai": "gpt-image-1.5" },
|
|
24901
24913
|
"gpt-image-1-mini": { "openai": "gpt-image-1-mini" },
|
|
24902
24914
|
"gpt-image-1.5": { "openai": "gpt-image-1.5" },
|
|
@@ -25441,7 +25453,7 @@ const CREATOR_TO_PROVIDER = {
|
|
|
25441
25453
|
"xiaomi": "vercel",
|
|
25442
25454
|
"unknown": "openai"
|
|
25443
25455
|
};
|
|
25444
|
-
// ../shared/dist/chunk-
|
|
25456
|
+
// ../shared/dist/chunk-Dq3RIWqI.mjs
|
|
25445
25457
|
const DEFAULT_GENERIC_OPENAI_API_FORMAT = "chat-completions";
|
|
25446
25458
|
/** Provider defaults shared by every execution engine and deploy guidance. */
|
|
25447
25459
|
const DEFAULT_BEDROCK_REGION = "us-east-1";
|
|
@@ -25866,7 +25878,7 @@ function loadBrandConfig(env) {
|
|
|
25866
25878
|
}
|
|
25867
25879
|
loadBrandConfig();
|
|
25868
25880
|
BRAND_CONFIGS[DEFAULT_BRAND_NAME];
|
|
25869
|
-
// ../shared/dist/chunk-
|
|
25881
|
+
// ../shared/dist/chunk-4GapRvk4.mjs
|
|
25870
25882
|
const ARCHITECTURE_PREVIEW_SURFACE_TYPES = [
|
|
25871
25883
|
"chat",
|
|
25872
25884
|
"api",
|
|
@@ -63652,7 +63664,43 @@ const productKindSchema = _enum([
|
|
|
63652
63664
|
"external",
|
|
63653
63665
|
"spec_only"
|
|
63654
63666
|
]);
|
|
63655
|
-
// ../shared/dist/chunk-
|
|
63667
|
+
// ../shared/dist/chunk-nHSYesNy.mjs
|
|
63668
|
+
const amount = number$1().finite().nonnegative();
|
|
63669
|
+
const tokens = amount.int();
|
|
63670
|
+
/** Producer estimates for one turn, independent of Runtype's measured usage and billing. */
|
|
63671
|
+
const reportedUsageSchema = object({
|
|
63672
|
+
costUsd: amount.nullable(),
|
|
63673
|
+
completeness: _enum(["complete", "partial"]),
|
|
63674
|
+
scope: string().min(1).max(120),
|
|
63675
|
+
models: array(object({
|
|
63676
|
+
model: string().min(1).max(200),
|
|
63677
|
+
canonicalModel: string().min(1).max(200).optional(),
|
|
63678
|
+
provider: string().max(100).optional(),
|
|
63679
|
+
pricingBasis: _enum([
|
|
63680
|
+
"list",
|
|
63681
|
+
"managed",
|
|
63682
|
+
"unknown"
|
|
63683
|
+
]).optional(),
|
|
63684
|
+
costUsd: amount.nullable().optional(),
|
|
63685
|
+
inputTokens: tokens.optional(),
|
|
63686
|
+
outputTokens: tokens.optional(),
|
|
63687
|
+
cacheReadInputTokens: tokens.optional(),
|
|
63688
|
+
cacheCreationInputTokens: tokens.optional()
|
|
63689
|
+
})).max(100).optional()
|
|
63690
|
+
});
|
|
63691
|
+
/** Known estimates and reporting coverage; a partial sum is never a whole-episode cost. */
|
|
63692
|
+
const selfReportedCostSchema = object({
|
|
63693
|
+
knownCostUsd: amount.nullable(),
|
|
63694
|
+
reportedTurns: tokens,
|
|
63695
|
+
totalTurns: tokens,
|
|
63696
|
+
completeTurns: tokens,
|
|
63697
|
+
unknownEpisodes: tokens.optional(),
|
|
63698
|
+
completeness: _enum([
|
|
63699
|
+
"complete",
|
|
63700
|
+
"partial",
|
|
63701
|
+
"unknown"
|
|
63702
|
+
])
|
|
63703
|
+
});
|
|
63656
63704
|
/** The manifest file at the root of a candidate's source bundle. */
|
|
63657
63705
|
const CANDIDATE_MANIFEST_FILENAME = "runtype-candidate.json";
|
|
63658
63706
|
const candidateRuntimeSchema = _enum([
|
|
@@ -64968,6 +65016,8 @@ const toolCallFactsSchema = object({
|
|
|
64968
65016
|
recoveredLater: boolean().optional(),
|
|
64969
65017
|
/** How the call ended, classified while its error text was at hand, so `metrics` retention keeps it. */
|
|
64970
65018
|
outcome: _enum(TOOL_CALL_OUTCOMES).optional(),
|
|
65019
|
+
/** The target reported the call without saying whether it failed; it is neither a success nor a failure. */
|
|
65020
|
+
resultUnknown: boolean().optional(),
|
|
64971
65021
|
/** The ladder rung that answered; absent on calls recorded before the ladder. */
|
|
64972
65022
|
servedBy: servedBySchema.optional(),
|
|
64973
65023
|
/** The recorded exchange this call replayed, or the row it wrote. */
|
|
@@ -64991,6 +65041,7 @@ const toolCallFactsSchema = object({
|
|
|
64991
65041
|
});
|
|
64992
65042
|
/** What one target turn passed through, per layer; `toolCalls` is empty for targets with no per-call view. */
|
|
64993
65043
|
const turnLayerFactsSchema = object({
|
|
65044
|
+
reportedUsage: reportedUsageSchema.optional(),
|
|
64994
65045
|
turnIndex: number$1().int().nonnegative(),
|
|
64995
65046
|
surface: object({
|
|
64996
65047
|
surfaceId: string().nullable(),
|
|
@@ -65065,6 +65116,7 @@ const episodeEgressSchema = object({
|
|
|
65065
65116
|
});
|
|
65066
65117
|
/** One episode's measurements; target and client-agent cost are what a success costs, the rest is overhead. */
|
|
65067
65118
|
const episodeMetricsSchema = object({
|
|
65119
|
+
selfReportedCost: selfReportedCostSchema.optional(),
|
|
65068
65120
|
/** A checkpointed target turn could not be safely replayed; retained without error text. */
|
|
65069
65121
|
interruptedMidTurn: literal(true).optional(),
|
|
65070
65122
|
/** The episode ended `agent_error` because the client model's provider stalled after its retries; unscored. */
|
|
@@ -65253,6 +65305,7 @@ const terminationCountsSchema = array(object({
|
|
|
65253
65305
|
}));
|
|
65254
65306
|
/** One variant's row in the report's variant table. */
|
|
65255
65307
|
const reportVariantSummarySchema = object({
|
|
65308
|
+
selfReportedCost: selfReportedCostSchema.optional(),
|
|
65256
65309
|
variantId: string(),
|
|
65257
65310
|
key: string(),
|
|
65258
65311
|
label: string(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@runtypelabs/cli",
|
|
3
|
-
"version": "2.55.
|
|
3
|
+
"version": "2.55.4",
|
|
4
4
|
"description": "Command-line interface for Runtype AI platform",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"@modelcontextprotocol/core": "2.3.1",
|
|
13
13
|
"@napi-rs/keyring": "2.1.0",
|
|
14
14
|
"@runtypelabs/ink-components": "0.3.13",
|
|
15
|
-
"@runtypelabs/sdk": "11.
|
|
15
|
+
"@runtypelabs/sdk": "11.10.0",
|
|
16
16
|
"@runtypelabs/terminal-animations": "0.2.4",
|
|
17
17
|
"add-mcp": "2.0.0",
|
|
18
18
|
"chalk": "^5.3.0",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"@modelcontextprotocol/server": "2.3.1",
|
|
37
37
|
"@runtypelabs/device-bridge": "0.2.5",
|
|
38
38
|
"@runtypelabs/persona": "4.33.0",
|
|
39
|
-
"@runtypelabs/shared": "3.
|
|
39
|
+
"@runtypelabs/shared": "3.101.0",
|
|
40
40
|
"@types/express": "^5.0.6",
|
|
41
41
|
"@types/micromatch": "^4.0.9",
|
|
42
42
|
"@types/node": "^25.3.3",
|