@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 +1 -1
- package/src/agent-service.ts +2 -2
package/package.json
CHANGED
package/src/agent-service.ts
CHANGED
|
@@ -45,7 +45,7 @@ async function mqttSendText(
|
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
// ── Re-export
|
|
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
|
-
|
|
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
|