@a2hmarket/a2hmarket 0.6.1 → 0.6.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@a2hmarket/a2hmarket",
3
- "version": "0.6.1",
3
+ "version": "0.6.2",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "index.ts",
@@ -45,7 +45,7 @@ async function mqttSendText(
45
45
  }
46
46
  }
47
47
 
48
- // ── Re-export notifyHuman for external callers ──────────────────────────
48
+ // ── Re-export for external callers ──────────────────────────────────────
49
49
 
50
50
  export { notifyHuman as notifyHumanCard } from "./notify.js";
51
51
 
@@ -81,7 +81,7 @@ export async function startAgentService(ctx: AgentServiceContext): Promise<void>
81
81
  ctx.log.info(`inbound from ${event.senderId}: ${event.text.slice(0, 80)}`);
82
82
 
83
83
  // ① Custom notification: notify human about incoming message
84
- notifyHumanCard("inbound", event.senderId, event.text.slice(0, 500), creds.agentId, notifyLog);
84
+ notifyHuman("inbound", event.senderId, event.text.slice(0, 500), creds.agentId, notifyLog);
85
85
 
86
86
  // ② Dispatch to OpenClaw Agent via Channel Plugin SDK
87
87
  // Agent has full access to a2h_* tools