memorylake-openclaw 1.0.2-beta.1 → 1.0.2-beta.2

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.
Files changed (2) hide show
  1. package/index.ts +3 -6
  2. package/package.json +1 -1
package/index.ts CHANGED
@@ -1325,7 +1325,7 @@ const memoryPlugin = {
1325
1325
  name: "document_download",
1326
1326
  label: "Document Download",
1327
1327
  description:
1328
- "Download a document (image, PDF, etc.) from MemoryLake and send it to the user. Returns a temporary download URL. Use document_search first to find the document_id.",
1328
+ "Download a document (image, PDF, etc.) from MemoryLake and get a temporary download URL. After calling this tool, you MUST call the `message` tool with action='send' and media=<the returned URL> to deliver the file to the user.",
1329
1329
  parameters: Type.Object({
1330
1330
  documentId: Type.String({
1331
1331
  description:
@@ -1345,13 +1345,10 @@ const memoryPlugin = {
1345
1345
  content: [
1346
1346
  {
1347
1347
  type: "text",
1348
- text: `Document ${documentId} is ready. Tell the user you are sending the file now.\nMEDIA: ${downloadUrl}`,
1348
+ text: `Document ${documentId} ready. Download URL (expires in ~20 minutes):\n${downloadUrl}\n\nYou MUST now call the message tool with action="send" and media set to this URL to deliver the file to the user.`,
1349
1349
  },
1350
1350
  ],
1351
- details: {
1352
- media: { mediaUrl: downloadUrl },
1353
- documentId,
1354
- },
1351
+ details: { documentId },
1355
1352
  };
1356
1353
  } catch (err) {
1357
1354
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "memorylake-openclaw",
3
- "version": "1.0.2-beta.1",
3
+ "version": "1.0.2-beta.2",
4
4
  "type": "module",
5
5
  "description": "MemoryLake memory backend for OpenClaw",
6
6
  "license": "MIT",