@axlsdk/axl 0.23.2 → 0.23.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.
- package/README.md +25 -2
- package/dist/index.cjs +897 -254
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +163 -65
- package/dist/index.d.ts +163 -65
- package/dist/index.js +896 -254
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -2,6 +2,58 @@ import { z, ZodError } from 'zod';
|
|
|
2
2
|
import { EventEmitter } from 'node:events';
|
|
3
3
|
import { Readable } from 'node:stream';
|
|
4
4
|
|
|
5
|
+
/** Audio supplied to a transcription provider. Network and file-system sources
|
|
6
|
+
* are deliberately excluded: callers retain control of all I/O. */
|
|
7
|
+
type RecordedAudioSource = {
|
|
8
|
+
readonly type: 'bytes';
|
|
9
|
+
readonly data: Uint8Array;
|
|
10
|
+
readonly mediaType: string;
|
|
11
|
+
} | {
|
|
12
|
+
readonly type: 'base64';
|
|
13
|
+
readonly data: string;
|
|
14
|
+
readonly mediaType: string;
|
|
15
|
+
} | {
|
|
16
|
+
readonly type: 'provider-file';
|
|
17
|
+
readonly provider: string;
|
|
18
|
+
readonly reference: string;
|
|
19
|
+
readonly mediaType?: string;
|
|
20
|
+
};
|
|
21
|
+
type TranscriptionRequest = {
|
|
22
|
+
readonly model: string;
|
|
23
|
+
readonly audio: RecordedAudioSource;
|
|
24
|
+
readonly language?: string;
|
|
25
|
+
readonly timestamps?: 'segment' | 'word';
|
|
26
|
+
readonly diarization?: boolean;
|
|
27
|
+
readonly providerOptions?: Record<string, unknown>;
|
|
28
|
+
};
|
|
29
|
+
type Transcript = {
|
|
30
|
+
readonly text: string;
|
|
31
|
+
readonly detectedLanguages?: readonly string[];
|
|
32
|
+
readonly segments?: readonly {
|
|
33
|
+
readonly text: string;
|
|
34
|
+
readonly start: number;
|
|
35
|
+
readonly end: number;
|
|
36
|
+
readonly speaker?: string;
|
|
37
|
+
}[];
|
|
38
|
+
readonly words?: readonly {
|
|
39
|
+
readonly text: string;
|
|
40
|
+
readonly start: number;
|
|
41
|
+
readonly end: number;
|
|
42
|
+
readonly speaker?: string;
|
|
43
|
+
}[];
|
|
44
|
+
readonly usage?: {
|
|
45
|
+
readonly audioSeconds?: number;
|
|
46
|
+
readonly inputTokens?: number;
|
|
47
|
+
readonly outputTokens?: number;
|
|
48
|
+
readonly totalTokens?: number;
|
|
49
|
+
readonly cost?: number;
|
|
50
|
+
};
|
|
51
|
+
readonly pricingStatus?: 'priced' | 'unpriced' | 'zero';
|
|
52
|
+
readonly providerMetadata?: Readonly<Record<string, unknown>>;
|
|
53
|
+
};
|
|
54
|
+
/** Maximum decoded size of caller-supplied inline audio. */
|
|
55
|
+
declare const MAX_INLINE_TRANSCRIPTION_BYTES: number;
|
|
56
|
+
|
|
5
57
|
/** Ordered, model-facing input. Strings retain the legacy shorthand. */
|
|
6
58
|
type ModelInput = string | readonly InputContentPart[];
|
|
7
59
|
type InputTextPart = {
|
|
@@ -31,8 +83,15 @@ type InputImagePart = {
|
|
|
31
83
|
readonly source: InputMediaSource;
|
|
32
84
|
readonly label?: string;
|
|
33
85
|
};
|
|
34
|
-
|
|
35
|
-
|
|
86
|
+
/** A finite recording supplied as ordered model input. Sources are shared with
|
|
87
|
+
* `ctx.transcribe()`, which makes audio URLs unrepresentable by construction. */
|
|
88
|
+
type InputAudioPart = {
|
|
89
|
+
readonly type: 'audio';
|
|
90
|
+
readonly source: RecordedAudioSource;
|
|
91
|
+
readonly label?: string;
|
|
92
|
+
};
|
|
93
|
+
type InputContentPart = InputTextPart | InputImagePart | InputAudioPart;
|
|
94
|
+
/** Maximum decoded bytes retained across all inline media in one logical input. */
|
|
36
95
|
declare const MAX_INLINE_MODEL_INPUT_BYTES: number;
|
|
37
96
|
/** Bounded, observation-safe representation of a rich input. */
|
|
38
97
|
type ModelInputDescriptor = {
|
|
@@ -46,15 +105,30 @@ type ModelInputDescriptor = {
|
|
|
46
105
|
readonly bytes?: number;
|
|
47
106
|
readonly locator?: string;
|
|
48
107
|
readonly label?: string;
|
|
108
|
+
} | {
|
|
109
|
+
readonly type: 'audio';
|
|
110
|
+
readonly source: RecordedAudioSource['type'];
|
|
111
|
+
readonly mediaType?: string;
|
|
112
|
+
readonly bytes?: number;
|
|
113
|
+
/** Provider-file reference only; audio has no URL source. */
|
|
114
|
+
readonly locator?: string;
|
|
115
|
+
readonly label?: string;
|
|
49
116
|
})[];
|
|
50
117
|
};
|
|
51
118
|
/** Return legacy text unchanged, or the deterministic ordered text projection. */
|
|
52
119
|
declare function inputText(input: ModelInput): string;
|
|
120
|
+
/** Safe representation for context summarizers; never includes locators or data. */
|
|
121
|
+
declare function summarizeModelInput(input: ModelInput): string;
|
|
53
122
|
|
|
54
123
|
type InputModalitySupport = {
|
|
55
124
|
image?: {
|
|
56
125
|
sources: readonly InputMediaSource['type'][];
|
|
57
126
|
};
|
|
127
|
+
/** Declaring `audio` is the sole way a provider opts in to general recorded
|
|
128
|
+
* audio input; the runtime fails closed before validation without it. */
|
|
129
|
+
audio?: {
|
|
130
|
+
sources: readonly RecordedAudioSource['type'][];
|
|
131
|
+
};
|
|
58
132
|
};
|
|
59
133
|
type ProviderInputValidationRequest = {
|
|
60
134
|
model: string;
|
|
@@ -195,6 +269,15 @@ type StreamChunk = {
|
|
|
195
269
|
cached_tokens?: number;
|
|
196
270
|
/** Tokens written to a provider prompt cache during this call, when reported. */
|
|
197
271
|
cache_write_tokens?: number;
|
|
272
|
+
/**
|
|
273
|
+
* Audio tokens counted inside `prompt_tokens`, when the provider reports
|
|
274
|
+
* the per-modality split. Absent — never `0` — when unreported. Kept in
|
|
275
|
+
* field parity with `ProviderResponse.usage` so a streaming consumer
|
|
276
|
+
* never loses the split.
|
|
277
|
+
*/
|
|
278
|
+
audio_input_tokens?: number;
|
|
279
|
+
/** Audio tokens counted inside `completion_tokens`, when reported. */
|
|
280
|
+
audio_output_tokens?: number;
|
|
198
281
|
};
|
|
199
282
|
/** Estimated cost in USD for this call, computed the same way as ProviderResponse.cost. */
|
|
200
283
|
cost?: number;
|
|
@@ -1670,6 +1753,14 @@ type ProviderResponse = {
|
|
|
1670
1753
|
cached_tokens?: number;
|
|
1671
1754
|
/** Tokens written to a provider prompt cache during this call, when reported. */
|
|
1672
1755
|
cache_write_tokens?: number;
|
|
1756
|
+
/**
|
|
1757
|
+
* Audio tokens counted inside `prompt_tokens`, when the provider reports the
|
|
1758
|
+
* per-modality split. Absent — never `0` — when the provider reports no
|
|
1759
|
+
* split, so a consumer can tell "no audio" from "not reported".
|
|
1760
|
+
*/
|
|
1761
|
+
audio_input_tokens?: number;
|
|
1762
|
+
/** Audio tokens counted inside `completion_tokens`, when reported. */
|
|
1763
|
+
audio_output_tokens?: number;
|
|
1673
1764
|
};
|
|
1674
1765
|
cost?: number;
|
|
1675
1766
|
/** Provider-specific opaque metadata that needs to round-trip through conversation history. */
|
|
@@ -2398,6 +2489,22 @@ declare class RateLimiter {
|
|
|
2398
2489
|
private clearWaiterTimers;
|
|
2399
2490
|
}
|
|
2400
2491
|
|
|
2492
|
+
/**
|
|
2493
|
+
* Input modalities a profile declares for the OpenAI-compatible wire format.
|
|
2494
|
+
* Declaring a modality is the ONLY way a profile opts in: the engine derives
|
|
2495
|
+
* `inputCapabilities`, `validateInput`, and the rich-part builder from this,
|
|
2496
|
+
* never from the provider's name.
|
|
2497
|
+
*/
|
|
2498
|
+
type ProfileInputModalities = {
|
|
2499
|
+
image?: {
|
|
2500
|
+
sources: readonly InputMediaSource['type'][];
|
|
2501
|
+
};
|
|
2502
|
+
audio?: {
|
|
2503
|
+
sources: readonly RecordedAudioSource['type'][];
|
|
2504
|
+
/** Closed media type → `input_audio.format` table (see `audio-format.ts`). */
|
|
2505
|
+
formats: Readonly<Record<string, string>>;
|
|
2506
|
+
};
|
|
2507
|
+
};
|
|
2401
2508
|
/**
|
|
2402
2509
|
* A profile value that may legitimately differ per model within one provider.
|
|
2403
2510
|
* Mirrors the model-aware shape of OpenAI's `clampReasoningEffort(model, …)`.
|
|
@@ -2505,6 +2612,14 @@ type CapabilityFlags = {
|
|
|
2505
2612
|
* `stream_options.include_usage`. When false, don't request it.
|
|
2506
2613
|
*/
|
|
2507
2614
|
supportsStreamUsage?: boolean;
|
|
2615
|
+
/**
|
|
2616
|
+
* Rich input modalities this provider carries on the Chat Completions wire.
|
|
2617
|
+
* Absent (the default) means text only: the engine rejects every rich part,
|
|
2618
|
+
* declares no capability to the runtime, and passes array content through
|
|
2619
|
+
* untouched — byte-identical to the pre-audio engine. Adding a modality here
|
|
2620
|
+
* is the single opt-in switch; the engine never infers one from the name.
|
|
2621
|
+
*/
|
|
2622
|
+
inputModalities?: ProfileInputModalities;
|
|
2508
2623
|
};
|
|
2509
2624
|
/**
|
|
2510
2625
|
* A provider definition. The engine reads ONLY this — adding a provider is
|
|
@@ -2611,11 +2726,13 @@ type OpenAICompatibleOptions = {
|
|
|
2611
2726
|
declare class OpenAICompatibleProvider implements Provider {
|
|
2612
2727
|
readonly name: string;
|
|
2613
2728
|
readonly reportsRequestLifecycle: true;
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
|
|
2729
|
+
/**
|
|
2730
|
+
* Modalities the effective profile declares for this model. A blank model
|
|
2731
|
+
* declares nothing, so a rich request against one fails validation exactly
|
|
2732
|
+
* as it did before any modality existed.
|
|
2733
|
+
*/
|
|
2734
|
+
protected inputModalities(model: string): ProfileInputModalities;
|
|
2735
|
+
inputCapabilities(model: string): InputModalitySupport;
|
|
2619
2736
|
validateInput(request: ProviderInputValidationRequest): ProviderInputValidationResult;
|
|
2620
2737
|
/** `json_schema` is honored natively when the profile's `supportsJsonSchema`
|
|
2621
2738
|
* capability is true for this model (the default); otherwise the engine
|
|
@@ -2673,10 +2790,12 @@ type OpenAIUsage = {
|
|
|
2673
2790
|
total_tokens: number;
|
|
2674
2791
|
completion_tokens_details?: {
|
|
2675
2792
|
reasoning_tokens?: number;
|
|
2793
|
+
audio_tokens?: unknown;
|
|
2676
2794
|
};
|
|
2677
2795
|
prompt_tokens_details?: {
|
|
2678
2796
|
cached_tokens?: number;
|
|
2679
2797
|
cache_write_tokens?: number;
|
|
2798
|
+
audio_tokens?: unknown;
|
|
2680
2799
|
};
|
|
2681
2800
|
/** OpenRouter / Vercel Gateway: per-call cost in USD. */
|
|
2682
2801
|
cost?: number;
|
|
@@ -3229,58 +3348,6 @@ declare class ProviderRegistry {
|
|
|
3229
3348
|
clearFactories(): void;
|
|
3230
3349
|
}
|
|
3231
3350
|
|
|
3232
|
-
/** Audio supplied to a transcription provider. Network and file-system sources
|
|
3233
|
-
* are deliberately excluded: callers retain control of all I/O. */
|
|
3234
|
-
type RecordedAudioSource = {
|
|
3235
|
-
readonly type: 'bytes';
|
|
3236
|
-
readonly data: Uint8Array;
|
|
3237
|
-
readonly mediaType: string;
|
|
3238
|
-
} | {
|
|
3239
|
-
readonly type: 'base64';
|
|
3240
|
-
readonly data: string;
|
|
3241
|
-
readonly mediaType: string;
|
|
3242
|
-
} | {
|
|
3243
|
-
readonly type: 'provider-file';
|
|
3244
|
-
readonly provider: string;
|
|
3245
|
-
readonly reference: string;
|
|
3246
|
-
readonly mediaType?: string;
|
|
3247
|
-
};
|
|
3248
|
-
type TranscriptionRequest = {
|
|
3249
|
-
readonly model: string;
|
|
3250
|
-
readonly audio: RecordedAudioSource;
|
|
3251
|
-
readonly language?: string;
|
|
3252
|
-
readonly timestamps?: 'segment' | 'word';
|
|
3253
|
-
readonly diarization?: boolean;
|
|
3254
|
-
readonly providerOptions?: Record<string, unknown>;
|
|
3255
|
-
};
|
|
3256
|
-
type Transcript = {
|
|
3257
|
-
readonly text: string;
|
|
3258
|
-
readonly detectedLanguages?: readonly string[];
|
|
3259
|
-
readonly segments?: readonly {
|
|
3260
|
-
readonly text: string;
|
|
3261
|
-
readonly start: number;
|
|
3262
|
-
readonly end: number;
|
|
3263
|
-
readonly speaker?: string;
|
|
3264
|
-
}[];
|
|
3265
|
-
readonly words?: readonly {
|
|
3266
|
-
readonly text: string;
|
|
3267
|
-
readonly start: number;
|
|
3268
|
-
readonly end: number;
|
|
3269
|
-
readonly speaker?: string;
|
|
3270
|
-
}[];
|
|
3271
|
-
readonly usage?: {
|
|
3272
|
-
readonly audioSeconds?: number;
|
|
3273
|
-
readonly inputTokens?: number;
|
|
3274
|
-
readonly outputTokens?: number;
|
|
3275
|
-
readonly totalTokens?: number;
|
|
3276
|
-
readonly cost?: number;
|
|
3277
|
-
};
|
|
3278
|
-
readonly pricingStatus?: 'priced' | 'unpriced' | 'zero';
|
|
3279
|
-
readonly providerMetadata?: Readonly<Record<string, unknown>>;
|
|
3280
|
-
};
|
|
3281
|
-
/** Maximum decoded size of caller-supplied inline audio. */
|
|
3282
|
-
declare const MAX_INLINE_TRANSCRIPTION_BYTES: number;
|
|
3283
|
-
|
|
3284
3351
|
type TranscriptionCapabilities = {
|
|
3285
3352
|
readonly sources: readonly RecordedAudioSource['type'][];
|
|
3286
3353
|
readonly timestamps?: readonly ('segment' | 'word')[];
|
|
@@ -4267,6 +4334,8 @@ type SessionOptions = {
|
|
|
4267
4334
|
/** Model URI to use for summarization (e.g., 'openai:gpt-4o-mini'). Required when summarize is true. */
|
|
4268
4335
|
summaryModel?: string;
|
|
4269
4336
|
};
|
|
4337
|
+
/** Whether an identical current session input is sent to the model once. Default: true. */
|
|
4338
|
+
deduplicateInput?: boolean;
|
|
4270
4339
|
/** Whether to persist session history to the state store. Default: true. */
|
|
4271
4340
|
persist?: boolean;
|
|
4272
4341
|
};
|
|
@@ -5799,11 +5868,7 @@ declare class AnthropicProvider implements Provider {
|
|
|
5799
5868
|
declare class GeminiProvider implements Provider {
|
|
5800
5869
|
readonly name = "google";
|
|
5801
5870
|
readonly reportsRequestLifecycle: true;
|
|
5802
|
-
inputCapabilities(model: string):
|
|
5803
|
-
image?: {
|
|
5804
|
-
sources: readonly InputMediaSource['type'][];
|
|
5805
|
-
};
|
|
5806
|
-
};
|
|
5871
|
+
inputCapabilities(model: string): InputModalitySupport;
|
|
5807
5872
|
validateInput(request: ProviderInputValidationRequest): ProviderInputValidationResult;
|
|
5808
5873
|
/** Gemini accepts a `responseSchema` but `sanitizeSchemaForGemini` strips
|
|
5809
5874
|
* keywords it doesn't support (`$ref`/`$defs`/`additionalProperties`/…), so a
|
|
@@ -5834,10 +5899,43 @@ declare class GeminiProvider implements Provider {
|
|
|
5834
5899
|
private assertSafeInteractionOptions;
|
|
5835
5900
|
private mapInteractionInput;
|
|
5836
5901
|
private parseInteractionResponse;
|
|
5902
|
+
/**
|
|
5903
|
+
* Cost for one Interactions call, or `undefined` when any precondition
|
|
5904
|
+
* fails. Streaming and non-streaming share this one body, so identical usage
|
|
5905
|
+
* always produces an identical number on both paths.
|
|
5906
|
+
*/
|
|
5907
|
+
private interactionCost;
|
|
5908
|
+
/**
|
|
5909
|
+
* Whether every model-produced step is text. A non-text reply part (image,
|
|
5910
|
+
* audio, inline data) is billed on an output track this adapter carries no
|
|
5911
|
+
* rate for, so the call stays unpriced. Echoed `user_input` and
|
|
5912
|
+
* Axl-authored `function_result` steps are not model output and are ignored.
|
|
5913
|
+
*/
|
|
5914
|
+
private isTextOnlyInteractionOutput;
|
|
5837
5915
|
private parseInteractionSSEStream;
|
|
5838
5916
|
private assertInteractionTerminalStatus;
|
|
5839
5917
|
private buildHeaders;
|
|
5840
5918
|
private extractErrorMessage;
|
|
5919
|
+
/**
|
|
5920
|
+
* Pricing context for the stateless Interactions transport.
|
|
5921
|
+
*
|
|
5922
|
+
* The endpoint reports a per-modality input split, so a rich call IS
|
|
5923
|
+
* priceable — but only from the canonical endpoint, on a standard tier, with
|
|
5924
|
+
* a request whose billing is fully represented by the token totals.
|
|
5925
|
+
*/
|
|
5926
|
+
private interactionPricingContext;
|
|
5927
|
+
/**
|
|
5928
|
+
* Whether an Interactions request body's billing is fully represented by the
|
|
5929
|
+
* reported token totals. `providerOptions` merges arbitrary keys into the
|
|
5930
|
+
* body, so anything that can move billing off the local totals — a
|
|
5931
|
+
* server-side cache, a server-executed tool, a residency/region override, a
|
|
5932
|
+
* non-text response modality — makes the call unpriced.
|
|
5933
|
+
*
|
|
5934
|
+
* Input CONTENT is deliberately not inspected: `input_tokens_by_modality` is
|
|
5935
|
+
* the authority on what the input billed as, and it unprices any modality
|
|
5936
|
+
* without a billing category (video, documents, anything new).
|
|
5937
|
+
*/
|
|
5938
|
+
private isModeledInteractionRequest;
|
|
5841
5939
|
private pricingContext;
|
|
5842
5940
|
private requestModel;
|
|
5843
5941
|
private assertSafeGemini3Continuation;
|
|
@@ -6495,4 +6593,4 @@ declare class NoopSpanManager implements SpanManager {
|
|
|
6495
6593
|
*/
|
|
6496
6594
|
declare function createSpanManager(config?: TelemetryConfig): Promise<SpanManager>;
|
|
6497
6595
|
|
|
6498
|
-
export { AXL_EVENT_TYPES, AXL_EVENT_TYPES_V2, AXL_TOOL_LIFECYCLE_TYPES_V2, AZURE_PROFILE, type Agent, type AgentCallEndData, type AgentCallInfo, type AgentCallParams, type AgentCallStartData, type AgentConfig, AnthropicProvider, type AnyWorkflow, type ApiKeySource, type AskOptions, type AskScoped, type AuthHeader, type AwaitHumanData, type AwaitHumanOptions, type AwaitHumanResolvedData, type AxlConfig, AxlError, type AxlEvent, type AxlEventBase, AxlEventBus, type AxlEventOf, type AxlEventType, type AxlEventV2, type AxlEventV2Of, AxlRuntime, AxlStream, BEDROCK_PROFILE, BUILTIN_PROFILES, BudgetExceededError, type BudgetOptions, type BudgetResult, CONFIG_CANDIDATES, COST_BEARING_LEAF_TYPES, type CallTiming, type CapabilityFlags, type ChatMessage, type ChatOptions, type CheckpointEventData, type CoalescedPartialObject, type CreateContextOptions, DEEPSEEK_PROFILE, type DecisionCleanupFailedEvent, type DelegateData, type DelegateOptions, type Effort, type EffortResolution, type EmbedResult, type EmbedUsage, type Embedder, type EvalExecuteWorkflow, type EvalHistoryEntry, type EventStreamOptions, EventStreamOverflowError, type ExecuteOptions, type ExecutionInfo, type ExecutionInfoV1, type ExecutionInfoV2, type ExecutionState, GROQ_PROFILE, GeminiProvider, GeminiTranscriptionProvider, type GuardrailBlockHandler, type GuardrailData, GuardrailError, type GuardrailResult, type GuardrailsConfig, type HandoffDescriptor, type HandoffRecord, type HandoffReturnData, type HandoffStartData, type HistoricalAxlEvent, type HistoricalExecutionInfo, type HumanDecision, InMemoryVectorStore, type InputContentPart, type InputGuardrail, type InputImagePart, type InputMediaSource, type InputModalitySupport, type InputTextPart, InvalidModelInputError, InvalidTranscriptionInputError, LLAMACPP_PROFILE, LMSTUDIO_PROFILE, type LegacyAxlEventV1, type LegacyExecutionInfoV1, MAX_INLINE_MODEL_INPUT_BYTES, MAX_INLINE_TRANSCRIPTION_BYTES, MISTRAL_PROFILE, type MapOptions, MaxTurnsError, McpManager, type McpServer, type McpServerConfig, type McpToolDefinition, type McpToolResult, type MemoryConfig, type MemoryEventData, MemoryManager, MemoryStore, type ModelInput, type ModelInputDescriptor, NoConsensus, NoopSpanManager, OLLAMA_PROFILE, OPENAI_PRICING, OPENAI_PROFILE, OPENROUTER_PROFILE, type ObservationStatus, type OpenAICompatibleOptions, OpenAICompatibleProvider, OpenAIEmbedder, OpenAIProvider, OpenAIResponsesProvider, OpenAITranscriptionProvider, OpenRouterTranscriptionProvider, type OutputGuardrail, type OutputValidator, type PendingDecision, type PerModel, type PricingSource, type PricingTable, type Provider, type ProviderAdapter, type ProviderDiagnosticData, ProviderError, type ProviderInputValidationRequest, type ProviderInputValidationResult, type ProviderProfile, ProviderRegistry, type ProviderResponse, QuorumNotMet, REDACTED, REDACTION_RULES, type RaceOptions, type RateLimitConfig, RateLimiter, type ReasoningCapture, type ReasoningEmit, type ReasoningProfile, type ReasoningRoundTrip, type RecallOptions, type RecallResult, type RecordedAudioSource, RedisStore, type RememberOptions, type RememberResult, type ResolvedThinkingOptions, type Result, type RetryFeedbackHook, type RetryFeedbackInfo, type RetryFeedbackResult, type RetryPolicy, SGLANG_PROFILE, SQLiteStore, type SchemaCheckData, type SchemaDiagnosticData, type SchemaPromptOption, Session, type SessionOptions, type SpanHandle, type SpanManager, type SpawnOptions, SqliteVectorStore, StallTimeoutError, type StateStore, type StreamChunk, type StringDeltaData, type StringStreamEvent, type StringStreamFilter, type TelemetryConfig, ThinkTagScanner, type TimeoutBreakdown, TimeoutError, type Tool, type ToolApprovalData, type ToolArgumentIssue, type ToolCallCancellation, type ToolCallData, type ToolCallEndData, type ToolCallFailure, type ToolCallMessage, type ToolCallOutcome, type ToolCallRejectedData, type ToolCallRejectedEvent, type ToolCallStartData, type ToolCallStartDataV2, type ToolChoice, type ToolConfig, type ToolDeniedData, type ToolEventError, ToolFailure, type ToolFailureConstructor, type ToolFailureOptions, type ToolHooks, type ToolLifecycleEventV2, type ToolModelOutput, ToolModelOutputError, type Transcript, type TranscriptionCapabilities, TranscriptionOperationError, type TranscriptionProvider, TranscriptionProviderRegistry, type TranscriptionProviderRequest, type TranscriptionProviderResult, type TranscriptionRequest, UnsupportedEventSchemaVersionError, UnsupportedModelInputError, UnsupportedTranscriptionInputError, VLLM_PROFILE, type ValidateData, type ValidateResult, ValidationError, type VectorEntry, type VectorResult, type VectorStore, type VerifyData, VerifyError, type VerifyOptions, type VerifyRetry, type VoteOptions, type Workflow, type WorkflowConfig, WorkflowContext, type WorkflowContextInit, type WorkflowEndData, type WorkflowStartData, XAI_PROFILE, agent, createSpanManager, defineConfig, estimateOpenAICost, eventCostContribution, expandGlob, extractJson, extractThinkTags, findConfig, getEventSchemaVersion, getExecutionEventSchemaVersion, hasPositiveBillableWork, hasPositiveTokens, importModule, inputText, isCostBearingLeaf, isRetryableStatus, isRootLevel, isUnpricedLeaf, isUsableCost, needsTsxLoader, normalizeStoredExecution, openaiReasoningEmit, parsePartialJson, pickDefault, pickExport, priceFromTable, reasoningEffortEmit, reasoningObjectEmit, redactEvent, redactHistoricalEvent, registerConditions, resolveApiKey, resolvePerModel, resolveRuntime, resolveThinkingOptions, stringStreamFromEvents, tool, workflow, zodToJsonSchema };
|
|
6596
|
+
export { AXL_EVENT_TYPES, AXL_EVENT_TYPES_V2, AXL_TOOL_LIFECYCLE_TYPES_V2, AZURE_PROFILE, type Agent, type AgentCallEndData, type AgentCallInfo, type AgentCallParams, type AgentCallStartData, type AgentConfig, AnthropicProvider, type AnyWorkflow, type ApiKeySource, type AskOptions, type AskScoped, type AuthHeader, type AwaitHumanData, type AwaitHumanOptions, type AwaitHumanResolvedData, type AxlConfig, AxlError, type AxlEvent, type AxlEventBase, AxlEventBus, type AxlEventOf, type AxlEventType, type AxlEventV2, type AxlEventV2Of, AxlRuntime, AxlStream, BEDROCK_PROFILE, BUILTIN_PROFILES, BudgetExceededError, type BudgetOptions, type BudgetResult, CONFIG_CANDIDATES, COST_BEARING_LEAF_TYPES, type CallTiming, type CapabilityFlags, type ChatMessage, type ChatOptions, type CheckpointEventData, type CoalescedPartialObject, type CreateContextOptions, DEEPSEEK_PROFILE, type DecisionCleanupFailedEvent, type DelegateData, type DelegateOptions, type Effort, type EffortResolution, type EmbedResult, type EmbedUsage, type Embedder, type EvalExecuteWorkflow, type EvalHistoryEntry, type EventStreamOptions, EventStreamOverflowError, type ExecuteOptions, type ExecutionInfo, type ExecutionInfoV1, type ExecutionInfoV2, type ExecutionState, GROQ_PROFILE, GeminiProvider, GeminiTranscriptionProvider, type GuardrailBlockHandler, type GuardrailData, GuardrailError, type GuardrailResult, type GuardrailsConfig, type HandoffDescriptor, type HandoffRecord, type HandoffReturnData, type HandoffStartData, type HistoricalAxlEvent, type HistoricalExecutionInfo, type HumanDecision, InMemoryVectorStore, type InputAudioPart, type InputContentPart, type InputGuardrail, type InputImagePart, type InputMediaSource, type InputModalitySupport, type InputTextPart, InvalidModelInputError, InvalidTranscriptionInputError, LLAMACPP_PROFILE, LMSTUDIO_PROFILE, type LegacyAxlEventV1, type LegacyExecutionInfoV1, MAX_INLINE_MODEL_INPUT_BYTES, MAX_INLINE_TRANSCRIPTION_BYTES, MISTRAL_PROFILE, type MapOptions, MaxTurnsError, McpManager, type McpServer, type McpServerConfig, type McpToolDefinition, type McpToolResult, type MemoryConfig, type MemoryEventData, MemoryManager, MemoryStore, type ModelInput, type ModelInputDescriptor, NoConsensus, NoopSpanManager, OLLAMA_PROFILE, OPENAI_PRICING, OPENAI_PROFILE, OPENROUTER_PROFILE, type ObservationStatus, type OpenAICompatibleOptions, OpenAICompatibleProvider, OpenAIEmbedder, OpenAIProvider, OpenAIResponsesProvider, OpenAITranscriptionProvider, OpenRouterTranscriptionProvider, type OutputGuardrail, type OutputValidator, type PendingDecision, type PerModel, type PricingSource, type PricingTable, type ProfileInputModalities, type Provider, type ProviderAdapter, type ProviderDiagnosticData, ProviderError, type ProviderInputValidationRequest, type ProviderInputValidationResult, type ProviderProfile, ProviderRegistry, type ProviderResponse, QuorumNotMet, REDACTED, REDACTION_RULES, type RaceOptions, type RateLimitConfig, RateLimiter, type ReasoningCapture, type ReasoningEmit, type ReasoningProfile, type ReasoningRoundTrip, type RecallOptions, type RecallResult, type RecordedAudioSource, RedisStore, type RememberOptions, type RememberResult, type ResolvedThinkingOptions, type Result, type RetryFeedbackHook, type RetryFeedbackInfo, type RetryFeedbackResult, type RetryPolicy, SGLANG_PROFILE, SQLiteStore, type SchemaCheckData, type SchemaDiagnosticData, type SchemaPromptOption, Session, type SessionOptions, type SpanHandle, type SpanManager, type SpawnOptions, SqliteVectorStore, StallTimeoutError, type StateStore, type StreamChunk, type StringDeltaData, type StringStreamEvent, type StringStreamFilter, type TelemetryConfig, ThinkTagScanner, type TimeoutBreakdown, TimeoutError, type Tool, type ToolApprovalData, type ToolArgumentIssue, type ToolCallCancellation, type ToolCallData, type ToolCallEndData, type ToolCallFailure, type ToolCallMessage, type ToolCallOutcome, type ToolCallRejectedData, type ToolCallRejectedEvent, type ToolCallStartData, type ToolCallStartDataV2, type ToolChoice, type ToolConfig, type ToolDeniedData, type ToolEventError, ToolFailure, type ToolFailureConstructor, type ToolFailureOptions, type ToolHooks, type ToolLifecycleEventV2, type ToolModelOutput, ToolModelOutputError, type Transcript, type TranscriptionCapabilities, TranscriptionOperationError, type TranscriptionProvider, TranscriptionProviderRegistry, type TranscriptionProviderRequest, type TranscriptionProviderResult, type TranscriptionRequest, UnsupportedEventSchemaVersionError, UnsupportedModelInputError, UnsupportedTranscriptionInputError, VLLM_PROFILE, type ValidateData, type ValidateResult, ValidationError, type VectorEntry, type VectorResult, type VectorStore, type VerifyData, VerifyError, type VerifyOptions, type VerifyRetry, type VoteOptions, type Workflow, type WorkflowConfig, WorkflowContext, type WorkflowContextInit, type WorkflowEndData, type WorkflowStartData, XAI_PROFILE, agent, createSpanManager, defineConfig, estimateOpenAICost, eventCostContribution, expandGlob, extractJson, extractThinkTags, findConfig, getEventSchemaVersion, getExecutionEventSchemaVersion, hasPositiveBillableWork, hasPositiveTokens, importModule, inputText, isCostBearingLeaf, isRetryableStatus, isRootLevel, isUnpricedLeaf, isUsableCost, needsTsxLoader, normalizeStoredExecution, openaiReasoningEmit, parsePartialJson, pickDefault, pickExport, priceFromTable, reasoningEffortEmit, reasoningObjectEmit, redactEvent, redactHistoricalEvent, registerConditions, resolveApiKey, resolvePerModel, resolveRuntime, resolveThinkingOptions, stringStreamFromEvents, summarizeModelInput, tool, workflow, zodToJsonSchema };
|