blink 1.1.17 → 1.1.20
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.cjs +8 -8
- package/dist/browser/agent/client/index.js +8 -8
- package/dist/cli/auth-CoJASYGP.js +2 -0
- package/dist/cli/chat-BDAEIrJW.js +1 -0
- package/dist/cli/{chat-manager-BtRfjylv.js → chat-manager-BRchJngj.js} +8 -8
- package/dist/cli/connect-CQUVd44y.js +1 -0
- package/dist/cli/connect-WyCmuQHj.js +1 -0
- package/dist/cli/create-slack-app-CyVPwWsG.js +1 -0
- package/dist/cli/{dev-VE6iNqe3.js → dev-C5PZ-A_f.js} +135 -153
- package/dist/cli/{dist-DxkSGwUH.js → dist-Ceoe3h7v.js} +51 -56
- package/dist/cli/index.js +7 -7
- package/dist/cli/{init-BmUPyFWc.js → init-CFrylDAP.js} +1 -1
- package/dist/cli/{init-templates-3vtw2MZQ.js → init-templates-CB4tNZfU.js} +72 -106
- package/dist/cli/login-DZFx5155.js +1 -0
- package/dist/cli/{run-BlY6czRh.js → run-bKDX6K46.js} +1 -1
- package/dist/cli/setup-slack-app-D_iwQuzr.js +1 -0
- package/dist/cli/{token-CrWhcy44.js → token-DNRiDJM-.js} +1 -1
- package/dist/cli/token-util-C6Xu44iO.js +1 -0
- package/dist/cli/{token-util-1KocPoKS.js → token-util-IqDtKhK6.js} +1 -1
- package/dist/cli/undici-L5V8WBce.js +1 -0
- package/dist/cli/util-BgbIWOFE.js +6 -0
- package/dist/cli/{util-x4GqZFrj.js → util-DDB5k1Go.js} +5 -5
- package/dist/node/agent/index.node.cjs +1 -1
- package/dist/node/agent/index.node.d.cts +2 -2
- package/dist/node/agent/index.node.d.ts +2 -2
- package/dist/node/agent/index.node.js +1 -1
- package/dist/node/build/index.cjs +1 -1
- package/dist/node/build/index.d.cts +1 -1
- package/dist/node/build/index.d.ts +1 -1
- package/dist/node/build/index.js +1 -1
- package/dist/node/{build-D_L0gFGa.js → build-DYI55eX2.js} +1 -1
- package/dist/node/{build-BzoNpizh.cjs → build-EgdtUZTI.cjs} +1 -1
- package/dist/node/{index-Q90WjL1a.d.ts → index-CnBfy-54.d.ts} +1 -1
- package/dist/node/{index-DlWgNLmT.d.cts → index-DYOqnOdZ.d.cts} +1 -1
- package/dist/node/index.node-B6JXREDl.js +55 -0
- package/dist/node/index.node-BrLfthBj.cjs +55 -0
- package/dist/node/{index.node-B6plkLLA.d.cts → index.node-CFw4ITad.d.cts} +1 -21
- package/dist/node/{index.node-BgliWLNt.d.ts → index.node-Dvc-cHCZ.d.ts} +1 -21
- package/dist/node/react/index.node.cjs +194 -261
- package/dist/node/react/index.node.d.cts +2 -2
- package/dist/node/react/index.node.d.ts +2 -2
- package/dist/node/react/index.node.js +124 -191
- package/dist/node/{token-Bcs36BIo.cjs → token-BBGr-czK.cjs} +1 -1
- package/dist/node/{token-DY8sflMu.js → token-DOfE6QlD.js} +1 -1
- package/dist/node/{token-util-BIiR16HV.js → token-util-C_uzN2q9.js} +1 -1
- package/dist/node/token-util-D9kCwzE6.cjs +1 -0
- package/package.json +6 -3
- package/README.md +0 -3
- package/dist/cli/auth-Db3lxkv2.js +0 -2
- package/dist/cli/chat-BtLHnRou.js +0 -1
- package/dist/cli/connect-C3y3nGPW.js +0 -1
- package/dist/cli/connect-C__b725p.js +0 -1
- package/dist/cli/create-slack-app-CNDXDwfs.js +0 -1
- package/dist/cli/execAsync-BeUIz9nV.js +0 -1
- package/dist/cli/execAsync-Byz_iObc.js +0 -1
- package/dist/cli/execAsync-CQurQFgT.js +0 -1
- package/dist/cli/getMachineId-bsd-2l7jEJ9H.js +0 -1
- package/dist/cli/getMachineId-bsd-Cn9OZifa.js +0 -1
- package/dist/cli/getMachineId-bsd-DP_S0ZSE.js +0 -1
- package/dist/cli/getMachineId-darwin-C-kdKVWl.js +0 -2
- package/dist/cli/getMachineId-darwin-D6Y_ttQ1.js +0 -2
- package/dist/cli/getMachineId-darwin-D9mTsu57.js +0 -2
- package/dist/cli/getMachineId-linux-CI6sk5r7.js +0 -1
- package/dist/cli/getMachineId-linux-DA2UB-e3.js +0 -1
- package/dist/cli/getMachineId-linux-DGORKISs.js +0 -1
- package/dist/cli/getMachineId-unsupported-B4t2intc.js +0 -1
- package/dist/cli/getMachineId-unsupported-B6Ips7oB.js +0 -1
- package/dist/cli/getMachineId-unsupported-Cxfw7WwT.js +0 -1
- package/dist/cli/getMachineId-win-B6FQ_uBq.js +0 -1
- package/dist/cli/getMachineId-win-Dr2KTzTp.js +0 -1
- package/dist/cli/getMachineId-win-QxOtxJWo.js +0 -1
- package/dist/cli/login-D1muj139.js +0 -1
- package/dist/cli/open-S_jcQ0nw.js +0 -1
- package/dist/cli/server-C8plsU0X-b-FVGGZ1.js +0 -16
- package/dist/cli/setup-slack-app-BeKQIOnA.js +0 -1
- package/dist/cli/token-util-CRJP9Uji.js +0 -1
- package/dist/cli/undici-CeDxbuSU.js +0 -1
- package/dist/node/execAsync-DDSV4gfK.cjs +0 -1
- package/dist/node/execAsync-DQysi_u6.js +0 -1
- package/dist/node/getMachineId-bsd-D2W6fhXU.js +0 -1
- package/dist/node/getMachineId-bsd-DM9BAly2.cjs +0 -1
- package/dist/node/getMachineId-darwin-BsTWxMfp.cjs +0 -2
- package/dist/node/getMachineId-darwin-Dk0tjVME.js +0 -2
- package/dist/node/getMachineId-linux-DZ7RMAHq.js +0 -1
- package/dist/node/getMachineId-linux-DmWhhrp6.cjs +0 -1
- package/dist/node/getMachineId-unsupported-CiZad6mc.js +0 -1
- package/dist/node/getMachineId-unsupported-y6X1AHF8.cjs +0 -1
- package/dist/node/getMachineId-win-_P_0Nv15.js +0 -1
- package/dist/node/getMachineId-win-e1UzWB2B.cjs +0 -1
- package/dist/node/index.node-CijG75ex.cjs +0 -55
- package/dist/node/index.node-CvZqlsJo.js +0 -55
- package/dist/node/token-util-BrE-Vihm.cjs +0 -1
- /package/dist/cli/{devtools-CcsObSm8.js → devtools-DvNholmW.js} +0 -0
- /package/dist/cli/{token-error-CoDMyqH1.js → token-error-DVSfBVaT.js} +0 -0
- /package/dist/cli/{undici-DS7K19Do.js → undici-BUZTy5qm.js} +0 -0
- /package/dist/node/{token-util-B9ankBb5.cjs → token-util-BOoyY0PX.cjs} +0 -0
- /package/dist/node/{token-util-Czyk5fmW.js → token-util-_pz5CtFI.js} +0 -0
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as hono_utils_http_status0 from "hono/utils/http-status";
|
|
2
2
|
import * as hono_hono_base0 from "hono/hono-base";
|
|
3
|
-
import * as _ai_sdk_provider0 from "@ai-sdk/provider";
|
|
4
3
|
import { InferToolInput, InferToolOutput, InferUIMessageChunk, StreamTextResult, Tool, ToolSet, UIMessage } from "ai";
|
|
5
4
|
import * as http from "http";
|
|
6
5
|
|
|
@@ -418,25 +417,6 @@ declare const api: hono_hono_base0.HonoBase<{
|
|
|
418
417
|
};
|
|
419
418
|
};
|
|
420
419
|
}, "/">;
|
|
421
|
-
/**
|
|
422
|
-
* model returns an AI-SDK model provider that can be
|
|
423
|
-
* used with `streamText`, `generateText`, etc.
|
|
424
|
-
*
|
|
425
|
-
* It simply proxies to the Vercel AI Gateway, with no
|
|
426
|
-
* additional cost.
|
|
427
|
-
*
|
|
428
|
-
* Find model names at: https://vercel.com/ai-gateway/models.
|
|
429
|
-
*
|
|
430
|
-
* Common:
|
|
431
|
-
* "anthropic/claude-sonnet-4.5"
|
|
432
|
-
* "anthropic/claude-sonnet-4"
|
|
433
|
-
* "openai/gpt-5"
|
|
434
|
-
*
|
|
435
|
-
* @param model the model name. browse models at: https://vercel.com/ai-gateway/models.
|
|
436
|
-
*/
|
|
437
|
-
declare const model: (model: string, options?: {
|
|
438
|
-
token?: string;
|
|
439
|
-
}) => _ai_sdk_provider0.LanguageModelV2;
|
|
440
420
|
/**
|
|
441
421
|
* waitUntil waits until the promise is resolved.
|
|
442
422
|
* This is useful for responding quickly in webhooks, but
|
|
@@ -552,4 +532,4 @@ type StreamResponseFormat = "ui-message" | "openai-chat" | "openai-response" | "
|
|
|
552
532
|
declare const StreamResponseFormatHeader = "x-blink-stream-response-format";
|
|
553
533
|
declare function withResponseFormat(response: Response, format: StreamResponseFormat): Response;
|
|
554
534
|
//#endregion
|
|
555
|
-
export { Agent, AgentChat, AgentOtel, AgentStore, Chat, ChatEvent, ChatHandler, ChatResponse, ContextFromTools, ErrorHandler, ExtractUIOptions, ID$1 as ID, NewMessage, RequestHandler, SendBehavior, SendOptions, ServeOptions, StreamResponseFormat, StreamResponseFormatHeader, ToolApprovalOutput, ToolSetWithApproval, ToolWithApproval, ToolWithContext, UIEvent, UIHandler, UIOptionSelect, UIOptionSelectValue, UIOptions, UIOptionsSchema, UpsertedChat, WithUIOptions, agent, api, isToolApprovalOutput, lastUIOptions,
|
|
535
|
+
export { Agent, AgentChat, AgentOtel, AgentStore, Chat, ChatEvent, ChatHandler, ChatResponse, ContextFromTools, ErrorHandler, ExtractUIOptions, ID$1 as ID, NewMessage, RequestHandler, SendBehavior, SendOptions, ServeOptions, StreamResponseFormat, StreamResponseFormatHeader, ToolApprovalOutput, ToolSetWithApproval, ToolWithApproval, ToolWithContext, UIEvent, UIHandler, UIOptionSelect, UIOptionSelectValue, UIOptions, UIOptionsSchema, UpsertedChat, WithUIOptions, agent, api, isToolApprovalOutput, lastUIOptions, toolWithApproval, tools, waitUntil, withResponseFormat };
|
|
@@ -2,7 +2,6 @@ import * as http$1 from "http";
|
|
|
2
2
|
import { InferToolInput, InferToolOutput, InferUIMessageChunk, StreamTextResult, Tool, ToolSet, UIMessage } from "ai";
|
|
3
3
|
import * as hono_utils_http_status0 from "hono/utils/http-status";
|
|
4
4
|
import * as hono_hono_base0 from "hono/hono-base";
|
|
5
|
-
import * as _ai_sdk_provider0 from "@ai-sdk/provider";
|
|
6
5
|
|
|
7
6
|
//#region src/agent/internal/types.d.ts
|
|
8
7
|
type Promisable<T> = T | Promise<T>;
|
|
@@ -418,25 +417,6 @@ declare const api: hono_hono_base0.HonoBase<{
|
|
|
418
417
|
};
|
|
419
418
|
};
|
|
420
419
|
}, "/">;
|
|
421
|
-
/**
|
|
422
|
-
* model returns an AI-SDK model provider that can be
|
|
423
|
-
* used with `streamText`, `generateText`, etc.
|
|
424
|
-
*
|
|
425
|
-
* It simply proxies to the Vercel AI Gateway, with no
|
|
426
|
-
* additional cost.
|
|
427
|
-
*
|
|
428
|
-
* Find model names at: https://vercel.com/ai-gateway/models.
|
|
429
|
-
*
|
|
430
|
-
* Common:
|
|
431
|
-
* "anthropic/claude-sonnet-4.5"
|
|
432
|
-
* "anthropic/claude-sonnet-4"
|
|
433
|
-
* "openai/gpt-5"
|
|
434
|
-
*
|
|
435
|
-
* @param model the model name. browse models at: https://vercel.com/ai-gateway/models.
|
|
436
|
-
*/
|
|
437
|
-
declare const model: (model: string, options?: {
|
|
438
|
-
token?: string;
|
|
439
|
-
}) => _ai_sdk_provider0.LanguageModelV2;
|
|
440
420
|
/**
|
|
441
421
|
* waitUntil waits until the promise is resolved.
|
|
442
422
|
* This is useful for responding quickly in webhooks, but
|
|
@@ -552,4 +532,4 @@ type StreamResponseFormat = "ui-message" | "openai-chat" | "openai-response" | "
|
|
|
552
532
|
declare const StreamResponseFormatHeader = "x-blink-stream-response-format";
|
|
553
533
|
declare function withResponseFormat(response: Response, format: StreamResponseFormat): Response;
|
|
554
534
|
//#endregion
|
|
555
|
-
export { Agent, AgentChat, AgentOtel, AgentStore, Chat, ChatEvent, ChatHandler, ChatResponse, ContextFromTools, ErrorHandler, ExtractUIOptions, ID$1 as ID, NewMessage, RequestHandler, SendBehavior, SendOptions, ServeOptions, StreamResponseFormat, StreamResponseFormatHeader, ToolApprovalOutput, ToolSetWithApproval, ToolWithApproval, ToolWithContext, UIEvent, UIHandler, UIOptionSelect, UIOptionSelectValue, UIOptions, UIOptionsSchema, UpsertedChat, WithUIOptions, agent, api, isToolApprovalOutput, lastUIOptions,
|
|
535
|
+
export { Agent, AgentChat, AgentOtel, AgentStore, Chat, ChatEvent, ChatHandler, ChatResponse, ContextFromTools, ErrorHandler, ExtractUIOptions, ID$1 as ID, NewMessage, RequestHandler, SendBehavior, SendOptions, ServeOptions, StreamResponseFormat, StreamResponseFormatHeader, ToolApprovalOutput, ToolSetWithApproval, ToolWithApproval, ToolWithContext, UIEvent, UIHandler, UIOptionSelect, UIOptionSelectValue, UIOptions, UIOptionsSchema, UpsertedChat, WithUIOptions, agent, api, isToolApprovalOutput, lastUIOptions, toolWithApproval, tools, waitUntil, withResponseFormat };
|