Extends the sweep beyond packages/ to the whole repo (178 files): workflows,
.eslintrc, playground, examples, tooling, root docs. Zero upstream-brand refs and
zero such filenames outside the exemptions.
REVERTS A LICENSING ERROR (from earlier rebrand e43ab1af, not this sweep):
- LICENSE had its copyright holder rewritten to 'Insights'. Restored to the real
holder: 'Copyright 2020 Posthog / Hiberly, Inc.' (+ Mixpanel, Inc.).
- NOTICE credited a non-existent upstream (github.com/getinsights/insights-js).
Restored to the real one: github.com/PostHog/posthog-js.
Apache-2.0 4(c) requires retaining upstream attribution; rewriting a third
party's copyright line falsifies ownership. Both files are now excluded from the
guard and documented as exempt in LLM.md.
Also:
- Deleted junk: AGENTS.md~upstream_main (merge leftover), the now-obsolete
rebrand script; renamed upload-*-s3.ts tooling (still used by cli.ts).
- Removed 42 stale playground/example pnpm-lock.yaml files: they pinned upstream
packages the package.json no longer references. Regenerated on install —
sed-ing a lockfile would corrupt its integrity hashes.
- Guard renamed no-posthog.yml -> brand-guard.yml and now assembles the pattern
at runtime, so no filename or file content carries the string (the previous
guard was swept by its own rule, inverting it to forbid 'insights').
48 KiB
@hanzo/insights-ai
7.20.5
Patch Changes
- Updated dependencies []:
7.20.4
Patch Changes
- Updated dependencies []:
7.20.3
Patch Changes
- #3703
f3cc6faThanks @marandaneto! - Disable/no-op initialization paths instead of throwing or sending requests when Insights project tokens are missing or blank. (2026-06-01) - Updated dependencies [
f3cc6fa,3d4a76f]:
7.20.2
Patch Changes
- Updated dependencies []:
7.20.1
Patch Changes
- Updated dependencies [
d9ad199]:
7.20.0
Minor Changes
- #3306
1a2f8a8Thanks @johnsykim! - Add$ai_completion_idand$ai_provider_metadatato$ai_generationevents for the OpenAI and Azure OpenAI wrappers.$ai_completion_idis the provider's response ID (e.g.chatcmpl-…/resp_…);$ai_provider_metadatacarries OpenAI-specific fields (system_fingerprint,request_id). Together they enable correlating Insights events with OpenAI's Logs dashboard (platform.openai.com/logs/{completion_id}). The same options (completionId,providerMetadata) are now accepted by the publiccaptureAiGenerationprimitive so other provider wrappers can follow the same pattern. (2026-05-29)
7.19.7
Patch Changes
- Updated dependencies [
7b84b75]:
7.19.6
Patch Changes
-
#3668
7c80b2eThanks @rafaeelaudibert! - ExposeprojectTokenin addition toapiKeyforInsightsTraceExporterWe're moving towards a place where we're calling this
projectTokeneverywhere. Let's release this as a patch version because it's a tiny change and we still support the old usage. This might be dropped in the next packages/ai major version. (2026-05-28)
7.19.5
Patch Changes
- Updated dependencies []:
7.19.4
Patch Changes
- Updated dependencies []:
7.19.3
Patch Changes
- Updated dependencies [
5568f12]:
7.19.2
Patch Changes
- Updated dependencies [
c806cca]:
7.19.1
Patch Changes
- Updated dependencies [
18ea8b5]:
7.19.0
Minor Changes
- #3605
82fa498Thanks @carlos-marchal-ph! - Improved error serialization to capture cause, message and stack (2026-05-21)
7.18.12
Patch Changes
- Updated dependencies []:
7.18.11
Patch Changes
- Updated dependencies [
a880dbc]:
7.18.10
Patch Changes
- Updated dependencies []:
7.18.9
Patch Changes
- Updated dependencies []:
7.18.8
Patch Changes
- Updated dependencies []:
7.18.7
Patch Changes
- Updated dependencies []:
7.18.6
Patch Changes
- Updated dependencies [
4b895bf]:
7.18.5
Patch Changes
- Updated dependencies [
ad60818]:
7.18.4
Patch Changes
- Updated dependencies [
223d925]:
7.18.3
Patch Changes
- Updated dependencies []:
7.18.2
Patch Changes
- Updated dependencies []:
7.18.1
Patch Changes
- Updated dependencies []:
7.18.0
Minor Changes
- #3539
6b23fd3Thanks @carlos-marchal-ph! - Added a new generic binary payload sanitizer to catch more edge cases (2026-05-07)
7.17.5
Patch Changes
- Updated dependencies []:
7.17.4
Patch Changes
7.17.3
Patch Changes
- Updated dependencies [
8aee3d5]:
7.17.2
Patch Changes
7.17.1
Patch Changes
- #3507
38e85c9Thanks @richardsolomou! - perf(vercel): drop O(N²) prompt trim and reuse TextEncoder/TextDecoder inmapVercelPrompt/truncateso long conversations no longer block the main thread for hundreds of milliseconds inwithTracing's stream flush (2026-04-30)
7.17.0
Minor Changes
- #3499
0601162Thanks @richardsolomou! - AddcaptureAiGeneration, a generic primitive for emitting$ai_generationevents from LLM calls that don't go through one of the wrapped clients (Cloudflare Workers AI, TanStack AI, custom HTTP, etc.). All built-in wrappers (withTracing,OpenAI,Anthropic,GoogleGenAI) now funnel through the same primitive, so external events are indistinguishable from SDK-wrapped ones. (2026-04-30)
7.16.15
Patch Changes
- Updated dependencies []:
7.16.14
Patch Changes
- Updated dependencies []:
7.16.13
Patch Changes
- Updated dependencies []:
7.16.12
Patch Changes
- #3487
09b4b3dThanks @richardsolomou! - Widen the@opentelemetry/exporter-trace-otlp-httppeer dependency range from^0.200.0(which only matched0.200.x) to>=0.200.0 <1.0.0, so newer 0.x releases brought in by other OpenTelemetry-aware packages no longer trigger ERESOLVE failures or require--legacy-peer-deps. (2026-04-27)
7.16.11
Patch Changes
- Updated dependencies []:
7.16.10
Patch Changes
- Updated dependencies [
70508df]:
7.16.9
Patch Changes
- Updated dependencies []:
7.16.8
Patch Changes
- Updated dependencies []:
7.16.7
Patch Changes
- Updated dependencies [
daf028d]:
7.16.6
Patch Changes
- Updated dependencies [
96f19b7]:
7.16.5
Patch Changes
- Updated dependencies [
1a8b727]:
7.16.4
Patch Changes
- Updated dependencies [
922a1c1]:
7.16.3
Patch Changes
- #3433
6e7d4ceThanks @richardsolomou! - fix(ai): adjust V3 cache tokens for Claude on any host (including Bedrock) (2026-04-22)
7.16.2
Patch Changes
- #3431
ea2cc33Thanks @richardsolomou! - fix(ai): read tool-call input field in vercel non-streaming output (2026-04-21)
7.16.1
Patch Changes
- #3426
1a0b58dThanks @marandaneto! - Trim surrounding whitespace from user-provided API keys, personal API keys, and host config values before using them. (2026-04-21) - Updated dependencies [
1a0b58d]:
7.16.0
Minor Changes
- #3387
7ea6e26Thanks @carlos-marchal-ph! -Prompts.get()now accepts{ withMetadata: true }and returns aPromptResultobject containingsource(api,cache,stale_cache, orcode_fallback),name, andversionalongside the prompt text. The previous plain-string return is deprecated and will be removed in a future major version. (2026-04-15)
7.15.0
Minor Changes
-
#3358
85d3bd1Thanks @richardsolomou! - AddInsightsSpanProcessoras a self-contained OpenTelemetrySpanProcessorthat handles batching and export internally. BothInsightsSpanProcessorandInsightsTraceExporternow automatically filter to AI-related spans only (gen_ai.*,llm.*,ai.*,traceloop.*). (2026-04-14) -
#3377
b90b54eThanks @andrewm4894! - Add OpenAI Agents SDK tracing support via@insights/ai/openai-agents. ImplementsInsightsTracingProcessorthat captures agent traces, spans, and LLM generations as Insights LLM analytics events. Supports all span types including generation, response, function/tool, agent, handoff, guardrail, custom, audio, and MCP. (2026-04-14)
7.14.0
Minor Changes
-
#3368
c1f2c32Thanks @carlos-marchal-ph! - Add$ai_stop_reasonproperty capturing the LLM's reason for stopping generation across all providers (2026-04-10) -
#3369
cf69f96Thanks @carlos-marchal-ph! - Add GeminiembedContenttracking support (2026-04-10)
7.13.2
Patch Changes
- Updated dependencies [
c735b08]:
7.13.1
Patch Changes
- Updated dependencies [
57ee5b2]:
7.13.0
Minor Changes
- #3302
fc5589fThanks @dmarticus! - preserve $set_once semantics in local flag evaluation cache (2026-04-07)
Patch Changes
- Updated dependencies [
fc5589f]:
7.12.8
Patch Changes
- Updated dependencies [
a01a3d5]:
7.12.7
Patch Changes
- #3309
197eedaThanks @marandaneto! - Extract CLI and sourcemap utilities from @insights/core into @insights/plugin-utils to remove cross-spawn from React Native dependencies (2026-04-01) - Updated dependencies [
197eeda]:
7.12.6
Patch Changes
- #3299
4561c25Thanks @richardsolomou! - Remove InsightsTraceExporter from the main entry point to avoid crashing when @opentelemetry/exporter-trace-otlp-http is not installed. Use@insights/ai/otelto import it instead. (2026-03-31)
7.12.5
Patch Changes
- Updated dependencies [
a863914]:
7.12.4
Patch Changes
- Updated dependencies [
4bdfdbc]:
7.12.3
Patch Changes
- Updated dependencies [
8d34289]:
7.12.2
Patch Changes
- #3264
d5b84c4Thanks @richardsolomou! - Fix crash in Vercel AI middleware when model returns only tool calls with no text content (2026-03-20) - Updated dependencies [
314120a]:
7.12.1
Patch Changes
- Updated dependencies [
9cd2313]:
7.12.0
Minor Changes
- #3232
476a823Thanks @richardsolomou! - Replace otel client-side span mapping with InsightsTraceExporter. Insights now converts gen_ai.* spans into $ai_generation events server-side, so the client-side mapper pipeline (InsightsSpanProcessor, captureSpan, aiSdkSpanMapper) has been replaced with a simple OTLPTraceExporter wrapper. (2026-03-18)
Patch Changes
- Updated dependencies [
697e423]:
7.11.2
Patch Changes
7.11.1
Patch Changes
- Updated dependencies [
4009c15]:
7.11.0
Minor Changes
- #3210
2d9eb60Thanks @Radu-Raicea! - Add version-specificPrompts.clearCache(name, version)support and switch prompt caching to structured name/version entries instead of string-encoded cache keys. (2026-03-09)
7.10.0
Minor Changes
- #3206
43a81c5Thanks @Radu-Raicea! - Add version-aware prompt fetching to the Prompts SDK so callers can request a specific published prompt version without colliding with the latest prompt cache entry. (2026-03-09)
7.9.5
Patch Changes
- #3194
eccec25Thanks @Radu-Raicea! - Sanitize inline base64 video_url's in chat completions calls, which is supported by OpenRouter for video understanding models (2026-03-03)
7.9.4
Patch Changes
- #3180
42b4223Thanks @dependabot! - dependencies updates: - Updated dependency@google/genai@^1.43.0↗︎ (from^1.42.0, independencies) - Updated dependency@langchain/core@^1.1.29↗︎ (from^1.1.27, independencies) - Updated dependencylangchain@^1.2.28↗︎ (from^1.2.25, independencies) - Updated dependencyopenai@^6.25.0↗︎ (from^6.22.0, independencies) (2026-03-02) - Updated dependencies [
5e8d5fc]:
7.9.3
Patch Changes
- #3147
b98aa23Thanks @andrewm4894! - Add$ai_tokens_sourceproperty ("sdk" or "passthrough") to all$ai_generationevents to detect when token values are externally overridden viainsightsProperties(2026-02-25) - Updated dependencies [
d43e90d,d43e90d]:
7.9.2
Patch Changes
- #3137
7d92690Thanks @dependabot! - dependencies updates: - Updated dependency@langchain/core@^1.1.27↗︎ (from^1.1.17, independencies) (2026-02-24)
7.9.1
Patch Changes
- #3133
9138eecThanks @dependabot! - dependencies updates: - Updated dependency@anthropic-ai/sdk@^0.78.0↗︎ (from^0.74.0, independencies) - Updated dependency@google/genai@^1.42.0↗︎ (from^1.40.0, independencies) - Updated dependencylangchain@^1.2.25↗︎ (from^1.2.3, independencies) - Updated dependencyopenai@^6.22.0↗︎ (from^6.17.0, independencies) (2026-02-23)
7.9.0
Minor Changes
- #3103
526520aThanks @richardsolomou! - Added AI SDK OTEL span processing pipeline (2026-02-18)
7.8.13
Patch Changes
- Updated dependencies [
9dbc05e]:
7.8.12
Patch Changes
- #3102
f505865Thanks @Radu-Raicea! - Bind prompt fetches to both credentials by requiringprojectApiKeyand addingtoken=<projectApiKey>to prompt API reads. (2026-02-17) - Updated dependencies [
e962f01]:
7.8.11
Patch Changes
- #3083
3cff372Thanks @richardsolomou! - Remove static Buffer imports for edge runtime compatibility (2026-02-12)
7.8.10
Patch Changes
- #3075
72b2bc7Thanks @dependabot! - dependencies updates: - Updated dependency@anthropic-ai/sdk@^0.74.0↗︎ (from^0.72.1, independencies) (2026-02-11)
7.8.9
Patch Changes
- #3069
c81ee34Thanks @dependabot! - dependencies updates: - Updated dependency@google/genai@^1.40.0↗︎ (from^1.38.0, independencies) (2026-02-10) - Updated dependencies [
0acf16f]:
7.8.8
Patch Changes
- Updated dependencies [
d578824]:
7.8.7
Patch Changes
- Updated dependencies [
e055f9a]:
7.8.6
Patch Changes
- Updated dependencies [
8f75dae]:
7.8.5
Patch Changes
-
#3021
e7ceae5Thanks @Radu-Raicea! - fix(llma): small prompt management fixes (2026-02-04) -
#3030
98d6274Thanks @Radu-Raicea! - Changes prompts default URL. (2026-02-04) -
Updated dependencies [
bb62809]:
7.8.4
Patch Changes
- Updated dependencies [
c99e5fe]:
7.8.3
Patch Changes
- #3008
26adbc8Thanks @dependabot! - dependencies updates: - Updated dependency@anthropic-ai/sdk@^0.72.1↗︎ (from^0.71.2, independencies) - Updated dependencyopenai@^6.17.0↗︎ (from^6.16.0, independencies) (2026-02-03) - Updated dependencies [
7768010]:
7.8.2
Patch Changes
- Updated dependencies [
727536c]:
7.8.1
Patch Changes
- Updated dependencies [
cbe84c1]:
7.8.0
Minor Changes
- #2915
e105fd0Thanks @richardsolomou! - feat(llma): add time to first token reporting (2026-01-29)
7.7.0
Minor Changes
- #2982
ce9b4dbThanks @Radu-Raicea! - Add prompt management functions. (2026-01-28)
7.6.1
Patch Changes
- Updated dependencies [
8c0c495]:
7.6.0
Minor Changes
- #2955
6db4b48Thanks @richardsolomou! - AddrawUsagefield to capture raw provider usage metadata for backend cost calculations (2026-01-27)
Patch Changes
-
#2974
93da719Thanks @dependabot! - dependencies updates: - Updated dependency@google/genai@^1.38.0↗︎ (from^1.34.0, independencies) - Updated dependency@langchain/core@^1.1.17↗︎ (from^1.1.8, independencies) (2026-01-27) -
#2977
5544606Thanks @andrewm4894! - fix: sanitize base64 images before formatting in Responses API to prevent 413 payload-too-large errors (2026-01-27) -
Updated dependencies [
f51560c]:
7.5.4
Patch Changes
- Updated dependencies [
933c763]:
7.5.3
Patch Changes
- Updated dependencies [
8a5a3d5]:
7.5.2
Patch Changes
7.5.1
Patch Changes
- Updated dependencies [
23770e9]:
7.5.0
Minor Changes
- #2930
c9b773aThanks @marandaneto! - chore: Bump node min. ^20.20.0 || >=22.22.0 due to https://nodejs.org/en/blog/vulnerability/january-2026-dos-mitigation-async-hooks (2026-01-19)
Patch Changes
- Updated dependencies [
c9b773a]:
7.4.3
Patch Changes
- Updated dependencies [
d37e570]:
7.4.2
Patch Changes
- #2852
308daf0Thanks @andrewm4894! - fix(vercel): preserve prototype getter properties when wrapping models (2026-01-12)
7.4.1
Patch Changes
- #2859
636e25fThanks @carlos-marchal-ph! - Fixes cache creation cost for Vercel V3 with Anthropic (2026-01-08)
7.4.0
Minor Changes
- #2593
fba9fb2Thanks @daibhin! - track LLMA trace_id on exceptions and exception_id on traces (2026-01-08)
Patch Changes
- Updated dependencies [
fba9fb2,c1ed63b]:- @hanzo/[email protected].0
- @hanzo/[email protected]
7.3.2
Patch Changes
-
#2838
c64a15dThanks @carlos-marchal-ph! - Fixes cache creation cost for Langchain with Anthropic (2026-01-07) -
#2842
0f508e9Thanks @carlos-marchal-ph! - Fixes an error with certain AI imports when using CJS (TypeError: Class extends value undefined is not a constructor or null) (2026-01-07)
7.3.1
Patch Changes
-
#2850
b5dbf56Thanks @andrewm4894! - fix(gemini): expose all GoogleGenAI constructor parameters in wrapperThe
MonitoringGeminiConfiginterface now extendsGoogleGenAIOptionsfrom@google/genai, allowing users to pass all available constructor parameters likegoogleAuthOptionsandhttpOptionswithout TypeScript errors. (2026-01-06)
7.3.0
Minor Changes
-
#2711
8c3a21eThanks @andrewm4894! - Add support for both Vercel AI SDK 5 and 6Changes:
- Runtime version detection via
model.specificationVersion - Support both
LanguageModelV2(SDK 5) andLanguageModelV3(SDK 6) @ai-sdk/provideris now an optional peer dependency (supports both v2 and v3)- Removed unused
aipeer dependency (only type imports from@ai-sdk/providerare used) - No breaking changes - existing SDK 5 users can continue without modification (2025-12-22)
- Runtime version detection via
Patch Changes
-
#2789
6b415a0Thanks @andrewm4894! - fix: extract model from response for OpenAI stored promptsWhen using OpenAI stored prompts, the model is defined in the OpenAI dashboard rather than passed in the API request. This change adds a fallback to extract the model from the response object when not provided in kwargs. (2025-12-22)
-
Updated dependencies [
04065b9]:
7.2.2
Patch Changes
- #2761
6f5db7cThanks @dependabot! - dependencies updates: - Updated dependency@anthropic-ai/sdk@^0.71.2↗︎ (from^0.67.1, independencies) - Updated dependency@google/genai@^1.33.0↗︎ (from^1.31.0, independencies) - Updated dependency@langchain/core@^1.1.5↗︎ (from^1.1.4, independencies) - Updated dependencyai@^5.0.113↗︎ (from^5.0.107, independencies) - Updated dependencylangchain@^1.2.0↗︎ (from^1.1.5, independencies) (2025-12-16)
7.2.1
Patch Changes
-
#2690
e9c00fdThanks @robbie-c! - Related to https://www.wiz.io/blog/critical-vulnerability-in-react-cve-2025-55182We didn't include any of the vulnerable deps in any of our packages, however we did have them as dev / test / example project dependencies.
There was no way that any of these vulnerable packages were included in any of our published packages.
We've now patched out those dependencies.
Out of an abundance of caution, let's create a new release of all of our packages. (2025-12-04)
-
Updated dependencies [
e9c00fd]:
7.2.0
Minor Changes
- #2619
86dab38Thanks @hpouillot! - package deprecation (2025-11-24)
Patch Changes
- Updated dependencies [
86dab38]:
7.1.2
Patch Changes
- #2618
3eed1a4Thanks @marandaneto! - last version was compromised (2025-11-24) - Updated dependencies [
3eed1a4]:
7.1.1
Patch Changes
- #2591
3dbf325Thanks @carlos-marchal-ph! - Fixes a bug that incorrectly calculated cache costs for non-Anthropic Langchain providers (2025-11-21)
7.1.0
Minor Changes
- #2498
aa9f637Thanks @Tehnix! - Added support for OpenAI audio transcriptions API. You can now track and monitor OpenAI Whisper transcription requests through the @hanzo/ai SDK, with support for both streaming and non-streaming transcriptions, verbose JSON responses, and all standard transcription parameters (language, response_format, timestamp_granularities).
7.0.0
Major Changes
- #2554
8e8d2f5Thanks @carlos-marchal-ph! - Update LLM provider SDKs to latest versionsopenai: 5.20.1 → 6.8.1@anthropic-ai/sdk: 0.63.1 → 0.67.0@google/genai: 1.19.0 → 1.29.0langchain: 0.3.33 → 1.0.0@langchain/core: 0.3.75 → 1.0.0ai: 5.0.42 → 5.0.87zod: 4.1.5 → 4.1.8
6.6.0
Minor Changes
- #2518
aca2775Thanks @Radu-Raicea! - feat(llma): send number of web searches calls
6.5.1
Patch Changes
- #2537
fb2fa06Thanks @Radu-Raicea! - fix(llma): cache cost calculation in the LangChain callback
6.5.0
Minor Changes
-
#2496
7253bb3Thanks @andrewm4894! - feat: add $ai_framework property for framework integrationsAdds a simple
$ai_frameworkproperty to AI events when using framework layers (LangChain, Vercel AI SDK). Direct provider calls (OpenAI, Anthropic, Gemini) do not include this property, eliminating redundant data where framework would duplicate the provider name.Example with framework:
{ "$ai_framework": "langchain", "$ai_provider": "openai", "$ai_model": "gpt-4" }Example without framework:
{ "$ai_provider": "openai", "$ai_model": "gpt-4" }
6.4.4
Patch Changes
- #2468
873538bThanks @andrewm4894! - fix: prevent [object Object] in content serialization - structured content is now properly JSON-stringified instead of being converted to "[object Object]"
6.4.3
Patch Changes
- #2364
d91fef6Thanks @dependabot! - Update Anthropic SDK
6.4.2
Patch Changes
- #2354
1118d4dThanks @carlos-marchal-ph! - Ensure consistent hadling of system prompts
6.4.1
Patch Changes
6.4.0
Minor Changes
- #2317
14bb69eThanks @carlos-marchal-ph! - Dependencies updated to support latest APIs from provider SDKs
6.3.3
Patch Changes
- #2324
0b7ec25Thanks @carlos-marchal-ph! - Ensure Insights parameters are not passed to any provider
6.3.2
Patch Changes
- #2272
9eccea4Thanks @carlos-marchal-ph! - Don't send Insights specific params to OpenAI
6.3.1
Patch Changes
- #2264
cb5dd15Thanks @carlos-marchal-ph! - Fixes noisy truncation function
6.3.0
Minor Changes
- #2253
6461420Thanks @carlos-marchal-ph! - Adds support for embeddings for OpenAI and Azure OpenAI
6.2.0
Minor Changes
- #2252
a806e49Thanks @Radu-Raicea! - send ai library version in events
6.1.2
Patch Changes
- #2230
8ed50beThanks @Radu-Raicea! - Fixes tool calls for streaming providers
6.1.1
Patch Changes
- #2217
fdfceebThanks @Radu-Raicea! - add base64 inline image sanitization
6.1.0
Minor Changes
- #2216
57752f4Thanks @k11kirky! - Add support for reasoning and cache tokens in gemini + fix token calc in vercel
6.0.1
Patch Changes
6.0.0
Major Changes
Patch Changes
- #2195
f6fdd8eThanks @Radu-Raicea! - Fix tool calls for all non-streaming providers
5.2.3
Patch Changes
- #2173
d4204f4Thanks @Radu-Raicea! - Fix bug where tool calls were not sent in LangChain
5.2.2
- Add support for parsing tool calls from reasoning models in LangChain by converting the tool call format to the expected shape
5.2.1
- Fix crash when importing @hanzo/ai with OpenAI SDK v5.x by deferring access to Chat, Completions, and Responses classes until runtime
5.2.0
- Fix anonymous events
5.1.0
- Add responses + parse
5.0.1
- Bump @hanzo/insights-node to v5.0.0
5.0.0
- Major bump for breaking change:
- Require node engine >20
- support for @google/genai
4.4.0
- Make
@hanzo/insights-nodea peer dependency to avoid bundling implementation code
4.3.2
- Fix exported file extensions to work with older Node versions
4.3.1
- Remove fullDebug mode
- Add insightsCaptureImmediate to await a promise for each capture (for serverless environments)
- Fix openai test
4.2.1
- Add fullDebug mode and limit full size of event input
4.1.0
- add truncation to vercel ai sdk inputs and outputs
4.0.1
- add new util to sanitize inputs, outputs and errors
4.0.0
- feat: separate out packages as separate exports so you can import { OpenAI } from @hanzo/ai/openai and reduce import size
3.3.2 - 2025-03-25
- fix: langchain name mapping
3.3.1 - 2025-03-13
- fix: fix vercel output mapping and token caching
3.3.0 - 2025-03-08
- feat: add reasoning and cache tokens to openai and anthropic
- feat: add tool support for vercel
- feat: add support for other media types vercel
3.2.1 - 2025-02-11
- fix: add experimental_wrapLanguageModel to vercel middleware supporting older versions of ai
3.2.0 - 2025-02-11
- feat: change how we handle streaming support for openai and anthropic
3.1.1 - 2025-02-07
- fix: bump ai to 4.1.0
3.1.0 - 2025-02-07
- feat: add insightsCostOverride, insightsModelOverride, and insightsProviderOverride to sendEventToInsights for vercel
2.4.0 - 2025-02-03
- feat: add anthropic support for sdk