@omnicross/core 0.2.0 → 0.3.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 (119) hide show
  1. package/dist/{BuiltinToolExecutor-CS2WpXhM.d.cts → BuiltinToolExecutor-BHgH-EaZ.d.cts} +25 -2
  2. package/dist/{BuiltinToolExecutor-BluWyeob.d.ts → BuiltinToolExecutor-Bi1LmiTP.d.ts} +25 -2
  3. package/dist/{CompletionService-BiJqftc-.d.cts → CompletionService-BniP7j88.d.cts} +2 -2
  4. package/dist/{CompletionService-NXN_Av5W.d.ts → CompletionService-BqrKPwfA.d.ts} +2 -2
  5. package/dist/{ProviderProxy-CgIcCVwk.d.cts → ProviderProxy-Bz_nkOwq.d.cts} +1 -1
  6. package/dist/{ProviderProxy-DYoY5XoT.d.ts → ProviderProxy-Ckr6oTrE.d.ts} +1 -1
  7. package/dist/auth/GeminiCodeAssistProjectResolver.cjs +2 -2
  8. package/dist/auth/GeminiCodeAssistProjectResolver.js +1 -1
  9. package/dist/{chunk-FJNKXOWE.js → chunk-2C3TTBS7.js} +4 -4
  10. package/dist/{chunk-NZYN7C3P.cjs → chunk-2RCCLQYV.cjs} +53 -53
  11. package/dist/{chunk-CDHS2QDC.js → chunk-4PFWFODB.js} +53 -53
  12. package/dist/{chunk-OST5RJOJ.cjs → chunk-4Z3ZLLC2.cjs} +13 -7
  13. package/dist/chunk-7RJI3NDI.cjs +236 -0
  14. package/dist/chunk-BTBEJRGL.cjs +781 -0
  15. package/dist/chunk-DBBR6RHF.js +236 -0
  16. package/dist/chunk-DXWFBBSK.js +781 -0
  17. package/dist/chunk-E4QHVXV5.cjs +118 -0
  18. package/dist/chunk-L7O2YQ5O.js +386 -0
  19. package/dist/{chunk-WSJE42SG.js → chunk-LKDAN4D7.js} +3684 -2462
  20. package/dist/{chunk-DEIUR2TH.js → chunk-LQYS2N47.js} +12 -8
  21. package/dist/chunk-MZEGQSKQ.js +118 -0
  22. package/dist/chunk-PTU7SXM3.cjs +386 -0
  23. package/dist/{chunk-CTKM773J.cjs → chunk-UPQIWJIE.cjs} +12 -8
  24. package/dist/{chunk-CFSGYFOZ.js → chunk-VL5TUDTM.js} +7 -1
  25. package/dist/{chunk-7B56AJBB.cjs → chunk-VSYQ6XYN.cjs} +2233 -1011
  26. package/dist/{chunk-TVYA5JSQ.cjs → chunk-ZAPN7XA6.cjs} +5 -5
  27. package/dist/completion/BuiltinToolExecutor.cjs +2 -2
  28. package/dist/completion/BuiltinToolExecutor.d.cts +3 -1
  29. package/dist/completion/BuiltinToolExecutor.d.ts +3 -1
  30. package/dist/completion/BuiltinToolExecutor.js +1 -1
  31. package/dist/completion/CompletionService.cjs +11 -10
  32. package/dist/completion/CompletionService.d.cts +6 -3
  33. package/dist/completion/CompletionService.d.ts +6 -3
  34. package/dist/completion/CompletionService.js +10 -9
  35. package/dist/completion.cjs +11 -10
  36. package/dist/completion.d.cts +6 -3
  37. package/dist/completion.d.ts +6 -3
  38. package/dist/completion.js +10 -9
  39. package/dist/egress-I46O_p5L.d.cts +126 -0
  40. package/dist/egress-I46O_p5L.d.ts +126 -0
  41. package/dist/frontends-Doz0RaWu.d.cts +97 -0
  42. package/dist/frontends-Doz0RaWu.d.ts +97 -0
  43. package/dist/image-generation.cjs +2 -2
  44. package/dist/image-generation.d.cts +7 -4
  45. package/dist/image-generation.d.ts +7 -4
  46. package/dist/image-generation.js +1 -1
  47. package/dist/index.cjs +25 -10
  48. package/dist/index.d.cts +12 -8
  49. package/dist/index.d.ts +12 -8
  50. package/dist/index.js +24 -9
  51. package/dist/openai-operation.d.cts +4 -1
  52. package/dist/openai-operation.d.ts +4 -1
  53. package/dist/outbound-api/routeResolver.d.cts +9 -5
  54. package/dist/outbound-api/routeResolver.d.ts +9 -5
  55. package/dist/outbound-api/subscriptionRegistryPort.d.cts +4 -1
  56. package/dist/outbound-api/subscriptionRegistryPort.d.ts +4 -1
  57. package/dist/outbound-api/types.d.cts +8 -4
  58. package/dist/outbound-api/types.d.ts +8 -4
  59. package/dist/outbound-api.cjs +25 -10
  60. package/dist/outbound-api.d.cts +117 -8
  61. package/dist/outbound-api.d.ts +117 -8
  62. package/dist/outbound-api.js +24 -9
  63. package/dist/pipeline/AccountAllowanceScheduling.d.cts +8 -4
  64. package/dist/pipeline/AccountAllowanceScheduling.d.ts +8 -4
  65. package/dist/pipeline/upstreamFetch.cjs +2 -2
  66. package/dist/pipeline/upstreamFetch.js +1 -1
  67. package/dist/ports.d.cts +8 -4
  68. package/dist/ports.d.ts +8 -4
  69. package/dist/provider-proxy/ProviderProxy.cjs +11 -10
  70. package/dist/provider-proxy/ProviderProxy.d.cts +5 -2
  71. package/dist/provider-proxy/ProviderProxy.d.ts +5 -2
  72. package/dist/provider-proxy/ProviderProxy.js +10 -9
  73. package/dist/provider-proxy/ingress/providerProxyShared.cjs +13 -10
  74. package/dist/provider-proxy/ingress/providerProxyShared.d.cts +22 -3
  75. package/dist/provider-proxy/ingress/providerProxyShared.d.ts +22 -3
  76. package/dist/provider-proxy/ingress/providerProxyShared.js +12 -9
  77. package/dist/provider-proxy/types.d.cts +4 -1
  78. package/dist/provider-proxy/types.d.ts +4 -1
  79. package/dist/provider-proxy.cjs +11 -10
  80. package/dist/provider-proxy.d.cts +10 -6
  81. package/dist/provider-proxy.d.ts +10 -6
  82. package/dist/provider-proxy.js +10 -9
  83. package/dist/proxy-UZTtjPZx.d.cts +18 -0
  84. package/dist/proxy-UZTtjPZx.d.ts +18 -0
  85. package/dist/{routeResolver-rpKQLyDO.d.cts → routeResolver-Da0yvkL1.d.cts} +2 -2
  86. package/dist/{routeResolver-CTCcSHWu.d.ts → routeResolver-STwMz_G4.d.ts} +2 -2
  87. package/dist/runtime-5NCT3J3T.cjs +8 -0
  88. package/dist/runtime-JTHUWCBM.js +8 -0
  89. package/dist/runtime-t8AZacFF.d.cts +233 -0
  90. package/dist/runtime-t8AZacFF.d.ts +233 -0
  91. package/dist/search/api.cjs +766 -0
  92. package/dist/search/api.d.cts +385 -0
  93. package/dist/search/api.d.ts +385 -0
  94. package/dist/search/api.js +766 -0
  95. package/dist/search/http.cjs +37 -0
  96. package/dist/search/http.d.cts +323 -0
  97. package/dist/search/http.d.ts +323 -0
  98. package/dist/search/http.js +37 -0
  99. package/dist/search.cjs +57 -0
  100. package/dist/search.d.cts +113 -0
  101. package/dist/search.d.ts +113 -0
  102. package/dist/search.js +57 -0
  103. package/dist/transformer/transformers/AnthropicTransformer.cjs +3 -3
  104. package/dist/transformer/transformers/AnthropicTransformer.js +2 -2
  105. package/dist/transformer/transformers.cjs +7 -7
  106. package/dist/transformer/transformers.js +6 -6
  107. package/dist/transformer.cjs +6 -6
  108. package/dist/transformer.js +5 -5
  109. package/dist/{types-DsHBBk3h.d.cts → types-BSIJdsyl.d.cts} +15 -0
  110. package/dist/{types-CbglB73l.d.cts → types-Be-yt_6T.d.cts} +1 -1
  111. package/dist/{types-CVRge76p.d.ts → types-By9Tg6-I.d.ts} +15 -0
  112. package/dist/types-CbCZqLGg.d.cts +127 -0
  113. package/dist/types-CbCZqLGg.d.ts +127 -0
  114. package/dist/{types-jjU24eYG.d.cts → types-D-oHYusb.d.cts} +73 -4
  115. package/dist/{types-Bd72H4SB.d.ts → types-Dm4_36V4.d.ts} +1 -1
  116. package/dist/{types-5T223WYQ.d.ts → types-Dvlpjn0d.d.ts} +73 -4
  117. package/package.json +6 -3
  118. package/dist/{chunk-6OC3ORW6.js → chunk-EUZRH544.js} +3 -3
  119. package/dist/{chunk-SQMAEDNE.cjs → chunk-POUTD5AM.cjs} +2 -2
