@omnicross/core 0.1.10 → 0.2.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.
Files changed (166) hide show
  1. package/LICENSE +21 -21
  2. package/NOTICE +57 -57
  3. package/README.md +22 -15
  4. package/dist/{CompletionService-kNA17cfI.d.cts → CompletionService-BiJqftc-.d.cts} +1 -1
  5. package/dist/{CompletionService-C3BX0Ovy.d.ts → CompletionService-NXN_Av5W.d.ts} +1 -1
  6. package/dist/{ProviderProxy-QdwNV6l1.d.cts → ProviderProxy-CgIcCVwk.d.cts} +1 -1
  7. package/dist/{ProviderProxy--ROec6VI.d.ts → ProviderProxy-DYoY5XoT.d.ts} +1 -1
  8. package/dist/auth/GeminiCodeAssistProjectResolver.cjs +6 -6
  9. package/dist/auth/GeminiCodeAssistProjectResolver.js +4 -4
  10. package/dist/{chunk-QUSEZNYS.cjs → chunk-32SRZFFP.cjs} +4 -1
  11. package/dist/chunk-4JOU54M5.js +200 -0
  12. package/dist/{chunk-2UTGX6FM.js → chunk-4VVCXVB7.js} +1 -1
  13. package/dist/chunk-6DDYNS2B.cjs +384 -0
  14. package/dist/{chunk-HKB656B4.js → chunk-6OC3ORW6.js} +55 -287
  15. package/dist/{chunk-GXEZ2R3E.js → chunk-6OKXH2TW.js} +18 -7
  16. package/dist/{chunk-TIT74RIL.cjs → chunk-7B56AJBB.cjs} +6214 -2423
  17. package/dist/{chunk-YWL7YZWS.cjs → chunk-7LRTPNFL.cjs} +5 -0
  18. package/dist/{chunk-CCVRRJOX.js → chunk-7PIUVCKK.js} +9 -2
  19. package/dist/{chunk-IIRPUVPH.cjs → chunk-7ZHBN75N.cjs} +3 -1
  20. package/dist/{chunk-RJ5ZGNI3.js → chunk-CFSGYFOZ.js} +1 -1
  21. package/dist/chunk-CTKM773J.cjs +3919 -0
  22. package/dist/chunk-DEIUR2TH.js +3919 -0
  23. package/dist/{chunk-WNKWAEUR.js → chunk-EYGBM2VC.js} +3 -1
  24. package/dist/{chunk-NGYOO5TO.js → chunk-FJNKXOWE.js} +9 -9
  25. package/dist/{chunk-UWDW6PN3.cjs → chunk-FX325I5Q.cjs} +20 -9
  26. package/dist/chunk-G4CZIUIB.cjs +200 -0
  27. package/dist/chunk-HCOQQAZE.cjs +123 -0
  28. package/dist/{chunk-55FMGZ3L.js → chunk-HN74IGEO.js} +1 -1
  29. package/dist/{chunk-ZY6KU6P3.js → chunk-HOMUGKHR.js} +8 -5
  30. package/dist/{chunk-AOFWNWLT.cjs → chunk-IUL4VWNU.cjs} +22 -1
  31. package/dist/{chunk-5LNYGCIW.cjs → chunk-KIQ2HA2A.cjs} +5 -5
  32. package/dist/{chunk-MUHWHQVM.cjs → chunk-KQBLZMP6.cjs} +4 -3
  33. package/dist/chunk-LFEH7CEO.js +384 -0
  34. package/dist/chunk-N76KU6F5.js +123 -0
  35. package/dist/{chunk-CMVXX7ON.cjs → chunk-NOITAVHA.cjs} +114 -58
  36. package/dist/{chunk-Q27JY5RG.cjs → chunk-OIKREZVQ.cjs} +7 -4
  37. package/dist/{chunk-RJUONLUQ.cjs → chunk-OST5RJOJ.cjs} +1 -1
  38. package/dist/{chunk-6D4W22P4.js → chunk-QIIAMBTM.js} +4 -1
  39. package/dist/{chunk-56QD3YW6.cjs → chunk-QWNUOR7F.cjs} +11 -4
  40. package/dist/{chunk-S3DYFEBE.js → chunk-R4VCO2CB.js} +10 -1
  41. package/dist/{chunk-ZQQUD66M.cjs → chunk-SQMAEDNE.cjs} +63 -295
  42. package/dist/{chunk-4VZX5F4T.cjs → chunk-T6NWPIYZ.cjs} +5 -2
  43. package/dist/{chunk-P7EM6BND.cjs → chunk-TVYA5JSQ.cjs} +10 -10
  44. package/dist/{chunk-EBLFCNPY.js → chunk-U47LQXPB.js} +5 -2
  45. package/dist/{chunk-N7OOJI5V.js → chunk-V2UKUTJ3.js} +5 -0
  46. package/dist/{chunk-45FHEOKW.js → chunk-V53ZEFXC.js} +92 -36
  47. package/dist/{chunk-OC6DOOFX.cjs → chunk-VXRTQZF2.cjs} +5 -5
  48. package/dist/{chunk-FEBAQI5A.js → chunk-WSJE42SG.js} +4964 -1173
  49. package/dist/{chunk-RICPANBY.cjs → chunk-WX2E2G7H.cjs} +13 -4
  50. package/dist/{chunk-DE2SRBFZ.js → chunk-X335TJNS.js} +4 -3
  51. package/dist/{chunk-N2EIM2XJ.js → chunk-ZLNHPUFA.js} +22 -1
  52. package/dist/completion/CompletionService.cjs +29 -26
  53. package/dist/completion/CompletionService.d.cts +3 -2
  54. package/dist/completion/CompletionService.d.ts +3 -2
  55. package/dist/completion/CompletionService.js +28 -25
  56. package/dist/completion.cjs +37 -34
  57. package/dist/completion.d.cts +3 -2
  58. package/dist/completion.d.ts +3 -2
  59. package/dist/completion.js +36 -33
  60. package/dist/image-generation.cjs +52 -0
  61. package/dist/image-generation.d.cts +93 -0
  62. package/dist/image-generation.d.ts +93 -0
  63. package/dist/image-generation.js +52 -0
  64. package/dist/index.cjs +126 -31
  65. package/dist/index.d.cts +11 -7
  66. package/dist/index.d.ts +11 -7
  67. package/dist/index.js +142 -47
  68. package/dist/openai-operation.cjs +18 -0
  69. package/dist/openai-operation.d.cts +19 -0
  70. package/dist/openai-operation.d.ts +19 -0
  71. package/dist/openai-operation.js +18 -0
  72. package/dist/outbound-api/auditCapture.cjs +3 -3
  73. package/dist/outbound-api/auditCapture.d.cts +13 -2
  74. package/dist/outbound-api/auditCapture.d.ts +13 -2
  75. package/dist/outbound-api/auditCapture.js +2 -2
  76. package/dist/outbound-api/auditRedact.cjs +2 -2
  77. package/dist/outbound-api/auditRedact.js +1 -1
  78. package/dist/outbound-api/routeResolver.cjs +2 -2
  79. package/dist/outbound-api/routeResolver.d.cts +7 -4
  80. package/dist/outbound-api/routeResolver.d.ts +7 -4
  81. package/dist/outbound-api/routeResolver.js +1 -1
  82. package/dist/outbound-api/subscriptionRegistryPort.d.cts +2 -1
  83. package/dist/outbound-api/subscriptionRegistryPort.d.ts +2 -1
  84. package/dist/outbound-api/types.d.cts +6 -3
  85. package/dist/outbound-api/types.d.ts +6 -3
  86. package/dist/outbound-api.cjs +48 -31
  87. package/dist/outbound-api.d.cts +95 -9
  88. package/dist/outbound-api.d.ts +95 -9
  89. package/dist/outbound-api.js +47 -30
  90. package/dist/pipeline/AccountAllowanceScheduling.d.cts +18 -15
  91. package/dist/pipeline/AccountAllowanceScheduling.d.ts +18 -15
  92. package/dist/pipeline/LlmConfigProviderAuth.cjs +3 -3
  93. package/dist/pipeline/LlmConfigProviderAuth.js +2 -2
  94. package/dist/pipeline/SubscriptionAccountHealth.cjs +2 -2
  95. package/dist/pipeline/SubscriptionAccountHealth.d.cts +7 -0
  96. package/dist/pipeline/SubscriptionAccountHealth.d.ts +7 -0
  97. package/dist/pipeline/SubscriptionAccountHealth.js +1 -1
  98. package/dist/pipeline/executeProviderCall.cjs +2 -2
  99. package/dist/pipeline/executeProviderCall.d.cts +11 -6
  100. package/dist/pipeline/executeProviderCall.d.ts +11 -6
  101. package/dist/pipeline/executeProviderCall.js +1 -1
  102. package/dist/pipeline/upstreamFetch.cjs +2 -2
  103. package/dist/pipeline/upstreamFetch.d.cts +5 -0
  104. package/dist/pipeline/upstreamFetch.d.ts +5 -0
  105. package/dist/pipeline/upstreamFetch.js +1 -1
  106. package/dist/ports.d.cts +6 -3
  107. package/dist/ports.d.ts +6 -3
  108. package/dist/provider-proxy/ProviderProxy.cjs +29 -26
  109. package/dist/provider-proxy/ProviderProxy.d.cts +3 -2
  110. package/dist/provider-proxy/ProviderProxy.d.ts +3 -2
  111. package/dist/provider-proxy/ProviderProxy.js +28 -25
  112. package/dist/provider-proxy/identity/codexCliHeaders.cjs +4 -2
  113. package/dist/provider-proxy/identity/codexCliHeaders.d.cts +26 -6
  114. package/dist/provider-proxy/identity/codexCliHeaders.d.ts +26 -6
  115. package/dist/provider-proxy/identity/codexCliHeaders.js +5 -3
  116. package/dist/provider-proxy/ingress/providerProxyShared.cjs +31 -26
  117. package/dist/provider-proxy/ingress/providerProxyShared.d.cts +21 -8
  118. package/dist/provider-proxy/ingress/providerProxyShared.d.ts +21 -8
  119. package/dist/provider-proxy/ingress/providerProxyShared.js +30 -25
  120. package/dist/provider-proxy/types.d.cts +14 -483
  121. package/dist/provider-proxy/types.d.ts +14 -483
  122. package/dist/provider-proxy.cjs +43 -26
  123. package/dist/provider-proxy.d.cts +30 -8
  124. package/dist/provider-proxy.d.ts +30 -8
  125. package/dist/provider-proxy.js +42 -25
  126. package/dist/{routeResolver-C0mkkZaM.d.ts → routeResolver-CTCcSHWu.d.ts} +4 -2
  127. package/dist/{routeResolver-CVFE8KKe.d.cts → routeResolver-rpKQLyDO.d.cts} +4 -2
  128. package/dist/transformer/TransformerChainExecutor.cjs +2 -2
  129. package/dist/transformer/TransformerChainExecutor.d.cts +2 -2
  130. package/dist/transformer/TransformerChainExecutor.d.ts +2 -2
  131. package/dist/transformer/TransformerChainExecutor.js +1 -1
  132. package/dist/transformer/transformers/AnthropicOpenAIToAnthropicStream.cjs +16 -0
  133. package/dist/transformer/transformers/AnthropicOpenAIToAnthropicStream.d.cts +53 -0
  134. package/dist/transformer/transformers/AnthropicOpenAIToAnthropicStream.d.ts +53 -0
  135. package/dist/transformer/transformers/AnthropicOpenAIToAnthropicStream.js +16 -0
  136. package/dist/transformer/transformers/AnthropicTransformer.cjs +4 -3
  137. package/dist/transformer/transformers/AnthropicTransformer.js +3 -2
  138. package/dist/transformer/transformers/GeminiCodeAssistTransformer.cjs +4 -4
  139. package/dist/transformer/transformers/GeminiCodeAssistTransformer.js +3 -3
  140. package/dist/transformer/transformers/GeminiTransformer.cjs +4 -4
  141. package/dist/transformer/transformers/GeminiTransformer.js +3 -3
  142. package/dist/transformer/transformers/OpenAIResponseTransformer.cjs +3 -3
  143. package/dist/transformer/transformers/OpenAIResponseTransformer.js +2 -2
  144. package/dist/transformer/transformers/OpenAITransformer.cjs +3 -3
  145. package/dist/transformer/transformers/OpenAITransformer.js +2 -2
  146. package/dist/transformer/transformers.cjs +10 -9
  147. package/dist/transformer/transformers.js +13 -12
  148. package/dist/transformer/types.d.cts +39 -4
  149. package/dist/transformer/types.d.ts +39 -4
  150. package/dist/transformer.cjs +14 -13
  151. package/dist/transformer.js +14 -13
  152. package/dist/{types-BB8pxk_3.d.ts → types-5T223WYQ.d.ts} +183 -23
  153. package/dist/types-Bd72H4SB.d.ts +196 -0
  154. package/dist/types-CVRge76p.d.ts +1115 -0
  155. package/dist/types-CbglB73l.d.cts +196 -0
  156. package/dist/types-DsHBBk3h.d.cts +1115 -0
  157. package/dist/{types-C2MwkLah.d.cts → types-jjU24eYG.d.cts} +183 -23
  158. package/dist/usage.cjs +2 -2
  159. package/dist/usage.d.cts +6 -1
  160. package/dist/usage.d.ts +6 -1
  161. package/dist/usage.js +1 -1
  162. package/package.json +69 -64
  163. package/dist/chunk-FCR77GYM.cjs +0 -33
  164. package/dist/chunk-K5NM7VAH.js +0 -33
  165. /package/dist/{chunk-XXFYLL7R.js → chunk-ECZ3ZE2C.js} +0 -0
  166. /package/dist/{chunk-3SCOLIPT.cjs → chunk-MXI2PWIC.cjs} +0 -0
