fleet-memory/hindsight-docs/blog
Nicolò Boschi 72c25c97e3
feat(typescript-client): Deno compatibility (#607)
* feat(typescript-client): add Deno compatibility

- Switch build from tsc to tsup for dual CJS + ESM output with proper exports field
- Add deno_setup.ts preload that injects Jest-compatible globals (describe/test/expect) via @std/testing/bdd and @std/expect
- Fix generated client.gen.ts: exclude hey-api internal `client` field from RequestInit spread to avoid conflict with Deno.HttpClient
- Add test:deno npm script using --unstable-sloppy-imports and --preload
- Add test-typescript-client-deno CI job using denoland/setup-deno@v2 (v2.x)
- Update docs: rename page to TypeScript / JavaScript Client, add Deno installation section

* feat: add Deno compatibility to ai-sdk and chat integrations

- Switch ai-sdk and chat builds from tsc to tsup (ESM bundle, eliminates
  extension-less import issues in Deno)
- Add deno.json import map to ai-sdk redirecting 'vitest' to a custom
  vitest-compat.ts shim and bare npm specifiers to npm: URLs
- Add vitest-compat.ts shim implementing vi.fn()/vi.spyOn()/vi.mocked()
  using @std/expect's Symbol.for("@MOCK") interface so toHaveBeenCalledWith
  and other mock matchers work under Deno
- Add test:deno script to ai-sdk (all 30 tests pass under Deno)

* ci: add Deno test job for ai-sdk integration

Adds a new test-ai-sdk-integration-deno CI job that runs the ai-sdk
unit tests under Deno LTS, verifying Deno compatibility of the package.

* fix: remove broken link to non-existent n8n blog post in streamlit post

* fix: patch client.gen.ts for Deno compatibility during generation

Add a post-generation patch step to generate-clients.sh that removes
the hey-api internal 'client' field from the RequestInit spread in
client.gen.ts. Deno's Request constructor rejects 'client' because it
conflicts with the Deno.HttpClient option name.
2026-03-18 14:25:35 +01:00
..
2026-01-28-learning-capabilities.md doc: split blog index into Hindsight and Hindsight Cloud sections (#534) 2026-03-10 13:32:43 +01:00
2026-02-09-resolving-memory-conflicts.md doc: split blog index into Hindsight and Hindsight Cloud sections (#534) 2026-03-10 13:32:43 +01:00
2026-02-13-version-0-4-11.md doc: split blog index into Hindsight and Hindsight Cloud sections (#534) 2026-03-10 13:32:43 +01:00
2026-02-18-version-0-4-12.md doc: split blog index into Hindsight and Hindsight Cloud sections (#534) 2026-03-10 13:32:43 +01:00
2026-02-26-chat.md doc: split blog index into Hindsight and Hindsight Cloud sections (#534) 2026-03-10 13:32:43 +01:00
2026-02-27-version-0-4-13-0-4-14.md doc: split blog index into Hindsight and Hindsight Cloud sections (#534) 2026-03-10 13:32:43 +01:00
2026-03-02-crewai.md doc: split blog index into Hindsight and Hindsight Cloud sections (#534) 2026-03-10 13:32:43 +01:00
2026-03-03-litellm.md doc: split blog index into Hindsight and Hindsight Cloud sections (#534) 2026-03-10 13:32:43 +01:00
2026-03-03-version-0-4-15.md doc: split blog index into Hindsight and Hindsight Cloud sections (#534) 2026-03-10 13:32:43 +01:00
2026-03-04-mcp-agent-memory.md doc: split blog index into Hindsight and Hindsight Cloud sections (#534) 2026-03-10 13:32:43 +01:00
2026-03-05-add-memory-to-openai-application.md doc: split blog index into Hindsight and Hindsight Cloud sections (#534) 2026-03-10 13:32:43 +01:00
2026-03-05-version-0-4-16.md doc: split blog index into Hindsight and Hindsight Cloud sections (#534) 2026-03-10 13:32:43 +01:00
2026-03-06-adding-memory-to-openclaw-with-hindsight.md doc: split blog index into Hindsight and Hindsight Cloud sections (#534) 2026-03-10 13:32:43 +01:00
2026-03-09-hindsight-document-upload.md doc: split blog index into Hindsight and Hindsight Cloud sections (#534) 2026-03-10 13:32:43 +01:00
2026-03-09-pydantic-ai-persistent-memory.md doc: split blog index into Hindsight and Hindsight Cloud sections (#534) 2026-03-10 13:32:43 +01:00
2026-03-10-run-hindsight-with-ollama.md doc: Run Hindsight with Ollama: Local AI Memory, No API Keys Needed (#536) 2026-03-11 11:39:59 -04:00
2026-03-10-version-0-4-17.md doc: add 0.4.17 release blog post (#538) 2026-03-10 17:40:10 +01:00
2026-03-11-hindsight-cloud-api-key-management.md doc: What's New in Hindsight Cloud — Programmatic API Key Management (#543) 2026-03-11 11:41:21 -04:00
2026-03-12-spreading-activation-memory-graphs.md blog: Time-Aware Spreading Activation for Memory Graphs (#547) 2026-03-12 12:55:14 -04:00
2026-03-13-disposition-aware-agents.md blog: add disposition-aware agents post (#566) 2026-03-13 17:53:27 -04:00
2026-03-13-version-0-4-18.md doc: add 0.4.18 release blog post (#567) 2026-03-13 16:00:59 +01:00
2026-03-17-streamlit-chatbot-memory.md feat(typescript-client): Deno compatibility (#607) 2026-03-18 14:25:35 +01:00
authors.yml doc: split blog index into Hindsight and Hindsight Cloud sections (#534) 2026-03-10 13:32:43 +01:00