@goodandready/dsh-model-sync 0.4.5 → 0.4.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.
Files changed (2) hide show
  1. package/lib/client.js +2 -2
  2. package/package.json +1 -1
package/lib/client.js CHANGED
@@ -525,7 +525,7 @@ window.__ModuleLoader__.load({
525
525
  const [importErr, setImportErr] = React.useState('')
526
526
  const [showImportBox, setShowImportBox] = React.useState(false)
527
527
 
528
- const scope = React.useMemo(() => (ctx && ctx.settingsScope ? ctx.settingsScope.bind({ namespace: NS }) : undefined), [ctx])
528
+ const scope = React.useMemo(() => (ctx && ctx.configForms ? ctx.configForms.get(NS) : undefined), [ctx])
529
529
  const snapshot = React.useSyncExternalStore(
530
530
  React.useMemo(() => (cb) => (scope ? scope.subscribe(cb) : () => {}), [scope]),
531
531
  React.useCallback(() => (scope ? scope.getSnapshot() : { status: 'loading' }), [scope]),
@@ -1290,7 +1290,7 @@ window.__ModuleLoader__.load({
1290
1290
  }
1291
1291
  }
1292
1292
 
1293
- module.exports = { apply, inject: ['slots', 'locale', 'settingsScope'], filterModelsByCapabilities }
1293
+ module.exports = { apply, inject: ['slots', 'locale', 'configForms'], filterModelsByCapabilities }
1294
1294
  return module.exports
1295
1295
  },
1296
1296
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goodandready/dsh-model-sync",
3
- "version": "0.4.5",
3
+ "version": "0.4.6",
4
4
  "description": "Automatic model catalog synchronization for API-key DeepSeek Harness providers.",
5
5
  "keywords": [
6
6
  "deepseek-harness",