@sparkelf/dsh-plus 0.2.1-alpha.4 → 0.2.1-alpha.5
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/cordis.patch.yml +13 -0
- package/package.json +4 -2
package/cordis.patch.yml
CHANGED
|
@@ -74,3 +74,16 @@
|
|
|
74
74
|
config:
|
|
75
75
|
fontDirectories: !!js "process.env.DSH_OFFICE_FONT_DIR ? [process.env.DSH_OFFICE_FONT_DIR] : undefined"
|
|
76
76
|
fontFallbacks: !!js "[[\"FZXiaoBiaoSong-B05S\",\"方正小标宋简体\",\"FangSong_GB2312\",\"仿宋_GB2312\",\"KaiTi_GB2312\",\"楷体_GB2312\",\"SimHei\",\"黑体\"]]"
|
|
77
|
+
|
|
78
|
+
# OpenAI-compatible routes that advertise image input but cannot read the array form of
|
|
79
|
+
# `function_call_output.output` price a tool result's image as one base64 text run and never
|
|
80
|
+
# show it to the model: a 502 KB PNG measured 466,303 prompt tokens on such a route against
|
|
81
|
+
# 991 when the same bytes ride on the user message. The provider answers a plausible wrong
|
|
82
|
+
# number rather than failing, and the wrapper hides the 400 as a 500. For the routes named
|
|
83
|
+
# here, the plugin moves tool-result images onto the nearest preceding user message in the
|
|
84
|
+
# model-visible projection; the durable log keeps them on the tool result. An empty list
|
|
85
|
+
# changes no behavior, so a deployment on a route that reads the array form can disable it
|
|
86
|
+
# through this layer without uninstalling anything.
|
|
87
|
+
- id: image-hoist
|
|
88
|
+
config:
|
|
89
|
+
providers: []
|
package/package.json
CHANGED
|
@@ -105,13 +105,15 @@
|
|
|
105
105
|
"@sparkelf/dsh-api-client",
|
|
106
106
|
"dsh-right-bg-anim",
|
|
107
107
|
"@sparkelf/dsh-mobile-bridge",
|
|
108
|
-
"@sparkelf/dsh-quant"
|
|
108
|
+
"@sparkelf/dsh-quant",
|
|
109
|
+
"@sparkelf/dsh-image-hoist"
|
|
109
110
|
],
|
|
110
111
|
"dependencies": {
|
|
111
112
|
"@changfenhuang/dsh-genui": "0.11.3",
|
|
112
113
|
"@deepseek-ai/dsh-experimental-agent-team-profile": ">=0.2.0-rc.2",
|
|
113
114
|
"@huanlin/dsh-plugin-better-locale": "0.4.3",
|
|
114
115
|
"@sparkelf/dsh-api-client": "0.5.3",
|
|
116
|
+
"@sparkelf/dsh-image-hoist": "0.1.1",
|
|
115
117
|
"@sparkelf/dsh-mineru": "0.1.4",
|
|
116
118
|
"@sparkelf/dsh-mobile-bridge": "0.2.15",
|
|
117
119
|
"@sparkelf/dsh-office-viewer-fonts": "0.1.5",
|
|
@@ -219,5 +221,5 @@
|
|
|
219
221
|
},
|
|
220
222
|
"type": "module",
|
|
221
223
|
"types": "lib/types/index.d.ts",
|
|
222
|
-
"version": "0.2.1-alpha.
|
|
224
|
+
"version": "0.2.1-alpha.5"
|
|
223
225
|
}
|