@combycode/llm-sdk 1.0.0 → 1.2.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/index.d.ts CHANGED
@@ -46,10 +46,10 @@ export type { AudioFormat, AudioOptions, AudioInput } from './llm/types/audio';
46
46
  export { contentParts, contentText } from './llm/types/messages';
47
47
  export type { Role, MessageOrigin, ContentPart, TextPart, ImagePart, DocumentPart, AudioPart, VideoPart, ToolCallPart, ToolResultPart, ImageOutputPart, AudioOutputPart, VideoOutputPart, MediaOutputPart, DataSource, Content, Message } from './llm/types/messages';
48
48
  export { isFunctionTool, isBuiltinTool } from './llm/types/tools';
49
- export type { FunctionTool, BuiltinTool, Tool, ToolChoice, JsonSchema } from './llm/types/tools';
49
+ export type { FunctionTool, BuiltinTool, McpToolParams, Tool, ToolChoice, JsonSchema } from './llm/types/tools';
50
50
  export { emptyUsage } from './llm/types/response';
51
- export type { CompletionResponse, FinishReason, Usage } from './llm/types/response';
52
- export type { NormalizedRequest, ThinkingConfig, CacheConfig } from './llm/types/request';
51
+ export type { CompletionResponse, FileOutput, FinishReason, Usage } from './llm/types/response';
52
+ export type { NormalizedRequest, ReasoningContext, ThinkingConfig, CacheConfig } from './llm/types/request';
53
53
  export type { MediaStreamType, StreamEvent } from './llm/types/stream';
54
54
  export type { ExecuteOptions } from './llm/types/options';
55
55
  export type { ProviderName, ApiType, ProviderConfig, ProviderHttpRequest, ProviderAdapter } from './llm/types/provider';
@@ -98,7 +98,7 @@ export type { ConversationHistoryConfig, HistoryEntry, HistorySnapshot } from '.
98
98
  export { AgentLoop } from './agent/loop';
99
99
  export type { AgentLoopConfig } from './agent/loop-config';
100
100
  export type { AgentLoopSnapshot, AgentRunReport, AgentStreamEvent, AgentTool, ContentClass, LearnInput, StepReport, TokenCountContext, TokenCounter, ToolCallReport, ToolExecutionContext } from './agent/types';
101
- export type { Guardrail, GuardrailDecision, GuardrailPass, GuardrailTrip, GuardrailCheckContext, InputGuardrailContext, OutputGuardrailContext, GuardrailTriggeredContext } from './agent/guardrail-types';
101
+ export type { Guardrail, GuardrailDecision, GuardrailPass, GuardrailTrip, GuardrailCheckContext, InputGuardrailContext, OutputGuardrailContext, GuardrailTriggeredContext, ToolInputGuardrail, ToolInputGuardrailContext, ToolInputGuardrailDecision } from './agent/guardrail-types';
102
102
  export { BearerKeyAuth } from './server/auth';
103
103
  export type { AuthPlugin, AuthVerifyResult } from './server/auth';
104
104
  export { dispatch } from './server/dispatch';
@@ -247,6 +247,7 @@ export { embed } from './helpers/embed';
247
247
  export type { EmbedOptions } from './helpers/embed';
248
248
  export { moderate } from './helpers/moderate';
249
249
  export type { ModerateOptions, ModerationCategories, ModerationContentPart, ModerationImageUrlPart, ModerationResult, ModerationScores, ModerationTextPart } from './helpers/moderate-types';
250
+ export type { ModerationEntry, ModerationReport, ModerationRequest, ModerationStreamOptions, ModerationStreamStrategy } from './llm/moderation/types';
250
251
  export { listModels, listModelsLive, clearLiveModelsCache } from './helpers/models';
251
252
  export type { ListModelsLiveOptions } from './helpers/models';
252
253
  export { select, selectModels } from './helpers/select-model';