clawaxis 1.0.0 → 1.0.1
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/package.json +4 -2
- package/src/sync/documents.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "clawaxis",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "index.ts",
|
|
6
6
|
"files": [
|
|
@@ -18,7 +18,9 @@
|
|
|
18
18
|
"channel"
|
|
19
19
|
],
|
|
20
20
|
"openclaw": {
|
|
21
|
-
"extensions": [
|
|
21
|
+
"extensions": [
|
|
22
|
+
"./index.ts"
|
|
23
|
+
],
|
|
22
24
|
"channel": {
|
|
23
25
|
"id": "clawaxis",
|
|
24
26
|
"label": "ClawAxis",
|
package/src/sync/documents.ts
CHANGED
|
@@ -62,8 +62,8 @@ export async function processPendingDocs(docs: any[]): Promise<void> {
|
|
|
62
62
|
].filter(Boolean).join(" | ");
|
|
63
63
|
|
|
64
64
|
const messageContent = isUpdate
|
|
65
|
-
? `[DOC_UPDATED] The user updated document "${doc.name}" (v${doc.version || 1}). ${docMeta ? docMeta + ". " : ""}File updated at: ${filePath}. Read it with the read tool if you need to review the changes
|
|
66
|
-
: `[DOC_UPLOADED] The user uploaded a new document: "${doc.name}". ${docMeta ? docMeta + ". " : ""}Saved to: ${filePath}. This file is now searchable via memory_search. Read it with the read tool if you want to review
|
|
65
|
+
? `[DOC_UPDATED] The user updated document "${doc.name}" (v${doc.version || 1}). ${docMeta ? docMeta + ". " : ""}File updated at: ${filePath}. Read it with the read tool if you need to review the changes.`
|
|
66
|
+
: `[DOC_UPLOADED] The user uploaded a new document: "${doc.name}". ${docMeta ? docMeta + ". " : ""}Saved to: ${filePath}. This file is now searchable via memory_search. Read it with the read tool if you want to review.`;
|
|
67
67
|
|
|
68
68
|
await dispatchSystemMessage(messageContent, `doc-sync-${doc.id}`, `doc-sync-${doc.id}`);
|
|
69
69
|
|