blink 1.1.10 → 1.1.12
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/browser/agent/client/index.d.cts +2 -2
- package/dist/browser/agent/client/index.d.ts +2 -2
- package/dist/browser/agent/index.browser.d.cts +1 -1
- package/dist/browser/agent/index.browser.d.ts +1 -1
- package/dist/browser/{index-DUDNYE9g.d.ts → index-C-Slllhb.d.ts} +1 -1
- package/dist/browser/{index-Crila3ki.d.cts → index-DSU-sZKL.d.cts} +1 -1
- package/dist/browser/{index.browser-B7J1hNLv.d.cts → index.browser-DB9UGGdN.d.cts} +1 -1
- package/dist/browser/{index.browser-DTgCIWGS.d.ts → index.browser-yBhWIAxZ.d.ts} +1 -1
- package/dist/browser/react/index.browser.d.cts +2 -2
- package/dist/browser/react/index.browser.d.ts +2 -2
- package/dist/cli/{dev-s0j6vbYi.js → dev-HFrCUIkP.js} +1 -1
- package/dist/cli/index.js +3 -3
- package/dist/cli/init-Dll2PDYb.js +1108 -0
- package/dist/cli/init-Ii8ZeW1G.js +1 -0
- package/dist/node/agent/index.node.d.cts +1 -1
- package/dist/node/agent/index.node.d.ts +1 -1
- package/dist/node/{index.node-UFiKZRHB.d.cts → index.node-B6plkLLA.d.cts} +1 -1
- package/dist/node/{index.node-CiqENj_g.d.ts → index.node-qJt_7e9E.d.ts} +1 -1
- package/dist/node/react/index.node.cjs +5 -819
- package/dist/node/react/index.node.d.cts +1 -1
- package/dist/node/react/index.node.d.ts +1 -1
- package/dist/node/react/index.node.js +1 -408
- package/package.json +1 -1
- package/dist/cli/init-DYOLPWi7.js +0 -482
- package/dist/cli/init-lHUh7gYE.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./dist-BNbSDxaw.js";import{init as e}from"./init-Dll2PDYb.js";export{e as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Agent, AgentChat, AgentOtel, AgentStore, Chat, ChatEvent, ChatHandler, ChatResponse, ContextFromTools, ErrorHandler, ExtractUIOptions, ID, NewMessage, RequestHandler, SendBehavior, SendOptions, ServeOptions, StreamResponseFormat, StreamResponseFormatHeader, ToolApprovalOutput, ToolSetWithApproval, ToolWithApproval, ToolWithContext, UIEvent, UIHandler, UIOptionSelect, UIOptionSelectValue, UIOptions, UIOptionsSchema, UpsertedChat, WithUIOptions, agent, api, isToolApprovalOutput, lastUIOptions, model, toolWithApproval, tools, waitUntil, withResponseFormat } from "../index.node-
|
|
1
|
+
import { Agent, AgentChat, AgentOtel, AgentStore, Chat, ChatEvent, ChatHandler, ChatResponse, ContextFromTools, ErrorHandler, ExtractUIOptions, ID, NewMessage, RequestHandler, SendBehavior, SendOptions, ServeOptions, StreamResponseFormat, StreamResponseFormatHeader, ToolApprovalOutput, ToolSetWithApproval, ToolWithApproval, ToolWithContext, UIEvent, UIHandler, UIOptionSelect, UIOptionSelectValue, UIOptions, UIOptionsSchema, UpsertedChat, WithUIOptions, agent, api, isToolApprovalOutput, lastUIOptions, model, toolWithApproval, tools, waitUntil, withResponseFormat } from "../index.node-B6plkLLA.cjs";
|
|
2
2
|
export { Agent, AgentChat, AgentOtel, AgentStore, Chat, ChatEvent, ChatHandler, ChatResponse, ContextFromTools, ErrorHandler, ExtractUIOptions, ID, NewMessage, RequestHandler, SendBehavior, SendOptions, ServeOptions, StreamResponseFormat, StreamResponseFormatHeader, ToolApprovalOutput, ToolSetWithApproval, ToolWithApproval, ToolWithContext, UIEvent, UIHandler, UIOptionSelect, UIOptionSelectValue, UIOptions, UIOptionsSchema, UpsertedChat, WithUIOptions, agent, api, isToolApprovalOutput, lastUIOptions, model, toolWithApproval, tools, waitUntil, withResponseFormat };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Agent, AgentChat, AgentOtel, AgentStore, Chat, ChatEvent, ChatHandler, ChatResponse, ContextFromTools, ErrorHandler, ExtractUIOptions, ID, NewMessage, RequestHandler, SendBehavior, SendOptions, ServeOptions, StreamResponseFormat, StreamResponseFormatHeader, ToolApprovalOutput, ToolSetWithApproval, ToolWithApproval, ToolWithContext, UIEvent, UIHandler, UIOptionSelect, UIOptionSelectValue, UIOptions, UIOptionsSchema, UpsertedChat, WithUIOptions, agent, api, isToolApprovalOutput, lastUIOptions, model, toolWithApproval, tools, waitUntil, withResponseFormat } from "../index.node-
|
|
1
|
+
import { Agent, AgentChat, AgentOtel, AgentStore, Chat, ChatEvent, ChatHandler, ChatResponse, ContextFromTools, ErrorHandler, ExtractUIOptions, ID, NewMessage, RequestHandler, SendBehavior, SendOptions, ServeOptions, StreamResponseFormat, StreamResponseFormatHeader, ToolApprovalOutput, ToolSetWithApproval, ToolWithApproval, ToolWithContext, UIEvent, UIHandler, UIOptionSelect, UIOptionSelectValue, UIOptions, UIOptionsSchema, UpsertedChat, WithUIOptions, agent, api, isToolApprovalOutput, lastUIOptions, model, toolWithApproval, tools, waitUntil, withResponseFormat } from "../index.node-qJt_7e9E.js";
|
|
2
2
|
export { Agent, AgentChat, AgentOtel, AgentStore, Chat, ChatEvent, ChatHandler, ChatResponse, ContextFromTools, ErrorHandler, ExtractUIOptions, ID, NewMessage, RequestHandler, SendBehavior, SendOptions, ServeOptions, StreamResponseFormat, StreamResponseFormatHeader, ToolApprovalOutput, ToolSetWithApproval, ToolWithApproval, ToolWithContext, UIEvent, UIHandler, UIOptionSelect, UIOptionSelectValue, UIOptions, UIOptionsSchema, UpsertedChat, WithUIOptions, agent, api, isToolApprovalOutput, lastUIOptions, model, toolWithApproval, tools, waitUntil, withResponseFormat };
|
|
@@ -238,7 +238,7 @@ type UIOptions = Record<string, string>;
|
|
|
238
238
|
type WithUIOptions<OPTIONS extends UIOptions, MESSAGE extends UIMessage = UIMessage> = MESSAGE & {
|
|
239
239
|
readonly role: "user";
|
|
240
240
|
readonly metadata: MESSAGE["metadata"] & {
|
|
241
|
-
readonly options
|
|
241
|
+
readonly options?: OPTIONS;
|
|
242
242
|
};
|
|
243
243
|
};
|
|
244
244
|
type ExtractUIOptions<M> = M extends WithUIOptions<infer O> ? O : UIOptions;
|
|
@@ -238,7 +238,7 @@ type UIOptions = Record<string, string>;
|
|
|
238
238
|
type WithUIOptions<OPTIONS extends UIOptions, MESSAGE extends UIMessage = UIMessage> = MESSAGE & {
|
|
239
239
|
readonly role: "user";
|
|
240
240
|
readonly metadata: MESSAGE["metadata"] & {
|
|
241
|
-
readonly options
|
|
241
|
+
readonly options?: OPTIONS;
|
|
242
242
|
};
|
|
243
243
|
};
|
|
244
244
|
type ExtractUIOptions<M> = M extends WithUIOptions<infer O> ? O : UIOptions;
|