vern-llm 3.0.0 → 3.1.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/adapters/index.cjs +3 -3
- package/dist/adapters/index.cjs.map +1 -1
- package/dist/adapters/index.d.cts +22 -26
- package/dist/adapters/index.d.cts.map +1 -1
- package/dist/adapters/index.d.mts +22 -26
- package/dist/adapters/index.d.mts.map +1 -1
- package/dist/adapters/index.mjs +3 -3
- package/dist/adapters/index.mjs.map +1 -1
- package/dist/{client-HWxkwVvj.d.cts → client-D4eRQMgc.d.cts} +153 -77
- package/dist/client-D4eRQMgc.d.cts.map +1 -0
- package/dist/{client-HWxkwVvj.d.mts → client-D4eRQMgc.d.mts} +153 -77
- package/dist/client-D4eRQMgc.d.mts.map +1 -0
- package/dist/index.cjs +18 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +14 -22
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +14 -22
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +18 -2
- package/dist/index.mjs.map +1 -1
- package/dist/responseBody.utils-DFXqo6oy.mjs +2 -0
- package/dist/responseBody.utils-DFXqo6oy.mjs.map +1 -0
- package/dist/responseBody.utils-DfrljpVb.cjs +2 -0
- package/dist/responseBody.utils-DfrljpVb.cjs.map +1 -0
- package/package.json +16 -13
- package/dist/client-HWxkwVvj.d.cts.map +0 -1
- package/dist/client-HWxkwVvj.d.mts.map +0 -1
- package/dist/responseBody.utils-B2tQiGUi.mjs +0 -2
- package/dist/responseBody.utils-B2tQiGUi.mjs.map +0 -1
- package/dist/responseBody.utils-CknznUJA.cjs +0 -2
- package/dist/responseBody.utils-CknznUJA.cjs.map +0 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { $ as SchemaLike, $t as
|
|
2
|
-
//#region src/types/cache.d.ts
|
|
1
|
+
import { $ as SchemaLike, $t as WireResponseFormat, A as ConditionalToolCallParams, An as isLLMError, At as CircuitBreakerCallContext, B as ThinkingBlock, Bt as CallResult, C as CachedConditionalToolCallParams, Cn as LLMErrorType, Ct as RateLimiter, D as CallContext, Dn as UnknownToolChoiceIssue, Dt as CircuitBreakerOption, E as CachedToolCallParams, En as ToolIssue, F as JsonModeDisabledCallParams, Ft as CooldownBackoff, G as ToolCall, Gt as MiddlewareStateBag, H as ToolsDisabledCallParams, Ht as MiddlewareContext, I as JsonModeEnabledCallParams, It as ExponentialBackoffOptions, J as ToolDefinition, Jt as PreDispatchContext, K as ToolCallResult, Kt as MiddlewareStateEntry, L as JsonValue, Lt as RollingTripping, M as ConversationTurn, Mt as CircuitBreakerStateChangeHandler, N as DetectSoftFailure, Nt as CircuitState, O as CallParams, On as UnsupportedCapabilityIssue, Ot as CircuitBreaker, P as ImageBlock, Pt as ConsecutiveTripping, Q as JsonSchemaSpec, Qt as WireCallRequestPatch, R as LLMRequestShape, Rt as TrippingPolicy, S as CachedConditionalStringToolCallParams, Sn as LLMErrorSnapshot, St as RateLimitState, T as CachedJsonModeEnabledCallParams, Tn as RetryAttempt, Tt as WireRequest, U as CallWithToolsResult, Ut as MiddlewareContextBase, V as ToolEnabledCallParams, Vt as MiddlewareCapabilities, W as ContentResult, Wt as MiddlewareRef, X as defineTool, Xt as VernLLMMiddleware, Y as ToolResult, Yt as RequiredMiddlewareRef, Z as isToolCallResult, Zt as WireCallRequest, _ as StreamJsonModeEnabledCallParams, _n as DuplicateToolNamesIssue, _t as RetryBudgetSnapshot, a as WireToolChoice, an as createStateKey, at as FallbackOnContext, b as AssistantContent, bn as LLMErrorCode, bt as RateLimitOptions, c as CachedStreamConditionalToolCallParams, cn as OnEvent, ct as TargetCircuitState, d as CachedStreamToolCallParams, dn as OnUsageFailure, dt as isFallbackExhaustedError, en as WireTool, et as CallMeta, f as StreamCallResult, fn as RefundUsage, ft as metaRef, g as StreamJsonModeDisabledCallParams, gn as Logger, gt as RetryBudgetOptions, h as StreamEnabledCallParams, hn as ConsoleLogger, ht as RetryBudgetAdapter, i as WireToolCall, in as createMiddlewareStateBag, it as FallbackOn, j as ContentBlock, jt as CircuitBreakerOptions, k as ConditionalStringToolCallParams, kn as hasIssues, kt as CircuitBreakerAdapter, l as CachedStreamJsonModeDisabledCallParams, ln as VernLLMEvent, lt as TargetInfo, m as StreamConditionalStringToolCallParams, mn as TokenUsage, mt as RetryBudget, n as LLMClient, nn as WrapNextOptions, nt as FallbackAttempt, o as CachedStreamCallParams, on as requireRef, ot as FallbackTarget, p as StreamChunk, pn as ReserveUsage, pt as RetryBudgetOption, q as ToolChoice, qt as MiddlewareStateKey, r as WireMessage, rn as createMiddlewareRef, rt as FallbackExhaustedError, s as CachedStreamConditionalStringToolCallParams, sn as stateEntry, st as FinishReason, t as AdapterInfo, tn as WrapNext, tt as CircuitTarget, u as CachedStreamJsonModeEnabledCallParams, un as OnUsage, ut as defaultFallbackOn, v as WireStreamChunk, vn as HistoryToolResultIssue, vt as RateLimitOption, w as CachedJsonModeDisabledCallParams, wn as LLMRequestSnapshot, wt as RateLimiterAdapter, x as CachedCallParams, xn as LLMErrorIssuesByCode, xt as RateLimitReason, y as isStreamResult, yn as LLMError, yt as RateLimitAcquireResult, z as TextBlock, zt as AttemptContext } from "./client-D4eRQMgc.cjs";
|
|
3
2
|
interface CacheAdapter<T = unknown> {
|
|
4
3
|
get(key: string): Promise<{
|
|
5
4
|
hit: boolean;
|
|
@@ -87,15 +86,11 @@ export declare class TieredCacheAdapter<T = unknown> implements CacheAdapter<T>
|
|
|
87
86
|
/** Drops every tracked record that has expired, visiting only those. */
|
|
88
87
|
private pruneExpired;
|
|
89
88
|
}
|
|
90
|
-
//#endregion
|
|
91
|
-
//#region src/internal/utils/rate-limit/tokenEstimate.utils.d.ts
|
|
92
89
|
/**
|
|
93
90
|
* Default `estimateTokens`: chars/4 over every message's text, plus
|
|
94
91
|
* `IMAGE_TOKEN_ESTIMATE` per image, plus the requested `max_tokens`.
|
|
95
92
|
*/
|
|
96
93
|
export declare function defaultEstimateTokens(request: WireRequest): number;
|
|
97
|
-
//#endregion
|
|
98
|
-
//#region src/internal/utils/cache/cacheAdapter.utils.d.ts
|
|
99
94
|
/**
|
|
100
95
|
* Not exported. Internal shorthand for `VernLLMOptions.cache`, so the
|
|
101
96
|
* union isn't duplicated between that field and `buildCache`'s own
|
|
@@ -106,8 +101,6 @@ type CacheOption = {
|
|
|
106
101
|
maxSize?: number;
|
|
107
102
|
eviction?: EvictionOption;
|
|
108
103
|
} | CacheAdapter;
|
|
109
|
-
//#endregion
|
|
110
|
-
//#region src/types/options.d.ts
|
|
111
104
|
interface VernLLMOptions {
|
|
112
105
|
client: LLMClient;
|
|
113
106
|
model: string;
|
|
@@ -210,9 +203,10 @@ interface VernLLMOptions {
|
|
|
210
203
|
/**
|
|
211
204
|
* Caps the share of this target's recent traffic that may be retries. Once `minCalls` calls land
|
|
212
205
|
* in `windowMs` and the retry ratio reaches `retryRatio`, retries throw `retry_budget_exhausted`,
|
|
213
|
-
* even while the breaker is closed.
|
|
206
|
+
* even while the breaker is closed. Pass a `RetryBudgetAdapter` for cross-process. Not inherited
|
|
207
|
+
* by fallback targets.
|
|
214
208
|
*/
|
|
215
|
-
retryBudget?:
|
|
209
|
+
retryBudget?: RetryBudgetOption;
|
|
216
210
|
/**
|
|
217
211
|
* Targets tried in order after the primary is exhausted. VernLLM never reorders them. Each keeps
|
|
218
212
|
* its own retries, breaker and limiter. A single target equals `[target]`.
|
|
@@ -235,8 +229,6 @@ interface VernLLMOptions {
|
|
|
235
229
|
*/
|
|
236
230
|
middlewareTimeoutMs?: number;
|
|
237
231
|
}
|
|
238
|
-
//#endregion
|
|
239
|
-
//#region src/types/createMiddleware.d.ts
|
|
240
232
|
/**
|
|
241
233
|
* `VernLLMMiddleware` plus `onError`, for middleware that only cares about failures. `wrap` can't
|
|
242
234
|
* be set alongside it, since `onError` builds its own.
|
|
@@ -255,8 +247,6 @@ type CreateMiddlewareOptions = Omit<VernLLMMiddleware, 'wrap'> & {
|
|
|
255
247
|
* rethrows, so the call's outcome never changes.
|
|
256
248
|
*/
|
|
257
249
|
export declare function createMiddleware(options: CreateMiddlewareOptions): VernLLMMiddleware;
|
|
258
|
-
//#endregion
|
|
259
|
-
//#region src/vernLLM.d.ts
|
|
260
250
|
/**
|
|
261
251
|
* The LLM call framework: retries, timeouts, circuit breaking, fallback, rate limiting, caching and
|
|
262
252
|
* middleware around any provider adapter.
|
|
@@ -361,10 +351,7 @@ export declare class VernLLM {
|
|
|
361
351
|
* Budgets are per target, not per model.
|
|
362
352
|
* @throws {RangeError} If `target.index` names no target.
|
|
363
353
|
*/
|
|
364
|
-
getRetryBudgetState(target?: Pick<CircuitTarget, 'index'>):
|
|
365
|
-
attempts: number;
|
|
366
|
-
retryRatio: number;
|
|
367
|
-
} | undefined;
|
|
354
|
+
getRetryBudgetState(target?: Pick<CircuitTarget, 'index'>): RetryBudgetSnapshot | undefined;
|
|
368
355
|
/**
|
|
369
356
|
* @param target.index Which target to read. Defaults to the primary.
|
|
370
357
|
* @returns Current rate limit levels, or `undefined` without a limiter. Limiters are per target,
|
|
@@ -393,6 +380,14 @@ export declare class VernLLM {
|
|
|
393
380
|
* @returns Every target's state, in chain order.
|
|
394
381
|
*/
|
|
395
382
|
readCircuitStates(model?: string): Promise<TargetCircuitState[]>;
|
|
383
|
+
/**
|
|
384
|
+
* The live counterpart of `getRetryBudgetState`, asking the budget for its current window.
|
|
385
|
+
*
|
|
386
|
+
* @param target.index Which target to read. Defaults to the primary.
|
|
387
|
+
* @returns This target's live retry traffic and ratio, or `undefined` without a budget.
|
|
388
|
+
* @throws {RangeError} If `target.index` names no target.
|
|
389
|
+
*/
|
|
390
|
+
readRetryBudgetState(target?: Pick<CircuitTarget, 'index'>): Promise<RetryBudgetSnapshot | undefined>;
|
|
396
391
|
/**
|
|
397
392
|
* Manually opens a target's breaker, e.g. to pull a provider out of
|
|
398
393
|
* rotation ahead of known maintenance instead of waiting for it to fail.
|
|
@@ -412,8 +407,6 @@ export declare class VernLLM {
|
|
|
412
407
|
*/
|
|
413
408
|
closeCircuit(target?: CircuitTarget): void;
|
|
414
409
|
}
|
|
415
|
-
//#endregion
|
|
416
|
-
//#region src/paramsHelpers.d.ts
|
|
417
410
|
/**
|
|
418
411
|
* Keeps `params`' precise type for a reusable variable. A `CallParams<T>` annotation would widen
|
|
419
412
|
* `tools` and lose the conditional tools overload. Pin `T` through `llm.call<T>(params)`.
|
|
@@ -424,6 +417,5 @@ export declare function defineCallParams<P extends CallParams<unknown>>(params:
|
|
|
424
417
|
* type.
|
|
425
418
|
*/
|
|
426
419
|
export declare function defineCachedCallParams<P extends CachedCallParams<unknown>>(params: P): P;
|
|
427
|
-
|
|
428
|
-
export { type AdapterInfo, type AssistantContent, type AttemptContext, type CacheAdapter, type CachedCallParams, type CachedConditionalToolCallParams, type CachedJsonModeDisabledCallParams, type CachedJsonModeEnabledCallParams, type CachedStreamCallParams, type CachedStreamConditionalToolCallParams, type CachedStreamJsonModeDisabledCallParams, type CachedStreamJsonModeEnabledCallParams, type CachedStreamToolCallParams, type CachedToolCallParams, type CallContext, type CallMeta, type CallParams, type CallResult, type CallWithToolsResult, CircuitBreaker, type CircuitBreakerAdapter, type CircuitBreakerCallContext, type CircuitBreakerOptions, type CircuitBreakerStateChangeHandler, type CircuitState, type CircuitTarget, type ConditionalToolCallParams, ConsecutiveTripping, ConsoleLogger, type ContentBlock, type ContentResult, type ConversationTurn, type CooldownBackoff, type CreateMiddlewareOptions, type DuplicateToolNamesIssue, type EvictionOption, type ExponentialBackoffOptions, type FallbackAttempt, FallbackExhaustedError, type FallbackOn, type FallbackOnContext, type FallbackTarget, type HistoryToolResultIssue, type ImageBlock, type JsonModeDisabledCallParams, type JsonModeEnabledCallParams, type JsonSchemaSpec, type JsonValue, type LLMClient, LLMError, type LLMErrorCode, type LLMErrorIssuesByCode, type LLMErrorSnapshot, type LLMErrorType, type LLMRequestShape, type LLMRequestSnapshot, type Logger, type MiddlewareCapabilities, type MiddlewareContext, type MiddlewareContextBase, type MiddlewareRef, type MiddlewareStateBag, type MiddlewareStateEntry, type MiddlewareStateKey, type OnEvent, type OnUsage, type PreDispatchContext, type RateLimitAcquireResult, type RateLimitOptions, type RateLimitReason, type RateLimitState, RateLimiter, type RateLimiterAdapter, type RefundUsage, type RequiredMiddlewareRef, type ReserveUsage, type RetryAttempt, RetryBudget, type RetryBudgetOptions, RollingTripping, type SchemaLike, type StreamCallResult, type StreamChunk, type StreamEnabledCallParams, type StreamJsonModeDisabledCallParams, type StreamJsonModeEnabledCallParams, type TargetCircuitState, type TargetInfo, type TextBlock, type ThinkingBlock, type TokenUsage, type ToolCall, type ToolCallResult, type ToolChoice, type ToolDefinition, type ToolEnabledCallParams, type ToolIssue, type ToolResult, type ToolsDisabledCallParams, type TrippingPolicy, type UnknownToolChoiceIssue, type UnsupportedCapabilityIssue, type VernLLMEvent, type VernLLMMiddleware, type VernLLMOptions, type WireCallRequest, type WireCallRequestPatch, type WireMessage, type WireRequest, type WireResponseFormat, type WireStreamChunk, type WireTool, type WireToolCall, type WireToolChoice, createMiddlewareRef, createMiddlewareStateBag, createStateKey, defaultFallbackOn, defineTool, hasIssues, isFallbackExhaustedError, isLLMError, isStreamResult, isToolCallResult, metaRef, requireRef, stateEntry };
|
|
420
|
+
export { type AdapterInfo, type AssistantContent, type AttemptContext, type CacheAdapter, type CachedCallParams, type CachedConditionalToolCallParams, type CachedJsonModeDisabledCallParams, type CachedJsonModeEnabledCallParams, type CachedStreamCallParams, type CachedStreamConditionalToolCallParams, type CachedStreamJsonModeDisabledCallParams, type CachedStreamJsonModeEnabledCallParams, type CachedStreamToolCallParams, type CachedToolCallParams, type CallContext, type CallMeta, type CallParams, type CallResult, type CallWithToolsResult, CircuitBreaker, type CircuitBreakerAdapter, type CircuitBreakerCallContext, type CircuitBreakerOptions, type CircuitBreakerStateChangeHandler, type CircuitState, type CircuitTarget, type ConditionalToolCallParams, ConsecutiveTripping, ConsoleLogger, type ContentBlock, type ContentResult, type ConversationTurn, type CooldownBackoff, type CreateMiddlewareOptions, type DuplicateToolNamesIssue, type EvictionOption, type ExponentialBackoffOptions, type FallbackAttempt, FallbackExhaustedError, type FallbackOn, type FallbackOnContext, type FallbackTarget, type FinishReason, type HistoryToolResultIssue, type ImageBlock, type JsonModeDisabledCallParams, type JsonModeEnabledCallParams, type JsonSchemaSpec, type JsonValue, type LLMClient, LLMError, type LLMErrorCode, type LLMErrorIssuesByCode, type LLMErrorSnapshot, type LLMErrorType, type LLMRequestShape, type LLMRequestSnapshot, type Logger, type MiddlewareCapabilities, type MiddlewareContext, type MiddlewareContextBase, type MiddlewareRef, type MiddlewareStateBag, type MiddlewareStateEntry, type MiddlewareStateKey, type OnEvent, type OnUsage, type PreDispatchContext, type RateLimitAcquireResult, type RateLimitOptions, type RateLimitReason, type RateLimitState, RateLimiter, type RateLimiterAdapter, type RefundUsage, type RequiredMiddlewareRef, type ReserveUsage, type RetryAttempt, RetryBudget, type RetryBudgetAdapter, type RetryBudgetOptions, type RetryBudgetSnapshot, RollingTripping, type SchemaLike, type StreamCallResult, type StreamChunk, type StreamEnabledCallParams, type StreamJsonModeDisabledCallParams, type StreamJsonModeEnabledCallParams, type TargetCircuitState, type TargetInfo, type TextBlock, type ThinkingBlock, type TokenUsage, type ToolCall, type ToolCallResult, type ToolChoice, type ToolDefinition, type ToolEnabledCallParams, type ToolIssue, type ToolResult, type ToolsDisabledCallParams, type TrippingPolicy, type UnknownToolChoiceIssue, type UnsupportedCapabilityIssue, type VernLLMEvent, type VernLLMMiddleware, type VernLLMOptions, type WireCallRequest, type WireCallRequestPatch, type WireMessage, type WireRequest, type WireResponseFormat, type WireStreamChunk, type WireTool, type WireToolCall, type WireToolChoice, type WrapNext, type WrapNextOptions, createMiddlewareRef, createMiddlewareStateBag, createStateKey, defaultFallbackOn, defineTool, hasIssues, isFallbackExhaustedError, isLLMError, isStreamResult, isToolCallResult, metaRef, requireRef, stateEntry };
|
|
429
421
|
//# sourceMappingURL=index.d.cts.map
|
package/dist/index.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/types/cache.ts","../src/internal/utils/rate-limit/tokenEstimate.utils.ts","../src/internal/utils/cache/cacheAdapter.utils.ts","../src/types/options.ts","../src/types/createMiddleware.ts","../src/vernLLM.ts","../src/paramsHelpers.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/types/cache.ts","../src/internal/utils/rate-limit/tokenEstimate.utils.ts","../src/internal/utils/cache/cacheAdapter.utils.ts","../src/types/options.ts","../src/types/createMiddleware.ts","../src/vernLLM.ts","../src/paramsHelpers.ts"],"mappings":";UAAiB,aAAa;EAC5B,IAAI,cAAc;IAAU;IAAc,OAAO;;EACjD,IAAI,aAAa,OAAO,GAAG,cAAc;EACzC,QAAQ,cAAc;EACtB,YAAY,cAAc;;;;;;;KAQhB;;;;;;;qBA4GC,qBAAqB,wBAAwB,aAAa;mBAKlD;UAJX;mBACS;EAEjB,YACmB,kBACjB,WAAU;EAKN,IAAI,cAAc;IAAU;IAAc,OAAO;;EAejD,IAAI,aAAa,OAAO,GAAG,cAAc;EAkBzC,OAAO,cAAc;UAInB;UAUA;;;;;;;qBAgBG,uBAAuB,wBAAwB,aAAa;mBAC1C;EAA7B,YAA6B,QAAO,aAAa;UAEzC;EAIF,WAAW,cAAc;EAIzB,IAAI,cAAc;IAAU;IAAc,OAAO;;EAIjD,IAAI,aAAa,OAAO,GAAG,cAAc;EAIzC,OAAO,cAAc;;;;;;;qBAahB,mBAAmB,wBAAwB,aAAa;mBAWhD;mBACA;mBACA;;mBAXF;;;;;UAMT;EAER,YACmB,IAAI,aAAa,IACjB,IAAI,aAAa,IACjB;;;;;;EAQb,WAAW,cAAc;EAMzB,IAAI,cAAc;IAAU;IAAc,OAAO;;EAajD,IAAI,aAAa,OAAO,GAAG,cAAc;EASzC,OAAO,cAAc;;UAMnB;UAiBA;;UAk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,mBAAmB,kBAClE,QAAQ,gCAAgC,GAAG,SAC1C,QAAQ,IAAI,oBAAoB,GAAG;EAEhC,WAAW,QAAQ,mCAAmC;EAEtD,WAAW,QAAQ,kCAAkC,QAAQ;EAE7D,WAAW,GAAG,QAAQ,iBAAiB,KAAK,QAAQ;;;;;;;EAuM1D,gBAAgB,SAAS,gBAAgB;;;;;;;;EAczC,oBACE,SAAS,gBACR,QAAQ,OAAO;;;;;;;EAkBlB,oBAAoB,SAAS,KAAK,0BAA0B;;;;;;;EAW5D,kBAAkB,SAAS,KAAK,0BAA0B;;;;;EAS1D,iBAAiB,iBAAiB;;;;;;;;;EAkB5B,mBACJ,SAAS,KAAK,0BACb,QAAQ;;;;;;;EAWL,kBAAkB,iBAAiB,QAAQ;;;;;;;;EAmB3C,qBACJ,SAAS,KAAK,0BACb,QAAQ;;;;;;;;;EAaX,YAAY,SAAS;;;;;;;;;EAkBrB,aAAa,SAAS;;;;;;wBC/tBR,iBAAiB,UAAU,qBAAqB,QAAQ,IAAI;;;;;wBAQ5D,uBAAuB,UAAU,2BAA2B,QAAQ,IAAI"}
|
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { $ as SchemaLike, $t as
|
|
2
|
-
//#region src/types/cache.d.ts
|
|
1
|
+
import { $ as SchemaLike, $t as WireResponseFormat, A as ConditionalToolCallParams, An as isLLMError, At as CircuitBreakerCallContext, B as ThinkingBlock, Bt as CallResult, C as CachedConditionalToolCallParams, Cn as LLMErrorType, Ct as RateLimiter, D as CallContext, Dn as UnknownToolChoiceIssue, Dt as CircuitBreakerOption, E as CachedToolCallParams, En as ToolIssue, F as JsonModeDisabledCallParams, Ft as CooldownBackoff, G as ToolCall, Gt as MiddlewareStateBag, H as ToolsDisabledCallParams, Ht as MiddlewareContext, I as JsonModeEnabledCallParams, It as ExponentialBackoffOptions, J as ToolDefinition, Jt as PreDispatchContext, K as ToolCallResult, Kt as MiddlewareStateEntry, L as JsonValue, Lt as RollingTripping, M as ConversationTurn, Mt as CircuitBreakerStateChangeHandler, N as DetectSoftFailure, Nt as CircuitState, O as CallParams, On as UnsupportedCapabilityIssue, Ot as CircuitBreaker, P as ImageBlock, Pt as ConsecutiveTripping, Q as JsonSchemaSpec, Qt as WireCallRequestPatch, R as LLMRequestShape, Rt as TrippingPolicy, S as CachedConditionalStringToolCallParams, Sn as LLMErrorSnapshot, St as RateLimitState, T as CachedJsonModeEnabledCallParams, Tn as RetryAttempt, Tt as WireRequest, U as CallWithToolsResult, Ut as MiddlewareContextBase, V as ToolEnabledCallParams, Vt as MiddlewareCapabilities, W as ContentResult, Wt as MiddlewareRef, X as defineTool, Xt as VernLLMMiddleware, Y as ToolResult, Yt as RequiredMiddlewareRef, Z as isToolCallResult, Zt as WireCallRequest, _ as StreamJsonModeEnabledCallParams, _n as DuplicateToolNamesIssue, _t as RetryBudgetSnapshot, a as WireToolChoice, an as createStateKey, at as FallbackOnContext, b as AssistantContent, bn as LLMErrorCode, bt as RateLimitOptions, c as CachedStreamConditionalToolCallParams, cn as OnEvent, ct as TargetCircuitState, d as CachedStreamToolCallParams, dn as OnUsageFailure, dt as isFallbackExhaustedError, en as WireTool, et as CallMeta, f as StreamCallResult, fn as RefundUsage, ft as metaRef, g as StreamJsonModeDisabledCallParams, gn as Logger, gt as RetryBudgetOptions, h as StreamEnabledCallParams, hn as ConsoleLogger, ht as RetryBudgetAdapter, i as WireToolCall, in as createMiddlewareStateBag, it as FallbackOn, j as ContentBlock, jt as CircuitBreakerOptions, k as ConditionalStringToolCallParams, kn as hasIssues, kt as CircuitBreakerAdapter, l as CachedStreamJsonModeDisabledCallParams, ln as VernLLMEvent, lt as TargetInfo, m as StreamConditionalStringToolCallParams, mn as TokenUsage, mt as RetryBudget, n as LLMClient, nn as WrapNextOptions, nt as FallbackAttempt, o as CachedStreamCallParams, on as requireRef, ot as FallbackTarget, p as StreamChunk, pn as ReserveUsage, pt as RetryBudgetOption, q as ToolChoice, qt as MiddlewareStateKey, r as WireMessage, rn as createMiddlewareRef, rt as FallbackExhaustedError, s as CachedStreamConditionalStringToolCallParams, sn as stateEntry, st as FinishReason, t as AdapterInfo, tn as WrapNext, tt as CircuitTarget, u as CachedStreamJsonModeEnabledCallParams, un as OnUsage, ut as defaultFallbackOn, v as WireStreamChunk, vn as HistoryToolResultIssue, vt as RateLimitOption, w as CachedJsonModeDisabledCallParams, wn as LLMRequestSnapshot, wt as RateLimiterAdapter, x as CachedCallParams, xn as LLMErrorIssuesByCode, xt as RateLimitReason, y as isStreamResult, yn as LLMError, yt as RateLimitAcquireResult, z as TextBlock, zt as AttemptContext } from "./client-D4eRQMgc.mjs";
|
|
3
2
|
interface CacheAdapter<T = unknown> {
|
|
4
3
|
get(key: string): Promise<{
|
|
5
4
|
hit: boolean;
|
|
@@ -87,15 +86,11 @@ export declare class TieredCacheAdapter<T = unknown> implements CacheAdapter<T>
|
|
|
87
86
|
/** Drops every tracked record that has expired, visiting only those. */
|
|
88
87
|
private pruneExpired;
|
|
89
88
|
}
|
|
90
|
-
//#endregion
|
|
91
|
-
//#region src/internal/utils/rate-limit/tokenEstimate.utils.d.ts
|
|
92
89
|
/**
|
|
93
90
|
* Default `estimateTokens`: chars/4 over every message's text, plus
|
|
94
91
|
* `IMAGE_TOKEN_ESTIMATE` per image, plus the requested `max_tokens`.
|
|
95
92
|
*/
|
|
96
93
|
export declare function defaultEstimateTokens(request: WireRequest): number;
|
|
97
|
-
//#endregion
|
|
98
|
-
//#region src/internal/utils/cache/cacheAdapter.utils.d.ts
|
|
99
94
|
/**
|
|
100
95
|
* Not exported. Internal shorthand for `VernLLMOptions.cache`, so the
|
|
101
96
|
* union isn't duplicated between that field and `buildCache`'s own
|
|
@@ -106,8 +101,6 @@ type CacheOption = {
|
|
|
106
101
|
maxSize?: number;
|
|
107
102
|
eviction?: EvictionOption;
|
|
108
103
|
} | CacheAdapter;
|
|
109
|
-
//#endregion
|
|
110
|
-
//#region src/types/options.d.ts
|
|
111
104
|
interface VernLLMOptions {
|
|
112
105
|
client: LLMClient;
|
|
113
106
|
model: string;
|
|
@@ -210,9 +203,10 @@ interface VernLLMOptions {
|
|
|
210
203
|
/**
|
|
211
204
|
* Caps the share of this target's recent traffic that may be retries. Once `minCalls` calls land
|
|
212
205
|
* in `windowMs` and the retry ratio reaches `retryRatio`, retries throw `retry_budget_exhausted`,
|
|
213
|
-
* even while the breaker is closed.
|
|
206
|
+
* even while the breaker is closed. Pass a `RetryBudgetAdapter` for cross-process. Not inherited
|
|
207
|
+
* by fallback targets.
|
|
214
208
|
*/
|
|
215
|
-
retryBudget?:
|
|
209
|
+
retryBudget?: RetryBudgetOption;
|
|
216
210
|
/**
|
|
217
211
|
* Targets tried in order after the primary is exhausted. VernLLM never reorders them. Each keeps
|
|
218
212
|
* its own retries, breaker and limiter. A single target equals `[target]`.
|
|
@@ -235,8 +229,6 @@ interface VernLLMOptions {
|
|
|
235
229
|
*/
|
|
236
230
|
middlewareTimeoutMs?: number;
|
|
237
231
|
}
|
|
238
|
-
//#endregion
|
|
239
|
-
//#region src/types/createMiddleware.d.ts
|
|
240
232
|
/**
|
|
241
233
|
* `VernLLMMiddleware` plus `onError`, for middleware that only cares about failures. `wrap` can't
|
|
242
234
|
* be set alongside it, since `onError` builds its own.
|
|
@@ -255,8 +247,6 @@ type CreateMiddlewareOptions = Omit<VernLLMMiddleware, 'wrap'> & {
|
|
|
255
247
|
* rethrows, so the call's outcome never changes.
|
|
256
248
|
*/
|
|
257
249
|
export declare function createMiddleware(options: CreateMiddlewareOptions): VernLLMMiddleware;
|
|
258
|
-
//#endregion
|
|
259
|
-
//#region src/vernLLM.d.ts
|
|
260
250
|
/**
|
|
261
251
|
* The LLM call framework: retries, timeouts, circuit breaking, fallback, rate limiting, caching and
|
|
262
252
|
* middleware around any provider adapter.
|
|
@@ -361,10 +351,7 @@ export declare class VernLLM {
|
|
|
361
351
|
* Budgets are per target, not per model.
|
|
362
352
|
* @throws {RangeError} If `target.index` names no target.
|
|
363
353
|
*/
|
|
364
|
-
getRetryBudgetState(target?: Pick<CircuitTarget, 'index'>):
|
|
365
|
-
attempts: number;
|
|
366
|
-
retryRatio: number;
|
|
367
|
-
} | undefined;
|
|
354
|
+
getRetryBudgetState(target?: Pick<CircuitTarget, 'index'>): RetryBudgetSnapshot | undefined;
|
|
368
355
|
/**
|
|
369
356
|
* @param target.index Which target to read. Defaults to the primary.
|
|
370
357
|
* @returns Current rate limit levels, or `undefined` without a limiter. Limiters are per target,
|
|
@@ -393,6 +380,14 @@ export declare class VernLLM {
|
|
|
393
380
|
* @returns Every target's state, in chain order.
|
|
394
381
|
*/
|
|
395
382
|
readCircuitStates(model?: string): Promise<TargetCircuitState[]>;
|
|
383
|
+
/**
|
|
384
|
+
* The live counterpart of `getRetryBudgetState`, asking the budget for its current window.
|
|
385
|
+
*
|
|
386
|
+
* @param target.index Which target to read. Defaults to the primary.
|
|
387
|
+
* @returns This target's live retry traffic and ratio, or `undefined` without a budget.
|
|
388
|
+
* @throws {RangeError} If `target.index` names no target.
|
|
389
|
+
*/
|
|
390
|
+
readRetryBudgetState(target?: Pick<CircuitTarget, 'index'>): Promise<RetryBudgetSnapshot | undefined>;
|
|
396
391
|
/**
|
|
397
392
|
* Manually opens a target's breaker, e.g. to pull a provider out of
|
|
398
393
|
* rotation ahead of known maintenance instead of waiting for it to fail.
|
|
@@ -412,8 +407,6 @@ export declare class VernLLM {
|
|
|
412
407
|
*/
|
|
413
408
|
closeCircuit(target?: CircuitTarget): void;
|
|
414
409
|
}
|
|
415
|
-
//#endregion
|
|
416
|
-
//#region src/paramsHelpers.d.ts
|
|
417
410
|
/**
|
|
418
411
|
* Keeps `params`' precise type for a reusable variable. A `CallParams<T>` annotation would widen
|
|
419
412
|
* `tools` and lose the conditional tools overload. Pin `T` through `llm.call<T>(params)`.
|
|
@@ -424,6 +417,5 @@ export declare function defineCallParams<P extends CallParams<unknown>>(params:
|
|
|
424
417
|
* type.
|
|
425
418
|
*/
|
|
426
419
|
export declare function defineCachedCallParams<P extends CachedCallParams<unknown>>(params: P): P;
|
|
427
|
-
|
|
428
|
-
export { type AdapterInfo, type AssistantContent, type AttemptContext, type CacheAdapter, type CachedCallParams, type CachedConditionalToolCallParams, type CachedJsonModeDisabledCallParams, type CachedJsonModeEnabledCallParams, type CachedStreamCallParams, type CachedStreamConditionalToolCallParams, type CachedStreamJsonModeDisabledCallParams, type CachedStreamJsonModeEnabledCallParams, type CachedStreamToolCallParams, type CachedToolCallParams, type CallContext, type CallMeta, type CallParams, type CallResult, type CallWithToolsResult, CircuitBreaker, type CircuitBreakerAdapter, type CircuitBreakerCallContext, type CircuitBreakerOptions, type CircuitBreakerStateChangeHandler, type CircuitState, type CircuitTarget, type ConditionalToolCallParams, ConsecutiveTripping, ConsoleLogger, type ContentBlock, type ContentResult, type ConversationTurn, type CooldownBackoff, type CreateMiddlewareOptions, type DuplicateToolNamesIssue, type EvictionOption, type ExponentialBackoffOptions, type FallbackAttempt, FallbackExhaustedError, type FallbackOn, type FallbackOnContext, type FallbackTarget, type HistoryToolResultIssue, type ImageBlock, type JsonModeDisabledCallParams, type JsonModeEnabledCallParams, type JsonSchemaSpec, type JsonValue, type LLMClient, LLMError, type LLMErrorCode, type LLMErrorIssuesByCode, type LLMErrorSnapshot, type LLMErrorType, type LLMRequestShape, type LLMRequestSnapshot, type Logger, type MiddlewareCapabilities, type MiddlewareContext, type MiddlewareContextBase, type MiddlewareRef, type MiddlewareStateBag, type MiddlewareStateEntry, type MiddlewareStateKey, type OnEvent, type OnUsage, type PreDispatchContext, type RateLimitAcquireResult, type RateLimitOptions, type RateLimitReason, type RateLimitState, RateLimiter, type RateLimiterAdapter, type RefundUsage, type RequiredMiddlewareRef, type ReserveUsage, type RetryAttempt, RetryBudget, type RetryBudgetOptions, RollingTripping, type SchemaLike, type StreamCallResult, type StreamChunk, type StreamEnabledCallParams, type StreamJsonModeDisabledCallParams, type StreamJsonModeEnabledCallParams, type TargetCircuitState, type TargetInfo, type TextBlock, type ThinkingBlock, type TokenUsage, type ToolCall, type ToolCallResult, type ToolChoice, type ToolDefinition, type ToolEnabledCallParams, type ToolIssue, type ToolResult, type ToolsDisabledCallParams, type TrippingPolicy, type UnknownToolChoiceIssue, type UnsupportedCapabilityIssue, type VernLLMEvent, type VernLLMMiddleware, type VernLLMOptions, type WireCallRequest, type WireCallRequestPatch, type WireMessage, type WireRequest, type WireResponseFormat, type WireStreamChunk, type WireTool, type WireToolCall, type WireToolChoice, createMiddlewareRef, createMiddlewareStateBag, createStateKey, defaultFallbackOn, defineTool, hasIssues, isFallbackExhaustedError, isLLMError, isStreamResult, isToolCallResult, metaRef, requireRef, stateEntry };
|
|
420
|
+
export { type AdapterInfo, type AssistantContent, type AttemptContext, type CacheAdapter, type CachedCallParams, type CachedConditionalToolCallParams, type CachedJsonModeDisabledCallParams, type CachedJsonModeEnabledCallParams, type CachedStreamCallParams, type CachedStreamConditionalToolCallParams, type CachedStreamJsonModeDisabledCallParams, type CachedStreamJsonModeEnabledCallParams, type CachedStreamToolCallParams, type CachedToolCallParams, type CallContext, type CallMeta, type CallParams, type CallResult, type CallWithToolsResult, CircuitBreaker, type CircuitBreakerAdapter, type CircuitBreakerCallContext, type CircuitBreakerOptions, type CircuitBreakerStateChangeHandler, type CircuitState, type CircuitTarget, type ConditionalToolCallParams, ConsecutiveTripping, ConsoleLogger, type ContentBlock, type ContentResult, type ConversationTurn, type CooldownBackoff, type CreateMiddlewareOptions, type DuplicateToolNamesIssue, type EvictionOption, type ExponentialBackoffOptions, type FallbackAttempt, FallbackExhaustedError, type FallbackOn, type FallbackOnContext, type FallbackTarget, type FinishReason, type HistoryToolResultIssue, type ImageBlock, type JsonModeDisabledCallParams, type JsonModeEnabledCallParams, type JsonSchemaSpec, type JsonValue, type LLMClient, LLMError, type LLMErrorCode, type LLMErrorIssuesByCode, type LLMErrorSnapshot, type LLMErrorType, type LLMRequestShape, type LLMRequestSnapshot, type Logger, type MiddlewareCapabilities, type MiddlewareContext, type MiddlewareContextBase, type MiddlewareRef, type MiddlewareStateBag, type MiddlewareStateEntry, type MiddlewareStateKey, type OnEvent, type OnUsage, type PreDispatchContext, type RateLimitAcquireResult, type RateLimitOptions, type RateLimitReason, type RateLimitState, RateLimiter, type RateLimiterAdapter, type RefundUsage, type RequiredMiddlewareRef, type ReserveUsage, type RetryAttempt, RetryBudget, type RetryBudgetAdapter, type RetryBudgetOptions, type RetryBudgetSnapshot, RollingTripping, type SchemaLike, type StreamCallResult, type StreamChunk, type StreamEnabledCallParams, type StreamJsonModeDisabledCallParams, type StreamJsonModeEnabledCallParams, type TargetCircuitState, type TargetInfo, type TextBlock, type ThinkingBlock, type TokenUsage, type ToolCall, type ToolCallResult, type ToolChoice, type ToolDefinition, type ToolEnabledCallParams, type ToolIssue, type ToolResult, type ToolsDisabledCallParams, type TrippingPolicy, type UnknownToolChoiceIssue, type UnsupportedCapabilityIssue, type VernLLMEvent, type VernLLMMiddleware, type VernLLMOptions, type WireCallRequest, type WireCallRequestPatch, type WireMessage, type WireRequest, type WireResponseFormat, type WireStreamChunk, type WireTool, type WireToolCall, type WireToolChoice, type WrapNext, type WrapNextOptions, createMiddlewareRef, createMiddlewareStateBag, createStateKey, defaultFallbackOn, defineTool, hasIssues, isFallbackExhaustedError, isLLMError, isStreamResult, isToolCallResult, metaRef, requireRef, stateEntry };
|
|
429
421
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/types/cache.ts","../src/internal/utils/rate-limit/tokenEstimate.utils.ts","../src/internal/utils/cache/cacheAdapter.utils.ts","../src/types/options.ts","../src/types/createMiddleware.ts","../src/vernLLM.ts","../src/paramsHelpers.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.mts","names":[],"sources":["../src/types/cache.ts","../src/internal/utils/rate-limit/tokenEstimate.utils.ts","../src/internal/utils/cache/cacheAdapter.utils.ts","../src/types/options.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