@runtypelabs/cli 2.15.4 → 2.15.6
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/dist/index.js +23 -0
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -35878,6 +35878,15 @@ var MessageContentSchema = external_exports.union([
|
|
|
35878
35878
|
])
|
|
35879
35879
|
).min(1)
|
|
35880
35880
|
]);
|
|
35881
|
+
var InlineClientToolSchema = external_exports.object({
|
|
35882
|
+
name: external_exports.string().min(1),
|
|
35883
|
+
description: external_exports.string().min(1),
|
|
35884
|
+
parametersSchema: external_exports.object({
|
|
35885
|
+
type: external_exports.literal("object")
|
|
35886
|
+
}).passthrough(),
|
|
35887
|
+
origin: external_exports.enum(["webmcp", "sdk"]).optional(),
|
|
35888
|
+
pageOrigin: external_exports.string().optional()
|
|
35889
|
+
});
|
|
35881
35890
|
var DispatchRequestSchema = external_exports.object({
|
|
35882
35891
|
record: RecordInputSchema.optional(),
|
|
35883
35892
|
flow: FlowInputSchema.optional(),
|
|
@@ -35888,6 +35897,20 @@ var DispatchRequestSchema = external_exports.object({
|
|
|
35888
35897
|
content: MessageContentSchema
|
|
35889
35898
|
})
|
|
35890
35899
|
).optional(),
|
|
35900
|
+
/**
|
|
35901
|
+
* Per-dispatch client tools. The page (or any SDK caller) snapshots its
|
|
35902
|
+
* locally-executable tools at the start of every user turn and ships
|
|
35903
|
+
* them here. Merge precedence at the prompt executor is:
|
|
35904
|
+
*
|
|
35905
|
+
* saved (DB / step.config.tools) < runtimeTools < clientTools
|
|
35906
|
+
*
|
|
35907
|
+
* so a later turn can override a saved tool of the same name without
|
|
35908
|
+
* editing the surface. Complementary to in-engine `resolveTools`
|
|
35909
|
+
* (`packages/runtime/src/engine/agent-engine.ts:687`), which refreshes
|
|
35910
|
+
* tools per-iteration inside one agent loop — `clientTools[]` is the
|
|
35911
|
+
* wire-side counterpart that arrives per-dispatch.
|
|
35912
|
+
*/
|
|
35913
|
+
clientTools: external_exports.array(InlineClientToolSchema).optional(),
|
|
35891
35914
|
secrets: external_exports.record(external_exports.string(), external_exports.string()).optional(),
|
|
35892
35915
|
credentialProxies: external_exports.array(credentialProxyConfigSchema).max(10).optional(),
|
|
35893
35916
|
inputs: external_exports.record(external_exports.string(), external_exports.any()).optional().refine(
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@runtypelabs/cli",
|
|
3
|
-
"version": "2.15.
|
|
3
|
+
"version": "2.15.6",
|
|
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": "2.
|
|
24
|
+
"@runtypelabs/sdk": "2.1.1",
|
|
25
25
|
"@runtypelabs/terminal-animations": "0.2.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|