@@ -0,0 +1,18 @@
1
+ import {
2
+ OpenAIOperationError,
3
+ OpenAIOperationRegistrationError,
4
+ OpenAIOperationRegistry,
5
+ classifyOpenAIOperation,
6
+ getOpenAIOperation,
7
+ unsupportedOpenAIOperation,
8
+ writeOpenAIOperationError
9
+ } from "./chunk-4JOU54M5.js";
10
+ export {
11
+ OpenAIOperationError,
12
+ OpenAIOperationRegistrationError,
13
+ OpenAIOperationRegistry,
14
+ classifyOpenAIOperation,
15
+ getOpenAIOperation,
16
+ unsupportedOpenAIOperation,
17
+ writeOpenAIOperationError
18
+ };
@@ -1,9 +1,9 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunkUWDW6PN3cjs = require('../chunk-UWDW6PN3.cjs');
4
- require('../chunk-FCR77GYM.cjs');
3
+ var _chunkFX325I5Qcjs = require('../chunk-FX325I5Q.cjs');
5
4
  require('../chunk-AEOZIDEB.cjs');
5
+ require('../chunk-HCOQQAZE.cjs');
6
6
  require('../chunk-XSVNC2UD.cjs');
7
7
 
8
8
 
9
- exports.beginAuditCapture = _chunkUWDW6PN3cjs.beginAuditCapture;
9
+ exports.beginAuditCapture = _chunkFX325I5Qcjs.beginAuditCapture;
@@ -48,12 +48,23 @@ interface AuditCaptureContext {
48
48
  sessionKey?: string;
49
49
  /** Stash the raw request body for capture (a no-op unless `captureBodies`). */
50
50
  setRequestBody(raw: string): void;
51
+ /**
52
+ * Permanently discard and disable request/response body capture for this
53
+ * request while retaining metadata and usage attribution. Idempotent and
54
+ * intentionally one-way: a later caller cannot re-enable body persistence.
55
+ */
56
+ suppressBodies(): void;
57
+ }
58
+ /** Per-request capture policy selected before any response wrapper is installed. */
59
+ interface AuditCaptureOptions {
60
+ /** Preserve metadata while structurally preventing request/response body capture. */
61
+ suppressBodies?: boolean;
51
62
  }
52
63
  /**
53
64
  * Begin audit capture for one request. Returns a mutable context the handler
54
65
  * enriches, or `null` when audit is disabled (zero-cost path). The record is
55
66
  * emitted on response `close` via the fire-and-forget sink.
56
67
  */
57
- declare function beginAuditCapture(req: http.IncomingMessage, res: http.ServerResponse, now: number): AuditCaptureContext | null;
68
+ declare function beginAuditCapture(req: http.IncomingMessage, res: http.ServerResponse, now: number, options?: AuditCaptureOptions): AuditCaptureContext | null;
58
69
 
59
- export { type AuditCaptureContext, beginAuditCapture };
70
+ export { type AuditCaptureContext, type AuditCaptureOptions, beginAuditCapture };
@@ -48,12 +48,23 @@ interface AuditCaptureContext {
48
48
  sessionKey?: string;
49
49
  /** Stash the raw request body for capture (a no-op unless `captureBodies`). */
50
50
  setRequestBody(raw: string): void;
51
+ /**
52
+ * Permanently discard and disable request/response body capture for this
53
+ * request while retaining metadata and usage attribution. Idempotent and
54
+ * intentionally one-way: a later caller cannot re-enable body persistence.
55
+ */
56
+ suppressBodies(): void;
57
+ }
58
+ /** Per-request capture policy selected before any response wrapper is installed. */
59
+ interface AuditCaptureOptions {
60
+ /** Preserve metadata while structurally preventing request/response body capture. */
61
+ suppressBodies?: boolean;
51
62
  }
52
63
  /**
53
64
  * Begin audit capture for one request. Returns a mutable context the handler
54
65
  * enriches, or `null` when audit is disabled (zero-cost path). The record is
55
66
  * emitted on response `close` via the fire-and-forget sink.
56
67
  */
57
- declare function beginAuditCapture(req: http.IncomingMessage, res: http.ServerResponse, now: number): AuditCaptureContext | null;
68
+ declare function beginAuditCapture(req: http.IncomingMessage, res: http.ServerResponse, now: number, options?: AuditCaptureOptions): AuditCaptureContext | null;
58
69
 
59
- export { type AuditCaptureContext, beginAuditCapture };
70
+ export { type AuditCaptureContext, type AuditCaptureOptions, beginAuditCapture };
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  beginAuditCapture
3
- } from "../chunk-GXEZ2R3E.js";
4
- import "../chunk-K5NM7VAH.js";
3
+ } from "../chunk-6OKXH2TW.js";
5
4
  import "../chunk-WNY4WMRF.js";
5
+ import "../chunk-N76KU6F5.js";
6
6
  import "../chunk-OZFM4X3S.js";
