@runtypelabs/cli 2.12.4 → 2.12.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.
Files changed (2) hide show
  1. package/dist/index.js +7 -2
  2. package/package.json +3 -2
package/dist/index.js CHANGED
@@ -35208,7 +35208,12 @@ var DispatchRequestSchema = external_exports.object({
35208
35208
  allowOverwriteExternalChanges: external_exports.boolean().optional().default(false)
35209
35209
  }).optional(),
35210
35210
  flowTimeoutMs: external_exports.number().int().min(1e3).max(9e5).optional(),
35211
- stepTimeoutMs: external_exports.number().int().min(1e3).max(3e5).optional()
35211
+ stepTimeoutMs: external_exports.number().int().min(1e3).max(3e5).optional(),
35212
+ // Internal: opt-in Braintrust tracing for the execution. Undocumented;
35213
+ // intended for first-party flows (e.g. the dashboard's product
35214
+ // generator) where deeper observability is wanted without affecting
35215
+ // every other dispatch on the platform.
35216
+ _braintrustTracing: external_exports.boolean().optional()
35212
35217
  }).optional().default({
35213
35218
  streamResponse: true,
35214
35219
  recordMode: "existing",
@@ -41310,7 +41315,7 @@ function createSandboxLocalTool(client, provider, debugMode) {
41310
41315
  },
41311
41316
  {
41312
41317
  allowedToolTypes: ["custom"],
41313
- allowedSandboxProviders: [provider],
41318
+ allowedSandboxProviders: [provider === "runtype-sandbox" ? "cloudflare-sandbox" : provider],
41314
41319
  allowedLanguages: provider === "quickjs" || provider === "cloudflare-worker" ? ["javascript"] : ["javascript", "typescript", "python"],
41315
41320
  maxTimeoutMs: 3e4,
41316
41321
  maxCodeLength: 12e3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runtypelabs/cli",
3
- "version": "2.12.4",
3
+ "version": "2.12.5",
4
4
  "description": "Command-line interface for Runtype AI platform",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -21,7 +21,7 @@
21
21
  "micromatch": "^4.0.8",
22
22
  "yaml": "^2.8.3",
23
23
  "@runtypelabs/ink-components": "0.3.1",
24
- "@runtypelabs/sdk": "1.21.1",
24
+ "@runtypelabs/sdk": "1.21.2",
25
25
  "@runtypelabs/terminal-animations": "0.2.0"
26
26
  },
27
27
  "devDependencies": {
@@ -70,6 +70,7 @@
70
70
  "dev": "tsx watch src/index.ts",
71
71
  "dev:run": "tsx src/index.ts",
72
72
  "build": "tsup",
73
+ "typecheck": "tsc --noEmit",
73
74
  "start": "node dist/index.js",
74
75
  "type-check": "pnpm --filter @runtypelabs/sdk build && pnpm --filter @runtypelabs/ink-components build && tsc --noEmit",
75
76
  "test": "vitest",