@goodandready/dsh-agent-loop-guard 0.2.11 → 0.2.13

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
@@ -5,6 +5,23 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## 0.2.13
9
+
10
+ ### Fixed
11
+ - Settings no longer wait on the removed settingsScope service. The client uses configForms (#75).
12
+
13
+ ## [0.2.12] - 2026-09-19
14
+
15
+ - **Settings reachable again on the plugin's own page**: the current DSH core
16
+ (0.1.6-alpha.2) renders a plugin's configuration page only for entries registered
17
+ in the plugin-list seat `plugins.item` — that is how `dsh-agentrouter` and
18
+ `dsh-agent-orchestrator` show their settings, while the row seat and the legacy
19
+ card alone leave the page without the form. `PluginItem` is now registered there
20
+ too (`id: '@goodandready/dsh-agent-loop-guard'`, order 10, static label), with both
21
+ older seats kept as fallbacks.
22
+ - The seat-composition test now expects the list seat and asserts its `id`, static
23
+ `label` and component.
24
+
8
25
  ## [0.2.11] - 2026-09-18
9
26
 
10
27
  - **Settings reachable again**: the settings card registered into
package/lib/client.js CHANGED
@@ -286,8 +286,8 @@ window.__ModuleLoader__.load({
286
286
  });
287
287
 
288
288
  const scopeRef = React.useRef(null);
289
- if (!scopeRef.current && _ctx && _ctx.settingsScope) {
290
- try { scopeRef.current = _ctx.settingsScope.bind({ namespace: NS }); } catch (e) { scopeRef.current = null; }
289
+ if (!scopeRef.current && _ctx && _ctx.configForms) {
290
+ try { scopeRef.current = _ctx.configForms.get(NS); } catch (e) { scopeRef.current = null; }
291
291
  }
292
292
  const scope = scopeRef.current;
293
293
 
@@ -636,7 +636,7 @@ window.__ModuleLoader__.load({
636
636
  return React.createElement(PluginCard, { ...props, bare: true });
637
637
  }
638
638
 
639
- exports.inject = ['slots', 'settingsScope', 'locale'];
639
+ exports.inject = ['slots', 'configForms', 'locale'];
640
640
  exports.apply = function apply(ctx) {
641
641
  if (typeof ctx.locale?.register === 'function') {
642
642
  if (typeof ctx.effect === 'function') {
@@ -687,6 +687,26 @@ window.__ModuleLoader__.load({
687
687
  )
688
688
  );
689
689
 
690
+ // List seat (plugins.item): the seat the Plugins page really renders as the
691
+ // plugin's own page with its configuration — the page draws the title, icon
692
+ // and crumb and asks for view 'summary' (the card's one-liner) or view 'page'
693
+ // (the form), both served by PluginItem. The label is a static string on
694
+ // purpose: it is resolved while the page renders, and a locale lookup there
695
+ // would take the whole client batch down with it.
696
+ registerSlotWhenReady('plugins.item', () =>
697
+ ctx.slots.register(
698
+ {
699
+ name: 'plugins.item',
700
+ id: ROW_ID,
701
+ order: 10,
702
+ label: () => 'Agent Loop Guard',
703
+ locale: NS,
704
+ inject: () => ({ ctx }),
705
+ },
706
+ (props) => React.createElement(PluginItem, { ...props, ctx: (props && props.ctx) || ctx })
707
+ )
708
+ );
709
+
690
710
  registerSlotWhenReady('settings.plugin.item', () =>
691
711
  ctx.slots.register(
692
712
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goodandready/dsh-agent-loop-guard",
3
- "version": "0.2.11",
3
+ "version": "0.2.13",
4
4
  "description": "Fail-closed runtime tool-call loop guard for DeepSeek Harness.",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",
@@ -31,7 +31,8 @@
31
31
  "platform": "web",
32
32
  "inject": [
33
33
  "@deepseek-ai/dsh-client-locale",
34
- "@deepseek-ai/dsh-client-ui-settings"
34
+ "@deepseek-ai/dsh-client-ui-settings",
35
+ "@deepseek-ai/dsh-client-ui-slots"
35
36
  ]
36
37
  }
37
38
  },