@tryhamster/gerbil 1.0.3 → 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.
- package/dist/cli.mjs +10 -10
- package/dist/cli.mjs.map +1 -1
- package/dist/frameworks/express.d.mts +1 -1
- package/dist/frameworks/express.mjs +1 -1
- package/dist/frameworks/fastify.d.mts +1 -1
- package/dist/frameworks/fastify.mjs +1 -1
- package/dist/frameworks/hono.d.mts +1 -1
- package/dist/frameworks/hono.mjs +1 -1
- package/dist/frameworks/next.d.mts +3 -3
- package/dist/frameworks/next.mjs +1 -1
- package/dist/frameworks/react.d.mts +1 -1
- package/dist/frameworks/trpc.d.mts +1 -1
- package/dist/frameworks/trpc.mjs +1 -1
- package/dist/gerbil-BgppGzKa.mjs +4 -0
- package/dist/{gerbil-D4eIu8hx.mjs → gerbil-CZYYq4Sq.mjs} +4 -4
- package/dist/{gerbil-D4eIu8hx.mjs.map → gerbil-CZYYq4Sq.mjs.map} +1 -1
- package/dist/{gerbil-BetB5xb0.d.mts → gerbil-CvNqpVg0.d.mts} +3 -3
- package/dist/{gerbil-BetB5xb0.d.mts.map → gerbil-CvNqpVg0.d.mts.map} +1 -1
- package/dist/gpu/hooks.d.mts +2 -2
- package/dist/gpu/hooks.d.mts.map +1 -1
- package/dist/gpu/hooks.mjs +4 -5
- package/dist/gpu/hooks.mjs.map +1 -1
- package/dist/gpu/index.d.mts +1 -1
- package/dist/gpu/index.mjs +2 -3
- package/dist/{gpu-rziY7czu.mjs → gpu-Ch2VuLdN.mjs} +25 -4
- package/dist/gpu-Ch2VuLdN.mjs.map +1 -0
- package/dist/{index-Dgmb2kE3.d.mts → index-Dy_9rDd5.d.mts} +2 -2
- package/dist/{index-Dgmb2kE3.d.mts.map → index-Dy_9rDd5.d.mts.map} +1 -1
- package/dist/{index-DukkJRMj.d.mts → index-Nl40RdSs.d.mts} +1 -1
- package/dist/{index-DukkJRMj.d.mts.map → index-Nl40RdSs.d.mts.map} +1 -1
- package/dist/index.d.mts +5 -5
- package/dist/index.mjs +8 -9
- package/dist/index.mjs.map +1 -1
- package/dist/{indexeddb-store-BWIMtxxH.mjs → indexeddb-store-BEylGAex.mjs} +2 -2
- package/dist/{indexeddb-store-BWIMtxxH.mjs.map → indexeddb-store-BEylGAex.mjs.map} +1 -1
- package/dist/indexeddb-store-ClSHQxwz.mjs +4 -0
- package/dist/integrations/ai-sdk.d.mts +1 -1
- package/dist/integrations/ai-sdk.mjs +1 -1
- package/dist/integrations/langchain.d.mts +1 -1
- package/dist/integrations/langchain.mjs +1 -1
- package/dist/integrations/llamaindex.d.mts +1 -1
- package/dist/integrations/llamaindex.mjs +1 -1
- package/dist/integrations/mcp-client.mjs +1 -1
- package/dist/integrations/mcp.d.mts +3 -3
- package/dist/integrations/mcp.mjs +4 -4
- package/dist/{mcp-DujeDKfA.mjs → mcp-DUgk28Kp.mjs} +3 -3
- package/dist/{mcp-DujeDKfA.mjs.map → mcp-DUgk28Kp.mjs.map} +1 -1
- package/dist/memory/index.d.mts +2 -2
- package/dist/memory/index.mjs +4 -4
- package/dist/memory-CGRo6zY5.mjs +4 -0
- package/dist/{memory-DVN0MnIG.mjs → memory-Deo99oKh.mjs} +2 -2
- package/dist/{memory-DVN0MnIG.mjs.map → memory-Deo99oKh.mjs.map} +1 -1
- package/dist/{memory-Dj0J1v88.mjs → memory-wgo2ZK3M.mjs} +2 -2
- package/dist/{memory-Dj0J1v88.mjs.map → memory-wgo2ZK3M.mjs.map} +1 -1
- package/dist/moonshine-stt-DFIP4tIb.mjs +4 -0
- package/dist/{moonshine-stt-BdccCmYH.mjs → moonshine-stt-DR0-JbVW.mjs} +2 -6
- package/dist/{moonshine-stt-BdccCmYH.mjs.map → moonshine-stt-DR0-JbVW.mjs.map} +1 -1
- package/dist/{one-liner-D8cM1Mg2.mjs → one-liner-sTDG9Hum.mjs} +2 -2
- package/dist/{one-liner-D8cM1Mg2.mjs.map → one-liner-sTDG9Hum.mjs.map} +1 -1
- package/dist/repl-njlFQs4-.mjs +9 -0
- package/dist/skills/index.d.mts +3 -3
- package/dist/skills/index.mjs +3 -3
- package/dist/{skills-FEBy8-pu.mjs → skills-CEUuOUlm.mjs} +2 -2
- package/dist/{skills-FEBy8-pu.mjs.map → skills-CEUuOUlm.mjs.map} +1 -1
- package/dist/{tools-DQ1mPUw5.mjs → tools-DbbNCJ5y.mjs} +1 -1
- package/dist/{tools-DQ1mPUw5.mjs.map → tools-DbbNCJ5y.mjs.map} +1 -1
- package/dist/{types-LlyYILII.d.mts → types-Bxwe_uS7.d.mts} +1 -1
- package/dist/{types-LlyYILII.d.mts.map → types-Bxwe_uS7.d.mts.map} +1 -1
- package/dist/{types-DQBe2lFo.d.mts → types-D7kn-0i2.d.mts} +1 -1
- package/dist/{types-DQBe2lFo.d.mts.map → types-D7kn-0i2.d.mts.map} +1 -1
- package/dist/{vector-B0panuy6.mjs → vector-C1U9vVVS.mjs} +1 -1
- package/dist/{vector-B0panuy6.mjs.map → vector-C1U9vVVS.mjs.map} +1 -1
- package/package.json +1 -1
- package/dist/defaults-9komdrbY.mjs +0 -24
- package/dist/defaults-9komdrbY.mjs.map +0 -1
- package/dist/gerbil-Dk6sTA7P.mjs +0 -4
- package/dist/gpu-rziY7czu.mjs.map +0 -1
- package/dist/indexeddb-store-ClH12Xnl.mjs +0 -4
- package/dist/memory-D1P7Tmda.mjs +0 -4
- package/dist/moonshine-stt-CBX849nI.mjs +0 -4
- package/dist/repl-DuACpxEj.mjs +0 -9
- /package/dist/{auto-update-BVaLXcDE.mjs → auto-update-DNbr3GLz.mjs} +0 -0
- /package/dist/{microphone-Bqmoz9_K.mjs → microphone-sj_bnRm-.mjs} +0 -0
|
@@ -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-
|
|
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
|
package/dist/frameworks/hono.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as GerbilConfig } from "../types-
|
|
2
|
-
import "../index-
|
|
3
|
-
import { t as Gerbil } from "../gerbil-
|
|
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
|
|
package/dist/frameworks/next.mjs
CHANGED
package/dist/frameworks/trpc.mjs
CHANGED
|
@@ -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-
|
|
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-
|
|
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-
|
|
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-
|
|
1656
|
+
//# sourceMappingURL=gerbil-CZYYq4Sq.mjs.map
|