blink 1.1.11 → 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/control/index.d.cts +16 -16
- package/dist/browser/control/index.d.ts +16 -16
- 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-8UEn9f59.js → dev-HFrCUIkP.js} +2 -8
- package/dist/cli/index.js +2 -2
- 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
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "../../types-DUs3b5a3.cjs";
|
|
2
|
-
import { StreamResponseFormatHeader } from "../../index.browser-
|
|
3
|
-
import { APIServerURLEnvironmentVariable, CapabilitiesResponse, Client, ClientOptions, streamSSE } from "../../index-
|
|
2
|
+
import { StreamResponseFormatHeader } from "../../index.browser-DB9UGGdN.cjs";
|
|
3
|
+
import { APIServerURLEnvironmentVariable, CapabilitiesResponse, Client, ClientOptions, streamSSE } from "../../index-DSU-sZKL.cjs";
|
|
4
4
|
export { APIServerURLEnvironmentVariable, CapabilitiesResponse, Client, ClientOptions, StreamResponseFormatHeader, streamSSE };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import "../../types-keN8L-ZK.js";
|
|
2
|
-
import { StreamResponseFormatHeader } from "../../index.browser-
|
|
3
|
-
import { APIServerURLEnvironmentVariable, CapabilitiesResponse, Client, ClientOptions, streamSSE } from "../../index-
|
|
2
|
+
import { StreamResponseFormatHeader } from "../../index.browser-yBhWIAxZ.js";
|
|
3
|
+
import { APIServerURLEnvironmentVariable, CapabilitiesResponse, Client, ClientOptions, streamSSE } from "../../index-C-Slllhb.js";
|
|
4
4
|
export { APIServerURLEnvironmentVariable, CapabilitiesResponse, Client, ClientOptions, StreamResponseFormatHeader, streamSSE };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { AgentChat, AgentOtel, AgentStore, Chat, ChatEvent, ChatHandler, ChatResponse, ID, NewMessage, SendBehavior, SendOptions, UpsertedChat } from "../types-DUs3b5a3.cjs";
|
|
2
|
-
import { ContextFromTools, ExtractUIOptions, StreamResponseFormat, StreamResponseFormatHeader, ToolApprovalOutput, ToolSetWithApproval, ToolWithApproval, ToolWithContext, UIEvent, UIHandler, UIOptionSelect, UIOptionSelectValue, UIOptions, UIOptionsSchema, WithUIOptions, isToolApprovalOutput, lastUIOptions, toolWithApproval, tools, withResponseFormat } from "../index.browser-
|
|
2
|
+
import { ContextFromTools, ExtractUIOptions, StreamResponseFormat, StreamResponseFormatHeader, ToolApprovalOutput, ToolSetWithApproval, ToolWithApproval, ToolWithContext, UIEvent, UIHandler, UIOptionSelect, UIOptionSelectValue, UIOptions, UIOptionsSchema, WithUIOptions, isToolApprovalOutput, lastUIOptions, toolWithApproval, tools, withResponseFormat } from "../index.browser-DB9UGGdN.cjs";
|
|
3
3
|
export { AgentChat, AgentOtel, AgentStore, Chat, ChatEvent, ChatHandler, ChatResponse, ContextFromTools, ExtractUIOptions, ID, NewMessage, SendBehavior, SendOptions, StreamResponseFormat, StreamResponseFormatHeader, ToolApprovalOutput, ToolSetWithApproval, ToolWithApproval, ToolWithContext, UIEvent, UIHandler, UIOptionSelect, UIOptionSelectValue, UIOptions, UIOptionsSchema, UpsertedChat, WithUIOptions, isToolApprovalOutput, lastUIOptions, toolWithApproval, tools, withResponseFormat };
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { AgentChat, AgentOtel, AgentStore, Chat, ChatEvent, ChatHandler, ChatResponse, ID, NewMessage, SendBehavior, SendOptions, UpsertedChat } from "../types-keN8L-ZK.js";
|
|
2
|
-
import { ContextFromTools, ExtractUIOptions, StreamResponseFormat, StreamResponseFormatHeader, ToolApprovalOutput, ToolSetWithApproval, ToolWithApproval, ToolWithContext, UIEvent, UIHandler, UIOptionSelect, UIOptionSelectValue, UIOptions, UIOptionsSchema, WithUIOptions, isToolApprovalOutput, lastUIOptions, toolWithApproval, tools, withResponseFormat } from "../index.browser-
|
|
2
|
+
import { ContextFromTools, ExtractUIOptions, StreamResponseFormat, StreamResponseFormatHeader, ToolApprovalOutput, ToolSetWithApproval, ToolWithApproval, ToolWithContext, UIEvent, UIHandler, UIOptionSelect, UIOptionSelectValue, UIOptions, UIOptionsSchema, WithUIOptions, isToolApprovalOutput, lastUIOptions, toolWithApproval, tools, withResponseFormat } from "../index.browser-yBhWIAxZ.js";
|
|
3
3
|
export { AgentChat, AgentOtel, AgentStore, Chat, ChatEvent, ChatHandler, ChatResponse, ContextFromTools, ExtractUIOptions, ID, NewMessage, SendBehavior, SendOptions, StreamResponseFormat, StreamResponseFormatHeader, ToolApprovalOutput, ToolSetWithApproval, ToolWithApproval, ToolWithContext, UIEvent, UIHandler, UIOptionSelect, UIOptionSelectValue, UIOptions, UIOptionsSchema, UpsertedChat, WithUIOptions, isToolApprovalOutput, lastUIOptions, toolWithApproval, tools, withResponseFormat };
|
|
@@ -65,11 +65,9 @@ declare const api: hono_hono_base0.HonoBase<{
|
|
|
65
65
|
key: string;
|
|
66
66
|
};
|
|
67
67
|
};
|
|
68
|
-
output:
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
outputFormat: "json";
|
|
72
|
-
status: 400;
|
|
68
|
+
output: null;
|
|
69
|
+
outputFormat: "body";
|
|
70
|
+
status: 204;
|
|
73
71
|
} | {
|
|
74
72
|
input: {
|
|
75
73
|
json: {
|
|
@@ -80,9 +78,11 @@ declare const api: hono_hono_base0.HonoBase<{
|
|
|
80
78
|
key: string;
|
|
81
79
|
};
|
|
82
80
|
};
|
|
83
|
-
output:
|
|
84
|
-
|
|
85
|
-
|
|
81
|
+
output: {
|
|
82
|
+
error: string;
|
|
83
|
+
};
|
|
84
|
+
outputFormat: "json";
|
|
85
|
+
status: 400;
|
|
86
86
|
};
|
|
87
87
|
};
|
|
88
88
|
} & {
|
|
@@ -340,11 +340,9 @@ declare const api: hono_hono_base0.HonoBase<{
|
|
|
340
340
|
id: string;
|
|
341
341
|
};
|
|
342
342
|
};
|
|
343
|
-
output:
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
outputFormat: "json";
|
|
347
|
-
status: 400;
|
|
343
|
+
output: null;
|
|
344
|
+
outputFormat: "body";
|
|
345
|
+
status: 204;
|
|
348
346
|
} | {
|
|
349
347
|
input: {
|
|
350
348
|
json: {
|
|
@@ -357,9 +355,11 @@ declare const api: hono_hono_base0.HonoBase<{
|
|
|
357
355
|
id: string;
|
|
358
356
|
};
|
|
359
357
|
};
|
|
360
|
-
output:
|
|
361
|
-
|
|
362
|
-
|
|
358
|
+
output: {
|
|
359
|
+
error: string;
|
|
360
|
+
};
|
|
361
|
+
outputFormat: "json";
|
|
362
|
+
status: 400;
|
|
363
363
|
};
|
|
364
364
|
};
|
|
365
365
|
} & {
|
|
@@ -65,11 +65,9 @@ declare const api: hono_hono_base0.HonoBase<{
|
|
|
65
65
|
key: string;
|
|
66
66
|
};
|
|
67
67
|
};
|
|
68
|
-
output:
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
outputFormat: "json";
|
|
72
|
-
status: 400;
|
|
68
|
+
output: null;
|
|
69
|
+
outputFormat: "body";
|
|
70
|
+
status: 204;
|
|
73
71
|
} | {
|
|
74
72
|
input: {
|
|
75
73
|
json: {
|
|
@@ -80,9 +78,11 @@ declare const api: hono_hono_base0.HonoBase<{
|
|
|
80
78
|
key: string;
|
|
81
79
|
};
|
|
82
80
|
};
|
|
83
|
-
output:
|
|
84
|
-
|
|
85
|
-
|
|
81
|
+
output: {
|
|
82
|
+
error: string;
|
|
83
|
+
};
|
|
84
|
+
outputFormat: "json";
|
|
85
|
+
status: 400;
|
|
86
86
|
};
|
|
87
87
|
};
|
|
88
88
|
} & {
|
|
@@ -340,11 +340,9 @@ declare const api: hono_hono_base0.HonoBase<{
|
|
|
340
340
|
id: string;
|
|
341
341
|
};
|
|
342
342
|
};
|
|
343
|
-
output:
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
outputFormat: "json";
|
|
347
|
-
status: 400;
|
|
343
|
+
output: null;
|
|
344
|
+
outputFormat: "body";
|
|
345
|
+
status: 204;
|
|
348
346
|
} | {
|
|
349
347
|
input: {
|
|
350
348
|
json: {
|
|
@@ -357,9 +355,11 @@ declare const api: hono_hono_base0.HonoBase<{
|
|
|
357
355
|
id: string;
|
|
358
356
|
};
|
|
359
357
|
};
|
|
360
|
-
output:
|
|
361
|
-
|
|
362
|
-
|
|
358
|
+
output: {
|
|
359
|
+
error: string;
|
|
360
|
+
};
|
|
361
|
+
outputFormat: "json";
|
|
362
|
+
status: 400;
|
|
363
363
|
};
|
|
364
364
|
};
|
|
365
365
|
} & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ID } from "./types-keN8L-ZK.js";
|
|
2
|
-
import { UIOptions, UIOptionsSchema } from "./index.browser-
|
|
2
|
+
import { UIOptions, UIOptionsSchema } from "./index.browser-yBhWIAxZ.js";
|
|
3
3
|
import { UIMessage, UIMessageChunk } from "ai";
|
|
4
4
|
|
|
5
5
|
//#region src/agent/constants.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ID } from "./types-DUs3b5a3.cjs";
|
|
2
|
-
import { UIOptions, UIOptionsSchema } from "./index.browser-
|
|
2
|
+
import { UIOptions, UIOptionsSchema } from "./index.browser-DB9UGGdN.cjs";
|
|
3
3
|
import { UIMessage, UIMessageChunk } from "ai";
|
|
4
4
|
|
|
5
5
|
//#region src/agent/constants.d.ts
|
|
@@ -50,7 +50,7 @@ type UIOptions = Record<string, string>;
|
|
|
50
50
|
type WithUIOptions<OPTIONS extends UIOptions, MESSAGE extends UIMessage = UIMessage> = MESSAGE & {
|
|
51
51
|
readonly role: "user";
|
|
52
52
|
readonly metadata: MESSAGE["metadata"] & {
|
|
53
|
-
readonly options
|
|
53
|
+
readonly options?: OPTIONS;
|
|
54
54
|
};
|
|
55
55
|
};
|
|
56
56
|
type ExtractUIOptions<M> = M extends WithUIOptions<infer O> ? O : UIOptions;
|
|
@@ -50,7 +50,7 @@ type UIOptions = Record<string, string>;
|
|
|
50
50
|
type WithUIOptions<OPTIONS extends UIOptions, MESSAGE extends UIMessage = UIMessage> = MESSAGE & {
|
|
51
51
|
readonly role: "user";
|
|
52
52
|
readonly metadata: MESSAGE["metadata"] & {
|
|
53
|
-
readonly options
|
|
53
|
+
readonly options?: OPTIONS;
|
|
54
54
|
};
|
|
55
55
|
};
|
|
56
56
|
type ExtractUIOptions<M> = M extends WithUIOptions<infer O> ? O : UIOptions;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../types-DUs3b5a3.cjs";
|
|
2
|
-
import { UIOptions, UIOptionsSchema } from "../index.browser-
|
|
3
|
-
import { CapabilitiesResponse, Client } from "../index-
|
|
2
|
+
import { UIOptions, UIOptionsSchema } from "../index.browser-DB9UGGdN.cjs";
|
|
3
|
+
import { CapabilitiesResponse, Client } from "../index-DSU-sZKL.cjs";
|
|
4
4
|
import { UIMessage } from "ai";
|
|
5
5
|
|
|
6
6
|
//#region src/react/use-options.d.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "../types-keN8L-ZK.js";
|
|
2
|
-
import { UIOptions, UIOptionsSchema } from "../index.browser-
|
|
3
|
-
import { CapabilitiesResponse, Client } from "../index-
|
|
2
|
+
import { UIOptions, UIOptionsSchema } from "../index.browser-yBhWIAxZ.js";
|
|
3
|
+
import { CapabilitiesResponse, Client } from "../index-C-Slllhb.js";
|
|
4
4
|
import { UIMessage } from "ai";
|
|
5
5
|
|
|
6
6
|
//#region src/react/use-options.d.ts
|