blink 0.1.61 → 0.1.63

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.
@@ -1,4 +1,4 @@
1
- import { Chat, ExperimentalCompletion } from "./index-IWju3eNc.cjs";
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
@@ -1,5 +1,5 @@
1
- import "./index-IWju3eNc.cjs";
2
- import { Client } from "./index-CPab5qaJ.cjs";
1
+ import "./index-BdS2C_9A.cjs";
2
+ import { Client } from "./index-DXNEroA1.cjs";
3
3
 
4
4
  //#region src/test.d.ts
5
5
  interface CreateOptions {
package/dist/test.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import "./index-CIUoZVwP.js";
2
- import { Client } from "./index-Cb6Pp96M.js";
1
+ import "./index-E064W90j.js";
2
+ import { Client } from "./index-y1u5VC2_.js";
3
3
 
4
4
  //#region src/test.d.ts
5
5
  interface CreateOptions {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "blink",
3
- "version": "0.1.61",
3
+ "version": "0.1.63",
4
4
  "description": "Blink is a JavaScript runtime for building and deploying AI agents.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -1 +0,0 @@
1
- import{login as e}from"./auth-BUNIOupD.js";import"./dist-NqrnQGst.js";import"./open-CSMQaj0E.js";async function t(){await e()}export{t as default};
File without changes
File without changes