@runtypelabs/cli 2.44.0 → 2.44.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 -4
  2. package/package.json +3 -3
package/dist/index.js CHANGED
@@ -12279,7 +12279,7 @@ const CREATOR_TO_PROVIDER = {
12279
12279
  "unknown": "openai"
12280
12280
  };
12281
12281
  //#endregion
12282
- //#region ../shared/dist/chunk-AzlYBwl7.mjs
12282
+ //#region ../shared/dist/chunk-BFlozpfw.mjs
12283
12283
  /**
12284
12284
  * The reserved model-facing name of the agent state write tool
12285
12285
  * (`packages/runtime/src/engine/state-write-tool.ts`). The model is told to call
@@ -14406,6 +14406,11 @@ function agentSelectorViolation(agent) {
14406
14406
  }
14407
14407
  return null;
14408
14408
  }
14409
+ const AGENT_TARGET_RESOLUTIONS = [
14410
+ "alias",
14411
+ "version",
14412
+ "legacy-live-row"
14413
+ ];
14409
14414
  const CLIENT_EXECUTED_TOOL_TYPES = /* @__PURE__ */ new Set(["local", "webmcp"]);
14410
14415
  /** Is this tool executed by the CLIENT rather than the host? */
14411
14416
  function isClientExecutedToolType(toolType) {
@@ -15412,7 +15417,8 @@ const agentRuntimeConfigSchema = object({
15412
15417
  toolPool: array(string()),
15413
15418
  description: string().optional(),
15414
15419
  timeoutMs: number$1().int().min(1e3).max(6e5).optional()
15415
- }).optional()
15420
+ }).optional(),
15421
+ toolSearch: toolSearchConfigSchema.optional()
15416
15422
  }).optional(),
15417
15423
  artifacts: artifactConfigSchema.optional(),
15418
15424
  contextManagement: contextManagementAgentConfigSchema.optional(),
@@ -25114,10 +25120,12 @@ object({
25114
25120
  contextId: string().optional(),
25115
25121
  taskId: string().optional()
25116
25122
  }).optional(),
25117
- /** The published agent version the run executed; absent when no stored version ran. */
25123
+ /** The version recorded for the run; on `legacy-live-row` it is the row's version, not what ran. */
25118
25124
  agentVersionId: string().optional(),
25119
25125
  /** The release alias the version was resolved through (`live`, `staging`, ...), when one was. */
25120
- alias: string().optional()
25126
+ alias: string().optional(),
25127
+ /** How the run selected its definition, as `GET /v1/executions/{id}/status` reports it. */
25128
+ agentTargetResolution: _enum(AGENT_TARGET_RESOLUTIONS).optional()
25121
25129
  });
25122
25130
  object({
25123
25131
  recordId: string().optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@runtypelabs/cli",
3
- "version": "2.44.0",
3
+ "version": "2.44.1",
4
4
  "description": "Command-line interface for Runtype AI platform",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -11,7 +11,7 @@
11
11
  "@modelcontextprotocol/client": "2.0.0",
12
12
  "@modelcontextprotocol/core": "2.0.0",
13
13
  "@runtypelabs/ink-components": "0.3.9",
14
- "@runtypelabs/sdk": "10.8.0",
14
+ "@runtypelabs/sdk": "10.8.1",
15
15
  "@runtypelabs/terminal-animations": "0.2.4",
16
16
  "add-mcp": "2.0.0",
17
17
  "chalk": "^5.3.0",
@@ -33,7 +33,7 @@
33
33
  "devDependencies": {
34
34
  "@modelcontextprotocol/server": "2.0.0",
35
35
  "@runtypelabs/persona": "4.24.0",
36
- "@runtypelabs/shared": "3.68.1",
36
+ "@runtypelabs/shared": "3.68.2",
37
37
  "@types/express": "^5.0.6",
38
38
  "@types/micromatch": "^4.0.9",
39
39
  "@types/node": "^25.3.3",