7
7
  export {
8
8
  beginAuditCapture
@@ -1,8 +1,8 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
3
 
4
- var _chunkFCR77GYMcjs = require('../chunk-FCR77GYM.cjs');
4
+ var _chunkHCOQQAZEcjs = require('../chunk-HCOQQAZE.cjs');
5
5
 
6
6
 
7
7
 
8
- exports.AUDIT_REDACTED = _chunkFCR77GYMcjs.AUDIT_REDACTED; exports.redactAuditText = _chunkFCR77GYMcjs.redactAuditText;
8
+ exports.AUDIT_REDACTED = _chunkHCOQQAZEcjs.AUDIT_REDACTED; exports.redactAuditText = _chunkHCOQQAZEcjs.redactAuditText;
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  AUDIT_REDACTED,
3
3
  redactAuditText
4
- } from "../chunk-K5NM7VAH.js";
4
+ } from "../chunk-N76KU6F5.js";
5
5
  export {
6
6
  AUDIT_REDACTED,
7
7
  redactAuditText
@@ -3,7 +3,7 @@
3
3
 
4
4
 
5
5
 
6
- var _chunk4VZX5F4Tcjs = require('../chunk-4VZX5F4T.cjs');
6
+ var _chunkT6NWPIYZcjs = require('../chunk-T6NWPIYZ.cjs');
7
7
  require('../chunk-QBZJ7P2T.cjs');
8
8
  require('../chunk-4IH4EL7M.cjs');
9
9
 
@@ -11,4 +11,4 @@ require('../chunk-4IH4EL7M.cjs');
11
11
 
12
12
 
13
13
 
14
- exports.isSubscriptionProviderId = _chunk4VZX5F4Tcjs.isSubscriptionProviderId; exports.parseModelRef = _chunk4VZX5F4Tcjs.parseModelRef; exports.pickModelRefFromList = _chunk4VZX5F4Tcjs.pickModelRefFromList; exports.resolveRoute = _chunk4VZX5F4Tcjs.resolveRoute;
14
+ exports.isSubscriptionProviderId = _chunkT6NWPIYZcjs.isSubscriptionProviderId; exports.parseModelRef = _chunkT6NWPIYZcjs.parseModelRef; exports.pickModelRefFromList = _chunkT6NWPIYZcjs.pickModelRefFromList; exports.resolveRoute = _chunkT6NWPIYZcjs.resolveRoute;
@@ -1,7 +1,7 @@
1
1
  import '../ports/provider-config-source.cjs';
2
- import '../provider-proxy/types.cjs';
3
- import '../types-C2MwkLah.cjs';
4
- export { R as RouteResolveError, b as RouteResolveResult, i as isSubscriptionProviderId, p as parseModelRef, a as pickModelRefFromList, r as resolveRoute } from '../routeResolver-CVFE8KKe.cjs';
2
+ import '../types-DsHBBk3h.cjs';
3
+ import '../types-jjU24eYG.cjs';
4
+ export { R as RouteResolveError, b as RouteResolveResult, i as isSubscriptionProviderId, p as parseModelRef, a as pickModelRefFromList, r as resolveRoute } from '../routeResolver-rpKQLyDO.cjs';
5
5
  import '@omnicross/contracts/llm-config';
6
6
  import '../transformer/types.cjs';
7
7
  import '@omnicross/contracts/completion-types';
@@ -18,11 +18,14 @@ import '../pipeline/SubscriptionAuthSource.cjs';
18
18
  import '../pipeline/SubscriptionAuthStrategy.cjs';
19
19
  import '../ports/web-search-backend.cjs';
20
20
  import '@omnicross/contracts/websearch-types';
21
+ import '@omnicross/contracts/image-generation-types';
22
+ import '../types-CbglB73l.cjs';
23
+ import 'node:fs/promises';
21
24
  import '@omnicross/contracts/account-tokens-types';
22
25
  import '@omnicross/contracts/audit-types';
23
26
  import '@omnicross/contracts/billing-types';
24
27
  import '@omnicross/contracts/health-logging-types';
25
28
  import '@omnicross/contracts/voucher-types';
26
29
  import '@omnicross/contracts/webhook-types';
27
- import '../ProviderProxy-QdwNV6l1.cjs';
30
+ import '../ProviderProxy-CgIcCVwk.cjs';
28
31
  import '../keyPolicy-zdWTu3CQ.cjs';
@@ -1,7 +1,7 @@
1
1
  import '../ports/provider-config-source.js';
2
- import '../provider-proxy/types.js';
3
- import '../types-BB8pxk_3.js';
4
- export { R as RouteResolveError, b as RouteResolveResult, i as isSubscriptionProviderId, p as parseModelRef, a as pickModelRefFromList, r as resolveRoute } from '../routeResolver-C0mkkZaM.js';
2
+ import '../types-CVRge76p.js';
3
+ import '../types-5T223WYQ.js';
4
+ export { R as RouteResolveError, b as RouteResolveResult, i as isSubscriptionProviderId, p as parseModelRef, a as pickModelRefFromList, r as resolveRoute } from '../routeResolver-CTCcSHWu.js';
5
5
  import '@omnicross/contracts/llm-config';
6
6
  import '../transformer/types.js';
7
7
  import '@omnicross/contracts/completion-types';
@@ -18,11 +18,14 @@ import '../pipeline/SubscriptionAuthSource.js';
18
18
  import '../pipeline/SubscriptionAuthStrategy.js';
19
19
  import '../ports/web-search-backend.js';
20
20
  import '@omnicross/contracts/websearch-types';
21
+ import '@omnicross/contracts/image-generation-types';
22
+ import '../types-Bd72H4SB.js';
23
+ import 'node:fs/promises';
21
24
  import '@omnicross/contracts/account-tokens-types';
22
25
  import '@omnicross/contracts/audit-types';
23
26
  import '@omnicross/contracts/billing-types';
24
27
  import '@omnicross/contracts/health-logging-types';
25
28
  import '@omnicross/contracts/voucher-types';
26
29
  import '@omnicross/contracts/webhook-types';
27
- import '../ProviderProxy--ROec6VI.js';
30
+ import '../ProviderProxy-DYoY5XoT.js';
28
31
  import '../keyPolicy-zdWTu3CQ.js';
@@ -3,7 +3,7 @@ import {
3
3
  parseModelRef,
4
4
  pickModelRefFromList,
5
5
  resolveRoute
6
- } from "../chunk-EBLFCNPY.js";
6
+ } from "../chunk-U47LQXPB.js";
7
7
  import "../chunk-AQ5TNQB7.js";
8
8
  import "../chunk-XEKD23J5.js";
