@goodandready/dsh-plugin-notify 0.3.1 → 0.3.2

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/CHANGELOG.md CHANGED
@@ -4,6 +4,17 @@ All notable changes to this project will be documented in this file.
4
4
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5
5
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
 
7
+ ## [0.3.2] - 2026-09-19
8
+
9
+ ### Fixed
10
+ - **Settings reachable again on the plugin's own page**: the current core
11
+ (0.1.6-alpha.2) renders a plugin's configuration page only for entries registered
12
+ in the plugin-list seat `plugins.item` — that is how `dsh-agentrouter` and
13
+ `dsh-agent-orchestrator` show their settings, while the row seat and the legacy card
14
+ alone leave the page without the form. The view-aware card is now registered there
15
+ too (`id: 'plugin-notify'` — the row id from `cordis.patch.yml` — order 40, static
16
+ label); both older seats stay as fallbacks.
17
+
7
18
  ## [0.3.1] - 2026-09-19
8
19
 
9
20
  ### Fixed
package/lib/client.js CHANGED
@@ -680,8 +680,17 @@ window.__ModuleLoader__.load({
680
680
  ctx.effect(() => ctx.locale.register(NS, { en, zh }), 'dsh-plugin-notify: dictionaries')
681
681
 
682
682
  try {
683
- // Row seat first (the seat the current core renders), legacy seat kept as a
684
- // fallback for older cores.
683
+ // Plugin-list seat (plugins.item) first: the seat the current core
684
+ // (0.1.6-alpha.2) renders as the plugin's own page with its configuration. The
685
+ // label is a static string on purpose — it is resolved while the page renders,
686
+ // and a locale lookup there would take the whole client batch down with it.
687
+ ctx.slots.inject('plugins.item', () => {
688
+ ctx.slots.register(
689
+ { name: 'plugins.item', id: ROW_ID, order: 40, label: () => 'Notify', locale: NS, inject: () => ({ ctx }) },
690
+ (props) => React.createElement(NotifyCard, { ...props, ctx }),
691
+ )
692
+ })
693
+ // Row seat and the legacy seat kept as fallbacks for older cores.
685
694
  ctx.slots.inject('plugins.row.config', () => {
686
695
  ctx.slots.register(
687
696
  { name: 'plugins.row.config', key: ROW_CONFIG_KEY, locale: NS, order: 40, inject: () => ({ ctx }) },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goodandready/dsh-plugin-notify",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "DSH plugin: audio chimes, cross-session toasts, desktop push, and IM webhooks for turn completion, errors, and approvals.",
5
5
  "license": "MIT",
6
6
  "type": "module",