@goodandready/dsh-subscriptions 0.6.14 → 0.6.15

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 +16 -1
  2. package/package.json +1 -1
package/lib/client.js CHANGED
@@ -1838,7 +1838,22 @@ const cssId = 'dsh-subscriptions/settings.module.css'
1838
1838
  // and collapse instead of a row in the side list. The registration key must
1839
1839
  // equal the settings namespace, otherwise the tab silently hides the slot.
1840
1840
  try {
1841
- // Row seat first (the seat the current core renders), legacy seat after it.
1841
+ // Plugin-list seat (plugins.item) first: the seat the current core
1842
+ // (0.1.6-alpha.2) renders as the plugin's own page with its configuration. The
1843
+ // label is a static string on purpose — it is resolved while the page renders,
1844
+ // and a locale lookup there would take the whole client batch down with it.
1845
+ ctx.slots.inject('plugins.item', () => ctx.slots.register(
1846
+ {
1847
+ name: 'plugins.item',
1848
+ id: ROW_ID,
1849
+ order: 60,
1850
+ label: () => 'Subscriptions',
1851
+ locale: NS,
1852
+ inject: () => ({ ctx: ctx }),
1853
+ },
1854
+ PluginCard,
1855
+ ))
1856
+ // Row seat and the legacy seat stay as fallbacks.
1842
1857
  ctx.slots.inject('plugins.row.config', () => ctx.slots.register(
1843
1858
  {
1844
1859
  name: 'plugins.row.config',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goodandready/dsh-subscriptions",
3
- "version": "0.6.14",
3
+ "version": "0.6.15",
4
4
  "description": "Use ChatGPT Codex, Claude, Grok, Antigravity, Kimi, GLM, Cursor, Kiro, Copilot, Qwen, ERNIE, Spark, JetBrains, Perplexity, Replit, and Cody subscriptions as DeepSeek Harness LLM providers via OAuth.",
5
5
  "license": "MIT",
6
6
  "type": "module",