@@ -0,0 +1,97 @@
1
+ import { SearchErrorCode } from '@omnicross/contracts/search-types';
2
+
3
+ /**
4
+ * Per-frontend search execution modes (plan 阶段5, hard constraint 6).
5
+ *
6
+ * Three protocol frontends can reach search — Codex `/v1/alpha/search`, OpenAI
7
+ * Responses, and Anthropic Messages — and each of them independently answers
8
+ * ONE question: who executes the search?
9
+ *
10
+ * - `native` — the UPSTREAM executes it. Omnicross injects/relays and touches
11
+ * nothing else; the wire stays whatever the provider produced.
12
+ * - `managed` — OMNICROSS executes it through {@link SearchRuntime} and
13
+ * synthesizes protocol-compatible output.
14
+ * - `off` — the capability is not offered: a structured
15
+ * `unsupported_capability` error, never a bare 404 (plan §15).
16
+ *
17
+ * **Native and managed are never mixed on one wire exchange.** That is a plan
18
+ * hard constraint, and this module is how it is made structural rather than
19
+ * conventional: a request resolves its mode ONCE, before any wire bytes, and
20
+ * the two lanes downstream share no emission code. A helper that "falls back
21
+ * from native to managed" (or the reverse) would defeat the whole arrangement,
22
+ * so no such helper exists here and none should be added.
23
+ *
24
+ * The defaults preserve today's behavior exactly: Responses and Anthropic keep
25
+ * their existing native relay, and Codex is `off` — which is the one deliberate
26
+ * visible change in this change set, since `off` answers with a structured
27
+ * error where the router previously answered a generic 404.
28
+ *
29
+ * Pure vocabulary: no IO, no provider imports, no runtime. That is what lets
30
+ * `outbound-api` and `provider-proxy` both import it without dragging jsdom or
31
+ * undici into their module graphs.
32
+ *
33
+ * @module search/frontends
34
+ */
35
+
36
+ /** Who executes a search for one protocol frontend. */
37
+ type SearchFrontendMode = 'native' | 'managed' | 'off';
38
+ /** The protocol frontends that can reach search. */
39
+ type SearchFrontendName = 'codex' | 'responses' | 'anthropic';
40
+ /** The resolved mode of every frontend. Total — every frontend always has one. */
41
+ type SearchFrontendModes = {
42
+ readonly [K in SearchFrontendName]: SearchFrontendMode;
43
+ };
44
+ /** Every frontend name, in the order configuration and doctor print them. */
45
+ declare const SEARCH_FRONTEND_NAMES: readonly SearchFrontendName[];
46
+ /** Every mode value, for validation messages and exhaustiveness. */
47
+ declare const SEARCH_FRONTEND_MODES: readonly SearchFrontendMode[];
48
+ /**
49
+ * The behavior-preserving defaults.
50
+ *
51
+ * `codex: 'off'` is not "search disabled" — the route exists and answers with a
52
+ * structured `unsupported_capability`. It is off because the Codex request and
53
+ * response schemas are UNVERIFIED (see `docs/design/search-baseline/wire-baseline.md`
54
+ * §1.2/§1.3); enabling it is a deliberate operator decision.
55
+ */
56
+ declare const DEFAULT_SEARCH_FRONTEND_MODES: SearchFrontendModes;
57
+ /**
58
+ * The stable error code every frontend uses when its mode is `off`.
59
+ *
60
+ * Plan §15: a frontend may close managed search, but it must then say
61
+ * `unsupported_capability` — it must never keep exposing an unimplemented route
62
+ * as a 404. The string is shared so the three frontends cannot drift apart.
63
+ */
64
+ declare const SEARCH_UNSUPPORTED_CAPABILITY_CODE = "unsupported_capability";
65
+ /**
66
+ * HTTP status for a search-taxonomy failure surfaced by a protocol frontend.
67
+ *
68
+ * The mapping answers "whose problem is it?" rather than "which code is it?":
69
+ * a client can act on 429 and 504; everything that failed on OUR side of the
70
+ * wire — a provider that broke, a policy that refused, a config we lack — is a
71
+ * 502-class fact about the gateway's upstream, not a fault in the request the
72
+ * client sent. The one 4xx here is `cancelled`, which is 499 because the client
73
+ * itself hung up.
74
+ */
75
+ declare function searchErrorHttpStatus(code: SearchErrorCode): number;
76
+ /** Whether `value` is one of the three modes. */
77
+ declare function isSearchFrontendMode(value: unknown): value is SearchFrontendMode;
78
+ /**
79
+ * Read modes tolerantly: an unusable member falls back to its default rather
80
+ * than throwing, so a malformed config never takes the daemon down.
81
+ *
82
+ * Use {@link validateSearchFrontendModes} to REPORT what was unusable — the two
83
+ * run side by side exactly as the images config's tolerant read and strict
84
+ * validation do.
85
+ */
86
+ declare function normalizeSearchFrontendModes(value: unknown): SearchFrontendModes;
87
+ /**
88
+ * Structured validation errors, naming the offending FIELD.
89
+ *
90
+ * The rejected VALUE is never echoed, only its type. A mode is not a secret,
91
+ * but a secret pasted into the wrong field is still a secret, and a validator
92
+ * that quotes whatever it was handed is one misconfiguration away from putting
93
+ * it in a log. Same no-echo rule as the images config validator.
94
+ */
95
+ declare function validateSearchFrontendModes(value: unknown, path?: string): string[];
96
+
97
+ export { DEFAULT_SEARCH_FRONTEND_MODES as D, SEARCH_FRONTEND_MODES as S, SEARCH_FRONTEND_NAMES as a, SEARCH_UNSUPPORTED_CAPABILITY_CODE as b, type SearchFrontendMode as c, type SearchFrontendModes as d, type SearchFrontendName as e, isSearchFrontendMode as i, normalizeSearchFrontendModes as n, searchErrorHttpStatus as s, validateSearchFrontendModes as v };
@@ -0,0 +1,97 @@
1
+ import { SearchErrorCode } from '@omnicross/contracts/search-types';
2
+
3
+ /**
4
+ * Per-frontend search execution modes (plan 阶段5, hard constraint 6).
5
+ *
6
+ * Three protocol frontends can reach search — Codex `/v1/alpha/search`, OpenAI
7
+ * Responses, and Anthropic Messages — and each of them independently answers
8
+ * ONE question: who executes the search?
9
+ *
10
+ * - `native` — the UPSTREAM executes it. Omnicross injects/relays and touches
11
+ * nothing else; the wire stays whatever the provider produced.
12
+ * - `managed` — OMNICROSS executes it through {@link SearchRuntime} and
13
+ * synthesizes protocol-compatible output.
14
+ * - `off` — the capability is not offered: a structured
15
+ * `unsupported_capability` error, never a bare 404 (plan §15).
16
+ *
17
+ * **Native and managed are never mixed on one wire exchange.** That is a plan
18
+ * hard constraint, and this module is how it is made structural rather than
19
+ * conventional: a request resolves its mode ONCE, before any wire bytes, and
20
+ * the two lanes downstream share no emission code. A helper that "falls back
21
+ * from native to managed" (or the reverse) would defeat the whole arrangement,
22
+ * so no such helper exists here and none should be added.
23
+ *
24
+ * The defaults preserve today's behavior exactly: Responses and Anthropic keep
25
+ * their existing native relay, and Codex is `off` — which is the one deliberate
26
+ * visible change in this change set, since `off` answers with a structured
27
+ * error where the router previously answered a generic 404.
28
+ *
29
+ * Pure vocabulary: no IO, no provider imports, no runtime. That is what lets
30
+ * `outbound-api` and `provider-proxy` both import it without dragging jsdom or
31
+ * undici into their module graphs.
32
+ *
33
+ * @module search/frontends
34
+ */
35
+
36
+ /** Who executes a search for one protocol frontend. */
37
+ type SearchFrontendMode = 'native' | 'managed' | 'off';
38
+ /** The protocol frontends that can reach search. */
39
+ type SearchFrontendName = 'codex' | 'responses' | 'anthropic';
40
+ /** The resolved mode of every frontend. Total — every frontend always has one. */
41
+ type SearchFrontendModes = {
42
+ readonly [K in SearchFrontendName]: SearchFrontendMode;
43
+ };
44
+ /** Every frontend name, in the order configuration and doctor print them. */
45
+ declare const SEARCH_FRONTEND_NAMES: readonly SearchFrontendName[];
46
+ /** Every mode value, for validation messages and exhaustiveness. */
47
+ declare const SEARCH_FRONTEND_MODES: readonly SearchFrontendMode[];
48
+ /**
49
+ * The behavior-preserving defaults.
50
+ *
51
+ * `codex: 'off'` is not "search disabled" — the route exists and answers with a
52
+ * structured `unsupported_capability`. It is off because the Codex request and
53
+ * response schemas are UNVERIFIED (see `docs/design/search-baseline/wire-baseline.md`
54
+ * §1.2/§1.3); enabling it is a deliberate operator decision.
55
+ */
56
+ declare const DEFAULT_SEARCH_FRONTEND_MODES: SearchFrontendModes;
57
+ /**
58
+ * The stable error code every frontend uses when its mode is `off`.
59
+ *
60
+ * Plan §15: a frontend may close managed search, but it must then say
61
+ * `unsupported_capability` — it must never keep exposing an unimplemented route
62
+ * as a 404. The string is shared so the three frontends cannot drift apart.
63
+ */
64
+ declare const SEARCH_UNSUPPORTED_CAPABILITY_CODE = "unsupported_capability";
65
+ /**
66
+ * HTTP status for a search-taxonomy failure surfaced by a protocol frontend.
67
+ *
68
+ * The mapping answers "whose problem is it?" rather than "which code is it?":
69
+ * a client can act on 429 and 504; everything that failed on OUR side of the
70
+ * wire — a provider that broke, a policy that refused, a config we lack — is a
71
+ * 502-class fact about the gateway's upstream, not a fault in the request the
72
+ * client sent. The one 4xx here is `cancelled`, which is 499 because the client
73
+ * itself hung up.
74
+ */
75
+ declare function searchErrorHttpStatus(code: SearchErrorCode): number;
76
+ /** Whether `value` is one of the three modes. */
77
+ declare function isSearchFrontendMode(value: unknown): value is SearchFrontendMode;
78
+ /**
79
+ * Read modes tolerantly: an unusable member falls back to its default rather
80
+ * than throwing, so a malformed config never takes the daemon down.
81
+ *
82
+ * Use {@link validateSearchFrontendModes} to REPORT what was unusable — the two
83
+ * run side by side exactly as the images config's tolerant read and strict
84
+ * validation do.
85
+ */
86
+ declare function normalizeSearchFrontendModes(value: unknown): SearchFrontendModes;
87
+ /**
88
+ * Structured validation errors, naming the offending FIELD.
89
+ *
90
+ * The rejected VALUE is never echoed, only its type. A mode is not a secret,
91
+ * but a secret pasted into the wrong field is still a secret, and a validator
92
+ * that quotes whatever it was handed is one misconfiguration away from putting
93
+ * it in a log. Same no-echo rule as the images config validator.
94
+ */
95
+ declare function validateSearchFrontendModes(value: unknown, path?: string): string[];
96
+
97
+ export { DEFAULT_SEARCH_FRONTEND_MODES as D, SEARCH_FRONTEND_MODES as S, SEARCH_FRONTEND_NAMES as a, SEARCH_UNSUPPORTED_CAPABILITY_CODE as b, type SearchFrontendMode as c, type SearchFrontendModes as d, type SearchFrontendName as e, isSearchFrontendMode as i, normalizeSearchFrontendModes as n, searchErrorHttpStatus as s, validateSearchFrontendModes as v };
@@ -23,7 +23,7 @@
23
23
 
24
24
 
25
25
 
26
- var _chunkCTKM773Jcjs = require('./chunk-CTKM773J.cjs');
26
+ var _chunkUPQIWJIEcjs = require('./chunk-UPQIWJIE.cjs');
27
27
 
28
28
 
29
29
 
@@ -49,4 +49,4 @@ var _chunkCTKM773Jcjs = require('./chunk-CTKM773J.cjs');
49
49
 
50
50
 
51
51
 
52
- exports.DEFAULT_IMAGE_API_LIMITS = _chunkCTKM773Jcjs.DEFAULT_IMAGE_API_LIMITS; exports.IMAGE_REQUEST_DIRECTORY_MARKER_CONTENT = _chunkCTKM773Jcjs.IMAGE_REQUEST_DIRECTORY_MARKER_CONTENT; exports.IMAGE_REQUEST_DIRECTORY_MARKER_NAME = _chunkCTKM773Jcjs.IMAGE_REQUEST_DIRECTORY_MARKER_NAME; exports.ImageGenerationError = _chunkCTKM773Jcjs.ImageGenerationError; exports.ImageOrchestrator = _chunkCTKM773Jcjs.ImageOrchestrator; exports.ImageProviderRegistry = _chunkCTKM773Jcjs.ImageProviderRegistry; exports.ImageRequestResourceScope = _chunkCTKM773Jcjs.ImageRequestResourceScope; exports.InMemoryImageAsset = _chunkCTKM773Jcjs.InMemoryImageAsset; exports.InMemoryImageReferenceStore = _chunkCTKM773Jcjs.InMemoryImageReferenceStore; exports.InMemoryResponsesImageStateStore = _chunkCTKM773Jcjs.InMemoryResponsesImageStateStore; exports.assertFiniteImageApiLimits = _chunkCTKM773Jcjs.assertFiniteImageApiLimits; exports.createImageApiContributions = _chunkCTKM773Jcjs.createImageApiContributions; exports.createImageRequestResourceScope = _chunkCTKM773Jcjs.createImageRequestResourceScope; exports.createResponsesImageGenerationContribution = _chunkCTKM773Jcjs.createResponsesImageGenerationContribution; exports.createSafeRemoteImageResolver = _chunkCTKM773Jcjs.createSafeRemoteImageResolver; exports.emitImageTelemetry = _chunkCTKM773Jcjs.emitImageTelemetry; exports.imageGenerationErrorFromPublic = _chunkCTKM773Jcjs.imageGenerationErrorFromPublic; exports.inspectResponsesImageRequest = _chunkCTKM773Jcjs.inspectResponsesImageRequest; exports.isImageGenerationError = _chunkCTKM773Jcjs.isImageGenerationError; exports.normalizeImageGenerationError = _chunkCTKM773Jcjs.normalizeImageGenerationError; exports.readImageAssetBytes = _chunkCTKM773Jcjs.readImageAssetBytes; exports.resolveImageCapabilities = _chunkCTKM773Jcjs.resolveImageCapabilities; exports.serializeImageGenerationError = _chunkCTKM773Jcjs.serializeImageGenerationError; exports.validateResponsesImageSelection = _chunkCTKM773Jcjs.validateResponsesImageSelection;
52
+ exports.DEFAULT_IMAGE_API_LIMITS = _chunkUPQIWJIEcjs.DEFAULT_IMAGE_API_LIMITS; exports.IMAGE_REQUEST_DIRECTORY_MARKER_CONTENT = _chunkUPQIWJIEcjs.IMAGE_REQUEST_DIRECTORY_MARKER_CONTENT; exports.IMAGE_REQUEST_DIRECTORY_MARKER_NAME = _chunkUPQIWJIEcjs.IMAGE_REQUEST_DIRECTORY_MARKER_NAME; exports.ImageGenerationError = _chunkUPQIWJIEcjs.ImageGenerationError; exports.ImageOrchestrator = _chunkUPQIWJIEcjs.ImageOrchestrator; exports.ImageProviderRegistry = _chunkUPQIWJIEcjs.ImageProviderRegistry; exports.ImageRequestResourceScope = _chunkUPQIWJIEcjs.ImageRequestResourceScope; exports.InMemoryImageAsset = _chunkUPQIWJIEcjs.InMemoryImageAsset; exports.InMemoryImageReferenceStore = _chunkUPQIWJIEcjs.InMemoryImageReferenceStore; exports.InMemoryResponsesImageStateStore = _chunkUPQIWJIEcjs.InMemoryResponsesImageStateStore; exports.assertFiniteImageApiLimits = _chunkUPQIWJIEcjs.assertFiniteImageApiLimits; exports.createImageApiContributions = _chunkUPQIWJIEcjs.createImageApiContributions; exports.createImageRequestResourceScope = _chunkUPQIWJIEcjs.createImageRequestResourceScope; exports.createResponsesImageGenerationContribution = _chunkUPQIWJIEcjs.createResponsesImageGenerationContribution; exports.createSafeRemoteImageResolver = _chunkUPQIWJIEcjs.createSafeRemoteImageResolver; exports.emitImageTelemetry = _chunkUPQIWJIEcjs.emitImageTelemetry; exports.imageGenerationErrorFromPublic = _chunkUPQIWJIEcjs.imageGenerationErrorFromPublic; exports.inspectResponsesImageRequest = _chunkUPQIWJIEcjs.inspectResponsesImageRequest; exports.isImageGenerationError = _chunkUPQIWJIEcjs.isImageGenerationError; exports.normalizeImageGenerationError = _chunkUPQIWJIEcjs.normalizeImageGenerationError; exports.readImageAssetBytes = _chunkUPQIWJIEcjs.readImageAssetBytes; exports.resolveImageCapabilities = _chunkUPQIWJIEcjs.resolveImageCapabilities; exports.serializeImageGenerationError = _chunkUPQIWJIEcjs.serializeImageGenerationError; exports.validateResponsesImageSelection = _chunkUPQIWJIEcjs.validateResponsesImageSelection;
@@ -1,8 +1,8 @@
1
1
  import { ImageCapabilityEvidenceLayer, ImageCapabilities, ImageGenerationErrorCode, ImageRetrySafety, ImageModerationDetails, ImageGenerationPublicError } from '@omnicross/contracts/image-generation-types';
