@anvia/core 0.13.5 → 0.15.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.
Files changed (68) hide show
  1. package/dist/agent/index.d.ts +11 -11
  2. package/dist/agent/index.js +8 -8
  3. package/dist/{agent-W8sT6P5T.d.ts → agent-C1yoidvI.d.ts} +15 -8
  4. package/dist/audio-generation/index.d.ts +1 -1
  5. package/dist/{chunk-6FLW6XS6.js → chunk-7NULHGAO.js} +3 -3
  6. package/dist/{chunk-XH6LZMGH.js → chunk-BIYXGG33.js} +6 -6
  7. package/dist/chunk-BIYXGG33.js.map +1 -0
  8. package/dist/{chunk-TTKCFLW6.js → chunk-BPU264XB.js} +6 -6
  9. package/dist/{chunk-3LB36HON.js → chunk-CNANX5OL.js} +52 -17
  10. package/dist/chunk-CNANX5OL.js.map +1 -0
  11. package/dist/{chunk-77D7XBWL.js → chunk-DC2GJDPR.js} +2 -2
  12. package/dist/{chunk-LJT67CFB.js → chunk-GCZIIYZW.js} +7 -6
  13. package/dist/chunk-GCZIIYZW.js.map +1 -0
  14. package/dist/{chunk-F3C5653H.js → chunk-I7TM7TKX.js} +4 -4
  15. package/dist/{chunk-3LMKHICK.js → chunk-MEUZ4NBO.js} +2 -2
  16. package/dist/{chunk-IBKCOBAS.js → chunk-QTZHDPQX.js} +2 -2
  17. package/dist/{chunk-FE5QL4G3.js → chunk-TIV3WFSR.js} +1 -1
  18. package/dist/{chunk-FE5QL4G3.js.map → chunk-TIV3WFSR.js.map} +1 -1
  19. package/dist/completion/index.d.ts +3 -3
  20. package/dist/completion/index.js +2 -2
  21. package/dist/evals/index.d.ts +8 -8
  22. package/dist/evals/index.js +9 -9
  23. package/dist/extractor/index.d.ts +8 -8
  24. package/dist/extractor/index.js +9 -9
  25. package/dist/guardrails/index.d.ts +1 -1
  26. package/dist/hooks/index.d.ts +3 -3
  27. package/dist/image-generation/index.d.ts +1 -1
  28. package/dist/{index-BtyK30mL.d.ts → index-VH93vDXo.d.ts} +32 -10
  29. package/dist/index.d.ts +12 -12
  30. package/dist/index.js +11 -11
  31. package/dist/internal/agent.d.ts +8 -8
  32. package/dist/internal/agent.js +7 -7
  33. package/dist/{json-BOHFS4AG.d.ts → json-CaCUxJqG.d.ts} +1 -1
  34. package/dist/loaders/index.d.ts +1 -1
  35. package/dist/mcp/index.d.ts +4 -4
  36. package/dist/memory/index.d.ts +3 -3
  37. package/dist/{middleware-D6p0Uzky.d.ts → middleware-CGEYQndv.d.ts} +3 -3
  38. package/dist/observability/index.d.ts +3 -3
  39. package/dist/pipeline/index.d.ts +8 -8
  40. package/dist/request/index.d.ts +8 -8
  41. package/dist/request/index.js +6 -6
  42. package/dist/skills/index.d.ts +4 -4
  43. package/dist/skills/index.js +5 -5
  44. package/dist/{think-tool-B7p_7_5P.d.ts → think-tool-DABDgW_E.d.ts} +1 -1
  45. package/dist/tool/index.d.ts +5 -5
  46. package/dist/tool/index.js +5 -5
  47. package/dist/{tool-DhT6kR0Z.d.ts → tool-tHPNeWMR.d.ts} +2 -1
  48. package/dist/transcription/index.d.ts +1 -1
  49. package/dist/{types-9TeQF79I.d.ts → types-BHxJcHMk.d.ts} +1 -1
  50. package/dist/{types-CibT6_rS.d.ts → types-BbLcbRqM.d.ts} +2 -2
  51. package/dist/{types-BNq9tWdA.d.ts → types-Byo50mwr.d.ts} +4 -1
  52. package/dist/{types-BjPcB4PA.d.ts → types-D78Vnorg.d.ts} +1 -1
  53. package/dist/{types-CaXSh3vK.d.ts → types-DPYoqg8M.d.ts} +1 -1
  54. package/dist/{types-Cz24JCei.d.ts → types-DW1Va3vx.d.ts} +1 -1
  55. package/dist/ui/index.d.ts +1 -1
  56. package/dist/ui/index.js +2 -2
  57. package/dist/vector-store/index.d.ts +4 -4
  58. package/dist/vector-store/index.js +2 -2
  59. package/package.json +1 -1
  60. package/dist/chunk-3LB36HON.js.map +0 -1
  61. package/dist/chunk-LJT67CFB.js.map +0 -1
  62. package/dist/chunk-XH6LZMGH.js.map +0 -1
  63. /package/dist/{chunk-6FLW6XS6.js.map → chunk-7NULHGAO.js.map} +0 -0
  64. /package/dist/{chunk-TTKCFLW6.js.map → chunk-BPU264XB.js.map} +0 -0
  65. /package/dist/{chunk-77D7XBWL.js.map → chunk-DC2GJDPR.js.map} +0 -0
  66. /package/dist/{chunk-F3C5653H.js.map → chunk-I7TM7TKX.js.map} +0 -0
  67. /package/dist/{chunk-3LMKHICK.js.map → chunk-MEUZ4NBO.js.map} +0 -0
  68. /package/dist/{chunk-IBKCOBAS.js.map → chunk-QTZHDPQX.js.map} +0 -0
