@ai-sdk/anthropic 4.0.62 → 4.0.65

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.
@@ -57,6 +57,7 @@ interface AnthropicAssistantMessage {
57
57
  interface AnthropicCompactionContent {
58
58
  type: 'compaction';
59
59
  content: string;
60
+ signature?: string;
60
61
  cache_control?: AnthropicCacheControl;
61
62
  }
62
63
  interface AnthropicTextContent {
@@ -525,6 +526,7 @@ declare const anthropicResponseSchema: _ai_sdk_provider_utils.LazySchema<{
525
526
  } | {
526
527
  type: "compaction";
527
528
  content?: string | null | undefined;
529
+ signature?: string | null | undefined;
528
530
  } | {
529
531
  type: "tool_use";
530
532
  id: string;
@@ -876,6 +878,10 @@ declare class AnthropicLanguageModel implements LanguageModelV4 {
876
878
  type: "compact_20260112";
877
879
  })[];
878
880
  } | undefined;
881
+ compaction?: {
882
+ instructions?: string | undefined;
883
+ type: "summarize";
884
+ } | undefined;
879
885
  safeguards?: {
880
886
  classifier_context?: Record<string, unknown> | undefined;
881
887
  type: "dangerous_tool_use";