🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@deepracticex/ai-chat

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@deepracticex/ai-chat - npm Package Compare versions

Comparing version
0.2.2
to
0.2.3
+1
-1
dist/core/AIChat.d.ts

@@ -10,3 +10,3 @@ /**

*/
import { AIChatConfig, Message, ChatOptions, ChatStreamChunk, ChatResponse } from '../types';
import { AIChatConfig, Message, ChatOptions, ChatStreamChunk, ChatResponse } from '../types/index.js';
/**

@@ -13,0 +13,0 @@ * AIChat类 - 简化的AI聊天协调器

@@ -10,6 +10,6 @@ /**

*/
import { AIChatError } from '../types';
import { createErrorChunk } from '../streaming/StreamUtils';
import { ToolExecutionManager } from '../tools/ToolExecutionManager';
import { HttpClient } from '../http/HttpClient';
import { AIChatError } from '../types/index.js';
import { createErrorChunk } from '../streaming/StreamUtils.js';
import { ToolExecutionManager } from '../tools/ToolExecutionManager.js';
import { HttpClient } from '../http/HttpClient.js';
/**

@@ -16,0 +16,0 @@ * AIChat类 - 简化的AI聊天协调器

@@ -5,3 +5,3 @@ /**

*/
import { AIChatConfig, APIRequest, APIResponse, APIStreamChunk } from '../types';
import { AIChatConfig, APIRequest, APIResponse, APIStreamChunk } from '../types/index.js';
export declare class HttpClient {

@@ -8,0 +8,0 @@ private config;

@@ -5,3 +5,3 @@ /**

*/
import { HttpError } from '../types';
import { HttpError } from '../types/index.js';
export class HttpClient {

@@ -8,0 +8,0 @@ constructor(config) {

@@ -6,3 +6,3 @@ /**

*/
import { ChatStreamChunk } from '../types';
import { ChatStreamChunk } from '../types/index.js';
/**

@@ -9,0 +9,0 @@ * 创建错误chunk

@@ -6,3 +6,3 @@ /**

*/
import { ToolCall, ToolResult, ToolExecuting, ToolExecutionError, ChatStreamChunk } from '../types';
import { ToolCall, ToolResult, ToolExecuting, ToolExecutionError, ChatStreamChunk } from '../types/index.js';
export interface ToolCallHandler {

@@ -9,0 +9,0 @@ (call: ToolCall): Promise<ToolResult>;

{
"name": "@deepracticex/ai-chat",
"version": "0.2.2",
"version": "0.2.3",
"description": "A focused AI chat client for handling AI requests and tool calling in Node.js applications",

@@ -5,0 +5,0 @@ "type": "module",