@ax-llm/ax 14.0.29 → 14.0.31

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/index.d.cts CHANGED
@@ -247,6 +247,12 @@ type AxChatResponseResult = {
247
247
  index: number;
248
248
  content?: string;
249
249
  thought?: string;
250
+ /** Provider-agnostic thinking block with encryption flag */
251
+ thoughtBlock?: {
252
+ data: string;
253
+ encrypted: boolean;
254
+ signature?: string;
255
+ };
250
256
  name?: string;
251
257
  id?: string;
252
258
  functionCalls?: {
@@ -2466,7 +2472,7 @@ type AxAIAnthropicChatRequest = {
2466
2472
  signature?: string;
2467
2473
  } | {
2468
2474
  type: 'redacted_thinking';
2469
- thinking: string;
2475
+ data: string;
2470
2476
  signature?: string;
2471
2477
  })[];
2472
2478
  })[];
@@ -2510,7 +2516,8 @@ type AxAIAnthropicChatResponse = {
2510
2516
  signature?: string;
2511
2517
  } | {
2512
2518
  type: 'redacted_thinking';
2513
- thinking: string;
2519
+ thinking?: string;
2520
+ data?: string;
2514
2521
  signature?: string;
2515
2522
  })[];
2516
2523
  model: string;
package/index.d.ts CHANGED
@@ -247,6 +247,12 @@ type AxChatResponseResult = {
247
247
  index: number;
248
248
  content?: string;
249
249
  thought?: string;
250
+ /** Provider-agnostic thinking block with encryption flag */
251
+ thoughtBlock?: {
252
+ data: string;
253
+ encrypted: boolean;
254
+ signature?: string;
255
+ };
250
256
  name?: string;
251
257
  id?: string;
252
258
  functionCalls?: {
@@ -2466,7 +2472,7 @@ type AxAIAnthropicChatRequest = {
2466
2472
  signature?: string;
2467
2473
  } | {
2468
2474
  type: 'redacted_thinking';
2469
- thinking: string;
2475
+ data: string;
2470
2476
  signature?: string;
2471
2477
  })[];
2472
2478
  })[];
@@ -2510,7 +2516,8 @@ type AxAIAnthropicChatResponse = {
2510
2516
  signature?: string;
2511
2517
  } | {
2512
2518
  type: 'redacted_thinking';
2513
- thinking: string;
2519
+ thinking?: string;
2520
+ data?: string;
2514
2521
  signature?: string;
2515
2522
  })[];
2516
2523
  model: string;