@tryhamster/gerbil 1.0.0-rc.5 → 1.0.0-rc.7

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 (69) hide show
  1. package/dist/browser/index.js +6 -6
  2. package/dist/cli.mjs +7 -7
  3. package/dist/cli.mjs.map +1 -1
  4. package/dist/frameworks/express.d.mts +1 -1
  5. package/dist/frameworks/express.mjs +1 -1
  6. package/dist/frameworks/fastify.d.mts +1 -1
  7. package/dist/frameworks/fastify.mjs +1 -1
  8. package/dist/frameworks/hono.d.mts +1 -1
  9. package/dist/frameworks/hono.mjs +1 -1
  10. package/dist/frameworks/next.d.mts +2 -2
  11. package/dist/frameworks/next.mjs +1 -1
  12. package/dist/frameworks/react.d.mts +1 -1
  13. package/dist/frameworks/trpc.d.mts +1 -1
  14. package/dist/frameworks/trpc.mjs +1 -1
  15. package/dist/gerbil-CJ3ifloF.mjs +4 -0
  16. package/dist/{gerbil-CocYaJhE.mjs → gerbil-Dw4Qj77e.mjs} +5 -5
  17. package/dist/{gerbil-CocYaJhE.mjs.map → gerbil-Dw4Qj77e.mjs.map} +1 -1
  18. package/dist/{gerbil-CnncBh38.d.mts → gerbil-qOTe1nl2.d.mts} +2 -2
  19. package/dist/{gerbil-CnncBh38.d.mts.map → gerbil-qOTe1nl2.d.mts.map} +1 -1
  20. package/dist/index.d.mts +2 -2
  21. package/dist/index.d.mts.map +1 -1
  22. package/dist/index.mjs +4 -4
  23. package/dist/integrations/ai-sdk.d.mts +1 -1
  24. package/dist/integrations/ai-sdk.mjs +3 -3
  25. package/dist/integrations/langchain.d.mts +1 -1
  26. package/dist/integrations/langchain.mjs +1 -1
  27. package/dist/integrations/llamaindex.d.mts +1 -1
  28. package/dist/integrations/llamaindex.mjs +1 -1
  29. package/dist/integrations/mcp.d.mts +2 -2
  30. package/dist/integrations/mcp.mjs +4 -4
  31. package/dist/kokoro-BNTb6egA.mjs +20210 -0
  32. package/dist/kokoro-BNTb6egA.mjs.map +1 -0
  33. package/dist/{kokoro-BSHqCbNW.js → kokoro-CMOGDSgT.js} +2 -2
  34. package/dist/{kokoro-BSHqCbNW.js.map → kokoro-CMOGDSgT.js.map} +1 -1
  35. package/dist/{mcp-m9BkEngp.mjs → mcp-BvbriaBy.mjs} +3 -3
  36. package/dist/{mcp-m9BkEngp.mjs.map → mcp-BvbriaBy.mjs.map} +1 -1
  37. package/dist/{one-liner-BBbeCywj.mjs → one-liner-s-lD8rCC.mjs} +2 -2
  38. package/dist/{one-liner-BBbeCywj.mjs.map → one-liner-s-lD8rCC.mjs.map} +1 -1
  39. package/dist/{repl-DX6JI6fo.mjs → repl-DveXw36T.mjs} +3 -3
  40. package/dist/skills/index.d.mts +2 -2
  41. package/dist/skills/index.d.mts.map +1 -1
  42. package/dist/skills/index.mjs +3 -3
  43. package/dist/{skills-CBpAWeKy.mjs → skills-CD3Orlex.mjs} +12 -12
  44. package/dist/skills-CD3Orlex.mjs.map +1 -0
  45. package/dist/{stt-BN46nKJd.js → stt-Bu-E23Sc.js} +2 -8
  46. package/dist/stt-Bu-E23Sc.js.map +1 -0
  47. package/dist/{stt-CkfJswka.mjs → stt-CpLYbGFd.mjs} +2 -8
  48. package/dist/stt-CpLYbGFd.mjs.map +1 -0
  49. package/dist/stt-DRPLEEHB.mjs +3 -0
  50. package/dist/{transformers.web-BschYzqZ.js → transformers.web-DiD1gTwk.js} +14484 -171
  51. package/dist/transformers.web-DiD1gTwk.js.map +1 -0
  52. package/dist/transformers.web-u34VxRFM.js +3 -0
  53. package/dist/{tts-Bn_zwjoM.js → tts-CqroPaSK.js} +3 -13
  54. package/dist/tts-CqroPaSK.js.map +1 -0
  55. package/dist/{tts-C8NaF1jo.mjs → tts-DXgsKGCe.mjs} +1 -1
  56. package/dist/{tts-CmaC0yA9.mjs → tts-DeGANMNV.mjs} +3 -13
  57. package/dist/tts-DeGANMNV.mjs.map +1 -0
  58. package/dist/{types-DJhOZ6Ct.d.mts → types-CiTc7ez3.d.mts} +1 -1
  59. package/dist/{types-DJhOZ6Ct.d.mts.map → types-CiTc7ez3.d.mts.map} +1 -1
  60. package/package.json +4 -4
  61. package/dist/gerbil-CjnM4Pra.mjs +0 -4
  62. package/dist/skills-CBpAWeKy.mjs.map +0 -1
  63. package/dist/stt-BN46nKJd.js.map +0 -1
  64. package/dist/stt-BT4Rt49f.mjs +0 -3
  65. package/dist/stt-CkfJswka.mjs.map +0 -1
  66. package/dist/transformers.web-BFh4CnBR.js +0 -3
  67. package/dist/transformers.web-BschYzqZ.js.map +0 -1
  68. package/dist/tts-Bn_zwjoM.js.map +0 -1
  69. package/dist/tts-CmaC0yA9.mjs.map +0 -1