@@ -1,4 +1,4 @@
1
- export { f as AgentGenerationEndArgs, g as AgentGenerationErrorArgs, h as AgentGenerationObserver, i as AgentGenerationStartArgs, j as AgentGenerationUpdateArgs, b as AgentObserver, d as AgentObserverRegistration, k as AgentRunEndArgs, l as AgentRunErrorArgs, m as AgentRunEventArgs, n as AgentRunObserver, o as AgentRunPromptRef, p as AgentRunStartArgs, q as AgentToolEndArgs, r as AgentToolErrorArgs, s as AgentToolObserver, t as AgentToolStartArgs, u as AgentToolStreamEventArgs, v as AgentTraceInfo, c as AgentTraceOptions, O as ObserveOptions, w as createObserver } from '../index-BtyK30mL.js';
2
- import '../types-BNq9tWdA.js';
1
+ export { m as AgentGenerationEndArgs, n as AgentGenerationErrorArgs, o as AgentGenerationObserver, p as AgentGenerationStartArgs, q as AgentGenerationUpdateArgs, i as AgentObserver, k as AgentObserverRegistration, r as AgentRunEndArgs, s as AgentRunErrorArgs, t as AgentRunEventArgs, u as AgentRunObserver, v as AgentRunPromptRef, w as AgentRunStartArgs, x as AgentToolEndArgs, y as AgentToolErrorArgs, z as AgentToolObserver, B as AgentToolStartArgs, C as AgentToolStreamEventArgs, D as AgentTraceInfo, j as AgentTraceOptions, O as ObserveOptions, E as createObserver } from '../index-VH93vDXo.js';
2
+ import '../types-Byo50mwr.js';
3
3
  import '../guardrails/index.js';
4
- import '../tool-DhT6kR0Z.js';
4
+ import '../tool-tHPNeWMR.js';
@@ -1,15 +1,15 @@
1
1
  import { z } from 'zod';
2
- import { A as Agent } from '../agent-W8sT6P5T.js';
3
- import { J as JsonObject, C as CompletionModel } from '../types-BNq9tWdA.js';
2
+ import { A as Agent } from '../agent-C1yoidvI.js';
3
+ import { J as JsonObject, C as CompletionModel } from '../types-Byo50mwr.js';
4
4
  import { Extractor } from '../extractor/index.js';
5
5
  import '../guardrails/index.js';
6
- import '../types-BjPcB4PA.js';
7
- import '../types-CaXSh3vK.js';
8
- import '../index-BtyK30mL.js';
9
- import '../tool-DhT6kR0Z.js';
10
- import '../middleware-D6p0Uzky.js';
6
+ import '../types-D78Vnorg.js';
7
+ import '../types-DPYoqg8M.js';
8
+ import '../index-VH93vDXo.js';
9
+ import '../tool-tHPNeWMR.js';
10
+ import '../middleware-CGEYQndv.js';
11
11
  import '../types-DHHZztGO.js';
