agent-bridge-aun 1.0.3 → 1.0.4
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/src-ts/plugins/aun/index.js +2 -2
- package/package.json +1 -1
- package/plugin.json +1 -1
|
@@ -9,7 +9,7 @@ const messages_1 = require("./messages");
|
|
|
9
9
|
const evolcore_1 = require("./evolcore");
|
|
10
10
|
const local_aids_1 = require("../../local-aids");
|
|
11
11
|
const manifest = {
|
|
12
|
-
id: "aun", version: "1.0.
|
|
12
|
+
id: "aun", version: "1.0.4", type: "channel", displayName: "AUN 通道",
|
|
13
13
|
entry: "dist/src-ts/plugins/aun/index.js", apiVersion: "1", process: "in-process",
|
|
14
14
|
capabilities: ["channel", "channel.identity.create", "channel.receive", "channel.send", "health"],
|
|
15
15
|
configSchema: "config.schema.json",
|
|
@@ -373,7 +373,7 @@ class AunPlugin {
|
|
|
373
373
|
if (!message || !this.seen.add(message.messageId ? `${aid}:${message.messageId}` : ""))
|
|
374
374
|
return;
|
|
375
375
|
const channelMessage = {
|
|
376
|
-
channel: "aun", peerId: message.peerId, messageId: message.messageId, text: message.text, threadId: message.threadId,
|
|
376
|
+
channel: "aun", recipientId: aid, peerId: message.peerId, messageId: message.messageId, text: message.text, threadId: message.threadId,
|
|
377
377
|
agentPlugin: this.bindings[aid] || (typeof this.config.agent_plugin === "string" && this.config.agent_plugin.trim() ? this.config.agent_plugin.trim() : "qwenwork"),
|
|
378
378
|
reply: async (text) => {
|
|
379
379
|
if (!text.trim())
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "agent-bridge-aun",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "mu-agent-bridge 的 AUN 通道插件。",
|
|
5
5
|
"keywords": ["mu-agent-bridge-plugin", "mu-agent-bridge-channel"],
|
|
6
6
|
"repository": { "type": "git", "url": "https://codeup.aliyun.com/6808da56fb3da14b899afd54/agent_bridge.git", "directory": "packages/aun" },
|