@darkbear9494/dsh-model-manager 0.1.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/LICENSE +21 -0
- package/README.md +1231 -0
- package/client.js +955 -0
- package/cordis.patch.yml +36 -0
- package/lib/index.js +1593 -0
- package/locale/en.json +4 -0
- package/locale/zh.json +4 -0
- package/package.json +73 -0
package/cordis.patch.yml
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# @darkbear9494/dsh-model-manager bundle patch (mount-only).
|
|
2
|
+
#
|
|
3
|
+
# This patch inserts only this plugin's own row. It deliberately does NOT touch
|
|
4
|
+
# the `subagent-model-selection-settings` row: that row is already present in
|
|
5
|
+
# most profiles, and inserting a second row with the same id aborts startup with
|
|
6
|
+
# "duplicate loader entry id".
|
|
7
|
+
#
|
|
8
|
+
# The manager instead *reads* that row's allow-list and reports any role route
|
|
9
|
+
# that the delegation tool would refuse (use the `model_manager` tool with
|
|
10
|
+
# action "routes" to see the exact list to add).
|
|
11
|
+
#
|
|
12
|
+
# Override this row's config from the profile's own cordis.patch.yml by id
|
|
13
|
+
# `model-manager`, or edit it live on the Settings page (the schema is volatile).
|
|
14
|
+
- insert:
|
|
15
|
+
- id: model-manager
|
|
16
|
+
name: '@darkbear9494/dsh-model-manager'
|
|
17
|
+
config:
|
|
18
|
+
roles:
|
|
19
|
+
# Main agent outside plan mode. Empty = leave the composer choice alone.
|
|
20
|
+
main:
|
|
21
|
+
models: []
|
|
22
|
+
# Plan mode (and delegations labelled as planning/reasoning work).
|
|
23
|
+
planning:
|
|
24
|
+
models:
|
|
25
|
+
- provider: pku-corpus
|
|
26
|
+
model: qwen3.8-max-0902
|
|
27
|
+
# Default tier for delegated implementation work.
|
|
28
|
+
execution:
|
|
29
|
+
models:
|
|
30
|
+
- provider: pku-corpus
|
|
31
|
+
model: qwen3.8-flash
|
|
32
|
+
# Image / screenshot / OCR work. Empty falls back to `execution`.
|
|
33
|
+
vision:
|
|
34
|
+
models: []
|
|
35
|
+
strategy:
|
|
36
|
+
mode: hybrid
|