@goodandready/dsh-context-lens 0.1.21 → 0.1.22
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 +11 -0
- package/lib/client.js +14 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,17 @@ All notable changes to `@goodandready/dsh-context-lens` will be documented in th
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [0.1.22] - 2026-09-19
|
|
9
|
+
|
|
10
|
+
### Fixed
|
|
11
|
+
- **Settings reachable again on the plugin's own page**: the current DSH core
|
|
12
|
+
(0.1.6-alpha.2) renders a plugin's configuration page only for entries registered
|
|
13
|
+
in the plugin-list seat `plugins.item` — that is how `dsh-agentrouter` and
|
|
14
|
+
`dsh-agent-orchestrator` show their settings, while the row seat and the legacy
|
|
15
|
+
card alone leave the page without the form. The view-aware card is now registered
|
|
16
|
+
there too (`id: 'dsh-context-lens'`, order 60, static label); `plugins.row.config`
|
|
17
|
+
and `settings.plugin.item` stay as fallbacks.
|
|
18
|
+
|
|
8
19
|
## [0.1.21] - 2026-09-19
|
|
9
20
|
|
|
10
21
|
### Fixed
|
package/lib/client.js
CHANGED
|
@@ -999,11 +999,21 @@ window.__ModuleLoader__.load({
|
|
|
999
999
|
}
|
|
1000
1000
|
if (!ctx.slots) return;
|
|
1001
1001
|
let registered = false;
|
|
1002
|
-
// Primary seat for the current core (0.1.6-alpha.2): the plugin
|
|
1003
|
-
// the Plugins page
|
|
1004
|
-
//
|
|
1002
|
+
// Primary seat for the current core (0.1.6-alpha.2): the plugin-list seat
|
|
1003
|
+
// 'plugins.item', which is the one the Plugins page renders as the plugin's own
|
|
1004
|
+
// page with its configuration (the host draws the title, icon, crumb and
|
|
1005
|
+
// padding and asks for view 'summary' or view 'page'). The row seat and the
|
|
1006
|
+
// legacy settings.plugin.item seat below stay as fallbacks.
|
|
1005
1007
|
if (typeof ctx.slots.inject === 'function') {
|
|
1006
1008
|
try {
|
|
1009
|
+
ctx.slots.inject('plugins.item', () => ctx.slots.register({
|
|
1010
|
+
name: 'plugins.item',
|
|
1011
|
+
id: ROW_ID,
|
|
1012
|
+
order: 60,
|
|
1013
|
+
label: () => 'Context Lens',
|
|
1014
|
+
locale: NS,
|
|
1015
|
+
inject: () => ({ ctx })
|
|
1016
|
+
}, PluginCard));
|
|
1007
1017
|
ctx.slots.inject('plugins.row.config', () => ctx.slots.register({
|
|
1008
1018
|
name: 'plugins.row.config',
|
|
1009
1019
|
key: ROW_CONFIG_KEY,
|
|
@@ -1011,7 +1021,7 @@ window.__ModuleLoader__.load({
|
|
|
1011
1021
|
inject: () => ({ ctx })
|
|
1012
1022
|
}, PluginCard));
|
|
1013
1023
|
} catch (e) {
|
|
1014
|
-
console.error('[dsh-context-lens] plugins.row.config inject failed', e && e.stack || e);
|
|
1024
|
+
console.error('[dsh-context-lens] plugins.item / plugins.row.config inject failed', e && e.stack || e);
|
|
1015
1025
|
}
|
|
1016
1026
|
}
|
|
1017
1027
|
const doRegister = () => {
|
package/package.json
CHANGED