@x12i/ai-dispatcher 3.1.0 → 3.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +22 -8
- package/dist/index.cjs +2 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +4 -3
- package/dist/index.d.ts +4 -3
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReasoningEffort, ReasoningOutcome } from '@x12i/ai-profiles';
|
|
2
|
-
export { ReasoningEffort, ReasoningOutcome, registerHostIntents } from '@x12i/ai-profiles';
|
|
2
|
+
export { ReasoningEffort, ReasoningOutcome, registerHostIntents, resolveAIProfile } from '@x12i/ai-profiles';
|
|
3
3
|
import * as _x12i_openrouter_runtime from '@x12i/openrouter-runtime';
|
|
4
4
|
import { RuntimeToolExecutor, RuntimeLogger, RuntimeRequest, RuntimeResponse, RuntimeUsage, RuntimeStreamEvent, CompiledOpenRouterRequest, OpenRouterRuntimeOptions } from '@x12i/openrouter-runtime';
|
|
5
5
|
export { CompiledOpenRouterRequest, METADATA_NORMALIZATION_MAP, NormalizedMetadataKey, OpenRouterRuntimeOptions, RuntimeDefaults, RuntimeLogger, RuntimeMessage, RuntimeRequest, RuntimeResponse, RuntimeServerToolsPolicy, RuntimeStreamEvent, canonicalMetadataKey, decodeProviderMetadata, normalizeMetadata } from '@x12i/openrouter-runtime';
|
|
@@ -214,8 +214,9 @@ interface AiDispatcherRequest extends RuntimeRequest {
|
|
|
214
214
|
*/
|
|
215
215
|
role?: RoleStamp;
|
|
216
216
|
/**
|
|
217
|
-
* Provider-neutral reasoning intent.
|
|
218
|
-
* An explicit provider control on the same request
|
|
217
|
+
* Provider-neutral reasoning intent. `@x12i/ai-profiles` chooses the wire action
|
|
218
|
+
* from its reasoning catalog. An explicit provider control on the same request
|
|
219
|
+
* wins and the catalog is not called.
|
|
219
220
|
*/
|
|
220
221
|
reasoningEffort?: ReasoningEffort;
|
|
221
222
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ReasoningEffort, ReasoningOutcome } from '@x12i/ai-profiles';
|
|
2
|
-
export { ReasoningEffort, ReasoningOutcome, registerHostIntents } from '@x12i/ai-profiles';
|
|
2
|
+
export { ReasoningEffort, ReasoningOutcome, registerHostIntents, resolveAIProfile } from '@x12i/ai-profiles';
|
|
3
3
|
import * as _x12i_openrouter_runtime from '@x12i/openrouter-runtime';
|
|
4
4
|
import { RuntimeToolExecutor, RuntimeLogger, RuntimeRequest, RuntimeResponse, RuntimeUsage, RuntimeStreamEvent, CompiledOpenRouterRequest, OpenRouterRuntimeOptions } from '@x12i/openrouter-runtime';
|
|
5
5
|
export { CompiledOpenRouterRequest, METADATA_NORMALIZATION_MAP, NormalizedMetadataKey, OpenRouterRuntimeOptions, RuntimeDefaults, RuntimeLogger, RuntimeMessage, RuntimeRequest, RuntimeResponse, RuntimeServerToolsPolicy, RuntimeStreamEvent, canonicalMetadataKey, decodeProviderMetadata, normalizeMetadata } from '@x12i/openrouter-runtime';
|
|
@@ -214,8 +214,9 @@ interface AiDispatcherRequest extends RuntimeRequest {
|
|
|
214
214
|
*/
|
|
215
215
|
role?: RoleStamp;
|
|
216
216
|
/**
|
|
217
|
-
* Provider-neutral reasoning intent.
|
|
218
|
-
* An explicit provider control on the same request
|
|
217
|
+
* Provider-neutral reasoning intent. `@x12i/ai-profiles` chooses the wire action
|
|
218
|
+
* from its reasoning catalog. An explicit provider control on the same request
|
|
219
|
+
* wins and the catalog is not called.
|
|
219
220
|
*/
|
|
220
221
|
reasoningEffort?: ReasoningEffort;
|
|
221
222
|
/**
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// src/index.ts
|
|
2
|
-
import { registerHostIntents } from "@x12i/ai-profiles";
|
|
2
|
+
import { registerHostIntents, resolveAIProfile } from "@x12i/ai-profiles";
|
|
3
3
|
import {
|
|
4
4
|
decodeProviderMetadata,
|
|
5
5
|
METADATA_NORMALIZATION_MAP,
|
|
@@ -4019,6 +4019,7 @@ export {
|
|
|
4019
4019
|
normalizeMetadata,
|
|
4020
4020
|
providerNotImplemented,
|
|
4021
4021
|
registerHostIntents,
|
|
4022
|
+
resolveAIProfile,
|
|
4022
4023
|
resolveProvider,
|
|
4023
4024
|
stripReasoningHistoryFields
|
|
4024
4025
|
};
|