@@ -1,4 +1,4 @@
1
- import { c as GerbilConfig } from "../types-DJhOZ6Ct.mjs";
1
+ import { c as GerbilConfig } from "../types-CiTc7ez3.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-CkXuGtQK.mjs";
2
- import { t as Gerbil } from "../gerbil-CocYaJhE.mjs";
2
+ import { t as Gerbil } from "../gerbil-Dw4Qj77e.mjs";
3
3
  import "../utils-CZBZ8dgR.mjs";
4
4
 
5
5
  //#region src/frameworks/express.ts
@@ -1,4 +1,4 @@
1
- import { c as GerbilConfig } from "../types-DJhOZ6Ct.mjs";
1
+ import { c as GerbilConfig } from "../types-CiTc7ez3.mjs";
2
2
 
3
3
  //#region src/frameworks/fastify.d.ts
4
4
 
@@ -1,4 +1,4 @@
1
- import { t as Gerbil } from "../gerbil-CocYaJhE.mjs";
1
+ import { t as Gerbil } from "../gerbil-Dw4Qj77e.mjs";
2
2
  import "../utils-CZBZ8dgR.mjs";
3
3
 
4
4
  //#region src/frameworks/fastify.ts
@@ -1,4 +1,4 @@
1
- import { c as GerbilConfig } from "../types-DJhOZ6Ct.mjs";
1
+ import { c as GerbilConfig } from "../types-CiTc7ez3.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 { t as Gerbil } from "../gerbil-CocYaJhE.mjs";
1
+ import { t as Gerbil } from "../gerbil-Dw4Qj77e.mjs";
2
2
  import "../utils-CZBZ8dgR.mjs";
3
3
 
4
4
  //#region src/frameworks/hono.ts
@@ -1,5 +1,5 @@
1
- import { c as GerbilConfig } from "../types-DJhOZ6Ct.mjs";
2
- import { t as Gerbil } from "../gerbil-CnncBh38.mjs";
1
+ import { c as GerbilConfig } from "../types-CiTc7ez3.mjs";
2
+ import { t as Gerbil } from "../gerbil-qOTe1nl2.mjs";
3
3
 
4
4
  //#region src/frameworks/next.d.ts
5
5
 
@@ -1,4 +1,4 @@
1
- import { t as Gerbil } from "../gerbil-CocYaJhE.mjs";
1
+ import { t as Gerbil } from "../gerbil-Dw4Qj77e.mjs";
2
2
  import "../utils-CZBZ8dgR.mjs";
3
3
 
4
4
  //#region src/frameworks/next.ts