12
- import '../types-9TeQF79I.js';
12
+ import '../types-BHxJcHMk.js';
13
13
  import '../zod-schema-C7F4clpm.js';
14
14
 
15
15
  /** Minimal interface for anything that can run as a pipeline stage. */
@@ -1,13 +1,13 @@
1
- import { M as Message } from '../types-BNq9tWdA.js';
2
- import { d as ToolApprovalRequest } from '../tool-DhT6kR0Z.js';
3
- export { C as CompletionRetryContext, a as CompletionRetryOptions, P as PromptRequest } from '../agent-W8sT6P5T.js';
4
- export { A as AgentChildStreamEvent, e as AgentDeltaEvent, a as AgentStreamEvent, P as PromptResponse } from '../index-BtyK30mL.js';
1
+ import { M as Message } from '../types-Byo50mwr.js';
2
+ import { d as ToolApprovalRequest } from '../tool-tHPNeWMR.js';
3
+ export { C as CompletionRetryContext, a as CompletionRetryOptions, P as PromptRequest } from '../agent-C1yoidvI.js';
4
+ export { A as AgentChildStreamEvent, a as AgentChildStreamEventWithToolCallDeltas, b as AgentChildStreamEventWithoutToolCallDeltas, l as AgentDeltaEvent, c as AgentErrorStreamEvent, d as AgentStreamEvent, e as AgentStreamEventWithToolCallDeltas, f as AgentStreamEventWithoutToolCallDeltas, g as AgentStreamOptions, h as AgentToolCallDeltaEvent, P as PromptResponse } from '../index-VH93vDXo.js';
5
5
  import '../guardrails/index.js';
6
- import '../types-BjPcB4PA.js';
7
- import '../types-CaXSh3vK.js';
8
- import '../middleware-D6p0Uzky.js';
6
+ import '../types-D78Vnorg.js';
7
+ import '../types-DPYoqg8M.js';
8
+ import '../middleware-CGEYQndv.js';
9
9
  import '../types-DHHZztGO.js';
10
- import '../types-9TeQF79I.js';
10
+ import '../types-BHxJcHMk.js';
11
11
 
12
12
  declare class MaxTurnsError extends Error {
13
13
  readonly maxTurns: number;
@@ -3,16 +3,16 @@ import {
3
3
  PromptCancelledError,
4
4
  PromptRequest,
5
5
  ToolApprovalRequiredError
6
- } from "../chunk-3LB36HON.js";
6
+ } from "../chunk-CNANX5OL.js";
7
7
  import "../chunk-XUUY2L2D.js";
8
- import "../chunk-XH6LZMGH.js";
9
- import "../chunk-F3C5653H.js";
8
+ import "../chunk-BIYXGG33.js";
9
+ import "../chunk-I7TM7TKX.js";
10
10
  import "../chunk-2ODTMRHP.js";
11
+ import "../chunk-QTZHDPQX.js";
12
+ import "../chunk-TIV3WFSR.js";
13
+ import "../chunk-WQKHFADH.js";
11
14
  import "../chunk-YBBD4HZ3.js";
12
15
  import "../chunk-OIMLU4SF.js";
13
- import "../chunk-IBKCOBAS.js";
14
- import "../chunk-FE5QL4G3.js";
15
- import "../chunk-WQKHFADH.js";
16
16
  import "../chunk-CWUJUSOS.js";
