@runtypelabs/cli 2.59.8 → 2.59.10
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/{chunk-CAex1Rh7.js → chunk-2KHCZ1oX.js} +3 -1
- package/dist/{chunk-BmVSI07X.js → chunk-BNt7L05l.js} +2 -2
- package/dist/{chunk-DsvnAQV0.js → chunk-BWWqiBjS.js} +1 -1
- package/dist/{chunk-0Wb6011-.js → chunk-BtpXwOCu.js} +3 -3
- package/dist/{chunk-BNAJdYDs.js → chunk-C3GmwZiH.js} +4 -4
- package/dist/{chunk-BNkTbX3o.js → chunk-C8DBcoRx.js} +1 -1
- package/dist/{chunk-BQnVGrKk.js → chunk-CS4tOg29.js} +1 -1
- package/dist/{chunk-DDCuzXdL.js → chunk-CStXkNVU.js} +1 -1
- package/dist/{chunk-0GRg7ZMI.js → chunk-CrhwBwqZ.js} +60 -57
- package/dist/{chunk-BFChmNbs.js → chunk-D5sr2-s-.js} +1 -1
- package/dist/{chunk-BCGb7SFi.js → chunk-DGw-oea5.js} +1 -1
- package/dist/{chunk-BjLpgCks.js → chunk-DQabdDJ3.js} +1 -1
- package/dist/{chunk-Bj5xILlg.js → chunk-Df2DiijP.js} +1 -1
- package/dist/{chunk-Bacfd_R_.js → chunk-DkaS_DNA.js} +1 -1
- package/dist/{chunk-CLNd5H8s.js → chunk-NXI76aJP.js} +1 -1
- package/dist/{chunk-BrvUbux6.js → chunk-XwPlN7Hv.js} +3 -3
- package/dist/index.js +11 -11
- package/package.json +4 -4
|
@@ -1817,6 +1817,7 @@ object({
|
|
|
1817
1817
|
test: boolean().nullable().meta({ deprecated: true }).describe("DEPRECATED: a derived alias of origin, kept for one release — read origin instead. True when the run came from the dashboard, i.e. origin === \"dashboard\"; NULL exactly when origin is NULL. It is never derived from storeResults, which defaults to false across the whole flow lane and which an API caller sets for its own privacy reasons: reading it as \"test\" labelled production runs as tests. A run whose header predates origin therefore reads NULL rather than claiming either answer."),
|
|
1818
1818
|
via: runViaSchema.nullish().describe("How the run started, for a Via column. Forward-only for schedule, api key, cli, mcp and eval detail: a header written before those stamps reads null, or falls back to the coarse origin/surface facts when they alone answer it. A label is a snapshot or a lookup and never authority; mcp, cli and sdk are self-declared by the client."),
|
|
1819
1819
|
externalAgent: runExternalAgentSchema.nullish().describe("Set when an external agent (A2A or runtype-stream) answered the turn: the protocol, declared framework and endpoint host stamped on the run header when it was invoked. Null on any other run, and on an external-agent run whose header predates the stamp. A repointed agent keeps one agentId, so this is what tells two of its runs apart."),
|
|
1820
|
+
model: string().nullish().describe("Model of the run's first model call (served model when reported, otherwise requested model); null when no model call recorded one."),
|
|
1820
1821
|
stopReason: string().nullish().describe("Stop reason from the terminal frame."),
|
|
1821
1822
|
iterations: number().nullish().describe("Loop iterations from the terminal frame."),
|
|
1822
1823
|
inputPreview: string().nullish().describe(`The run's first user message, secret-scrubbed and cut to 160 characters, so a list can say what a run was asked to do without reading content. Absent means no input text is recorded for this run, which is not an empty message: the span store holds no run-level input at all, so a run with no control-plane row (a flow leg, a storeResults:false run) has none.`),
|
|
@@ -1840,6 +1841,7 @@ object({
|
|
|
1840
1841
|
* description and the docs cannot disagree about what a compact row carries.
|
|
1841
1842
|
*/
|
|
1842
1843
|
const RUN_LIST_FULL_ONLY_FIELDS = [
|
|
1844
|
+
"model",
|
|
1843
1845
|
"stopReason",
|
|
1844
1846
|
"iterations",
|
|
1845
1847
|
"inputPreview",
|
|
@@ -1893,7 +1895,7 @@ const repeatable = () => union([string(), array(string())]);
|
|
|
1893
1895
|
const runListQuerySchema = object({
|
|
1894
1896
|
agentId: repeatable().optional().describe("Filter by agent id; repeat for a set."),
|
|
1895
1897
|
flowId: repeatable().optional().describe("Filter by flow id; repeat for a set."),
|
|
1896
|
-
conversationId:
|
|
1898
|
+
conversationId: repeatable().optional().describe(`Filter by conversation id; repeat for a set (at most 100 per request).`),
|
|
1897
1899
|
surfaceId: string().optional().describe("Filter by surface id."),
|
|
1898
1900
|
surfaceType: string().optional().describe("Filter by surface family."),
|
|
1899
1901
|
recordId: string().optional().describe("Filter by record id."),
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { t as isTTY } from "./index.js";
|
|
3
3
|
import { DataList, EntityCard, MutationResult, React, render, useEffect, useState } from "./chunk-CoAWdSiE.js";
|
|
4
|
-
import { p as buildDashboardUrl } from "./chunk-
|
|
4
|
+
import { p as buildDashboardUrl } from "./chunk-2KHCZ1oX.js";
|
|
5
5
|
import { r as createCliClient, s as getDashboardUrl } from "./chunk-BW2fg46T.js";
|
|
6
6
|
import { n as ensureAuth } from "./chunk-CJraEBVd.js";
|
|
7
7
|
import { a as printJson, i as printDetail, n as buildListParams, r as getTotalCount, s as printNextCursorHint } from "./chunk-CcFCyqbB.js";
|
|
8
8
|
import { t as readJsonFile } from "./chunk-DGv7X9S_.js";
|
|
9
9
|
import { c as buildEntityPullCommand, d as productPullFpoCommand, r as PRODUCT_ENSURE_SPEC, s as buildEntityEnsureCommand, u as productEnsureFpoCommand } from "./chunk-BirUxTtH.js";
|
|
10
|
-
import { t as getCurrentAccountId } from "./chunk-
|
|
10
|
+
import { t as getCurrentAccountId } from "./chunk-Df2DiijP.js";
|
|
11
11
|
import { n as validateQuickStartUrl, t as createQuickStartProduct } from "./chunk-i7DwkvvD.js";
|
|
12
12
|
import { Command } from "commander";
|
|
13
13
|
import chalk from "chalk";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { t as ModelPicker } from "./chunk-CrlqIfmb.js";
|
|
3
|
-
import { MarathonApp } from "./chunk-
|
|
3
|
+
import { MarathonApp } from "./chunk-BtpXwOCu.js";
|
|
4
4
|
import { useEffect, useRef, useState } from "react";
|
|
5
5
|
import { Box, Text, useApp, useInput, useStdout } from "ink";
|
|
6
6
|
import { theme } from "@runtypelabs/ink-components";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { p as buildDashboardUrl } from "./chunk-
|
|
3
|
-
import { a as treeLogPathForStateFile, i as materializeAtHead, n as readSessionEventLog, r as loadTreeLog, t as getActiveDeploySandboxPreviewUrl } from "./chunk-
|
|
4
|
-
import { t as getCurrentAccountId } from "./chunk-
|
|
2
|
+
import { p as buildDashboardUrl } from "./chunk-2KHCZ1oX.js";
|
|
3
|
+
import { a as treeLogPathForStateFile, i as materializeAtHead, n as readSessionEventLog, r as loadTreeLog, t as getActiveDeploySandboxPreviewUrl } from "./chunk-XwPlN7Hv.js";
|
|
4
|
+
import { t as getCurrentAccountId } from "./chunk-Df2DiijP.js";
|
|
5
5
|
import { t as ModelPicker } from "./chunk-CrlqIfmb.js";
|
|
6
6
|
import chalk from "chalk";
|
|
7
7
|
import * as fs$1 from "node:fs";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { b as CredentialStore, t as isTTY } from "./index.js";
|
|
3
|
-
import { p as buildDashboardUrl } from "./chunk-
|
|
3
|
+
import { p as buildDashboardUrl } from "./chunk-2KHCZ1oX.js";
|
|
4
4
|
import { i as getApiUrl, l as getRuntimeApiKey, n as ApiKeyValidationUnavailableError, r as createCliClient, s as getDashboardUrl, t as ApiKeyManager } from "./chunk-BW2fg46T.js";
|
|
5
5
|
import { n as ensureAuth } from "./chunk-CJraEBVd.js";
|
|
6
6
|
import { a as printJson } from "./chunk-CcFCyqbB.js";
|
|
7
|
-
import { t as getCurrentAccountId } from "./chunk-
|
|
7
|
+
import { t as getCurrentAccountId } from "./chunk-Df2DiijP.js";
|
|
8
8
|
import { Command } from "commander";
|
|
9
9
|
import chalk from "chalk";
|
|
10
10
|
import { existsSync, mkdirSync, readFileSync, writeFileSync } from "node:fs";
|
|
@@ -14,9 +14,9 @@ import open from "open";
|
|
|
14
14
|
import { createServer } from "node:http";
|
|
15
15
|
import { execFileSync } from "child_process";
|
|
16
16
|
import { createServer as createServer$1 } from "node:net";
|
|
17
|
-
// ../../node_modules/.pnpm/@runtypelabs+persona@4.
|
|
17
|
+
// ../../node_modules/.pnpm/@runtypelabs+persona@4.38.1/node_modules/@runtypelabs/persona/dist/codegen.js
|
|
18
18
|
function e(e) {
|
|
19
|
-
return e?.cdnBase?.trim().replace(/\/+$/, ``).replace(/[\\'"<>`]/g, (e) => `%${e.charCodeAt(0).toString(16).toUpperCase().padStart(2, `0`)}`) || `https://cdn.jsdelivr.net/npm/@runtypelabs/persona@4.
|
|
19
|
+
return e?.cdnBase?.trim().replace(/\/+$/, ``).replace(/[\\'"<>`]/g, (e) => `%${e.charCodeAt(0).toString(16).toUpperCase().padStart(2, `0`)}`) || `https://cdn.jsdelivr.net/npm/@runtypelabs/persona@4.38.1/dist`;
|
|
20
20
|
}
|
|
21
21
|
function t(e) {
|
|
22
22
|
if (e !== void 0) return typeof e == `string` ? e : Array.isArray(e) ? `[${e.map((e) => e.toString()).join(`, `)}]` : e.toString();
|
|
@@ -6,7 +6,7 @@ import { n as addExecutionInputOptions, r as resolveExecutionInput, t as runExec
|
|
|
6
6
|
import { r as createCliClient } from "./chunk-BW2fg46T.js";
|
|
7
7
|
import { n as ensureAuth } from "./chunk-CJraEBVd.js";
|
|
8
8
|
import { a as printJson, i as printDetail, n as buildListParams, r as getTotalCount, s as printNextCursorHint } from "./chunk-CcFCyqbB.js";
|
|
9
|
-
import { taskCommand } from "./chunk-
|
|
9
|
+
import { taskCommand } from "./chunk-XwPlN7Hv.js";
|
|
10
10
|
import { t as readJsonFile } from "./chunk-DGv7X9S_.js";
|
|
11
11
|
import { f as writePulledDefinition, o as agentSkillsCommand } from "./chunk-BirUxTtH.js";
|
|
12
12
|
import { r as describeAgentExportFailure, t as agentReleaseSelectorParams } from "./chunk-87nRnNRG.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { _ as managedDeploymentCreateRequestSchema } from "./chunk-
|
|
2
|
+
import { _ as managedDeploymentCreateRequestSchema } from "./chunk-2KHCZ1oX.js";
|
|
3
3
|
import { r as createCliClient } from "./chunk-BW2fg46T.js";
|
|
4
4
|
import { n as ensureAuth } from "./chunk-CJraEBVd.js";
|
|
5
5
|
import { a as printJson } from "./chunk-CcFCyqbB.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { b as CredentialStore } from "./index.js";
|
|
3
|
-
import { p as buildDashboardUrl, x as selectAccountId } from "./chunk-
|
|
3
|
+
import { p as buildDashboardUrl, x as selectAccountId } from "./chunk-2KHCZ1oX.js";
|
|
4
4
|
import { s as getDashboardUrl, t as ApiKeyManager } from "./chunk-BW2fg46T.js";
|
|
5
5
|
import { n as browserLogin, r as orgMismatchWarning } from "./chunk-BnWhIqW1.js";
|
|
6
6
|
import { n as validateQuickStartUrl, t as createQuickStartProduct } from "./chunk-i7DwkvvD.js";
|
|
@@ -130,7 +130,7 @@ object({
|
|
|
130
130
|
reason: string().nullable().optional(),
|
|
131
131
|
revealed: array(string()).optional()
|
|
132
132
|
});
|
|
133
|
-
// ../shared/dist/chunk-
|
|
133
|
+
// ../shared/dist/chunk-CNvw2TrD.mjs
|
|
134
134
|
/** Every change kind a scrub report can name; a leaf so the data-source contracts reach it without the scrubber. */
|
|
135
135
|
const METADATA_SCRUB_CHANGE_KIND_NAMES = [
|
|
136
136
|
"url_redirected",
|
|
@@ -157,6 +157,60 @@ function sortKeys(value) {
|
|
|
157
157
|
function canonicalJson(value) {
|
|
158
158
|
return JSON.stringify(sortKeys(value)) ?? "null";
|
|
159
159
|
}
|
|
160
|
+
const synthesizerContractSchema = object({
|
|
161
|
+
source: _enum([
|
|
162
|
+
"add_tool",
|
|
163
|
+
"declared",
|
|
164
|
+
"observed",
|
|
165
|
+
"none"
|
|
166
|
+
]),
|
|
167
|
+
/** The JSON Schema a successful answer must validate against; null when no schema is known. */
|
|
168
|
+
schema: record(string(), unknown()).nullable()
|
|
169
|
+
});
|
|
170
|
+
/** One recorded exchange a synthesizer grounds on, by id and the saved connection it was recorded under. */
|
|
171
|
+
const synthesizerGroundingExchangeSchema = object({
|
|
172
|
+
id: string().min(1),
|
|
173
|
+
grant: string().nullable()
|
|
174
|
+
});
|
|
175
|
+
object({
|
|
176
|
+
variantId: string().min(1),
|
|
177
|
+
/** The server tool a call reaches after the overlay, or the name of a synthesized `add_tool`. */
|
|
178
|
+
tool: string().min(1),
|
|
179
|
+
added: boolean(),
|
|
180
|
+
readOnly: boolean(),
|
|
181
|
+
definition: object({
|
|
182
|
+
name: string(),
|
|
183
|
+
description: string(),
|
|
184
|
+
inputSchema: record(string(), unknown())
|
|
185
|
+
}),
|
|
186
|
+
contract: synthesizerContractSchema,
|
|
187
|
+
grounding: object({
|
|
188
|
+
exchanges: array(synthesizerGroundingExchangeSchema).max(40),
|
|
189
|
+
/** The server tools the exchanges come from: the tool itself, or a synthesized `add_tool`'s grounding tools. */
|
|
190
|
+
tools: array(string().min(1)).max(8),
|
|
191
|
+
worldFacts: array(string().min(1).max(2e3)).max(32),
|
|
192
|
+
/** The run's recorded schema reads, so a real collection, field or option id is known (D5); absent on older plans. */
|
|
193
|
+
schemaExchanges: array(synthesizerGroundingExchangeSchema).max(64).optional(),
|
|
194
|
+
linkedListExchanges: array(synthesizerGroundingExchangeSchema).max(32).optional()
|
|
195
|
+
}),
|
|
196
|
+
/** Tools the variant lists, so a designed error's `recoverySteps` can only name a real one. */
|
|
197
|
+
listedTools: array(string()).max(400),
|
|
198
|
+
promptVersion: number().int().positive()
|
|
199
|
+
});
|
|
200
|
+
object({ plausible: boolean().nullable() });
|
|
201
|
+
object({
|
|
202
|
+
exchangeId: string(),
|
|
203
|
+
plausible: boolean().nullable()
|
|
204
|
+
});
|
|
205
|
+
const resynthesizeToolName = string().min(1).max(255);
|
|
206
|
+
object({ tools: union([resynthesizeToolName, array(resynthesizeToolName).min(1).max(64)]).optional().describe("A server tool whose frozen answers to discard; repeat for several. Omit to discard every tool's.") });
|
|
207
|
+
object({ discarded: number().int().nonnegative() });
|
|
208
|
+
/** A tool's synthesized answers and how reviewers judged them, for the profile and the report caveats. */
|
|
209
|
+
const synthesisReviewStatsSchema = object({
|
|
210
|
+
answers: number().int().nonnegative(),
|
|
211
|
+
reviewed: number().int().nonnegative(),
|
|
212
|
+
plausible: number().int().nonnegative()
|
|
213
|
+
});
|
|
160
214
|
/** Most episodes one run may plan, across every round. */
|
|
161
215
|
const MAX_EPISODES_PER_RUN = 1e3;
|
|
162
216
|
/** Most characters in a simulated user's profile. */
|
|
@@ -184,7 +238,7 @@ const productKindSchema = _enum([
|
|
|
184
238
|
"external",
|
|
185
239
|
"spec_only"
|
|
186
240
|
]);
|
|
187
|
-
// ../shared/dist/chunk-
|
|
241
|
+
// ../shared/dist/chunk-LPsD799a.mjs
|
|
188
242
|
/** The manifest file at the root of a candidate's source bundle. */
|
|
189
243
|
const CANDIDATE_MANIFEST_FILENAME = "runtype-candidate.json";
|
|
190
244
|
const candidateRuntimeSchema = _enum([
|
|
@@ -341,7 +395,9 @@ const datasetSpecInputSchema = object({
|
|
|
341
395
|
const datasetSpecSchema = object({
|
|
342
396
|
rowCounts: record(string(), number().int().nonnegative()),
|
|
343
397
|
seed: number().int().nonnegative(),
|
|
344
|
-
generatorVersion: number().int().positive()
|
|
398
|
+
generatorVersion: number().int().positive(),
|
|
399
|
+
/** The model that wrote the values at the last build; absent before a build that recorded one. */
|
|
400
|
+
model: string().min(1).max(255).optional()
|
|
345
401
|
});
|
|
346
402
|
const datasetScrubChangeKindSchema = _enum(METADATA_SCRUB_CHANGE_KIND_NAMES);
|
|
347
403
|
/** One change import made to a permission metadata export, as `scrubPermissionMetadata` reports it. */
|
|
@@ -2513,60 +2569,6 @@ const simulationReportSchema = object({
|
|
|
2513
2569
|
regression: boolean(),
|
|
2514
2570
|
createdAt: isoDate
|
|
2515
2571
|
});
|
|
2516
|
-
const synthesizerContractSchema = object({
|
|
2517
|
-
source: _enum([
|
|
2518
|
-
"add_tool",
|
|
2519
|
-
"declared",
|
|
2520
|
-
"observed",
|
|
2521
|
-
"none"
|
|
2522
|
-
]),
|
|
2523
|
-
/** The JSON Schema a successful answer must validate against; null when no schema is known. */
|
|
2524
|
-
schema: record(string(), unknown()).nullable()
|
|
2525
|
-
});
|
|
2526
|
-
/** One recorded exchange a synthesizer grounds on, by id and the saved connection it was recorded under. */
|
|
2527
|
-
const synthesizerGroundingExchangeSchema = object({
|
|
2528
|
-
id: string().min(1),
|
|
2529
|
-
grant: string().nullable()
|
|
2530
|
-
});
|
|
2531
|
-
object({
|
|
2532
|
-
variantId: string().min(1),
|
|
2533
|
-
/** The server tool a call reaches after the overlay, or the name of a synthesized `add_tool`. */
|
|
2534
|
-
tool: string().min(1),
|
|
2535
|
-
added: boolean(),
|
|
2536
|
-
readOnly: boolean(),
|
|
2537
|
-
definition: object({
|
|
2538
|
-
name: string(),
|
|
2539
|
-
description: string(),
|
|
2540
|
-
inputSchema: record(string(), unknown())
|
|
2541
|
-
}),
|
|
2542
|
-
contract: synthesizerContractSchema,
|
|
2543
|
-
grounding: object({
|
|
2544
|
-
exchanges: array(synthesizerGroundingExchangeSchema).max(40),
|
|
2545
|
-
/** The server tools the exchanges come from: the tool itself, or a synthesized `add_tool`'s grounding tools. */
|
|
2546
|
-
tools: array(string().min(1)).max(8),
|
|
2547
|
-
worldFacts: array(string().min(1).max(2e3)).max(32),
|
|
2548
|
-
/** The run's recorded schema reads, so a real collection, field or option id is known (D5); absent on older plans. */
|
|
2549
|
-
schemaExchanges: array(synthesizerGroundingExchangeSchema).max(64).optional(),
|
|
2550
|
-
linkedListExchanges: array(synthesizerGroundingExchangeSchema).max(32).optional()
|
|
2551
|
-
}),
|
|
2552
|
-
/** Tools the variant lists, so a designed error's `recoverySteps` can only name a real one. */
|
|
2553
|
-
listedTools: array(string()).max(400),
|
|
2554
|
-
promptVersion: number().int().positive()
|
|
2555
|
-
});
|
|
2556
|
-
object({ plausible: boolean().nullable() });
|
|
2557
|
-
object({
|
|
2558
|
-
exchangeId: string(),
|
|
2559
|
-
plausible: boolean().nullable()
|
|
2560
|
-
});
|
|
2561
|
-
const resynthesizeToolName = string().min(1).max(255);
|
|
2562
|
-
object({ tools: union([resynthesizeToolName, array(resynthesizeToolName).min(1).max(64)]).optional().describe("A server tool whose frozen answers to discard; repeat for several. Omit to discard every tool's.") });
|
|
2563
|
-
object({ discarded: number().int().nonnegative() });
|
|
2564
|
-
/** A tool's synthesized answers and how reviewers judged them, for the profile and the report caveats. */
|
|
2565
|
-
const synthesisReviewStatsSchema = object({
|
|
2566
|
-
answers: number().int().nonnegative(),
|
|
2567
|
-
reviewed: number().int().nonnegative(),
|
|
2568
|
-
plausible: number().int().nonnegative()
|
|
2569
|
-
});
|
|
2570
2572
|
const exchangeWorldSchema = string().regex(/^(live|synthetic:[A-Za-z0-9_-]+)$/);
|
|
2571
2573
|
const exchangeSourceSchema = _enum([
|
|
2572
2574
|
"simulation",
|
|
@@ -3228,6 +3230,7 @@ ddl: object({
|
|
|
3228
3230
|
}))
|
|
3229
3231
|
}) });
|
|
3230
3232
|
simulationPageSchema(simulationSyntheticDatasetSchema);
|
|
3233
|
+
object({ model: string().min(1).max(255).optional() });
|
|
3231
3234
|
simulationSyntheticDatasetResponseSchema.extend({
|
|
3232
3235
|
outcome: _enum([
|
|
3233
3236
|
"built",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { t as isTTY } from "./index.js";
|
|
3
3
|
import { ConfirmPrompt, DataList, EntityCard, MutationResult, React, render, useEffect, useState } from "./chunk-CoAWdSiE.js";
|
|
4
|
-
import { v as neutralizeCsvFormula } from "./chunk-
|
|
4
|
+
import { v as neutralizeCsvFormula } from "./chunk-2KHCZ1oX.js";
|
|
5
5
|
import { r as createCliClient } from "./chunk-BW2fg46T.js";
|
|
6
6
|
import { n as ensureAuth } from "./chunk-CJraEBVd.js";
|
|
7
7
|
import { a as printJson, r as getTotalCount, s as printNextCursorHint } from "./chunk-CcFCyqbB.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { c as TRACE_QUERY_DIMENSIONS, l as TRACE_SLICE_SPAN_KINDS } from "./chunk-
|
|
2
|
+
import { c as TRACE_QUERY_DIMENSIONS, l as TRACE_SLICE_SPAN_KINDS } from "./chunk-2KHCZ1oX.js";
|
|
3
3
|
import { r as createCliClient } from "./chunk-BW2fg46T.js";
|
|
4
4
|
import { n as ensureAuth } from "./chunk-CJraEBVd.js";
|
|
5
5
|
import { a as printJson } from "./chunk-CcFCyqbB.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { a as PRODUCT_EVENT_DEFAULT_NEXT_POLL_MS, g as isProductEventName, i as PRODUCT_EVENT_CURSOR_PATTERN, o as PRODUCT_EVENT_MAX_WAIT_MS, s as PRODUCT_EVENT_NAMES } from "./chunk-
|
|
2
|
+
import { a as PRODUCT_EVENT_DEFAULT_NEXT_POLL_MS, g as isProductEventName, i as PRODUCT_EVENT_CURSOR_PATTERN, o as PRODUCT_EVENT_MAX_WAIT_MS, s as PRODUCT_EVENT_NAMES } from "./chunk-2KHCZ1oX.js";
|
|
3
3
|
import { i as getApiUrl, r as createCliClient } from "./chunk-BW2fg46T.js";
|
|
4
4
|
import { n as ensureAuth } from "./chunk-CJraEBVd.js";
|
|
5
5
|
import { Command } from "commander";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { b as CredentialStore } from "./index.js";
|
|
3
|
-
import { x as selectAccountId } from "./chunk-
|
|
3
|
+
import { x as selectAccountId } from "./chunk-2KHCZ1oX.js";
|
|
4
4
|
import { t as ApiKeyManager } from "./chunk-BW2fg46T.js";
|
|
5
5
|
// src/lib/account-context.ts
|
|
6
6
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { P as getRuntypeHomeDir, b as CredentialStore, t as isTTY } from "./index.js";
|
|
3
3
|
import { ConfirmPrompt, DataList, EntityCard, MutationResult, React, Text, mutationResultProps, render, useEffect, useMutationState, useState } from "./chunk-CoAWdSiE.js";
|
|
4
|
-
import { b as pkceCodeVerifierSchema, d as apiKeyFileSlug, f as apiKeyFileUsageHint, m as isForbiddenRequestedPermission, n as API_KEY_REQUEST_MAX_TTL_SECONDS, r as API_KEY_REQUEST_POLL_INTERVAL_MS, t as API_KEY_FILE_FORMAT, u as apiKeyFileSchema, y as pkceCodeChallengeSchema } from "./chunk-
|
|
4
|
+
import { b as pkceCodeVerifierSchema, d as apiKeyFileSlug, f as apiKeyFileUsageHint, m as isForbiddenRequestedPermission, n as API_KEY_REQUEST_MAX_TTL_SECONDS, r as API_KEY_REQUEST_POLL_INTERVAL_MS, t as API_KEY_FILE_FORMAT, u as apiKeyFileSchema, y as pkceCodeChallengeSchema } from "./chunk-2KHCZ1oX.js";
|
|
5
5
|
import { i as getApiUrl, r as createCliClient } from "./chunk-BW2fg46T.js";
|
|
6
6
|
import { n as ensureAuth } from "./chunk-CJraEBVd.js";
|
|
7
7
|
import { a as printJson, i as printDetail, r as getTotalCount } from "./chunk-CcFCyqbB.js";
|
|
@@ -71,7 +71,7 @@ const initCommand = new Command("init").description("Set up Runtype CLI with gui
|
|
|
71
71
|
console.error(message);
|
|
72
72
|
process.exit(1);
|
|
73
73
|
}
|
|
74
|
-
const { InitApp } = await import("./chunk-
|
|
74
|
+
const { InitApp } = await import("./chunk-CStXkNVU.js");
|
|
75
75
|
const { waitUntilExit } = render(React.createElement(InitApp, {
|
|
76
76
|
apiUrl: options.apiUrl,
|
|
77
77
|
onComplete: () => {}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { C as setMarathonTitle, F as getCliVersion, L as __require, N as getMarathonStateDir, P as getRuntypeHomeDir } from "./index.js";
|
|
3
3
|
import { React, enterAltScreen, loadUi, render } from "./chunk-CoAWdSiE.js";
|
|
4
4
|
import { _ as inferModelCreator, b as getBuiltInToolById, v as formatSystemToolId, x as isToolCompatibleWithModel, y as getAllBuiltInTools } from "./chunk-daI6hXN9.js";
|
|
5
|
-
import { h as isNonAIProvider } from "./chunk-
|
|
5
|
+
import { h as isNonAIProvider } from "./chunk-2KHCZ1oX.js";
|
|
6
6
|
import { c as getDevPlanOverride, i as getApiUrl, s as getDashboardUrl } from "./chunk-BW2fg46T.js";
|
|
7
7
|
import { n as ensureAuth } from "./chunk-CJraEBVd.js";
|
|
8
8
|
import { a as printJson } from "./chunk-CcFCyqbB.js";
|
|
@@ -3768,8 +3768,8 @@ async function taskAction(agent, options) {
|
|
|
3768
3768
|
}
|
|
3769
3769
|
await loadUi();
|
|
3770
3770
|
const [{ MarathonApp }, { MarathonStartupShell }, { DEFAULT_MODELS: DEFAULT_STARTUP_MODELS }] = await Promise.all([
|
|
3771
|
-
import("./chunk-
|
|
3772
|
-
import("./chunk-
|
|
3771
|
+
import("./chunk-BtpXwOCu.js"),
|
|
3772
|
+
import("./chunk-BWWqiBjS.js"),
|
|
3773
3773
|
import("./chunk-CrlqIfmb.js").then((n) => n.n)
|
|
3774
3774
|
]);
|
|
3775
3775
|
const useStartupShell = canUseMarathonStartupShell(options);
|
package/dist/index.js
CHANGED
|
@@ -71,7 +71,7 @@ const COMMAND_REGISTRY = [
|
|
|
71
71
|
name: "init",
|
|
72
72
|
term: "init [options]",
|
|
73
73
|
description: "Set up Runtype CLI with guided onboarding",
|
|
74
|
-
load: async () => (await import("./chunk-
|
|
74
|
+
load: async () => (await import("./chunk-NXI76aJP.js")).initCommand
|
|
75
75
|
},
|
|
76
76
|
{
|
|
77
77
|
name: "login",
|
|
@@ -107,7 +107,7 @@ const COMMAND_REGISTRY = [
|
|
|
107
107
|
name: "records",
|
|
108
108
|
term: "records",
|
|
109
109
|
description: "Manage records",
|
|
110
|
-
load: async () => (await import("./chunk-
|
|
110
|
+
load: async () => (await import("./chunk-D5sr2-s-.js")).recordsCommand
|
|
111
111
|
},
|
|
112
112
|
{
|
|
113
113
|
name: "collections",
|
|
@@ -143,7 +143,7 @@ const COMMAND_REGISTRY = [
|
|
|
143
143
|
name: "sandbox-deployments",
|
|
144
144
|
term: "sandbox-deployments",
|
|
145
145
|
description: "Author managed deployments using retained runtime profiles and uploaded source IDs",
|
|
146
|
-
load: async () => (await import("./chunk-
|
|
146
|
+
load: async () => (await import("./chunk-CS4tOg29.js")).sandboxDeploymentsCommand
|
|
147
147
|
},
|
|
148
148
|
{
|
|
149
149
|
name: "tools",
|
|
@@ -167,7 +167,7 @@ const COMMAND_REGISTRY = [
|
|
|
167
167
|
name: "products",
|
|
168
168
|
term: "products",
|
|
169
169
|
description: "Manage products",
|
|
170
|
-
load: async () => (await import("./chunk-
|
|
170
|
+
load: async () => (await import("./chunk-BNt7L05l.js")).productsCommand
|
|
171
171
|
},
|
|
172
172
|
{
|
|
173
173
|
name: "dispatch",
|
|
@@ -203,13 +203,13 @@ const COMMAND_REGISTRY = [
|
|
|
203
203
|
name: "traces",
|
|
204
204
|
term: "traces",
|
|
205
205
|
description: "Mine traces: aggregate runs, read a bounded slice of one trace, compare two runs or cohorts",
|
|
206
|
-
load: async () => (await import("./chunk-
|
|
206
|
+
load: async () => (await import("./chunk-DGw-oea5.js")).tracesCommand
|
|
207
207
|
},
|
|
208
208
|
{
|
|
209
209
|
name: "agents",
|
|
210
210
|
term: "agents",
|
|
211
211
|
description: "Manage agents",
|
|
212
|
-
load: async () => (await import("./chunk-
|
|
212
|
+
load: async () => (await import("./chunk-C8DBcoRx.js")).agentsCommand
|
|
213
213
|
},
|
|
214
214
|
{
|
|
215
215
|
name: "models",
|
|
@@ -234,7 +234,7 @@ const COMMAND_REGISTRY = [
|
|
|
234
234
|
aliases: ["keys"],
|
|
235
235
|
term: "api-keys|keys",
|
|
236
236
|
description: "Manage API keys",
|
|
237
|
-
load: async () => (await import("./chunk-
|
|
237
|
+
load: async () => (await import("./chunk-DkaS_DNA.js")).apiKeysCommand
|
|
238
238
|
},
|
|
239
239
|
{
|
|
240
240
|
name: "client-tokens",
|
|
@@ -246,7 +246,7 @@ const COMMAND_REGISTRY = [
|
|
|
246
246
|
name: "persona",
|
|
247
247
|
term: "persona",
|
|
248
248
|
description: "Set up Persona: create an agent, client token, and embed snippet",
|
|
249
|
-
load: async () => (await import("./chunk-
|
|
249
|
+
load: async () => (await import("./chunk-C3GmwZiH.js")).personaCommand
|
|
250
250
|
},
|
|
251
251
|
{
|
|
252
252
|
name: "analytics",
|
|
@@ -276,7 +276,7 @@ const COMMAND_REGISTRY = [
|
|
|
276
276
|
name: "marathon",
|
|
277
277
|
term: "marathon [options] <agent>",
|
|
278
278
|
description: "Run a multi-session agent task (alias for agents task)",
|
|
279
|
-
load: async () => (await import("./chunk-
|
|
279
|
+
load: async () => (await import("./chunk-XwPlN7Hv.js")).createMarathonCommand()
|
|
280
280
|
},
|
|
281
281
|
{
|
|
282
282
|
name: "tail",
|
|
@@ -288,7 +288,7 @@ const COMMAND_REGISTRY = [
|
|
|
288
288
|
name: "events",
|
|
289
289
|
term: "events",
|
|
290
290
|
description: "Watch product events (failed executions, approvals, eval results, ...)",
|
|
291
|
-
load: async () => (await import("./chunk-
|
|
291
|
+
load: async () => (await import("./chunk-DQabdDJ3.js")).eventsCommand
|
|
292
292
|
},
|
|
293
293
|
{
|
|
294
294
|
name: "validate-product",
|
|
@@ -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-CrhwBwqZ.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.10",
|
|
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.
|
|
16
|
+
"@runtypelabs/sdk": "11.24.0",
|
|
17
17
|
"@runtypelabs/terminal-animations": "0.2.4",
|
|
18
18
|
"add-mcp": "2.6.0",
|
|
19
19
|
"chalk": "^5.3.0",
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"@runtypelabs/device-bridge": "0.2.5",
|
|
40
40
|
"@runtypelabs/mcp-cli": "0.4.1",
|
|
41
41
|
"@runtypelabs/model-execution": "0.42.2",
|
|
42
|
-
"@runtypelabs/persona": "4.
|
|
43
|
-
"@runtypelabs/shared": "3.
|
|
42
|
+
"@runtypelabs/persona": "4.38.1",
|
|
43
|
+
"@runtypelabs/shared": "3.121.1",
|
|
44
44
|
"@types/express": "^5.0.6",
|
|
45
45
|
"@types/micromatch": "^4.0.9",
|
|
46
46
|
"@types/node": "^25.3.3",
|