@goodandready/dsh-goal 0.2.7 → 0.2.8
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/lib/client.js +13 -13
- package/package.json +6 -2
package/lib/client.js
CHANGED
|
@@ -4685,7 +4685,7 @@ window.__ModuleLoader__.load({
|
|
|
4685
4685
|
|
|
4686
4686
|
};
|
|
4687
4687
|
|
|
4688
|
-
module.exports.inject = ['slots', 'locale', '
|
|
4688
|
+
module.exports.inject = ['slots', 'locale', 'configForms'];
|
|
4689
4689
|
|
|
4690
4690
|
module.exports.apply = function apply(ctx) {
|
|
4691
4691
|
if (typeof ctx.effect === 'function') {
|
|
@@ -4694,9 +4694,9 @@ window.__ModuleLoader__.load({
|
|
|
4694
4694
|
ctx.locale?.register?.(NS, LOCALES);
|
|
4695
4695
|
} catch (err) { /* handled defensively */ }
|
|
4696
4696
|
|
|
4697
|
-
const
|
|
4698
|
-
ctx.
|
|
4699
|
-
? ctx.
|
|
4697
|
+
const configForms =
|
|
4698
|
+
ctx.configForms && typeof ctx.configForms.get === 'function'
|
|
4699
|
+
? ctx.configForms.get(NS)
|
|
4700
4700
|
: null;
|
|
4701
4701
|
|
|
4702
4702
|
const disposers = [];
|
|
@@ -4736,7 +4736,7 @@ window.__ModuleLoader__.load({
|
|
|
4736
4736
|
order: 60,
|
|
4737
4737
|
label: () => 'Goal',
|
|
4738
4738
|
locale: NS,
|
|
4739
|
-
inject: () => ({ ctx, scope:
|
|
4739
|
+
inject: () => ({ ctx, scope: configForms }),
|
|
4740
4740
|
},
|
|
4741
4741
|
GoalSettingsCard,
|
|
4742
4742
|
);
|
|
@@ -4747,7 +4747,7 @@ window.__ModuleLoader__.load({
|
|
|
4747
4747
|
name: 'plugins.row.config',
|
|
4748
4748
|
key: ROW_CONFIG_KEY,
|
|
4749
4749
|
locale: NS,
|
|
4750
|
-
inject: () => ({ ctx, scope:
|
|
4750
|
+
inject: () => ({ ctx, scope: configForms }),
|
|
4751
4751
|
},
|
|
4752
4752
|
GoalSettingsCard,
|
|
4753
4753
|
);
|
|
@@ -4758,7 +4758,7 @@ window.__ModuleLoader__.load({
|
|
|
4758
4758
|
name: 'settings.plugin.item',
|
|
4759
4759
|
key: NS,
|
|
4760
4760
|
locale: NS,
|
|
4761
|
-
inject: () => ({ ctx, scope:
|
|
4761
|
+
inject: () => ({ ctx, scope: configForms }),
|
|
4762
4762
|
},
|
|
4763
4763
|
GoalSettingsCard,
|
|
4764
4764
|
);
|
|
@@ -4774,9 +4774,9 @@ window.__ModuleLoader__.load({
|
|
|
4774
4774
|
ctx.locale?.register?.(NS, LOCALES);
|
|
4775
4775
|
} catch (err) { /* handled defensively */ }
|
|
4776
4776
|
|
|
4777
|
-
const
|
|
4778
|
-
ctx.
|
|
4779
|
-
? ctx.
|
|
4777
|
+
const configForms =
|
|
4778
|
+
ctx.configForms && typeof ctx.configForms.get === 'function'
|
|
4779
|
+
? ctx.configForms.get(NS)
|
|
4780
4780
|
: null;
|
|
4781
4781
|
|
|
4782
4782
|
const registerSlotSafe = (name, entry, comp) => {
|
|
@@ -4813,7 +4813,7 @@ window.__ModuleLoader__.load({
|
|
|
4813
4813
|
order: 60,
|
|
4814
4814
|
label: () => 'Goal',
|
|
4815
4815
|
locale: NS,
|
|
4816
|
-
inject: () => ({ ctx, scope:
|
|
4816
|
+
inject: () => ({ ctx, scope: configForms }),
|
|
4817
4817
|
},
|
|
4818
4818
|
GoalSettingsCard,
|
|
4819
4819
|
);
|
|
@@ -4824,7 +4824,7 @@ window.__ModuleLoader__.load({
|
|
|
4824
4824
|
name: 'plugins.row.config',
|
|
4825
4825
|
key: ROW_CONFIG_KEY,
|
|
4826
4826
|
locale: NS,
|
|
4827
|
-
inject: () => ({ ctx, scope:
|
|
4827
|
+
inject: () => ({ ctx, scope: configForms }),
|
|
4828
4828
|
},
|
|
4829
4829
|
GoalSettingsCard,
|
|
4830
4830
|
);
|
|
@@ -4835,7 +4835,7 @@ window.__ModuleLoader__.load({
|
|
|
4835
4835
|
name: 'settings.plugin.item',
|
|
4836
4836
|
key: NS,
|
|
4837
4837
|
locale: NS,
|
|
4838
|
-
inject: () => ({ ctx, scope:
|
|
4838
|
+
inject: () => ({ ctx, scope: configForms }),
|
|
4839
4839
|
},
|
|
4840
4840
|
GoalSettingsCard,
|
|
4841
4841
|
);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@goodandready/dsh-goal",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.8",
|
|
4
4
|
"description": "Autonomous Goal Execution & Multi-Turn Task Tracking Engine with Sticky Header for DeepSeek Harness",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./lib/index.js",
|
|
@@ -45,7 +45,11 @@
|
|
|
45
45
|
},
|
|
46
46
|
"client": {
|
|
47
47
|
"platform": "web",
|
|
48
|
-
"inject": [
|
|
48
|
+
"inject": [
|
|
49
|
+
"@deepseek-ai/dsh-client-ui-slots",
|
|
50
|
+
"@deepseek-ai/dsh-client-locale",
|
|
51
|
+
"@deepseek-ai/dsh-client-ui-settings"
|
|
52
|
+
]
|
|
49
53
|
}
|
|
50
54
|
},
|
|
51
55
|
"peerDependencies": {
|