@zespan/sdk 1.2.0 → 1.3.0
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/index.d.mts +4 -1
- package/dist/index.d.ts +4 -1
- package/dist/index.js +12 -12
- package/dist/index.mjs +12 -12
- package/package.json +6 -1
package/dist/index.d.mts
CHANGED
|
@@ -280,6 +280,8 @@ declare function wrapAnthropic<T extends any>(client: T, options?: WrapperGuardr
|
|
|
280
280
|
|
|
281
281
|
declare function wrapGoogle<T extends any>(client: T, options?: WrapperGuardrailsOptions): T;
|
|
282
282
|
|
|
283
|
+
declare function wrapGoogleGenAI<T extends object>(client: T, options?: WrapperGuardrailsOptions): T;
|
|
284
|
+
|
|
283
285
|
declare function wrapOpenRouter(baseClient: OpenAI, options?: WrapperGuardrailsOptions): OpenAI;
|
|
284
286
|
|
|
285
287
|
interface WrapBedrockOptions extends WrapperGuardrailsOptions {
|
|
@@ -541,6 +543,7 @@ declare const zespan: {
|
|
|
541
543
|
wrapOpenAI: typeof wrapOpenAI;
|
|
542
544
|
wrapAnthropic: typeof wrapAnthropic;
|
|
543
545
|
wrapGoogle: typeof wrapGoogle;
|
|
546
|
+
wrapGoogleGenAI: typeof wrapGoogleGenAI;
|
|
544
547
|
wrapOpenRouter: typeof wrapOpenRouter;
|
|
545
548
|
wrapADKAgent: typeof wrapADKAgent;
|
|
546
549
|
wrapADKRunner: typeof wrapADKRunner;
|
|
@@ -564,4 +567,4 @@ declare const zespan: {
|
|
|
564
567
|
ZespanLlamaIndexHandler: typeof ZespanLlamaIndexHandler;
|
|
565
568
|
};
|
|
566
569
|
|
|
567
|
-
export { type ADKAgentOptions, type ADKRunnerOptions, AgentContext, type AgentOptions, BaggageSpanProcessor, CREWAI_OTEL_ENV, GuardrailBlockedError, type GuardrailCheckInput, type GuardrailCheckResponse, type GuardrailResult, type InstrumentADKOptions, type OTelConfig, type Prompt, PromptClient, type PromptOptions, type ResolvedWrapperGuardrailsSettings, type WrapperGuardrailsOptions, type WrapperGuardrailsSettings, ZespanADKCallbackHandler, ZespanCallbackHandler, ZespanClient, type ZespanContextOptions, ZespanLlamaIndexHandler, attachTraceToAutoGenMessage, autopatch, createSpan, extractAgentContext, extractAgentContext as extractAutoGenContext, extractTraceFromAutoGenMessage, getCrewAIInstrumentationGuide, getPydanticAIConfig, getTracer, getZespanClient, getZespanVercelTelemetry, init, initOTel, initZespan, injectAgentContext, injectAgentContext as injectAutoGenContext, instrumentADK, instrumentVercelAI, markFrameworkActive, markFrameworkInactive, startSpan, withAgent, withSpan, withZespan, withZespanContext, withZespanTrace, wrapADKAgent, wrapADKRunner, wrapAnthropic, wrapBedrock, wrapGoogle, wrapGroq, wrapLiteLLM, wrapMistral, wrapOpenAI, wrapOpenRouter, wrapZespanADKAgent, zespan };
|
|
570
|
+
export { type ADKAgentOptions, type ADKRunnerOptions, AgentContext, type AgentOptions, BaggageSpanProcessor, CREWAI_OTEL_ENV, GuardrailBlockedError, type GuardrailCheckInput, type GuardrailCheckResponse, type GuardrailResult, type InstrumentADKOptions, type OTelConfig, type Prompt, PromptClient, type PromptOptions, type ResolvedWrapperGuardrailsSettings, type WrapperGuardrailsOptions, type WrapperGuardrailsSettings, ZespanADKCallbackHandler, ZespanCallbackHandler, ZespanClient, type ZespanContextOptions, ZespanLlamaIndexHandler, attachTraceToAutoGenMessage, autopatch, createSpan, extractAgentContext, extractAgentContext as extractAutoGenContext, extractTraceFromAutoGenMessage, getCrewAIInstrumentationGuide, getPydanticAIConfig, getTracer, getZespanClient, getZespanVercelTelemetry, init, initOTel, initZespan, injectAgentContext, injectAgentContext as injectAutoGenContext, instrumentADK, instrumentVercelAI, markFrameworkActive, markFrameworkInactive, startSpan, withAgent, withSpan, withZespan, withZespanContext, withZespanTrace, wrapADKAgent, wrapADKRunner, wrapAnthropic, wrapBedrock, wrapGoogle, wrapGoogleGenAI, wrapGroq, wrapLiteLLM, wrapMistral, wrapOpenAI, wrapOpenRouter, wrapZespanADKAgent, zespan };
|
package/dist/index.d.ts
CHANGED
|
@@ -280,6 +280,8 @@ declare function wrapAnthropic<T extends any>(client: T, options?: WrapperGuardr
|
|
|
280
280
|
|
|
281
281
|
declare function wrapGoogle<T extends any>(client: T, options?: WrapperGuardrailsOptions): T;
|
|
282
282
|
|
|
283
|
+
declare function wrapGoogleGenAI<T extends object>(client: T, options?: WrapperGuardrailsOptions): T;
|
|
284
|
+
|
|
283
285
|
declare function wrapOpenRouter(baseClient: OpenAI, options?: WrapperGuardrailsOptions): OpenAI;
|
|
284
286
|
|
|
285
287
|
interface WrapBedrockOptions extends WrapperGuardrailsOptions {
|
|
@@ -541,6 +543,7 @@ declare const zespan: {
|
|
|
541
543
|
wrapOpenAI: typeof wrapOpenAI;
|
|
542
544
|
wrapAnthropic: typeof wrapAnthropic;
|
|
543
545
|
wrapGoogle: typeof wrapGoogle;
|
|
546
|
+
wrapGoogleGenAI: typeof wrapGoogleGenAI;
|
|
544
547
|
wrapOpenRouter: typeof wrapOpenRouter;
|
|
545
548
|
wrapADKAgent: typeof wrapADKAgent;
|
|
546
549
|
wrapADKRunner: typeof wrapADKRunner;
|
|
@@ -564,4 +567,4 @@ declare const zespan: {
|
|
|
564
567
|
ZespanLlamaIndexHandler: typeof ZespanLlamaIndexHandler;
|
|
565
568
|
};
|
|
566
569
|
|
|
567
|
-
export { type ADKAgentOptions, type ADKRunnerOptions, AgentContext, type AgentOptions, BaggageSpanProcessor, CREWAI_OTEL_ENV, GuardrailBlockedError, type GuardrailCheckInput, type GuardrailCheckResponse, type GuardrailResult, type InstrumentADKOptions, type OTelConfig, type Prompt, PromptClient, type PromptOptions, type ResolvedWrapperGuardrailsSettings, type WrapperGuardrailsOptions, type WrapperGuardrailsSettings, ZespanADKCallbackHandler, ZespanCallbackHandler, ZespanClient, type ZespanContextOptions, ZespanLlamaIndexHandler, attachTraceToAutoGenMessage, autopatch, createSpan, extractAgentContext, extractAgentContext as extractAutoGenContext, extractTraceFromAutoGenMessage, getCrewAIInstrumentationGuide, getPydanticAIConfig, getTracer, getZespanClient, getZespanVercelTelemetry, init, initOTel, initZespan, injectAgentContext, injectAgentContext as injectAutoGenContext, instrumentADK, instrumentVercelAI, markFrameworkActive, markFrameworkInactive, startSpan, withAgent, withSpan, withZespan, withZespanContext, withZespanTrace, wrapADKAgent, wrapADKRunner, wrapAnthropic, wrapBedrock, wrapGoogle, wrapGroq, wrapLiteLLM, wrapMistral, wrapOpenAI, wrapOpenRouter, wrapZespanADKAgent, zespan };
|
|
570
|
+
export { type ADKAgentOptions, type ADKRunnerOptions, AgentContext, type AgentOptions, BaggageSpanProcessor, CREWAI_OTEL_ENV, GuardrailBlockedError, type GuardrailCheckInput, type GuardrailCheckResponse, type GuardrailResult, type InstrumentADKOptions, type OTelConfig, type Prompt, PromptClient, type PromptOptions, type ResolvedWrapperGuardrailsSettings, type WrapperGuardrailsOptions, type WrapperGuardrailsSettings, ZespanADKCallbackHandler, ZespanCallbackHandler, ZespanClient, type ZespanContextOptions, ZespanLlamaIndexHandler, attachTraceToAutoGenMessage, autopatch, createSpan, extractAgentContext, extractAgentContext as extractAutoGenContext, extractTraceFromAutoGenMessage, getCrewAIInstrumentationGuide, getPydanticAIConfig, getTracer, getZespanClient, getZespanVercelTelemetry, init, initOTel, initZespan, injectAgentContext, injectAgentContext as injectAutoGenContext, instrumentADK, instrumentVercelAI, markFrameworkActive, markFrameworkInactive, startSpan, withAgent, withSpan, withZespan, withZespanContext, withZespanTrace, wrapADKAgent, wrapADKRunner, wrapAnthropic, wrapBedrock, wrapGoogle, wrapGoogleGenAI, wrapGroq, wrapLiteLLM, wrapMistral, wrapOpenAI, wrapOpenRouter, wrapZespanADKAgent, zespan };
|