refactor: unify message ingress forwarding

This commit is contained in:
jxxghp
2026-08-24 03:01:17 +08:00
parent e274672a6a
commit e1230c0277
16 changed files with 463 additions and 127 deletions
+29 -3
View File
@@ -13,8 +13,8 @@
"runtime_to_db": [],
"workflow_to_db": []
},
"edge_count": 6503,
"edge_sha256": "57c326a81dbba07909871a97df1c73416850205c3d385a15afe3a07e3e44c00c",
"edge_count": 6528,
"edge_sha256": "2e30c775e78f578d804f69972ab1348e1e9d0872b00bdbfcffad08398fae68ac",
"edges": [
"app -> app.runtime",
"app -> app.runtime.compat",
@@ -2605,6 +2605,12 @@
"app.application.messaging.chat -> app.schemas",
"app.application.messaging.chat -> app.schemas.agent",
"app.application.messaging.chat -> app.schemas.exception",
"app.application.messaging.ingress -> app.adapters",
"app.application.messaging.ingress -> app.adapters.network",
"app.application.messaging.ingress -> app.adapters.network.http",
"app.application.messaging.ingress -> app.runtime",
"app.application.messaging.ingress -> app.runtime.log",
"app.application.messaging.ingress -> app.runtime.settings",
"app.application.messaging.interaction -> app.schemas",
"app.application.messaging.interaction -> app.schemas.message",
"app.application.messaging.interaction -> app.schemas.notification",
@@ -4036,6 +4042,9 @@
"app.modules.discord -> app.schemas.message",
"app.modules.discord -> app.schemas.notification",
"app.modules.discord -> app.schemas.types",
"app.modules.discord.discord -> app.application",
"app.modules.discord.discord -> app.application.messaging",
"app.modules.discord.discord -> app.application.messaging.ingress",
"app.modules.discord.discord -> app.domain",
"app.modules.discord.discord -> app.domain.context",
"app.modules.discord.discord -> app.domain.metainfo",
@@ -4140,6 +4149,7 @@
"app.modules.feishu.feishu -> app.application",
"app.modules.feishu.feishu -> app.application.messaging",
"app.modules.feishu.feishu -> app.application.messaging.agent",
"app.modules.feishu.feishu -> app.application.messaging.ingress",
"app.modules.feishu.feishu -> app.application.security",
"app.modules.feishu.feishu -> app.application.security.user",
"app.modules.feishu.feishu -> app.domain",
@@ -4147,6 +4157,7 @@
"app.modules.feishu.feishu -> app.runtime",
"app.modules.feishu.feishu -> app.runtime.log",
"app.modules.feishu.feishu -> app.runtime.settings",
"app.modules.feishu.feishu -> app.runtime.thread",
"app.modules.feishu.feishu -> app.schemas",
"app.modules.feishu.feishu -> app.schemas.message",
"app.modules.feishu.feishu -> app.schemas.types",
@@ -4865,6 +4876,9 @@
"app.modules.qqbot.qqbot -> app.adapters",
"app.modules.qqbot.qqbot -> app.adapters.network",
"app.modules.qqbot.qqbot -> app.adapters.network.http",
"app.modules.qqbot.qqbot -> app.application",
"app.modules.qqbot.qqbot -> app.application.messaging",
"app.modules.qqbot.qqbot -> app.application.messaging.ingress",
"app.modules.qqbot.qqbot -> app.domain",
"app.modules.qqbot.qqbot -> app.domain.context",
"app.modules.qqbot.qqbot -> app.domain.metainfo",
@@ -4878,6 +4892,7 @@
"app.modules.qqbot.qqbot -> app.runtime.cache",
"app.modules.qqbot.qqbot -> app.runtime.log",
"app.modules.qqbot.qqbot -> app.runtime.settings",
"app.modules.qqbot.qqbot -> app.runtime.thread",
"app.modules.redis -> app.adapters",
"app.modules.redis -> app.adapters.cache",
"app.modules.redis -> app.adapters.cache.redis",
@@ -4922,6 +4937,9 @@
"app.modules.slack.slack -> app.adapters",
"app.modules.slack.slack -> app.adapters.network",
"app.modules.slack.slack -> app.adapters.network.http",
"app.modules.slack.slack -> app.application",
"app.modules.slack.slack -> app.application.messaging",
"app.modules.slack.slack -> app.application.messaging.ingress",
"app.modules.slack.slack -> app.domain",
"app.modules.slack.slack -> app.domain.context",
"app.modules.slack.slack -> app.domain.metainfo",
@@ -4993,6 +5011,8 @@
"app.modules.telegram.telegram -> app.adapters.network.http",
"app.modules.telegram.telegram -> app.application",
"app.modules.telegram.telegram -> app.application.image",
"app.modules.telegram.telegram -> app.application.messaging",
"app.modules.telegram.telegram -> app.application.messaging.ingress",
"app.modules.telegram.telegram -> app.domain",
"app.modules.telegram.telegram -> app.domain.context",
"app.modules.telegram.telegram -> app.domain.metainfo",
@@ -5395,6 +5415,7 @@
"app.modules.wechat.wechatbot -> app.application",
"app.modules.wechat.wechatbot -> app.application.messaging",
"app.modules.wechat.wechatbot -> app.application.messaging.agent",
"app.modules.wechat.wechatbot -> app.application.messaging.ingress",
"app.modules.wechat.wechatbot -> app.domain",
"app.modules.wechat.wechatbot -> app.domain.context",
"app.modules.wechat.wechatbot -> app.domain.metainfo",
@@ -5404,6 +5425,7 @@
"app.modules.wechat.wechatbot -> app.runtime.cache",
"app.modules.wechat.wechatbot -> app.runtime.log",
"app.modules.wechat.wechatbot -> app.runtime.settings",
"app.modules.wechat.wechatbot -> app.runtime.thread",
"app.modules.wechat.wechatbot -> app.schemas",
"app.modules.wechat.wechatbot -> app.schemas.message",
"app.modules.wechat.wechatbot -> app.schemas.types",
@@ -5424,6 +5446,9 @@
"app.modules.wechatclawbot.wechatclawbot -> app.adapters",
"app.modules.wechatclawbot.wechatclawbot -> app.adapters.network",
"app.modules.wechatclawbot.wechatclawbot -> app.adapters.network.http",
"app.modules.wechatclawbot.wechatclawbot -> app.application",
"app.modules.wechatclawbot.wechatclawbot -> app.application.messaging",
"app.modules.wechatclawbot.wechatclawbot -> app.application.messaging.ingress",
"app.modules.wechatclawbot.wechatclawbot -> app.domain",
"app.modules.wechatclawbot.wechatclawbot -> app.domain.context",
"app.modules.wechatclawbot.wechatclawbot -> app.domain.metainfo",
@@ -6520,7 +6545,7 @@
"app.workflow.actions.transfer_file -> app.workflow",
"app.workflow.actions.transfer_file -> app.workflow.actions"
],
"module_count": 805,
"module_count": 806,
"modules": [
"app",
"app.adapters",
@@ -6791,6 +6816,7 @@
"app.application.messaging",
"app.application.messaging.agent",
"app.application.messaging.chat",
"app.application.messaging.ingress",
"app.application.messaging.interaction",
"app.application.messaging.media",
"app.application.messaging.message",