@runtypelabs/cli 2.21.0 → 2.21.1

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 +12 -1
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -15128,7 +15128,7 @@ function date4(params) {
15128
15128
  // ../../node_modules/.pnpm/zod@4.4.2/node_modules/zod/v4/classic/external.js
15129
15129
  config(en_default());
15130
15130
 
15131
- // ../shared/dist/chunk-TWJN5HII.mjs
15131
+ // ../shared/dist/chunk-ENDRXULJ.mjs
15132
15132
  var apiReleaseChannelSchema = external_exports.enum(["staging", "production"]);
15133
15133
  var API_ARTIFACT_SCRIPT_PATTERN = /^api-[a-z0-9][a-z0-9-]{0,62}$/;
15134
15134
  var apiArtifactScriptNameSchema = external_exports.string().regex(
@@ -16218,6 +16218,7 @@ var AGENT_CONTENT_CONFIG_KEYS = {
16218
16218
  model: true,
16219
16219
  systemPrompt: true,
16220
16220
  temperature: true,
16221
+ maxTokens: true,
16221
16222
  topP: true,
16222
16223
  topK: true,
16223
16224
  frequencyPenalty: true,
@@ -39252,6 +39253,16 @@ var agentRuntimeConfigSchema = external_exports.object({
39252
39253
  model: external_exports.string().optional(),
39253
39254
  systemPrompt: external_exports.string().optional(),
39254
39255
  temperature: external_exports.number().min(0).max(2).optional(),
39256
+ // Maximum output tokens (the model call's `maxOutputTokens`). A sibling of
39257
+ // the sampling params: a static generation budget that belongs on the saved
39258
+ // agent definition. Notably load-bearing for "thinking" default models that
39259
+ // share reasoning + answer tokens in one output budget (Moonshot requires
39260
+ // `>= 16k` or the visible answer can truncate to nothing after a long
39261
+ // reasoning trace) — the Product Generator pins `24000` for exactly this.
39262
+ // `buildVirtualFlow` already maps this onto the prompt step (defaulting to
39263
+ // 16384 when unset), so saving it here is all that's required for it to take
39264
+ // effect at execution time.
39265
+ maxTokens: external_exports.number().int().min(1).optional(),
39255
39266
  ...samplingConfigSchema,
39256
39267
  // Unified tools configuration (nested under 'tools').
39257
39268
  //
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runtypelabs/cli",
3
- "version": "2.21.0",
3
+ "version": "2.21.1",
4
4
  "description": "Command-line interface for Runtype AI platform",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -24,7 +24,7 @@
24
24
  "rosie-skills": "0.8.1",
25
25
  "yaml": "^2.9.0",
26
26
  "@runtypelabs/ink-components": "0.3.2",
27
- "@runtypelabs/sdk": "4.13.1",
27
+ "@runtypelabs/sdk": "4.14.0",
28
28
  "@runtypelabs/terminal-animations": "0.2.1"
29
29
  },
30
30
  "devDependencies": {
@@ -39,7 +39,7 @@
39
39
  "tsx": "^4.7.1",
40
40
  "typescript": "^5.3.3",
41
41
  "vitest": "^4.1.0",
42
- "@runtypelabs/shared": "1.29.0"
42
+ "@runtypelabs/shared": "1.30.0"
43
43
  },
44
44
  "engines": {
45
45
  "node": ">=22.0.0"