@tzyc/dsh-model-visibility 1.10.2 → 1.10.3

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 CHANGED
@@ -9,7 +9,7 @@
9
9
  [![license](https://img.shields.io/badge/license-MIT-3da639?style=flat-square)](LICENSE)
10
10
  [![dsh bundle](https://img.shields.io/badge/DeepSeek%20Harness-bundle-4d6bfe?style=flat-square)](package.json)
11
11
  [![tests](https://img.shields.io/badge/tests-114%20passing-3da639?style=flat-square)](test)
12
- [![version](https://img.shields.io/badge/version-1.10.2-4d6bfe?style=flat-square)](https://github.com/TZYCeng/dsh-model-visibility/releases)
12
+ [![version](https://img.shields.io/badge/version-1.10.3-4d6bfe?style=flat-square)](https://github.com/TZYCeng/dsh-model-visibility/releases)
13
13
  [![marketplace](https://img.shields.io/badge/awesome--dsh--plugin-listed-8a2be2?style=flat-square)](https://awesome-dsh-plugin.com/p/TZYCeng/dsh-model-visibility/)
14
14
 
15
15
  </div>
@@ -85,7 +85,10 @@ export function createCatalog(ctx) {
85
85
  groups: Array.isArray(value.groups) ? value.groups : [],
86
86
  failures: Array.isArray(value.failures) ? value.failures : [],
87
87
  providers: Array.isArray(value.providers) ? value.providers : [],
88
- catalog: value.catalog && typeof value.catalog === 'object' ? value.catalog : null,
88
+ // The section reads `state.learned` (the learned-snapshot meta with
89
+ // its feature flags); this store is its only source, so the field
90
+ // name must stay in lock-step with lib/model-info.js's response.
91
+ learned: value.learned && typeof value.learned === 'object' ? value.learned : null,
89
92
  error: null,
90
93
  detailsError: null,
91
94
  source: 'host',
@@ -102,7 +105,7 @@ export function createCatalog(ctx) {
102
105
  groups: value.groups,
103
106
  failures: value.failures,
104
107
  providers: [],
105
- catalog: null,
108
+ learned: null,
106
109
  error: null,
107
110
  detailsError: detail,
108
111
  source: 'catalog',
package/client.js CHANGED
@@ -111,7 +111,10 @@ window.__ModuleLoader__.load({
111
111
  groups: Array.isArray(value.groups) ? value.groups : [],
112
112
  failures: Array.isArray(value.failures) ? value.failures : [],
113
113
  providers: Array.isArray(value.providers) ? value.providers : [],
114
- catalog: value.catalog && typeof value.catalog === 'object' ? value.catalog : null,
114
+ // The section reads `state.learned` (the learned-snapshot meta with
115
+ // its feature flags); this store is its only source, so the field
116
+ // name must stay in lock-step with lib/model-info.js's response.
117
+ learned: value.learned && typeof value.learned === 'object' ? value.learned : null,
115
118
  error: null,
116
119
  detailsError: null,
117
120
  source: 'host',
@@ -128,7 +131,7 @@ window.__ModuleLoader__.load({
128
131
  groups: value.groups,
129
132
  failures: value.failures,
130
133
  providers: [],
131
- catalog: null,
134
+ learned: null,
132
135
  error: null,
133
136
  detailsError: detail,
134
137
  source: 'catalog',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tzyc/dsh-model-visibility",
3
- "version": "1.10.2",
3
+ "version": "1.10.3",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },