@dvina/agents 0.14.0 → 0.14.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.
@@ -1,4 +1,4 @@
1
- import { T as ToolDefinition, A as Agent, L as LangchainModelConfig, M as Message, e as AiMessage, b as ToolSpec, H as HumanMessage, g as ToolMessage } from '../model-resolver-DjKRXKtu.mjs';
1
+ import { T as ToolDefinition, A as Agent, L as LangchainModelConfig, M as Message, e as AiMessage, b as ToolSpec, H as HumanMessage, g as ToolMessage } from '../model-resolver-CEMmLW0F.mjs';
2
2
  import * as zod from 'zod';
3
3
  import { z } from 'zod';
4
4
  import { BaseMessage } from '@langchain/core/messages';
@@ -1,4 +1,4 @@
1
- import { T as ToolDefinition, A as Agent, L as LangchainModelConfig, M as Message, e as AiMessage, b as ToolSpec, H as HumanMessage, g as ToolMessage } from '../model-resolver-DjKRXKtu.js';
1
+ import { T as ToolDefinition, A as Agent, L as LangchainModelConfig, M as Message, e as AiMessage, b as ToolSpec, H as HumanMessage, g as ToolMessage } from '../model-resolver-CEMmLW0F.js';
2
2
  import * as zod from 'zod';
3
3
  import { z } from 'zod';
4
4
  import { BaseMessage } from '@langchain/core/messages';
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { T as ToolDefinition, A as Agent, L as LangchainModelConfig, a as ToolKitSpec, b as ToolSpec } from './model-resolver-DjKRXKtu.mjs';
2
- export { c as AgentResult, d as AgentRunInput, e as AiMessage, C as ContentBlock, H as HumanMessage, M as Message, S as StreamEvent, f as ToolCall, g as ToolMessage, U as UsageMeta } from './model-resolver-DjKRXKtu.mjs';
1
+ import { T as ToolDefinition, A as Agent, L as LangchainModelConfig, a as ToolKitSpec, b as ToolSpec } from './model-resolver-CEMmLW0F.mjs';
2
+ export { c as AgentResult, d as AgentRunInput, e as AiMessage, C as ContentBlock, H as HumanMessage, M as Message, S as StreamEvent, f as ToolCall, g as ToolMessage, U as UsageMeta } from './model-resolver-CEMmLW0F.mjs';
3
3
  import 'zod';
4
4
 
5
5
  type AgentHandoff = {
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { T as ToolDefinition, A as Agent, L as LangchainModelConfig, a as ToolKitSpec, b as ToolSpec } from './model-resolver-DjKRXKtu.js';
2
- export { c as AgentResult, d as AgentRunInput, e as AiMessage, C as ContentBlock, H as HumanMessage, M as Message, S as StreamEvent, f as ToolCall, g as ToolMessage, U as UsageMeta } from './model-resolver-DjKRXKtu.js';
1
+ import { T as ToolDefinition, A as Agent, L as LangchainModelConfig, a as ToolKitSpec, b as ToolSpec } from './model-resolver-CEMmLW0F.js';
2
+ export { c as AgentResult, d as AgentRunInput, e as AiMessage, C as ContentBlock, H as HumanMessage, M as Message, S as StreamEvent, f as ToolCall, g as ToolMessage, U as UsageMeta } from './model-resolver-CEMmLW0F.js';
3
3
  import 'zod';
4
4
 
5
5
  type AgentHandoff = {
@@ -34,7 +34,6 @@ interface ToolStartEvent extends BaseStreamEvent {
34
34
  type: 'tool_start';
35
35
  name: string;
36
36
  toolKit: string;
37
- toolKitIconUrl?: string;
38
37
  index: number;
39
38
  toolCallId: string;
40
39
  }
@@ -49,7 +48,6 @@ interface ToolResultEvent extends BaseStreamEvent {
49
48
  type: 'tool_result';
50
49
  name: string;
51
50
  toolKit: string;
52
- toolKitIconUrl?: string;
53
51
  input: string;
54
52
  output: string;
55
53
  index: number;
@@ -67,7 +65,6 @@ interface FinalContentEvent extends BaseStreamEvent {
67
65
  type StreamEvent = MessageStartEvent | MessageEndEvent | ChatTitleEvent | AudioEvent | TextBlockEvent | TextDeltaEvent | ToolStartEvent | ToolResultEvent | ReasoningEvent | ToolInputDeltaEvent | FinalContentEvent;
68
66
  interface ToolKitSpec {
69
67
  name: string;
70
- iconUrl?: string;
71
68
  instruction?: string;
72
69
  tools: ToolSpec[];
73
70
  }
@@ -77,7 +74,6 @@ interface ToolSpec {
77
74
  description: string;
78
75
  inputSchema: ZodObject;
79
76
  instruction?: string;
80
- toolKitIconUrl?: string;
81
77
  }
82
78
  interface ToolDefinition extends ToolSpec {
83
79
  exec: (input: any) => Promise<unknown> | unknown;
@@ -92,7 +88,6 @@ type ToolCallContentBlock = {
92
88
  type: 'tool_call';
93
89
  name: string;
94
90
  toolKit: string;
95
- toolKitIconUrl?: string;
96
91
  input: string | null;
97
92
  output: string;
98
93
  toolCallId: string;
@@ -34,7 +34,6 @@ interface ToolStartEvent extends BaseStreamEvent {
34
34
  type: 'tool_start';
35
35
  name: string;
36
36
  toolKit: string;
37
- toolKitIconUrl?: string;
38
37
  index: number;
39
38
  toolCallId: string;
40
39
  }
@@ -49,7 +48,6 @@ interface ToolResultEvent extends BaseStreamEvent {
49
48
  type: 'tool_result';
50
49
  name: string;
51
50
  toolKit: string;
52
- toolKitIconUrl?: string;
53
51
  input: string;
54
52
  output: string;
55
53
  index: number;
@@ -67,7 +65,6 @@ interface FinalContentEvent extends BaseStreamEvent {
67
65
  type StreamEvent = MessageStartEvent | MessageEndEvent | ChatTitleEvent | AudioEvent | TextBlockEvent | TextDeltaEvent | ToolStartEvent | ToolResultEvent | ReasoningEvent | ToolInputDeltaEvent | FinalContentEvent;
68
66
  interface ToolKitSpec {
69
67
  name: string;
70
- iconUrl?: string;
71
68
  instruction?: string;
72
69
  tools: ToolSpec[];
73
70
  }
@@ -77,7 +74,6 @@ interface ToolSpec {
77
74
  description: string;
78
75
  inputSchema: ZodObject;
79
76
  instruction?: string;
80
- toolKitIconUrl?: string;
81
77
  }
82
78
  interface ToolDefinition extends ToolSpec {
83
79
  exec: (input: any) => Promise<unknown> | unknown;
@@ -92,7 +88,6 @@ type ToolCallContentBlock = {
92
88
  type: 'tool_call';
93
89
  name: string;
94
90
  toolKit: string;
95
- toolKitIconUrl?: string;
96
91
  input: string | null;
97
92
  output: string;
98
93
  toolCallId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dvina/agents",
3
- "version": "0.14.0",
3
+ "version": "0.14.1",
4
4
  "description": "Standalone, provider-agnostic AI agent library",
5
5
  "types": "./dist/index.d.ts",
6
6
  "exports": {