@tryhamster/gerbil 1.1.2 → 1.1.3

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 (62) hide show
  1. package/README.md +18 -16
  2. package/dist/cli.mjs +1 -1
  3. package/dist/cli.mjs.map +1 -1
  4. package/dist/gpu/hooks.d.mts +3 -3
  5. package/dist/gpu/hooks.mjs +5 -5
  6. package/dist/gpu/hooks.mjs.map +1 -1
  7. package/dist/index-Dgmb2kE3.d.mts.map +1 -1
  8. package/package.json +1 -2
  9. package/docs/PROJECT-STATE.md +0 -321
  10. package/docs/adding-a-model-family.md +0 -280
  11. package/docs/ai-sdk.md +0 -205
  12. package/docs/architecture/README.md +0 -84
  13. package/docs/architecture/caching.md +0 -227
  14. package/docs/architecture/inference.md +0 -176
  15. package/docs/architecture/overview.md +0 -189
  16. package/docs/architecture/streaming.md +0 -261
  17. package/docs/architecture/webgpu.md +0 -213
  18. package/docs/browser.md +0 -762
  19. package/docs/cli.md +0 -155
  20. package/docs/embeddings.md +0 -156
  21. package/docs/frameworks.md +0 -90
  22. package/docs/gerbil-site-native-migration.md +0 -217
  23. package/docs/gpu-engine/architectures.md +0 -398
  24. package/docs/gpu-engine/ir.md +0 -372
  25. package/docs/gpu-engine/kernels.md +0 -718
  26. package/docs/gpu-engine/paper.html +0 -1759
  27. package/docs/gpu-engine/paper.md +0 -2109
  28. package/docs/gpu-engine/safetensors.md +0 -312
  29. package/docs/gpu-engine/tokenizer.md +0 -302
  30. package/docs/kernel-research-queue.md +0 -85
  31. package/docs/mcp-client.md +0 -224
  32. package/docs/mcp.md +0 -109
  33. package/docs/memory-rag.md +0 -91
  34. package/docs/memory.md +0 -301
  35. package/docs/metal-safari-intel.md +0 -190
  36. package/docs/mobile-failure-diagnosis.md +0 -124
  37. package/docs/mobile.md +0 -99
  38. package/docs/observability.md +0 -230
  39. package/docs/onnx-removal-plan.md +0 -339
  40. package/docs/repl.md +0 -473
  41. package/docs/research/autoresearch-portable.md +0 -933
  42. package/docs/research/dispatch-reduction-hivemind.md +0 -84
  43. package/docs/research/ios-safari-model-caching.md +0 -117
  44. package/docs/research/mobile-webgpu-speed-fusion.md +0 -135
  45. package/docs/research/native-stt-model-selection.md +0 -49
  46. package/docs/research/native-tts-model-selection.md +0 -90
  47. package/docs/research/native-vs-chromium-decision.md +0 -152
  48. package/docs/research/nemotron-mamba2-inference.md +0 -910
  49. package/docs/research/qwen35-multimodal.md +0 -293
  50. package/docs/research/qwen36-gemma4-targets.md +0 -337
  51. package/docs/research/sota-embedding-models.md +0 -179
  52. package/docs/research/sota-mobile-models-2026.md +0 -263
  53. package/docs/research/sota-modality-models.md +0 -202
  54. package/docs/research/tps-baselines.md +0 -71
  55. package/docs/research/webgpu-m4-reference.md +0 -104
  56. package/docs/site-update-plan.md +0 -155
  57. package/docs/skills.md +0 -261
  58. package/docs/structured-output.md +0 -123
  59. package/docs/stt.md +0 -111
  60. package/docs/tools.md +0 -304
  61. package/docs/tts.md +0 -147
  62. package/docs/vision.md +0 -158
@@ -272,7 +272,7 @@ declare function useAgent(options: UseAgentOptions): UseAgentReturn;
272
272
  *
273
273
  * @example
