@alisio/sdk 0.1.0-alpha.7 → 0.1.0-alpha.8
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/dist/index.d.ts +8 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -137,6 +137,12 @@ export interface ModelProvider {
|
|
|
137
137
|
* that does not support one may ignore this or let the provider reject it.
|
|
138
138
|
*/
|
|
139
139
|
nativeTools?: Array<Record<string, unknown>>;
|
|
140
|
+
/**
|
|
141
|
+
* Provider-declared reasoning effort level (a value from `ModelInfo.effort.supportedLevels`).
|
|
142
|
+
* Providers that advertise effort levels map it to their request field (for example DeepSeek
|
|
143
|
+
* `reasoning_effort`); providers without a concept ignore it.
|
|
144
|
+
*/
|
|
145
|
+
reasoningEffort?: string;
|
|
140
146
|
}): AsyncIterable<ProviderEvent>;
|
|
141
147
|
/** Optional model catalog. Implementations must not expose credentials. */
|
|
142
148
|
listModels?(signal: AbortSignal): Promise<ModelInfo[]>;
|
|
@@ -276,6 +282,8 @@ export interface CompletionRequest {
|
|
|
276
282
|
model?: string;
|
|
277
283
|
/** Session whose provider binding should be used when model is omitted. */
|
|
278
284
|
sessionId?: string;
|
|
285
|
+
/** Reasoning effort level when the target model advertises `ModelInfo.effort`. */
|
|
286
|
+
reasoningEffort?: string;
|
|
279
287
|
signal?: AbortSignal;
|
|
280
288
|
}
|
|
281
289
|
export type SqlValue = string | number | bigint | null | Uint8Array;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alisio/sdk",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.8",
|
|
4
4
|
"description": "Typed plugin SDK for Alisio: the stable contract for tools, commands, context, compaction and session hooks, model completions and storage. Types only plus tiny helpers; zero runtime dependencies.",
|
|
5
5
|
"author": "Gustavo Gutiérrez",
|
|
6
6
|
"license": "MIT",
|