@opentiny/next-remoter 0.3.3 → 0.4.0
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/README.md +1 -1
- package/dist/components/TinyRobotChat.vue.d.ts +5 -0
- package/dist/composable/useNextAgent.d.ts +1 -1
- package/dist/composable/usePluginSession.d.ts +1 -1
- package/dist/composable/useSkill.d.ts +1 -1
- package/dist/next-remoter-runtime.es.js +84185 -81534
- package/dist/next-remoter.cjs.js +49 -44
- package/dist/next-remoter.css +1 -1
- package/dist/next-remoter.es.js +9004 -8595
- package/dist/style.css +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -259,6 +259,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
259
259
|
deletePlugin: (plugin: PluginInfo) => Promise<void>;
|
|
260
260
|
/** 注册内容渲染器 */
|
|
261
261
|
registerContentRenderer: typeof registerContentRenderer;
|
|
262
|
+
/**
|
|
263
|
+
* 刷新已安装插件的工具列表(从 agent.mcpTools 同步到 UI)
|
|
264
|
+
* 适用于 builtin client 工具变化后的快速刷新,避免 remove + reload 导致的 UI 闪烁
|
|
265
|
+
*/
|
|
266
|
+
refreshPluginTools(): Promise<void>;
|
|
262
267
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
263
268
|
"before-ai-render": (currMessage: {
|
|
264
269
|
role: string;
|
|
@@ -12,7 +12,7 @@ export type INextAgetOption = {
|
|
|
12
12
|
systemPrompt?: string;
|
|
13
13
|
/** 大语言模型 的 modelId, 比如:'deepseek-ai/DeepSeek-V3' */
|
|
14
14
|
model: string;
|
|
15
|
-
/**
|
|
15
|
+
/** 一次对话中的最大步数(模型-工具循环),默认 30 */
|
|
16
16
|
maxSteps?: number;
|
|
17
17
|
/** 自定义流数据处理函数,将 llm 返回的流数据,按自定义的格式,保存到messages 数组中。
|
|
18
18
|
* 如果设置,则代替内部默认的流处理函数。
|
|
@@ -18,5 +18,5 @@ export declare function useSkillWithTools(options: UseSkillWithToolsOptions): {
|
|
|
18
18
|
}>;
|
|
19
19
|
skillPromptPart: import('vue').ComputedRef<string>;
|
|
20
20
|
skillTools: import('vue').ComputedRef<import('@opentiny/next-sdk').SkillToolsSet>;
|
|
21
|
-
skillOverviews: import('vue').
|
|
21
|
+
skillOverviews: import('vue').ShallowRef<SkillMeta[], SkillMeta[]>;
|
|
22
22
|
};
|