@opentiny/tiny-robot-kit 0.4.2-alpha.3 → 0.4.2-alpha.5
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/core.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ChatCompletionMessageParam, ChatCompletionMessageToolCall, ChatCompletion, ChatCompletionChunk, ChatCompletionTool } from 'openai/resources/index';
|
|
2
|
-
import { M as MaybePromise } from './types-
|
|
2
|
+
import { M as MaybePromise } from './types-CePh-Jcx.mjs';
|
|
3
3
|
import { Ref, ComputedRef } from 'vue';
|
|
4
4
|
|
|
5
5
|
type DeepReadonly<T> = T extends (...args: any[]) => any ? T : T extends Array<infer U> ? ReadonlyArray<DeepReadonly<U>> : T extends object ? {
|
package/dist/core.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ChatCompletionMessageParam, ChatCompletionMessageToolCall, ChatCompletion, ChatCompletionChunk, ChatCompletionTool } from 'openai/resources/index';
|
|
2
|
-
import { M as MaybePromise } from './types-
|
|
2
|
+
import { M as MaybePromise } from './types-CePh-Jcx.js';
|
|
3
3
|
import { Ref, ComputedRef } from 'vue';
|
|
4
4
|
|
|
5
5
|
type DeepReadonly<T> = T extends (...args: any[]) => any ? T : T extends Array<infer U> ? ReadonlyArray<DeepReadonly<U>> : T extends object ? {
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { a as AIModelConfig, c as ChatCompletionRequest, d as ChatCompletionResponse, o as StreamHandler, B as BaseModelProvider, l as ChatMessage, M as MaybePromise, T as ToolCall } from './types-CePh-Jcx.mjs';
|
|
2
|
+
export { A as AIAdapterError, b as AIProvider, C as ChatCompletionOptions, e as ChatCompletionResponseChoice, f as ChatCompletionResponseMessage, g as ChatCompletionResponseUsage, h as ChatCompletionStreamResponse, i as ChatCompletionStreamResponseChoice, j as ChatCompletionStreamResponseDelta, k as ChatHistory, E as ErrorType, m as MessageMetadata, n as MessageRole, S as StreamEventType } from './types-CePh-Jcx.mjs';
|
|
3
3
|
import { Ref, ComputedRef } from 'vue';
|
|
4
4
|
|
|
5
5
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
1
|
+
import { a as AIModelConfig, c as ChatCompletionRequest, d as ChatCompletionResponse, o as StreamHandler, B as BaseModelProvider, l as ChatMessage, M as MaybePromise, T as ToolCall } from './types-CePh-Jcx.js';
|
|
2
|
+
export { A as AIAdapterError, b as AIProvider, C as ChatCompletionOptions, e as ChatCompletionResponseChoice, f as ChatCompletionResponseMessage, g as ChatCompletionResponseUsage, h as ChatCompletionStreamResponse, i as ChatCompletionStreamResponseChoice, j as ChatCompletionStreamResponseDelta, k as ChatHistory, E as ErrorType, m as MessageMetadata, n as MessageRole, S as StreamEventType } from './types-CePh-Jcx.js';
|
|
3
3
|
import { Ref, ComputedRef } from 'vue';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -209,4 +209,4 @@ interface StreamHandler {
|
|
|
209
209
|
onDone: (finishReason?: string) => void;
|
|
210
210
|
}
|
|
211
211
|
|
|
212
|
-
export { type
|
|
212
|
+
export { type AIAdapterError as A, BaseModelProvider as B, type ChatCompletionOptions as C, ErrorType as E, type MaybePromise as M, StreamEventType as S, type ToolCall as T, type AIModelConfig as a, type AIProvider as b, type ChatCompletionRequest as c, type ChatCompletionResponse as d, type ChatCompletionResponseChoice as e, type ChatCompletionResponseMessage as f, type ChatCompletionResponseUsage as g, type ChatCompletionStreamResponse as h, type ChatCompletionStreamResponseChoice as i, type ChatCompletionStreamResponseDelta as j, type ChatHistory as k, type ChatMessage as l, type MessageMetadata as m, type MessageRole as n, type StreamHandler as o };
|
|
@@ -209,4 +209,4 @@ interface StreamHandler {
|
|
|
209
209
|
onDone: (finishReason?: string) => void;
|
|
210
210
|
}
|
|
211
211
|
|
|
212
|
-
export { type
|
|
212
|
+
export { type AIAdapterError as A, BaseModelProvider as B, type ChatCompletionOptions as C, ErrorType as E, type MaybePromise as M, StreamEventType as S, type ToolCall as T, type AIModelConfig as a, type AIProvider as b, type ChatCompletionRequest as c, type ChatCompletionResponse as d, type ChatCompletionResponseChoice as e, type ChatCompletionResponseMessage as f, type ChatCompletionResponseUsage as g, type ChatCompletionStreamResponse as h, type ChatCompletionStreamResponseChoice as i, type ChatCompletionStreamResponseDelta as j, type ChatHistory as k, type ChatMessage as l, type MessageMetadata as m, type MessageRole as n, type StreamHandler as o };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentiny/tiny-robot-kit",
|
|
3
|
-
"version": "0.4.2-alpha.
|
|
3
|
+
"version": "0.4.2-alpha.5",
|
|
4
4
|
"homepage": "https://docs.opentiny.design/tiny-robot/",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -71,5 +71,5 @@
|
|
|
71
71
|
"dependencies": {
|
|
72
72
|
"idb": "^8.0.3"
|
|
73
73
|
},
|
|
74
|
-
"gitHead": "
|
|
74
|
+
"gitHead": "1f85d103786f862188181c40c0702ab447b1851b"
|
|
75
75
|
}
|