2
- import { al as ResponsesImageGenerationContributionDeps, ak as ResponsesImageGenerationContribution, am as ResponsesImageInspectionInput, a9 as ResponsesImageAdmission, a7 as ResponsesHostedToolSelection } from './types-DsHBBk3h.cjs';
3
- export { I as ImageAsset, e as ImageJob, f as ImageJobObservability, g as ImageJobObservabilitySnapshot, h as ImageOrchestrator, i as ImageOrchestratorOptions, j as ImageOrchestratorRunOptions, k as ImageProvider, l as ImageProviderContext, m as ImageProviderLease, n as ImageProviderRegistry, o as ImageProviderRequest, p as ImageReferenceLease, q as ImageReferenceResolution, r as ImageReferenceSaveInput, s as ImageReferenceStore, t as ImageReferenceValue, u as ImageRetentionPolicy, v as ImageTelemetryOutputMetadata, w as ImageTelemetryRecord, x as ImageTelemetrySink, y as InMemoryImageAsset, z as InMemoryImageReferenceStore, B as InMemoryResponsesImageStateStore, C as InMemoryResponsesImageStateStoreOptions, a6 as ResponsesHostedToolIdentity, a8 as ResponsesImageAction, aa as ResponsesImageCallBinding, ab as ResponsesImageCallId, ac as ResponsesImageCallResolution, ad as ResponsesImageCallStateLease, ae as ResponsesImageCompletedRecord, af as ResponsesImageEventAllocator, ag as ResponsesImageExecutionEvent, ah as ResponsesImageFailedRecord, ai as ResponsesImageGenerationCallItem, aj as ResponsesImageGenerationCallStartedItem, an as ResponsesImageNormalizedOptions, ao as ResponsesImagePartialEvent, ap as ResponsesImageRequestScope, aq as ResponsesImageRequestScopeInput, ar as ResponsesImageResponseResolution, as as ResponsesImageResponseStateLease, at as ResponsesImageSelectionPolicy, au as ResponsesImageStartedRecord, av as ResponsesImageStateCommitInput, aw as ResponsesImageStateStore, ax as ResponsesImageTrustedRuntime, aA as ResponsesSelectedImageCall, aL as emitImageTelemetry, aP as readImageAssetBytes } from './types-DsHBBk3h.cjs';
4
- import { d as ImageApiContributionsDeps, c as ImageApiContributions, R as RemoteImageAssetResolver } from './types-CbglB73l.cjs';
5
- export { C as CreateImageRequestResourceScopeOptions, D as DEFAULT_IMAGE_API_LIMITS, I as IMAGE_REQUEST_DIRECTORY_MARKER_CONTENT, a as IMAGE_REQUEST_DIRECTORY_MARKER_NAME, b as ImageApiAuditRecord, e as ImageApiLimits, f as ImageApiRuntime, g as ImageApiRuntimeResolver, h as ImageOpenAIOperationContribution, i as ImageRemoteMaterializer, j as ImageRequestResourceOwnership, k as ImageRequestResourceScope, l as ImageTemporaryResourceBudget, m as ImageTemporaryResourceBudgetLease, n as assertFiniteImageApiLimits, o as createImageRequestResourceScope } from './types-CbglB73l.cjs';
2
+ import { al as ResponsesImageGenerationContributionDeps, ak as ResponsesImageGenerationContribution, am as ResponsesImageInspectionInput, a9 as ResponsesImageAdmission, a7 as ResponsesHostedToolSelection } from './types-BSIJdsyl.cjs';
3
+ export { I as ImageAsset, e as ImageJob, f as ImageJobObservability, g as ImageJobObservabilitySnapshot, h as ImageOrchestrator, i as ImageOrchestratorOptions, j as ImageOrchestratorRunOptions, k as ImageProvider, l as ImageProviderContext, m as ImageProviderLease, n as ImageProviderRegistry, o as ImageProviderRequest, p as ImageReferenceLease, q as ImageReferenceResolution, r as ImageReferenceSaveInput, s as ImageReferenceStore, t as ImageReferenceValue, u as ImageRetentionPolicy, v as ImageTelemetryOutputMetadata, w as ImageTelemetryRecord, x as ImageTelemetrySink, y as InMemoryImageAsset, z as InMemoryImageReferenceStore, B as InMemoryResponsesImageStateStore, C as InMemoryResponsesImageStateStoreOptions, a6 as ResponsesHostedToolIdentity, a8 as ResponsesImageAction, aa as ResponsesImageCallBinding, ab as ResponsesImageCallId, ac as ResponsesImageCallResolution, ad as ResponsesImageCallStateLease, ae as ResponsesImageCompletedRecord, af as ResponsesImageEventAllocator, ag as ResponsesImageExecutionEvent, ah as ResponsesImageFailedRecord, ai as ResponsesImageGenerationCallItem, aj as ResponsesImageGenerationCallStartedItem, an as ResponsesImageNormalizedOptions, ao as ResponsesImagePartialEvent, ap as ResponsesImageRequestScope, aq as ResponsesImageRequestScopeInput, ar as ResponsesImageResponseResolution, as as ResponsesImageResponseStateLease, at as ResponsesImageSelectionPolicy, au as ResponsesImageStartedRecord, av as ResponsesImageStateCommitInput, aw as ResponsesImageStateStore, ax as ResponsesImageTrustedRuntime, aA as ResponsesSelectedImageCall, aL as emitImageTelemetry, aP as readImageAssetBytes } from './types-BSIJdsyl.cjs';
4
+ import { d as ImageApiContributionsDeps, c as ImageApiContributions, R as RemoteImageAssetResolver } from './types-Be-yt_6T.cjs';
5
+ export { C as CreateImageRequestResourceScopeOptions, D as DEFAULT_IMAGE_API_LIMITS, I as IMAGE_REQUEST_DIRECTORY_MARKER_CONTENT, a as IMAGE_REQUEST_DIRECTORY_MARKER_NAME, b as ImageApiAuditRecord, e as ImageApiLimits, f as ImageApiRuntime, g as ImageApiRuntimeResolver, h as ImageOpenAIOperationContribution, i as ImageRemoteMaterializer, j as ImageRequestResourceOwnership, k as ImageRequestResourceScope, l as ImageTemporaryResourceBudget, m as ImageTemporaryResourceBudgetLease, n as assertFiniteImageApiLimits, o as createImageRequestResourceScope } from './types-Be-yt_6T.cjs';
6
6
  import 'node:http';
7
7
  import '@omnicross/contracts/completion-types';
8
8
  import '@omnicross/contracts/usage-stats-types';
@@ -20,6 +20,9 @@ import './transformer/types.cjs';
20
20
  import './transformer/TransformerService.cjs';
21
21
  import './ports/web-search-backend.cjs';
22
22
  import '@omnicross/contracts/websearch-types';
23
+ import './frontends-Doz0RaWu.cjs';
24
+ import '@omnicross/contracts/search-types';
25
+ import './runtime-t8AZacFF.cjs';
23
26
  import 'node:fs/promises';
24
27
 
25
28
  declare function createResponsesImageGenerationContribution(deps: ResponsesImageGenerationContributionDeps): ResponsesImageGenerationContribution;
@@ -1,8 +1,8 @@
1
1
  import { ImageCapabilityEvidenceLayer, ImageCapabilities, ImageGenerationErrorCode, ImageRetrySafety, ImageModerationDetails, ImageGenerationPublicError } from '@omnicross/contracts/image-generation-types';
2
- import { al as ResponsesImageGenerationContributionDeps, ak as ResponsesImageGenerationContribution, am as ResponsesImageInspectionInput, a9 as ResponsesImageAdmission, a7 as ResponsesHostedToolSelection } from './types-CVRge76p.js';
3
- export { I as ImageAsset, e as ImageJob, f as ImageJobObservability, g as ImageJobObservabilitySnapshot, h as ImageOrchestrator, i as ImageOrchestratorOptions, j as ImageOrchestratorRunOptions, k as ImageProvider, l as ImageProviderContext, m as ImageProviderLease, n as ImageProviderRegistry, o as ImageProviderRequest, p as ImageReferenceLease, q as ImageReferenceResolution, r as ImageReferenceSaveInput, s as ImageReferenceStore, t as ImageReferenceValue, u as ImageRetentionPolicy, v as ImageTelemetryOutputMetadata, w as ImageTelemetryRecord, x as ImageTelemetrySink, y as InMemoryImageAsset, z as InMemoryImageReferenceStore, B as InMemoryResponsesImageStateStore, C as InMemoryResponsesImageStateStoreOptions, a6 as ResponsesHostedToolIdentity, a8 as ResponsesImageAction, aa as ResponsesImageCallBinding, ab as ResponsesImageCallId, ac as ResponsesImageCallResolution, ad as ResponsesImageCallStateLease, ae as ResponsesImageCompletedRecord, af as ResponsesImageEventAllocator, ag as ResponsesImageExecutionEvent, ah as ResponsesImageFailedRecord, ai as ResponsesImageGenerationCallItem, aj as ResponsesImageGenerationCallStartedItem, an as ResponsesImageNormalizedOptions, ao as ResponsesImagePartialEvent, ap as ResponsesImageRequestScope, aq as ResponsesImageRequestScopeInput, ar as ResponsesImageResponseResolution, as as ResponsesImageResponseStateLease, at as ResponsesImageSelectionPolicy, au as ResponsesImageStartedRecord, av as ResponsesImageStateCommitInput, aw as ResponsesImageStateStore, ax as ResponsesImageTrustedRuntime, aA as ResponsesSelectedImageCall, aL as emitImageTelemetry, aP as readImageAssetBytes } from './types-CVRge76p.js';
4
- import { d as ImageApiContributionsDeps, c as ImageApiContributions, R as RemoteImageAssetResolver } from './types-Bd72H4SB.js';
5
- export { C as CreateImageRequestResourceScopeOptions, D as DEFAULT_IMAGE_API_LIMITS, I as IMAGE_REQUEST_DIRECTORY_MARKER_CONTENT, a as IMAGE_REQUEST_DIRECTORY_MARKER_NAME, b as ImageApiAuditRecord, e as ImageApiLimits, f as ImageApiRuntime, g as ImageApiRuntimeResolver, h as ImageOpenAIOperationContribution, i as ImageRemoteMaterializer, j as ImageRequestResourceOwnership, k as ImageRequestResourceScope, l as ImageTemporaryResourceBudget, m as ImageTemporaryResourceBudgetLease, n as assertFiniteImageApiLimits, o as createImageRequestResourceScope } from './types-Bd72H4SB.js';
2
+ import { al as ResponsesImageGenerationContributionDeps, ak as ResponsesImageGenerationContribution, am as ResponsesImageInspectionInput, a9 as ResponsesImageAdmission, a7 as ResponsesHostedToolSelection } from './types-By9Tg6-I.js';
3
+ export { I as ImageAsset, e as ImageJob, f as ImageJobObservability, g as ImageJobObservabilitySnapshot, h as ImageOrchestrator, i as ImageOrchestratorOptions, j as ImageOrchestratorRunOptions, k as ImageProvider, l as ImageProviderContext, m as ImageProviderLease, n as ImageProviderRegistry, o as ImageProviderRequest, p as ImageReferenceLease, q as ImageReferenceResolution, r as ImageReferenceSaveInput, s as ImageReferenceStore, t as ImageReferenceValue, u as ImageRetentionPolicy, v as ImageTelemetryOutputMetadata, w as ImageTelemetryRecord, x as ImageTelemetrySink, y as InMemoryImageAsset, z as InMemoryImageReferenceStore, B as InMemoryResponsesImageStateStore, C as InMemoryResponsesImageStateStoreOptions, a6 as ResponsesHostedToolIdentity, a8 as ResponsesImageAction, aa as ResponsesImageCallBinding, ab as ResponsesImageCallId, ac as ResponsesImageCallResolution, ad as ResponsesImageCallStateLease, ae as ResponsesImageCompletedRecord, af as ResponsesImageEventAllocator, ag as ResponsesImageExecutionEvent, ah as ResponsesImageFailedRecord, ai as ResponsesImageGenerationCallItem, aj as ResponsesImageGenerationCallStartedItem, an as ResponsesImageNormalizedOptions, ao as ResponsesImagePartialEvent, ap as ResponsesImageRequestScope, aq as ResponsesImageRequestScopeInput, ar as ResponsesImageResponseResolution, as as ResponsesImageResponseStateLease, at as ResponsesImageSelectionPolicy, au as ResponsesImageStartedRecord, av as ResponsesImageStateCommitInput, aw as ResponsesImageStateStore, ax as ResponsesImageTrustedRuntime, aA as ResponsesSelectedImageCall, aL as emitImageTelemetry, aP as readImageAssetBytes } from './types-By9Tg6-I.js';
4
+ import { d as ImageApiContributionsDeps, c as ImageApiContributions, R as RemoteImageAssetResolver } from './types-Dm4_36V4.js';
5
+ export { C as CreateImageRequestResourceScopeOptions, D as DEFAULT_IMAGE_API_LIMITS, I as IMAGE_REQUEST_DIRECTORY_MARKER_CONTENT, a as IMAGE_REQUEST_DIRECTORY_MARKER_NAME, b as ImageApiAuditRecord, e as ImageApiLimits, f as ImageApiRuntime, g as ImageApiRuntimeResolver, h as ImageOpenAIOperationContribution, i as ImageRemoteMaterializer, j as ImageRequestResourceOwnership, k as ImageRequestResourceScope, l as ImageTemporaryResourceBudget, m as ImageTemporaryResourceBudgetLease, n as assertFiniteImageApiLimits, o as createImageRequestResourceScope } from './types-Dm4_36V4.js';
6
6
  import 'node:http';
7
7
  import '@omnicross/contracts/completion-types';
8
8
  import '@omnicross/contracts/usage-stats-types';
@@ -20,6 +20,9 @@ import './transformer/types.js';
20
20
  import './transformer/TransformerService.js';
21
21
  import './ports/web-search-backend.js';
22
22
  import '@omnicross/contracts/websearch-types';
23
+ import './frontends-Doz0RaWu.js';
24
+ import '@omnicross/contracts/search-types';
25
+ import './runtime-t8AZacFF.js';
23
26
  import 'node:fs/promises';
24
27
 
25
28
  declare function createResponsesImageGenerationContribution(deps: ResponsesImageGenerationContributionDeps): ResponsesImageGenerationContribution;
