deepseek-toolkit 0.1.0 → 0.1.1

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/index.d.cts CHANGED
@@ -1,6 +1,6 @@
1
1
  import OpenAI from 'openai';
2
2
  import { ToolDefinition, ToolHandler, RegisteredTool, ToolResult, ChatMessage, ResolvedConfig, ToolChoice, ChatResponse, StreamChunk, DeepSeekConfig, ModelName, ThinkingConfig, ReasoningEffort, BraveWebSearchOptions, BraveWebSearchResponse, BraveLLMContextOptions, BraveLLMContextResponse, BraveSearchDefaults } from './types/index.cjs';
3
- export { BRAVE_LLM_CONTEXT_URL, BRAVE_WEB_SEARCH_URL, BraveLLMContextResult, BraveWebResult, DEEPSEEK_BASE_URL, DEEPSEEK_BETA_BASE_URL, DEEPSEEK_MODELS, DEFAULT_MAX_TOOL_LOOP_ITERATIONS, Freshness, SafeSearch, ToolCall } from './types/index.cjs';
3
+ export { BRAVE_LLM_CONTEXT_URL, BRAVE_WEB_SEARCH_URL, BraveLLMContextSnippet, BraveWebResult, DEEPSEEK_BASE_URL, DEEPSEEK_BETA_BASE_URL, DEEPSEEK_MODELS, DEFAULT_MAX_TOOL_LOOP_ITERATIONS, Freshness, SafeSearch, ToolCall } from './types/index.cjs';
4
4
 