274
274
  * ```tsx
275
- * import { useAutocomplete } from "@tryhamster/gerbil/gpu/hooks";
275
+ * import { useAutocomplete } from "@tryhamster/gerbil/hooks";
276
276
  *
277
277
  * const { suggestion, onInput, accept, dismiss } = useAutocomplete({
278
278
  * model: "mlx-community/Qwen3.5-0.8B-4bit",
@@ -538,7 +538,7 @@ declare function useCompletion(options?: ModalityOptions): UseCompletionReturn;
538
538
  *
539
539
  * @example
540
540
  * ```tsx
541
- * import { useSTT } from "@tryhamster/gerbil/gpu/hooks";
541
+ * import { useSTT } from "@tryhamster/gerbil/hooks";
542
542
  *
543
543
  * const { startRecording, stopRecording, transcript, isRecording } = useSTT();
544
544
  * ```
@@ -586,7 +586,7 @@ declare function useSTT(options?: UseSTTOptions): UseSTTReturn;
586
586
  *
587
587
  * @example
588
588
  * ```tsx
589
- * import { useTTS } from "@tryhamster/gerbil/gpu/hooks";
589
+ * import { useTTS } from "@tryhamster/gerbil/hooks";
590
590
  *
591
591
  * const { speak, isSynthesizing, isPlaying } = useTTS();
592
592
  * <button onClick={() => speak("Hello from on-device TTS.")}>Speak</button>
@@ -466,7 +466,7 @@ function GerbilGate({ model, children, fallback = null, errorFallback, embedding
466
466
  *
467
467
  * @example
468
468
  * ```tsx
469
- * import { useAgent } from "@tryhamster/gerbil/gpu/hooks";
469
+ * import { useAgent } from "@tryhamster/gerbil/hooks";
470
470
  *
471
471
  * const { run, steps, answer, isRunning } = useAgent({
472
472
  * model: "mlx-community/Qwen3.5-0.8B-4bit",
@@ -530,7 +530,7 @@ function useAgent(options) {
530
530
  *
531
531
  * @example
532
532
  * ```tsx
533
- * import { useAutocomplete } from "@tryhamster/gerbil/gpu/hooks";
533
+ * import { useAutocomplete } from "@tryhamster/gerbil/hooks";
534
534
  *
535
535
  * const { suggestion, onInput, accept, dismiss } = useAutocomplete({
536
536
  * model: "mlx-community/Qwen3.5-0.8B-4bit",
@@ -682,7 +682,7 @@ function useMemory(options = {}) {
682
682
  * self-documenting surface so app code reads cleanly:
683
683
  *
684
684
  * ```tsx
685
- * import { useText, useVision, useEmbedding } from "@tryhamster/gerbil/gpu/hooks";
685
+ * import { useText, useVision, useEmbedding } from "@tryhamster/gerbil/hooks";
686
686
  *
687
687
  * const { complete } = useText(); // text generation
688
688
  * const { describeImage } = useVision(); // image → text
@@ -916,7 +916,7 @@ function useCompletion(options = {}) {
916
916
  *
917
917
  * @example
918
918
  * ```tsx
919
- * import { useSTT } from "@tryhamster/gerbil/gpu/hooks";
919
+ * import { useSTT } from "@tryhamster/gerbil/hooks";
920
920
  *
921
921
  * const { startRecording, stopRecording, transcript, isRecording } = useSTT();
922
922
  * ```
@@ -1142,7 +1142,7 @@ function useSTT(options = {}) {
1142
1142
  *
1143
1143
  * @example
1144
1144
  * ```tsx
1145
- * import { useTTS } from "@tryhamster/gerbil/gpu/hooks";
1145
+ * import { useTTS } from "@tryhamster/gerbil/hooks";
1146
1146
  *
1147
1147
  * const { speak, isSynthesizing, isPlaying } = useTTS();
1148
1148
  * <button onClick={() => speak("Hello from on-device TTS.")}>Speak</button>