dsh-model-think-level 1.1.3 → 1.1.4
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/lib/client/ComposerSlider.d.ts +3 -0
- package/lib/client/EffortEditor.d.ts +2 -57
- package/lib/client/configured-inputs.d.ts +12 -0
- package/lib/client/injection/composer-menu.d.ts +3 -0
- package/lib/client/injection/models-page-editor.d.ts +1 -14
- package/lib/client/locales.d.ts +0 -14
- package/lib/client/ops.d.ts +0 -1
- package/lib/client/styles.d.ts +1 -1
- package/lib/client/types.d.ts +5 -21
- package/lib/client.js +2 -31
- package/lib/client.js.map +4 -4
- package/lib/index.js +1 -7
- package/lib/index.js.map +2 -2
- package/lib/knowledge.d.ts +15 -2
- package/package.json +1 -1
package/lib/client/types.d.ts
CHANGED
|
@@ -266,8 +266,6 @@ export interface HeldWrite {
|
|
|
266
266
|
compat?: CompatSuggestion;
|
|
267
267
|
/** The modality part, when this edit made one. */
|
|
268
268
|
input?: InputIntent;
|
|
269
|
-
/** Compat fields this edit owns and left empty (deleted on the replay). */
|
|
270
|
-
clearCompatKeys?: readonly string[];
|
|
271
269
|
/** The per-model default-effort pick, when this edit made one. */
|
|
272
270
|
defaultEffort?: DefaultEffortIntent;
|
|
273
271
|
}
|
|
@@ -288,15 +286,13 @@ export interface PendingWrite {
|
|
|
288
286
|
compat?: CompatSuggestion;
|
|
289
287
|
/** The modality part, when this edit made one. */
|
|
290
288
|
input?: InputIntent;
|
|
291
|
-
/** Compat fields this edit owns and left empty (deleted when it lands). */
|
|
292
|
-
clearCompatKeys?: readonly string[];
|
|
293
289
|
/** The per-model default-effort pick, when this edit made one. */
|
|
294
290
|
defaultEffort?: DefaultEffortIntent;
|
|
295
291
|
}
|
|
296
292
|
/**
|
|
297
293
|
* The parts {@link pendingWriteOf} assembles into one {@link PendingWrite}:
|
|
298
|
-
* the already-resolved ladder and modality intents plus the compat
|
|
299
|
-
*
|
|
294
|
+
* the already-resolved ladder and modality intents plus the compat block the
|
|
295
|
+
* write carries. Shared by the two writers of a suggestion — the row's own
|
|
300
296
|
* editor and the injector's provider-wide adapt — so one suggestion can never
|
|
301
297
|
* produce two different documents.
|
|
302
298
|
*/
|
|
@@ -305,15 +301,9 @@ export interface PendingWriteParts {
|
|
|
305
301
|
efforts: EffortWriteIntent;
|
|
306
302
|
/** The modality intent, when this write made one. */
|
|
307
303
|
input?: InputIntent;
|
|
308
|
-
/**
|
|
309
|
-
* The compat fields the caller assembled by hand. A row whose editor never
|
|
310
|
-
* touched them passes the row's OWN stored compat: a hand-tuned field the
|
|
311
|
-
* suggestion does not carry must survive the write, not be cleared by it.
|
|
312
|
-
*/
|
|
313
|
-
manualCompat?: CompatSuggestion;
|
|
314
|
-
/** The compat block of an applied suggestion, which the manual fields override. */
|
|
304
|
+
/** The compat block of an applied suggestion. */
|
|
315
305
|
appliedCompat?: CompatSuggestion;
|
|
316
|
-
/** The route's wire protocol: what decides the
|
|
306
|
+
/** The route's wire protocol: what decides the thinking-budget default. */
|
|
317
307
|
routeApi?: string;
|
|
318
308
|
/**
|
|
319
309
|
* The row's stored compat, read only for the thinking-budget default: an
|
|
@@ -355,18 +345,12 @@ export interface EffortEditorApi {
|
|
|
355
345
|
* written only when one is supplied alongside a dict declaration -- an
|
|
356
346
|
* omitted compat leaves whatever the document already holds untouched.
|
|
357
347
|
*
|
|
358
|
-
* `clearCompatKeys` names the compat fields this edit OWNS and left empty: a
|
|
359
|
-
* key in neither the written block nor that list survives (a hand-tuned field
|
|
360
|
-
* the editor does not show is never dropped), while a listed one is deleted,
|
|
361
|
-
* which is what makes "Unset" mean unset instead of "keep the last choice
|
|
362
|
-
* forever".
|
|
363
|
-
*
|
|
364
348
|
* Public seam: the one-row case of the injector's batch writer, kept on the
|
|
365
349
|
* editor API for embedders and covered by the write-path tests. The editor
|
|
366
350
|
* itself reports through {@link commit} since C2, and the injector's ledgers
|
|
367
351
|
* call the batch writer directly — neither goes through this method.
|
|
368
352
|
*/
|
|
369
|
-
writeEfforts(route: string, modelId: string, efforts: EffortWriteIntent, compat?: CompatSuggestion, input?: InputIntent,
|
|
353
|
+
writeEfforts(route: string, modelId: string, efforts: EffortWriteIntent, compat?: CompatSuggestion, input?: InputIntent, defaultEffort?: DefaultEffortIntent): Promise<WriteEffortsReply>;
|
|
370
354
|
/**
|
|
371
355
|
* Stage one model's declaration for a route that does not exist in the
|
|
372
356
|
* settings document yet (the create card). Synchronous, memory-only; the
|