openclaw-overlay-plugin 0.7.53 → 0.7.54
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 +9 -0
- package/dist/index.js +3 -1
- package/index.ts +3 -1
- package/openclaw.plugin.json +8 -0
- package/package.json +1 -1
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
|
-
|
|
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
|
-
|
|
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) {
|
package/openclaw.plugin.json
CHANGED
|
@@ -13,6 +13,14 @@
|
|
|
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,
|
package/package.json
CHANGED