adp-openclaw 0.0.34 → 0.0.35
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.ts +3 -2
- package/package.json +1 -1
package/index.ts
CHANGED
|
@@ -100,7 +100,8 @@ const plugin = {
|
|
|
100
100
|
"If you can see this tool description, you are connected to the ADP server. " +
|
|
101
101
|
"Use this tool to send 1-10 local files of any type (including images and documents) to the user. " +
|
|
102
102
|
"A successful call means the files were uploaded and download URLs are returned. " +
|
|
103
|
-
"
|
|
103
|
+
"IMPORTANT: You MUST include the download URLs in your response to the user, " +
|
|
104
|
+
"and remind the user that the download links are valid for 24 hours. " +
|
|
104
105
|
"Parameters must be local filesystem paths only.",
|
|
105
106
|
parameters: ADP_UPLOAD_TOOL_SCHEMA,
|
|
106
107
|
async execute(toolCallId: string, params: unknown) {
|
|
@@ -198,7 +199,7 @@ const plugin = {
|
|
|
198
199
|
|
|
199
200
|
content.push({
|
|
200
201
|
type: "text",
|
|
201
|
-
text: `Files uploaded successfully:\n${urlSummary}
|
|
202
|
+
text: `Files uploaded successfully:\n${urlSummary}\n\n⚠️ Note: Please include these download links in your response to the user and remind them that the links are valid for 24 hours.`,
|
|
202
203
|
});
|
|
203
204
|
|
|
204
205
|
return {
|