dsh-vision-router 2.2.7 → 2.2.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/README.md +2 -2
- package/README.zh.md +2 -2
- package/docs/architecture/dsh-020-rc2-adaptation.md +23 -0
- package/docs/architecture/dsh-compatibility-matrix.md +1 -1
- package/docs/architecture/dsh-support-window.md +4 -2
- package/docs/architecture/host-first-proxy-convergence.md +1 -1
- package/docs/releases/v2.2.8.md +25 -0
- package/lib/client-host-compat-prelude.js +7 -12
- package/lib/client-presentation-boundary-main.js +7 -15
- package/lib/client-presentation-boundary.js +7 -12
- package/lib/client-script-carrier.js +90 -0
- package/lib/client.js +2 -2
- package/lib/dsh-support-window.js +1 -1
- package/lib/guide-vision-toggle-highlight.js +7 -10
- package/lib/live-model-client-prelude.js +7 -14
- package/lib/local-remote-settings-permission.js +8 -9
- package/lib/session-vision-mode-boundary.js +43 -8
- package/lib/settings-client-rc8-lifecycle.js +7 -12
- package/lib/settings-factory-lifecycle.js +25 -14
- package/lib/settings-ia-client-prelude.js +11 -11
- package/lib/settings-limit-client-prelude.js +7 -9
- package/lib/strict-live-model-client-prelude.js +7 -10
- package/lib/v2-settings-ia-integration.js +21 -6
- package/lib/vision-background-benchmark.js +3 -5
- package/lib/vision-capability-benchmark-client.js +7 -10
- package/lib/vision-exact-check-client.js +11 -6
- package/lib/vision-model-visibility-boundary-main.js +7 -11
- package/lib/vision-model-visibility-boundary.js +7 -12
- package/lib/vision-routing-settings-prelude.js +7 -11
- package/lib/vision-toggle-root-hardening.js +28 -3
- package/lib/vision-turn-budget-client-prelude.js +7 -10
- package/lib/web/remote-settings-client.js +7 -12
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { injectClientCarrierHtml, installClientScriptCarriers } from '../client-script-carrier.js'
|
|
2
2
|
import { installVisionRouterRemoteSettingsBridge } from '../remote-settings-bridge.js'
|
|
3
3
|
import { installSettingsRc8ClientLifecycle } from '../settings-client-rc8-lifecycle.js'
|
|
4
4
|
|
|
@@ -187,20 +187,15 @@ export const SETTINGS_CONFIG_FORMS_CLIENT_PRELUDE = String.raw`(function(){
|
|
|
187
187
|
})();`
|
|
188
188
|
|
|
189
189
|
export function injectSettingsConfigFormsCompatPrelude(html) {
|
|
190
|
-
|
|
191
|
-
const safe = SETTINGS_CONFIG_FORMS_CLIENT_PRELUDE.replace(/<\/script/gi, '<\\/script')
|
|
192
|
-
const script = `<script ${SETTINGS_CONFIG_FORMS_MARK}>${safe}</script>`
|
|
193
|
-
const closeHead = html.indexOf('</head>')
|
|
194
|
-
return closeHead === -1 ? `${html}${script}` : `${html.slice(0, closeHead)}${script}${html.slice(closeHead)}`
|
|
190
|
+
return injectClientCarrierHtml(html, SETTINGS_CONFIG_FORMS_MARK, SETTINGS_CONFIG_FORMS_CLIENT_PRELUDE)
|
|
195
191
|
}
|
|
196
192
|
|
|
197
193
|
export function installSettingsConfigFormsCompat(ctx) {
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
)
|
|
194
|
+
installClientScriptCarriers(ctx, {
|
|
195
|
+
marker: SETTINGS_CONFIG_FORMS_MARK,
|
|
196
|
+
prelude: SETTINGS_CONFIG_FORMS_CLIENT_PRELUDE,
|
|
197
|
+
label: 'vision-router: settings configForms compatibility',
|
|
198
|
+
injectHtml: injectSettingsConfigFormsCompatPrelude,
|
|
204
199
|
})
|
|
205
200
|
}
|
|
206
201
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-vision-router",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.8",
|
|
4
4
|
"description": "Eyes for text-only DeepSeek Harness agents: built-in free vision chain + pixel-level tools. Remote vision providers, including the default free fallback, receive image content unless strict local-only use is configured.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|