LeoYeAI/agent-master-skills / skills/agent-comm-hub
agent-comm-hub
Flagged多智能体协同通信基础设施——基于 MCP+SSE 的实时消息、任务调度、记忆共享与进化引擎。支持 WorkBuddy、Hermes、QClaw 及任意 MCP 兼容 Agent 接入。53 个 MCP 工具、4 级权限、零外部依赖 Python SDK。触发词:agent通信、智能体通信、hub通信、多智能体、跨agent通信、任务调度、assign_task、send_message、hermes通信、workbuddy通信、agent hub、通信hub、mcp通信、记忆共享、进化引擎、策略共享、经验分享、共享记忆,共同进化
vitest.config.ts
View on GitHubimport { defineConfig } from "vitest/config";
import path from "path";
export default defineConfig({
test: {
globals: true,
environment: "node",
include: ["tests/unit/**/*.test.ts"],
// 让 vitest 直接 transform TS 源码(不依赖预编译的 .js)
// 这样 v8 coverage 能正确映射到 .ts 文件
transformMode: {
web: ["js", "ts"],
ssr: ["js", "ts"],
},
deps: {
inline: ["better-sqlite3"], // native module,不做 transform
},
coverage: {
provider: "v8",
reporter: ["text", "lcov"],
// 覆盖编译后的 .js 文件,通过 source map 映射回 .ts
include: ["src/**/*.js"],
exclude: [
"src/**/*.d.ts",
"src/**/*.d.ts.map",
"src/tools/**/*.js", // tools/ 是 MCP handler 包装层,逻辑在核心模块
"src/server.js",
"src/stdio.js",
],
thresholds: {
// 核心模块分支覆盖率门禁(映射到 .ts 文件名)
"src/security.ts": { branches: 70, functions: 70 },
"src/dedup.ts": { branches: 60, functions: 70 },
"src/utils.ts": { branches: 70, functions: 100 },
},
},
},
resolve: {
alias: {
"@": path.resolve(__dirname, "src"),
},
},
});
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 472k | Updated | Claude CodeCodex | Unverified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |