@nuvin/nuvin-core 1.12.0 → 1.13.0

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/VERSION CHANGED
@@ -1,4 +1,4 @@
1
1
  {
2
- "version": "1.12.0",
3
- "commit": "cf55bdc"
2
+ "version": "1.13.0",
3
+ "commit": "76d9e11"
4
4
  }
package/dist/index.d.ts CHANGED
@@ -537,6 +537,12 @@ type CompletionParams = {
537
537
  reasoning?: {
538
538
  effort: string;
539
539
  };
540
+ thinking?: {
541
+ type: 'enabled';
542
+ budget_tokens: number;
543
+ } | {
544
+ type: 'disabled';
545
+ };
540
546
  usage?: {
541
547
  include?: boolean;
542
548
  };
@@ -885,6 +891,7 @@ type AgentConfig = {
885
891
  maxToolConcurrency?: number;
886
892
  requireToolApproval?: boolean;
887
893
  reasoningEffort?: string;
894
+ thinking?: string;
888
895
  strictToolValidation?: boolean;
889
896
  };
890
897
  declare const MessageRoles: {
@@ -2310,6 +2317,7 @@ declare abstract class BaseLLM implements LLMPort {
2310
2317
  generateCompletion(params: CompletionParams, signal?: AbortSignal): Promise<CompletionResult>;
2311
2318
  streamCompletion(params: CompletionParams, handlers?: {
2312
2319
  onChunk?: (delta: string, usage?: UsageData) => void;
2320
+ onReasoningChunk?: (delta: string) => void;
2313
2321
  onToolCallDelta?: (tc: ToolCall) => void;
2314
2322
  onStreamFinish?: (finishReason?: string, usage?: UsageData) => void;
2315
2323
  }, signal?: AbortSignal): Promise<CompletionResult>;