openclaw-overlay-plugin 0.7.62 → 0.7.65

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 CHANGED
@@ -308,7 +308,7 @@ export default function register(api) {
308
308
  const pluginConfig = { ...entry, ...(entry.config || {}), ...(api.config || {}) };
309
309
  // 1. Tool
310
310
  api.registerTool({
311
- name: "openclaw_overlay",
311
+ name: "overlay",
312
312
  description: "Access the BSV agent marketplace",
313
313
  parameters: {
314
314
  type: "object",
@@ -336,12 +336,15 @@ export default function register(api) {
336
336
  });
337
337
  // 2. Command
338
338
  api.registerCommand({
339
- name: "openclaw_overlay",
339
+ name: "overlay",
340
340
  description: "BSV Overlay Marketplace commands",
341
341
  acceptsArgs: true,
342
342
  handler: async (ctx) => {
343
343
  try {
344
344
  const action = ctx.args?.[0] || 'status';
345
+ if (action === 'help') {
346
+ return { text: `🛰️ **Overlay Help**\n\n**Subcommands**:\n- \`status\`: Show identity and wallet balance\n- \`balance\`: Show current satoshis\n- \`onboard\`: Start discovery setup\n- \`discover <serviceId>\`: Find providers on network\n- \`pending-requests\`: See incoming service jobs\n- \`fulfill\`: Complete a request (Agent only)` };
347
+ }
345
348
  const result = await executeOverlayAction({ action }, pluginConfig, api);
346
349
  return { text: `**Overlay ${action.toUpperCase()}**\n\n${typeof result === 'string' ? result : JSON.stringify(result, null, 2)}` };
347
350
  }
@@ -374,7 +377,7 @@ export default function register(api) {
374
377
  const result = await handleBalance(buildEnvironment(pluginConfig), getCliPath());
375
378
  console.log(JSON.stringify(result, null, 2));
376
379
  });
377
- }, { commands: ["openclaw_overlay"] });
380
+ }, { commands: ["overlay"] });
378
381
  }
379
382
  async function executeOverlayAction(params, config, api) {
380
383
  await ensureCp();
package/index.ts CHANGED
@@ -320,7 +320,7 @@ export default function register(api: any) {
320
320
 
321
321
  // 1. Tool
322
322
  api.registerTool({
323
- name: "openclaw_overlay",
323
+ name: "overlay",
324
324
  description: "Access the BSV agent marketplace",
325
325
  parameters: {
326
326
  type: "object",
@@ -348,12 +348,17 @@ export default function register(api: any) {
348
348
 
349
349
  // 2. Command
350
350
  api.registerCommand({
351
- name: "openclaw_overlay",
351
+ name: "overlay",
352
352
  description: "BSV Overlay Marketplace commands",
353
353
  acceptsArgs: true,
354
354
  handler: async (ctx: any) => {
355
355
  try {
356
356
  const action = ctx.args?.[0] || 'status';
357
+
358
+ if (action === 'help') {
359
+ return { text: `🛰️ **Overlay Help**\n\n**Subcommands**:\n- \`status\`: Show identity and wallet balance\n- \`balance\`: Show current satoshis\n- \`onboard\`: Start discovery setup\n- \`discover <serviceId>\`: Find providers on network\n- \`pending-requests\`: See incoming service jobs\n- \`fulfill\`: Complete a request (Agent only)` };
360
+ }
361
+
357
362
  const result = await executeOverlayAction({ action }, pluginConfig, api);
358
363
  return { text: `**Overlay ${action.toUpperCase()}**\n\n${typeof result === 'string' ? result : JSON.stringify(result, null, 2)}` };
359
364
  } catch (error: any) {
@@ -387,7 +392,7 @@ export default function register(api: any) {
387
392
  const result = await handleBalance(buildEnvironment(pluginConfig), getCliPath());
388
393
  console.log(JSON.stringify(result, null, 2));
389
394
  });
390
- }, { commands: ["openclaw_overlay"] });
395
+ }, { commands: ["overlay"] });
391
396
  }
392
397
 
393
398
  async function executeOverlayAction(params: any, config: any, api: any) {
@@ -2,13 +2,13 @@
2
2
  "id": "openclaw-overlay-plugin",
3
3
  "name": "BSV Overlay Network",
4
4
  "description": "OpenClaw Overlay — decentralized agent marketplace with BSV micropayments",
5
- "version": "0.7.62",
5
+ "version": "0.7.65",
6
6
  "skills": [
7
7
  "./SKILL.md"
8
8
  ],
9
9
  "commands": [
10
10
  {
11
- "name": "openclaw_overlay",
11
+ "name": "overlay",
12
12
  "description": "BSV Overlay Network management",
13
13
  "isAutoreply": true
14
14
  }
@@ -16,7 +16,7 @@
16
16
  "contracts": {
17
17
  "tools": [
18
18
  {
19
- "name": "openclaw_overlay",
19
+ "name": "overlay",
20
20
  "description": "Access the BSV agent marketplace - discover agents and exchange BSV micropayments for services"
21
21
  }
22
22
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "openclaw-overlay-plugin",
3
- "version": "0.7.62",
3
+ "version": "0.7.65",
4
4
  "description": "Openclaw BSV Overlay — agent discovery, service marketplace, and micropayments on the BSV blockchain",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -27,7 +27,7 @@
27
27
  "dependencies": {
28
28
  "@bsv/sdk": "^2.0.13",
29
29
  "@bsv/wallet-toolbox": "^2.1.17",
30
- "sqlite3": "^5.1.7",
30
+ "sqlite3": "^6.0.1",
31
31
  "dotenv": "^17.3.1",
32
32
  "knex": "^3.2.8"
33
33
  },