@dai_ming/plugin-deliverables 1.1.9 → 1.2.0
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/index.js +4 -0
- package/openclaw-plugin.json +1 -1
- package/openclaw.plugin.json +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -880,6 +880,7 @@ function kbMultipartUpload(fileBuffers, fields, pathsArray) {
|
|
|
880
880
|
"X-API-Key": kbApiKey(),
|
|
881
881
|
"Content-Length": body.length,
|
|
882
882
|
},
|
|
883
|
+
timeout: 10000,
|
|
883
884
|
},
|
|
884
885
|
(res) => {
|
|
885
886
|
const chunks = [];
|
|
@@ -905,6 +906,9 @@ function kbMultipartUpload(fileBuffers, fields, pathsArray) {
|
|
|
905
906
|
});
|
|
906
907
|
},
|
|
907
908
|
);
|
|
909
|
+
req.on("timeout", () => {
|
|
910
|
+
req.destroy(new Error("kb upload timeout after 10s"));
|
|
911
|
+
});
|
|
908
912
|
req.on("error", reject);
|
|
909
913
|
req.write(body);
|
|
910
914
|
req.end();
|
package/openclaw-plugin.json
CHANGED
package/openclaw.plugin.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"id": "plugin-deliverables",
|
|
3
3
|
"name": "Deliverables",
|
|
4
4
|
"description": "Deliverables runtime guard for upload-first file delivery with Palz split-send diagnostics.",
|
|
5
|
-
"version": "1.
|
|
5
|
+
"version": "1.2.0",
|
|
6
6
|
"skills": ["./skills"],
|
|
7
7
|
"configSchema": {
|
|
8
8
|
"type": "object",
|
package/package.json
CHANGED