@brizz/sdk 0.1.53 → 0.1.54
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/README.md +38 -0
- package/dist/chunk-DBN4NKIG.js +107 -0
- package/dist/{chunk-KFETJN5M.cjs → chunk-FQBVTIBR.cjs} +7 -0
- package/dist/{chunk-STTOBCTP.cjs → chunk-KGNFUQ6Z.cjs} +1 -1
- package/dist/{chunk-XV3ZJO5K.js → chunk-MLMF2O5P.js} +1 -1
- package/dist/chunk-VZJNEST4.cjs +107 -0
- package/dist/{chunk-TEY6FAVZ.js → chunk-YGLDHCWC.js} +7 -0
- package/dist/google-genai-44O4QORJ.cjs +11 -0
- package/dist/{google-genai-T7I4FFIP.js → google-genai-PERR37LR.js} +2 -1
- package/dist/google-genai.cjs +3 -2
- package/dist/google-genai.js +2 -1
- package/dist/index.cjs +226 -54
- package/dist/index.js +210 -38
- package/dist/{mcp-KH5LOG5H.cjs → mcp-4M4XL46N.cjs} +39 -16
- package/dist/{mcp-DBLN5ZBE.js → mcp-KU7MFTOB.js} +29 -6
- package/dist/types/cjs/index.d.ts +1 -1
- package/dist/types/cjs/internal/config.d.ts +1 -0
- package/dist/types/cjs/internal/instrumentation/openai.d.ts +5 -0
- package/dist/types/cjs/internal/log/logging.d.ts +1 -0
- package/dist/types/cjs/internal/metric/metrics.d.ts +1 -0
- package/dist/types/cjs/internal/sdk.d.ts +3 -0
- package/dist/types/cjs/internal/trace/index.d.ts +1 -0
- package/dist/types/cjs/internal/trace/provider.d.ts +15 -0
- package/dist/types/cjs/internal/trace/tracing.d.ts +1 -0
- package/dist/types/esm/index.d.ts +1 -1
- package/dist/types/esm/internal/config.d.ts +1 -0
- package/dist/types/esm/internal/instrumentation/openai.d.ts +5 -0
- package/dist/types/esm/internal/log/logging.d.ts +1 -0
- package/dist/types/esm/internal/metric/metrics.d.ts +1 -0
- package/dist/types/esm/internal/sdk.d.ts +3 -0
- package/dist/types/esm/internal/trace/index.d.ts +1 -0
- package/dist/types/esm/internal/trace/provider.d.ts +15 -0
- package/dist/types/esm/internal/trace/tracing.d.ts +1 -0
- package/package.json +16 -15
- package/dist/google-genai-LMEZ62FB.cjs +0 -10
|
@@ -8,7 +8,13 @@ import {
|
|
|
8
8
|
resolveTransportSessionId,
|
|
9
9
|
sessionToolResult,
|
|
10
10
|
stampAndPropagateSession
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-MLMF2O5P.js";
|
|
12
|
+
import {
|
|
13
|
+
brizzTracerProvider,
|
|
14
|
+
extractTraceContext,
|
|
15
|
+
injectTraceContext,
|
|
16
|
+
isPrivateTracerProvider
|
|
17
|
+
} from "./chunk-DBN4NKIG.js";
|
|
12
18
|
import {
|
|
13
19
|
logger
|
|
14
20
|
} from "./chunk-Y4HNUX3Q.js";
|
|
@@ -17,11 +23,10 @@ import "./chunk-3RG5ZIWI.js";
|
|
|
17
23
|
|
|
18
24
|
// src/internal/instrumentation/mcp/instrumentation.ts
|
|
19
25
|
import { MCPInstrumentation as BaseMCPInstrumentation } from "@arizeai/openinference-instrumentation-mcp";
|
|
20
|
-
import { trace as trace2 } from "@opentelemetry/api";
|
|
21
26
|
import { InstrumentationNodeModuleDefinition } from "@opentelemetry/instrumentation";
|
|
22
27
|
|
|
23
28
|
// src/internal/instrumentation/mcp/patches/protocol.ts
|
|
24
|
-
import { context,
|
|
29
|
+
import { context, SpanKind as SpanKind2, trace } from "@opentelemetry/api";
|
|
25
30
|
|
|
26
31
|
// src/internal/instrumentation/mcp/schemas.ts
|
|
27
32
|
import { SpanKind, SpanStatusCode } from "@opentelemetry/api";
|
|
@@ -372,10 +377,27 @@ function wrapRequest(original, tracer) {
|
|
|
372
377
|
}
|
|
373
378
|
return executeAroundSpan(span, request.method, () => {
|
|
374
379
|
const ctx = trace.setSpan(context.active(), span);
|
|
375
|
-
return context.with(ctx, () =>
|
|
380
|
+
return context.with(ctx, () => {
|
|
381
|
+
injectMetaTraceContext(request, ctx);
|
|
382
|
+
return original.apply(this, args);
|
|
383
|
+
});
|
|
376
384
|
});
|
|
377
385
|
};
|
|
378
386
|
}
|
|
387
|
+
function injectMetaTraceContext(request, ctx) {
|
|
388
|
+
if (!isPrivateTracerProvider()) {
|
|
389
|
+
return;
|
|
390
|
+
}
|
|
391
|
+
try {
|
|
392
|
+
request.params ??= {};
|
|
393
|
+
request.params._meta ??= {};
|
|
394
|
+
if (request.params._meta["traceparent"] === void 0) {
|
|
395
|
+
injectTraceContext(ctx, request.params._meta);
|
|
396
|
+
}
|
|
397
|
+
} catch (error) {
|
|
398
|
+
logger.debug(`Brizz MCP: failed to inject trace context into _meta: ${String(error)}`);
|
|
399
|
+
}
|
|
400
|
+
}
|
|
379
401
|
function wrapOnRequest(original, tracer) {
|
|
380
402
|
return function wrappedOnRequest(...args) {
|
|
381
403
|
const request = args[0];
|
|
@@ -571,7 +593,7 @@ function extractParentContext(request) {
|
|
|
571
593
|
try {
|
|
572
594
|
const meta = request.params?._meta;
|
|
573
595
|
if (meta && typeof meta === "object") {
|
|
574
|
-
return
|
|
596
|
+
return extractTraceContext(context.active(), meta);
|
|
575
597
|
}
|
|
576
598
|
} catch (error) {
|
|
577
599
|
logger.debug(
|
|
@@ -630,7 +652,8 @@ var MCPInstrumentation = class extends BaseMCPInstrumentation {
|
|
|
630
652
|
brizzTracer;
|
|
631
653
|
constructor(_config) {
|
|
632
654
|
super({ instrumentationConfig: _config?.instrumentationConfig });
|
|
633
|
-
this.
|
|
655
|
+
this.setTracerProvider(brizzTracerProvider);
|
|
656
|
+
this.brizzTracer = brizzTracerProvider.getTracer(INSTRUMENTATION_NAME, INSTRUMENTATION_VERSION);
|
|
634
657
|
}
|
|
635
658
|
/**
|
|
636
659
|
* Apply the SERVER + CLIENT patch to a loaded `protocol.js` module. Shared
|
|
@@ -2,7 +2,7 @@ import './internal/instrumentation/auto-init.js';
|
|
|
2
2
|
export { Brizz, type IBrizzInitializeOptions } from './internal/sdk.js';
|
|
3
3
|
export { type IInstrumentModules, type IMCPManualModules, } from './internal/instrumentation/index.js';
|
|
4
4
|
export { emitEvent, emitEventWithSessionId } from './internal/log/index.js';
|
|
5
|
-
export { getSpanExporter, getSpanProcessor, withSessionId, callWithSessionId, withProperties, callWithProperties, withMute, callWithMute, setCurrentSpanCustomProperties, setUser, setOrganization, setMessageId, setSessionId, setServiceName, withServiceName, callWithServiceName, withUser, callWithUser, withOrganization, callWithOrganization, withMessageId, callWithMessageId, Session, SessionTitle, startAgent, withAgent, setAgent, startSession, startSessionTitle, getActiveSession, addExternalLink, recordFeedback, recordMetric, } from './internal/trace/index.js';
|
|
5
|
+
export { getSpanExporter, getSpanProcessor, getTracerProvider, withSessionId, callWithSessionId, withProperties, callWithProperties, withMute, callWithMute, setCurrentSpanCustomProperties, setUser, setOrganization, setMessageId, setSessionId, setServiceName, withServiceName, callWithServiceName, withUser, callWithUser, withOrganization, callWithOrganization, withMessageId, callWithMessageId, Session, SessionTitle, startAgent, withAgent, setAgent, startSession, startSessionTitle, getActiveSession, addExternalLink, recordFeedback, recordMetric, } from './internal/trace/index.js';
|
|
6
6
|
export type { IMuteOptions, AgentRef, IAgent, IAgentOptions } from './internal/trace/index.js';
|
|
7
7
|
export { getMetricsExporter, getMetricsReader } from './internal/metric/index.js';
|
|
8
8
|
export type { IMaskingConfig, ISpanMaskingConfig, ILogMaskingConfig, IEventMaskingConfig, IEventMaskingRule, MaskingMode, IAttributesMaskingRule, } from './internal/masking/index.js';
|
|
@@ -14,6 +14,7 @@ export interface IResolvedBrizzConfig extends Omit<IBrizzInitializeOptions, 'mas
|
|
|
14
14
|
masking?: IMaskingConfig;
|
|
15
15
|
resourceAttributes?: Record<string, AttributeValue>;
|
|
16
16
|
beforeSendSpan?: (span: ReadableSpan) => boolean | Promise<boolean>;
|
|
17
|
+
setGlobalTracerProvider: boolean;
|
|
17
18
|
}
|
|
18
19
|
export declare function resolveConfig(options: IBrizzInitializeOptions): IResolvedBrizzConfig;
|
|
19
20
|
export declare function processEnvironmentConfig(options: IBrizzInitializeOptions): IResolvedBrizzConfig;
|
|
@@ -15,6 +15,7 @@ export declare class LoggingModule {
|
|
|
15
15
|
emitEvent(name: string, attributes?: Record<string, string | number | boolean>, body?: LogBody, severityNumber?: SeverityNumber): void;
|
|
16
16
|
isInitialized(): boolean;
|
|
17
17
|
getLoggerProvider(): LoggerProvider | null;
|
|
18
|
+
forceFlush(): Promise<void>;
|
|
18
19
|
shutdown(): Promise<void>;
|
|
19
20
|
}
|
|
20
21
|
export declare function emitEvent(name: string, attributes?: Record<string, string | number | boolean>, body?: LogBody, severityNumber?: SeverityNumber): void;
|
|
@@ -11,6 +11,7 @@ export declare class MetricsModule {
|
|
|
11
11
|
setup(config: IResolvedBrizzConfig): void;
|
|
12
12
|
getMetricsExporter(): OTLPMetricExporter;
|
|
13
13
|
getMetricsReader(): MetricReader;
|
|
14
|
+
forceFlush(): Promise<void>;
|
|
14
15
|
shutdown(): void;
|
|
15
16
|
}
|
|
16
17
|
export declare function getMetricsExporter(): OTLPMetricExporter;
|
|
@@ -20,6 +20,7 @@ export interface IBrizzInitializeOptions {
|
|
|
20
20
|
logLevel?: LogLevel | string;
|
|
21
21
|
instrumentModules?: IInstrumentModules;
|
|
22
22
|
disableNodeSdk?: boolean;
|
|
23
|
+
setGlobalTracerProvider?: boolean;
|
|
23
24
|
customSpanExporter?: SpanExporter;
|
|
24
25
|
customLogExporter?: LogRecordExporter;
|
|
25
26
|
customMetricReader?: MetricReader;
|
|
@@ -35,10 +36,12 @@ export declare class _Brizz {
|
|
|
35
36
|
private _meterProvider;
|
|
36
37
|
private setupInstrumentation;
|
|
37
38
|
private createAndStartProviders;
|
|
39
|
+
private registerGlobalTracerProvider;
|
|
38
40
|
private initializeModules;
|
|
39
41
|
private detectModuleSystem;
|
|
40
42
|
private shutdownModules;
|
|
41
43
|
initialize(options: IBrizzInitializeOptions): void;
|
|
44
|
+
flush(timeoutMillis?: number): Promise<boolean>;
|
|
42
45
|
shutdown(): Promise<void>;
|
|
43
46
|
}
|
|
44
47
|
export declare const Brizz: _Brizz;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { TracingModule, getSpanExporter, getSpanProcessor } from './tracing.js';
|
|
2
|
+
export { getTracerProvider } from './provider.js';
|
|
2
3
|
export { BrizzBatchSpanProcessor, BrizzSimpleSpanProcessor } from './processors/span-processor.js';
|
|
3
4
|
export { withSessionId, callWithSessionId, withProperties, callWithProperties, withMute, callWithMute, setCurrentSpanCustomProperties, setUser, setOrganization, setMessageId, setSessionId, setServiceName, withServiceName, callWithServiceName, withUser, callWithUser, withOrganization, callWithOrganization, withMessageId, callWithMessageId, Session, SessionTitle, startSession, startSessionTitle, getActiveSession, addExternalLink, recordFeedback, recordMetric, } from './session.js';
|
|
4
5
|
export type { IMuteOptions } from './session.js';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { Context, Tracer, TracerOptions, TracerProvider } from '@opentelemetry/api';
|
|
2
|
+
export declare class BrizzTracerProvider implements TracerProvider {
|
|
3
|
+
private readonly tracers;
|
|
4
|
+
getTracer(name: string, version?: string, options?: TracerOptions): Tracer;
|
|
5
|
+
}
|
|
6
|
+
export declare const brizzTracerProvider: BrizzTracerProvider;
|
|
7
|
+
export declare function getTracerProvider(): TracerProvider;
|
|
8
|
+
export declare function bindToBrizz<T extends {
|
|
9
|
+
setTracerProvider(provider: TracerProvider): void;
|
|
10
|
+
}>(instrumentation: T): T;
|
|
11
|
+
export declare function setPrivateTracerProvider(provider: TracerProvider | null): void;
|
|
12
|
+
export declare function isPrivateTracerProvider(): boolean;
|
|
13
|
+
export declare function ensureContextManager(): 'existing' | 'installed' | 'failed';
|
|
14
|
+
export declare function injectTraceContext(ctx: Context, carrier: Record<string, unknown>): void;
|
|
15
|
+
export declare function extractTraceContext(ctx: Context, carrier: Record<string, unknown>): Context;
|
|
@@ -11,6 +11,7 @@ export declare class TracingModule {
|
|
|
11
11
|
setup(config: IResolvedBrizzConfig): void;
|
|
12
12
|
getSpanExporter(): SpanExporter;
|
|
13
13
|
getSpanProcessor(): SpanProcessor;
|
|
14
|
+
forceFlush(): Promise<void>;
|
|
14
15
|
shutdown(): Promise<void>;
|
|
15
16
|
}
|
|
16
17
|
export declare function getSpanExporter(): SpanExporter;
|
|
@@ -2,7 +2,7 @@ import './internal/instrumentation/auto-init.js';
|
|
|
2
2
|
export { Brizz, type IBrizzInitializeOptions } from './internal/sdk.js';
|
|
3
3
|
export { type IInstrumentModules, type IMCPManualModules, } from './internal/instrumentation/index.js';
|
|
4
4
|
export { emitEvent, emitEventWithSessionId } from './internal/log/index.js';
|
|
5
|
-
export { getSpanExporter, getSpanProcessor, withSessionId, callWithSessionId, withProperties, callWithProperties, withMute, callWithMute, setCurrentSpanCustomProperties, setUser, setOrganization, setMessageId, setSessionId, setServiceName, withServiceName, callWithServiceName, withUser, callWithUser, withOrganization, callWithOrganization, withMessageId, callWithMessageId, Session, SessionTitle, startAgent, withAgent, setAgent, startSession, startSessionTitle, getActiveSession, addExternalLink, recordFeedback, recordMetric, } from './internal/trace/index.js';
|
|
5
|
+
export { getSpanExporter, getSpanProcessor, getTracerProvider, withSessionId, callWithSessionId, withProperties, callWithProperties, withMute, callWithMute, setCurrentSpanCustomProperties, setUser, setOrganization, setMessageId, setSessionId, setServiceName, withServiceName, callWithServiceName, withUser, callWithUser, withOrganization, callWithOrganization, withMessageId, callWithMessageId, Session, SessionTitle, startAgent, withAgent, setAgent, startSession, startSessionTitle, getActiveSession, addExternalLink, recordFeedback, recordMetric, } from './internal/trace/index.js';
|
|
6
6
|
export type { IMuteOptions, AgentRef, IAgent, IAgentOptions } from './internal/trace/index.js';
|
|
7
7
|
export { getMetricsExporter, getMetricsReader } from './internal/metric/index.js';
|
|
8
8
|
export type { IMaskingConfig, ISpanMaskingConfig, ILogMaskingConfig, IEventMaskingConfig, IEventMaskingRule, MaskingMode, IAttributesMaskingRule, } from './internal/masking/index.js';
|
|
@@ -14,6 +14,7 @@ export interface IResolvedBrizzConfig extends Omit<IBrizzInitializeOptions, 'mas
|
|
|
14
14
|
masking?: IMaskingConfig;
|
|
15
15
|
resourceAttributes?: Record<string, AttributeValue>;
|
|
16
16
|
beforeSendSpan?: (span: ReadableSpan) => boolean | Promise<boolean>;
|
|
17
|
+
setGlobalTracerProvider: boolean;
|
|
17
18
|
}
|
|
18
19
|
export declare function resolveConfig(options: IBrizzInitializeOptions): IResolvedBrizzConfig;
|
|
19
20
|
export declare function processEnvironmentConfig(options: IBrizzInitializeOptions): IResolvedBrizzConfig;
|
|
@@ -15,6 +15,7 @@ export declare class LoggingModule {
|
|
|
15
15
|
emitEvent(name: string, attributes?: Record<string, string | number | boolean>, body?: LogBody, severityNumber?: SeverityNumber): void;
|
|
16
16
|
isInitialized(): boolean;
|
|
17
17
|
getLoggerProvider(): LoggerProvider | null;
|
|
18
|
+
forceFlush(): Promise<void>;
|
|
18
19
|
shutdown(): Promise<void>;
|
|
19
20
|
}
|
|
20
21
|
export declare function emitEvent(name: string, attributes?: Record<string, string | number | boolean>, body?: LogBody, severityNumber?: SeverityNumber): void;
|
|
@@ -11,6 +11,7 @@ export declare class MetricsModule {
|
|
|
11
11
|
setup(config: IResolvedBrizzConfig): void;
|
|
12
12
|
getMetricsExporter(): OTLPMetricExporter;
|
|
13
13
|
getMetricsReader(): MetricReader;
|
|
14
|
+
forceFlush(): Promise<void>;
|
|
14
15
|
shutdown(): void;
|
|
15
16
|
}
|
|
16
17
|
export declare function getMetricsExporter(): OTLPMetricExporter;
|
|
@@ -20,6 +20,7 @@ export interface IBrizzInitializeOptions {
|
|
|
20
20
|
logLevel?: LogLevel | string;
|
|
21
21
|
instrumentModules?: IInstrumentModules;
|
|
22
22
|
disableNodeSdk?: boolean;
|
|
23
|
+
setGlobalTracerProvider?: boolean;
|
|
23
24
|
customSpanExporter?: SpanExporter;
|
|
24
25
|
customLogExporter?: LogRecordExporter;
|
|
25
26
|
customMetricReader?: MetricReader;
|
|
@@ -35,10 +36,12 @@ export declare class _Brizz {
|
|
|
35
36
|
private _meterProvider;
|
|
36
37
|
private setupInstrumentation;
|
|
37
38
|
private createAndStartProviders;
|
|
39
|
+
private registerGlobalTracerProvider;
|
|
38
40
|
private initializeModules;
|
|
39
41
|
private detectModuleSystem;
|
|
40
42
|
private shutdownModules;
|
|
41
43
|
initialize(options: IBrizzInitializeOptions): void;
|
|
44
|
+
flush(timeoutMillis?: number): Promise<boolean>;
|
|
42
45
|
shutdown(): Promise<void>;
|
|
43
46
|
}
|
|
44
47
|
export declare const Brizz: _Brizz;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { TracingModule, getSpanExporter, getSpanProcessor } from './tracing.js';
|
|
2
|
+
export { getTracerProvider } from './provider.js';
|
|
2
3
|
export { BrizzBatchSpanProcessor, BrizzSimpleSpanProcessor } from './processors/span-processor.js';
|
|
3
4
|
export { withSessionId, callWithSessionId, withProperties, callWithProperties, withMute, callWithMute, setCurrentSpanCustomProperties, setUser, setOrganization, setMessageId, setSessionId, setServiceName, withServiceName, callWithServiceName, withUser, callWithUser, withOrganization, callWithOrganization, withMessageId, callWithMessageId, Session, SessionTitle, startSession, startSessionTitle, getActiveSession, addExternalLink, recordFeedback, recordMetric, } from './session.js';
|
|
4
5
|
export type { IMuteOptions } from './session.js';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { Context, Tracer, TracerOptions, TracerProvider } from '@opentelemetry/api';
|
|
2
|
+
export declare class BrizzTracerProvider implements TracerProvider {
|
|
3
|
+
private readonly tracers;
|
|
4
|
+
getTracer(name: string, version?: string, options?: TracerOptions): Tracer;
|
|
5
|
+
}
|
|
6
|
+
export declare const brizzTracerProvider: BrizzTracerProvider;
|
|
7
|
+
export declare function getTracerProvider(): TracerProvider;
|
|
8
|
+
export declare function bindToBrizz<T extends {
|
|
9
|
+
setTracerProvider(provider: TracerProvider): void;
|
|
10
|
+
}>(instrumentation: T): T;
|
|
11
|
+
export declare function setPrivateTracerProvider(provider: TracerProvider | null): void;
|
|
12
|
+
export declare function isPrivateTracerProvider(): boolean;
|
|
13
|
+
export declare function ensureContextManager(): 'existing' | 'installed' | 'failed';
|
|
14
|
+
export declare function injectTraceContext(ctx: Context, carrier: Record<string, unknown>): void;
|
|
15
|
+
export declare function extractTraceContext(ctx: Context, carrier: Record<string, unknown>): Context;
|
|
@@ -11,6 +11,7 @@ export declare class TracingModule {
|
|
|
11
11
|
setup(config: IResolvedBrizzConfig): void;
|
|
12
12
|
getSpanExporter(): SpanExporter;
|
|
13
13
|
getSpanProcessor(): SpanProcessor;
|
|
14
|
+
forceFlush(): Promise<void>;
|
|
14
15
|
shutdown(): Promise<void>;
|
|
15
16
|
}
|
|
16
17
|
export declare function getSpanExporter(): SpanExporter;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@brizz/sdk",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.54",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "OpenTelemetry-based observability SDK for AI applications",
|
|
6
6
|
"keywords": [
|
|
@@ -104,9 +104,9 @@
|
|
|
104
104
|
"registry": "https://registry.npmjs.org/"
|
|
105
105
|
},
|
|
106
106
|
"devDependencies": {
|
|
107
|
-
"@ai-sdk/anthropic": "^4.0.
|
|
108
|
-
"@ai-sdk/openai": "^4.0.
|
|
109
|
-
"@ai-sdk/otel": "^1.0.
|
|
107
|
+
"@ai-sdk/anthropic": "^4.0.82",
|
|
108
|
+
"@ai-sdk/openai": "^4.0.96",
|
|
109
|
+
"@ai-sdk/otel": "^1.0.143",
|
|
110
110
|
"@arethetypeswrong/cli": "^0.18.5",
|
|
111
111
|
"@arizeai/openinference-instrumentation-mcp": "^0.2.36",
|
|
112
112
|
"@babel/core": "^8.0.7",
|
|
@@ -114,27 +114,27 @@
|
|
|
114
114
|
"@babel/preset-typescript": "^8.0.7",
|
|
115
115
|
"@changesets/changelog-github": "^1.0.1",
|
|
116
116
|
"@changesets/cli": "^3.0.3",
|
|
117
|
-
"@google/genai": "^2.
|
|
118
|
-
"@langchain/core": "^1.2.
|
|
119
|
-
"@langchain/langgraph": "^1.
|
|
117
|
+
"@google/genai": "^2.30.0",
|
|
118
|
+
"@langchain/core": "^1.2.18",
|
|
119
|
+
"@langchain/langgraph": "^1.5.1",
|
|
120
120
|
"@modelcontextprotocol/sdk": "^1.32.1",
|
|
121
121
|
"@traceloop/instrumentation-google-generativeai": "^0.27.0",
|
|
122
122
|
"@traceloop/instrumentation-vertexai": "^0.27.0",
|
|
123
123
|
"@types/jest": "^30.0.0",
|
|
124
124
|
"@types/node": "^26.6.5",
|
|
125
|
-
"@typesafe-ai/sdk": "^0.
|
|
126
|
-
"ai": "^7.0.
|
|
125
|
+
"@typesafe-ai/sdk": "^0.7.0",
|
|
126
|
+
"ai": "^7.0.143",
|
|
127
127
|
"babel-jest": "^30.5.2",
|
|
128
|
-
"babel-plugin-transform-import-meta": "^3.
|
|
128
|
+
"babel-plugin-transform-import-meta": "^3.1.0",
|
|
129
129
|
"jest": "^30.5.2",
|
|
130
130
|
"jest-environment-jsdom": "^30.5.2",
|
|
131
|
-
"openai": "^7.
|
|
132
|
-
"oxlint": "^1.
|
|
131
|
+
"openai": "^7.39.0",
|
|
132
|
+
"oxlint": "^1.88.0",
|
|
133
133
|
"prettier": "^3.9.10",
|
|
134
|
-
"tsup": "^
|
|
134
|
+
"tsup": "^9.0.0",
|
|
135
135
|
"typescript": "^7.0.2",
|
|
136
|
-
"vitest": "^5.0.
|
|
137
|
-
"zod": "^4.6.
|
|
136
|
+
"vitest": "^5.0.5",
|
|
137
|
+
"zod": "^4.6.7"
|
|
138
138
|
},
|
|
139
139
|
"peerDependencies": {
|
|
140
140
|
"@ai-sdk/otel": "^1",
|
|
@@ -185,6 +185,7 @@
|
|
|
185
185
|
"@arizeai/openinference-instrumentation-openai": "^2.3.1",
|
|
186
186
|
"@opentelemetry/api": "^1.9.0",
|
|
187
187
|
"@opentelemetry/api-logs": "^0.223.0",
|
|
188
|
+
"@opentelemetry/context-async-hooks": "^2.12.0",
|
|
188
189
|
"@opentelemetry/core": "^2.12.0",
|
|
189
190
|
"@opentelemetry/exporter-logs-otlp-http": "^0.223.0",
|
|
190
191
|
"@opentelemetry/exporter-metrics-otlp-http": "^0.223.0",
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
var _chunkKFETJN5Mcjs = require('./chunk-KFETJN5M.cjs');
|
|
5
|
-
require('./chunk-WC573FCI.cjs');
|
|
6
|
-
require('./chunk-OBGZSXTJ.cjs');
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
exports.GoogleGenAIInstrumentation = _chunkKFETJN5Mcjs.GoogleGenAIInstrumentation; exports.instrumentGoogleGenAI = _chunkKFETJN5Mcjs.instrumentGoogleGenAI;
|