@alisio/sdk 0.1.0-alpha.2 → 0.1.0-alpha.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.d.ts +8 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -47,6 +47,12 @@ export type Message =
|
|
|
47
47
|
text: string;
|
|
48
48
|
calls: ToolCall[];
|
|
49
49
|
providerData?: unknown[];
|
|
50
|
+
/**
|
|
51
|
+
* The provider reported `finish_reason: "length"` (or an equivalent incomplete-stop signal):
|
|
52
|
+
* the response was cut by the output token budget. Per-answer text and tool calls are
|
|
53
|
+
* complete as far as they went; consumers decide whether to warn or accept a partial result.
|
|
54
|
+
*/
|
|
55
|
+
truncated?: boolean;
|
|
50
56
|
} | {
|
|
51
57
|
role: "tool";
|
|
52
58
|
callId: string;
|
|
@@ -401,6 +407,8 @@ export interface ChildSessionSpec {
|
|
|
401
407
|
maxTurns?: number;
|
|
402
408
|
timeoutMs?: number;
|
|
403
409
|
maxTokens?: number;
|
|
410
|
+
/** Per-call output token budget for the child; beats the global agent-loop budget. */
|
|
411
|
+
maxOutputTokens?: number;
|
|
404
412
|
}
|
|
405
413
|
export interface ChildSessionInfo {
|
|
406
414
|
id: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alisio/sdk",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.6",
|
|
4
4
|
"description": "Typed plugin SDK for Alisio: the stable contract for tools, commands, context, compaction and session hooks, model completions and storage. Types only plus tiny helpers; zero runtime dependencies.",
|
|
5
5
|
"author": "Gustavo Gutiérrez",
|
|
6
6
|
"license": "MIT",
|