@opentiny/next-remoter 0.2.5 → 0.2.6-beta.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/LICENSE +21 -0
- package/dist/components/TinyRobotChat.vue.d.ts +81 -5
- package/dist/composable/CustomAgentModelProvider.d.ts +9 -2
- package/dist/composable/promptManager.d.ts +18 -0
- package/dist/composable/useMessageRoles.d.ts +11 -11
- package/dist/composable/usePlugin.d.ts +7 -0
- package/dist/composable/useSkill.d.ts +0 -2
- package/dist/next-remoter-runtime.es.js +68041 -67526
- package/dist/next-remoter.cjs.js +50 -48
- package/dist/next-remoter.css +1 -1
- package/dist/next-remoter.es.js +8797 -8398
- package/dist/style.css +1 -1
- package/dist/types/type.d.ts +3 -6
- package/package.json +2 -2
package/dist/types/type.d.ts
CHANGED
|
@@ -18,12 +18,9 @@ export type ICustomAgentModelProviderLlmConfig = IAgentModelProviderLlmConfig &
|
|
|
18
18
|
providerOptions?: Record<string, any>;
|
|
19
19
|
extraTools?: Record<string, any>;
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
22
|
-
*
|
|
23
|
-
* @param lastUserMsg 最后一条用户消息
|
|
24
|
-
* @param systemPrompt 当前系统提示词
|
|
25
|
-
* @returns 修改后的用户消息(可以是多模态消息)
|
|
21
|
+
* 自定义请求 Header,会在创建 Provider 实例时透传给 ai-sdk
|
|
22
|
+
* 适用于需要在每次请求时携带特定 Header 的场景(如鉴权、链路追踪等)
|
|
26
23
|
*/
|
|
27
|
-
|
|
24
|
+
headers?: Record<string, string>;
|
|
28
25
|
};
|
|
29
26
|
export type ICustomMarketMcpServers = PluginInfo[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentiny/next-remoter",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.6-beta.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"homepage": "https://docs.opentiny.design/next-sdk/guide/tiny-robot-remoter.html",
|
|
6
6
|
"repository": {
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"@ai-sdk/openai": "^3.0.0",
|
|
49
49
|
"@ai-sdk/provider": "^3.0.0",
|
|
50
50
|
"@ai-sdk/provider-utils": "^4.0.14",
|
|
51
|
-
"@opentiny/next-sdk": "0.2.
|
|
51
|
+
"@opentiny/next-sdk": "0.2.6-beta.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@opentiny/unplugin-tiny-vue": "^1.0.0",
|