@runtypelabs/cli 2.59.6 → 2.59.8
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 +3 -2
- package/dist/{chunk-7lo-Y4Ss.js → chunk-0GRg7ZMI.js} +4 -3
- package/dist/{chunk-J7og7tcU.js → chunk-0Wb6011-.js} +3 -3
- package/dist/{chunk-fqgOJsK2.js → chunk-BCGb7SFi.js} +1 -1
- package/dist/{chunk-C-9ssZzB.js → chunk-BFChmNbs.js} +1 -1
- package/dist/{chunk-DDL8EL7C.js → chunk-BNAJdYDs.js} +2 -2
- package/dist/{chunk-Cz1fluA2.js → chunk-BNkTbX3o.js} +2 -2
- package/dist/{chunk-CD4pXn7y.js → chunk-BNsF5WHq.js} +1 -1
- package/dist/{chunk-D-uxUFTT.js → chunk-BQnVGrKk.js} +1 -1
- package/dist/{chunk-Zk-o5_r7.js → chunk-Bacfd_R_.js} +1 -1
- package/dist/{chunk-DT8f26ha.js → chunk-Bj5xILlg.js} +1 -1
- package/dist/{chunk-BozvKSoV.js → chunk-BjLpgCks.js} +1 -1
- package/dist/{chunk-D6fmuAl0.js → chunk-BmVSI07X.js} +2 -2
- package/dist/{chunk-wTGNGQeY.js → chunk-BrvUbux6.js} +3 -3
- package/dist/{chunk-B9jVbuiZ.js → chunk-CAex1Rh7.js} +52 -43
- package/dist/{chunk-BiaJpE8S.js → chunk-CLNd5H8s.js} +1 -1
- package/dist/{chunk-dJOtWsqj.js → chunk-DDCuzXdL.js} +1 -1
- package/dist/{chunk-kwEUMViA.js → chunk-DU-nEDyD.js} +1 -1
- package/dist/{chunk-D9EgwoD_.js → chunk-DrxtMway.js} +10 -1
- package/dist/{chunk-ncO2uQf4.js → chunk-DsvnAQV0.js} +1 -1
- package/dist/index.js +13 -13
- package/package.json +3 -3
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
|
| ------------------------------------------------------- | ----------------------------------------------------------------- |
|
|
@@ -184,7 +184,7 @@ const productKindSchema = _enum([
|
|
|
184
184
|
"external",
|
|
185
185
|
"spec_only"
|
|
186
186
|
]);
|
|
187
|
-
// ../shared/dist/chunk-
|
|
187
|
+
// ../shared/dist/chunk-sMI3cVL9.mjs
|
|
188
188
|
/** The manifest file at the root of a candidate's source bundle. */
|
|
189
189
|
const CANDIDATE_MANIFEST_FILENAME = "runtype-candidate.json";
|
|
190
190
|
const candidateRuntimeSchema = _enum([
|
|
@@ -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.");
|
|
@@ -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-CAex1Rh7.js";
|
|
3
|
+
import { a as treeLogPathForStateFile, i as materializeAtHead, n as readSessionEventLog, r as loadTreeLog, t as getActiveDeploySandboxPreviewUrl } from "./chunk-BrvUbux6.js";
|
|
4
|
+
import { t as getCurrentAccountId } from "./chunk-Bj5xILlg.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,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-CAex1Rh7.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,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 {
|
|
4
|
+
import { v as neutralizeCsvFormula } from "./chunk-CAex1Rh7.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,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-CAex1Rh7.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-Bj5xILlg.js";
|
|
8
8
|
import { Command } from "commander";
|
|
9
9
|
import chalk from "chalk";
|
|
10
10
|
import { existsSync, mkdirSync, readFileSync, writeFileSync } from "node:fs";
|
|
@@ -2,12 +2,12 @@
|
|
|
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
4
|
import "./chunk-daI6hXN9.js";
|
|
5
|
+
import { n as addExecutionInputOptions, r as resolveExecutionInput, t as runExecution } from "./chunk-DrxtMway.js";
|
|
5
6
|
import { r as createCliClient } from "./chunk-BW2fg46T.js";
|
|
6
7
|
import { n as ensureAuth } from "./chunk-CJraEBVd.js";
|
|
7
8
|
import { a as printJson, i as printDetail, n as buildListParams, r as getTotalCount, s as printNextCursorHint } from "./chunk-CcFCyqbB.js";
|
|
8
|
-
import { taskCommand } from "./chunk-
|
|
9
|
+
import { taskCommand } from "./chunk-BrvUbux6.js";
|
|
9
10
|
import { t as readJsonFile } from "./chunk-DGv7X9S_.js";
|
|
10
|
-
import { n as addExecutionInputOptions, r as resolveExecutionInput, t as runExecution } from "./chunk-D9EgwoD_.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";
|
|
13
13
|
import { t as buildAgentVersionSelector } from "./chunk-BxNJgYbE.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
+
import { n as addExecutionInputOptions, r as resolveExecutionInput, t as runExecution } from "./chunk-DrxtMway.js";
|
|
2
3
|
import { a as printJson } from "./chunk-CcFCyqbB.js";
|
|
3
|
-
import { n as addExecutionInputOptions, r as resolveExecutionInput, t as runExecution } from "./chunk-D9EgwoD_.js";
|
|
4
4
|
import { t as buildAgentVersionSelector } from "./chunk-BxNJgYbE.js";
|
|
5
5
|
import { Command } from "commander";
|
|
6
6
|
import chalk from "chalk";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
2
|
+
import { _ as managedDeploymentCreateRequestSchema } from "./chunk-CAex1Rh7.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,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
|
|
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-CAex1Rh7.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";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { b as CredentialStore } from "./index.js";
|
|
3
|
-
import {
|
|
3
|
+
import { x as selectAccountId } from "./chunk-CAex1Rh7.js";
|
|
4
4
|
import { t as ApiKeyManager } from "./chunk-BW2fg46T.js";
|
|
5
5
|
// src/lib/account-context.ts
|
|
6
6
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
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-CAex1Rh7.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,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-CAex1Rh7.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-Bj5xILlg.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";
|
|
@@ -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-CAex1Rh7.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-0Wb6011-.js"),
|
|
3772
|
+
import("./chunk-DsvnAQV0.js"),
|
|
3773
3773
|
import("./chunk-CrlqIfmb.js").then((n) => n.n)
|
|
3774
3774
|
]);
|
|
3775
3775
|
const useStartupShell = canUseMarathonStartupShell(options);
|
|
@@ -2929,15 +2929,6 @@ const RECORD_READING_STEP_TYPES = /* @__PURE__ */ new Set([
|
|
|
2929
2929
|
]);
|
|
2930
2930
|
[...RECORD_WRITING_STEP_TYPES, ...RECORD_READING_STEP_TYPES];
|
|
2931
2931
|
/**
|
|
2932
|
-
* True when `event` was produced by `ownerExecutionId` rather than by a nested
|
|
2933
|
-
* execution relayed onto the same stream. An unknown owner (empty transcript,
|
|
2934
|
-
* or a caller with no id to compare against) admits every frame, so this can
|
|
2935
|
-
* never silently drop a stream it cannot classify.
|
|
2936
|
-
*/
|
|
2937
|
-
function isOwnExecutionFrame(event, ownerExecutionId) {
|
|
2938
|
-
return ownerExecutionId === void 0 || event.executionId === ownerExecutionId;
|
|
2939
|
-
}
|
|
2940
|
-
/**
|
|
2941
2932
|
* Agent-initiated API key requests. An agent files a REQUEST with its existing credential; nothing is minted yet.
|
|
2942
2933
|
* A human approves and can only NARROW the grant; the agent redeems with its PKCE verifier.
|
|
2943
2934
|
* The key is minted AT REDEMPTION and returned exactly once, so an approved-but-unclaimed request never leaves a live key on disk.
|
|
@@ -3787,39 +3778,57 @@ const coverageInstructionSchema = object({
|
|
|
3787
3778
|
polarity: _enum(["should", "should_not"])
|
|
3788
3779
|
});
|
|
3789
3780
|
object({ instructions: array(coverageInstructionSchema) });
|
|
3790
|
-
|
|
3791
|
-
|
|
3792
|
-
|
|
3793
|
-
|
|
3794
|
-
|
|
3795
|
-
|
|
3796
|
-
|
|
3797
|
-
|
|
3798
|
-
|
|
3799
|
-
|
|
3800
|
-
|
|
3801
|
-
|
|
3802
|
-
|
|
3803
|
-
|
|
3804
|
-
|
|
3805
|
-
|
|
3806
|
-
|
|
3807
|
-
|
|
3808
|
-
|
|
3809
|
-
|
|
3810
|
-
|
|
3811
|
-
|
|
3812
|
-
|
|
3813
|
-
|
|
3814
|
-
|
|
3815
|
-
|
|
3816
|
-
|
|
3817
|
-
|
|
3818
|
-
|
|
3819
|
-
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
|
|
3781
|
+
function flagship(flag, schema) {
|
|
3782
|
+
return {
|
|
3783
|
+
flag,
|
|
3784
|
+
schema
|
|
3785
|
+
};
|
|
3786
|
+
}
|
|
3787
|
+
function computed(schema) {
|
|
3788
|
+
return { schema };
|
|
3789
|
+
}
|
|
3790
|
+
/**
|
|
3791
|
+
* Every field of `GET /v1/users/profile` → `features`, and how the API evaluates it.
|
|
3792
|
+
* The response schema, the API's evaluation loop and the dashboard's `useProfileFeatureFlag` keys all derive from it.
|
|
3793
|
+
* @see apps/api/src/lib/profile-features.ts for the evaluators of `computed` fields.
|
|
3794
|
+
*/
|
|
3795
|
+
const USER_PROFILE_FEATURES = {
|
|
3796
|
+
enableAgentSkills: computed(boolean()),
|
|
3797
|
+
enableDashboardAssistant: flagship("enable-dashboard-assistant", boolean()),
|
|
3798
|
+
enableDecisionModelsDashboard: flagship("enable-decision-models-dashboard", boolean()),
|
|
3799
|
+
dashboardAssistantModel: computed(string()),
|
|
3800
|
+
enableChromeSurface: flagship("CHROME_SURFACE", boolean()),
|
|
3801
|
+
enableRuntypeApps: computed(boolean()),
|
|
3802
|
+
enableAgentKeyRequests: computed(boolean()),
|
|
3803
|
+
enableRuntown: computed(boolean()),
|
|
3804
|
+
enableMassiveWebRender: computed(boolean()),
|
|
3805
|
+
enableVoice: flagship("enable-voice", boolean()),
|
|
3806
|
+
enableOpenAiLiveVoice: computed(boolean().optional()),
|
|
3807
|
+
enableWorkspaceModel: computed(boolean()),
|
|
3808
|
+
enableEndUserUsageAnalytics: computed(boolean()),
|
|
3809
|
+
enableSelfServeOauthClients: computed(boolean()),
|
|
3810
|
+
workspaceModelReady: computed(boolean()),
|
|
3811
|
+
workspaceModelEligible: computed(boolean()),
|
|
3812
|
+
enableOnboardingIntentGate: flagship("enable-onboarding-intent-gate", boolean()),
|
|
3813
|
+
enableCanvasOnboarding: flagship("enable-canvas-onboarding", boolean()),
|
|
3814
|
+
enableWorkbench: flagship("enable-workbench", boolean()),
|
|
3815
|
+
modelCreditPromoMultiplier: computed(number().min(0).max(1).optional()),
|
|
3816
|
+
externalTelemetryAllowed: computed(boolean().optional()),
|
|
3817
|
+
simulationsAvailable: computed(boolean().optional()),
|
|
3818
|
+
enableDelegateToRuntype: computed(boolean().optional()),
|
|
3819
|
+
enableDelegateToOtto: computed(boolean().optional()),
|
|
3820
|
+
signalsConfigured: computed(boolean().optional()),
|
|
3821
|
+
enableCliSurface: computed(boolean().optional()),
|
|
3822
|
+
enableCliSurfacePublish: computed(boolean().optional()),
|
|
3823
|
+
enableCliSurfaceInstallDomain: computed(boolean().optional()),
|
|
3824
|
+
enableAgUiSurface: computed(boolean().optional()),
|
|
3825
|
+
enableClaudeManagedAgents: computed(boolean().optional()),
|
|
3826
|
+
enableMcpSurfaceSignIn: computed(boolean().optional()),
|
|
3827
|
+
enableMcpSurfaceDeviceGrant: computed(boolean().optional()),
|
|
3828
|
+
enableMcpSurfaceOobApprovals: computed(boolean().optional()),
|
|
3829
|
+
enableMcpSurfaceCustomerIdp: computed(boolean().optional())
|
|
3830
|
+
};
|
|
3831
|
+
object(Object.fromEntries(Object.entries(USER_PROFILE_FEATURES).map(([key, entry]) => [key, entry.schema])));
|
|
3823
3832
|
const SLACK_REQUIRED_BOT_SCOPES = [
|
|
3824
3833
|
"channels:history",
|
|
3825
3834
|
"channels:read",
|
|
@@ -5711,5 +5720,5 @@ const runProductStatsBucketSchema = object({
|
|
|
5711
5720
|
failed: count("Of those, the runs that read as failed in `/v1/runs` (the same predicate as `status=failed`).")
|
|
5712
5721
|
});
|
|
5713
5722
|
object({ byProductId: record(string(), runProductStatsBucketSchema).describe("One entry per named product the caller owns, a product with no flow or agent reading zero. Each sums `/v1/runs/stats` for its flows and for its agents, read one family at a time.") });
|
|
5714
|
-
export {
|
|
5723
|
+
export { managedDeploymentCreateRequestSchema as _, PRODUCT_EVENT_DEFAULT_NEXT_POLL_MS as a, pkceCodeVerifierSchema as b, TRACE_QUERY_DIMENSIONS as c, apiKeyFileSlug as d, apiKeyFileUsageHint as f, isProductEventName as g, isNonAIProvider as h, PRODUCT_EVENT_CURSOR_PATTERN as i, TRACE_SLICE_SPAN_KINDS as l, isForbiddenRequestedPermission as m, API_KEY_REQUEST_MAX_TTL_SECONDS as n, PRODUCT_EVENT_MAX_WAIT_MS as o, buildDashboardUrl as p, API_KEY_REQUEST_POLL_INTERVAL_MS as r, PRODUCT_EVENT_NAMES as s, API_KEY_FILE_FORMAT as t, apiKeyFileSchema as u, neutralizeCsvFormula as v, selectAccountId as x, pkceCodeChallengeSchema as y };
|
|
5715
5724
|
|
|
@@ -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-DDCuzXdL.js");
|
|
75
75
|
const { waitUntilExit } = render(React.createElement(InitApp, {
|
|
76
76
|
apiUrl: options.apiUrl,
|
|
77
77
|
onComplete: () => {}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { b as CredentialStore } from "./index.js";
|
|
3
|
-
import {
|
|
3
|
+
import { p as buildDashboardUrl, x as selectAccountId } from "./chunk-CAex1Rh7.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";
|
|
@@ -1,11 +1,11 @@
|
|
|
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 { n as addExecutionInputOptions, r as resolveExecutionInput, t as runExecution } from "./chunk-DrxtMway.js";
|
|
4
5
|
import { r as createCliClient } from "./chunk-BW2fg46T.js";
|
|
5
6
|
import { n as ensureAuth } from "./chunk-CJraEBVd.js";
|
|
6
7
|
import { a as printJson, i as printDetail, o as printList, r as getTotalCount, s as printNextCursorHint } from "./chunk-CcFCyqbB.js";
|
|
7
8
|
import { t as readJsonFile } from "./chunk-DGv7X9S_.js";
|
|
8
|
-
import { n as addExecutionInputOptions, r as resolveExecutionInput, t as runExecution } from "./chunk-D9EgwoD_.js";
|
|
9
9
|
import { c as buildEntityPullCommand, n as FLOW_ENSURE_SPEC, s as buildEntityEnsureCommand } from "./chunk-BirUxTtH.js";
|
|
10
10
|
import { Command } from "commander";
|
|
11
11
|
import chalk from "chalk";
|
|
@@ -1,11 +1,20 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import { g as isOwnExecutionFrame } from "./chunk-B9jVbuiZ.js";
|
|
3
2
|
import { r as createCliClient } from "./chunk-BW2fg46T.js";
|
|
4
3
|
import { n as ensureAuth } from "./chunk-CJraEBVd.js";
|
|
5
4
|
import { a as printJson } from "./chunk-CcFCyqbB.js";
|
|
6
5
|
import chalk from "chalk";
|
|
7
6
|
import { readFileSync } from "fs";
|
|
8
7
|
import { RuntypeApiError, parseFinalBuffer, parseSSEChunk } from "@runtypelabs/sdk";
|
|
8
|
+
// ../shared/dist/unified-execution-scope.mjs
|
|
9
|
+
/**
|
|
10
|
+
* True when `event` was produced by `ownerExecutionId` rather than by a nested
|
|
11
|
+
* execution relayed onto the same stream. An unknown owner (empty transcript,
|
|
12
|
+
* or a caller with no id to compare against) admits every frame, so this can
|
|
13
|
+
* never silently drop a stream it cannot classify.
|
|
14
|
+
*/
|
|
15
|
+
function isOwnExecutionFrame(event, ownerExecutionId) {
|
|
16
|
+
return ownerExecutionId === void 0 || event.executionId === ownerExecutionId;
|
|
17
|
+
}
|
|
9
18
|
// src/lib/execution-input.ts
|
|
10
19
|
function addExecutionInputOptions(command) {
|
|
11
20
|
return command.option("--inputs <json>", "Typed input variables as a JSON object").option("--inputs-file <file|->", "Read input variables from a JSON object file or stdin").option("-v, --variable <key=value>", "Set a string variable (repeatable)", collectVariables, []).option("--messages-file <file|->", "Read structured messages from a JSON array file or stdin");
|
|
@@ -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-0Wb6011-.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";
|
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-CLNd5H8s.js")).initCommand
|
|
75
75
|
},
|
|
76
76
|
{
|
|
77
77
|
name: "login",
|
|
@@ -101,13 +101,13 @@ const COMMAND_REGISTRY = [
|
|
|
101
101
|
name: "flows",
|
|
102
102
|
term: "flows",
|
|
103
103
|
description: "Manage flows",
|
|
104
|
-
load: async () => (await import("./chunk-
|
|
104
|
+
load: async () => (await import("./chunk-DU-nEDyD.js")).flowsCommand
|
|
105
105
|
},
|
|
106
106
|
{
|
|
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-BFChmNbs.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-BQnVGrKk.js")).sandboxDeploymentsCommand
|
|
147
147
|
},
|
|
148
148
|
{
|
|
149
149
|
name: "tools",
|
|
@@ -167,13 +167,13 @@ 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-BmVSI07X.js")).productsCommand
|
|
171
171
|
},
|
|
172
172
|
{
|
|
173
173
|
name: "dispatch",
|
|
174
174
|
term: "dispatch [options]",
|
|
175
175
|
description: "Execute a flow or agent via the dispatch API",
|
|
176
|
-
load: async () => (await import("./chunk-
|
|
176
|
+
load: async () => (await import("./chunk-BNsF5WHq.js")).dispatchCommand
|
|
177
177
|
},
|
|
178
178
|
{
|
|
179
179
|
name: "conversations",
|
|
@@ -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-BCGb7SFi.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-BNkTbX3o.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-Bacfd_R_.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-BNAJdYDs.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-BrvUbux6.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-BjLpgCks.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-0GRg7ZMI.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.8",
|
|
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.23.0",
|
|
17
17
|
"@runtypelabs/terminal-animations": "0.2.4",
|
|
18
18
|
"add-mcp": "2.6.0",
|
|
19
19
|
"chalk": "^5.3.0",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"@runtypelabs/mcp-cli": "0.4.1",
|
|
41
41
|
"@runtypelabs/model-execution": "0.42.2",
|
|
42
42
|
"@runtypelabs/persona": "4.34.0",
|
|
43
|
-
"@runtypelabs/shared": "3.
|
|
43
|
+
"@runtypelabs/shared": "3.120.0",
|
|
44
44
|
"@types/express": "^5.0.6",
|
|
45
45
|
"@types/micromatch": "^4.0.9",
|
|
46
46
|
"@types/node": "^25.3.3",
|