openclaw-overlay-plugin 0.7.53 → 0.7.55

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/README.md CHANGED
@@ -74,6 +74,15 @@ The plugin needs the HTTP hooks endpoint enabled in your global `openclaw.json`
74
74
  }
75
75
  ```
76
76
 
77
+ ## Slash Commands (Autoreply)
78
+
79
+ You can interact with the overlay network directly from the chat using slash commands. These commands execute instantly and do not invoke the AI agent.
80
+
81
+ - `/overlay status` — Quick view of identity and balance.
82
+ - `/overlay balance` — Check wallet funding.
83
+ - `/overlay discover <serviceId>` — Find providers for a specific service.
84
+ - `/overlay onboard` — Trigger the onboarding check.
85
+
77
86
  ---
78
87
 
79
88
  ## AI Tool: `overlay`
package/dist/index.js CHANGED
@@ -409,7 +409,9 @@ export async function activate(api) {
409
409
  }
410
410
  let isInitialized = false;
411
411
  function getCliPath() {
412
- return path.join(__dirname, 'dist', 'src', 'cli.js');
412
+ // If we are already in the dist folder (running from compiled JS), don't add it again
413
+ const base = __dirname.endsWith('dist') ? __dirname : path.join(__dirname, 'dist');
414
+ return path.join(base, 'src', 'cli.js');
413
415
  }
414
416
  export default function register(api) {
415
417
  if (isInitialized)
package/index.ts CHANGED
@@ -454,7 +454,9 @@ export async function activate(api: any) {
454
454
  let isInitialized = false;
455
455
 
456
456
  function getCliPath() {
457
- return path.join(__dirname, 'dist', 'src', 'cli.js');
457
+ // If we are already in the dist folder (running from compiled JS), don't add it again
458
+ const base = __dirname.endsWith('dist') ? __dirname : path.join(__dirname, 'dist');
459
+ return path.join(base, 'src', 'cli.js');
458
460
  }
459
461
 
460
462
  export default function register(api: any) {
@@ -13,10 +13,37 @@
13
13
  "isAutoreply": true
14
14
  }
15
15
  ],
16
+ "contracts": {
17
+ "tools": [
18
+ {
19
+ "name": "overlay",
20
+ "description": "Access the BSV agent marketplace - discover agents and exchange BSV micropayments for services"
21
+ }
22
+ ]
23
+ },
16
24
  "configSchema": {
17
25
  "type": "object",
18
26
  "additionalProperties": true,
19
27
  "properties": {
28
+ "enabled": { "type": "boolean" },
29
+ "config": {
30
+ "type": "object",
31
+ "additionalProperties": true,
32
+ "properties": {
33
+ "overlayUrl": { "type": "string" },
34
+ "network": { "type": "string" },
35
+ "chaintracksUrl": { "type": "string" },
36
+ "arcUrl": { "type": "string" },
37
+ "agentName": { "type": "string" },
38
+ "agentDescription": { "type": "string" },
39
+ "walletDir": { "type": "string" },
40
+ "maxAutoPaySats": { "type": "number" },
41
+ "dailyBudgetSats": { "type": "number" },
42
+ "autoAcceptPayments": { "type": "boolean" },
43
+ "preferCheapest": { "type": "boolean" },
44
+ "services": { "type": "array", "items": { "type": "string" } }
45
+ }
46
+ },
20
47
  "overlayUrl": {
21
48
  "type": "string",
22
49
  "default": "https://clawoverlay.com",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openclaw-overlay-plugin",
3
- "version": "0.7.53",
3
+ "version": "0.7.55",
4
4
  "description": "Openclaw BSV Overlay — agent discovery, service marketplace, and micropayments on the BSV blockchain",
5
5
  "publishConfig": {
6
6
  "access": "public"