17
17
  export {
18
18
  MaxTurnsError,
@@ -1,7 +1,7 @@
1
- import { b as SkillLoader, a as SkillSet } from '../types-Cz24JCei.js';
2
- export { c as Skill, S as SkillValidationError, d as SkillValidationIssue } from '../types-Cz24JCei.js';
3
- import '../tool-DhT6kR0Z.js';
4
- import '../types-BNq9tWdA.js';
1
+ import { b as SkillLoader, a as SkillSet } from '../types-DW1Va3vx.js';
2
+ export { c as Skill, S as SkillValidationError, d as SkillValidationIssue } from '../types-DW1Va3vx.js';
3
+ import '../tool-tHPNeWMR.js';
4
+ import '../types-Byo50mwr.js';
5
5
 
6
6
  declare function loadSkills(loaders: SkillLoader | SkillLoader[]): Promise<SkillSet>;
7
7
 
@@ -2,15 +2,15 @@ import {
2
2
  SkillValidationError,
3
3
  loadSkills,
4
4
  skill
5
- } from "../chunk-77D7XBWL.js";
5
+ } from "../chunk-DC2GJDPR.js";
6
6
  import "../chunk-CQNNSZPG.js";
7
7
  import "../chunk-YK4WAAS4.js";
8
- import "../chunk-XH6LZMGH.js";
9
- import "../chunk-F3C5653H.js";
8
+ import "../chunk-BIYXGG33.js";
9
+ import "../chunk-I7TM7TKX.js";
10
+ import "../chunk-TIV3WFSR.js";
11
+ import "../chunk-WQKHFADH.js";
10
12
  import "../chunk-YBBD4HZ3.js";
11
13
  import "../chunk-OIMLU4SF.js";
12
- import "../chunk-FE5QL4G3.js";
13
- import "../chunk-WQKHFADH.js";
14
14
  export {
15
15
  SkillValidationError,
16
16
  loadSkills,
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  import { Z as ZodSchema } from './zod-schema-C7F4clpm.js';
3
- import { c as ToolApprovalPolicy, f as ToolCallContext, T as Tool } from './tool-DhT6kR0Z.js';
3
+ import { c as ToolApprovalPolicy, f as ToolCallContext, T as Tool } from './tool-tHPNeWMR.js';
4
4
 
5
5
  type CreateToolOptions<InputSchema extends ZodSchema, OutputSchema extends ZodSchema | undefined = undefined, Output = unknown> = {
6
6
  name: string;
@@ -1,11 +1,11 @@
1
- export { b as CreateThinkToolOptions, C as CreateToolOptions, c as createThinkTool, a as createTool } from '../think-tool-B7p_7_5P.js';
2
- export { A as AgentMiddleware, C as CompletionRequestMiddlewareArgs, a as CompletionRequestMiddlewareResult, b as CompletionResponseMiddlewareArgs, c as CompletionResponseMiddlewareResult, D as DynamicToolIndex, E as EmbedToolsOptions, T as ToolInputMiddlewareArgs, d as ToolInputMiddlewareResult, e as ToolMiddleware, f as ToolOutputMiddlewareArgs, g as ToolOutputMiddlewareResult, h as ToolResultMiddlewareArgs, k as ToolSearchDocument, l as ToolSet, i as createMiddleware, m as createToolIndex, j as createToolMiddleware, n as embedTools, o as isDynamicToolIndex } from '../middleware-D6p0Uzky.js';
3
- export { A as AnyTool, N as NormalizedToolOutput, T as Tool, a as ToolApprovalContext, b as ToolApprovalDecision, c as ToolApprovalPolicy, d as ToolApprovalRequest, h as ToolApprovalRunContext, e as ToolApprovalsOptions, f as ToolCallContext, g as ToolCallStreamEvent, i as ToolOutput, n as normalizeToolResultOutput, p as parseToolArgs, t as toolResultContentToText } from '../tool-DhT6kR0Z.js';
4
- export { t as isToolResultContentArray, u as serializeToolOutput } from '../types-BNq9tWdA.js';
1
+ export { b as CreateThinkToolOptions, C as CreateToolOptions, c as createThinkTool, a as createTool } from '../think-tool-DABDgW_E.js';
2
+ export { A as AgentMiddleware, C as CompletionRequestMiddlewareArgs, a as CompletionRequestMiddlewareResult, b as CompletionResponseMiddlewareArgs, c as CompletionResponseMiddlewareResult, D as DynamicToolIndex, E as EmbedToolsOptions, T as ToolInputMiddlewareArgs, d as ToolInputMiddlewareResult, e as ToolMiddleware, f as ToolOutputMiddlewareArgs, g as ToolOutputMiddlewareResult, h as ToolResultMiddlewareArgs, k as ToolSearchDocument, l as ToolSet, i as createMiddleware, m as createToolIndex, j as createToolMiddleware, n as embedTools, o as isDynamicToolIndex } from '../middleware-CGEYQndv.js';
3
+ export { A as AnyTool, N as NormalizedToolOutput, T as Tool, a as ToolApprovalContext, b as ToolApprovalDecision, c as ToolApprovalPolicy, d as ToolApprovalRequest, h as ToolApprovalRunContext, e as ToolApprovalsOptions, f as ToolCallContext, g as ToolCallStreamEvent, i as ToolOutput, n as normalizeToolResultOutput, p as parseToolArgs, t as toolResultContentToText } from '../tool-tHPNeWMR.js';
4
+ export { t as isToolResultContentArray, u as serializeToolOutput } from '../types-Byo50mwr.js';
5
5
  import 'zod';
6
6
  import '../zod-schema-C7F4clpm.js';
7
7
  import '../types-DHHZztGO.js';
8
- import '../types-9TeQF79I.js';
8
+ import '../types-BHxJcHMk.js';
9
9
 
10
10
  declare class ToolCallError extends Error {
11
11
  readonly cause?: unknown | undefined;
@@ -13,17 +13,17 @@ import {
13
13
  normalizeToolResultOutput,
14
14
  parseToolArgs,
15
15
  toolResultContentToText
16
- } from "../chunk-XH6LZMGH.js";
16
+ } from "../chunk-BIYXGG33.js";
17
17
  import {
18
18
  createTool
19
- } from "../chunk-F3C5653H.js";
20
- import "../chunk-YBBD4HZ3.js";
21
- import "../chunk-OIMLU4SF.js";
19
+ } from "../chunk-I7TM7TKX.js";
22
20
  import {
23
21
  isToolResultContentArray,
24
22
  serializeToolResultOutput
25
- } from "../chunk-FE5QL4G3.js";
23
+ } from "../chunk-TIV3WFSR.js";
26
24
  import "../chunk-WQKHFADH.js";