9
9
  export {
@@ -1,4 +1,4 @@
1
- import { SubscriptionDispatchProfile } from '../provider-proxy/types.cjs';
1
+ import { aG as SubscriptionDispatchProfile } from '../types-DsHBBk3h.cjs';
2
2
  import 'node:http';
3
3
  import '@omnicross/contracts/completion-types';
4
4
  import '@omnicross/contracts/usage-stats-types';
@@ -16,6 +16,7 @@ import '../transformer/types.cjs';
16
16
  import '../transformer/TransformerService.cjs';
17
17
  import '../ports/web-search-backend.cjs';
18
18
  import '@omnicross/contracts/websearch-types';
19
+ import '@omnicross/contracts/image-generation-types';
19
20
 
20
21
  /**
21
22
  * subscriptionRegistryPort — the serving-core seam for subscription dispatch
@@ -1,4 +1,4 @@
1
- import { SubscriptionDispatchProfile } from '../provider-proxy/types.js';
1
+ import { aG as SubscriptionDispatchProfile } from '../types-CVRge76p.js';
2
2
  import 'node:http';
3
3
  import '@omnicross/contracts/completion-types';
4
4
  import '@omnicross/contracts/usage-stats-types';
@@ -16,6 +16,7 @@ import '../transformer/types.js';
16
16
  import '../transformer/TransformerService.js';
17
17
  import '../ports/web-search-backend.js';
18
18
  import '@omnicross/contracts/websearch-types';
19
+ import '@omnicross/contracts/image-generation-types';
19
20
 
20
21
  /**
21
22
  * subscriptionRegistryPort — the serving-core seam for subscription dispatch
@@ -1,3 +1,4 @@
1
+ import '../types-CbglB73l.cjs';
1
2
  import '@omnicross/contracts/account-tokens-types';
2
3
  import '@omnicross/contracts/audit-types';
3
4
  import '@omnicross/contracts/billing-types';
@@ -6,10 +7,12 @@ import '@omnicross/contracts/voucher-types';
6
7
  import '@omnicross/contracts/webhook-types';
7
8
  import '../logger-4GvQNzhE.cjs';
8
9
  import '../ports/provider-config-source.cjs';
9
- import '../ProviderProxy-QdwNV6l1.cjs';
10
- import '../provider-proxy/types.cjs';
11
- export { S as AccountHealthConfig, A as AccountProbeConfig, a as AllowanceSchedulingConfig, C as ChatDispatchMode, b as ConcurrencyQueueConfig, E as ENDPOINT_MODEL_KINDS, c as EndpointRoutingConfig, F as FingerprintConfig, G as GatewayBinding, d as GatewayBindingFallback, e as GatewayBindingKeyScope, f as GatewayBindingModelMode, g as GatewayBindingTarget, h as GatewayModelMapping, k as KindMappedEndpoint, M as MessagesModelKind, l as ModelKind, m as ModelPrefixTargets, Q as ModelRef, n as OutboundApiDeps, o as OutboundApiKeyCreated, p as OutboundApiKeyInfo, q as OutboundApiServerConfig, r as OutboundApiServerStatus, s as OutboundEndpoint, t as OutboundFormatUrls, u as OutboundKeyActivationMode, O as OutboundKeyDb, v as OutboundKeyDbRow, T as OutboundKeyModelRestrictionMode, w as OutboundKeyPolicy, x as OutboundProxyConfig, R as RequestRole, y as ResponsesModelKind, U as UserMessageQueueConfig } from '../types-C2MwkLah.cjs';
10
+ import '../ProviderProxy-CgIcCVwk.cjs';
11
+ import '../types-DsHBBk3h.cjs';
12
+ export { X as AccountHealthConfig, A as AccountProbeConfig, a as AllowanceSchedulingConfig, W as AnthropicConfigSegment, Y as AnthropicCountTokensMode, Z as AnthropicModelsShape, C as ChatDispatchMode, b as ConcurrencyQueueConfig, E as ENDPOINT_MODEL_KINDS, c as EndpointRoutingConfig, F as FingerprintConfig, G as GatewayBinding, d as GatewayBindingFallback, e as GatewayBindingKeyScope, f as GatewayBindingModelMode, g as GatewayBindingTarget, h as GatewayModelMapping, _ as ImageModelCatalogReader, I as ImagesServerConfig, k as KindMappedEndpoint, M as MessagesModelKind, l as ModelKind, m as ModelPrefixTargets, T as ModelRef, n as OutboundApiDeps, o as OutboundApiKeyCreated, p as OutboundApiKeyInfo, q as OutboundApiServerConfig, r as OutboundApiServerStatus, s as OutboundEndpoint, t as OutboundFormatUrls, u as OutboundKeyActivationMode, O as OutboundKeyDb, v as OutboundKeyDbRow, $ as OutboundKeyModelRestrictionMode, w as OutboundKeyPolicy, x as OutboundPermission, y as OutboundProxyConfig, R as RequestRole, z as ResponsesModelKind, U as UserMessageQueueConfig } from '../types-jjU24eYG.cjs';
12
13
  import '../pipeline/BoundAccountSelectionError.cjs';
14
+ import '@omnicross/contracts/image-generation-types';
15
+ import 'node:fs/promises';
13
16
  import '@omnicross/contracts/llm-config';
14
17
  import '../transformer/types.cjs';
15
18
  import '@omnicross/contracts/completion-types';
@@ -1,3 +1,4 @@
1
+ import '../types-Bd72H4SB.js';
1
2
  import '@omnicross/contracts/account-tokens-types';
2
3
  import '@omnicross/contracts/audit-types';
3
4
  import '@omnicross/contracts/billing-types';
@@ -6,10 +7,12 @@ import '@omnicross/contracts/voucher-types';
6
7
  import '@omnicross/contracts/webhook-types';
7
8
  import '../logger-4GvQNzhE.js';
8
9
  import '../ports/provider-config-source.js';
9
- import '../ProviderProxy--ROec6VI.js';
10
- import '../provider-proxy/types.js';
11
- export { S as AccountHealthConfig, A as AccountProbeConfig, a as AllowanceSchedulingConfig, C as ChatDispatchMode, b as ConcurrencyQueueConfig, E as ENDPOINT_MODEL_KINDS, c as EndpointRoutingConfig, F as FingerprintConfig, G as GatewayBinding, d as GatewayBindingFallback, e as GatewayBindingKeyScope, f as GatewayBindingModelMode, g as GatewayBindingTarget, h as GatewayModelMapping, k as KindMappedEndpoint, M as MessagesModelKind, l as ModelKind, m as ModelPrefixTargets, Q as ModelRef, n as OutboundApiDeps, o as OutboundApiKeyCreated, p as OutboundApiKeyInfo, q as OutboundApiServerConfig, r as OutboundApiServerStatus, s as OutboundEndpoint, t as OutboundFormatUrls, u as OutboundKeyActivationMode, O as OutboundKeyDb, v as OutboundKeyDbRow, T as OutboundKeyModelRestrictionMode, w as OutboundKeyPolicy, x as OutboundProxyConfig, R as RequestRole, y as ResponsesModelKind, U as UserMessageQueueConfig } from '../types-BB8pxk_3.js';
10
+ import '../ProviderProxy-DYoY5XoT.js';
11
+ import '../types-CVRge76p.js';
12
+ export { X as AccountHealthConfig, A as AccountProbeConfig, a as AllowanceSchedulingConfig, W as AnthropicConfigSegment, Y as AnthropicCountTokensMode, Z as AnthropicModelsShape, C as ChatDispatchMode, b as ConcurrencyQueueConfig, E as ENDPOINT_MODEL_KINDS, c as EndpointRoutingConfig, F as FingerprintConfig, G as GatewayBinding, d as GatewayBindingFallback, e as GatewayBindingKeyScope, f as GatewayBindingModelMode, g as GatewayBindingTarget, h as GatewayModelMapping, _ as ImageModelCatalogReader, I as ImagesServerConfig, k as KindMappedEndpoint, M as MessagesModelKind, l as ModelKind, m as ModelPrefixTargets, T as ModelRef, n as OutboundApiDeps, o as OutboundApiKeyCreated, p as OutboundApiKeyInfo, q as OutboundApiServerConfig, r as OutboundApiServerStatus, s as OutboundEndpoint, t as OutboundFormatUrls, u as OutboundKeyActivationMode, O as OutboundKeyDb, v as OutboundKeyDbRow, $ as OutboundKeyModelRestrictionMode, w as OutboundKeyPolicy, x as OutboundPermission, y as OutboundProxyConfig, R as RequestRole, z as ResponsesModelKind, U as UserMessageQueueConfig } from '../types-5T223WYQ.js';
12
13
  import '../pipeline/BoundAccountSelectionError.js';
14
+ import '@omnicross/contracts/image-generation-types';
15
+ import 'node:fs/promises';
13
16
  import '@omnicross/contracts/llm-config';
14
17
  import '../transformer/types.js';
15
18
  import '@omnicross/contracts/completion-types';
@@ -63,31 +63,41 @@
63
63
 
64
64
 
65
65
 
66
- var _chunkTIT74RILcjs = require('./chunk-TIT74RIL.cjs');
66
+
67
+
68
+
69
+
70
+
71
+
72
+
73
+ var _chunk7B56AJBBcjs = require('./chunk-7B56AJBB.cjs');
67
74
  require('./chunk-HQP3K7PU.cjs');
68
75
  require('./chunk-QVOB2DNX.cjs');
69
- require('./chunk-P7EM6BND.cjs');
70
- require('./chunk-ZQQUD66M.cjs');
71
- require('./chunk-5LNYGCIW.cjs');
72
- require('./chunk-CMVXX7ON.cjs');
76
+ require('./chunk-7ZHBN75N.cjs');
77
+ require('./chunk-3OPYJG76.cjs');
78
+ require('./chunk-TVYA5JSQ.cjs');
79
+ require('./chunk-NOITAVHA.cjs');
80
+ require('./chunk-QWNUOR7F.cjs');
81
+ require('./chunk-SQMAEDNE.cjs');
73
82
  require('./chunk-5RSZYQJH.cjs');
74
- require('./chunk-56QD3YW6.cjs');
75
- require('./chunk-QUSEZNYS.cjs');
83
+ require('./chunk-6DDYNS2B.cjs');
84
+ require('./chunk-KIQ2HA2A.cjs');
85
+ require('./chunk-32SRZFFP.cjs');
76
86
  require('./chunk-2E42SAW3.cjs');
77
87
  require('./chunk-5UK3KLE2.cjs');
78
- require('./chunk-IIRPUVPH.cjs');
79
88
  require('./chunk-GBHYAGX3.cjs');
80
- require('./chunk-3OPYJG76.cjs');
81
- require('./chunk-3SCOLIPT.cjs');
89
+ require('./chunk-MXI2PWIC.cjs');
82
90
  require('./chunk-RPII3E6Z.cjs');
83
91
  require('./chunk-6RPZADX3.cjs');
84
92
  require('./chunk-J3QQ6JS5.cjs');
85
93
  require('./chunk-UIBD2YY5.cjs');
86
94
  require('./chunk-R3HK6R4B.cjs');
95
+ require('./chunk-KQBLZMP6.cjs');
96
+ require('./chunk-OIKREZVQ.cjs');
87
97
  require('./chunk-QXD4MV2X.cjs');
88
98
  require('./chunk-NYUNU75A.cjs');
89
99
  require('./chunk-OTZC4TNH.cjs');
90
- require('./chunk-YWL7YZWS.cjs');
100
+ require('./chunk-7LRTPNFL.cjs');
91
101
  require('./chunk-YNJNTCSQ.cjs');
92
102
  require('./chunk-SVNDB62D.cjs');
93
103
  require('./chunk-6QQG7YG3.cjs');
@@ -96,12 +106,19 @@ require('./chunk-6QQG7YG3.cjs');
96
106
 
97
107
 
98
108
  var _chunk25GXJCEZcjs = require('./chunk-25GXJCEZ.cjs');
99
- require('./chunk-MUHWHQVM.cjs');
100
- require('./chunk-Q27JY5RG.cjs');
109
+
110
+
111
+ var _chunkFX325I5Qcjs = require('./chunk-FX325I5Q.cjs');
112
+ require('./chunk-AEOZIDEB.cjs');
113
+
114
+
115
+
116
+ var _chunkHCOQQAZEcjs = require('./chunk-HCOQQAZE.cjs');
101
117
 
102
118
 
103
119
  var _chunkAPYG5QD7cjs = require('./chunk-APYG5QD7.cjs');
104
120
  require('./chunk-L74VDN4A.cjs');
121
+ require('./chunk-XSVNC2UD.cjs');
105
122
  require('./chunk-4YINUUKQ.cjs');
106
123
 
107
124
 
@@ -118,34 +135,27 @@ require('./chunk-4YINUUKQ.cjs');
118
135
 
119
136
 
120
137
 
121
- var _chunk4VZX5F4Tcjs = require('./chunk-4VZX5F4T.cjs');
138
+ var _chunkT6NWPIYZcjs = require('./chunk-T6NWPIYZ.cjs');
122
139
  require('./chunk-QBZJ7P2T.cjs');
123
140
 
124
141
 
125
142
  var _chunk4IH4EL7Mcjs = require('./chunk-4IH4EL7M.cjs');
143
+ require('./chunk-JMJBSACD.cjs');
144
+ require('./chunk-GMMT7RVN.cjs');
145
+ require('./chunk-UNEFIWXI.cjs');
126
146
  require('./chunk-A2YMUCBT.cjs');
127
-
128
-
129
- var _chunkUWDW6PN3cjs = require('./chunk-UWDW6PN3.cjs');
130
-
131
-
132
-
133
- var _chunkFCR77GYMcjs = require('./chunk-FCR77GYM.cjs');
134
- require('./chunk-AEOZIDEB.cjs');
135
- require('./chunk-XSVNC2UD.cjs');
136
147
  require('./chunk-GDIXXKF2.cjs');
137
- require('./chunk-OC6DOOFX.cjs');
138
- require('./chunk-RICPANBY.cjs');
148
+ require('./chunk-VXRTQZF2.cjs');
149
+ require('./chunk-WX2E2G7H.cjs');
139
150
  require('./chunk-77USGNRW.cjs');
140
- require('./chunk-AOFWNWLT.cjs');
141
- require('./chunk-RJUONLUQ.cjs');
151
+ require('./chunk-IUL4VWNU.cjs');
152
+ require('./chunk-OST5RJOJ.cjs');
142
153
  require('./chunk-235MXAGX.cjs');
143
154
  require('./chunk-HVBBDBS3.cjs');
144
155
  require('./chunk-NKVZ6Z3Y.cjs');
156
+ require('./chunk-CTKM773J.cjs');
157
+ require('./chunk-G4CZIUIB.cjs');
145
158
  require('./chunk-NZYN7C3P.cjs');
146
- require('./chunk-JMJBSACD.cjs');
147
- require('./chunk-GMMT7RVN.cjs');
148
- require('./chunk-UNEFIWXI.cjs');
149
159
 
150
160
 
151
161
 
@@ -233,4 +243,11 @@ require('./chunk-UNEFIWXI.cjs');
233
243
 
234
244
 
235
245
 
236
- exports.AUDIT_REDACTED = _chunkFCR77GYMcjs.AUDIT_REDACTED; exports.BoundAccountSelectionError = _chunk25GXJCEZcjs.BoundAccountSelectionError; exports.ConcurrencyQueueFullError = _chunkTIT74RILcjs.ConcurrencyQueueFullError; exports.ConcurrencyWaitCancelledError = _chunkTIT74RILcjs.ConcurrencyWaitCancelledError; exports.ConcurrencyWaitTimeoutError = _chunkTIT74RILcjs.ConcurrencyWaitTimeoutError; exports.DEFAULT_ACCOUNT_PROBE = _chunkTIT74RILcjs.DEFAULT_ACCOUNT_PROBE; exports.DEFAULT_ALLOWANCE_SCHEDULING = _chunkTIT74RILcjs.DEFAULT_ALLOWANCE_SCHEDULING; exports.DEFAULT_CONCURRENCY_QUEUE = _chunkTIT74RILcjs.DEFAULT_CONCURRENCY_QUEUE; exports.DEFAULT_FINGERPRINT = _chunkTIT74RILcjs.DEFAULT_FINGERPRINT; exports.DEFAULT_OUTBOUND_PORT = _chunkTIT74RILcjs.DEFAULT_OUTBOUND_PORT; exports.DEFAULT_USER_MESSAGE_QUEUE = _chunkTIT74RILcjs.DEFAULT_USER_MESSAGE_QUEUE; exports.ENDPOINT_MODEL_KINDS = _chunk4IH4EL7Mcjs.ENDPOINT_MODEL_KINDS; exports.KeySpendTracker = _chunkTIT74RILcjs.KeySpendTracker; exports.KeyedMutex = _chunkTIT74RILcjs.KeyedMutex; exports.OUTBOUND_API_SERVER_CONFIG_KEY = _chunkTIT74RILcjs.OUTBOUND_API_SERVER_CONFIG_KEY; exports.OutboundApiServer = _chunkTIT74RILcjs.OutboundApiServer; exports.OutboundConcurrencyGate = _chunkTIT74RILcjs.OutboundConcurrencyGate; exports.OutboundRateLimiter = _chunkTIT74RILcjs.OutboundRateLimiter; exports.SUBSCRIPTION_PROVIDER_IDS = _chunk4VZX5F4Tcjs.SUBSCRIPTION_PROVIDER_IDS; exports.SerialQueueTimeoutError = _chunkTIT74RILcjs.SerialQueueTimeoutError; exports.UserMessageSerialQueue = _chunkTIT74RILcjs.UserMessageSerialQueue; exports.__resetOutboundApiServerForTests = _chunkTIT74RILcjs.__resetOutboundApiServerForTests; exports.beginAuditCapture = _chunkUWDW6PN3cjs.beginAuditCapture; exports.beginBillingCapture = _chunkAPYG5QD7cjs.beginBillingCapture; exports.boundAccountSelectionMessage = _chunk25GXJCEZcjs.boundAccountSelectionMessage; exports.candidateBackgroundModelIds = _chunkTIT74RILcjs.candidateBackgroundModelIds; exports.candidateGatewayBindings = _chunkTIT74RILcjs.candidateGatewayBindings; exports.checkKeyQuota = _chunkTIT74RILcjs.checkKeyQuota; exports.classifyModelPrefix = _chunk4VZX5F4Tcjs.classifyModelPrefix; exports.computeKeyExpiry = _chunkTIT74RILcjs.computeKeyExpiry; exports.computeVoucherGrant = _chunkTIT74RILcjs.computeVoucherGrant; exports.createIntegrationKey = _chunkTIT74RILcjs.createIntegrationKey; exports.createNamedKey = _chunkTIT74RILcjs.createNamedKey; exports.defaultServerConfig = _chunkTIT74RILcjs.defaultServerConfig; exports.detectModelKind = _chunk4VZX5F4Tcjs.detectModelKind; exports.detectRequestRole = _chunk4VZX5F4Tcjs.detectRequestRole; exports.endpointSupportsSubscription = _chunk4VZX5F4Tcjs.endpointSupportsSubscription; exports.endpointToIngressFormat = _chunk4VZX5F4Tcjs.endpointToIngressFormat; exports.formatUrls = _chunkTIT74RILcjs.formatUrls; exports.gatewayBindingToEndpointConfig = _chunkTIT74RILcjs.gatewayBindingToEndpointConfig; exports.generateVoucherCode = _chunkTIT74RILcjs.generateVoucherCode; exports.getOutboundApiServer = _chunkTIT74RILcjs.getOutboundApiServer; exports.handleVoucherRedeem = _chunkTIT74RILcjs.handleVoucherRedeem; exports.hashKey = _chunkTIT74RILcjs.hashKey; exports.hashVoucherCode = _chunkTIT74RILcjs.hashVoucherCode; exports.isBoundAccountSelectionError = _chunk25GXJCEZcjs.isBoundAccountSelectionError; exports.isConcurrencyRejection = _chunkTIT74RILcjs.isConcurrencyRejection; exports.isKindMappedEndpoint = _chunk4VZX5F4Tcjs.isKindMappedEndpoint; exports.isRedeemRequest = _chunkTIT74RILcjs.isRedeemRequest; exports.isSerialQueueTimeout = _chunkTIT74RILcjs.isSerialQueueTimeout; exports.isSubscriptionProviderId = _chunk4VZX5F4Tcjs.isSubscriptionProviderId; exports.isUserMessageRequest = _chunkTIT74RILcjs.isUserMessageRequest; exports.legacyEndpointsToBindings = _chunkTIT74RILcjs.legacyEndpointsToBindings; exports.loadServerConfig = _chunkTIT74RILcjs.loadServerConfig; exports.mergeServerConfig = _chunkTIT74RILcjs.mergeServerConfig; exports.modelKindsForEndpoint = _chunk4VZX5F4Tcjs.modelKindsForEndpoint; exports.newVoucherId = _chunkTIT74RILcjs.newVoucherId; exports.normalizeAccountProbe = _chunkTIT74RILcjs.normalizeAccountProbe; exports.normalizeAllowanceScheduling = _chunkTIT74RILcjs.normalizeAllowanceScheduling; exports.normalizeAudit = _chunkTIT74RILcjs.normalizeAudit; exports.normalizeBilling = _chunkTIT74RILcjs.normalizeBilling; exports.normalizeFingerprint = _chunkTIT74RILcjs.normalizeFingerprint; exports.normalizeGatewayBindings = _chunkTIT74RILcjs.normalizeGatewayBindings; exports.normalizePrefixTargets = _chunkTIT74RILcjs.normalizePrefixTargets; exports.normalizeProxyConfig = _chunkTIT74RILcjs.normalizeProxyConfig; exports.normalizeProxySegment = _chunkTIT74RILcjs.normalizeProxySegment; exports.normalizeQueueSegments = _chunkTIT74RILcjs.normalizeQueueSegments; exports.normalizeServerConfig = _chunkTIT74RILcjs.normalizeServerConfig; exports.normalizeVoucher = _chunkTIT74RILcjs.normalizeVoucher; exports.normalizeWebhookDestination = _chunkTIT74RILcjs.normalizeWebhookDestination; exports.normalizeWebhookSegment = _chunkTIT74RILcjs.normalizeWebhookSegment; exports.parseModelRef = _chunk4VZX5F4Tcjs.parseModelRef; exports.pickModelRefFromList = _chunk4VZX5F4Tcjs.pickModelRefFromList; exports.randomBase62 = _chunkTIT74RILcjs.randomBase62; exports.redactAuditText = _chunkFCR77GYMcjs.redactAuditText; exports.resolveGatewayBinding = _chunkTIT74RILcjs.resolveGatewayBinding; exports.resolvePrefixTarget = _chunk4VZX5F4Tcjs.resolvePrefixTarget; exports.resolveRoute = _chunk4VZX5F4Tcjs.resolveRoute; exports.saveServerConfig = _chunkTIT74RILcjs.saveServerConfig; exports.startOfLocalDay = _chunkTIT74RILcjs.startOfLocalDay; exports.startOfLocalWeek = _chunkTIT74RILcjs.startOfLocalWeek; exports.toVoucherInfo = _chunkTIT74RILcjs.toVoucherInfo; exports.validateEndpointModelConfig = _chunk4VZX5F4Tcjs.validateEndpointModelConfig; exports.verifyKey = _chunkTIT74RILcjs.verifyKey; exports.verifyPresentedKey = _chunkTIT74RILcjs.verifyPresentedKey; exports.voucherCodePrefix = _chunkTIT74RILcjs.voucherCodePrefix;
246
+
247
+
248
+
249
+
250
+
251
+
252
+
253
+ exports.AUDIT_REDACTED = _chunkHCOQQAZEcjs.AUDIT_REDACTED; exports.BoundAccountSelectionError = _chunk25GXJCEZcjs.BoundAccountSelectionError; exports.ConcurrencyQueueFullError = _chunk7B56AJBBcjs.ConcurrencyQueueFullError; exports.ConcurrencyWaitCancelledError = _chunk7B56AJBBcjs.ConcurrencyWaitCancelledError; exports.ConcurrencyWaitTimeoutError = _chunk7B56AJBBcjs.ConcurrencyWaitTimeoutError; exports.DEFAULT_ACCOUNT_PROBE = _chunk7B56AJBBcjs.DEFAULT_ACCOUNT_PROBE; exports.DEFAULT_ALLOWANCE_SCHEDULING = _chunk7B56AJBBcjs.DEFAULT_ALLOWANCE_SCHEDULING; exports.DEFAULT_CONCURRENCY_QUEUE = _chunk7B56AJBBcjs.DEFAULT_CONCURRENCY_QUEUE; exports.DEFAULT_FINGERPRINT = _chunk7B56AJBBcjs.DEFAULT_FINGERPRINT; exports.DEFAULT_IMAGES_SERVER_CONFIG = _chunk7B56AJBBcjs.DEFAULT_IMAGES_SERVER_CONFIG; exports.DEFAULT_OUTBOUND_PORT = _chunk7B56AJBBcjs.DEFAULT_OUTBOUND_PORT; exports.DEFAULT_USER_MESSAGE_QUEUE = _chunk7B56AJBBcjs.DEFAULT_USER_MESSAGE_QUEUE; exports.ENDPOINT_MODEL_KINDS = _chunk4IH4EL7Mcjs.ENDPOINT_MODEL_KINDS; exports.IMAGE_SERVER_HARD_CEILINGS = _chunk7B56AJBBcjs.IMAGE_SERVER_HARD_CEILINGS; exports.KeySpendTracker = _chunk7B56AJBBcjs.KeySpendTracker; exports.KeyedMutex = _chunk7B56AJBBcjs.KeyedMutex; exports.LEGACY_OUTBOUND_PERMISSIONS = _chunk7B56AJBBcjs.LEGACY_OUTBOUND_PERMISSIONS; exports.OUTBOUND_API_SERVER_CONFIG_KEY = _chunk7B56AJBBcjs.OUTBOUND_API_SERVER_CONFIG_KEY; exports.OutboundApiServer = _chunk7B56AJBBcjs.OutboundApiServer; exports.OutboundConcurrencyGate = _chunk7B56AJBBcjs.OutboundConcurrencyGate; exports.OutboundRateLimiter = _chunk7B56AJBBcjs.OutboundRateLimiter; exports.SUBSCRIPTION_PROVIDER_IDS = _chunkT6NWPIYZcjs.SUBSCRIPTION_PROVIDER_IDS; exports.SerialQueueTimeoutError = _chunk7B56AJBBcjs.SerialQueueTimeoutError; exports.UserMessageSerialQueue = _chunk7B56AJBBcjs.UserMessageSerialQueue; exports.__resetOutboundApiServerForTests = _chunk7B56AJBBcjs.__resetOutboundApiServerForTests; exports.beginAuditCapture = _chunkFX325I5Qcjs.beginAuditCapture; exports.beginBillingCapture = _chunkAPYG5QD7cjs.beginBillingCapture; exports.boundAccountSelectionMessage = _chunk25GXJCEZcjs.boundAccountSelectionMessage; exports.candidateBackgroundModelIds = _chunk7B56AJBBcjs.candidateBackgroundModelIds; exports.candidateGatewayBindings = _chunk7B56AJBBcjs.candidateGatewayBindings; exports.checkKeyQuota = _chunk7B56AJBBcjs.checkKeyQuota; exports.classifyModelPrefix = _chunkT6NWPIYZcjs.classifyModelPrefix; exports.computeKeyExpiry = _chunk7B56AJBBcjs.computeKeyExpiry; exports.computeVoucherGrant = _chunk7B56AJBBcjs.computeVoucherGrant; exports.createIntegrationKey = _chunk7B56AJBBcjs.createIntegrationKey; exports.createNamedKey = _chunk7B56AJBBcjs.createNamedKey; exports.defaultServerConfig = _chunk7B56AJBBcjs.defaultServerConfig; exports.detectModelKind = _chunkT6NWPIYZcjs.detectModelKind; exports.detectRequestRole = _chunkT6NWPIYZcjs.detectRequestRole; exports.effectiveOutboundPermissions = _chunk7B56AJBBcjs.effectiveOutboundPermissions; exports.endpointSupportsSubscription = _chunkT6NWPIYZcjs.endpointSupportsSubscription; exports.endpointToIngressFormat = _chunkT6NWPIYZcjs.endpointToIngressFormat; exports.formatUrls = _chunk7B56AJBBcjs.formatUrls; exports.gatewayBindingToEndpointConfig = _chunk7B56AJBBcjs.gatewayBindingToEndpointConfig; exports.generateVoucherCode = _chunk7B56AJBBcjs.generateVoucherCode; exports.getOutboundApiServer = _chunk7B56AJBBcjs.getOutboundApiServer; exports.handleVoucherRedeem = _chunk7B56AJBBcjs.handleVoucherRedeem; exports.hashKey = _chunk7B56AJBBcjs.hashKey; exports.hashVoucherCode = _chunk7B56AJBBcjs.hashVoucherCode; exports.isBoundAccountSelectionError = _chunk25GXJCEZcjs.isBoundAccountSelectionError; exports.isConcurrencyRejection = _chunk7B56AJBBcjs.isConcurrencyRejection; exports.isKindMappedEndpoint = _chunkT6NWPIYZcjs.isKindMappedEndpoint; exports.isRedeemRequest = _chunk7B56AJBBcjs.isRedeemRequest; exports.isSerialQueueTimeout = _chunk7B56AJBBcjs.isSerialQueueTimeout; exports.isSubscriptionProviderId = _chunkT6NWPIYZcjs.isSubscriptionProviderId; exports.isUserMessageRequest = _chunk7B56AJBBcjs.isUserMessageRequest; exports.legacyEndpointsToBindings = _chunk7B56AJBBcjs.legacyEndpointsToBindings; exports.loadServerConfig = _chunk7B56AJBBcjs.loadServerConfig; exports.mergeServerConfig = _chunk7B56AJBBcjs.mergeServerConfig; exports.modelKindsForEndpoint = _chunkT6NWPIYZcjs.modelKindsForEndpoint; exports.newVoucherId = _chunk7B56AJBBcjs.newVoucherId; exports.normalizeAccountProbe = _chunk7B56AJBBcjs.normalizeAccountProbe; exports.normalizeAllowanceScheduling = _chunk7B56AJBBcjs.normalizeAllowanceScheduling; exports.normalizeAudit = _chunk7B56AJBBcjs.normalizeAudit; exports.normalizeBilling = _chunk7B56AJBBcjs.normalizeBilling; exports.normalizeFingerprint = _chunk7B56AJBBcjs.normalizeFingerprint; exports.normalizeGatewayBindings = _chunk7B56AJBBcjs.normalizeGatewayBindings; exports.normalizeImagesServerConfig = _chunk7B56AJBBcjs.normalizeImagesServerConfig; exports.normalizePrefixTargets = _chunk7B56AJBBcjs.normalizePrefixTargets; exports.normalizeProxyConfig = _chunk7B56AJBBcjs.normalizeProxyConfig; exports.normalizeProxySegment = _chunk7B56AJBBcjs.normalizeProxySegment; exports.normalizeQueueSegments = _chunk7B56AJBBcjs.normalizeQueueSegments; exports.normalizeServerConfig = _chunk7B56AJBBcjs.normalizeServerConfig; exports.normalizeVoucher = _chunk7B56AJBBcjs.normalizeVoucher; exports.normalizeWebhookDestination = _chunk7B56AJBBcjs.normalizeWebhookDestination; exports.normalizeWebhookSegment = _chunk7B56AJBBcjs.normalizeWebhookSegment; exports.parseModelRef = _chunkT6NWPIYZcjs.parseModelRef; exports.pickModelRefFromList = _chunkT6NWPIYZcjs.pickModelRefFromList; exports.randomBase62 = _chunk7B56AJBBcjs.randomBase62; exports.redactAuditText = _chunkHCOQQAZEcjs.redactAuditText; exports.resolveGatewayBinding = _chunk7B56AJBBcjs.resolveGatewayBinding; exports.resolvePrefixTarget = _chunkT6NWPIYZcjs.resolvePrefixTarget; exports.resolveRoute = _chunkT6NWPIYZcjs.resolveRoute; exports.saveServerConfig = _chunk7B56AJBBcjs.saveServerConfig; exports.startOfLocalDay = _chunk7B56AJBBcjs.startOfLocalDay; exports.startOfLocalWeek = _chunk7B56AJBBcjs.startOfLocalWeek; exports.toVoucherInfo = _chunk7B56AJBBcjs.toVoucherInfo; exports.validateEndpointModelConfig = _chunkT6NWPIYZcjs.validateEndpointModelConfig; exports.validateImagesServerConfig = _chunk7B56AJBBcjs.validateImagesServerConfig; exports.validateOutboundPermissions = _chunk7B56AJBBcjs.validateOutboundPermissions; exports.verifyKey = _chunk7B56AJBBcjs.verifyKey; exports.verifyPresentedKey = _chunk7B56AJBBcjs.verifyPresentedKey; exports.voucherCodePrefix = _chunk7B56AJBBcjs.voucherCodePrefix;
@@ -1,18 +1,19 @@
1
1
  import { VoucherConfig } from '@omnicross/contracts/voucher-types';
2
- import { c as EndpointRoutingConfig, G as GatewayBinding, U as UserMessageQueueConfig, b as ConcurrencyQueueConfig, n as OutboundApiDeps, r as OutboundApiServerStatus, t as OutboundFormatUrls, A as AccountProbeConfig, a as AllowanceSchedulingConfig, F as FingerprintConfig, q as OutboundApiServerConfig, m as ModelPrefixTargets, x as OutboundProxyConfig, s as OutboundEndpoint, R as RequestRole, Q as ModelRef, k as KindMappedEndpoint, l as ModelKind, O as OutboundKeyDb, o as OutboundApiKeyCreated } from './types-C2MwkLah.cjs';
3
- export { C as ChatDispatchMode, E as ENDPOINT_MODEL_KINDS, d as GatewayBindingFallback, e as GatewayBindingKeyScope, f as GatewayBindingModelMode, g as GatewayBindingTarget, h as GatewayModelMapping, K as KeySpendReader, i as KeySpendSeeder, j as KeySpendTracker, M as MessagesModelKind, p as OutboundApiKeyInfo, u as OutboundKeyActivationMode, v as OutboundKeyDbRow, w as OutboundKeyPolicy, y as ResponsesModelKind, V as VoucherCreateInput, z as VoucherDb, B as computeVoucherGrant, D as generateVoucherCode, H as hashVoucherCode, I as newVoucherId, J as startOfLocalDay, L as startOfLocalWeek, N as toVoucherInfo, P as voucherCodePrefix } from './types-C2MwkLah.cjs';
2
+ import { c as EndpointRoutingConfig, G as GatewayBinding, U as UserMessageQueueConfig, b as ConcurrencyQueueConfig, W as AnthropicConfigSegment, n as OutboundApiDeps, r as OutboundApiServerStatus, t as OutboundFormatUrls, A as AccountProbeConfig, a as AllowanceSchedulingConfig, F as FingerprintConfig, q as OutboundApiServerConfig, m as ModelPrefixTargets, y as OutboundProxyConfig, I as ImagesServerConfig, s as OutboundEndpoint, R as RequestRole, T as ModelRef, k as KindMappedEndpoint, l as ModelKind, x as OutboundPermission, O as OutboundKeyDb, o as OutboundApiKeyCreated } from './types-jjU24eYG.cjs';
3
+ export { C as ChatDispatchMode, E as ENDPOINT_MODEL_KINDS, d as GatewayBindingFallback, e as GatewayBindingKeyScope, f as GatewayBindingModelMode, g as GatewayBindingTarget, h as GatewayModelMapping, K as KeySpendReader, i as KeySpendSeeder, j as KeySpendTracker, M as MessagesModelKind, p as OutboundApiKeyInfo, u as OutboundKeyActivationMode, v as OutboundKeyDbRow, w as OutboundKeyPolicy, z as ResponsesModelKind, V as VoucherCreateInput, B as VoucherDb, D as computeVoucherGrant, H as generateVoucherCode, J as hashVoucherCode, L as newVoucherId, N as startOfLocalDay, P as startOfLocalWeek, Q as toVoucherInfo, S as voucherCodePrefix } from './types-jjU24eYG.cjs';
4
4
  import { ProxyConfig } from '@omnicross/contracts/account-tokens-types';
5
5
  import { AuditConfig } from '@omnicross/contracts/audit-types';
6
6
  import { BillingConfig } from '@omnicross/contracts/billing-types';
7
7
  import { WebhookDestination, WebhookConfig } from '@omnicross/contracts/webhook-types';
8
+ import { e as ImageApiLimits } from './types-CbglB73l.cjs';
8
9
  export { AUDIT_REDACTED, redactAuditText } from './outbound-api/auditRedact.cjs';
9
10
  export { AuditCaptureContext, beginAuditCapture } from './outbound-api/auditCapture.cjs';
10
11
  export { BillingCaptureContext, beginBillingCapture } from './outbound-api/billingCapture.cjs';
11
12
  import { K as KeyCostLimits, M as ModelRestriction } from './keyPolicy-zdWTu3CQ.cjs';
12
13
  export { a as KeyExpiryInput, b as KeyExpiryResult, c as KeySpend, Q as QuotaDecision, d as checkKeyQuota, e as computeKeyExpiry } from './keyPolicy-zdWTu3CQ.cjs';
13
14
  import http from 'node:http';
14
- import { IngressFormat } from './provider-proxy/types.cjs';
15
- export { S as SUBSCRIPTION_PROVIDER_IDS, e as endpointSupportsSubscription, i as isSubscriptionProviderId, p as parseModelRef, a as pickModelRefFromList, r as resolveRoute } from './routeResolver-CVFE8KKe.cjs';
15
+ import { D as IngressFormat } from './types-DsHBBk3h.cjs';
16
+ export { S as SUBSCRIPTION_PROVIDER_IDS, e as endpointSupportsSubscription, i as isSubscriptionProviderId, p as parseModelRef, a as pickModelRefFromList, r as resolveRoute } from './routeResolver-rpKQLyDO.cjs';
16
17
  export { BoundAccountFallbackPolicy, BoundAccountSelectionError, BoundAccountSelectionFailureReason, boundAccountSelectionMessage, isBoundAccountSelectionError } from './pipeline/BoundAccountSelectionError.cjs';
17
18
  import '@omnicross/contracts/health-logging-types';
18
19
  import './logger-4GvQNzhE.cjs';
@@ -21,7 +22,9 @@ import '@omnicross/contracts/llm-config';
21
22
  import './transformer/types.cjs';
22
23
  import '@omnicross/contracts/completion-types';
23
24
  import './transformer/TransformerService.cjs';
24
- import './ProviderProxy-QdwNV6l1.cjs';
25
+ import './ProviderProxy-CgIcCVwk.cjs';
26
+ import '@omnicross/contracts/image-generation-types';
27
+ import 'node:fs/promises';
25
28
  import '@omnicross/contracts/usage-stats-types';
26
29
  import '@omnicross/contracts/subscription-types';
27
30
  import '@omnicross/contracts/usage-types';
@@ -62,6 +65,8 @@ declare const DEFAULT_OUTBOUND_PORT = 8765;
62
65
  interface ApplyConfigInput {
63
66
  enabled: boolean;
64
67
  networkBinding: boolean;
68
+ /** Additive Images URL publication; serving still depends on runtime capability. */
69
+ imagesEnabled?: boolean;
65
70
  endpoints: EndpointRoutingConfig[];
66
71
  /** Independent resource bindings; absent preserves legacy endpoint routing. */
67
72
  bindings?: GatewayBinding[];
@@ -73,6 +78,15 @@ interface ApplyConfigInput {
73
78
  /** Voucher segment (voucher-redemption #9). Read live per request; absent ⇒
74
79
  * disabled ⇒ the `/redeem` endpoint is inert (zero regression). */
75
80
  voucher?: VoucherConfig;
81
+ /** Anthropic-protocol segment (claude-api-protocol-fidelity, §10). Read live
82
+ * per request; the heartbeat value is hot-applied to the stream synthesizer. */
83
+ anthropic?: AnthropicConfigSegment;
84
+ }
85
+ /** Prepared listener/config publication used by the daemon's settings transaction. */
86
+ interface PreparedOutboundApiConfig {
87
+ publish(): Promise<void>;
88
+ rollback(): Promise<void>;
89
+ dispose(): Promise<void>;
76
90
  }
77
91
  declare class OutboundApiServer {
78
92
  private readonly deps;
@@ -86,6 +100,10 @@ declare class OutboundApiServer {
86
100
  private userMessageQueue;
87
101
  private concurrencyQueue;
88
102
  private voucherConfig;
103
+ private anthropicConfig;
104
+ private imagesEnabled;
105
+ /** R10 `/api/hello` switch (§10 `anthropic.apiHello`, default true). */
106
+ private apiHelloEnabled;
89
107
  private readonly rateLimiter;
90
108
  /**
91
109
  * Redeem-attempt limiter (voucher-redemption #9, design D6) — a SEPARATE bucket
@@ -111,12 +129,35 @@ declare class OutboundApiServer {
111
129
  * in place (read live per request — no restart).
112
130
  */
113
131
  applyConfig(input: ApplyConfigInput): Promise<void>;
132
+ /**
133
+ * Prepare any new listener before persistence when the target can coexist with
134
+ * the current socket. A live fixed-port address-only change cannot be made
135
+ * failure-atomic on every supported platform because the replacement cannot
136
+ * coexist with the old socket, so reject it before persistence instead of
137
+ * performing a fallible close-then-bind during publication.
138
+ */
139
+ prepareConfig(input: ApplyConfigInput): Promise<PreparedOutboundApiConfig>;
114
140
  /** Start the listener on `bindAddr:port`, falling back on EADDRINUSE. */
115
141
  start(bindAddr: string, port: number): Promise<number>;
116
142
  /** Bind once; on EADDRINUSE retry with an ephemeral port (port 0). */
117
- private listen;
143
+ private listenDetached;
144
+ private createHttpServer;
145
+ private installConfigSnapshot;
146
+ private captureRuntimeSnapshot;
147
+ private installRuntimeSnapshot;
148
+ private restoreRuntimeSnapshot;
149
+ private closeServer;
150
+ /** Publication already swapped the authoritative pointer; retirement cannot fail it. */
151
+ private closePublishedServer;
152
+ private announcePublishedListener;
118
153
  /** Per-request handler. Auth is enforced on EVERY request (incl. loopback). */
119
154
  private onRequest;
155
+ /**
156
+ * Serve `HEAD /api/hello` (exact path, query tolerated) with a bare 200 —
157
+ * returning true when it handled the request. Unauthenticated by design and
158
+ * gated on `anthropic.apiHello` (default true).
159
+ */
160
+ private tryServeApiHello;
120
161
  /**
121
162
  * Serve `GET|HEAD /health` (+ `/healthz`) from the injected provider, returning
122
163
  * true when it handled the request. 200 when `ok`, else 503; secret-free body.
@@ -321,6 +362,43 @@ declare function saveServerConfig(store: ApiServerSettingsStore, config: Outboun
321
362
  /** Apply a partial patch to a config, returning the merged whole. */
322
363
  declare function mergeServerConfig(current: OutboundApiServerConfig, patch: Partial<OutboundApiServerConfig>): OutboundApiServerConfig;
323
364
 
365
+ /** Immutable upper bounds used by both tolerant reads and strict admin writes. */
366
+ declare const IMAGE_SERVER_HARD_CEILINGS: Readonly<{
367
+ queue: Readonly<{
368
+ maxConcurrentJobsPerAccount: 8;
369
+ maxQueuedJobs: 1000;
370
+ queueTimeoutMs: number;
371
+ generationTimeoutMs: number;
372
+ }>;
373
+ temporary: Readonly<{
374
+ maxActiveScopes: 256;
375
+ maxTotalBytes: number;
376
+ maxTenantBytes: number;
377
+ staleAfterMs: number;
378
+ cleanupIntervalMs: number;
379
+ }>;
380
+ limits: Readonly<ImageApiLimits>;
381
+ references: Readonly<{
382
+ ttlMs: number;
383
+ maxArtifactBytes: number;
384
+ maxTotalBytes: number;
385
+ maxTenantBytes: number;
386
+ maxEntries: 1000000;
387
+ maxCalls: 2000000;
388
+ maxResponses: 1000000;
389
+ maxTombstones: 2000000;
390
+ tombstoneTtlMs: number;
391
+ cleanupIntervalMs: number;
392
+ }>;
393
+ evidenceTtlMs: number;
394
+ }>;
395
+ /** Migration-safe default: configured off, finite everywhere, and remote-disabled. */
396
+ declare const DEFAULT_IMAGES_SERVER_CONFIG: Readonly<ImagesServerConfig>;
397
+ /** Tolerant read normalization: malformed members fall back or clamp, never throw. */
398
+ declare function normalizeImagesServerConfig(value: unknown): ImagesServerConfig;
399
+ /** Strict structural/range validation. Daemon validation adds filesystem and resolver policy. */
400
+ declare function validateImagesServerConfig(value: unknown): string[];
401
+
324
402
  /**
325
403
  * Either the winning route projected to the resolver shape, or `none` — no
326
404
  * enabled route for this key/endpoint could serve the request. There is no
@@ -690,7 +768,15 @@ declare function createNamedKey(db: OutboundKeyDb, name: string): Promise<Outbou
690
768
  * Mint the local gateway key used by native CLI configuration adapters. Unlike
691
769
  * a user-distributed key it is explicitly loopback-only and endpoint-scoped.
692
770
  */
693
- declare function createIntegrationKey(db: OutboundKeyDb, name: string, allowedEndpoints?: OutboundEndpoint[]): Promise<OutboundApiKeyCreated>;
771
+ declare function createIntegrationKey(db: OutboundKeyDb, name: string, allowedEndpoints?: OutboundPermission[]): Promise<OutboundApiKeyCreated>;
772
+ declare const LEGACY_OUTBOUND_PERMISSIONS: readonly OutboundPermission[];
773
+ /** Strict write-edge validator. Stored-row reads use fail-closed interpretation below. */
774
+ declare function validateOutboundPermissions(value: unknown): OutboundPermission[];
775
+ /**
776
+ * Authoritative legacy interpretation. Absence preserves only the four historic
777
+ * families; malformed persisted data denies all instead of widening access.
778
+ */
779
+ declare function effectiveOutboundPermissions(value: unknown): readonly OutboundPermission[];
694
780
  /**
695
781
  * A verified key + the enforcement inputs carried from the row so the wire layer
696
782
  * runs its policy checks WITHOUT a second DB read (mirrors `maxConcurrency`).
@@ -698,7 +784,7 @@ declare function createIntegrationKey(db: OutboundKeyDb, name: string, allowedEn
698
784
  interface VerifiedKey {
699
785
  id: string;
700
786
  kind?: 'client' | 'integration';
701
- allowedEndpoints?: OutboundEndpoint[];
787
+ allowedEndpoints: OutboundPermission[];
702
788
  loopbackOnly?: boolean;
703
789
  /**
704
790
  * The key's per-key concurrency ceiling, carried from the row so the wire
@@ -920,4 +1006,4 @@ declare function getOutboundApiServer(deps?: OutboundApiDeps, onPortChange?: (po
920
1006
  /** Reset the singleton (tests / teardown only). */
921
1007
  declare function __resetOutboundApiServerForTests(): void;
922
1008
 
923
- export { AccountProbeConfig, AllowanceSchedulingConfig, type ApiServerSettingsStore, type ApplyConfigInput, ConcurrencyQueueConfig, ConcurrencyQueueFullError, ConcurrencyWaitCancelledError, ConcurrencyWaitTimeoutError, DEFAULT_ACCOUNT_PROBE, DEFAULT_ALLOWANCE_SCHEDULING, DEFAULT_CONCURRENCY_QUEUE, DEFAULT_FINGERPRINT, DEFAULT_OUTBOUND_PORT, DEFAULT_USER_MESSAGE_QUEUE, EndpointRoutingConfig, FingerprintConfig, type GateAcquireOptions, type GateAcquisition, type GateSlot, type GateStatusEntry, GatewayBinding, type GatewayBindingResolution, KeyCostLimits, type KeyVerification, KeyedMutex, KindMappedEndpoint, ModelKind, type ModelPrefixKind, ModelPrefixTargets, OUTBOUND_API_SERVER_CONFIG_KEY, OutboundApiDeps, OutboundApiKeyCreated, OutboundApiServer, OutboundApiServerConfig, OutboundApiServerStatus, OutboundConcurrencyGate, OutboundEndpoint, OutboundFormatUrls, OutboundKeyDb, OutboundProxyConfig, OutboundRateLimiter, RequestRole, type ResolveGatewayBindingInput, type SerialAcquireOptions, type SerialQueueStatusEntry, SerialQueueTimeoutError, type SerialSlot, UserMessageQueueConfig, UserMessageSerialQueue, type VerifiedKey, __resetOutboundApiServerForTests, candidateBackgroundModelIds, candidateGatewayBindings, classifyModelPrefix, createIntegrationKey, createNamedKey, defaultServerConfig, detectModelKind, detectRequestRole, endpointToIngressFormat, formatUrls, gatewayBindingToEndpointConfig, getOutboundApiServer, handleVoucherRedeem, hashKey, isConcurrencyRejection, isKindMappedEndpoint, isRedeemRequest, isSerialQueueTimeout, isUserMessageRequest, legacyEndpointsToBindings, loadServerConfig, mergeServerConfig, modelKindsForEndpoint, normalizeAccountProbe, normalizeAllowanceScheduling, normalizeAudit, normalizeBilling, normalizeFingerprint, normalizeGatewayBindings, normalizePrefixTargets, normalizeProxyConfig, normalizeProxySegment, normalizeQueueSegments, normalizeServerConfig, normalizeVoucher, normalizeWebhookDestination, normalizeWebhookSegment, randomBase62, resolveGatewayBinding, resolvePrefixTarget, saveServerConfig, validateEndpointModelConfig, verifyKey, verifyPresentedKey };
1009
+ export { AccountProbeConfig, AllowanceSchedulingConfig, type ApiServerSettingsStore, type ApplyConfigInput, ConcurrencyQueueConfig, ConcurrencyQueueFullError, ConcurrencyWaitCancelledError, ConcurrencyWaitTimeoutError, DEFAULT_ACCOUNT_PROBE, DEFAULT_ALLOWANCE_SCHEDULING, DEFAULT_CONCURRENCY_QUEUE, DEFAULT_FINGERPRINT, DEFAULT_IMAGES_SERVER_CONFIG, DEFAULT_OUTBOUND_PORT, DEFAULT_USER_MESSAGE_QUEUE, EndpointRoutingConfig, FingerprintConfig, type GateAcquireOptions, type GateAcquisition, type GateSlot, type GateStatusEntry, GatewayBinding, type GatewayBindingResolution, IMAGE_SERVER_HARD_CEILINGS, ImagesServerConfig, KeyCostLimits, type KeyVerification, KeyedMutex, KindMappedEndpoint, LEGACY_OUTBOUND_PERMISSIONS, ModelKind, type ModelPrefixKind, ModelPrefixTargets, OUTBOUND_API_SERVER_CONFIG_KEY, OutboundApiDeps, OutboundApiKeyCreated, OutboundApiServer, OutboundApiServerConfig, OutboundApiServerStatus, OutboundConcurrencyGate, OutboundEndpoint, OutboundFormatUrls, OutboundKeyDb, OutboundPermission, OutboundProxyConfig, OutboundRateLimiter, type PreparedOutboundApiConfig, RequestRole, type ResolveGatewayBindingInput, type SerialAcquireOptions, type SerialQueueStatusEntry, SerialQueueTimeoutError, type SerialSlot, UserMessageQueueConfig, UserMessageSerialQueue, type VerifiedKey, __resetOutboundApiServerForTests, candidateBackgroundModelIds, candidateGatewayBindings, classifyModelPrefix, createIntegrationKey, createNamedKey, defaultServerConfig, detectModelKind, detectRequestRole, effectiveOutboundPermissions, endpointToIngressFormat, formatUrls, gatewayBindingToEndpointConfig, getOutboundApiServer, handleVoucherRedeem, hashKey, isConcurrencyRejection, isKindMappedEndpoint, isRedeemRequest, isSerialQueueTimeout, isUserMessageRequest, legacyEndpointsToBindings, loadServerConfig, mergeServerConfig, modelKindsForEndpoint, normalizeAccountProbe, normalizeAllowanceScheduling, normalizeAudit, normalizeBilling, normalizeFingerprint, normalizeGatewayBindings, normalizeImagesServerConfig, normalizePrefixTargets, normalizeProxyConfig, normalizeProxySegment, normalizeQueueSegments, normalizeServerConfig, normalizeVoucher, normalizeWebhookDestination, normalizeWebhookSegment, randomBase62, resolveGatewayBinding, resolvePrefixTarget, saveServerConfig, validateEndpointModelConfig, validateImagesServerConfig, validateOutboundPermissions, verifyKey, verifyPresentedKey };