@goodandready/dsh-cron 0.2.20 → 0.2.21

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 +17 -2
  2. package/package.json +1 -1
package/lib/client.js CHANGED
@@ -4052,8 +4052,23 @@ window.__ModuleLoader__.load({
4052
4052
  function SettingsCardWithBoundary(props) {
4053
4053
  return React.createElement(ErrorBoundary, null, CronSettingsCard(props));
4054
4054
  }
4055
- // Row seat first (the seat the current core renders), legacy settings.plugin.item
4056
- // after it as a fallback (#102: still no top-level section fallback).
4055
+ // List seat (plugins.item): the seat the Plugins page renders as the plugin's own
4056
+ // page with its configuration. The label is a static string on purpose — it is
4057
+ // resolved while the page renders, and a locale lookup there would take the whole
4058
+ // client batch down with it.
4059
+ const itemOk = registerIntoMount(ctx, 'plugins.item', {
4060
+ name: 'plugins.item',
4061
+ id: ROW_ID,
4062
+ order: 60,
4063
+ label: () => 'Cron',
4064
+ locale: NS,
4065
+ inject: () => ({ ctx, toggle }),
4066
+ }, SettingsCardWithBoundary);
4067
+ if (!itemOk) {
4068
+ console.warn('[dsh-cron] plugins.item slot unavailable — plugin page card not registered');
4069
+ }
4070
+ // Row seat and the legacy settings.plugin.item seat stay as fallbacks
4071
+ // (#102: still no top-level section fallback).
4057
4072
  const rowOk = registerIntoMount(ctx, 'plugins.row.config', {
4058
4073
  name: 'plugins.row.config',
4059
4074
  key: ROW_CONFIG_KEY,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goodandready/dsh-cron",
3
- "version": "0.2.20",
3
+ "version": "0.2.21",
4
4
  "description": "Scheduled cron tasks, background automation and agent execution for DeepSeek Harness.",
5
5
  "type": "module",
6
6
  "main": "lib/index.js",