mu-agent-bridge 1.0.53 → 1.0.55
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/abweb/index.js +1 -1
- package/dist/src-ts/plugins/aun/index.js +1 -1
- package/dist/src-ts/plugins/chatgpt/index.js +1 -1
- package/dist/src-ts/plugins/claude-cli/index.js +1 -1
- package/dist/src-ts/plugins/codex-cli/index.js +1 -1
- package/dist/src-ts/plugins/doubao/index.js +1 -1
- package/dist/src-ts/plugins/dsh/index.js +1 -1
- package/dist/src-ts/plugins/feishu/index.js +1 -1
- package/dist/src-ts/plugins/qwenwork/index.js +1 -1
- package/dist/src-ts/plugins/workbuddy/desktop-launch.js +1 -1
- package/dist/src-ts/plugins/workbuddy/index.js +1 -1
- package/dist/tests-ts/aun-plugin.test.js +1 -1
- package/dist/tests-ts/installer-assets.test.js +5 -1
- package/dist/tests-ts/workbuddy-plugin.test.js +2 -1
- package/package.json +2 -1
- package/plugins/abweb/dist/src-ts/plugins/abweb/index.js +1 -1
- package/plugins/abweb/package.json +1 -1
- package/plugins/abweb/plugin.json +1 -1
- package/plugins/aun/dist/src-ts/plugins/aun/index.js +1 -1
- package/plugins/aun/package.json +1 -1
- package/plugins/aun/plugin.json +1 -1
- package/plugins/chatgpt/dist/src-ts/plugins/chatgpt/index.js +1 -1
- package/plugins/chatgpt/package.json +1 -1
- package/plugins/chatgpt/plugin.json +1 -1
- package/plugins/claude-cli/dist/src-ts/plugins/claude-cli/index.js +1 -1
- package/plugins/claude-cli/package.json +1 -1
- package/plugins/claude-cli/plugin.json +1 -1
- package/plugins/codex-cli/dist/src-ts/plugins/codex-cli/index.js +1 -1
- package/plugins/codex-cli/package.json +1 -1
- package/plugins/codex-cli/plugin.json +1 -1
- package/plugins/doubao/dist/src-ts/plugins/doubao/index.js +1 -1
- package/plugins/doubao/package.json +1 -1
- package/plugins/doubao/plugin.json +1 -1
- package/plugins/dsh/dist/src-ts/plugins/dsh/index.js +1 -1
- package/plugins/dsh/package.json +1 -1
- package/plugins/dsh/plugin.json +1 -1
- package/plugins/feishu/dist/src-ts/plugins/feishu/index.js +1 -1
- package/plugins/feishu/package.json +1 -1
- package/plugins/feishu/plugin.json +1 -1
- package/plugins/qwenwork/dist/src-ts/plugins/qwenwork/index.js +1 -1
- package/plugins/qwenwork/package.json +1 -1
- package/plugins/qwenwork/plugin.json +1 -1
- package/plugins/workbuddy/dist/src-ts/plugins/workbuddy/desktop-launch.js +1 -1
- package/plugins/workbuddy/dist/src-ts/plugins/workbuddy/index.js +1 -1
- package/plugins/workbuddy/package.json +1 -1
- package/plugins/workbuddy/plugin.json +1 -1
- package/dist/packages/mu-agent-bridge-1.0.53.tgz +0 -0
|
@@ -11,7 +11,7 @@ const node_url_1 = require("node:url");
|
|
|
11
11
|
const messages_1 = require("./messages");
|
|
12
12
|
const attachments_1 = require("./attachments");
|
|
13
13
|
const manifest = {
|
|
14
|
-
id: "aun", version: "1.0.
|
|
14
|
+
id: "aun", version: "1.0.31", type: "channel", displayName: "AUN 通道",
|
|
15
15
|
entry: "dist/src-ts/plugins/aun/index.js", apiVersion: "1", process: "in-process",
|
|
16
16
|
capabilities: ["channel", "channel.identity.create", "channel.receive", "channel.send", "health", "cli"],
|
|
17
17
|
configSchema: "config.schema.json",
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ClaudeCliPlugin = exports.manifest = void 0;
|
|
4
4
|
const agent_1 = require("../local-cli/agent");
|
|
5
5
|
exports.manifest = {
|
|
6
|
-
id: "claude-cli", version: "1.0.
|
|
6
|
+
id: "claude-cli", version: "1.0.1", displayName: "Claude Code CLI", type: "agent", executionMode: "cli",
|
|
7
7
|
entry: "dist/src-ts/plugins/claude-cli/index.js", apiVersion: "1", process: "in-process",
|
|
8
8
|
capabilities: ["chat", "health"], configSchema: "config.schema.json",
|
|
9
9
|
};
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.CodexCliPlugin = exports.manifest = void 0;
|
|
4
4
|
const agent_1 = require("../local-cli/agent");
|
|
5
5
|
exports.manifest = {
|
|
6
|
-
id: "codex-cli", version: "1.0.
|
|
6
|
+
id: "codex-cli", version: "1.0.1", displayName: "Codex CLI", type: "agent", executionMode: "cli",
|
|
7
7
|
entry: "dist/src-ts/plugins/codex-cli/index.js", apiVersion: "1", process: "in-process",
|
|
8
8
|
capabilities: ["chat", "health"], configSchema: "config.schema.json",
|
|
9
9
|
};
|
|
@@ -7,7 +7,7 @@ const openai_adapter_1 = require("../qwenwork/openai-adapter");
|
|
|
7
7
|
const session_history_1 = require("./session-history");
|
|
8
8
|
exports.dshManifest = {
|
|
9
9
|
id: "dsh",
|
|
10
|
-
version: "1.0.
|
|
10
|
+
version: "1.0.10",
|
|
11
11
|
displayName: "DeepSeek Harness",
|
|
12
12
|
entry: "dist/index.js",
|
|
13
13
|
apiVersion: "1",
|
|
@@ -5,7 +5,7 @@ const promises_1 = require("node:fs/promises");
|
|
|
5
5
|
const node_path_1 = require("node:path");
|
|
6
6
|
const qrcode_1 = require("qrcode");
|
|
7
7
|
const client_1 = require("./client");
|
|
8
|
-
const manifest = { id: "feishu", version: "1.0.
|
|
8
|
+
const manifest = { id: "feishu", version: "1.0.7", type: "channel", displayName: "飞书通道", entry: "dist/src-ts/plugins/feishu/index.js", apiVersion: "1", process: "in-process", capabilities: ["channel", "channel.bot.setup", "channel.receive", "channel.send", "health", "cli"], configSchema: "config.schema.json", managementPage: "/abweb/channels/feishu" };
|
|
9
9
|
const newSessionCommand = /^\/new(?:[ \t]+[^\r\n]+)?$/;
|
|
10
10
|
const commands = [
|
|
11
11
|
{ name: "status", summary: "查看飞书通道状态", usage: "mab feishu status" },
|
|
@@ -12,7 +12,7 @@ const session_history_1 = require("./session-history");
|
|
|
12
12
|
const CHAT_HEARTBEAT_INTERVAL_MS = 2 * 60 * 60_000;
|
|
13
13
|
exports.qwenworkManifest = {
|
|
14
14
|
id: "qwenwork",
|
|
15
|
-
version: "1.0.
|
|
15
|
+
version: "1.0.21",
|
|
16
16
|
displayName: "千问办公",
|
|
17
17
|
entry: "dist/index.js",
|
|
18
18
|
apiVersion: "1",
|
|
@@ -6,5 +6,5 @@ function launchWorkbuddyDesktop(executable, args, profileDirectory, port) {
|
|
|
6
6
|
// WorkBuddy 会覆盖 Chromium 的用户目录参数,必须使用它自己的环境变量隔离实例。
|
|
7
7
|
const env = { ...process.env, WORKBUDDY_USER_DATA_DIR: profileDirectory, WORKBUDDY_REMOTE_DEBUGGING_PORT: String(port) };
|
|
8
8
|
delete env.ELECTRON_RUN_AS_NODE;
|
|
9
|
-
return (0, node_child_process_1.spawn)(executable, args, { env, detached: true, stdio: "ignore", windowsHide: false });
|
|
9
|
+
return (0, node_child_process_1.spawn)(executable, [...args, "--lang=zh-CN", "--accept-lang=zh-CN,zh"], { env, detached: true, stdio: "ignore", windowsHide: false });
|
|
10
10
|
}
|
|
@@ -15,7 +15,7 @@ const session_history_1 = require("./session-history");
|
|
|
15
15
|
const desktop_launch_1 = require("../desktop-launch");
|
|
16
16
|
const desktop_launch_2 = require("./desktop-launch");
|
|
17
17
|
exports.workbuddyManifest = {
|
|
18
|
-
id: "workbuddy", version: "1.1.
|
|
18
|
+
id: "workbuddy", version: "1.1.17", displayName: "WorkBuddy", type: "agent",
|
|
19
19
|
entry: "dist/index.js", apiVersion: "1", process: "in-process",
|
|
20
20
|
capabilities: ["chat", "health"], configSchema: "config.schema.json",
|
|
21
21
|
};
|
|
@@ -536,7 +536,7 @@ async function withAunAttachmentPlugin(run, publish, config = { allow_from: "pee
|
|
|
536
536
|
await routes.get(`GET ${commandPath}`)({}, manifestResponse);
|
|
537
537
|
strict_1.default.equal(manifestResponse.body.protocolVersion, 1);
|
|
538
538
|
strict_1.default.equal(manifestResponse.body.plugin, "aun");
|
|
539
|
-
strict_1.default.equal(manifestResponse.body.version, "1.0.
|
|
539
|
+
strict_1.default.equal(manifestResponse.body.version, "1.0.31");
|
|
540
540
|
strict_1.default.deepEqual(manifestResponse.body.commands.map((command) => command.name), ["status", "list", "agents", "default-owner", "create", "bind", "unbind"]);
|
|
541
541
|
strict_1.default.ok(manifestResponse.body.commands.every((command) => command.summary && command.usage));
|
|
542
542
|
const status = await runAunCommand(routes, commandResponse(), ["status"]);
|
|
@@ -54,7 +54,11 @@ const node_util_1 = require("node:util");
|
|
|
54
54
|
strict_1.default.match(setup, /显示详细信息/);
|
|
55
55
|
strict_1.default.match(setup, /WizardBusyTimer/);
|
|
56
56
|
strict_1.default.match(setup, /timer\.Interval = 120/);
|
|
57
|
-
strict_1.default.match(setup,
|
|
57
|
+
strict_1.default.match(setup, /◴/);
|
|
58
|
+
strict_1.default.match(setup, /function Wait-WizardTask/);
|
|
59
|
+
strict_1.default.match(setup, /DownloadFileTaskAsync/);
|
|
60
|
+
strict_1.default.match(setup, /while \(-not \$process\.HasExited\)/);
|
|
61
|
+
strict_1.default.match(setup, /Application\]::DoEvents\(\)/);
|
|
58
62
|
strict_1.default.match(setup, /环境与桥接服务/);
|
|
59
63
|
strict_1.default.match(setup, /Get-ChildItem -LiteralPath \$root -Filter \$fileName -File -Recurse/);
|
|
60
64
|
strict_1.default.match(setup, /api\/plugins\/\$agent\/config/);
|
|
@@ -922,7 +922,7 @@ const cdp_client_1 = require("../src-ts/plugins/workbuddy/cdp-client");
|
|
|
922
922
|
querySelectorAll: (selector) => selector === '.cr-agent[data-message-id]' ? Array(messages).fill({}) : selector === '[data-conversation-id]' ? home && clicked ? [] : [{ className: "_selected_old", getAttribute: () => conversationId }] : [button],
|
|
923
923
|
querySelector: () => editor,
|
|
924
924
|
};
|
|
925
|
-
const client = new cdp_client_1.WorkbuddyCdpClient({ timeoutMs:
|
|
925
|
+
const client = new cdp_client_1.WorkbuddyCdpClient({ timeoutMs: 50 });
|
|
926
926
|
const evaluator = client;
|
|
927
927
|
evaluator.evaluate = async (expression) => (0, node_vm_1.runInNewContext)(expression, { document, location: { href: "app://workbuddy/task/old" } });
|
|
928
928
|
evaluator.pendingInteraction = { prompt: "请选择项目", options: ["项目甲"], sessionId: "old-session" };
|
|
@@ -1193,6 +1193,7 @@ const cdp_client_1 = require("../src-ts/plugins/workbuddy/cdp-client");
|
|
|
1193
1193
|
});
|
|
1194
1194
|
try {
|
|
1195
1195
|
launchWorkbuddyDesktop("WorkBuddy.exe", ["--remote-debugging-port=19329"], "bridge-profile", 19329);
|
|
1196
|
+
strict_1.default.deepEqual(launch.args, ["--remote-debugging-port=19329", "--lang=zh-CN", "--accept-lang=zh-CN,zh"]);
|
|
1196
1197
|
strict_1.default.equal(launch.options.env.WORKBUDDY_USER_DATA_DIR, "bridge-profile");
|
|
1197
1198
|
strict_1.default.equal(launch.options.env.WORKBUDDY_REMOTE_DEBUGGING_PORT, "19329");
|
|
1198
1199
|
strict_1.default.equal(launch.options.env.ELECTRON_RUN_AS_NODE, undefined);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mu-agent-bridge",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.55",
|
|
4
4
|
"description": "将 AUN Agent 连接到本地桌面 AI 客户端的插件平台。",
|
|
5
5
|
"main": "dist/src-ts/cli.js",
|
|
6
6
|
"bin": {
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
"files": [
|
|
11
11
|
"dist/",
|
|
12
12
|
"!dist/installer/**",
|
|
13
|
+
"!dist/packages/**",
|
|
13
14
|
"plugins/",
|
|
14
15
|
"README.md"
|
|
15
16
|
],
|
|
@@ -11,7 +11,7 @@ const node_url_1 = require("node:url");
|
|
|
11
11
|
const messages_1 = require("./messages");
|
|
12
12
|
const attachments_1 = require("./attachments");
|
|
13
13
|
const manifest = {
|
|
14
|
-
id: "aun", version: "1.0.
|
|
14
|
+
id: "aun", version: "1.0.31", type: "channel", displayName: "AUN 通道",
|
|
15
15
|
entry: "dist/src-ts/plugins/aun/index.js", apiVersion: "1", process: "in-process",
|
|
16
16
|
capabilities: ["channel", "channel.identity.create", "channel.receive", "channel.send", "health", "cli"],
|
|
17
17
|
configSchema: "config.schema.json",
|
package/plugins/aun/package.json
CHANGED
package/plugins/aun/plugin.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"agent-bridge-chatgpt","version":"1.0.
|
|
1
|
+
{"name":"agent-bridge-chatgpt","version":"1.0.11","description":"agent-bridge 的 ChatGPT Codex CDP 插件。","keywords":["mu-agent-bridge-plugin","mu-agent-bridge-agent"],"main":"dist/src-ts/plugins/chatgpt/index.js","files":["dist/","plugin.json","config.schema.json","README.md"],"agentBridge":{"plugin":"./plugin.json","type":"agent"},"engines":{"node":">=22"}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"id":"chatgpt","version":"1.0.
|
|
1
|
+
{"id":"chatgpt","version":"1.0.11","type":"agent","displayName":"ChatGPT(Codex)","entry":"dist/src-ts/plugins/chatgpt/index.js","apiVersion":"1","process":"in-process","capabilities":["chat","health"],"configSchema":"config.schema.json"}
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ClaudeCliPlugin = exports.manifest = void 0;
|
|
4
4
|
const agent_1 = require("../local-cli/agent");
|
|
5
5
|
exports.manifest = {
|
|
6
|
-
id: "claude-cli", version: "1.0.
|
|
6
|
+
id: "claude-cli", version: "1.0.1", displayName: "Claude Code CLI", type: "agent", executionMode: "cli",
|
|
7
7
|
entry: "dist/src-ts/plugins/claude-cli/index.js", apiVersion: "1", process: "in-process",
|
|
8
8
|
capabilities: ["chat", "health"], configSchema: "config.schema.json",
|
|
9
9
|
};
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.CodexCliPlugin = exports.manifest = void 0;
|
|
4
4
|
const agent_1 = require("../local-cli/agent");
|
|
5
5
|
exports.manifest = {
|
|
6
|
-
id: "codex-cli", version: "1.0.
|
|
6
|
+
id: "codex-cli", version: "1.0.1", displayName: "Codex CLI", type: "agent", executionMode: "cli",
|
|
7
7
|
entry: "dist/src-ts/plugins/codex-cli/index.js", apiVersion: "1", process: "in-process",
|
|
8
8
|
capabilities: ["chat", "health"], configSchema: "config.schema.json",
|
|
9
9
|
};
|
|
@@ -7,7 +7,7 @@ const openai_adapter_1 = require("../qwenwork/openai-adapter");
|
|
|
7
7
|
const session_history_1 = require("./session-history");
|
|
8
8
|
exports.dshManifest = {
|
|
9
9
|
id: "dsh",
|
|
10
|
-
version: "1.0.
|
|
10
|
+
version: "1.0.10",
|
|
11
11
|
displayName: "DeepSeek Harness",
|
|
12
12
|
entry: "dist/index.js",
|
|
13
13
|
apiVersion: "1",
|
package/plugins/dsh/package.json
CHANGED
package/plugins/dsh/plugin.json
CHANGED
|
@@ -5,7 +5,7 @@ const promises_1 = require("node:fs/promises");
|
|
|
5
5
|
const node_path_1 = require("node:path");
|
|
6
6
|
const qrcode_1 = require("qrcode");
|
|
7
7
|
const client_1 = require("./client");
|
|
8
|
-
const manifest = { id: "feishu", version: "1.0.
|
|
8
|
+
const manifest = { id: "feishu", version: "1.0.7", type: "channel", displayName: "飞书通道", entry: "dist/src-ts/plugins/feishu/index.js", apiVersion: "1", process: "in-process", capabilities: ["channel", "channel.bot.setup", "channel.receive", "channel.send", "health", "cli"], configSchema: "config.schema.json", managementPage: "/abweb/channels/feishu" };
|
|
9
9
|
const newSessionCommand = /^\/new(?:[ \t]+[^\r\n]+)?$/;
|
|
10
10
|
const commands = [
|
|
11
11
|
{ name: "status", summary: "查看飞书通道状态", usage: "mab feishu status" },
|
|
@@ -12,7 +12,7 @@ const session_history_1 = require("./session-history");
|
|
|
12
12
|
const CHAT_HEARTBEAT_INTERVAL_MS = 2 * 60 * 60_000;
|
|
13
13
|
exports.qwenworkManifest = {
|
|
14
14
|
id: "qwenwork",
|
|
15
|
-
version: "1.0.
|
|
15
|
+
version: "1.0.21",
|
|
16
16
|
displayName: "千问办公",
|
|
17
17
|
entry: "dist/index.js",
|
|
18
18
|
apiVersion: "1",
|
|
@@ -6,5 +6,5 @@ function launchWorkbuddyDesktop(executable, args, profileDirectory, port) {
|
|
|
6
6
|
// WorkBuddy 会覆盖 Chromium 的用户目录参数,必须使用它自己的环境变量隔离实例。
|
|
7
7
|
const env = { ...process.env, WORKBUDDY_USER_DATA_DIR: profileDirectory, WORKBUDDY_REMOTE_DEBUGGING_PORT: String(port) };
|
|
8
8
|
delete env.ELECTRON_RUN_AS_NODE;
|
|
9
|
-
return (0, node_child_process_1.spawn)(executable, args, { env, detached: true, stdio: "ignore", windowsHide: false });
|
|
9
|
+
return (0, node_child_process_1.spawn)(executable, [...args, "--lang=zh-CN", "--accept-lang=zh-CN,zh"], { env, detached: true, stdio: "ignore", windowsHide: false });
|
|
10
10
|
}
|
|
@@ -15,7 +15,7 @@ const session_history_1 = require("./session-history");
|
|
|
15
15
|
const desktop_launch_1 = require("../desktop-launch");
|
|
16
16
|
const desktop_launch_2 = require("./desktop-launch");
|
|
17
17
|
exports.workbuddyManifest = {
|
|
18
|
-
id: "workbuddy", version: "1.1.
|
|
18
|
+
id: "workbuddy", version: "1.1.17", displayName: "WorkBuddy", type: "agent",
|
|
19
19
|
entry: "dist/index.js", apiVersion: "1", process: "in-process",
|
|
20
20
|
capabilities: ["chat", "health"], configSchema: "config.schema.json",
|
|
21
21
|
};
|
|
Binary file
|