@runtypelabs/cli 2.16.13 → 2.16.14
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 +15 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -15438,6 +15438,14 @@ var externalAgentContextSchema = external_exports.object({
|
|
|
15438
15438
|
taskId: external_exports.string().optional()
|
|
15439
15439
|
});
|
|
15440
15440
|
var tokensSchema = external_exports.object({ input: external_exports.number(), output: external_exports.number() });
|
|
15441
|
+
var wireStopReasonSchema = external_exports.enum([
|
|
15442
|
+
"end_turn",
|
|
15443
|
+
"max_tool_calls",
|
|
15444
|
+
"length",
|
|
15445
|
+
"content_filter",
|
|
15446
|
+
"error",
|
|
15447
|
+
"unknown"
|
|
15448
|
+
]);
|
|
15441
15449
|
var estimatedContextBreakdownSchema = external_exports.object({
|
|
15442
15450
|
estimatedTotalTokens: external_exports.number(),
|
|
15443
15451
|
categories: external_exports.record(external_exports.string(), external_exports.object({ estimatedTokens: external_exports.number(), chars: external_exports.number() })),
|
|
@@ -15494,7 +15502,7 @@ var agentTurnCompleteEventSchema = external_exports.object({
|
|
|
15494
15502
|
content: external_exports.string().optional(),
|
|
15495
15503
|
tokens: tokensSchema.optional(),
|
|
15496
15504
|
cost: external_exports.number().optional(),
|
|
15497
|
-
stopReason:
|
|
15505
|
+
stopReason: wireStopReasonSchema.optional(),
|
|
15498
15506
|
estimatedContextBreakdown: estimatedContextBreakdownSchema.optional()
|
|
15499
15507
|
});
|
|
15500
15508
|
var agentToolStartEventSchema = external_exports.object({
|
|
@@ -15829,6 +15837,12 @@ var stepCompleteEventSchema = external_exports.object({
|
|
|
15829
15837
|
result: external_exports.unknown().optional(),
|
|
15830
15838
|
output: external_exports.unknown().optional(),
|
|
15831
15839
|
executionTime: external_exports.number().optional(),
|
|
15840
|
+
// Per-model-invocation finish reason. Only prompt steps carry it (the api
|
|
15841
|
+
// step-orchestrator raw-write spreads `...(emittedStopReason ? { stopReason } : {})`;
|
|
15842
|
+
// context steps omit it). Same `wireStopReasonSchema` vocabulary as
|
|
15843
|
+
// `agentTurnCompleteEventSchema.stopReason`. Persona reads it to attach a
|
|
15844
|
+
// stop-reason notice to the final assistant message.
|
|
15845
|
+
stopReason: wireStopReasonSchema.optional(),
|
|
15832
15846
|
stepId: external_exports.string().optional(),
|
|
15833
15847
|
stepName: external_exports.string().optional(),
|
|
15834
15848
|
toolContext: toolContextSchema.optional()
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@runtypelabs/cli",
|
|
3
|
-
"version": "2.16.
|
|
3
|
+
"version": "2.16.14",
|
|
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.
|
|
25
|
+
"@runtypelabs/sdk": "4.7.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.15.
|
|
39
|
+
"@runtypelabs/shared": "1.15.3"
|
|
40
40
|
},
|
|
41
41
|
"engines": {
|
|
42
42
|
"node": ">=22.0.0"
|