@goodandready/dsh-model-sync 0.4.2 → 0.4.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.
Files changed (2) hide show
  1. package/lib/client.js +6 -1
  2. package/package.json +1 -1
package/lib/client.js CHANGED
@@ -1277,7 +1277,12 @@ window.__ModuleLoader__.load({
1277
1277
  return () => {}
1278
1278
  }, 'dsh-model-sync: dictionaries')
1279
1279
  try {
1280
- // Row seat first (the seat the current core renders), legacy seat after it.
1280
+ // Plugin-list seat (plugins.item) first: it is the seat the current core
1281
+ // (0.1.6-alpha.2) renders as the plugin's own page with its configuration. The
1282
+ // label is a static string on purpose — it is resolved while the page renders,
1283
+ // and a locale lookup there would take the whole client batch down with it.
1284
+ ctx.slots.inject('plugins.item', () => ctx.slots.register({ name: 'plugins.item', id: ROW_ID, order: 60, label: () => 'Model synchronization', locale: NS, inject: () => ({ ctx }) }, (props) => React.createElement(ErrorBoundary, null, React.createElement(ModelSyncCard, { ...props, ctx }))))
1285
+ // Row seat and the legacy seat stay as fallbacks.
1281
1286
  ctx.slots.inject('plugins.row.config', () => ctx.slots.register({ name: 'plugins.row.config', key: ROW_CONFIG_KEY, locale: NS, inject: () => ({ ctx }) }, (props) => React.createElement(ErrorBoundary, null, React.createElement(ModelSyncCard, { ...props, ctx }))))
1282
1287
  ctx.slots.inject('settings.plugin.item', () => ctx.slots.register({ name: 'settings.plugin.item', key: NS, locale: NS, inject: () => ({ ctx }) }, (props) => React.createElement(ErrorBoundary, null, React.createElement(ModelSyncCard, { ...props, ctx }))))
1283
1288
  } catch (err) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goodandready/dsh-model-sync",
3
- "version": "0.4.2",
3
+ "version": "0.4.3",
4
4
  "description": "Automatic model catalog synchronization for API-key DeepSeek Harness providers.",
5
5
  "keywords": [
6
6
  "deepseek-harness",