ai-client-sdk 3.0.7 → 3.0.9

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 CHANGED
@@ -30,6 +30,6 @@ export declare class AIChatPanel {
30
30
  updateLoadingMessageReasoningContent: (content: string) => void;
31
31
  updateLoadingMessageContent: (content: string) => void;
32
32
  finishLoadingMessage: () => void;
33
- setInputValue: (value: string) => void;
33
+ setUserInputValue: (value: string) => void;
34
34
  constructor(config: Config);
35
35
  }
@@ -162,6 +162,7 @@ declare class Agent extends ToolManager {
162
162
  constructor(config: Config);
163
163
  pushMessage(message: Message): void;
164
164
  pushMessages(messages: Message[]): void;
165
+ resetMessages(): void;
165
166
  merge<T extends object, S extends object>(target: T | null, source: S, fieldsToConcat?: (keyof (T & S))[]): T & S;
166
167
  invoke(params?: Params): Promise<AssistantMessage | undefined>;
167
168
  invokeStream(params?: Params): StreamResult;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ai-client-sdk",
3
- "version": "3.0.7",
4
- "description": "开发 AI 应用的 SDK,适配任意前端框架,兼容多种大模型、对话界面、Function Calling、Agent、工作流等。",
3
+ "version": "3.0.9",
4
+ "description": "用于开发 AI 应用,适配任意前端框架,兼容多种大模型,提供对话界面、Function Calling、Agent、工作流等",
5
5
  "author": {
6
6
  "name": "Hughe5",
7
7
  "email": "2100921003@qq.com",