test-youdu-openclaw-plugin 2026.4.9 → 2026.4.11
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/dist/index.cjs.js +1 -12
- package/dist/index.esm.js +1 -12
- package/dist/src/const.d.ts +1 -1
- package/package.json +2 -2
package/dist/index.cjs.js
CHANGED
|
@@ -4158,7 +4158,7 @@ const CHANNEL_ID = 'youdu';
|
|
|
4158
4158
|
const DEFAULT_DM_POLICY = 'pairing';
|
|
4159
4159
|
const WEBSOCKET_SCHEME = 'wss://';
|
|
4160
4160
|
const HTTP_SCHEME = 'https://';
|
|
4161
|
-
const PORT =
|
|
4161
|
+
const PORT = 7443;
|
|
4162
4162
|
const WS_URL = "/cgi/bot/wss";
|
|
4163
4163
|
const DOWNLOAD_MEDIA_URL = "/cgi/bot/file/download";
|
|
4164
4164
|
const UPLOAD_MEDIA_URL = "/cgi/bot/file/upload";
|
|
@@ -26090,16 +26090,6 @@ async function uploadOutboundMedia(params) {
|
|
|
26090
26090
|
};
|
|
26091
26091
|
}
|
|
26092
26092
|
catch (error) {
|
|
26093
|
-
if (axios.isAxiosError(error)) {
|
|
26094
|
-
console.error('Axios error:', error.message);
|
|
26095
|
-
console.error('Code:', error.code);
|
|
26096
|
-
console.error('Response status:', error.response?.status);
|
|
26097
|
-
console.error('Response data:', error.response?.data);
|
|
26098
|
-
console.error('Cause:', error.cause);
|
|
26099
|
-
}
|
|
26100
|
-
else {
|
|
26101
|
-
console.error('Unexpected error:', error);
|
|
26102
|
-
}
|
|
26103
26093
|
throw new Error(`Upload failed: ${error}`);
|
|
26104
26094
|
}
|
|
26105
26095
|
}
|
|
@@ -26809,7 +26799,6 @@ const youduSetupWizard = {
|
|
|
26809
26799
|
};
|
|
26810
26800
|
},
|
|
26811
26801
|
applySet: ({ cfg, resolvedValue }) => {
|
|
26812
|
-
console.log(`凭证输入: ${resolvedValue}`);
|
|
26813
26802
|
return setYouDuAccount(cfg, { secret: resolvedValue });
|
|
26814
26803
|
},
|
|
26815
26804
|
},
|
package/dist/index.esm.js
CHANGED
|
@@ -4129,7 +4129,7 @@ const CHANNEL_ID = 'youdu';
|
|
|
4129
4129
|
const DEFAULT_DM_POLICY = 'pairing';
|
|
4130
4130
|
const WEBSOCKET_SCHEME = 'wss://';
|
|
4131
4131
|
const HTTP_SCHEME = 'https://';
|
|
4132
|
-
const PORT =
|
|
4132
|
+
const PORT = 7443;
|
|
4133
4133
|
const WS_URL = "/cgi/bot/wss";
|
|
4134
4134
|
const DOWNLOAD_MEDIA_URL = "/cgi/bot/file/download";
|
|
4135
4135
|
const UPLOAD_MEDIA_URL = "/cgi/bot/file/upload";
|
|
@@ -26061,16 +26061,6 @@ async function uploadOutboundMedia(params) {
|
|
|
26061
26061
|
};
|
|
26062
26062
|
}
|
|
26063
26063
|
catch (error) {
|
|
26064
|
-
if (axios.isAxiosError(error)) {
|
|
26065
|
-
console.error('Axios error:', error.message);
|
|
26066
|
-
console.error('Code:', error.code);
|
|
26067
|
-
console.error('Response status:', error.response?.status);
|
|
26068
|
-
console.error('Response data:', error.response?.data);
|
|
26069
|
-
console.error('Cause:', error.cause);
|
|
26070
|
-
}
|
|
26071
|
-
else {
|
|
26072
|
-
console.error('Unexpected error:', error);
|
|
26073
|
-
}
|
|
26074
26064
|
throw new Error(`Upload failed: ${error}`);
|
|
26075
26065
|
}
|
|
26076
26066
|
}
|
|
@@ -26780,7 +26770,6 @@ const youduSetupWizard = {
|
|
|
26780
26770
|
};
|
|
26781
26771
|
},
|
|
26782
26772
|
applySet: ({ cfg, resolvedValue }) => {
|
|
26783
|
-
console.log(`凭证输入: ${resolvedValue}`);
|
|
26784
26773
|
return setYouDuAccount(cfg, { secret: resolvedValue });
|
|
26785
26774
|
},
|
|
26786
26775
|
},
|
package/dist/src/const.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export declare const CHANNEL_ID: "youdu";
|
|
|
7
7
|
export declare const DEFAULT_DM_POLICY = "pairing";
|
|
8
8
|
export declare const WEBSOCKET_SCHEME = "wss://";
|
|
9
9
|
export declare const HTTP_SCHEME = "https://";
|
|
10
|
-
export declare const PORT =
|
|
10
|
+
export declare const PORT = 7443;
|
|
11
11
|
export declare const WS_URL = "/cgi/bot/wss";
|
|
12
12
|
export declare const DOWNLOAD_MEDIA_URL = "/cgi/bot/file/download";
|
|
13
13
|
export declare const UPLOAD_MEDIA_URL = "/cgi/bot/file/upload";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "test-youdu-openclaw-plugin",
|
|
3
|
-
"version": "2026.4.
|
|
3
|
+
"version": "2026.4.11",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.esm.js",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"install": {
|
|
42
42
|
"npmSpec": "@test/youdu-openclaw-plugin",
|
|
43
43
|
"localPath": "extensions/youdu-openclaw-plugin",
|
|
44
|
-
"defaultChoice": "
|
|
44
|
+
"defaultChoice": "npm"
|
|
45
45
|
}
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|