dsh-model-think-level 2.1.0 → 2.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 +1 -0
- package/lib/autofill.d.ts +20 -2
- package/lib/client/ConfigPane.d.ts +4 -6
- package/lib/client/image-config-client.d.ts +0 -23
- package/lib/client/index.d.ts +1 -0
- package/lib/client/injection/compat-guard.d.ts +33 -0
- package/lib/client/injection/key-prefetch.d.ts +13 -1
- package/lib/client/injection/model-order-drag.d.ts +1 -1
- package/lib/client/injection/models-page-editor.d.ts +1 -2
- package/lib/client/injection/models-page-mutation.d.ts +6 -0
- package/lib/client/injection/provider-balance.d.ts +12 -1
- package/lib/client/injection/provider-delete-seat.d.ts +4 -1
- package/lib/client/injection/provider-disabled-group.d.ts +4 -1
- package/lib/client/injection/provider-order-drag.d.ts +5 -1
- package/lib/client/injection/provider-toggle.d.ts +4 -1
- package/lib/client/key-manager-client.d.ts +21 -9
- package/lib/client/locales.d.ts +5 -25
- package/lib/client/model-order.d.ts +9 -0
- package/lib/client/order-sync.d.ts +63 -0
- package/lib/client/styles.d.ts +1 -1
- package/lib/client.js +13 -168
- package/lib/client.js.map +4 -4
- package/lib/constants.d.ts +15 -7
- package/lib/image/command.d.ts +1 -1
- package/lib/index.js +506 -224
- package/lib/index.js.map +4 -4
- package/lib/key-index.d.ts +11 -0
- package/lib/knowledge.d.ts +26 -0
- package/lib/order-store.d.ts +78 -0
- package/package.json +1 -1
package/lib/constants.d.ts
CHANGED
|
@@ -80,6 +80,21 @@ export declare const HEADERS_CONFIG_PATH = "/dsh-model-think-level/headers-confi
|
|
|
80
80
|
* plumbing: run challenges through the llm service, parse, store.
|
|
81
81
|
*/
|
|
82
82
|
export declare const FINGERPRINT_PATH = "/dsh-model-think-level/fingerprint";
|
|
83
|
+
/**
|
|
84
|
+
* Same-origin host route owning the UI-order document: the provider-row
|
|
85
|
+
* sequence and every provider's model-row sequence the user set by dragging
|
|
86
|
+
* on the official Models page. `GET` answers the stored document,
|
|
87
|
+
* `POST` folds a (whole-state) payload over it — the synced copy the browser
|
|
88
|
+
* half pulls at boot and pushes on every drag, so the orderings survive a
|
|
89
|
+
* machine switch (see {@link ORDER_FILE}).
|
|
90
|
+
*/
|
|
91
|
+
export declare const ORDER_PATH = "/dsh-model-think-level/ui-order";
|
|
92
|
+
/**
|
|
93
|
+
* File name of the UI-order document inside the plugin's home dir. Holds no
|
|
94
|
+
* secrets — provider routes and model ids only — which is what makes it safe
|
|
95
|
+
* to carry through a sync mechanism.
|
|
96
|
+
*/
|
|
97
|
+
export declare const ORDER_FILE = "ui-order.json";
|
|
83
98
|
/** The settings namespace this plugin edits: pi-ai custom provider routes. */
|
|
84
99
|
export declare const PI_AI_NS = "llm-pi-ai";
|
|
85
100
|
/**
|
|
@@ -150,13 +165,6 @@ export declare const DEFAULT_EFFORT_FIELD = "defaultEffort";
|
|
|
150
165
|
* {@link IMAGE_CONFIG_FILE}).
|
|
151
166
|
*/
|
|
152
167
|
export declare const IMAGE_CONFIG_PATH = "/dsh-model-think-level/image-config";
|
|
153
|
-
/**
|
|
154
|
-
* Same-origin host route that runs one image generation through the shared
|
|
155
|
-
* core (`src/image/generate.ts`): the explicit entry beside the native
|
|
156
|
-
* `generate_image` tool and the `/生图` host command — used for scripted calls
|
|
157
|
-
* and for callers that want the file paths back.
|
|
158
|
-
*/
|
|
159
|
-
export declare const IMAGE_GENERATE_PATH = "/dsh-model-think-level/image-generate";
|
|
160
168
|
/** File name of the image-generation config inside the plugin's home dir. */
|
|
161
169
|
export declare const IMAGE_CONFIG_FILE = "image.json";
|
|
162
170
|
/**
|
package/lib/image/command.d.ts
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* shape the built-in command plugins use (the dsh-command-goal precedent).
|
|
9
9
|
*
|
|
10
10
|
* The handler is a thin argument parser over the SHARED generation core —
|
|
11
|
-
* the same `generateImage` the
|
|
11
|
+
* the same `generateImage` the native `generate_image` tool calls.
|
|
12
12
|
*
|
|
13
13
|
* @module dsh-model-think-level/image/command
|
|
14
14
|
*/
|