@@ -23,7 +23,7 @@ import {
23
23
  resolveImageCapabilities,
24
24
  serializeImageGenerationError,
25
25
  validateResponsesImageSelection
26
- } from "./chunk-DEIUR2TH.js";
26
+ } from "./chunk-LQYS2N47.js";
27
27
  export {
28
28
  DEFAULT_IMAGE_API_LIMITS,
29
29
  IMAGE_REQUEST_DIRECTORY_MARKER_CONTENT,
package/dist/index.cjs CHANGED
@@ -121,7 +121,15 @@
121
121
 
122
122
 
123
123
 
124
- var _chunk7B56AJBBcjs = require('./chunk-7B56AJBB.cjs');
124
+
125
+
126
+
127
+
128
+
129
+
130
+
131
+ var _chunkVSYQ6XYNcjs = require('./chunk-VSYQ6XYN.cjs');
132
+ require('./chunk-E4QHVXV5.cjs');
125
133
 
126
134
 
127
135
 
@@ -130,18 +138,19 @@ require('./chunk-QVOB2DNX.cjs');
130
138
 
131
139
 
132
140
  var _chunk7ZHBN75Ncjs = require('./chunk-7ZHBN75N.cjs');
141
+ require('./chunk-GBHYAGX3.cjs');
133
142
 
134
143
 
135
144
  var _chunk3OPYJG76cjs = require('./chunk-3OPYJG76.cjs');
136
145
 
137
146
 
138
- var _chunkTVYA5JSQcjs = require('./chunk-TVYA5JSQ.cjs');
147
+ var _chunkZAPN7XA6cjs = require('./chunk-ZAPN7XA6.cjs');
148
+ require('./chunk-KIQ2HA2A.cjs');
139
149
  require('./chunk-NOITAVHA.cjs');
140
150
  require('./chunk-QWNUOR7F.cjs');
141
- require('./chunk-SQMAEDNE.cjs');
142
- require('./chunk-5RSZYQJH.cjs');
151
+ require('./chunk-POUTD5AM.cjs');
143
152
  require('./chunk-6DDYNS2B.cjs');
144
- require('./chunk-KIQ2HA2A.cjs');
153
+ require('./chunk-5RSZYQJH.cjs');
145
154
  require('./chunk-32SRZFFP.cjs');
146
155
 
147
156
 
@@ -149,7 +158,6 @@ var _chunk2E42SAW3cjs = require('./chunk-2E42SAW3.cjs');
149
158
 
150
159
 
151
160
  var _chunk5UK3KLE2cjs = require('./chunk-5UK3KLE2.cjs');
152
- require('./chunk-GBHYAGX3.cjs');
153
161
  require('./chunk-MXI2PWIC.cjs');
154
162
  require('./chunk-RPII3E6Z.cjs');
155
163
  require('./chunk-6RPZADX3.cjs');
@@ -249,7 +257,7 @@ require('./chunk-VXRTQZF2.cjs');
249
257
  require('./chunk-WX2E2G7H.cjs');
250
258
  require('./chunk-77USGNRW.cjs');
251
259
  require('./chunk-IUL4VWNU.cjs');
252
- require('./chunk-OST5RJOJ.cjs');
260
+ require('./chunk-4Z3ZLLC2.cjs');
253
261
  require('./chunk-235MXAGX.cjs');
254
262
  require('./chunk-HVBBDBS3.cjs');
255
263
  require('./chunk-NKVZ6Z3Y.cjs');
@@ -278,7 +286,7 @@ require('./chunk-NKVZ6Z3Y.cjs');
278
286
 
279
287
 
280
288
 
281
- var _chunkCTKM773Jcjs = require('./chunk-CTKM773J.cjs');
289
+ var _chunkUPQIWJIEcjs = require('./chunk-UPQIWJIE.cjs');
282
290
 
283
291
 
284
292
 
@@ -291,7 +299,14 @@ var _chunkG4CZIUIBcjs = require('./chunk-G4CZIUIB.cjs');
291
299
 
292
300
 
293
301
 
294
- var _chunkNZYN7C3Pcjs = require('./chunk-NZYN7C3P.cjs');
302
+ var _chunk2RCCLQYVcjs = require('./chunk-2RCCLQYV.cjs');
303
+
304
+
305
+
306
+
307
+
308
+
309
+
295
310
 
296
311
 
297
312
 
@@ -506,4 +521,4 @@ var _chunkNZYN7C3Pcjs = require('./chunk-NZYN7C3P.cjs');
506
521
 
507
522
 
508
523
 
509
- exports.AUDIT_REDACTED = _chunkHCOQQAZEcjs.AUDIT_REDACTED; exports.BoundAccountSelectionError = _chunk25GXJCEZcjs.BoundAccountSelectionError; exports.BuiltinToolExecutor = _chunkNZYN7C3Pcjs.BuiltinToolExecutor; exports.CompletionService = _chunk7B56AJBBcjs.CompletionService; 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_IMAGE_API_LIMITS = _chunkCTKM773Jcjs.DEFAULT_IMAGE_API_LIMITS; exports.DEFAULT_OUTBOUND_PORT = _chunk7B56AJBBcjs.DEFAULT_OUTBOUND_PORT; exports.DEFAULT_ROUTE_IDLE_MS = _chunk7B56AJBBcjs.DEFAULT_ROUTE_IDLE_MS; exports.DEFAULT_USER_MESSAGE_QUEUE = _chunk7B56AJBBcjs.DEFAULT_USER_MESSAGE_QUEUE; exports.ENDPOINT_MODEL_KINDS = _chunk4IH4EL7Mcjs.ENDPOINT_MODEL_KINDS; exports.IMAGE_REQUEST_DIRECTORY_MARKER_CONTENT = _chunkCTKM773Jcjs.IMAGE_REQUEST_DIRECTORY_MARKER_CONTENT; exports.IMAGE_REQUEST_DIRECTORY_MARKER_NAME = _chunkCTKM773Jcjs.IMAGE_REQUEST_DIRECTORY_MARKER_NAME; exports.IMAGE_SERVER_HARD_CEILINGS = _chunk7B56AJBBcjs.IMAGE_SERVER_HARD_CEILINGS; exports.ImageGenerationError = _chunkCTKM773Jcjs.ImageGenerationError; exports.ImageOrchestrator = _chunkCTKM773Jcjs.ImageOrchestrator; exports.ImageProviderRegistry = _chunkCTKM773Jcjs.ImageProviderRegistry; exports.ImageRequestResourceScope = _chunkCTKM773Jcjs.ImageRequestResourceScope; exports.InMemoryImageAsset = _chunkCTKM773Jcjs.InMemoryImageAsset; exports.InMemoryImageReferenceStore = _chunkCTKM773Jcjs.InMemoryImageReferenceStore; exports.InMemoryResponsesImageStateStore = _chunkCTKM773Jcjs.InMemoryResponsesImageStateStore; exports.KeySpendTracker = _chunk7B56AJBBcjs.KeySpendTracker; exports.KeyedMutex = _chunk7B56AJBBcjs.KeyedMutex; exports.LEGACY_OUTBOUND_PERMISSIONS = _chunk7B56AJBBcjs.LEGACY_OUTBOUND_PERMISSIONS; exports.NATIVE_SEARCH_TOOL_NAMES = _chunkGMMT7RVNcjs.NATIVE_SEARCH_TOOL_NAMES; exports.OPENROUTER_APP_HEADERS = _chunkUNEFIWXIcjs.OPENROUTER_APP_HEADERS; exports.OUTBOUND_API_SERVER_CONFIG_KEY = _chunk7B56AJBBcjs.OUTBOUND_API_SERVER_CONFIG_KEY; exports.OpenAIOperationError = _chunkG4CZIUIBcjs.OpenAIOperationError; exports.OpenAIOperationRegistrationError = _chunkG4CZIUIBcjs.OpenAIOperationRegistrationError; exports.OpenAIOperationRegistry = _chunkG4CZIUIBcjs.OpenAIOperationRegistry; exports.OutboundApiServer = _chunk7B56AJBBcjs.OutboundApiServer; exports.OutboundConcurrencyGate = _chunk7B56AJBBcjs.OutboundConcurrencyGate; exports.OutboundRateLimiter = _chunk7B56AJBBcjs.OutboundRateLimiter; exports.PricingEngine = _chunk2E42SAW3cjs.PricingEngine; exports.ProviderProxy = _chunk7B56AJBBcjs.ProviderProxy; exports.ProviderProxyRouteMap = _chunk7B56AJBBcjs.ProviderProxyRouteMap; exports.ROUTE_LEASE_API_VERSION = _chunk7B56AJBBcjs.ROUTE_LEASE_API_VERSION; exports.ROUTE_LEASE_CAPABILITIES = _chunk7B56AJBBcjs.ROUTE_LEASE_CAPABILITIES; exports.ROUTE_LEASE_CAPABILITIES_SCHEMA = _chunk7B56AJBBcjs.ROUTE_LEASE_CAPABILITIES_SCHEMA; exports.ROUTE_LEASE_CODEX_TOKEN_ENV = _chunk7B56AJBBcjs.ROUTE_LEASE_CODEX_TOKEN_ENV; exports.ROUTE_LEASE_DEFAULT_TTL_SECONDS = _chunk7B56AJBBcjs.ROUTE_LEASE_DEFAULT_TTL_SECONDS; exports.ROUTE_LEASE_MAX_CONSUMER_BYTES = _chunk7B56AJBBcjs.ROUTE_LEASE_MAX_CONSUMER_BYTES; exports.ROUTE_LEASE_MAX_EXECUTION_ID_BYTES = _chunk7B56AJBBcjs.ROUTE_LEASE_MAX_EXECUTION_ID_BYTES; exports.ROUTE_LEASE_MAX_IDEMPOTENCY_BYTES = _chunk7B56AJBBcjs.ROUTE_LEASE_MAX_IDEMPOTENCY_BYTES; exports.ROUTE_LEASE_MAX_MODEL_BYTES = _chunk7B56AJBBcjs.ROUTE_LEASE_MAX_MODEL_BYTES; exports.ROUTE_LEASE_MAX_SESSION_ID_BYTES = _chunk7B56AJBBcjs.ROUTE_LEASE_MAX_SESSION_ID_BYTES; exports.ROUTE_LEASE_MAX_TTL_SECONDS = _chunk7B56AJBBcjs.ROUTE_LEASE_MAX_TTL_SECONDS; exports.ROUTE_LEASE_REQUEST_SCHEMA = _chunk7B56AJBBcjs.ROUTE_LEASE_REQUEST_SCHEMA; exports.ROUTE_LEASE_RESULT_SCHEMA = _chunk7B56AJBBcjs.ROUTE_LEASE_RESULT_SCHEMA; exports.ROUTE_LEASE_RUNTIMES = _chunk7B56AJBBcjs.ROUTE_LEASE_RUNTIMES; exports.ROUTE_LEASE_RUNTIME_TABLE = _chunk7B56AJBBcjs.ROUTE_LEASE_RUNTIME_TABLE; exports.ROUTE_LEASE_SESSION_HASH_DOMAIN = _chunk7B56AJBBcjs.ROUTE_LEASE_SESSION_HASH_DOMAIN; exports.ResponsesAffinityStore = _chunk7B56AJBBcjs.ResponsesAffinityStore; exports.RouteLeaseError = _chunk7B56AJBBcjs.RouteLeaseError; exports.RouteLeaseManager = _chunk7B56AJBBcjs.RouteLeaseManager; exports.RouteLeaseTargetResolver = _chunk7B56AJBBcjs.RouteLeaseTargetResolver; exports.SUBSCRIPTION_PROVIDER_IDS = _chunkT6NWPIYZcjs.SUBSCRIPTION_PROVIDER_IDS; exports.SYSTEM_ROUTE_LEASE_CLOCK = _chunk7B56AJBBcjs.SYSTEM_ROUTE_LEASE_CLOCK; exports.SerialQueueTimeoutError = _chunk7B56AJBBcjs.SerialQueueTimeoutError; exports.TransformerChainExecutor = _chunk7ZHBN75Ncjs.TransformerChainExecutor; exports.TransformerService = _chunk3OPYJG76cjs.TransformerService; exports.UsageRecorder = _chunk5UK3KLE2cjs.UsageRecorder; exports.UserMessageSerialQueue = _chunk7B56AJBBcjs.UserMessageSerialQueue; exports.__resetOutboundApiServerForTests = _chunk7B56AJBBcjs.__resetOutboundApiServerForTests; exports.__resetProviderProxyForTests = _chunk7B56AJBBcjs.__resetProviderProxyForTests; exports.addOpenRouterProviderToRequest = _chunk7B56AJBBcjs.addOpenRouterProviderToRequest; exports.applyAugmentation = _chunkJMJBSACDcjs.applyAugmentation; exports.assertFiniteImageApiLimits = _chunkCTKM773Jcjs.assertFiniteImageApiLimits; exports.attachStreamEventBuffer = _chunk7B56AJBBcjs.attach; exports.beginAuditCapture = _chunkFX325I5Qcjs.beginAuditCapture; exports.beginBillingCapture = _chunkAPYG5QD7cjs.beginBillingCapture; exports.boundAccountSelectionMessage = _chunk25GXJCEZcjs.boundAccountSelectionMessage; exports.buildAnthropicApiUrl = _chunkA2YMUCBTcjs.buildAnthropicApiUrl; exports.buildAzureOpenAIApiUrl = _chunkA2YMUCBTcjs.buildAzureOpenAIApiUrl; exports.buildGeminiApiUrl = _chunkA2YMUCBTcjs.buildGeminiApiUrl; exports.buildNativeSearchAugmentation = _chunkJMJBSACDcjs.buildNativeSearchAugmentation; exports.buildOpenAIApiUrl = _chunkA2YMUCBTcjs.buildOpenAIApiUrl; exports.buildOpenAIResponseApiUrl = _chunkA2YMUCBTcjs.buildOpenAIResponseApiUrl; exports.buildProviderApiUrl = _chunkA2YMUCBTcjs.buildProviderApiUrl; exports.candidateBackgroundModelIds = _chunk7B56AJBBcjs.candidateBackgroundModelIds; exports.candidateGatewayBindings = _chunk7B56AJBBcjs.candidateGatewayBindings; exports.canonicalizeRouteLeasePayload = _chunk7B56AJBBcjs.canonicalizeRouteLeasePayload; exports.checkKeyQuota = _chunk7B56AJBBcjs.checkKeyQuota; exports.classifyModelPrefix = _chunkT6NWPIYZcjs.classifyModelPrefix; exports.classifyOpenAIOperation = _chunkG4CZIUIBcjs.classifyOpenAIOperation; exports.classifyResponsesProfile = _chunk7B56AJBBcjs.classifyResponsesProfile; exports.computeKeyExpiry = _chunk7B56AJBBcjs.computeKeyExpiry; exports.computeVoucherGrant = _chunk7B56AJBBcjs.computeVoucherGrant; exports.convertAnthropicRequestToOpenAI = _chunkGDIXXKF2cjs.convertAnthropicRequestToOpenAI; exports.convertAnthropicStreamToOpenAI = _chunkGDIXXKF2cjs.convertAnthropicStreamToOpenAI; exports.convertAnthropicToOpenAI = _chunkGDIXXKF2cjs.convertAnthropicToOpenAI; exports.convertAnthropicToOpenAIWithThinking = _chunkGDIXXKF2cjs.convertAnthropicToOpenAIWithThinking; exports.convertMessageToAnthropic = _chunk7B56AJBBcjs.convertMessageToAnthropic; exports.convertMessageToGemini = _chunk7B56AJBBcjs.convertMessageToGemini; exports.convertMessageToOpenAI = _chunk7B56AJBBcjs.convertMessageToOpenAI; exports.convertOpenAIResponseToAnthropic = _chunkGDIXXKF2cjs.convertOpenAIResponseToAnthropic; exports.convertOpenAIStreamToAnthropic = _chunkGDIXXKF2cjs.convertOpenAIStreamToAnthropic; exports.convertOpenAIToAnthropic = _chunkGDIXXKF2cjs.convertOpenAIToAnthropic; exports.convertOpenAIToAnthropicWithThinking = _chunkGDIXXKF2cjs.convertOpenAIToAnthropicWithThinking; exports.createImageApiContributions = _chunkCTKM773Jcjs.createImageApiContributions; exports.createImageRequestResourceScope = _chunkCTKM773Jcjs.createImageRequestResourceScope; exports.createIntegrationKey = _chunk7B56AJBBcjs.createIntegrationKey; exports.createNamedKey = _chunk7B56AJBBcjs.createNamedKey; exports.createNativeResponsesHostedImageIngress = _chunk7B56AJBBcjs.createNativeResponsesHostedImageIngress; exports.createResponsesCompactHandler = _chunk7B56AJBBcjs.createResponsesCompactHandler; exports.createResponsesImageGenerationContribution = _chunkCTKM773Jcjs.createResponsesImageGenerationContribution; exports.createSSEParser = _chunkHQP3K7PUcjs.createSSEParser; exports.createSafeRemoteImageResolver = _chunkCTKM773Jcjs.createSafeRemoteImageResolver; exports.defaultServerConfig = _chunk7B56AJBBcjs.defaultServerConfig; exports.detectModelKind = _chunkT6NWPIYZcjs.detectModelKind; exports.detectNativeSearch = _chunkJMJBSACDcjs.detectNativeSearch; exports.detectRequestRole = _chunkT6NWPIYZcjs.detectRequestRole; exports.effectiveOutboundPermissions = _chunk7B56AJBBcjs.effectiveOutboundPermissions; exports.emitImageTelemetry = _chunkCTKM773Jcjs.emitImageTelemetry; exports.emitStreamEvent = _chunk7B56AJBBcjs.emit; exports.endpointSupportsSubscription = _chunkT6NWPIYZcjs.endpointSupportsSubscription; exports.endpointToIngressFormat = _chunkT6NWPIYZcjs.endpointToIngressFormat; exports.extractRouteToken = _chunk7B56AJBBcjs.extractRouteToken; exports.formatUrls = _chunk7B56AJBBcjs.formatUrls; exports.gatewayBindingToEndpointConfig = _chunk7B56AJBBcjs.gatewayBindingToEndpointConfig; exports.generateVoucherCode = _chunk7B56AJBBcjs.generateVoucherCode; exports.getBuiltinSearchTools = _chunkNZYN7C3Pcjs.getBuiltinSearchTools; exports.getOpenAIOperation = _chunkG4CZIUIBcjs.getOpenAIOperation; exports.getOpenRouterAppIdentity = _chunkUNEFIWXIcjs.getOpenRouterAppIdentity; exports.getOpenRouterProviderConfig = _chunk7B56AJBBcjs.getOpenRouterProviderConfig; exports.getOutboundApiServer = _chunk7B56AJBBcjs.getOutboundApiServer; exports.getProviderHeaders = _chunkOIKREZVQcjs.getProviderHeaders; exports.getProviderProxy = _chunk7B56AJBBcjs.getProviderProxy; exports.getResponsesAffinityStore = _chunk7B56AJBBcjs.getResponsesAffinityStore; exports.handleVoucherRedeem = _chunk7B56AJBBcjs.handleVoucherRedeem; exports.hasImageContent = _chunkGDIXXKF2cjs.hasImageContent; exports.hasThinkingEnabled = _chunkGDIXXKF2cjs.hasThinkingEnabled; exports.hashKey = _chunk7B56AJBBcjs.hashKey; exports.hashRouteLeasePayload = _chunk7B56AJBBcjs.hashRouteLeasePayload; exports.hashRouteLeaseSessionId = _chunk7B56AJBBcjs.hashRouteLeaseSessionId; exports.hashVoucherCode = _chunk7B56AJBBcjs.hashVoucherCode; exports.imageGenerationErrorFromPublic = _chunkCTKM773Jcjs.imageGenerationErrorFromPublic; exports.inspectResponsesImageRequest = _chunkCTKM773Jcjs.inspectResponsesImageRequest; exports.isBoundAccountSelectionError = _chunk25GXJCEZcjs.isBoundAccountSelectionError; exports.isConcurrencyRejection = _chunk7B56AJBBcjs.isConcurrencyRejection; exports.isImageGenerationError = _chunkCTKM773Jcjs.isImageGenerationError; exports.isKindMappedEndpoint = _chunkT6NWPIYZcjs.isKindMappedEndpoint; exports.isLoopbackAddress = _chunk7B56AJBBcjs.isLoopbackAddress; exports.isOpenRouterProvider = _chunkUNEFIWXIcjs.isOpenRouterProvider; 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.normalizeAzureEndpoint = _chunkA2YMUCBTcjs.normalizeAzureEndpoint; exports.normalizeBilling = _chunk7B56AJBBcjs.normalizeBilling; exports.normalizeFingerprint = _chunk7B56AJBBcjs.normalizeFingerprint; exports.normalizeGatewayBindings = _chunk7B56AJBBcjs.normalizeGatewayBindings; exports.normalizeImageGenerationError = _chunkCTKM773Jcjs.normalizeImageGenerationError; exports.normalizeImagesServerConfig = _chunk7B56AJBBcjs.normalizeImagesServerConfig; exports.normalizePrefixTargets = _chunk7B56AJBBcjs.normalizePrefixTargets; exports.normalizeProxyConfig = _chunk7B56AJBBcjs.normalizeProxyConfig; exports.normalizeProxySegment = _chunk7B56AJBBcjs.normalizeProxySegment; exports.normalizeQueueSegments = _chunk7B56AJBBcjs.normalizeQueueSegments; exports.normalizeRouteLeaseIdempotencyKey = _chunk7B56AJBBcjs.normalizeRouteLeaseIdempotencyKey; exports.normalizeRouteLeaseTtl = _chunk7B56AJBBcjs.normalizeRouteLeaseTtl; exports.normalizeServerConfig = _chunk7B56AJBBcjs.normalizeServerConfig; exports.normalizeVoucher = _chunk7B56AJBBcjs.normalizeVoucher; exports.normalizeWebhookDestination = _chunk7B56AJBBcjs.normalizeWebhookDestination; exports.normalizeWebhookSegment = _chunk7B56AJBBcjs.normalizeWebhookSegment; exports.parseModelRef = _chunkT6NWPIYZcjs.parseModelRef; exports.parseRouteLeaseCreate = _chunk7B56AJBBcjs.parseRouteLeaseCreate; exports.pickModelRefFromList = _chunkT6NWPIYZcjs.pickModelRefFromList; exports.previousResponseNotFound = _chunk7B56AJBBcjs.previousResponseNotFound; exports.randomBase62 = _chunk7B56AJBBcjs.randomBase62; exports.readImageAssetBytes = _chunkCTKM773Jcjs.readImageAssetBytes; exports.redactAuditText = _chunkHCOQQAZEcjs.redactAuditText; exports.registerBuiltinTransformers = _chunkTVYA5JSQcjs.registerBuiltinTransformers; exports.registerResponsesCompactOperation = _chunk7B56AJBBcjs.registerResponsesCompactOperation; exports.registerStreamEventBuffer = _chunk7B56AJBBcjs.register; exports.releaseStreamEventBuffer = _chunk7B56AJBBcjs.release; exports.resolveApiFormat = _chunkA2YMUCBTcjs.resolveApiFormat; exports.resolveGatewayBinding = _chunk7B56AJBBcjs.resolveGatewayBinding; exports.resolveImageCapabilities = _chunkCTKM773Jcjs.resolveImageCapabilities; exports.resolvePrefixTarget = _chunkT6NWPIYZcjs.resolvePrefixTarget; exports.resolveProviderEndpoint = _chunkA2YMUCBTcjs.resolveProviderEndpoint; exports.resolveRoute = _chunkT6NWPIYZcjs.resolveRoute; exports.routeLeaseRuntime = _chunk7B56AJBBcjs.routeLeaseRuntime; exports.saveServerConfig = _chunk7B56AJBBcjs.saveServerConfig; exports.serializeError = _chunkSVNDB62Dcjs.serializeError; exports.serializeImageGenerationError = _chunkCTKM773Jcjs.serializeImageGenerationError; exports.setOpenRouterAppIdentity = _chunkUNEFIWXIcjs.setOpenRouterAppIdentity; exports.startOfLocalDay = _chunk7B56AJBBcjs.startOfLocalDay; exports.startOfLocalWeek = _chunk7B56AJBBcjs.startOfLocalWeek; exports.streamSSEResponse = _chunkHQP3K7PUcjs.streamSSEResponse; exports.toVoucherInfo = _chunk7B56AJBBcjs.toVoucherInfo; exports.unsupportedOpenAIOperation = _chunkG4CZIUIBcjs.unsupportedOpenAIOperation; exports.validateEndpointModelConfig = _chunkT6NWPIYZcjs.validateEndpointModelConfig; exports.validateImagesServerConfig = _chunk7B56AJBBcjs.validateImagesServerConfig; exports.validateOutboundPermissions = _chunk7B56AJBBcjs.validateOutboundPermissions; exports.validateResponsesImageSelection = _chunkCTKM773Jcjs.validateResponsesImageSelection; exports.verifyKey = _chunk7B56AJBBcjs.verifyKey; exports.verifyPresentedKey = _chunk7B56AJBBcjs.verifyPresentedKey; exports.voucherCodePrefix = _chunk7B56AJBBcjs.voucherCodePrefix; exports.writeOpenAIOperationError = _chunkG4CZIUIBcjs.writeOpenAIOperationError;
524
+ exports.AUDIT_REDACTED = _chunkHCOQQAZEcjs.AUDIT_REDACTED; exports.BoundAccountSelectionError = _chunk25GXJCEZcjs.BoundAccountSelectionError; exports.BuiltinToolExecutor = _chunk2RCCLQYVcjs.BuiltinToolExecutor; exports.CompletionService = _chunkVSYQ6XYNcjs.CompletionService; exports.ConcurrencyQueueFullError = _chunkVSYQ6XYNcjs.ConcurrencyQueueFullError; exports.ConcurrencyWaitCancelledError = _chunkVSYQ6XYNcjs.ConcurrencyWaitCancelledError; exports.ConcurrencyWaitTimeoutError = _chunkVSYQ6XYNcjs.ConcurrencyWaitTimeoutError; exports.DEFAULT_ACCOUNT_PROBE = _chunkVSYQ6XYNcjs.DEFAULT_ACCOUNT_PROBE; exports.DEFAULT_ALLOWANCE_SCHEDULING = _chunkVSYQ6XYNcjs.DEFAULT_ALLOWANCE_SCHEDULING; exports.DEFAULT_CONCURRENCY_QUEUE = _chunkVSYQ6XYNcjs.DEFAULT_CONCURRENCY_QUEUE; exports.DEFAULT_FINGERPRINT = _chunkVSYQ6XYNcjs.DEFAULT_FINGERPRINT; exports.DEFAULT_IMAGES_SERVER_CONFIG = _chunkVSYQ6XYNcjs.DEFAULT_IMAGES_SERVER_CONFIG; exports.DEFAULT_IMAGE_API_LIMITS = _chunkUPQIWJIEcjs.DEFAULT_IMAGE_API_LIMITS; exports.DEFAULT_OUTBOUND_PORT = _chunkVSYQ6XYNcjs.DEFAULT_OUTBOUND_PORT; exports.DEFAULT_ROUTE_IDLE_MS = _chunkVSYQ6XYNcjs.DEFAULT_ROUTE_IDLE_MS; exports.DEFAULT_SEARCH_SERVER_CONFIG = _chunkVSYQ6XYNcjs.DEFAULT_SEARCH_SERVER_CONFIG; exports.DEFAULT_USER_MESSAGE_QUEUE = _chunkVSYQ6XYNcjs.DEFAULT_USER_MESSAGE_QUEUE; exports.ENDPOINT_MODEL_KINDS = _chunk4IH4EL7Mcjs.ENDPOINT_MODEL_KINDS; exports.IMAGE_REQUEST_DIRECTORY_MARKER_CONTENT = _chunkUPQIWJIEcjs.IMAGE_REQUEST_DIRECTORY_MARKER_CONTENT; exports.IMAGE_REQUEST_DIRECTORY_MARKER_NAME = _chunkUPQIWJIEcjs.IMAGE_REQUEST_DIRECTORY_MARKER_NAME; exports.IMAGE_SERVER_HARD_CEILINGS = _chunkVSYQ6XYNcjs.IMAGE_SERVER_HARD_CEILINGS; exports.ImageGenerationError = _chunkUPQIWJIEcjs.ImageGenerationError; exports.ImageOrchestrator = _chunkUPQIWJIEcjs.ImageOrchestrator; exports.ImageProviderRegistry = _chunkUPQIWJIEcjs.ImageProviderRegistry; exports.ImageRequestResourceScope = _chunkUPQIWJIEcjs.ImageRequestResourceScope; exports.InMemoryImageAsset = _chunkUPQIWJIEcjs.InMemoryImageAsset; exports.InMemoryImageReferenceStore = _chunkUPQIWJIEcjs.InMemoryImageReferenceStore; exports.InMemoryResponsesImageStateStore = _chunkUPQIWJIEcjs.InMemoryResponsesImageStateStore; exports.KeySpendTracker = _chunkVSYQ6XYNcjs.KeySpendTracker; exports.KeyedMutex = _chunkVSYQ6XYNcjs.KeyedMutex; exports.LEGACY_OUTBOUND_PERMISSIONS = _chunkVSYQ6XYNcjs.LEGACY_OUTBOUND_PERMISSIONS; exports.NATIVE_SEARCH_TOOL_NAMES = _chunkGMMT7RVNcjs.NATIVE_SEARCH_TOOL_NAMES; exports.OPENROUTER_APP_HEADERS = _chunkUNEFIWXIcjs.OPENROUTER_APP_HEADERS; exports.OUTBOUND_API_SERVER_CONFIG_KEY = _chunkVSYQ6XYNcjs.OUTBOUND_API_SERVER_CONFIG_KEY; exports.OpenAIOperationError = _chunkG4CZIUIBcjs.OpenAIOperationError; exports.OpenAIOperationRegistrationError = _chunkG4CZIUIBcjs.OpenAIOperationRegistrationError; exports.OpenAIOperationRegistry = _chunkG4CZIUIBcjs.OpenAIOperationRegistry; exports.OutboundApiServer = _chunkVSYQ6XYNcjs.OutboundApiServer; exports.OutboundConcurrencyGate = _chunkVSYQ6XYNcjs.OutboundConcurrencyGate; exports.OutboundRateLimiter = _chunkVSYQ6XYNcjs.OutboundRateLimiter; exports.PricingEngine = _chunk2E42SAW3cjs.PricingEngine; exports.ProviderProxy = _chunkVSYQ6XYNcjs.ProviderProxy; exports.ProviderProxyRouteMap = _chunkVSYQ6XYNcjs.ProviderProxyRouteMap; exports.ROUTE_LEASE_API_VERSION = _chunkVSYQ6XYNcjs.ROUTE_LEASE_API_VERSION; exports.ROUTE_LEASE_CAPABILITIES = _chunkVSYQ6XYNcjs.ROUTE_LEASE_CAPABILITIES; exports.ROUTE_LEASE_CAPABILITIES_SCHEMA = _chunkVSYQ6XYNcjs.ROUTE_LEASE_CAPABILITIES_SCHEMA; exports.ROUTE_LEASE_CODEX_TOKEN_ENV = _chunkVSYQ6XYNcjs.ROUTE_LEASE_CODEX_TOKEN_ENV; exports.ROUTE_LEASE_DEFAULT_TTL_SECONDS = _chunkVSYQ6XYNcjs.ROUTE_LEASE_DEFAULT_TTL_SECONDS; exports.ROUTE_LEASE_MAX_CONSUMER_BYTES = _chunkVSYQ6XYNcjs.ROUTE_LEASE_MAX_CONSUMER_BYTES; exports.ROUTE_LEASE_MAX_EXECUTION_ID_BYTES = _chunkVSYQ6XYNcjs.ROUTE_LEASE_MAX_EXECUTION_ID_BYTES; exports.ROUTE_LEASE_MAX_IDEMPOTENCY_BYTES = _chunkVSYQ6XYNcjs.ROUTE_LEASE_MAX_IDEMPOTENCY_BYTES; exports.ROUTE_LEASE_MAX_MODEL_BYTES = _chunkVSYQ6XYNcjs.ROUTE_LEASE_MAX_MODEL_BYTES; exports.ROUTE_LEASE_MAX_SESSION_ID_BYTES = _chunkVSYQ6XYNcjs.ROUTE_LEASE_MAX_SESSION_ID_BYTES; exports.ROUTE_LEASE_MAX_TTL_SECONDS = _chunkVSYQ6XYNcjs.ROUTE_LEASE_MAX_TTL_SECONDS; exports.ROUTE_LEASE_REQUEST_SCHEMA = _chunkVSYQ6XYNcjs.ROUTE_LEASE_REQUEST_SCHEMA; exports.ROUTE_LEASE_RESULT_SCHEMA = _chunkVSYQ6XYNcjs.ROUTE_LEASE_RESULT_SCHEMA; exports.ROUTE_LEASE_RUNTIMES = _chunkVSYQ6XYNcjs.ROUTE_LEASE_RUNTIMES; exports.ROUTE_LEASE_RUNTIME_TABLE = _chunkVSYQ6XYNcjs.ROUTE_LEASE_RUNTIME_TABLE; exports.ROUTE_LEASE_SESSION_HASH_DOMAIN = _chunkVSYQ6XYNcjs.ROUTE_LEASE_SESSION_HASH_DOMAIN; exports.ResponsesAffinityStore = _chunkVSYQ6XYNcjs.ResponsesAffinityStore; exports.RouteLeaseError = _chunkVSYQ6XYNcjs.RouteLeaseError; exports.RouteLeaseManager = _chunkVSYQ6XYNcjs.RouteLeaseManager; exports.RouteLeaseTargetResolver = _chunkVSYQ6XYNcjs.RouteLeaseTargetResolver; exports.SUBSCRIPTION_PROVIDER_IDS = _chunkT6NWPIYZcjs.SUBSCRIPTION_PROVIDER_IDS; exports.SYSTEM_ROUTE_LEASE_CLOCK = _chunkVSYQ6XYNcjs.SYSTEM_ROUTE_LEASE_CLOCK; exports.SerialQueueTimeoutError = _chunkVSYQ6XYNcjs.SerialQueueTimeoutError; exports.TransformerChainExecutor = _chunk7ZHBN75Ncjs.TransformerChainExecutor; exports.TransformerService = _chunk3OPYJG76cjs.TransformerService; exports.UsageRecorder = _chunk5UK3KLE2cjs.UsageRecorder; exports.UserMessageSerialQueue = _chunkVSYQ6XYNcjs.UserMessageSerialQueue; exports.__resetOutboundApiServerForTests = _chunkVSYQ6XYNcjs.__resetOutboundApiServerForTests; exports.__resetProviderProxyForTests = _chunkVSYQ6XYNcjs.__resetProviderProxyForTests; exports.addOpenRouterProviderToRequest = _chunkVSYQ6XYNcjs.addOpenRouterProviderToRequest; exports.applyAugmentation = _chunkJMJBSACDcjs.applyAugmentation; exports.assertFiniteImageApiLimits = _chunkUPQIWJIEcjs.assertFiniteImageApiLimits; exports.attachStreamEventBuffer = _chunkVSYQ6XYNcjs.attach; exports.beginAuditCapture = _chunkFX325I5Qcjs.beginAuditCapture; exports.beginBillingCapture = _chunkAPYG5QD7cjs.beginBillingCapture; exports.boundAccountSelectionMessage = _chunk25GXJCEZcjs.boundAccountSelectionMessage; exports.buildAnthropicApiUrl = _chunkA2YMUCBTcjs.buildAnthropicApiUrl; exports.buildAzureOpenAIApiUrl = _chunkA2YMUCBTcjs.buildAzureOpenAIApiUrl; exports.buildGeminiApiUrl = _chunkA2YMUCBTcjs.buildGeminiApiUrl; exports.buildNativeSearchAugmentation = _chunkJMJBSACDcjs.buildNativeSearchAugmentation; exports.buildOpenAIApiUrl = _chunkA2YMUCBTcjs.buildOpenAIApiUrl; exports.buildOpenAIResponseApiUrl = _chunkA2YMUCBTcjs.buildOpenAIResponseApiUrl; exports.buildProviderApiUrl = _chunkA2YMUCBTcjs.buildProviderApiUrl; exports.candidateBackgroundModelIds = _chunkVSYQ6XYNcjs.candidateBackgroundModelIds; exports.candidateGatewayBindings = _chunkVSYQ6XYNcjs.candidateGatewayBindings; exports.canonicalizeRouteLeasePayload = _chunkVSYQ6XYNcjs.canonicalizeRouteLeasePayload; exports.checkKeyQuota = _chunkVSYQ6XYNcjs.checkKeyQuota; exports.classifyModelPrefix = _chunkT6NWPIYZcjs.classifyModelPrefix; exports.classifyOpenAIOperation = _chunkG4CZIUIBcjs.classifyOpenAIOperation; exports.classifyResponsesProfile = _chunkVSYQ6XYNcjs.classifyResponsesProfile; exports.codexSearchRoutePath = _chunkVSYQ6XYNcjs.codexSearchRoutePath; exports.computeKeyExpiry = _chunkVSYQ6XYNcjs.computeKeyExpiry; exports.computeVoucherGrant = _chunkVSYQ6XYNcjs.computeVoucherGrant; exports.convertAnthropicRequestToOpenAI = _chunkGDIXXKF2cjs.convertAnthropicRequestToOpenAI; exports.convertAnthropicStreamToOpenAI = _chunkGDIXXKF2cjs.convertAnthropicStreamToOpenAI; exports.convertAnthropicToOpenAI = _chunkGDIXXKF2cjs.convertAnthropicToOpenAI; exports.convertAnthropicToOpenAIWithThinking = _chunkGDIXXKF2cjs.convertAnthropicToOpenAIWithThinking; exports.convertMessageToAnthropic = _chunkVSYQ6XYNcjs.convertMessageToAnthropic; exports.convertMessageToGemini = _chunkVSYQ6XYNcjs.convertMessageToGemini; exports.convertMessageToOpenAI = _chunkVSYQ6XYNcjs.convertMessageToOpenAI; exports.convertOpenAIResponseToAnthropic = _chunkGDIXXKF2cjs.convertOpenAIResponseToAnthropic; exports.convertOpenAIStreamToAnthropic = _chunkGDIXXKF2cjs.convertOpenAIStreamToAnthropic; exports.convertOpenAIToAnthropic = _chunkGDIXXKF2cjs.convertOpenAIToAnthropic; exports.convertOpenAIToAnthropicWithThinking = _chunkGDIXXKF2cjs.convertOpenAIToAnthropicWithThinking; exports.createImageApiContributions = _chunkUPQIWJIEcjs.createImageApiContributions; exports.createImageRequestResourceScope = _chunkUPQIWJIEcjs.createImageRequestResourceScope; exports.createIntegrationKey = _chunkVSYQ6XYNcjs.createIntegrationKey; exports.createNamedKey = _chunkVSYQ6XYNcjs.createNamedKey; exports.createNativeResponsesHostedImageIngress = _chunkVSYQ6XYNcjs.createNativeResponsesHostedImageIngress; exports.createResponsesCompactHandler = _chunkVSYQ6XYNcjs.createResponsesCompactHandler; exports.createResponsesImageGenerationContribution = _chunkUPQIWJIEcjs.createResponsesImageGenerationContribution; exports.createSSEParser = _chunkHQP3K7PUcjs.createSSEParser; exports.createSafeRemoteImageResolver = _chunkUPQIWJIEcjs.createSafeRemoteImageResolver; exports.defaultServerConfig = _chunkVSYQ6XYNcjs.defaultServerConfig; exports.detectModelKind = _chunkT6NWPIYZcjs.detectModelKind; exports.detectNativeSearch = _chunkJMJBSACDcjs.detectNativeSearch; exports.detectRequestRole = _chunkT6NWPIYZcjs.detectRequestRole; exports.effectiveOutboundPermissions = _chunkVSYQ6XYNcjs.effectiveOutboundPermissions; exports.emitImageTelemetry = _chunkUPQIWJIEcjs.emitImageTelemetry; exports.emitStreamEvent = _chunkVSYQ6XYNcjs.emit; exports.endpointSupportsSubscription = _chunkT6NWPIYZcjs.endpointSupportsSubscription; exports.endpointToIngressFormat = _chunkT6NWPIYZcjs.endpointToIngressFormat; exports.extractRouteToken = _chunkVSYQ6XYNcjs.extractRouteToken; exports.formatUrls = _chunkVSYQ6XYNcjs.formatUrls; exports.gatewayBindingToEndpointConfig = _chunkVSYQ6XYNcjs.gatewayBindingToEndpointConfig; exports.generateVoucherCode = _chunkVSYQ6XYNcjs.generateVoucherCode; exports.getBuiltinSearchTools = _chunk2RCCLQYVcjs.getBuiltinSearchTools; exports.getOpenAIOperation = _chunkG4CZIUIBcjs.getOpenAIOperation; exports.getOpenRouterAppIdentity = _chunkUNEFIWXIcjs.getOpenRouterAppIdentity; exports.getOpenRouterProviderConfig = _chunkVSYQ6XYNcjs.getOpenRouterProviderConfig; exports.getOutboundApiServer = _chunkVSYQ6XYNcjs.getOutboundApiServer; exports.getProviderHeaders = _chunkOIKREZVQcjs.getProviderHeaders; exports.getProviderProxy = _chunkVSYQ6XYNcjs.getProviderProxy; exports.getResponsesAffinityStore = _chunkVSYQ6XYNcjs.getResponsesAffinityStore; exports.handleCodexSearchRequest = _chunkVSYQ6XYNcjs.handleCodexSearchRequest; exports.handleVoucherRedeem = _chunkVSYQ6XYNcjs.handleVoucherRedeem; exports.hasImageContent = _chunkGDIXXKF2cjs.hasImageContent; exports.hasThinkingEnabled = _chunkGDIXXKF2cjs.hasThinkingEnabled; exports.hashKey = _chunkVSYQ6XYNcjs.hashKey; exports.hashRouteLeasePayload = _chunkVSYQ6XYNcjs.hashRouteLeasePayload; exports.hashRouteLeaseSessionId = _chunkVSYQ6XYNcjs.hashRouteLeaseSessionId; exports.hashVoucherCode = _chunkVSYQ6XYNcjs.hashVoucherCode; exports.imageGenerationErrorFromPublic = _chunkUPQIWJIEcjs.imageGenerationErrorFromPublic; exports.inspectResponsesImageRequest = _chunkUPQIWJIEcjs.inspectResponsesImageRequest; exports.isBoundAccountSelectionError = _chunk25GXJCEZcjs.isBoundAccountSelectionError; exports.isCodexSearchRequest = _chunkVSYQ6XYNcjs.isCodexSearchRequest; exports.isConcurrencyRejection = _chunkVSYQ6XYNcjs.isConcurrencyRejection; exports.isImageGenerationError = _chunkUPQIWJIEcjs.isImageGenerationError; exports.isKindMappedEndpoint = _chunkT6NWPIYZcjs.isKindMappedEndpoint; exports.isLoopbackAddress = _chunkVSYQ6XYNcjs.isLoopbackAddress; exports.isOpenRouterProvider = _chunkUNEFIWXIcjs.isOpenRouterProvider; exports.isRedeemRequest = _chunkVSYQ6XYNcjs.isRedeemRequest; exports.isSerialQueueTimeout = _chunkVSYQ6XYNcjs.isSerialQueueTimeout; exports.isSubscriptionProviderId = _chunkT6NWPIYZcjs.isSubscriptionProviderId; exports.isUserMessageRequest = _chunkVSYQ6XYNcjs.isUserMessageRequest; exports.legacyEndpointsToBindings = _chunkVSYQ6XYNcjs.legacyEndpointsToBindings; exports.loadServerConfig = _chunkVSYQ6XYNcjs.loadServerConfig; exports.mergeServerConfig = _chunkVSYQ6XYNcjs.mergeServerConfig; exports.modelKindsForEndpoint = _chunkT6NWPIYZcjs.modelKindsForEndpoint; exports.newVoucherId = _chunkVSYQ6XYNcjs.newVoucherId; exports.normalizeAccountProbe = _chunkVSYQ6XYNcjs.normalizeAccountProbe; exports.normalizeAllowanceScheduling = _chunkVSYQ6XYNcjs.normalizeAllowanceScheduling; exports.normalizeAudit = _chunkVSYQ6XYNcjs.normalizeAudit; exports.normalizeAzureEndpoint = _chunkA2YMUCBTcjs.normalizeAzureEndpoint; exports.normalizeBilling = _chunkVSYQ6XYNcjs.normalizeBilling; exports.normalizeFingerprint = _chunkVSYQ6XYNcjs.normalizeFingerprint; exports.normalizeGatewayBindings = _chunkVSYQ6XYNcjs.normalizeGatewayBindings; exports.normalizeImageGenerationError = _chunkUPQIWJIEcjs.normalizeImageGenerationError; exports.normalizeImagesServerConfig = _chunkVSYQ6XYNcjs.normalizeImagesServerConfig; exports.normalizePrefixTargets = _chunkVSYQ6XYNcjs.normalizePrefixTargets; exports.normalizeProxyConfig = _chunkVSYQ6XYNcjs.normalizeProxyConfig; exports.normalizeProxySegment = _chunkVSYQ6XYNcjs.normalizeProxySegment; exports.normalizeQueueSegments = _chunkVSYQ6XYNcjs.normalizeQueueSegments; exports.normalizeRouteLeaseIdempotencyKey = _chunkVSYQ6XYNcjs.normalizeRouteLeaseIdempotencyKey; exports.normalizeRouteLeaseTtl = _chunkVSYQ6XYNcjs.normalizeRouteLeaseTtl; exports.normalizeSearchApiProviderConfigs = _chunkVSYQ6XYNcjs.normalizeSearchApiProviderConfigs; exports.normalizeSearchServerConfig = _chunkVSYQ6XYNcjs.normalizeSearchServerConfig; exports.normalizeServerConfig = _chunkVSYQ6XYNcjs.normalizeServerConfig; exports.normalizeVoucher = _chunkVSYQ6XYNcjs.normalizeVoucher; exports.normalizeWebhookDestination = _chunkVSYQ6XYNcjs.normalizeWebhookDestination; exports.normalizeWebhookSegment = _chunkVSYQ6XYNcjs.normalizeWebhookSegment; exports.parseModelRef = _chunkT6NWPIYZcjs.parseModelRef; exports.parseRouteLeaseCreate = _chunkVSYQ6XYNcjs.parseRouteLeaseCreate; exports.pickModelRefFromList = _chunkT6NWPIYZcjs.pickModelRefFromList; exports.previousResponseNotFound = _chunkVSYQ6XYNcjs.previousResponseNotFound; exports.randomBase62 = _chunkVSYQ6XYNcjs.randomBase62; exports.readImageAssetBytes = _chunkUPQIWJIEcjs.readImageAssetBytes; exports.redactAuditText = _chunkHCOQQAZEcjs.redactAuditText; exports.registerBuiltinTransformers = _chunkZAPN7XA6cjs.registerBuiltinTransformers; exports.registerResponsesCompactOperation = _chunkVSYQ6XYNcjs.registerResponsesCompactOperation; exports.registerStreamEventBuffer = _chunkVSYQ6XYNcjs.register; exports.releaseStreamEventBuffer = _chunkVSYQ6XYNcjs.release; exports.resolveApiFormat = _chunkA2YMUCBTcjs.resolveApiFormat; exports.resolveGatewayBinding = _chunkVSYQ6XYNcjs.resolveGatewayBinding; exports.resolveImageCapabilities = _chunkUPQIWJIEcjs.resolveImageCapabilities; exports.resolvePrefixTarget = _chunkT6NWPIYZcjs.resolvePrefixTarget; exports.resolveProviderEndpoint = _chunkA2YMUCBTcjs.resolveProviderEndpoint; exports.resolveRoute = _chunkT6NWPIYZcjs.resolveRoute; exports.routeLeaseRuntime = _chunkVSYQ6XYNcjs.routeLeaseRuntime; exports.saveServerConfig = _chunkVSYQ6XYNcjs.saveServerConfig; exports.serializeError = _chunkSVNDB62Dcjs.serializeError; exports.serializeImageGenerationError = _chunkUPQIWJIEcjs.serializeImageGenerationError; exports.setOpenRouterAppIdentity = _chunkUNEFIWXIcjs.setOpenRouterAppIdentity; exports.startOfLocalDay = _chunkVSYQ6XYNcjs.startOfLocalDay; exports.startOfLocalWeek = _chunkVSYQ6XYNcjs.startOfLocalWeek; exports.streamSSEResponse = _chunkHQP3K7PUcjs.streamSSEResponse; exports.toVoucherInfo = _chunkVSYQ6XYNcjs.toVoucherInfo; exports.unsupportedOpenAIOperation = _chunkG4CZIUIBcjs.unsupportedOpenAIOperation; exports.validateEndpointModelConfig = _chunkT6NWPIYZcjs.validateEndpointModelConfig; exports.validateImagesServerConfig = _chunkVSYQ6XYNcjs.validateImagesServerConfig; exports.validateOutboundPermissions = _chunkVSYQ6XYNcjs.validateOutboundPermissions; exports.validateResponsesImageSelection = _chunkUPQIWJIEcjs.validateResponsesImageSelection; exports.validateSearchServerConfig = _chunkVSYQ6XYNcjs.validateSearchServerConfig; exports.verifyKey = _chunkVSYQ6XYNcjs.verifyKey; exports.verifyPresentedKey = _chunkVSYQ6XYNcjs.verifyPresentedKey; exports.voucherCodePrefix = _chunkVSYQ6XYNcjs.voucherCodePrefix; exports.writeOpenAIOperationError = _chunkG4CZIUIBcjs.writeOpenAIOperationError;
package/dist/index.d.cts CHANGED
@@ -1,6 +1,6 @@
1
1
  export { serializeError } from './serializeError.cjs';
2
2
  export { SSEEvent, SSEFormat, SSEParserCallbacks, createSSEParser, streamSSEResponse } from './sse-parser.cjs';
3
- export { A as AnthropicTool, B as BuiltinToolExecutor, G as GeminiTools, M as McpToolProvider, O as OpenAITool, g as getBuiltinSearchTools } from './BuiltinToolExecutor-CS2WpXhM.cjs';
3
+ export { A as AnthropicTool, B as BuiltinToolExecutor, G as GeminiTools, M as McpToolProvider, O as OpenAITool, g as getBuiltinSearchTools } from './BuiltinToolExecutor-BHgH-EaZ.cjs';
4
4
  import { LLMProvider } from '@omnicross/contracts/llm-config';
5
5
  export { C as CorePaths, a as CoreUsageEvent, b as CoreUsageTokenCounts, U as UsageEventSink } from './usage-event-sink-BX7FE1NL.cjs';
6
6
  export { L as Logger } from './logger-4GvQNzhE.cjs';
@@ -8,19 +8,19 @@ export { AutomaticPricingSource, PricingStore } from './ports/pricing-store.cjs'
8
8
  export { ProviderConfigSource } from './ports/provider-config-source.cjs';
9
9
  export { UsageEventStore } from './ports/usage-event-store.cjs';
10
10
  export { WebSearchBackend } from './ports/web-search-backend.cjs';
11
- export { A as AnthropicIngressHandler, a as AnthropicIngressHandlerFactory, b as AnthropicRouteHandlerParams, c as AnthropicSdkHints, E as ExtendedContextHint, d as ExtensionOpenAIOperationId, I as ImageAsset, e as ImageJob, f as ImageJobObservability, g as ImageJobObservabilitySnapshot, h as ImageOrchestrator, i as ImageOrchestratorOptions, j as ImageOrchestratorRunOptions, k as ImageProvider, l as ImageProviderContext, m as ImageProviderLease, n as ImageProviderRegistry, o as ImageProviderRequest, p as ImageReferenceLease, q as ImageReferenceResolution, r as ImageReferenceSaveInput, s as ImageReferenceStore, t as ImageReferenceValue, u as ImageRetentionPolicy, v as ImageTelemetryOutputMetadata, w as ImageTelemetryRecord, x as ImageTelemetrySink, y as InMemoryImageAsset, z as InMemoryImageReferenceStore, B as InMemoryResponsesImageStateStore, C as InMemoryResponsesImageStateStoreOptions, D as IngressFormat, O as OpenAIOperation, F as OpenAIOperationBodyKind, G as OpenAIOperationDispatchContext, H as OpenAIOperationError, J as OpenAIOperationErrorInit, K as OpenAIOperationHandler, L as OpenAIOperationHandlerContext, M as OpenAIOperationId, N as OpenAIOperationOwner, P as OpenAIOperationRegistrationError, Q as OpenAIOperationRegistrationErrorCode, R as OpenAIOperationRegistry, S as OpenAIPolicyFamily, T as OpenAIRequestedModelSource, V as OpenAIRouteFamily, W as ProviderProxyDeps, X as ProxyAttribution, Y as ResponsesAffinityEntry, Z as ResponsesAffinityRecord, _ as ResponsesAffinityScope, $ as ResponsesAffinityStore, a0 as ResponsesAffinityStoreOptions, a1 as ResponsesCredentialIdentity, a2 as ResponsesHostedImageIngress, a3 as ResponsesHostedImageRequestLease, a4 as ResponsesHostedImageRuntimeFactory, a5 as ResponsesHostedImageRuntimeLease, a6 as ResponsesHostedToolIdentity, a7 as ResponsesHostedToolSelection, a8 as ResponsesImageAction, a9 as ResponsesImageAdmission, aa as ResponsesImageCallBinding, ab as ResponsesImageCallId, ac as ResponsesImageCallResolution, ad as ResponsesImageCallStateLease, ae as ResponsesImageCompletedRecord, af as ResponsesImageEventAllocator, ag as ResponsesImageExecutionEvent, ah as ResponsesImageFailedRecord, ai as ResponsesImageGenerationCallItem, aj as ResponsesImageGenerationCallStartedItem, ak as ResponsesImageGenerationContribution, al as ResponsesImageGenerationContributionDeps, am as ResponsesImageInspectionInput, an as ResponsesImageNormalizedOptions, ao as ResponsesImagePartialEvent, ap as ResponsesImageRequestScope, aq as ResponsesImageRequestScopeInput, ar as ResponsesImageResponseResolution, as as ResponsesImageResponseStateLease, at as ResponsesImageSelectionPolicy, au as ResponsesImageStartedRecord, av as ResponsesImageStateCommitInput, aw as ResponsesImageStateStore, ax as ResponsesImageTrustedRuntime, ay as ResponsesProfile, az as ResponsesProfileDeclaration, aA as ResponsesSelectedImageCall, aB as RetryCallback, aC as RouteAuthMode, aD as RouteContext, aE as RouteLeaseUsageAttribution, aF as StreamEventCallback, aG as SubscriptionDispatchProfile, aH as SubscriptionRequestSummary, aI as TargetProviderFormat, U as UsageRecorderImport, U as UsageSink, aJ as classifyOpenAIOperation, aK as classifyResponsesProfile, aL as emitImageTelemetry, aM as getOpenAIOperation, aN as getResponsesAffinityStore, aO as previousResponseNotFound, aP as readImageAssetBytes, aQ as unsupportedOpenAIOperation, aR as writeOpenAIOperationError } from './types-DsHBBk3h.cjs';
12
- export { 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, I as ImagesServerConfig, K as KeySpendReader, i as KeySpendSeeder, j as KeySpendTracker, k as KindMappedEndpoint, M as MessagesModelKind, l as ModelKind, m as ModelPrefixTargets, n as OutboundApiDeps, o as OutboundApiKeyCreated, p as OutboundApiKeyInfo, q as OutboundApiServerConfig, r as OutboundApiServerStatus, O as OutboundCredentialStore, s as OutboundEndpoint, t as OutboundFormatUrls, u as OutboundKeyActivationMode, O as OutboundKeyDb, v as OutboundKeyDbRow, w as OutboundKeyPolicy, x as OutboundPermission, y as OutboundProxyConfig, R as RequestRole, z as ResponsesModelKind, U as UserMessageQueueConfig, 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';
11
+ export { A as AnthropicIngressHandler, a as AnthropicIngressHandlerFactory, b as AnthropicRouteHandlerParams, c as AnthropicSdkHints, E as ExtendedContextHint, d as ExtensionOpenAIOperationId, I as ImageAsset, e as ImageJob, f as ImageJobObservability, g as ImageJobObservabilitySnapshot, h as ImageOrchestrator, i as ImageOrchestratorOptions, j as ImageOrchestratorRunOptions, k as ImageProvider, l as ImageProviderContext, m as ImageProviderLease, n as ImageProviderRegistry, o as ImageProviderRequest, p as ImageReferenceLease, q as ImageReferenceResolution, r as ImageReferenceSaveInput, s as ImageReferenceStore, t as ImageReferenceValue, u as ImageRetentionPolicy, v as ImageTelemetryOutputMetadata, w as ImageTelemetryRecord, x as ImageTelemetrySink, y as InMemoryImageAsset, z as InMemoryImageReferenceStore, B as InMemoryResponsesImageStateStore, C as InMemoryResponsesImageStateStoreOptions, D as IngressFormat, O as OpenAIOperation, F as OpenAIOperationBodyKind, G as OpenAIOperationDispatchContext, H as OpenAIOperationError, J as OpenAIOperationErrorInit, K as OpenAIOperationHandler, L as OpenAIOperationHandlerContext, M as OpenAIOperationId, N as OpenAIOperationOwner, P as OpenAIOperationRegistrationError, Q as OpenAIOperationRegistrationErrorCode, R as OpenAIOperationRegistry, S as OpenAIPolicyFamily, T as OpenAIRequestedModelSource, V as OpenAIRouteFamily, W as ProviderProxyDeps, X as ProxyAttribution, Y as ResponsesAffinityEntry, Z as ResponsesAffinityRecord, _ as ResponsesAffinityScope, $ as ResponsesAffinityStore, a0 as ResponsesAffinityStoreOptions, a1 as ResponsesCredentialIdentity, a2 as ResponsesHostedImageIngress, a3 as ResponsesHostedImageRequestLease, a4 as ResponsesHostedImageRuntimeFactory, a5 as ResponsesHostedImageRuntimeLease, a6 as ResponsesHostedToolIdentity, a7 as ResponsesHostedToolSelection, a8 as ResponsesImageAction, a9 as ResponsesImageAdmission, aa as ResponsesImageCallBinding, ab as ResponsesImageCallId, ac as ResponsesImageCallResolution, ad as ResponsesImageCallStateLease, ae as ResponsesImageCompletedRecord, af as ResponsesImageEventAllocator, ag as ResponsesImageExecutionEvent, ah as ResponsesImageFailedRecord, ai as ResponsesImageGenerationCallItem, aj as ResponsesImageGenerationCallStartedItem, ak as ResponsesImageGenerationContribution, al as ResponsesImageGenerationContributionDeps, am as ResponsesImageInspectionInput, an as ResponsesImageNormalizedOptions, ao as ResponsesImagePartialEvent, ap as ResponsesImageRequestScope, aq as ResponsesImageRequestScopeInput, ar as ResponsesImageResponseResolution, as as ResponsesImageResponseStateLease, at as ResponsesImageSelectionPolicy, au as ResponsesImageStartedRecord, av as ResponsesImageStateCommitInput, aw as ResponsesImageStateStore, ax as ResponsesImageTrustedRuntime, ay as ResponsesProfile, az as ResponsesProfileDeclaration, aA as ResponsesSelectedImageCall, aB as RetryCallback, aC as RouteAuthMode, aD as RouteContext, aE as RouteLeaseUsageAttribution, aF as StreamEventCallback, aG as SubscriptionDispatchProfile, aH as SubscriptionRequestSummary, aI as TargetProviderFormat, U as UsageRecorderImport, U as UsageSink, aJ as classifyOpenAIOperation, aK as classifyResponsesProfile, aL as emitImageTelemetry, aM as getOpenAIOperation, aN as getResponsesAffinityStore, aO as previousResponseNotFound, aP as readImageAssetBytes, aQ as unsupportedOpenAIOperation, aR as writeOpenAIOperationError } from './types-BSIJdsyl.cjs';
12
+ export { 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, I as ImagesServerConfig, K as KeySpendReader, i as KeySpendSeeder, j as KeySpendTracker, k as KindMappedEndpoint, M as MessagesModelKind, l as ModelKind, m as ModelPrefixTargets, n as OutboundApiDeps, o as OutboundApiKeyCreated, p as OutboundApiKeyInfo, q as OutboundApiServerConfig, r as OutboundApiServerStatus, O as OutboundCredentialStore, s as OutboundEndpoint, t as OutboundFormatUrls, u as OutboundKeyActivationMode, O as OutboundKeyDb, v as OutboundKeyDbRow, w as OutboundKeyPolicy, x as OutboundPermission, y as OutboundProxyConfig, R as RequestRole, z as ResponsesModelKind, S as SearchServerConfig, U as UserMessageQueueConfig, 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, T as voucherCodePrefix } from './types-D-oHYusb.cjs';
13
13
  export { CostCalculation, PricingEngine, PricingEngineOptions } from './usage/pricing-engine.cjs';
14
14
  export { UsageRecordInput, UsageRecorder, UsageRecorderOptions } from './usage/usage-recorder.cjs';
15
15
  export { ImageCapabilityEvidenceSet, ImageGenerationError, ImageGenerationErrorOptions, createImageApiContributions, createResponsesImageGenerationContribution, createSafeRemoteImageResolver, imageGenerationErrorFromPublic, inspectResponsesImageRequest, isImageGenerationError, normalizeImageGenerationError, resolveImageCapabilities, serializeImageGenerationError, validateResponsesImageSelection } from './image-generation.cjs';
16
- export { C as CreateImageRequestResourceScopeOptions, D as DEFAULT_IMAGE_API_LIMITS, I as IMAGE_REQUEST_DIRECTORY_MARKER_CONTENT, a as IMAGE_REQUEST_DIRECTORY_MARKER_NAME, b as ImageApiAuditRecord, c as ImageApiContributions, d as ImageApiContributionsDeps, e as ImageApiLimits, f as ImageApiRuntime, g as ImageApiRuntimeResolver, h as ImageOpenAIOperationContribution, i as ImageRemoteMaterializer, j as ImageRequestResourceOwnership, k as ImageRequestResourceScope, l as ImageTemporaryResourceBudget, m as ImageTemporaryResourceBudgetLease, R as RemoteImageAssetResolver, n as assertFiniteImageApiLimits, o as createImageRequestResourceScope } from './types-CbglB73l.cjs';
16
+ export { C as CreateImageRequestResourceScopeOptions, D as DEFAULT_IMAGE_API_LIMITS, I as IMAGE_REQUEST_DIRECTORY_MARKER_CONTENT, a as IMAGE_REQUEST_DIRECTORY_MARKER_NAME, b as ImageApiAuditRecord, c as ImageApiContributions, d as ImageApiContributionsDeps, e as ImageApiLimits, f as ImageApiRuntime, g as ImageApiRuntimeResolver, h as ImageOpenAIOperationContribution, i as ImageRemoteMaterializer, j as ImageRequestResourceOwnership, k as ImageRequestResourceScope, l as ImageTemporaryResourceBudget, m as ImageTemporaryResourceBudgetLease, R as RemoteImageAssetResolver, n as assertFiniteImageApiLimits, o as createImageRequestResourceScope } from './types-Be-yt_6T.cjs';
17
17
  export { A as ApiFormat, C as CompletionOptions, a as CompletionResult, N as NATIVE_SEARCH_TOOL_NAMES, b as NativeSearchAugmentation, c as NativeSearchDetectionResult, d as NativeSearchProvider, e as NativeSearchUserConfig, S as StreamCallbacks } from './types-BScIHmPr.cjs';
18
- export { C as CompletionService, V as VisionFallbackProvider } from './CompletionService-BiJqftc-.cjs';
18
+ export { C as CompletionService, V as VisionFallbackProvider } from './CompletionService-BniP7j88.cjs';
19
19
  export { SimpleChatGeminiMessage, SimpleChatGeminiPart, StreamEvent, StreamEventType, StreamSender, addOpenRouterProviderToRequest, attachStreamEventBuffer, convertMessageToAnthropic, convertMessageToGemini, convertMessageToOpenAI, emitStreamEvent, getOpenRouterProviderConfig, getProviderHeaders, registerStreamEventBuffer, releaseStreamEventBuffer } from './completion.cjs';
20
20
  export { buildAnthropicApiUrl, buildAzureOpenAIApiUrl, buildGeminiApiUrl, buildOpenAIApiUrl, buildOpenAIResponseApiUrl, buildProviderApiUrl, normalizeAzureEndpoint, resolveApiFormat, resolveProviderEndpoint } from './completion/url-builder.cjs';
21
21
  export { applyAugmentation, buildNativeSearchAugmentation, detectNativeSearch } from './completion/NativeSearchInjector.cjs';
22
22
  export { NormalizedRouteLeaseCreate, NormalizedRouteLeaseRequest, ROUTE_LEASE_API_VERSION, ROUTE_LEASE_CAPABILITIES, ROUTE_LEASE_CAPABILITIES_SCHEMA, ROUTE_LEASE_CODEX_TOKEN_ENV, ROUTE_LEASE_DEFAULT_TTL_SECONDS, ROUTE_LEASE_MAX_CONSUMER_BYTES, ROUTE_LEASE_MAX_EXECUTION_ID_BYTES, ROUTE_LEASE_MAX_IDEMPOTENCY_BYTES, ROUTE_LEASE_MAX_MODEL_BYTES, ROUTE_LEASE_MAX_SESSION_ID_BYTES, ROUTE_LEASE_MAX_TTL_SECONDS, ROUTE_LEASE_REQUEST_SCHEMA, ROUTE_LEASE_RESULT_SCHEMA, ROUTE_LEASE_RUNTIMES, ROUTE_LEASE_RUNTIME_TABLE, ROUTE_LEASE_SESSION_HASH_DOMAIN, ResponsesCompactRegistrationOptions, RouteLeaseCapabilities, RouteLeaseClock, RouteLeaseCreateOutcome, RouteLeaseCreateResult, RouteLeaseDescriptorPort, RouteLeaseError, RouteLeaseErrorCode, RouteLeaseExecutionMetadata, RouteLeaseExecutionRequest, RouteLeaseLogger, RouteLeaseManager, RouteLeaseManagerOptions, RouteLeaseMetadata, RouteLeaseProviderKeyPreflight, RouteLeaseReleaseResult, RouteLeaseRenewResult, RouteLeaseRequest, RouteLeaseRoutePort, RouteLeaseRuntime, RouteLeaseStatus, RouteLeaseSubscriptionPreflight, RouteLeaseTargetResolver, RouteLeaseTargetResolverOptions, RouteLeaseTargetResolverPort, RouteLeaseUpstream, RuntimeLaunchDescriptor, SYSTEM_ROUTE_LEASE_CLOCK, __resetProviderProxyForTests, canonicalizeRouteLeasePayload, createNativeResponsesHostedImageIngress, createResponsesCompactHandler, extractRouteToken, getProviderProxy, hashRouteLeasePayload, hashRouteLeaseSessionId, normalizeRouteLeaseIdempotencyKey, normalizeRouteLeaseTtl, parseRouteLeaseCreate, registerResponsesCompactOperation, routeLeaseRuntime } from './provider-proxy.cjs';
23
- export { ApiServerSettingsStore, ApplyConfigInput, 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, GateAcquireOptions, GateAcquisition, GateSlot, GateStatusEntry, GatewayBindingResolution, IMAGE_SERVER_HARD_CEILINGS, KeyVerification, KeyedMutex, LEGACY_OUTBOUND_PERMISSIONS, ModelPrefixKind, OUTBOUND_API_SERVER_CONFIG_KEY, OutboundApiServer, OutboundConcurrencyGate, OutboundRateLimiter, PreparedOutboundApiConfig, ResolveGatewayBindingInput, SerialAcquireOptions, SerialQueueStatusEntry, SerialQueueTimeoutError, SerialSlot, UserMessageSerialQueue, 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 } from './outbound-api.cjs';
23
+ export { ApiServerSettingsStore, ApplyConfigInput, CodexSearchRouteDeps, ConcurrencyQueueFullError, ConcurrencyWaitCancelledError, ConcurrencyWaitTimeoutError, DEFAULT_ACCOUNT_PROBE, DEFAULT_ALLOWANCE_SCHEDULING, DEFAULT_CONCURRENCY_QUEUE, DEFAULT_FINGERPRINT, DEFAULT_IMAGES_SERVER_CONFIG, DEFAULT_OUTBOUND_PORT, DEFAULT_SEARCH_SERVER_CONFIG, DEFAULT_USER_MESSAGE_QUEUE, GateAcquireOptions, GateAcquisition, GateSlot, GateStatusEntry, GatewayBindingResolution, IMAGE_SERVER_HARD_CEILINGS, KeyVerification, KeyedMutex, LEGACY_OUTBOUND_PERMISSIONS, ModelPrefixKind, OUTBOUND_API_SERVER_CONFIG_KEY, OutboundApiServer, OutboundConcurrencyGate, OutboundRateLimiter, PreparedOutboundApiConfig, ResolveGatewayBindingInput, SerialAcquireOptions, SerialQueueStatusEntry, SerialQueueTimeoutError, SerialSlot, UserMessageSerialQueue, VerifiedKey, __resetOutboundApiServerForTests, candidateBackgroundModelIds, candidateGatewayBindings, classifyModelPrefix, codexSearchRoutePath, createIntegrationKey, createNamedKey, defaultServerConfig, detectModelKind, detectRequestRole, effectiveOutboundPermissions, endpointToIngressFormat, formatUrls, gatewayBindingToEndpointConfig, getOutboundApiServer, handleCodexSearchRequest, handleVoucherRedeem, hashKey, isCodexSearchRequest, isConcurrencyRejection, isKindMappedEndpoint, isRedeemRequest, isSerialQueueTimeout, isUserMessageRequest, legacyEndpointsToBindings, loadServerConfig, mergeServerConfig, modelKindsForEndpoint, normalizeAccountProbe, normalizeAllowanceScheduling, normalizeAudit, normalizeBilling, normalizeFingerprint, normalizeGatewayBindings, normalizeImagesServerConfig, normalizePrefixTargets, normalizeProxyConfig, normalizeProxySegment, normalizeQueueSegments, normalizeSearchApiProviderConfigs, normalizeSearchServerConfig, normalizeServerConfig, normalizeVoucher, normalizeWebhookDestination, normalizeWebhookSegment, randomBase62, resolveGatewayBinding, resolvePrefixTarget, saveServerConfig, validateEndpointModelConfig, validateImagesServerConfig, validateOutboundPermissions, validateSearchServerConfig, verifyKey, verifyPresentedKey } from './outbound-api.cjs';
24
24
  export { convertAnthropicRequestToOpenAI, convertAnthropicStreamToOpenAI, convertAnthropicToOpenAI, convertAnthropicToOpenAIWithThinking, convertOpenAIResponseToAnthropic, convertOpenAIStreamToAnthropic, convertOpenAIToAnthropic, convertOpenAIToAnthropicWithThinking, hasImageContent, hasThinkingEnabled } from './ApiConverter.cjs';
25
25
  export { ChainExecutionOptions, TransformerChainExecutor } from './transformer/TransformerChainExecutor.cjs';
26
26
  export { TransformerService } from './transformer/TransformerService.cjs';
@@ -31,11 +31,13 @@ export { AUDIT_REDACTED, redactAuditText } from './outbound-api/auditRedact.cjs'
31
31
  export { AuditCaptureContext, beginAuditCapture } from './outbound-api/auditCapture.cjs';
32
32
  export { BillingCaptureContext, beginBillingCapture } from './outbound-api/billingCapture.cjs';
33
33
  export { BoundAccountFallbackPolicy, BoundAccountSelectionError, BoundAccountSelectionFailureReason, boundAccountSelectionMessage, isBoundAccountSelectionError } from './pipeline/BoundAccountSelectionError.cjs';
34
- export { D as DEFAULT_ROUTE_IDLE_MS, P as ProviderProxy, a as ProviderProxyRouteMap, R as RouteEvictionReason, b as RouteRegistrationOptions, i as isLoopbackAddress } from './ProviderProxy-CgIcCVwk.cjs';
34
+ export { D as DEFAULT_ROUTE_IDLE_MS, P as ProviderProxy, a as ProviderProxyRouteMap, R as RouteEvictionReason, b as RouteRegistrationOptions, i as isLoopbackAddress } from './ProviderProxy-Bz_nkOwq.cjs';
35
35
  export { K as KeyCostLimits, a as KeyExpiryInput, b as KeyExpiryResult, c as KeySpend, Q as QuotaDecision, d as checkKeyQuota, e as computeKeyExpiry } from './keyPolicy-zdWTu3CQ.cjs';
36
- 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';
36
+ export { S as SUBSCRIPTION_PROVIDER_IDS, e as endpointSupportsSubscription, i as isSubscriptionProviderId, p as parseModelRef, a as pickModelRefFromList, r as resolveRoute } from './routeResolver-Da0yvkL1.cjs';
37
37
  import '@omnicross/contracts/message-blocks';
38
38
  import '@omnicross/contracts/mcp-types';
39
+ import './runtime-t8AZacFF.cjs';
40
+ import '@omnicross/contracts/search-types';
39
41
  import '@omnicross/contracts/pricing-types';
40
42
  import '@omnicross/contracts/usage-stats-types';
41
43
  import '@omnicross/contracts/websearch-types';
@@ -46,6 +48,7 @@ import './completion/ApiKeyPoolService.cjs';
46
48
  import './pipeline/AuthSource.cjs';
47
49
  import './pipeline/SubscriptionAuthSource.cjs';
48
50
  import './pipeline/SubscriptionAuthStrategy.cjs';
51
+ import './frontends-Doz0RaWu.cjs';
49
52
  import '@omnicross/contracts/image-generation-types';
50
53
  import '@omnicross/contracts/account-tokens-types';
51
54
  import '@omnicross/contracts/audit-types';
@@ -53,6 +56,7 @@ import '@omnicross/contracts/billing-types';
53
56
  import '@omnicross/contracts/health-logging-types';
54
57
  import '@omnicross/contracts/voucher-types';
55
58
  import '@omnicross/contracts/webhook-types';
59
+ import './types-CbCZqLGg.cjs';
56
60
  import 'node:fs/promises';
57
61
  import '@omnicross/contracts/endpoint-resolver';
58
62
  import './transformer/transformers/AnthropicTransformer.cjs';