25
+ import "../chunk-YBBD4HZ3.js";
26
+ import "../chunk-OIMLU4SF.js";
27
27
  export {
28
28
  ToolCallError,
29
29
  ToolJsonError,
@@ -1,4 +1,4 @@
1
- import { J as JsonObject, k as ToolDefinition, n as ToolResultContent, g as JsonValue } from './types-BNq9tWdA.js';
1
+ import { J as JsonObject, k as ToolDefinition, n as ToolResultContent, g as JsonValue } from './types-Byo50mwr.js';
2
2
 
3
3
  type ToolApprovalRunContext = {
4
4
  agentId: string;
@@ -41,6 +41,7 @@ type ToolCallStreamEvent = {
41
41
  };
42
42
  type ToolCallContext = {
43
43
  emitStreamEvent?(event: ToolCallStreamEvent): void | Promise<void>;
44
+ includeToolCallDeltas?: boolean;
44
45
  };
45
46
  interface Tool<Args = unknown, Output = unknown> {
46
47
  readonly name: string;
@@ -1,4 +1,4 @@
1
- import { g as JsonValue } from '../types-BNq9tWdA.js';
1
+ import { g as JsonValue } from '../types-Byo50mwr.js';
2
2
 
3
3
  type TranscriptionRequest = {
4
4
  data: Uint8Array;
@@ -1,5 +1,5 @@
1
1
  import { V as VectorMetadata, a as VectorMetadataValue } from './types-DHHZztGO.js';
2
- import { T as Tool } from './tool-DhT6kR0Z.js';
2
+ import { T as Tool } from './tool-tHPNeWMR.js';
3
3
 
4
4
  type VectorFilter = {
5
5
  type: "eq";
@@ -1,8 +1,8 @@
1
1
  import { SSEClientTransportOptions } from '@modelcontextprotocol/sdk/client/sse.js';
2
2
  import { StdioServerParameters } from '@modelcontextprotocol/sdk/client/stdio.js';
3
3
  import { StreamableHTTPClientTransportOptions } from '@modelcontextprotocol/sdk/client/streamableHttp.js';
4
- import { J as JsonObject } from './types-BNq9tWdA.js';
5
- import { A as AnyTool } from './tool-DhT6kR0Z.js';
4
+ import { J as JsonObject } from './types-Byo50mwr.js';
5
+ import { A as AnyTool } from './tool-tHPNeWMR.js';
6
6
 
7
7
  type McpToolDefinition = {
8
8
  name: string;
@@ -235,6 +235,7 @@ interface CompletionModel<RawResponse = unknown, ModelName extends string = stri
235
235
  }): JsonObject | undefined;
236
236
  completion(request: CompletionRequest<ModelName>): Promise<CompletionResponse<RawResponse>>;
237
237
  }
238
+ type ToolCallArgumentsMode = "append" | "replace";
238
239
  type CompletionStreamEvent<RawResponse = unknown> = {
239
240
  type: "text_delta";
240
241
  delta: string;
@@ -250,6 +251,7 @@ type CompletionStreamEvent<RawResponse = unknown> = {
250
251
  callId?: string;
251
252
  name?: string;
252
253
  argumentsDelta?: string;
254
+ argumentsMode?: ToolCallArgumentsMode;
253
255
  signature?: string;
254
256
  } | {
255
257
  type: "tool_call";
@@ -263,6 +265,7 @@ type CompletionStreamEvent<RawResponse = unknown> = {
263
265
  } | {
264
266
  type: "error";
265
267
  error: unknown;
268
+ usage?: Usage;
266
269
  };
267
270
  interface StreamingCompletionModel<RawResponse = unknown, ModelName extends string = string> extends CompletionModel<RawResponse, ModelName> {
268
271
  streamCompletion(request: CompletionRequest<ModelName>): AsyncIterable<CompletionStreamEvent<RawResponse>>;
@@ -275,4 +278,4 @@ declare function assertCompletionRequestSupported(model: CompletionModel, reques
275
278
  }): void;
276
279
  declare function textFromAssistantContent(content: AssistantContent[]): string;
277
280
 
278
- export { AssistantContent as A, type ImageDetail as B, type CompletionModel as C, type Document as D, type ReasoningContent as E, type ReasoningContentType as F, type StreamingCompletionModel as G, type ToolFunction as H, type ImageContent as I, type JsonObject as J, assertCompletionRequestSupported as K, reasoningDisplayText as L, Message as M, textFromAssistantContent as N, type Reasoning as R, type SystemMessage as S, type Text as T, Usage as U, type AssistantGenerationMetadata as a, type AssistantMessage as b, type AssistantMessageOptions as c, type CompletionRequest as d, type CompletionResponse as e, type JsonPrimitive as f, type JsonValue as g, type MessageOptions as h, type ToolCall as i, ToolContent as j, type ToolDefinition as k, type ToolMessage as l, type ToolResult as m, type ToolResultContent as n, type ToolResultMessageOptions as o, type ToolResultOptions as p, UserContent as q, type UserMessage as r, getAssistantGenerationMetadata as s, isToolResultContentArray as t, serializeToolResultOutput as u, type ToolChoice as v, CompletionCapabilityError as w, type CompletionModelCapabilities as x, type CompletionStreamEvent as y, type DocumentContent as z };
281
+ export { AssistantContent as A, type ImageDetail as B, type CompletionModel as C, type Document as D, type ReasoningContent as E, type ReasoningContentType as F, type StreamingCompletionModel as G, type ToolCallArgumentsMode as H, type ImageContent as I, type JsonObject as J, type ToolFunction as K, assertCompletionRequestSupported as L, Message as M, reasoningDisplayText as N, textFromAssistantContent as O, type Reasoning as R, type SystemMessage as S, type Text as T, Usage as U, type AssistantGenerationMetadata as a, type AssistantMessage as b, type AssistantMessageOptions as c, type CompletionRequest as d, type CompletionResponse as e, type JsonPrimitive as f, type JsonValue as g, type MessageOptions as h, type ToolCall as i, ToolContent as j, type ToolDefinition as k, type ToolMessage as l, type ToolResult as m, type ToolResultContent as n, type ToolResultMessageOptions as o, type ToolResultOptions as p, UserContent as q, type UserMessage as r, getAssistantGenerationMetadata as s, isToolResultContentArray as t, serializeToolResultOutput as u, type ToolChoice as v, CompletionCapabilityError as w, type CompletionModelCapabilities as x, type CompletionStreamEvent as y, type DocumentContent as z };
@@ -1,4 +1,4 @@
1
- import { M as Message, U as Usage, e as CompletionResponse, n as ToolResultContent } from './types-BNq9tWdA.js';
1
+ import { M as Message, U as Usage, e as CompletionResponse, n as ToolResultContent } from './types-Byo50mwr.js';
2
2
 
3
3
  type HookAction = {
4
4
  type: "continue";
@@ -1,4 +1,4 @@
1
- import { J as JsonObject, M as Message } from './types-BNq9tWdA.js';
1
+ import { J as JsonObject, M as Message } from './types-Byo50mwr.js';
2
2
 
3
3
  type MemorySavePolicy = "message" | "turn" | "run";
4
4
  type MemoryContext = {
@@ -1,4 +1,4 @@
1
- import { A as AnyTool } from './tool-DhT6kR0Z.js';
1
+ import { A as AnyTool } from './tool-tHPNeWMR.js';
2
2
 
3
3
  type Skill = {
4
4
  readonly name: string;
@@ -1,4 +1,4 @@
1
- import { B as ImageDetail, g as JsonValue, U as Usage, M as Message } from '../types-BNq9tWdA.js';
1
+ import { B as ImageDetail, g as JsonValue, U as Usage, M as Message } from '../types-Byo50mwr.js';
2
2
 
3
3
  type UIMessageRole = "system" | "user" | "assistant" | "tool";
4
4
  type UIError = {
package/dist/ui/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  coreMessagesToUIMessages,
3
3
  uiMessagesToCoreMessages
4
- } from "../chunk-3LMKHICK.js";
5
- import "../chunk-FE5QL4G3.js";
4
+ } from "../chunk-MEUZ4NBO.js";
5
+ import "../chunk-TIV3WFSR.js";
6
6
  export {
7
7
  coreMessagesToUIMessages,
8
8
  uiMessagesToCoreMessages
@@ -1,8 +1,8 @@
1
1
  import { a as VectorMetadataValue, V as VectorMetadata, E as EmbeddingModel, c as EmbeddedDocument, d as Embedding } from '../types-DHHZztGO.js';
2
- import { T as Tool } from '../tool-DhT6kR0Z.js';
3
- import { V as VectorFilter, a as VectorSearchIndex, I as IndexStrategy, b as VectorSearchRequest, c as VectorSearchResult, d as VectorInspectRequest, e as VectorInspectPage, f as VectorSearchToolOptions } from '../types-9TeQF79I.js';
4
- export { L as LshOptions, g as VectorInspectItem } from '../types-9TeQF79I.js';
5
- import '../types-BNq9tWdA.js';
2
+ import { T as Tool } from '../tool-tHPNeWMR.js';
3
+ import { V as VectorFilter, a as VectorSearchIndex, I as IndexStrategy, b as VectorSearchRequest, c as VectorSearchResult, d as VectorInspectRequest, e as VectorInspectPage, f as VectorSearchToolOptions } from '../types-BHxJcHMk.js';
4
+ export { L as LshOptions, g as VectorInspectItem } from '../types-BHxJcHMk.js';
5
+ import '../types-Byo50mwr.js';
6
6
 
7
7
  declare const vectorFilter: {
8
8
  eq(key: string, value: VectorMetadataValue): VectorFilter;
@@ -3,10 +3,10 @@ import {
3
3
  InMemoryVectorStore,
4
4
  createVectorSearchTool,
5
5
  vectorFilter
6
- } from "../chunk-F3C5653H.js";
6
+ } from "../chunk-I7TM7TKX.js";
7
+ import "../chunk-WQKHFADH.js";
7
8
  import "../chunk-YBBD4HZ3.js";
8
9
  import "../chunk-OIMLU4SF.js";
9
- import "../chunk-WQKHFADH.js";
10
10
  export {
11
11
  InMemoryVectorIndex,
12
12
  InMemoryVectorStore,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anvia/core",
3
- "version": "0.13.5",
3
+ "version": "0.15.0",
4
4
  "description": "Core runtime primitives for context-aware Anvia agents.",
5
5
  "author": "anvia",
6
6
  "maintainer": "Indra Zulfi",