@runtypelabs/cli 2.16.10 → 2.16.12

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 +17 -16
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -36938,7 +36938,7 @@ var FLOW_STEP_TYPE_METADATA = {
36938
36938
  description: "Execute JavaScript code in a sandboxed environment. Access flow variables via the `input` object and return a result.",
36939
36939
  category: "data",
36940
36940
  isPrompt: false,
36941
- configHints: "script, outputVariable, sandboxProvider (cloudflare-worker|quickjs|daytona)"
36941
+ configHints: "script, outputVariable, sandboxProvider (cloudflare-worker (default)|quickjs|runtype-sandbox|daytona), language (required for runtype-sandbox: javascript|typescript|python)"
36942
36942
  },
36943
36943
  template: {
36944
36944
  description: "Render a Liquid template into HTML, email-html, markdown, PDF, or text. Prefer over a prompt step when the output is a structured document (invoice, receipt, email body, report) and the data is already available.",
@@ -37130,11 +37130,6 @@ var platformCatalogSchema = external_exports.object({
37130
37130
  category: external_exports.string()
37131
37131
  })
37132
37132
  ),
37133
- limits: external_exports.object({
37134
- maxFlowsPerProduct: external_exports.number().int().positive(),
37135
- maxStepsPerFlow: external_exports.number().int().positive(),
37136
- maxSurfacesPerProduct: external_exports.number().int().positive()
37137
- }),
37138
37133
  /**
37139
37134
  * Agent Skills — loadable SKILL.md context bundles a deployed agent pulls into
37140
37135
  * its working context on demand. Distinct from A2A AgentSkill (agent-card
@@ -37256,11 +37251,6 @@ var PLATFORM_CATALOG = {
37256
37251
  category: "data"
37257
37252
  }
37258
37253
  ],
37259
- limits: {
37260
- maxFlowsPerProduct: 10,
37261
- maxStepsPerFlow: 40,
37262
- maxSurfacesPerProduct: 8
37263
- },
37264
37254
  agentSkills: {
37265
37255
  rolloutFlag: "enable-agent-skills",
37266
37256
  description: "Loadable SKILL.md context bundles (Anthropic frontmatter + a runtype: capability block) that a deployed agent pulls into its working context on demand.",
@@ -37271,9 +37261,14 @@ var PLATFORM_CATALOG = {
37271
37261
  };
37272
37262
  var SURFACE_TYPE_METADATA = {
37273
37263
  chat: {
37274
- description: "Website widget, support bots, conversational interfaces",
37275
- useCases: ["customer support", "onboarding", "internal tools", "FAQ bots"],
37276
- examples: ["Support chatbot", "Sales assistant widget", "Internal help desk"],
37264
+ description: "Website widget, support bots, conversational interfaces. Uses Persona and can optionally accept WebMCP page tools discovered from document.modelContext.",
37265
+ useCases: ["customer support", "onboarding", "internal tools", "FAQ bots", "page-aware assistants"],
37266
+ examples: [
37267
+ "Support chatbot",
37268
+ "Sales assistant widget",
37269
+ "Internal help desk",
37270
+ "Storefront assistant with browser-side cart/search tools"
37271
+ ],
37277
37272
  traits: {
37278
37273
  streaming: "required",
37279
37274
  messagesMutable: false,
@@ -37617,8 +37612,7 @@ var PLATFORM_FEATURES_SUMMARY = (() => {
37617
37612
  - **Flow step types**: prompt, ${stepTypes}
37618
37613
  - **Agent Skills**: loadable SKILL.md context bundles an agent pulls in on demand via a \`skill:<slug>\` tool (L1 description \u2192 L2 body), optionally binding flows/subagents/tools. Gated behind the \`enable-agent-skills\` rollout flag. See the Agent Skills guide.
37619
37614
  - **Available models**: ${models}
37620
- - **Surface types**: ${PLATFORM_CATALOG.availableSurfaceTypes.join(", ")}
37621
- - **Limits**: max ${PLATFORM_CATALOG.limits.maxFlowsPerProduct} flows/product, max ${PLATFORM_CATALOG.limits.maxStepsPerFlow} steps/flow, max ${PLATFORM_CATALOG.limits.maxSurfacesPerProduct} surfaces/product`;
37615
+ - **Surface types**: ${PLATFORM_CATALOG.availableSurfaceTypes.join(", ")}`;
37622
37616
  })();
37623
37617
  var CATEGORY_DISPLAY_NAMES = {
37624
37618
  [BuiltInToolCategory.IMAGE_GENERATION]: "Image Generation",
@@ -37747,6 +37741,7 @@ var DOCUMENTATION_TOPIC_MAP = {
37747
37741
  "types-fpo": "runtype://types/fpo",
37748
37742
  "types-flow-steps": "runtype://types/flow-steps",
37749
37743
  "types-entities": "runtype://types/entities",
37744
+ "types-surface-configs": "runtype://types/surface-configs",
37750
37745
  "orthogonal-tools": "runtype://catalog/orthogonal-tools",
37751
37746
  "builtin-tools": "runtype://catalog/builtin-tools",
37752
37747
  "agent-skills": "runtype://catalog/skills",
@@ -38522,6 +38517,12 @@ var DispatchRequestSchema = external_exports.object({
38522
38517
  },
38523
38518
  { message: "Input keys cannot start with '_' (reserved for system variables)" }
38524
38519
  ),
38520
+ // End-user identity for memory profile sharding and per-end-user logic.
38521
+ // Exposed as `_endUser.*` in template variables. Distinct from `_user` (Runtype account holder).
38522
+ endUser: external_exports.object({
38523
+ id: external_exports.string().min(1),
38524
+ email: external_exports.string().optional()
38525
+ }).passthrough().optional(),
38525
38526
  options: external_exports.object({
38526
38527
  streamResponse: external_exports.boolean().optional().default(true),
38527
38528
  modelOverride: external_exports.string().optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runtypelabs/cli",
3
- "version": "2.16.10",
3
+ "version": "2.16.12",
4
4
  "description": "Command-line interface for Runtype AI platform",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -22,7 +22,7 @@
22
22
  "rosie-skills": "0.8.1",
23
23
  "yaml": "^2.9.0",
24
24
  "@runtypelabs/ink-components": "0.3.2",
25
- "@runtypelabs/sdk": "4.4.0",
25
+ "@runtypelabs/sdk": "4.6.0",
26
26
  "@runtypelabs/terminal-animations": "0.2.1"
27
27
  },
28
28
  "devDependencies": {
@@ -36,7 +36,7 @@
36
36
  "tsx": "^4.7.1",
37
37
  "typescript": "^5.3.3",
38
38
  "vitest": "^4.1.0",
39
- "@runtypelabs/shared": "1.14.1"
39
+ "@runtypelabs/shared": "1.15.0"
40
40
  },
41
41
  "engines": {
42
42
  "node": ">=22.0.0"