@xenosystem/agent-sdk 0.9.25 → 0.9.26
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/artifacts/index.cjs +1 -1
- package/dist/artifacts/index.js +1 -1
- package/dist/automation/index.cjs +9 -9
- package/dist/automation/index.d.cts +66 -3
- package/dist/automation/index.d.ts +66 -3
- package/dist/automation/index.js +9 -9
- package/dist/automation/metafile-cjs.json +1 -1
- package/dist/automation/metafile-esm.json +1 -1
- package/dist/control-plane/index.cjs +1 -1
- package/dist/control-plane/index.js +1 -1
- package/dist/coordination/index.cjs +2 -2
- package/dist/coordination/index.d.cts +15 -3
- package/dist/coordination/index.d.ts +15 -3
- package/dist/coordination/index.js +2 -2
- package/dist/coordination/metafile-cjs.json +1 -1
- package/dist/coordination/metafile-esm.json +1 -1
- package/dist/electron/index.cjs +156 -152
- package/dist/electron/index.d.cts +19 -3
- package/dist/electron/index.d.ts +19 -3
- package/dist/electron/index.js +156 -152
- package/dist/electron/metafile-cjs.json +1 -1
- package/dist/electron/metafile-esm.json +1 -1
- package/dist/index.cjs +472 -342
- package/dist/index.d.cts +300 -26
- package/dist/index.d.ts +300 -26
- package/dist/index.js +472 -342
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/providers/index.cjs +10 -10
- package/dist/providers/index.d.cts +92 -17
- package/dist/providers/index.d.ts +92 -17
- package/dist/providers/index.js +10 -10
- package/dist/providers/metafile-cjs.json +1 -1
- package/dist/providers/metafile-esm.json +1 -1
- package/dist/session/index.cjs +1 -1
- package/dist/session/index.js +1 -1
- package/package.json +1 -1
|
@@ -37,6 +37,22 @@ interface ToolUseBlock {
|
|
|
37
37
|
provider_metadata?: Record<string, unknown>;
|
|
38
38
|
}
|
|
39
39
|
type ContentBlock = TextBlock | ToolUseBlock;
|
|
40
|
+
type DirectEndpointProfile = "public-https" | "local-network";
|
|
41
|
+
interface DirectEndpointPolicy {
|
|
42
|
+
profile?: DirectEndpointProfile;
|
|
43
|
+
allowedHosts?: string[];
|
|
44
|
+
resolveHostname?: (hostname: string) => Promise<string[]>;
|
|
45
|
+
}
|
|
46
|
+
declare function validateDirectEndpoint(raw: string, policy?: DirectEndpointPolicy): URL;
|
|
47
|
+
declare function assertDirectEndpointResolution(url: URL, policy?: DirectEndpointPolicy): Promise<void>;
|
|
48
|
+
interface ProviderTransportLimits {
|
|
49
|
+
connectTimeoutMs?: number;
|
|
50
|
+
totalTimeoutMs?: number;
|
|
51
|
+
idleTimeoutMs?: number;
|
|
52
|
+
maxResponseBytes?: number;
|
|
53
|
+
maxHeaderBytes?: number;
|
|
54
|
+
maxEventBytes?: number;
|
|
55
|
+
}
|
|
40
56
|
interface ApiTextContentBlock {
|
|
41
57
|
type: "text";
|
|
42
58
|
text: string;
|
|
@@ -138,6 +154,12 @@ interface LLMProviderCapabilities {
|
|
|
138
154
|
readonly [capability: string]: boolean | undefined;
|
|
139
155
|
}
|
|
140
156
|
interface LLMProvider {
|
|
157
|
+
prepareQuotaRequest?(model: string, messages: LLMProviderMessage[], tools: ToolDefinition[], context?: LLMProviderRequestContext, signal?: AbortSignal): Promise<{
|
|
158
|
+
basis: "provider-enforced";
|
|
159
|
+
inputTokensUpperBound: number;
|
|
160
|
+
outputTokensUpperBound: number;
|
|
161
|
+
execute(onText?: (text: string) => void, signal?: AbortSignal): Promise<LLMCompletionResult>;
|
|
162
|
+
}>;
|
|
141
163
|
readonly id: string;
|
|
142
164
|
readonly model?: string;
|
|
143
165
|
readonly capabilities?: LLMProviderCapabilities;
|
|
@@ -212,22 +234,6 @@ declare class DualLLMProvider {
|
|
|
212
234
|
private chatLocal;
|
|
213
235
|
private chatCloud;
|
|
214
236
|
}
|
|
215
|
-
type DirectEndpointProfile = "public-https" | "local-network";
|
|
216
|
-
interface DirectEndpointPolicy {
|
|
217
|
-
profile?: DirectEndpointProfile;
|
|
218
|
-
allowedHosts?: string[];
|
|
219
|
-
resolveHostname?: (hostname: string) => Promise<string[]>;
|
|
220
|
-
}
|
|
221
|
-
declare function validateDirectEndpoint(raw: string, policy?: DirectEndpointPolicy): URL;
|
|
222
|
-
declare function assertDirectEndpointResolution(url: URL, policy?: DirectEndpointPolicy): Promise<void>;
|
|
223
|
-
interface ProviderTransportLimits {
|
|
224
|
-
connectTimeoutMs?: number;
|
|
225
|
-
totalTimeoutMs?: number;
|
|
226
|
-
idleTimeoutMs?: number;
|
|
227
|
-
maxResponseBytes?: number;
|
|
228
|
-
maxHeaderBytes?: number;
|
|
229
|
-
maxEventBytes?: number;
|
|
230
|
-
}
|
|
231
237
|
type DirectProviderKind = "anthropic" | "openai-responses" | "google" | "openai-compatible";
|
|
232
238
|
type DirectProviderCapabilityProfile = Pick<LLMProviderCapabilities, "streaming" | "textInput" | "imageInput" | "tools" | "parallelToolCalls" | "structuredOutput" | "reasoningMetadata" | "usageAccounting" | "cancellation" | "retryAfter" | "promptCaching">;
|
|
233
239
|
interface DirectProviderConfig {
|
|
@@ -254,6 +260,8 @@ interface DirectProviderConfig {
|
|
|
254
260
|
};
|
|
255
261
|
}
|
|
256
262
|
declare function createDirectProvider(config: DirectProviderConfig): LLMProvider;
|
|
263
|
+
type OllamaNativeProviderConfig = Omit<DirectProviderConfig, "kind" | "streaming" | "capabilityProfile" | "chatCompletionsPath">;
|
|
264
|
+
declare function createOllamaNativeProvider(config: OllamaNativeProviderConfig): LLMProvider;
|
|
257
265
|
type ProviderErrorCategory = "authentication" | "authorization" | "unsupported_model" | "unsupported_capability" | "rate_limit" | "context_overflow" | "safety_refusal" | "timeout" | "disconnect" | "malformed_response" | "server" | "transport" | "endpoint_policy" | "cancelled";
|
|
258
266
|
type ProviderErrorCode = "PROVIDER_AUTHENTICATION_FAILED" | "PROVIDER_AUTHORIZATION_FAILED" | "PROVIDER_MODEL_UNSUPPORTED" | "PROVIDER_CAPABILITY_UNSUPPORTED" | "PROVIDER_RATE_LIMITED" | "PROVIDER_CONTEXT_OVERFLOW" | "PROVIDER_SAFETY_REFUSAL" | "PROVIDER_TIMEOUT" | "PROVIDER_DISCONNECTED" | "PROVIDER_MALFORMED_RESPONSE" | "PROVIDER_SERVER_ERROR" | "PROVIDER_TRANSPORT_ERROR" | "PROVIDER_ENDPOINT_REJECTED" | "PROVIDER_CANCELLED";
|
|
259
267
|
interface ProviderErrorOptions {
|
|
@@ -460,4 +468,71 @@ declare class FileXenoProviderConnectionStore {
|
|
|
460
468
|
load(): Promise<XenoProviderConnectionSnapshot>;
|
|
461
469
|
private mutate;
|
|
462
470
|
}
|
|
463
|
-
|
|
471
|
+
interface QuotaEntity {
|
|
472
|
+
id: string;
|
|
473
|
+
generation: string;
|
|
474
|
+
}
|
|
475
|
+
interface QuotaScope {
|
|
476
|
+
workspace: QuotaEntity;
|
|
477
|
+
team?: QuotaEntity;
|
|
478
|
+
agent?: QuotaEntity;
|
|
479
|
+
}
|
|
480
|
+
interface QuotaLimits {
|
|
481
|
+
requestsPerMinute: number | null;
|
|
482
|
+
tokensPerDay: number | null;
|
|
483
|
+
}
|
|
484
|
+
interface QuotaReservation {
|
|
485
|
+
id: string;
|
|
486
|
+
scope: QuotaScope;
|
|
487
|
+
requestHash: string;
|
|
488
|
+
reservedTokens: number;
|
|
489
|
+
admittedAt: number;
|
|
490
|
+
state: "reserved" | "dispatched" | "settled" | "void";
|
|
491
|
+
actualTokens?: number;
|
|
492
|
+
}
|
|
493
|
+
interface QuotaAuthority {
|
|
494
|
+
reserve(input: Omit<QuotaReservation, "admittedAt" | "state" | "actualTokens">): Promise<QuotaReservation>;
|
|
495
|
+
dispatch(id: string): Promise<void>;
|
|
496
|
+
settle(id: string, actualTokens: number): Promise<void>;
|
|
497
|
+
void(id: string): Promise<void>;
|
|
498
|
+
}
|
|
499
|
+
declare class QuotaError extends Error {
|
|
500
|
+
readonly code: "INVALID" | "CONFLICT" | "EXCEEDED" | "UNSUPPORTED" | "CORRUPT" | "CAPACITY" | "CLOCK_ROLLBACK";
|
|
501
|
+
constructor(code: "INVALID" | "CONFLICT" | "EXCEEDED" | "UNSUPPORTED" | "CORRUPT" | "CAPACITY" | "CLOCK_ROLLBACK", message: string);
|
|
502
|
+
}
|
|
503
|
+
declare function quotaInteger(value: unknown): number;
|
|
504
|
+
declare function quotaText(value: unknown): string;
|
|
505
|
+
declare function normalizeQuotaScope(scope: QuotaScope): QuotaScope;
|
|
506
|
+
declare function quotaScopeKey(scope: QuotaScope): string;
|
|
507
|
+
declare function quotaAncestors(scope: QuotaScope): QuotaScope[];
|
|
508
|
+
declare function createQuotaGovernedProvider(provider: LLMProvider, authority: QuotaAuthority, scope: QuotaScope): LLMProvider;
|
|
509
|
+
interface Policy {
|
|
510
|
+
scope: QuotaScope;
|
|
511
|
+
revision: number;
|
|
512
|
+
limits: QuotaLimits;
|
|
513
|
+
}
|
|
514
|
+
declare class FileQuotaAuthority implements QuotaAuthority {
|
|
515
|
+
private readonly now;
|
|
516
|
+
private readonly maximumEntries;
|
|
517
|
+
readonly directory: string;
|
|
518
|
+
constructor(directory: string, now?: () => number, maximumEntries?: number);
|
|
519
|
+
policy(scope: QuotaScope): Promise<Policy | null>;
|
|
520
|
+
setPolicy(scope: QuotaScope, value: QuotaLimits, expectedRevision: number): Promise<Policy>;
|
|
521
|
+
reservation(id: string): Promise<QuotaReservation | null>;
|
|
522
|
+
reserve(input: Omit<QuotaReservation, "admittedAt" | "state" | "actualTokens">): Promise<QuotaReservation>;
|
|
523
|
+
dispatch(id: string): Promise<void>;
|
|
524
|
+
void(id: string): Promise<void>;
|
|
525
|
+
settle(id: string, actualTokens: number): Promise<void>;
|
|
526
|
+
snapshot(scope: QuotaScope): Promise<{
|
|
527
|
+
authority: "local-file";
|
|
528
|
+
policies: Policy[];
|
|
529
|
+
heldTokens: number;
|
|
530
|
+
usedTokens: number;
|
|
531
|
+
requestsInLastMinute: number;
|
|
532
|
+
unresolved: number;
|
|
533
|
+
}>;
|
|
534
|
+
private apply;
|
|
535
|
+
private load;
|
|
536
|
+
private append;
|
|
537
|
+
}
|
|
538
|
+
export { BUILT_IN_XENO_PROVIDER_PRESETS, type ChatParams, type ChatResponse, type DirectEndpointPolicy, type DirectEndpointProfile, type DirectProviderCapabilityProfile, type DirectProviderConfig, type DirectProviderKind, type DualLLMMode, DualLLMProvider, type DualLLMProviderConfig, type DualLLMStatus, FileQuotaAuthority, FileXenoProviderConnectionStore, type FileXenoProviderConnectionStoreOptions, type OllamaNativeProviderConfig, type ProbeXenoProviderOptions, ProviderError, type ProviderErrorCategory, type ProviderErrorCode, type ProviderErrorOptions, type ProviderTransportLimits, type QuotaAuthority, type QuotaEntity, QuotaError, type QuotaLimits, type QuotaReservation, type QuotaScope, type ToolSchemaProjectionChange, ToolSchemaProjectionError, type ToolSchemaProjectionResult, type ToolSchemaProviderDialect, XENO_PROVIDER_CATALOG_SCHEMA_VERSION, XENO_PROVIDER_CONNECTION_STORE_SCHEMA_VERSION, type XenoProviderAdapterKind, type XenoProviderAuthPreset, type XenoProviderCapabilities, XenoProviderCatalog, type XenoProviderConnection, type XenoProviderConnectionSnapshot, type XenoProviderConnectionView, type XenoProviderCredentialMode, type XenoProviderModelDescriptor, type XenoProviderPreset, type XenoProviderProbeResult, type XenoProviderReadiness, type XenoProviderRouteCandidate, type XenoProviderRoutingPolicy, assertDirectEndpointResolution, classifyProviderHttpError, createDirectProvider, createOllamaNativeProvider, createQuotaGovernedProvider, directProviderConfigFromConnection, normalizeQuotaScope, parseRetryAfter, probeXenoProvider, projectToolDefinitionsForProvider, projectToolSchemaForProvider, providerCapabilityError, providerProtocolError, quotaAncestors, quotaInteger, quotaScopeKey, quotaText, selectXenoProviderRoute, validateDirectEndpoint };
|
|
@@ -37,6 +37,22 @@ interface ToolUseBlock {
|
|
|
37
37
|
provider_metadata?: Record<string, unknown>;
|
|
38
38
|
}
|
|
39
39
|
type ContentBlock = TextBlock | ToolUseBlock;
|
|
40
|
+
type DirectEndpointProfile = "public-https" | "local-network";
|
|
41
|
+
interface DirectEndpointPolicy {
|
|
42
|
+
profile?: DirectEndpointProfile;
|
|
43
|
+
allowedHosts?: string[];
|
|
44
|
+
resolveHostname?: (hostname: string) => Promise<string[]>;
|
|
45
|
+
}
|
|
46
|
+
declare function validateDirectEndpoint(raw: string, policy?: DirectEndpointPolicy): URL;
|
|
47
|
+
declare function assertDirectEndpointResolution(url: URL, policy?: DirectEndpointPolicy): Promise<void>;
|
|
48
|
+
interface ProviderTransportLimits {
|
|
49
|
+
connectTimeoutMs?: number;
|
|
50
|
+
totalTimeoutMs?: number;
|
|
51
|
+
idleTimeoutMs?: number;
|
|
52
|
+
maxResponseBytes?: number;
|
|
53
|
+
maxHeaderBytes?: number;
|
|
54
|
+
maxEventBytes?: number;
|
|
55
|
+
}
|
|
40
56
|
interface ApiTextContentBlock {
|
|
41
57
|
type: "text";
|
|
42
58
|
text: string;
|
|
@@ -138,6 +154,12 @@ interface LLMProviderCapabilities {
|
|
|
138
154
|
readonly [capability: string]: boolean | undefined;
|
|
139
155
|
}
|
|
140
156
|
interface LLMProvider {
|
|
157
|
+
prepareQuotaRequest?(model: string, messages: LLMProviderMessage[], tools: ToolDefinition[], context?: LLMProviderRequestContext, signal?: AbortSignal): Promise<{
|
|
158
|
+
basis: "provider-enforced";
|
|
159
|
+
inputTokensUpperBound: number;
|
|
160
|
+
outputTokensUpperBound: number;
|
|
161
|
+
execute(onText?: (text: string) => void, signal?: AbortSignal): Promise<LLMCompletionResult>;
|
|
162
|
+
}>;
|
|
141
163
|
readonly id: string;
|
|
142
164
|
readonly model?: string;
|
|
143
165
|
readonly capabilities?: LLMProviderCapabilities;
|
|
@@ -212,22 +234,6 @@ declare class DualLLMProvider {
|
|
|
212
234
|
private chatLocal;
|
|
213
235
|
private chatCloud;
|
|
214
236
|
}
|
|
215
|
-
type DirectEndpointProfile = "public-https" | "local-network";
|
|
216
|
-
interface DirectEndpointPolicy {
|
|
217
|
-
profile?: DirectEndpointProfile;
|
|
218
|
-
allowedHosts?: string[];
|
|
219
|
-
resolveHostname?: (hostname: string) => Promise<string[]>;
|
|
220
|
-
}
|
|
221
|
-
declare function validateDirectEndpoint(raw: string, policy?: DirectEndpointPolicy): URL;
|
|
222
|
-
declare function assertDirectEndpointResolution(url: URL, policy?: DirectEndpointPolicy): Promise<void>;
|
|
223
|
-
interface ProviderTransportLimits {
|
|
224
|
-
connectTimeoutMs?: number;
|
|
225
|
-
totalTimeoutMs?: number;
|
|
226
|
-
idleTimeoutMs?: number;
|
|
227
|
-
maxResponseBytes?: number;
|
|
228
|
-
maxHeaderBytes?: number;
|
|
229
|
-
maxEventBytes?: number;
|
|
230
|
-
}
|
|
231
237
|
type DirectProviderKind = "anthropic" | "openai-responses" | "google" | "openai-compatible";
|
|
232
238
|
type DirectProviderCapabilityProfile = Pick<LLMProviderCapabilities, "streaming" | "textInput" | "imageInput" | "tools" | "parallelToolCalls" | "structuredOutput" | "reasoningMetadata" | "usageAccounting" | "cancellation" | "retryAfter" | "promptCaching">;
|
|
233
239
|
interface DirectProviderConfig {
|
|
@@ -254,6 +260,8 @@ interface DirectProviderConfig {
|
|
|
254
260
|
};
|
|
255
261
|
}
|
|
256
262
|
declare function createDirectProvider(config: DirectProviderConfig): LLMProvider;
|
|
263
|
+
type OllamaNativeProviderConfig = Omit<DirectProviderConfig, "kind" | "streaming" | "capabilityProfile" | "chatCompletionsPath">;
|
|
264
|
+
declare function createOllamaNativeProvider(config: OllamaNativeProviderConfig): LLMProvider;
|
|
257
265
|
type ProviderErrorCategory = "authentication" | "authorization" | "unsupported_model" | "unsupported_capability" | "rate_limit" | "context_overflow" | "safety_refusal" | "timeout" | "disconnect" | "malformed_response" | "server" | "transport" | "endpoint_policy" | "cancelled";
|
|
258
266
|
type ProviderErrorCode = "PROVIDER_AUTHENTICATION_FAILED" | "PROVIDER_AUTHORIZATION_FAILED" | "PROVIDER_MODEL_UNSUPPORTED" | "PROVIDER_CAPABILITY_UNSUPPORTED" | "PROVIDER_RATE_LIMITED" | "PROVIDER_CONTEXT_OVERFLOW" | "PROVIDER_SAFETY_REFUSAL" | "PROVIDER_TIMEOUT" | "PROVIDER_DISCONNECTED" | "PROVIDER_MALFORMED_RESPONSE" | "PROVIDER_SERVER_ERROR" | "PROVIDER_TRANSPORT_ERROR" | "PROVIDER_ENDPOINT_REJECTED" | "PROVIDER_CANCELLED";
|
|
259
267
|
interface ProviderErrorOptions {
|
|
@@ -460,4 +468,71 @@ declare class FileXenoProviderConnectionStore {
|
|
|
460
468
|
load(): Promise<XenoProviderConnectionSnapshot>;
|
|
461
469
|
private mutate;
|
|
462
470
|
}
|
|
463
|
-
|
|
471
|
+
interface QuotaEntity {
|
|
472
|
+
id: string;
|
|
473
|
+
generation: string;
|
|
474
|
+
}
|
|
475
|
+
interface QuotaScope {
|
|
476
|
+
workspace: QuotaEntity;
|
|
477
|
+
team?: QuotaEntity;
|
|
478
|
+
agent?: QuotaEntity;
|
|
479
|
+
}
|
|
480
|
+
interface QuotaLimits {
|
|
481
|
+
requestsPerMinute: number | null;
|
|
482
|
+
tokensPerDay: number | null;
|
|
483
|
+
}
|
|
484
|
+
interface QuotaReservation {
|
|
485
|
+
id: string;
|
|
486
|
+
scope: QuotaScope;
|
|
487
|
+
requestHash: string;
|
|
488
|
+
reservedTokens: number;
|
|
489
|
+
admittedAt: number;
|
|
490
|
+
state: "reserved" | "dispatched" | "settled" | "void";
|
|
491
|
+
actualTokens?: number;
|
|
492
|
+
}
|
|
493
|
+
interface QuotaAuthority {
|
|
494
|
+
reserve(input: Omit<QuotaReservation, "admittedAt" | "state" | "actualTokens">): Promise<QuotaReservation>;
|
|
495
|
+
dispatch(id: string): Promise<void>;
|
|
496
|
+
settle(id: string, actualTokens: number): Promise<void>;
|
|
497
|
+
void(id: string): Promise<void>;
|
|
498
|
+
}
|
|
499
|
+
declare class QuotaError extends Error {
|
|
500
|
+
readonly code: "INVALID" | "CONFLICT" | "EXCEEDED" | "UNSUPPORTED" | "CORRUPT" | "CAPACITY" | "CLOCK_ROLLBACK";
|
|
501
|
+
constructor(code: "INVALID" | "CONFLICT" | "EXCEEDED" | "UNSUPPORTED" | "CORRUPT" | "CAPACITY" | "CLOCK_ROLLBACK", message: string);
|
|
502
|
+
}
|
|
503
|
+
declare function quotaInteger(value: unknown): number;
|
|
504
|
+
declare function quotaText(value: unknown): string;
|
|
505
|
+
declare function normalizeQuotaScope(scope: QuotaScope): QuotaScope;
|
|
506
|
+
declare function quotaScopeKey(scope: QuotaScope): string;
|
|
507
|
+
declare function quotaAncestors(scope: QuotaScope): QuotaScope[];
|
|
508
|
+
declare function createQuotaGovernedProvider(provider: LLMProvider, authority: QuotaAuthority, scope: QuotaScope): LLMProvider;
|
|
509
|
+
interface Policy {
|
|
510
|
+
scope: QuotaScope;
|
|
511
|
+
revision: number;
|
|
512
|
+
limits: QuotaLimits;
|
|
513
|
+
}
|
|
514
|
+
declare class FileQuotaAuthority implements QuotaAuthority {
|
|
515
|
+
private readonly now;
|
|
516
|
+
private readonly maximumEntries;
|
|
517
|
+
readonly directory: string;
|
|
518
|
+
constructor(directory: string, now?: () => number, maximumEntries?: number);
|
|
519
|
+
policy(scope: QuotaScope): Promise<Policy | null>;
|
|
520
|
+
setPolicy(scope: QuotaScope, value: QuotaLimits, expectedRevision: number): Promise<Policy>;
|
|
521
|
+
reservation(id: string): Promise<QuotaReservation | null>;
|
|
522
|
+
reserve(input: Omit<QuotaReservation, "admittedAt" | "state" | "actualTokens">): Promise<QuotaReservation>;
|
|
523
|
+
dispatch(id: string): Promise<void>;
|
|
524
|
+
void(id: string): Promise<void>;
|
|
525
|
+
settle(id: string, actualTokens: number): Promise<void>;
|
|
526
|
+
snapshot(scope: QuotaScope): Promise<{
|
|
527
|
+
authority: "local-file";
|
|
528
|
+
policies: Policy[];
|
|
529
|
+
heldTokens: number;
|
|
530
|
+
usedTokens: number;
|
|
531
|
+
requestsInLastMinute: number;
|
|
532
|
+
unresolved: number;
|
|
533
|
+
}>;
|
|
534
|
+
private apply;
|
|
535
|
+
private load;
|
|
536
|
+
private append;
|
|
537
|
+
}
|
|
538
|
+
export { BUILT_IN_XENO_PROVIDER_PRESETS, type ChatParams, type ChatResponse, type DirectEndpointPolicy, type DirectEndpointProfile, type DirectProviderCapabilityProfile, type DirectProviderConfig, type DirectProviderKind, type DualLLMMode, DualLLMProvider, type DualLLMProviderConfig, type DualLLMStatus, FileQuotaAuthority, FileXenoProviderConnectionStore, type FileXenoProviderConnectionStoreOptions, type OllamaNativeProviderConfig, type ProbeXenoProviderOptions, ProviderError, type ProviderErrorCategory, type ProviderErrorCode, type ProviderErrorOptions, type ProviderTransportLimits, type QuotaAuthority, type QuotaEntity, QuotaError, type QuotaLimits, type QuotaReservation, type QuotaScope, type ToolSchemaProjectionChange, ToolSchemaProjectionError, type ToolSchemaProjectionResult, type ToolSchemaProviderDialect, XENO_PROVIDER_CATALOG_SCHEMA_VERSION, XENO_PROVIDER_CONNECTION_STORE_SCHEMA_VERSION, type XenoProviderAdapterKind, type XenoProviderAuthPreset, type XenoProviderCapabilities, XenoProviderCatalog, type XenoProviderConnection, type XenoProviderConnectionSnapshot, type XenoProviderConnectionView, type XenoProviderCredentialMode, type XenoProviderModelDescriptor, type XenoProviderPreset, type XenoProviderProbeResult, type XenoProviderReadiness, type XenoProviderRouteCandidate, type XenoProviderRoutingPolicy, assertDirectEndpointResolution, classifyProviderHttpError, createDirectProvider, createOllamaNativeProvider, createQuotaGovernedProvider, directProviderConfigFromConnection, normalizeQuotaScope, parseRetryAfter, probeXenoProvider, projectToolDefinitionsForProvider, projectToolSchemaForProvider, providerCapabilityError, providerProtocolError, quotaAncestors, quotaInteger, quotaScopeKey, quotaText, selectXenoProviderRoute, validateDirectEndpoint };
|