5
5
  declare class ToolManager {
6
6
  private tools;
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import OpenAI from 'openai';
2
2
  import { ToolDefinition, ToolHandler, RegisteredTool, ToolResult, ChatMessage, ResolvedConfig, ToolChoice, ChatResponse, StreamChunk, DeepSeekConfig, ModelName, ThinkingConfig, ReasoningEffort, BraveWebSearchOptions, BraveWebSearchResponse, BraveLLMContextOptions, BraveLLMContextResponse, BraveSearchDefaults } from './types/index.js';
3
- export { BRAVE_LLM_CONTEXT_URL, BRAVE_WEB_SEARCH_URL, BraveLLMContextResult, BraveWebResult, DEEPSEEK_BASE_URL, DEEPSEEK_BETA_BASE_URL, DEEPSEEK_MODELS, DEFAULT_MAX_TOOL_LOOP_ITERATIONS, Freshness, SafeSearch, ToolCall } from './types/index.js';
3
+ export { BRAVE_LLM_CONTEXT_URL, BRAVE_WEB_SEARCH_URL, BraveLLMContextSnippet, BraveWebResult, DEEPSEEK_BASE_URL, DEEPSEEK_BETA_BASE_URL, DEEPSEEK_MODELS, DEFAULT_MAX_TOOL_LOOP_ITERATIONS, Freshness, SafeSearch, ToolCall } from './types/index.js';
4
4
 
5
5
  declare class ToolManager {
6
6
  private tools;
@@ -183,21 +183,15 @@ interface BraveWebSearchResponse {
183
183
  more_results_available?: boolean;
184
184
  };
185
185
  }
186
- interface BraveLLMContextResult {
186
+ interface BraveLLMContextSnippet {
187
187
  title: string;
188
188
  url: string;
189
- description: string;
190
189
  snippets: string[];
191
- extra_snippets?: string[];
192
- language?: string;
193
190
  }
194
191
  interface BraveLLMContextResponse {
195
- results: BraveLLMContextResult[];
196
- query: {
197
- original: string;
198
- more_results_available?: boolean;
192
+ grounding: {
193
+ generic: BraveLLMContextSnippet[];
199
194
  };
200
- status?: string;
201
195
  }
202
196
 
203
- export { BRAVE_LLM_CONTEXT_URL, BRAVE_WEB_SEARCH_URL, type BraveLLMContextOptions, type BraveLLMContextResponse, type BraveLLMContextResult, type BraveSearchDefaults, type BraveWebResult, type BraveWebSearchOptions, type BraveWebSearchResponse, type ChatMessage, type ChatResponse, DEEPSEEK_BASE_URL, DEEPSEEK_BETA_BASE_URL, DEEPSEEK_MODELS, DEFAULT_MAX_TOOL_LOOP_ITERATIONS, type DeepSeekConfig, type Freshness, type ModelName, type ReasoningEffort, type RegisteredTool, type ResolvedConfig, type SafeSearch, type StreamChunk, type ThinkingConfig, type ToolCall, type ToolChoice, type ToolDefinition, type ToolHandler, type ToolResult };
197
+ export { BRAVE_LLM_CONTEXT_URL, BRAVE_WEB_SEARCH_URL, type BraveLLMContextOptions, type BraveLLMContextResponse, type BraveLLMContextSnippet, type BraveSearchDefaults, type BraveWebResult, type BraveWebSearchOptions, type BraveWebSearchResponse, type ChatMessage, type ChatResponse, DEEPSEEK_BASE_URL, DEEPSEEK_BETA_BASE_URL, DEEPSEEK_MODELS, DEFAULT_MAX_TOOL_LOOP_ITERATIONS, type DeepSeekConfig, type Freshness, type ModelName, type ReasoningEffort, type RegisteredTool, type ResolvedConfig, type SafeSearch, type StreamChunk, type ThinkingConfig, type ToolCall, type ToolChoice, type ToolDefinition, type ToolHandler, type ToolResult };
@@ -183,21 +183,15 @@ interface BraveWebSearchResponse {
183
183
  more_results_available?: boolean;
184
184
  };
185
185
  }
186
- interface BraveLLMContextResult {
186
+ interface BraveLLMContextSnippet {
187
187
  title: string;
188
188
  url: string;
189
- description: string;
190
189
  snippets: string[];
191
- extra_snippets?: string[];
192
- language?: string;
193
190
  }
194
191
  interface BraveLLMContextResponse {
195
- results: BraveLLMContextResult[];
196
- query: {
197
- original: string;
198
- more_results_available?: boolean;
192
+ grounding: {
193
+ generic: BraveLLMContextSnippet[];
199
194
  };
200
- status?: string;
201
195
  }
202
196
 
203
- export { BRAVE_LLM_CONTEXT_URL, BRAVE_WEB_SEARCH_URL, type BraveLLMContextOptions, type BraveLLMContextResponse, type BraveLLMContextResult, type BraveSearchDefaults, type BraveWebResult, type BraveWebSearchOptions, type BraveWebSearchResponse, type ChatMessage, type ChatResponse, DEEPSEEK_BASE_URL, DEEPSEEK_BETA_BASE_URL, DEEPSEEK_MODELS, DEFAULT_MAX_TOOL_LOOP_ITERATIONS, type DeepSeekConfig, type Freshness, type ModelName, type ReasoningEffort, type RegisteredTool, type ResolvedConfig, type SafeSearch, type StreamChunk, type ThinkingConfig, type ToolCall, type ToolChoice, type ToolDefinition, type ToolHandler, type ToolResult };
197
+ export { BRAVE_LLM_CONTEXT_URL, BRAVE_WEB_SEARCH_URL, type BraveLLMContextOptions, type BraveLLMContextResponse, type BraveLLMContextSnippet, type BraveSearchDefaults, type BraveWebResult, type BraveWebSearchOptions, type BraveWebSearchResponse, type ChatMessage, type ChatResponse, DEEPSEEK_BASE_URL, DEEPSEEK_BETA_BASE_URL, DEEPSEEK_MODELS, DEFAULT_MAX_TOOL_LOOP_ITERATIONS, type DeepSeekConfig, type Freshness, type ModelName, type ReasoningEffort, type RegisteredTool, type ResolvedConfig, type SafeSearch, type StreamChunk, type ThinkingConfig, type ToolCall, type ToolChoice, type ToolDefinition, type ToolHandler, type ToolResult };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "deepseek-toolkit",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "DeepSeek API toolkit with built-in Brave Search — batteries-included wrapper for chat, tools, and web search",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",