dsh-plugin-litellm-bridge 2.0.5 → 2.0.6

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.
@@ -484,7 +484,11 @@ window.__ModuleLoader__.load({
484
484
  (Array.isArray(test.steps) ? test.steps : []).map((s, i) => h('div', {
485
485
  key: i, style: { display: 'flex', gap: 8, padding: '4px 0', alignItems: 'baseline', flexWrap: 'wrap' },
486
486
  },
487
- h('span', { style: s?.ok ? S.ok : S.err }, s?.ok ? '✓' : '✗'),
487
+ // 【血案 2】这里原来是 { style: s?.ok ? S.ok : S.err } —— 三元的结果
488
+ // 依然是**颜色字符串**,style 收到字符串就抛 React #62。
489
+ // 上一轮我只修了上面的 test.ok 分支,漏了这个三元形态,
490
+ // 所以「点测试连通性」依旧白屏。必须包成 { color: ... }。
491
+ h('span', { style: { color: s?.ok ? S.ok : S.err } }, s?.ok ? '✓' : '✗'),
488
492
  h('span', { style: { minWidth: 110 } }, safeText(s?.name)),
489
493
  h('span', { style: { ...S.mono, opacity: 0.6 } }, safeText(s?.path)),
490
494
  h('span', { style: { ...S.mono, opacity: 0.85, marginLeft: 'auto', textAlign: 'right', wordBreak: 'break-all' } },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dsh-plugin-litellm-bridge",
3
- "version": "2.0.5",
3
+ "version": "2.0.6",
4
4
  "description": "LiteLLM gateway bridge for DSH: assemble root / coder / research fallback chains from the DSH model pool and hand the order to a LiteLLM gateway that executes retries and fallbacks. The plugin performs no routing itself.",
5
5
  "keywords": [
6
6
  "dsh",