@tryhamster/gerbil 1.0.4 → 1.0.5

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 (84) hide show
  1. package/dist/cli.mjs +10 -10
  2. package/dist/cli.mjs.map +1 -1
  3. package/dist/frameworks/express.d.mts +1 -1
  4. package/dist/frameworks/express.mjs +1 -1
  5. package/dist/frameworks/fastify.d.mts +1 -1
  6. package/dist/frameworks/fastify.mjs +1 -1
  7. package/dist/frameworks/hono.d.mts +1 -1
  8. package/dist/frameworks/hono.mjs +1 -1
  9. package/dist/frameworks/next.d.mts +3 -3
  10. package/dist/frameworks/next.mjs +1 -1
  11. package/dist/frameworks/react.d.mts +1 -1
  12. package/dist/frameworks/trpc.d.mts +1 -1
  13. package/dist/frameworks/trpc.mjs +1 -1
  14. package/dist/gerbil-BgppGzKa.mjs +4 -0
  15. package/dist/{gerbil-BPbJy0_f.mjs → gerbil-CZYYq4Sq.mjs} +4 -4
  16. package/dist/{gerbil-BPbJy0_f.mjs.map → gerbil-CZYYq4Sq.mjs.map} +1 -1
  17. package/dist/{gerbil-BetB5xb0.d.mts → gerbil-CvNqpVg0.d.mts} +3 -3
  18. package/dist/{gerbil-BetB5xb0.d.mts.map → gerbil-CvNqpVg0.d.mts.map} +1 -1
  19. package/dist/gpu/hooks.d.mts +2 -2
  20. package/dist/gpu/hooks.d.mts.map +1 -1
  21. package/dist/gpu/hooks.mjs +4 -5
  22. package/dist/gpu/hooks.mjs.map +1 -1
  23. package/dist/gpu/index.d.mts +1 -1
  24. package/dist/gpu/index.mjs +2 -3
  25. package/dist/{gpu-Dszu2rk-.mjs → gpu-Ch2VuLdN.mjs} +25 -4
  26. package/dist/gpu-Ch2VuLdN.mjs.map +1 -0
  27. package/dist/{index-Dgmb2kE3.d.mts → index-Dy_9rDd5.d.mts} +2 -2
  28. package/dist/{index-Dgmb2kE3.d.mts.map → index-Dy_9rDd5.d.mts.map} +1 -1
  29. package/dist/{index-DukkJRMj.d.mts → index-Nl40RdSs.d.mts} +1 -1
  30. package/dist/{index-DukkJRMj.d.mts.map → index-Nl40RdSs.d.mts.map} +1 -1
  31. package/dist/index.d.mts +5 -5
  32. package/dist/index.mjs +8 -9
  33. package/dist/index.mjs.map +1 -1
  34. package/dist/{indexeddb-store-BWIMtxxH.mjs → indexeddb-store-BEylGAex.mjs} +2 -2
  35. package/dist/{indexeddb-store-BWIMtxxH.mjs.map → indexeddb-store-BEylGAex.mjs.map} +1 -1
  36. package/dist/indexeddb-store-ClSHQxwz.mjs +4 -0
  37. package/dist/integrations/ai-sdk.d.mts +1 -1
  38. package/dist/integrations/ai-sdk.mjs +1 -1
  39. package/dist/integrations/langchain.d.mts +1 -1
  40. package/dist/integrations/langchain.mjs +1 -1
  41. package/dist/integrations/llamaindex.d.mts +1 -1
  42. package/dist/integrations/llamaindex.mjs +1 -1
  43. package/dist/integrations/mcp-client.mjs +1 -1
  44. package/dist/integrations/mcp.d.mts +3 -3
  45. package/dist/integrations/mcp.mjs +4 -4
  46. package/dist/{mcp-C8lTkR3D.mjs → mcp-DUgk28Kp.mjs} +3 -3
  47. package/dist/{mcp-C8lTkR3D.mjs.map → mcp-DUgk28Kp.mjs.map} +1 -1
  48. package/dist/memory/index.d.mts +2 -2
  49. package/dist/memory/index.mjs +4 -4
  50. package/dist/memory-CGRo6zY5.mjs +4 -0
  51. package/dist/{memory-DVN0MnIG.mjs → memory-Deo99oKh.mjs} +2 -2
  52. package/dist/{memory-DVN0MnIG.mjs.map → memory-Deo99oKh.mjs.map} +1 -1
  53. package/dist/{memory-Dj0J1v88.mjs → memory-wgo2ZK3M.mjs} +2 -2
  54. package/dist/{memory-Dj0J1v88.mjs.map → memory-wgo2ZK3M.mjs.map} +1 -1
  55. package/dist/moonshine-stt-DFIP4tIb.mjs +4 -0
  56. package/dist/{moonshine-stt-DNVw8v_Y.mjs → moonshine-stt-DR0-JbVW.mjs} +1 -1
  57. package/dist/{moonshine-stt-DNVw8v_Y.mjs.map → moonshine-stt-DR0-JbVW.mjs.map} +1 -1
  58. package/dist/{one-liner-VcUGmyTZ.mjs → one-liner-sTDG9Hum.mjs} +2 -2
  59. package/dist/{one-liner-VcUGmyTZ.mjs.map → one-liner-sTDG9Hum.mjs.map} +1 -1
  60. package/dist/repl-njlFQs4-.mjs +9 -0
  61. package/dist/skills/index.d.mts +14 -14
  62. package/dist/skills/index.d.mts.map +1 -1
  63. package/dist/skills/index.mjs +3 -3
  64. package/dist/{skills-B6Cor5wy.mjs → skills-CEUuOUlm.mjs} +2 -2
  65. package/dist/{skills-B6Cor5wy.mjs.map → skills-CEUuOUlm.mjs.map} +1 -1
  66. package/dist/{tools-DQ1mPUw5.mjs → tools-DbbNCJ5y.mjs} +1 -1
  67. package/dist/{tools-DQ1mPUw5.mjs.map → tools-DbbNCJ5y.mjs.map} +1 -1
  68. package/dist/{types-LlyYILII.d.mts → types-Bxwe_uS7.d.mts} +1 -1
  69. package/dist/{types-LlyYILII.d.mts.map → types-Bxwe_uS7.d.mts.map} +1 -1
  70. package/dist/{types-DQBe2lFo.d.mts → types-D7kn-0i2.d.mts} +1 -1
  71. package/dist/{types-DQBe2lFo.d.mts.map → types-D7kn-0i2.d.mts.map} +1 -1
  72. package/dist/{vector-B0panuy6.mjs → vector-C1U9vVVS.mjs} +1 -1
  73. package/dist/{vector-B0panuy6.mjs.map → vector-C1U9vVVS.mjs.map} +1 -1
  74. package/package.json +1 -1
  75. package/dist/defaults-9komdrbY.mjs +0 -24
  76. package/dist/defaults-9komdrbY.mjs.map +0 -1
  77. package/dist/gerbil-BoHXwcdY.mjs +0 -4
  78. package/dist/gpu-Dszu2rk-.mjs.map +0 -1
  79. package/dist/indexeddb-store-ClH12Xnl.mjs +0 -4
  80. package/dist/memory-D1P7Tmda.mjs +0 -4
  81. package/dist/moonshine-stt-rXESw8t8.mjs +0 -4
  82. package/dist/repl-WUbQ1UgU.mjs +0 -9
  83. /package/dist/{auto-update-BVaLXcDE.mjs → auto-update-DNbr3GLz.mjs} +0 -0
  84. /package/dist/{microphone-Bqmoz9_K.mjs → microphone-sj_bnRm-.mjs} +0 -0
