@alisio/sdk 0.1.0-alpha.2 → 0.1.0-alpha.5

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.d.ts +6 -0
  2. 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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alisio/sdk",
3
- "version": "0.1.0-alpha.2",
3
+ "version": "0.1.0-alpha.5",
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",