@tuttiai/types 0.3.0 → 0.4.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 +10 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -143,6 +143,13 @@ interface MemoryConfig {
|
|
|
143
143
|
/** Connection URL (e.g. DATABASE_URL for postgres). */
|
|
144
144
|
url?: string;
|
|
145
145
|
}
|
|
146
|
+
interface TelemetryConfig {
|
|
147
|
+
enabled: boolean;
|
|
148
|
+
/** OTLP HTTP endpoint (default: http://localhost:4318). */
|
|
149
|
+
endpoint?: string;
|
|
150
|
+
/** Extra headers sent with OTLP requests (e.g. auth tokens). */
|
|
151
|
+
headers?: Record<string, string>;
|
|
152
|
+
}
|
|
146
153
|
interface ScoreConfig {
|
|
147
154
|
name?: string;
|
|
148
155
|
description?: string;
|
|
@@ -153,6 +160,8 @@ interface ScoreConfig {
|
|
|
153
160
|
entry?: string;
|
|
154
161
|
/** Session storage configuration (default: in-memory). */
|
|
155
162
|
memory?: MemoryConfig;
|
|
163
|
+
/** OpenTelemetry tracing configuration. */
|
|
164
|
+
telemetry?: TelemetryConfig;
|
|
156
165
|
}
|
|
157
166
|
|
|
158
167
|
/** Session types for conversation state management. */
|
|
@@ -244,4 +253,4 @@ type TuttiEventHandler<T extends TuttiEventType = TuttiEventType> = (event: Extr
|
|
|
244
253
|
type: T;
|
|
245
254
|
}>) => void;
|
|
246
255
|
|
|
247
|
-
export type { AgentConfig, AgentMemoryConfig, AgentResult, BudgetConfig, ChatMessage, ChatRequest, ChatResponse, ContentBlock, LLMProvider, MemoryConfig, Permission, ScoreConfig, Session, SessionStore, StopReason, TextBlock, TokenUsage, Tool, ToolContext, ToolDefinition, ToolMemoryHelpers, ToolResult, ToolResultBlock, ToolUseBlock, TuttiEvent, TuttiEventHandler, TuttiEventType, Voice, VoiceContext };
|
|
256
|
+
export type { AgentConfig, AgentMemoryConfig, AgentResult, BudgetConfig, ChatMessage, ChatRequest, ChatResponse, ContentBlock, LLMProvider, MemoryConfig, Permission, ScoreConfig, Session, SessionStore, StopReason, TelemetryConfig, TextBlock, TokenUsage, Tool, ToolContext, ToolDefinition, ToolMemoryHelpers, ToolResult, ToolResultBlock, ToolUseBlock, TuttiEvent, TuttiEventHandler, TuttiEventType, Voice, VoiceContext };
|