blink 1.1.19 → 1.1.21

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.
Files changed (133) hide show
  1. package/dist/browser/agent/client/index.cjs +7 -7
  2. package/dist/browser/agent/client/index.js +6 -6
  3. package/dist/cli/{auth-CoJASYGP.js → auth-BilZuH-1.js} +2 -2
  4. package/dist/cli/{chat-BDAEIrJW.js → chat-CAtArOPl.js} +1 -1
  5. package/dist/cli/chat-manager-DfVg04yc.js +21 -0
  6. package/dist/cli/connect-DWScpJzS.js +1 -0
  7. package/dist/cli/create-slack-app-CyVPwWsG.js +1 -0
  8. package/dist/cli/{dev-BShY-dVP.js → dev-DRWR8F1H.js} +212 -176
  9. package/dist/cli/execAsync-Dwktgsum.js +1 -0
  10. package/dist/cli/execAsync-qNF4iDpO.js +1 -0
  11. package/dist/cli/{getMachineId-bsd-BQaAhwjO.js → getMachineId-bsd-0cOO_RKK.js} +1 -1
  12. package/dist/cli/{getMachineId-bsd-Cw8CWhxJ.js → getMachineId-bsd-BDrKPt3B.js} +1 -1
  13. package/dist/cli/{getMachineId-bsd-DcR5dlLj.js → getMachineId-bsd-BJ3yH7j4.js} +1 -1
  14. package/dist/{node/getMachineId-bsd-BxqlJcyA.js → cli/getMachineId-bsd-BpxYEV3F.js} +1 -1
  15. package/dist/cli/getMachineId-bsd-BrJwIGYU.js +1 -0
  16. package/dist/cli/getMachineId-bsd-C6osJ6-S.js +1 -0
  17. package/dist/cli/{getMachineId-bsd-CbeuYR7X.js → getMachineId-bsd-CHVQhSq2.js} +1 -1
  18. package/dist/cli/getMachineId-bsd-DeIJ5F9l.js +1 -0
  19. package/dist/cli/{getMachineId-darwin-D7CuR-jd.js → getMachineId-darwin-0AdOS_kz.js} +1 -1
  20. package/dist/cli/{getMachineId-darwin-DJ-H8l7s.js → getMachineId-darwin-BaA8JJgE.js} +1 -1
  21. package/dist/cli/{getMachineId-darwin-DYCKXuZX.js → getMachineId-darwin-BeAdNwpL.js} +1 -1
  22. package/dist/cli/{getMachineId-darwin-DyN_uugK.js → getMachineId-darwin-C8-xkmnZ.js} +1 -1
  23. package/dist/{node/getMachineId-darwin-Bf4P0U5b.js → cli/getMachineId-darwin-CJ2gOzlU.js} +1 -1
  24. package/dist/cli/getMachineId-darwin-CYvRIQbp.js +2 -0
  25. package/dist/cli/getMachineId-darwin-DWSKszGZ.js +2 -0
  26. package/dist/cli/getMachineId-darwin-wYLDmdQt.js +2 -0
  27. package/dist/cli/getMachineId-linux-D0cDy6Ik.js +1 -0
  28. package/dist/cli/getMachineId-linux-DgyKUIyK.js +1 -0
  29. package/dist/cli/getMachineId-linux-DnzutOBC.js +1 -0
  30. package/dist/cli/getMachineId-linux-nBO1QX9q.js +1 -0
  31. package/dist/cli/getMachineId-unsupported-DQBLgw4s.js +1 -0
  32. package/dist/cli/getMachineId-unsupported-DTFeADdG.js +1 -0
  33. package/dist/cli/getMachineId-unsupported-DgVzHx1H.js +1 -0
  34. package/dist/cli/getMachineId-unsupported-TE5qi9PD.js +1 -0
  35. package/dist/cli/{getMachineId-win-BB1s3SWz.js → getMachineId-win-4Psd7Tlr.js} +1 -1
  36. package/dist/cli/{getMachineId-win-BrQ4d5bO.js → getMachineId-win-BA0Li8oF.js} +1 -1
  37. package/dist/cli/{getMachineId-win-CgPYGelR.js → getMachineId-win-BvGLfEpq.js} +1 -1
  38. package/dist/cli/getMachineId-win-BzRwVWue.js +1 -0
  39. package/dist/cli/{getMachineId-win-B7f9VGFu.js → getMachineId-win-C4wjvjxC.js} +1 -1
  40. package/dist/cli/getMachineId-win-DXCyELQJ.js +1 -0
  41. package/dist/cli/getMachineId-win-hHwtD9GX.js +1 -0
  42. package/dist/cli/getMachineId-win-lhgCxX3y.js +1 -0
  43. package/dist/cli/index.js +8 -8
  44. package/dist/cli/init-BuMKmaaZ.js +23 -0
  45. package/dist/cli/{init-templates-MqyReSD9.js → init-templates-B9PG-9Ei.js} +257 -263
  46. package/dist/cli/login-Bbj133_1.js +1 -0
  47. package/dist/cli/{run-DFYLWiOa.js → run-DF1dwAY_.js} +1 -1
  48. package/dist/cli/setup-slack-app-DagQxNol.js +1 -0
  49. package/dist/cli/{token-DNRiDJM-.js → token-BdYp2nw_.js} +1 -1
  50. package/dist/cli/token-util-C9doIH9w.js +1 -0
  51. package/dist/cli/{token-util-IqDtKhK6.js → token-util-KdD-UX1l.js} +1 -1
  52. package/dist/cli/undici-Bm_EanIy.js +1 -0
  53. package/dist/cli/util-CUfifM0g.js +5 -0
  54. package/dist/cli/util-k3x8m_i5.js +33 -0
  55. package/dist/node/agent/index.node.cjs +1 -1
  56. package/dist/node/agent/index.node.d.cts +2 -2
  57. package/dist/node/agent/index.node.d.ts +2 -2
  58. package/dist/node/agent/index.node.js +1 -1
  59. package/dist/node/build/index.cjs +1 -1
  60. package/dist/node/build/index.d.cts +1 -1
  61. package/dist/node/build/index.d.ts +1 -1
  62. package/dist/node/build/index.js +1 -1
  63. package/dist/node/{build-D_L0gFGa.js → build-DYI55eX2.js} +1 -1
  64. package/dist/node/{build-BzoNpizh.cjs → build-EgdtUZTI.cjs} +1 -1
  65. package/dist/node/execAsync-CY8juV7n.js +1 -0
  66. package/dist/node/{getMachineId-bsd-C10eVJgT.js → getMachineId-bsd-Ckr9jSoT.js} +1 -1
  67. package/dist/node/{getMachineId-bsd-B84ixt26.cjs → getMachineId-bsd-O0bNSuuh.cjs} +1 -1
  68. package/dist/node/{getMachineId-darwin-JB29MQsG.js → getMachineId-darwin-36SFRv2R.js} +1 -1
  69. package/dist/node/{getMachineId-darwin-Cyng5kFG.cjs → getMachineId-darwin-DivkCgLG.cjs} +1 -1
  70. package/dist/node/{getMachineId-win-CjJkZMZe.cjs → getMachineId-win-B_okYUv6.cjs} +1 -1
  71. package/dist/node/{getMachineId-win-C4G-fkEF.js → getMachineId-win-CGqZ4f4O.js} +1 -1
  72. package/dist/node/{index-DlWgNLmT.d.cts → index-B4OXlWm3.d.ts} +1 -1
  73. package/dist/node/{index-C28Wm0bG.d.ts → index-DYOqnOdZ.d.cts} +1 -1
  74. package/dist/node/index.node-Bvp48I1R.cjs +50 -0
  75. package/dist/node/{index.node-B6plkLLA.d.cts → index.node-CFw4ITad.d.cts} +1 -21
  76. package/dist/node/{index.node-qJt_7e9E.d.ts → index.node-D5_czyKY.d.ts} +1 -21
  77. package/dist/node/index.node-ppzOWVGE.js +50 -0
  78. package/dist/node/react/index.node.cjs +354 -361
  79. package/dist/node/react/index.node.d.cts +2 -2
  80. package/dist/node/react/index.node.d.ts +2 -2
  81. package/dist/node/react/index.node.js +308 -315
  82. package/dist/node/{token-DOfE6QlD.js → token-CI2_C_5D.js} +1 -1
  83. package/dist/node/{token-BBGr-czK.cjs → token-D4jFpAk0.cjs} +1 -1
  84. package/dist/node/token-util-BENsR1Bn.cjs +1 -0
  85. package/dist/node/{token-util-C_uzN2q9.js → token-util-idU3T5iM.js} +1 -1
  86. package/package.json +20 -1
  87. package/dist/cli/chat-manager-BRchJngj.js +0 -21
  88. package/dist/cli/connect-WyCmuQHj.js +0 -1
  89. package/dist/cli/create-slack-app-CNDXDwfs.js +0 -1
  90. package/dist/cli/init-DoMgv4kU.js +0 -25
  91. package/dist/cli/login-DZFx5155.js +0 -1
  92. package/dist/cli/setup-slack-app-DQ3iSM5s.js +0 -1
  93. package/dist/cli/token-util-C6Xu44iO.js +0 -1
  94. package/dist/cli/undici-L5V8WBce.js +0 -1
  95. package/dist/cli/util-BQ3TH_Sv.js +0 -33
  96. package/dist/cli/util-BgbIWOFE.js +0 -6
  97. package/dist/node/execAsync-pJEPzmP4.cjs +0 -1
  98. package/dist/node/getMachineId-bsd-BudRe7J9.cjs +0 -1
  99. package/dist/node/getMachineId-darwin-ZVi3EKE3.cjs +0 -2
  100. package/dist/node/getMachineId-linux-CJXPQ8U5.cjs +0 -1
  101. package/dist/node/getMachineId-linux-CmMSYp7C.js +0 -1
  102. package/dist/node/getMachineId-unsupported-DM7fz1pP.cjs +0 -1
  103. package/dist/node/getMachineId-unsupported-Dtt3HTNZ.js +0 -1
  104. package/dist/node/getMachineId-win-D1szVnqR.js +0 -1
  105. package/dist/node/getMachineId-win-DDz2FyEp.cjs +0 -1
  106. package/dist/node/index.node-D7Cvmag9.cjs +0 -55
  107. package/dist/node/index.node-TFdiI8lm.js +0 -55
  108. package/dist/node/token-util-D9kCwzE6.cjs +0 -1
  109. /package/dist/cli/{connect-CQUVd44y.js → connect-BCK40kvG.js} +0 -0
  110. /package/dist/cli/{devtools-DvNholmW.js → devtools-DsAYEmyP.js} +0 -0
  111. /package/dist/cli/{execAsync-Bhq3YKvl.js → execAsync-BOPj9Mml.js} +0 -0
  112. /package/dist/cli/{execAsync-BnYBiViJ.js → execAsync-Bv4jTnD3.js} +0 -0
  113. /package/dist/cli/{execAsync-Djebuxfm.js → execAsync-CyP3Ojec.js} +0 -0
  114. /package/dist/cli/{execAsync-_tP2SNTy.js → execAsync-DHh3DKKp.js} +0 -0
  115. /package/dist/{node/execAsync-DzxhVi7q.js → cli/execAsync-DdLzES9n.js} +0 -0
  116. /package/dist/{node/execAsync-epR2wT1r.js → cli/execAsync-Dv6XOE2I.js} +0 -0
  117. /package/dist/cli/{getMachineId-linux-BCOAWAJr.js → getMachineId-linux-BQISLgy5.js} +0 -0
  118. /package/dist/cli/{getMachineId-linux-CBDQri3D.js → getMachineId-linux-Bg5YnekM.js} +0 -0
  119. /package/dist/cli/{getMachineId-linux-EqaaEzYC.js → getMachineId-linux-Boq-GGfA.js} +0 -0
  120. /package/dist/cli/{getMachineId-linux-QFNGh16E.js → getMachineId-linux-C9BHlxRm.js} +0 -0
  121. /package/dist/cli/{getMachineId-unsupported-BLalsIU8.js → getMachineId-unsupported-4qhSqb7w.js} +0 -0
  122. /package/dist/cli/{getMachineId-unsupported-CNgpP2gn.js → getMachineId-unsupported-BsEK_LG9.js} +0 -0
  123. /package/dist/cli/{getMachineId-unsupported-CQrnjCuH.js → getMachineId-unsupported-C6cVb167.js} +0 -0
  124. /package/dist/cli/{getMachineId-unsupported-CcRcqdy3.js → getMachineId-unsupported-CqJy0sqq.js} +0 -0
  125. /package/dist/cli/{token-error-DVSfBVaT.js → token-error-COQY18OP.js} +0 -0
  126. /package/dist/cli/{undici-BUZTy5qm.js → undici-CRntNDHY.js} +0 -0
  127. /package/dist/node/{execAsync-C9Unrkco.cjs → execAsync-BMxJf0Eg.cjs} +0 -0
  128. /package/dist/node/{getMachineId-linux-B-CtXK0L.cjs → getMachineId-linux-C8A0ak4z.cjs} +0 -0
  129. /package/dist/node/{getMachineId-linux-BPnkHJah.js → getMachineId-linux-ZoT5w75D.js} +0 -0
  130. /package/dist/node/{getMachineId-unsupported--0R36RP6.cjs → getMachineId-unsupported-DSRCXJha.cjs} +0 -0
  131. /package/dist/node/{getMachineId-unsupported-C_4fnT4Z.js → getMachineId-unsupported-XVp8oFCM.js} +0 -0
  132. /package/dist/node/{token-util-BOoyY0PX.cjs → token-util-BxSJFXkT.cjs} +0 -0
  133. /package/dist/node/{token-util-_pz5CtFI.js → token-util-ChGcRyiF.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, model, toolWithApproval, tools, waitUntil, withResponseFormat };
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, model, toolWithApproval, tools, waitUntil, withResponseFormat };
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 };