@@ -1,4 +1,4 @@
1
- import { c as GerbilConfig, o as GenerateOptions, s as GenerateResult } from "../types-DJhOZ6Ct.mjs";
1
+ import { c as GerbilConfig, o as GenerateOptions, s as GenerateResult } from "../types-CiTc7ez3.mjs";
2
2
 
3
3
  //#region src/frameworks/react.d.ts
4
4
 
@@ -1,4 +1,4 @@
1
- import { c as GerbilConfig } from "../types-DJhOZ6Ct.mjs";
1
+ import { c as GerbilConfig } from "../types-CiTc7ez3.mjs";
2
2
 
3
3
  //#region src/frameworks/trpc.d.ts
4
4
 
@@ -1,4 +1,4 @@
1
- import { t as Gerbil } from "../gerbil-CocYaJhE.mjs";
1
+ import { t as Gerbil } from "../gerbil-Dw4Qj77e.mjs";
2
2
  import "../utils-CZBZ8dgR.mjs";
3
3
  import { z } from "zod";
4
4
 
@@ -0,0 +1,4 @@
1
+ import { t as Gerbil } from "./gerbil-Dw4Qj77e.mjs";
2
+ import "./utils-CZBZ8dgR.mjs";
3
+
4
+ export { Gerbil };
@@ -1225,7 +1225,7 @@ The JSON must conform to this schema: ${JSON.stringify(zodToJsonSchema(schema))}
1225
1225
  }
1226
1226
  if (this.tts?.isLoaded()) return;
1227
1227
  this.ttsModelId = modelId;
1228
- const { createTTS } = await import("./tts-C8NaF1jo.mjs");
1228
+ const { createTTS } = await import("./tts-DXgsKGCe.mjs");
1229
1229
  if (!this.tts) this.tts = createTTS(modelId);
1230
1230
  await this.tts.load(options);
1231
1231
  }
@@ -1294,7 +1294,7 @@ The JSON must conform to this schema: ${JSON.stringify(zodToJsonSchema(schema))}
1294
1294
  * List available TTS models
1295
1295
  */
1296
1296
  async listTTSModels() {
1297
- const { TTS_MODELS } = await import("./tts-C8NaF1jo.mjs");
1297
+ const { TTS_MODELS } = await import("./tts-DXgsKGCe.mjs");
1298
1298
  return Object.values(TTS_MODELS).map((m) => ({
1299
1299
  id: m.id,
1300
1300
  description: m.description,
@@ -1318,7 +1318,7 @@ The JSON must conform to this schema: ${JSON.stringify(zodToJsonSchema(schema))}
1318
1318
  */
1319
1319
  async loadSTT(modelId, options = {}) {
1320
1320
  if (this.stt?.isLoaded()) return;
1321
- const { WhisperSTT } = await import("./stt-BT4Rt49f.mjs");
1321
+ const { WhisperSTT } = await import("./stt-DRPLEEHB.mjs");
1322
1322
  if (!this.stt) this.stt = new WhisperSTT(modelId);
1323
1323
  await this.stt.load(options);
1324
1324
  }
@@ -1390,7 +1390,7 @@ The JSON must conform to this schema: ${JSON.stringify(zodToJsonSchema(schema))}
1390
1390
  * Get list of available STT models
1391
1391
  */
1392
1392
  async listSTTModels() {
1393
- const { WhisperSTT } = await import("./stt-BT4Rt49f.mjs");
1393
+ const { WhisperSTT } = await import("./stt-DRPLEEHB.mjs");
1394
1394
  return WhisperSTT.listModels();
1395
1395
  }
1396
1396
  /**
@@ -1628,4 +1628,4 @@ The JSON must conform to this schema: ${JSON.stringify(zodToJsonSchema(schema))}
1628
1628
 
1629
1629
  //#endregion
1630
1630
  export { ResponseCache as a, getGlobalCache as c, resolveModel as i, BUILTIN_MODELS as n, clearGlobalCache as o, listBuiltinModels as r, configureGlobalCache as s, Gerbil as t };
1631
- //# sourceMappingURL=gerbil-CocYaJhE.mjs.map
1631
+ //# sourceMappingURL=gerbil-Dw4Qj77e.mjs.map