@iqai/adk 0.1.22 → 0.2.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/CHANGELOG.md CHANGED
@@ -1,5 +1,58 @@
1
1
  # @iqai/adk
2
2
 
3
+ ## 0.2.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 765592d: export McpClientService
8
+ - 14fdbf4: added mcp-upbit to servers file
9
+
10
+ ## 0.2.0
11
+
12
+ ### Minor Changes
13
+
14
+ - 17341fc: Refactor agent loading and resolution logic with enhanced flexibility and reliability
15
+
16
+ This major enhancement improves the ADK CLI server's agent loading capabilities and adds new features to the core framework:
17
+
18
+ **CLI Server Improvements:**
19
+
20
+ - **Modular Architecture**: Refactored monolithic server file into organized modules (`server/index.ts`, `server/routes.ts`, `server/services.ts`, `server/types.ts`)
21
+ - **Enhanced Agent Resolution**: New `resolveAgentExport` method supports multiple export patterns:
22
+ - Direct agent exports: `export const agent = new LlmAgent(...)`
23
+ - Function factories: `export function agent() { return new LlmAgent(...) }`
24
+ - Async factories: `export async function agent() { return new LlmAgent(...) }`
25
+ - Container objects: `export default { agent: ... }`
26
+ - Primitive exports with fallback scanning
27
+ - **Improved TypeScript Import Handling**: Better project root detection and module resolution for TypeScript files
28
+
29
+ **Core Framework Enhancements:**
30
+
31
+ - **New AgentBuilder Method**: Added `withAgent()` method to directly provide existing agent instances with definition locking to prevent accidental configuration overwrites
32
+ - **Two-Tier Tool Deduplication**: Implemented robust deduplication logic to prevent duplicate function declarations that cause errors with LLM providers (especially Google)
33
+ - **Better Type Safety**: Improved type definitions and replaced `any[]` usage with proper typed interfaces
34
+
35
+ **Testing & Reliability:**
36
+
37
+ - **Comprehensive Test Coverage**: New `agent-resolution.test.ts` with extensive fixtures testing various agent export patterns
38
+ - **Multiple Test Fixtures**: Added 6 different agent export pattern examples for validation
39
+ - **Edge Case Handling**: Improved error handling and logging throughout the agent loading pipeline
40
+
41
+ These changes provide a more flexible, reliable, and maintainable foundation for agent development and deployment while maintaining backward compatibility.
42
+
43
+ - 1564b7b: Port Python evaluation framework to TypeScript
44
+
45
+ This change introduces a comprehensive evaluation framework for testing AI agent performance. Key features include:
46
+
47
+ - **Core evaluation engine** with agent-evaluator and local evaluation service
48
+ - **Built-in evaluators** for response matching, trajectory analysis, LLM-as-judge, and safety checks
49
+ - **Metrics system** with ROUGE scoring and tool trajectory analysis
50
+ - **Vertex AI integration** for cloud-based evaluation
51
+ - **Pluggable registry system** for custom metric evaluators
52
+ - **Structured evaluation cases and test sets** for organized testing
53
+
54
+ The framework is marked as experimental and provides essential tooling for evaluating agent responses, tool usage, and overall performance across different scenarios.
55
+
3
56
  ## 0.1.22
4
57
 
5
58
  ### Patch Changes