blink 0.1.61 → 0.1.62
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/api/index.cjs +5 -5
- package/dist/api/index.d.cts +2 -2
- package/dist/api/index.d.ts +2 -2
- package/dist/api/index.js +5 -5
- package/dist/cli/{dev-CxvqgMU6.js → dev-C03_iMLD.js} +3 -9
- package/dist/cli/index.js +2 -2
- package/dist/http/index.cjs +1 -1
- package/dist/http/index.d.cts +2 -2
- package/dist/http/index.d.ts +2 -2
- package/dist/http/index.js +1 -1
- package/dist/{http-blV4Uqlw.js → http-CU96NOdn.js} +1 -1
- package/dist/{http-B-lmj4yh.cjs → http-DXLJkJIR.cjs} +1 -1
- package/dist/{index-IWju3eNc.d.cts → index-BdS2C_9A.d.cts} +85 -14
- package/dist/{index-Cb6Pp96M.d.ts → index-DXNEroA1.d.cts} +8 -1
- package/dist/{index-CIUoZVwP.d.ts → index-E064W90j.d.ts} +85 -14
- package/dist/{index-CPab5qaJ.d.cts → index-y1u5VC2_.d.ts} +8 -1
- package/dist/test.d.cts +2 -2
- package/dist/test.d.ts +2 -2
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Chat, ExperimentalCompletion } from "./index-
|
|
1
|
+
import { Chat, ExperimentalCompletion, OptionsSchema, ProvideOptionsRequest, WithUIOptions } from "./index-E064W90j.js";
|
|
2
2
|
import { UIMessage, UIMessageChunk } from "ai";
|
|
3
3
|
|
|
4
4
|
//#region src/http/async-iterable-stream.d.ts
|
|
@@ -60,6 +60,7 @@ interface ExperimentalProvideCompletionsRequest {
|
|
|
60
60
|
interface CapabilitiesResponse {
|
|
61
61
|
readonly requests: boolean;
|
|
62
62
|
readonly completions: boolean;
|
|
63
|
+
readonly options: boolean;
|
|
63
64
|
}
|
|
64
65
|
interface ClientOptions {
|
|
65
66
|
readonly baseUrl: string;
|
|
@@ -90,6 +91,12 @@ declare class Client {
|
|
|
90
91
|
* This is used to check if the agent supports requests and completions.
|
|
91
92
|
*/
|
|
92
93
|
capabilities(): Promise<CapabilitiesResponse>;
|
|
94
|
+
/**
|
|
95
|
+
* provideUIOptions provides selectable options to the user.
|
|
96
|
+
*/
|
|
97
|
+
provideUIOptions(request: ProvideOptionsRequest<WithUIOptions<Record<string, any>>>, options?: {
|
|
98
|
+
signal?: AbortSignal;
|
|
99
|
+
}): Promise<OptionsSchema<any>>;
|
|
93
100
|
/**
|
|
94
101
|
* health simply returns a 200 response.
|
|
95
102
|
* This is used to check if the agent is running.
|
package/dist/test.d.cts
CHANGED
package/dist/test.d.ts
CHANGED