@runtypelabs/sdk 1.17.0 → 1.17.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.
- package/dist/index.d.cts +10 -0
- package/dist/index.d.ts +10 -0
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -4184,6 +4184,16 @@ interface AgentTurnCompleteEvent extends BaseAgentEvent {
|
|
|
4184
4184
|
output: number;
|
|
4185
4185
|
};
|
|
4186
4186
|
cost?: number;
|
|
4187
|
+
/**
|
|
4188
|
+
* Per-model-invocation stop reason for this turn. `'max_tool_calls'`
|
|
4189
|
+
* indicates a capped-mid-loop tool call (model cut off before producing
|
|
4190
|
+
* follow-up text); `content` may be empty in that case. Omitted when
|
|
4191
|
+
* the server didn't report one — treat absence as "not reported"
|
|
4192
|
+
* (distinct from an explicit `'unknown'`).
|
|
4193
|
+
*
|
|
4194
|
+
* Mirrors `AgentTurnCompleteEvent.stopReason` in `@runtypelabs/shared`.
|
|
4195
|
+
*/
|
|
4196
|
+
stopReason?: 'end_turn' | 'max_tool_calls' | 'length' | 'content_filter' | 'error' | 'unknown';
|
|
4187
4197
|
}
|
|
4188
4198
|
/**
|
|
4189
4199
|
* Agent tool start event
|
package/dist/index.d.ts
CHANGED
|
@@ -4184,6 +4184,16 @@ interface AgentTurnCompleteEvent extends BaseAgentEvent {
|
|
|
4184
4184
|
output: number;
|
|
4185
4185
|
};
|
|
4186
4186
|
cost?: number;
|
|
4187
|
+
/**
|
|
4188
|
+
* Per-model-invocation stop reason for this turn. `'max_tool_calls'`
|
|
4189
|
+
* indicates a capped-mid-loop tool call (model cut off before producing
|
|
4190
|
+
* follow-up text); `content` may be empty in that case. Omitted when
|
|
4191
|
+
* the server didn't report one — treat absence as "not reported"
|
|
4192
|
+
* (distinct from an explicit `'unknown'`).
|
|
4193
|
+
*
|
|
4194
|
+
* Mirrors `AgentTurnCompleteEvent.stopReason` in `@runtypelabs/shared`.
|
|
4195
|
+
*/
|
|
4196
|
+
stopReason?: 'end_turn' | 'max_tool_calls' | 'length' | 'content_filter' | 'error' | 'unknown';
|
|
4187
4197
|
}
|
|
4188
4198
|
/**
|
|
4189
4199
|
* Agent tool start event
|
package/package.json
CHANGED