agent-tool-chat 1.1.0 → 1.1.2
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/agent-tool-chat.css +1 -1
- package/dist/components/ChatMessage.vue.d.ts +2 -0
- package/dist/composables/useAgentChat.d.ts +4 -0
- package/dist/index.cjs +37 -37
- package/dist/index.js +3071 -2733
- package/dist/types.d.ts +6 -0
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -98,6 +98,10 @@ export interface ChatSettings {
|
|
|
98
98
|
thinking?: boolean;
|
|
99
99
|
/** 思考强度:低/高/最大 */
|
|
100
100
|
thinkingEffort?: 'low' | 'high' | 'max';
|
|
101
|
+
/** md 内容表格行点击选择(触发"我选择 X"回灌对话),默认关闭 */
|
|
102
|
+
mdTableClick?: boolean;
|
|
103
|
+
/** md 内容列表项点击执行,默认关闭 */
|
|
104
|
+
mdListClick?: boolean;
|
|
101
105
|
}
|
|
102
106
|
export declare const DEFAULT_SETTINGS: ChatSettings;
|
|
103
107
|
export interface ChatCommand {
|
|
@@ -109,6 +113,8 @@ export interface AgentChatOptions {
|
|
|
109
113
|
onToolCall?: (call: ToolCallEvent) => Promise<any>;
|
|
110
114
|
provider?: any;
|
|
111
115
|
providerConfig?: Partial<LLMProviderConfig>;
|
|
116
|
+
/** 初始设置项:合并到 DEFAULT_SETTINGS(用户已保存的本地设置优先) */
|
|
117
|
+
settings?: Partial<ChatSettings>;
|
|
112
118
|
systemPrompt?: string;
|
|
113
119
|
storagePrefix?: string;
|
|
114
120
|
/** 上传的文件数据是否发给 LLM,默认 false(仅前端展示) */
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "agent-tool-chat",
|
|
3
3
|
"description": "An agent-driven chat plugin with ToolPackage architecture and host-controlled execution",
|
|
4
4
|
"author": "kangjinrui <1092014304@qq.com>",
|
|
5
|
-
"version": "1.1.
|
|
5
|
+
"version": "1.1.2",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"private": false,
|
|
8
8
|
"type": "module",
|