@absolutejs/absolute 0.19.0-beta.260 → 0.19.0-beta.261

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.
@@ -19,6 +19,7 @@ export type AIDoneChunk = {
19
19
  export type AIThinkingChunk = {
20
20
  type: 'thinking';
21
21
  content: string;
22
+ signature?: string;
22
23
  };
23
24
  export type AIImageChunk = {
24
25
  type: 'image';
@@ -60,6 +61,7 @@ export type AIProviderContentBlock = {
60
61
  } | {
61
62
  type: 'thinking';
62
63
  thinking: string;
64
+ signature?: string;
63
65
  } | {
64
66
  type: 'image';
65
67
  source: AIImageSource;
@@ -10,6 +10,8 @@ export type AnthropicSSEState = {
10
10
  buffer: string;
11
11
  currentToolId: string;
12
12
  currentToolName: string;
13
+ isThinkingBlock: boolean;
14
+ thinkingSignature: string;
13
15
  toolInputJson: string;
14
16
  usage: {
15
17
  inputTokens: number;
package/package.json CHANGED
@@ -265,5 +265,5 @@
265
265
  "typecheck": "bun run src/cli/index.ts typecheck --config example/absolute.config.ts"
266
266
  },
267
267
  "types": "./dist/src/index.d.ts",
268
- "version": "0.19.0-beta.260"
268
+ "version": "0.19.0-beta.261"
269
269
  }
package/types/ai.ts CHANGED
@@ -27,6 +27,7 @@ export type AIDoneChunk = {
27
27
  export type AIThinkingChunk = {
28
28
  type: 'thinking';
29
29
  content: string;
30
+ signature?: string;
30
31
  };
31
32
 
32
33
  export type AIImageChunk = {
@@ -73,7 +74,7 @@ export type AIDocumentSource = {
73
74
 
74
75
  export type AIProviderContentBlock =
75
76
  | { type: 'text'; content: string }
76
- | { type: 'thinking'; thinking: string }
77
+ | { type: 'thinking'; thinking: string; signature?: string }
77
78
  | { type: 'image'; source: AIImageSource }
78
79
  | { type: 'document'; source: AIDocumentSource; name?: string }
79
80
  | { type: 'tool_use'; id: string; name: string; input: unknown }
@@ -12,6 +12,8 @@ export type AnthropicSSEState = {
12
12
  buffer: string;
13
13
  currentToolId: string;
14
14
  currentToolName: string;
15
+ isThinkingBlock: boolean;
16
+ thinkingSignature: string;
15
17
  toolInputJson: string;
16
18
  usage: { inputTokens: number; outputTokens: number } | undefined;
17
19
  };