pi-openai-toolkit 0.24.0 → 0.24.1

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 (37) hide show
  1. package/LICENSE +21 -21
  2. package/NOTICE +83 -83
  3. package/config.schema.json +264 -264
  4. package/docs/configuration.md +304 -304
  5. package/package.json +123 -123
  6. package/src/compact-client.ts +412 -412
  7. package/src/compaction-projection.ts +35 -35
  8. package/src/config/legacy.ts +469 -469
  9. package/src/config/migration.ts +115 -115
  10. package/src/config/notifications.ts +46 -42
  11. package/src/config/policy.ts +115 -115
  12. package/src/config/v2.ts +1128 -1128
  13. package/src/config.ts +320 -320
  14. package/src/debug.ts +238 -238
  15. package/src/deferred-tool-carryover.ts +282 -282
  16. package/src/details-store.ts +151 -151
  17. package/src/extension-runtime.ts +1095 -1095
  18. package/src/image-generation/extension.ts +189 -189
  19. package/src/image-generation/protocol.ts +579 -579
  20. package/src/image-generation/types.ts +300 -300
  21. package/src/native-fallback.ts +140 -140
  22. package/src/payload-rewrite.ts +515 -515
  23. package/src/pi-context-hook.ts +117 -117
  24. package/src/remote-v2-client.ts +811 -811
  25. package/src/request-context-cache.ts +155 -155
  26. package/src/responses-headers.ts +180 -180
  27. package/src/retired-remote-windows.ts +35 -35
  28. package/src/runtime.ts +875 -875
  29. package/src/serializer.ts +882 -882
  30. package/src/supported-environment.ts +27 -27
  31. package/src/types.ts +541 -541
  32. package/src/web-search/alpha-client.ts +876 -876
  33. package/src/web-search/extension.ts +530 -530
  34. package/src/web-search/payload.ts +299 -299
  35. package/src/web-search/prompt.ts +60 -60
  36. package/src/web-search/types.ts +166 -166
  37. package/tsconfig.check.json +50 -50
@@ -1,27 +1,27 @@
1
- export {
2
- buildCompactUrl,
3
- buildResponsesUrl,
4
- VIRTUAL_MODEL_API,
5
- getNativeCompactionRuntime,
6
- getRuntimeModelDescriptor,
7
- resolveAzureDeploymentName,
8
- resolveEffectiveModel,
9
- registerPhysicalModelObserver,
10
- isResponsesCompatiblePayload,
11
- isSupportedApi,
12
- normalizeBaseUrl,
13
- parseModelSpec,
14
- resolveNativeCompactionEnvironment,
15
- resolveRemoteCompactionExecution,
16
- type EffectiveModelResolution,
17
- type NativeCompactionEnvironmentFailure,
18
- type NativeCompactionEnvironmentResolution,
19
- type NativeCompactionEnvironmentSuccess,
20
- type NativeCompactionRuntime,
21
- type NativeCompactionSupportOptions,
22
- type RemoteCompactionExecution,
23
- type RemoteCompactionExecutionResolution,
24
- type RemoteCompactionExecutionSuccess,
25
- type ResponsesCompatibleRequestPayload,
26
- } from "./runtime.ts";
27
- export { RESPONSES_COMPACT_CAPABLE_APIS } from "./types.ts";
1
+ export {
2
+ buildCompactUrl,
3
+ buildResponsesUrl,
4
+ VIRTUAL_MODEL_API,
5
+ getNativeCompactionRuntime,
6
+ getRuntimeModelDescriptor,
7
+ resolveAzureDeploymentName,
8
+ resolveEffectiveModel,
9
+ registerPhysicalModelObserver,
10
+ isResponsesCompatiblePayload,
11
+ isSupportedApi,
12
+ normalizeBaseUrl,
13
+ parseModelSpec,
14
+ resolveNativeCompactionEnvironment,
15
+ resolveRemoteCompactionExecution,
16
+ type EffectiveModelResolution,
17
+ type NativeCompactionEnvironmentFailure,
18
+ type NativeCompactionEnvironmentResolution,
19
+ type NativeCompactionEnvironmentSuccess,
20
+ type NativeCompactionRuntime,
21
+ type NativeCompactionSupportOptions,
22
+ type RemoteCompactionExecution,
23
+ type RemoteCompactionExecutionResolution,
24
+ type RemoteCompactionExecutionSuccess,
25
+ type ResponsesCompatibleRequestPayload,
26
+ } from "./runtime.ts";
27
+ export { RESPONSES_COMPACT_CAPABLE_APIS } from "./types.ts";