@okxweb3/a2a-openclaw 0.0.0-beta.1 → 0.0.0-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.
- package/dist/index.js +51 -51
- package/openclaw.plugin.json +1 -1
- package/package.json +3 -14
package/openclaw.plugin.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@okxweb3/a2a-openclaw",
|
|
3
|
-
"version": "0.0.0-beta.
|
|
3
|
+
"version": "0.0.0-beta.2",
|
|
4
4
|
"description": "OpenClaw plugin for E2E encrypted wallet-to-agent communication via XMTP",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"files": [
|
|
@@ -9,21 +9,10 @@
|
|
|
9
9
|
],
|
|
10
10
|
"scripts": {
|
|
11
11
|
"build": "node scripts/build.mjs",
|
|
12
|
-
"postbuild": "[ -d ~/.openclaw/
|
|
12
|
+
"postbuild": "[ -d ~/.openclaw/npm/node_modules/@okxweb3/a2a-openclaw/dist ] && cp dist/index.js ~/.openclaw/npm/node_modules/@okxweb3/a2a-openclaw/dist/index.js || true",
|
|
13
13
|
"lint": "eslint src",
|
|
14
14
|
"lint:fix": "eslint src --fix",
|
|
15
15
|
"typecheck": "tsc --noEmit",
|
|
16
|
-
"test:offline": "esbuild scripts/send-offline-message.ts --bundle --platform=node --outfile=dist/send-offline-message.js --alias:@xmtp/node-bindings=./src/native-bindings-shim.js --format=cjs --banner:js=\"var __importMetaUrl=require('url').pathToFileURL(__filename).href;\" --define:import.meta.url=__importMetaUrl && node dist/send-offline-message.js",
|
|
17
|
-
"test:file-transfer": "esbuild scripts/demo-file-transfer.ts --bundle --platform=node --outfile=dist/demo-file-transfer.js --alias:@xmtp/node-bindings=./src/native-bindings-shim.js --format=cjs --banner:js=\"var __importMetaUrl=require('url').pathToFileURL(__filename).href;\" --define:import.meta.url=__importMetaUrl && node dist/demo-file-transfer.js",
|
|
18
|
-
"test:dm-notify": "esbuild scripts/send-dm-notification.ts --bundle --platform=node --outfile=dist/send-dm-notification.js --alias:@xmtp/node-bindings=./src/native-bindings-shim.js --format=cjs --banner:js=\"var __importMetaUrl=require('url').pathToFileURL(__filename).href;\" --define:import.meta.url=__importMetaUrl && node dist/send-dm-notification.js",
|
|
19
|
-
"test:pending-group": "esbuild scripts/send-pending-group.ts --bundle --platform=node --outfile=dist/send-pending-group.js --alias:@xmtp/node-bindings=./src/native-bindings-shim.js --format=cjs --banner:js=\"var __importMetaUrl=require('url').pathToFileURL(__filename).href;\" --define:import.meta.url=__importMetaUrl && node dist/send-pending-group.js",
|
|
20
|
-
"test:offline-group": "esbuild scripts/test-offline-group.ts --bundle --platform=node --outfile=dist/test-offline-group.js --alias:@xmtp/node-bindings=./src/native-bindings-shim.js --format=cjs --banner:js=\"var __importMetaUrl=require('url').pathToFileURL(__filename).href;\" --define:import.meta.url=__importMetaUrl && node dist/test-offline-group.js",
|
|
21
|
-
"test:dump-group": "esbuild scripts/dump-group-messages.ts --bundle --platform=node --outfile=dist/dump-group-messages.js --alias:@xmtp/node-bindings=./src/native-bindings-shim.js --format=cjs --banner:js=\"var __importMetaUrl=require('url').pathToFileURL(__filename).href;\" --define:import.meta.url=__importMetaUrl && node dist/dump-group-messages.js",
|
|
22
|
-
"test:dump-sync": "esbuild scripts/dump-sync-state.ts --bundle --platform=node --outfile=dist/dump-sync-state.js --format=cjs && node dist/dump-sync-state.js",
|
|
23
|
-
"test:dump-consent": "esbuild scripts/dump-consent-states.ts --bundle --platform=node --outfile=dist/dump-consent-states.js --alias:@xmtp/node-bindings=./src/native-bindings-shim.js --format=cjs --banner:js=\"var __importMetaUrl=require('url').pathToFileURL(__filename).href;\" --define:import.meta.url=__importMetaUrl && node dist/dump-consent-states.js",
|
|
24
|
-
"test:check-consent": "esbuild scripts/check-group-consent.ts --bundle --platform=node --outfile=dist/check-group-consent.js --alias:@xmtp/node-bindings=./src/native-bindings-shim.js --format=cjs --banner:js=\"var __importMetaUrl=require('url').pathToFileURL(__filename).href;\" --define:import.meta.url=__importMetaUrl && node dist/check-group-consent.js",
|
|
25
|
-
"test:diagnose-deny": "esbuild scripts/diagnose-deny.ts --bundle --platform=node --outfile=dist/diagnose-deny.js --alias:@xmtp/node-bindings=./src/native-bindings-shim.js --format=cjs --banner:js=\"var __importMetaUrl=require('url').pathToFileURL(__filename).href;\" --define:import.meta.url=__importMetaUrl && node dist/diagnose-deny.js",
|
|
26
|
-
"deploy": "npm run build && cp dist/index.js ~/.openclaw/extensions/okx-a2a/dist/index.js && [ -f .env ] && cp .env ~/.openclaw/extensions/okx-a2a/.env || true",
|
|
27
16
|
"extern_build": "node scripts/extern-build.mjs",
|
|
28
17
|
"pack": "npm run build && node scripts/pack.mjs",
|
|
29
18
|
"version:patch": "npm version patch --no-git-tag-version && node scripts/sync-version.mjs",
|
|
@@ -59,4 +48,4 @@
|
|
|
59
48
|
"./dist/index.js"
|
|
60
49
|
]
|
|
61
50
|
}
|
|
62
|
-
}
|
|
51
|
+
}
|