@rezti/dsh-rez-suite 0.1.2 → 0.1.3
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/cordis.patch.yml +3 -0
- package/lib/index.js +2 -1
- package/package.json +6 -6
- package/src/index.ts +2 -1
package/cordis.patch.yml
CHANGED
|
@@ -35,6 +35,9 @@
|
|
|
35
35
|
- --transport
|
|
36
36
|
- stdio
|
|
37
37
|
env:
|
|
38
|
+
# App-password Basic Auth. Without this, newer nextcloud-mcp-server
|
|
39
|
+
# auto-detects login_flow and rejects NEXTCLOUD_USERNAME.
|
|
40
|
+
MCP_DEPLOYMENT_MODE: single_user_basic
|
|
38
41
|
NEXTCLOUD_HOST: https://cloud.rez-ti.com
|
|
39
42
|
NEXTCLOUD_USERNAME: rez-ti-2
|
|
40
43
|
NEXTCLOUD_PASSWORD: !!js process.env.REZ_NEXTCLOUD_PASSWORD ?? ''
|
package/lib/index.js
CHANGED
|
@@ -7601,7 +7601,8 @@ function apply(ctx, config) {
|
|
|
7601
7601
|
saveConfig(value);
|
|
7602
7602
|
current = () => value;
|
|
7603
7603
|
try {
|
|
7604
|
-
|
|
7604
|
+
const settings = ctx.get("settings");
|
|
7605
|
+
if (settings?.update !== void 0) await settings.update(REZ_SETTINGS_NAMESPACE, value);
|
|
7605
7606
|
} catch (error) {
|
|
7606
7607
|
console.warn("[dsh-rez-suite] settings update failed, using local store:", error);
|
|
7607
7608
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rezti/dsh-rez-suite",
|
|
3
3
|
"description": "ReZ-TI employee plugin for DeepSeek Harness: one install enables company MCP (Odoo / Nextcloud / WeCom / Weixin-ClawBot / Home Assistant) and work identity.",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.3",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
7
7
|
"node": "^22.19.0 || >=24.0.0"
|
|
@@ -36,13 +36,13 @@
|
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@modelcontextprotocol/sdk": "^1.30.0",
|
|
38
38
|
"zod": "^4.4.3",
|
|
39
|
+
"@rezti/dsh-rez-ha-bridge": "0.1.0",
|
|
40
|
+
"@rezti/dsh-rez-intent": "0.1.3",
|
|
39
41
|
"@rezti/dsh-rez-nextcloud": "0.1.0",
|
|
42
|
+
"@rezti/dsh-rez-sso": "0.1.3",
|
|
40
43
|
"@rezti/dsh-rez-odoo": "0.1.0",
|
|
41
|
-
"@rezti/dsh-rez-
|
|
42
|
-
"@rezti/dsh-rez-
|
|
43
|
-
"@rezti/dsh-rez-token-manager": "0.1.0",
|
|
44
|
-
"@rezti/dsh-rez-wechat": "0.1.2",
|
|
45
|
-
"@rezti/dsh-rez-sso": "0.1.2"
|
|
44
|
+
"@rezti/dsh-rez-wechat": "0.1.3",
|
|
45
|
+
"@rezti/dsh-rez-token-manager": "0.1.3"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
48
|
"react": "^18.2.0",
|
package/src/index.ts
CHANGED
|
@@ -110,7 +110,8 @@ export function apply(ctx: Context, config?: RezConfig): void {
|
|
|
110
110
|
saveConfig(value)
|
|
111
111
|
current = () => value
|
|
112
112
|
try {
|
|
113
|
-
|
|
113
|
+
const settings = ctx.get('settings') as { update?: (namespace: unknown, value: unknown) => Promise<void> } | undefined
|
|
114
|
+
if (settings?.update !== undefined) await settings.update(REZ_SETTINGS_NAMESPACE, value)
|
|
114
115
|
} catch (error) {
|
|
115
116
|
console.warn('[dsh-rez-suite] settings update failed, using local store:', error)
|
|
116
117
|
}
|