@omnicross/core 0.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/LICENSE +21 -0
- package/NOTICE +57 -0
- package/README.md +15 -0
- package/dist/ApiKeyPoolService-BmMkau07.d.cts +170 -0
- package/dist/ApiKeyPoolService-BmMkau07.d.ts +170 -0
- package/dist/ProviderProxy-f_8ziIhW.d.cts +120 -0
- package/dist/ProviderProxy-vjt8sQQk.d.ts +120 -0
- package/dist/SubscriptionAuthSource-Cr4fVEYY.d.cts +264 -0
- package/dist/SubscriptionAuthSource-D89zmiSS.d.ts +264 -0
- package/dist/auth/GeminiCodeAssistProjectResolver.cjs +218 -0
- package/dist/auth/GeminiCodeAssistProjectResolver.d.cts +68 -0
- package/dist/auth/GeminiCodeAssistProjectResolver.d.ts +68 -0
- package/dist/auth/GeminiCodeAssistProjectResolver.js +189 -0
- package/dist/completion/ApiKeyPoolService.cjs +331 -0
- package/dist/completion/ApiKeyPoolService.d.cts +2 -0
- package/dist/completion/ApiKeyPoolService.d.ts +2 -0
- package/dist/completion/ApiKeyPoolService.js +306 -0
- package/dist/completion.cjs +4027 -0
- package/dist/completion.d.cts +17 -0
- package/dist/completion.d.ts +17 -0
- package/dist/completion.js +3983 -0
- package/dist/index-BTSmc9Sm.d.ts +645 -0
- package/dist/index-DXazdTzZ.d.cts +645 -0
- package/dist/index.cjs +10428 -0
- package/dist/index.d.cts +128 -0
- package/dist/index.d.ts +128 -0
- package/dist/index.js +10339 -0
- package/dist/outbound-api/subscriptionRegistryPort.cjs +38 -0
- package/dist/outbound-api/subscriptionRegistryPort.d.cts +73 -0
- package/dist/outbound-api/subscriptionRegistryPort.d.ts +73 -0
- package/dist/outbound-api/subscriptionRegistryPort.js +12 -0
- package/dist/outbound-api.cjs +5264 -0
- package/dist/outbound-api.d.cts +320 -0
- package/dist/outbound-api.d.ts +320 -0
- package/dist/outbound-api.js +5218 -0
- package/dist/pipeline/SubscriptionAuthSource.cjs +131 -0
- package/dist/pipeline/SubscriptionAuthSource.d.cts +3 -0
- package/dist/pipeline/SubscriptionAuthSource.d.ts +3 -0
- package/dist/pipeline/SubscriptionAuthSource.js +103 -0
- package/dist/pipeline/SubscriptionAuthStrategy.cjs +18 -0
- package/dist/pipeline/SubscriptionAuthStrategy.d.cts +61 -0
- package/dist/pipeline/SubscriptionAuthStrategy.d.ts +61 -0
- package/dist/pipeline/SubscriptionAuthStrategy.js +0 -0
- package/dist/ports/gemini-code-assist-resolver.cjs +38 -0
- package/dist/ports/gemini-code-assist-resolver.d.cts +26 -0
- package/dist/ports/gemini-code-assist-resolver.d.ts +26 -0
- package/dist/ports/gemini-code-assist-resolver.js +12 -0
- package/dist/ports.cjs +18 -0
- package/dist/ports.d.cts +15 -0
- package/dist/ports.d.ts +15 -0
- package/dist/ports.js +0 -0
- package/dist/provider-proxy/ingress/providerProxyShared.cjs +2958 -0
- package/dist/provider-proxy/ingress/providerProxyShared.d.cts +77 -0
- package/dist/provider-proxy/ingress/providerProxyShared.d.ts +77 -0
- package/dist/provider-proxy/ingress/providerProxyShared.js +2925 -0
- package/dist/provider-proxy/matchText.cjs +73 -0
- package/dist/provider-proxy/matchText.d.cts +47 -0
- package/dist/provider-proxy/matchText.d.ts +47 -0
- package/dist/provider-proxy/matchText.js +45 -0
- package/dist/provider-proxy/types.cjs +18 -0
- package/dist/provider-proxy/types.d.cts +12 -0
- package/dist/provider-proxy/types.d.ts +12 -0
- package/dist/provider-proxy/types.js +0 -0
- package/dist/provider-proxy.cjs +4667 -0
- package/dist/provider-proxy.d.cts +69 -0
- package/dist/provider-proxy.d.ts +69 -0
- package/dist/provider-proxy.js +4636 -0
- package/dist/serializeError.cjs +82 -0
- package/dist/serializeError.d.cts +24 -0
- package/dist/serializeError.d.ts +24 -0
- package/dist/serializeError.js +57 -0
- package/dist/sse-parser.cjs +456 -0
- package/dist/sse-parser.d.cts +143 -0
- package/dist/sse-parser.d.ts +143 -0
- package/dist/sse-parser.js +430 -0
- package/dist/transformer/TransformerChainExecutor.cjs +321 -0
- package/dist/transformer/TransformerChainExecutor.d.cts +104 -0
- package/dist/transformer/TransformerChainExecutor.d.ts +104 -0
- package/dist/transformer/TransformerChainExecutor.js +294 -0
- package/dist/transformer/TransformerService.cjs +290 -0
- package/dist/transformer/TransformerService.d.cts +138 -0
- package/dist/transformer/TransformerService.d.ts +138 -0
- package/dist/transformer/TransformerService.js +265 -0
- package/dist/transformer/transformers/GeminiCodeAssistTransformer.cjs +1115 -0
- package/dist/transformer/transformers/GeminiCodeAssistTransformer.d.cts +102 -0
- package/dist/transformer/transformers/GeminiCodeAssistTransformer.d.ts +102 -0
- package/dist/transformer/transformers/GeminiCodeAssistTransformer.js +1085 -0
- package/dist/transformer/transformers/GeminiTransformer.cjs +1013 -0
- package/dist/transformer/transformers/GeminiTransformer.d.cts +70 -0
- package/dist/transformer/transformers/GeminiTransformer.d.ts +70 -0
- package/dist/transformer/transformers/GeminiTransformer.js +986 -0
- package/dist/transformer/transformers/OpenAIResponseTransformer.cjs +538 -0
- package/dist/transformer/transformers/OpenAIResponseTransformer.d.cts +53 -0
- package/dist/transformer/transformers/OpenAIResponseTransformer.d.ts +53 -0
- package/dist/transformer/transformers/OpenAIResponseTransformer.js +513 -0
- package/dist/transformer/transformers/OpenCodeGoTransformer.cjs +73 -0
- package/dist/transformer/transformers/OpenCodeGoTransformer.d.cts +51 -0
- package/dist/transformer/transformers/OpenCodeGoTransformer.d.ts +51 -0
- package/dist/transformer/transformers/OpenCodeGoTransformer.js +48 -0
- package/dist/transformer/types.cjs +18 -0
- package/dist/transformer/types.d.cts +405 -0
- package/dist/transformer/types.d.ts +405 -0
- package/dist/transformer/types.js +0 -0
- package/dist/transformer.cjs +3736 -0
- package/dist/transformer.d.cts +33 -0
- package/dist/transformer.d.ts +33 -0
- package/dist/transformer.js +3712 -0
- package/dist/types-CGGrKqC_.d.cts +142 -0
- package/dist/types-CbCN2NQP.d.ts +142 -0
- package/dist/types-DCzHkhJt.d.ts +467 -0
- package/dist/types-DZIQbgp0.d.cts +467 -0
- package/dist/usage-event-sink-BX7FE1NL.d.cts +59 -0
- package/dist/usage-event-sink-BX7FE1NL.d.ts +59 -0
- package/package.json +62 -0
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import { P as ProviderConfigSource, a as ProviderProxyDeps } from './types-DZIQbgp0.cjs';
|
|
2
|
+
import { P as ProviderProxy } from './ProviderProxy-f_8ziIhW.cjs';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Shared contract types for the outbound API server (`outbound-api-server`).
|
|
6
|
+
*
|
|
7
|
+
* The outbound server is a SEPARATE long-lived HTTP listener (distinct from the
|
|
8
|
+
* resident loopback `ProviderProxy`) that authenticates external callers via
|
|
9
|
+
* named API keys and routes their requests through the EXISTING `provider-proxy`
|
|
10
|
+
* ingress parsers + transformer — there is exactly one conversion stack.
|
|
11
|
+
*
|
|
12
|
+
* These types are kept in their own module so the server, router, auth, rate
|
|
13
|
+
* limiter, role detection, and route resolver can share shapes without circular
|
|
14
|
+
* imports.
|
|
15
|
+
*
|
|
16
|
+
* @module outbound-api/types
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
/** The four endpoints, 1:1 with the four wire-format ingress parsers. */
|
|
20
|
+
type OutboundEndpoint = 'chat' | 'responses' | 'messages' | 'gemini';
|
|
21
|
+
/** A `"providerId,modelId"` model reference (mirrors `RouterConfig` vocab). */
|
|
22
|
+
type ModelRef = string;
|
|
23
|
+
/** The detected request role; precedence vision > background > default. */
|
|
24
|
+
type RequestRole = 'vision' | 'background' | 'default';
|
|
25
|
+
/**
|
|
26
|
+
* Per-endpoint routing config. Persisted independently of the global
|
|
27
|
+
* "默认模型" settings tab; survives restart.
|
|
28
|
+
*/
|
|
29
|
+
interface EndpointRoutingConfig {
|
|
30
|
+
/** Which of the four endpoints this block configures. */
|
|
31
|
+
endpoint: OutboundEndpoint;
|
|
32
|
+
/** REQUIRED — model for normal (non-vision, non-background) requests. */
|
|
33
|
+
defaultModel: ModelRef;
|
|
34
|
+
/** REQUIRED — model for background/probe/small-task requests. */
|
|
35
|
+
backgroundModel: ModelRef;
|
|
36
|
+
/** OPTIONAL — model for requests carrying image/vision content. */
|
|
37
|
+
visionModel?: ModelRef;
|
|
38
|
+
/** Gates subscription-vs-BYO provider selection. Default FALSE. */
|
|
39
|
+
useSubscription: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* OPTIONAL per-endpoint "background model id" override list (human decision
|
|
42
|
+
* after the proposal). When set, an incoming requested model id appearing in
|
|
43
|
+
* this list is classified as the BACKGROUND role; otherwise the registry
|
|
44
|
+
* small/haiku-class signal is the baseline. Empty/unset → registry signal
|
|
45
|
+
* only. Compared against the requested model id (bare or `providerId,modelId`).
|
|
46
|
+
*/
|
|
47
|
+
backgroundModelIds?: string[];
|
|
48
|
+
}
|
|
49
|
+
/** The persisted server config. */
|
|
50
|
+
interface OutboundApiServerConfig {
|
|
51
|
+
/** When false the listener never binds (off by default). */
|
|
52
|
+
enabled: boolean;
|
|
53
|
+
/** When true the listener binds `0.0.0.0` (LAN) instead of `127.0.0.1`. */
|
|
54
|
+
networkBinding: boolean;
|
|
55
|
+
/** Per-endpoint routing config, one per endpoint (4 entries). */
|
|
56
|
+
endpoints: EndpointRoutingConfig[];
|
|
57
|
+
/** Persisted port (fixed default; falls back to ephemeral on EADDRINUSE). */
|
|
58
|
+
port?: number;
|
|
59
|
+
}
|
|
60
|
+
/** A live status snapshot the Settings tab renders. */
|
|
61
|
+
interface OutboundApiServerStatus {
|
|
62
|
+
running: boolean;
|
|
63
|
+
/** Actual bound port (0 when not running). */
|
|
64
|
+
port: number;
|
|
65
|
+
/** Loopback base URL (always present when running). */
|
|
66
|
+
loopbackUrl: string | null;
|
|
67
|
+
/** LAN base URL (present only when network binding is on). */
|
|
68
|
+
lanUrl: string | null;
|
|
69
|
+
/** The four format endpoint URLs (loopback). */
|
|
70
|
+
formats: OutboundFormatUrls | null;
|
|
71
|
+
/** The four format endpoint URLs over the LAN (only when network binding on). */
|
|
72
|
+
lanFormats: OutboundFormatUrls | null;
|
|
73
|
+
}
|
|
74
|
+
/** The four format endpoint URLs for one base. */
|
|
75
|
+
interface OutboundFormatUrls {
|
|
76
|
+
chat: string;
|
|
77
|
+
responses: string;
|
|
78
|
+
messages: string;
|
|
79
|
+
gemini: string;
|
|
80
|
+
}
|
|
81
|
+
/** A stored key DTO (never carries the plaintext secret). */
|
|
82
|
+
interface OutboundApiKeyInfo {
|
|
83
|
+
id: string;
|
|
84
|
+
name: string;
|
|
85
|
+
keyPrefix: string;
|
|
86
|
+
enabled: boolean;
|
|
87
|
+
createdAt: number;
|
|
88
|
+
lastUsedAt: number | null;
|
|
89
|
+
revoked: boolean;
|
|
90
|
+
}
|
|
91
|
+
/** The one-time create result; `plaintextOnce` is shown exactly once. */
|
|
92
|
+
interface OutboundApiKeyCreated {
|
|
93
|
+
id: string;
|
|
94
|
+
name: string;
|
|
95
|
+
keyPrefix: string;
|
|
96
|
+
createdAt: number;
|
|
97
|
+
plaintextOnce: string;
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Structural subset of the DB the outbound server needs — the named-key CRUD
|
|
101
|
+
* surface. Kept structural so the server module does not depend on the full
|
|
102
|
+
* `DbRpc`.
|
|
103
|
+
*/
|
|
104
|
+
interface OutboundKeyDbRow {
|
|
105
|
+
id: string;
|
|
106
|
+
name: string;
|
|
107
|
+
keyHash: string;
|
|
108
|
+
keyPrefix: string;
|
|
109
|
+
enabled: boolean;
|
|
110
|
+
createdAt: number;
|
|
111
|
+
lastUsedAt: number | null;
|
|
112
|
+
revokedAt: number | null;
|
|
113
|
+
}
|
|
114
|
+
interface OutboundKeyDb {
|
|
115
|
+
outboundApiKeysList(): Promise<OutboundKeyDbRow[]>;
|
|
116
|
+
outboundApiKeysGetByHash(hash: string): Promise<OutboundKeyDbRow | null>;
|
|
117
|
+
outboundApiKeysCreate(input: {
|
|
118
|
+
id: string;
|
|
119
|
+
name: string;
|
|
120
|
+
keyHash: string;
|
|
121
|
+
keyPrefix: string;
|
|
122
|
+
createdAt?: number;
|
|
123
|
+
}): Promise<OutboundKeyDbRow>;
|
|
124
|
+
outboundApiKeysRevoke(id: string): Promise<boolean>;
|
|
125
|
+
outboundApiKeysTouchLastUsed(id: string): Promise<boolean>;
|
|
126
|
+
outboundApiKeysSetEnabled(id: string, enabled: boolean): Promise<boolean>;
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* App-session-scoped dependencies the outbound server needs. The resident
|
|
130
|
+
* `ProviderProxy` is shared so the new listener mints routes on the SAME route
|
|
131
|
+
* map and reuses the SAME ingress parsers + transformer.
|
|
132
|
+
*/
|
|
133
|
+
interface OutboundApiDeps {
|
|
134
|
+
readonly db: OutboundKeyDb;
|
|
135
|
+
readonly llmConfig: ProviderConfigSource;
|
|
136
|
+
/** The resident proxy — shared for route minting + ingress dispatch. */
|
|
137
|
+
readonly providerProxy: ProviderProxy;
|
|
138
|
+
/** The proxy's app-session deps (reused verbatim for `routeRequest`). */
|
|
139
|
+
readonly proxyDeps: ProviderProxyDeps;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
export type { EndpointRoutingConfig as E, OutboundKeyDb as O, RequestRole as R, OutboundApiDeps as a, OutboundApiKeyCreated as b, OutboundApiKeyInfo as c, OutboundApiServerConfig as d, OutboundApiServerStatus as e, OutboundEndpoint as f, OutboundFormatUrls as g, OutboundKeyDbRow as h };
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import { P as ProviderConfigSource, a as ProviderProxyDeps } from './types-DCzHkhJt.js';
|
|
2
|
+
import { P as ProviderProxy } from './ProviderProxy-vjt8sQQk.js';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Shared contract types for the outbound API server (`outbound-api-server`).
|
|
6
|
+
*
|
|
7
|
+
* The outbound server is a SEPARATE long-lived HTTP listener (distinct from the
|
|
8
|
+
* resident loopback `ProviderProxy`) that authenticates external callers via
|
|
9
|
+
* named API keys and routes their requests through the EXISTING `provider-proxy`
|
|
10
|
+
* ingress parsers + transformer — there is exactly one conversion stack.
|
|
11
|
+
*
|
|
12
|
+
* These types are kept in their own module so the server, router, auth, rate
|
|
13
|
+
* limiter, role detection, and route resolver can share shapes without circular
|
|
14
|
+
* imports.
|
|
15
|
+
*
|
|
16
|
+
* @module outbound-api/types
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
/** The four endpoints, 1:1 with the four wire-format ingress parsers. */
|
|
20
|
+
type OutboundEndpoint = 'chat' | 'responses' | 'messages' | 'gemini';
|
|
21
|
+
/** A `"providerId,modelId"` model reference (mirrors `RouterConfig` vocab). */
|
|
22
|
+
type ModelRef = string;
|
|
23
|
+
/** The detected request role; precedence vision > background > default. */
|
|
24
|
+
type RequestRole = 'vision' | 'background' | 'default';
|
|
25
|
+
/**
|
|
26
|
+
* Per-endpoint routing config. Persisted independently of the global
|
|
27
|
+
* "默认模型" settings tab; survives restart.
|
|
28
|
+
*/
|
|
29
|
+
interface EndpointRoutingConfig {
|
|
30
|
+
/** Which of the four endpoints this block configures. */
|
|
31
|
+
endpoint: OutboundEndpoint;
|
|
32
|
+
/** REQUIRED — model for normal (non-vision, non-background) requests. */
|
|
33
|
+
defaultModel: ModelRef;
|
|
34
|
+
/** REQUIRED — model for background/probe/small-task requests. */
|
|
35
|
+
backgroundModel: ModelRef;
|
|
36
|
+
/** OPTIONAL — model for requests carrying image/vision content. */
|
|
37
|
+
visionModel?: ModelRef;
|
|
38
|
+
/** Gates subscription-vs-BYO provider selection. Default FALSE. */
|
|
39
|
+
useSubscription: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* OPTIONAL per-endpoint "background model id" override list (human decision
|
|
42
|
+
* after the proposal). When set, an incoming requested model id appearing in
|
|
43
|
+
* this list is classified as the BACKGROUND role; otherwise the registry
|
|
44
|
+
* small/haiku-class signal is the baseline. Empty/unset → registry signal
|
|
45
|
+
* only. Compared against the requested model id (bare or `providerId,modelId`).
|
|
46
|
+
*/
|
|
47
|
+
backgroundModelIds?: string[];
|
|
48
|
+
}
|
|
49
|
+
/** The persisted server config. */
|
|
50
|
+
interface OutboundApiServerConfig {
|
|
51
|
+
/** When false the listener never binds (off by default). */
|
|
52
|
+
enabled: boolean;
|
|
53
|
+
/** When true the listener binds `0.0.0.0` (LAN) instead of `127.0.0.1`. */
|
|
54
|
+
networkBinding: boolean;
|
|
55
|
+
/** Per-endpoint routing config, one per endpoint (4 entries). */
|
|
56
|
+
endpoints: EndpointRoutingConfig[];
|
|
57
|
+
/** Persisted port (fixed default; falls back to ephemeral on EADDRINUSE). */
|
|
58
|
+
port?: number;
|
|
59
|
+
}
|
|
60
|
+
/** A live status snapshot the Settings tab renders. */
|
|
61
|
+
interface OutboundApiServerStatus {
|
|
62
|
+
running: boolean;
|
|
63
|
+
/** Actual bound port (0 when not running). */
|
|
64
|
+
port: number;
|
|
65
|
+
/** Loopback base URL (always present when running). */
|
|
66
|
+
loopbackUrl: string | null;
|
|
67
|
+
/** LAN base URL (present only when network binding is on). */
|
|
68
|
+
lanUrl: string | null;
|
|
69
|
+
/** The four format endpoint URLs (loopback). */
|
|
70
|
+
formats: OutboundFormatUrls | null;
|
|
71
|
+
/** The four format endpoint URLs over the LAN (only when network binding on). */
|
|
72
|
+
lanFormats: OutboundFormatUrls | null;
|
|
73
|
+
}
|
|
74
|
+
/** The four format endpoint URLs for one base. */
|
|
75
|
+
interface OutboundFormatUrls {
|
|
76
|
+
chat: string;
|
|
77
|
+
responses: string;
|
|
78
|
+
messages: string;
|
|
79
|
+
gemini: string;
|
|
80
|
+
}
|
|
81
|
+
/** A stored key DTO (never carries the plaintext secret). */
|
|
82
|
+
interface OutboundApiKeyInfo {
|
|
83
|
+
id: string;
|
|
84
|
+
name: string;
|
|
85
|
+
keyPrefix: string;
|
|
86
|
+
enabled: boolean;
|
|
87
|
+
createdAt: number;
|
|
88
|
+
lastUsedAt: number | null;
|
|
89
|
+
revoked: boolean;
|
|
90
|
+
}
|
|
91
|
+
/** The one-time create result; `plaintextOnce` is shown exactly once. */
|
|
92
|
+
interface OutboundApiKeyCreated {
|
|
93
|
+
id: string;
|
|
94
|
+
name: string;
|
|
95
|
+
keyPrefix: string;
|
|
96
|
+
createdAt: number;
|
|
97
|
+
plaintextOnce: string;
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Structural subset of the DB the outbound server needs — the named-key CRUD
|
|
101
|
+
* surface. Kept structural so the server module does not depend on the full
|
|
102
|
+
* `DbRpc`.
|
|
103
|
+
*/
|
|
104
|
+
interface OutboundKeyDbRow {
|
|
105
|
+
id: string;
|
|
106
|
+
name: string;
|
|
107
|
+
keyHash: string;
|
|
108
|
+
keyPrefix: string;
|
|
109
|
+
enabled: boolean;
|
|
110
|
+
createdAt: number;
|
|
111
|
+
lastUsedAt: number | null;
|
|
112
|
+
revokedAt: number | null;
|
|
113
|
+
}
|
|
114
|
+
interface OutboundKeyDb {
|
|
115
|
+
outboundApiKeysList(): Promise<OutboundKeyDbRow[]>;
|
|
116
|
+
outboundApiKeysGetByHash(hash: string): Promise<OutboundKeyDbRow | null>;
|
|
117
|
+
outboundApiKeysCreate(input: {
|
|
118
|
+
id: string;
|
|
119
|
+
name: string;
|
|
120
|
+
keyHash: string;
|
|
121
|
+
keyPrefix: string;
|
|
122
|
+
createdAt?: number;
|
|
123
|
+
}): Promise<OutboundKeyDbRow>;
|
|
124
|
+
outboundApiKeysRevoke(id: string): Promise<boolean>;
|
|
125
|
+
outboundApiKeysTouchLastUsed(id: string): Promise<boolean>;
|
|
126
|
+
outboundApiKeysSetEnabled(id: string, enabled: boolean): Promise<boolean>;
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* App-session-scoped dependencies the outbound server needs. The resident
|
|
130
|
+
* `ProviderProxy` is shared so the new listener mints routes on the SAME route
|
|
131
|
+
* map and reuses the SAME ingress parsers + transformer.
|
|
132
|
+
*/
|
|
133
|
+
interface OutboundApiDeps {
|
|
134
|
+
readonly db: OutboundKeyDb;
|
|
135
|
+
readonly llmConfig: ProviderConfigSource;
|
|
136
|
+
/** The resident proxy — shared for route minting + ingress dispatch. */
|
|
137
|
+
readonly providerProxy: ProviderProxy;
|
|
138
|
+
/** The proxy's app-session deps (reused verbatim for `routeRequest`). */
|
|
139
|
+
readonly proxyDeps: ProviderProxyDeps;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
export type { EndpointRoutingConfig as E, OutboundKeyDb as O, RequestRole as R, OutboundApiDeps as a, OutboundApiKeyCreated as b, OutboundApiKeyInfo as c, OutboundApiServerConfig as d, OutboundApiServerStatus as e, OutboundEndpoint as f, OutboundFormatUrls as g, OutboundKeyDbRow as h };
|