@@ -1,4 +1,4 @@
1
- import { d as GerbilConfig } from "../types-LlyYILII.mjs";
1
+ import { d as GerbilConfig } from "../types-Bxwe_uS7.mjs";
2
2
  import { Request, Response, Router } from "express";
3
3
 
4
4
  //#region src/frameworks/express.d.ts
@@ -1,5 +1,5 @@
1
1
  import { t as __require } from "../chunk-B9cbKln6.mjs";
2
- import { r as DEFAULT_MODEL, t as Gerbil } from "../gerbil-BPbJy0_f.mjs";
2
+ import { r as DEFAULT_MODEL, t as Gerbil } from "../gerbil-CZYYq4Sq.mjs";
3
3
  import "../utils-DKO55ZmZ.mjs";
4
4
 
5
5
  //#region src/frameworks/express.ts
@@ -1,4 +1,4 @@
1
- import { d as GerbilConfig } from "../types-LlyYILII.mjs";
1
+ import { d as GerbilConfig } from "../types-Bxwe_uS7.mjs";
2
2
 
3
3
  //#region src/frameworks/fastify.d.ts
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as DEFAULT_MODEL, t as Gerbil } from "../gerbil-BPbJy0_f.mjs";
1
+ import { r as DEFAULT_MODEL, t as Gerbil } from "../gerbil-CZYYq4Sq.mjs";
2
2
  import "../utils-DKO55ZmZ.mjs";
3
3
 
4
4
  //#region src/frameworks/fastify.ts
@@ -1,4 +1,4 @@
1
- import { d as GerbilConfig } from "../types-LlyYILII.mjs";
1
+ import { d as GerbilConfig } from "../types-Bxwe_uS7.mjs";
2
2
  import * as hono0 from "hono";
3
3
  import * as hono_types0 from "hono/types";
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as DEFAULT_MODEL, t as Gerbil } from "../gerbil-BPbJy0_f.mjs";
1
+ import { r as DEFAULT_MODEL, t as Gerbil } from "../gerbil-CZYYq4Sq.mjs";
2
2
  import "../utils-DKO55ZmZ.mjs";
3
3
 
4
4
  //#region src/frameworks/hono.ts
@@ -1,6 +1,6 @@
1
- import { d as GerbilConfig } from "../types-LlyYILII.mjs";
2
- import "../index-DukkJRMj.mjs";
3
- import { t as Gerbil } from "../gerbil-BetB5xb0.mjs";
1
+ import { d as GerbilConfig } from "../types-Bxwe_uS7.mjs";
2
+ import "../index-Nl40RdSs.mjs";
3
+ import { t as Gerbil } from "../gerbil-CvNqpVg0.mjs";
4
4
 
5
5
  //#region src/frameworks/next.d.ts
6
6
 
@@ -1,4 +1,4 @@
1
- import { r as DEFAULT_MODEL, t as Gerbil } from "../gerbil-BPbJy0_f.mjs";
1
+ import { r as DEFAULT_MODEL, t as Gerbil } from "../gerbil-CZYYq4Sq.mjs";
2
2
  import "../utils-DKO55ZmZ.mjs";
3
3
 
4
4
  //#region src/frameworks/next.ts
@@ -1,4 +1,4 @@
1
- import { d as GerbilConfig, l as GenerateOptions, u as GenerateResult } from "../types-LlyYILII.mjs";
1
+ import { d as GerbilConfig, l as GenerateOptions, u as GenerateResult } from "../types-Bxwe_uS7.mjs";
2
2
 
3
3
  //#region src/frameworks/react.d.ts
4
4
 
@@ -1,4 +1,4 @@
1
- import { d as GerbilConfig } from "../types-LlyYILII.mjs";
1
+ import { d as GerbilConfig } from "../types-Bxwe_uS7.mjs";
2
2
 
3
3
  //#region src/frameworks/trpc.d.ts
4
4
 
@@ -1,4 +1,4 @@
1
- import { r as DEFAULT_MODEL, t as Gerbil } from "../gerbil-BPbJy0_f.mjs";
1
+ import { r as DEFAULT_MODEL, t as Gerbil } from "../gerbil-CZYYq4Sq.mjs";
2
2
  import "../utils-DKO55ZmZ.mjs";
3
3
  import { z } from "zod";
4
4
 
@@ -0,0 +1,4 @@
1
+ import { t as Gerbil } from "./gerbil-CZYYq4Sq.mjs";
2
+ import "./utils-DKO55ZmZ.mjs";
3
+
4
+ export { Gerbil };
@@ -1486,7 +1486,7 @@ The JSON must conform to this schema: ${JSON.stringify(zodToJsonSchema(schema))}
1486
1486
  /** Lazily build (or reuse) the native MoonshineSTT engine (default repo). */
1487
1487
  async ensureNativeSTT() {
1488
1488
  if (!this.nativeSTT) {
1489
- const { MoonshineSTT } = await import("./moonshine-stt-rXESw8t8.mjs");
1489
+ const { MoonshineSTT } = await import("./moonshine-stt-DFIP4tIb.mjs");
1490
1490
  this.nativeSTT = await MoonshineSTT.create();
1491
1491
  }
1492
1492
  return this.nativeSTT;
@@ -1568,7 +1568,7 @@ The JSON must conform to this schema: ${JSON.stringify(zodToJsonSchema(schema))}
1568
1568
  * ```
1569
1569
  */
1570
1570
  async listen(durationMs = 5e3, options = {}) {
1571
- const { Microphone, isSoxAvailable } = await import("./microphone-Bqmoz9_K.mjs");
1571
+ const { Microphone, isSoxAvailable } = await import("./microphone-sj_bnRm-.mjs");
1572
1572
  if (!isSoxAvailable()) throw new Error("Microphone recording requires SoX. Install with:\n macOS: brew install sox\n Ubuntu: sudo apt install sox\n Windows: https://sox.sourceforge.net/");
1573
1573
  options.onProgress?.("Starting microphone...");
1574
1574
  const mic = new Microphone({ sampleRate: 16e3 });
@@ -1585,7 +1585,7 @@ The JSON must conform to this schema: ${JSON.stringify(zodToJsonSchema(schema))}
1585
1585
  */
1586
1586
  async isMicrophoneAvailable() {
1587
1587
  try {
1588
- const { isSoxAvailable } = await import("./microphone-Bqmoz9_K.mjs");
1588
+ const { isSoxAvailable } = await import("./microphone-sj_bnRm-.mjs");
1589
1589
  return isSoxAvailable();
1590
1590
  } catch {
1591
1591
  return false;
@@ -1653,4 +1653,4 @@ The JSON must conform to this schema: ${JSON.stringify(zodToJsonSchema(schema))}
1653
1653
 
1654
1654
  //#endregion
1655
1655
  export { resolveModel as a, configureGlobalCache as c, listBuiltinModels as i, getGlobalCache as l, BUILTIN_MODELS as n, ResponseCache as o, DEFAULT_MODEL as r, clearGlobalCache as s, Gerbil as t };
1656
- //# sourceMappingURL=gerbil-BPbJy0_f.mjs.map
1656
+ //# sourceMappingURL=gerbil-CZYYq4Sq.mjs.map