Add smart ACK provider for WeChat MP replies

Replace fixed ackText with a rule-based AckProvider that picks
response templates by message type and intent (translate, summary,
rewrite, poster, ppt, mindmap, code, search, schedule). Pure sync,
zero I/O, auto-falls back to config.ackText on any error.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
john
2026-06-26 15:19:03 +08:00
parent 9ed4fd48d7
commit 9b4a25799f
162 changed files with 17276 additions and 2054 deletions
+16 -7
View File
@@ -30,13 +30,22 @@ export function OpsLayout() {
</NavLink>
))}
{user?.role === 'admin' ? (
<NavLink
to="/admin"
className={({ isActive }) => (isActive ? 'active' : undefined)}
style={{ marginLeft: 'auto', opacity: 0.75 }}
>
</NavLink>
<>
<NavLink
to="/admin/wechat"
className={({ isActive }) => (isActive ? 'active' : undefined)}
style={{ marginLeft: 'auto' }}
>
</NavLink>
<NavLink
to="/admin"
className={({ isActive }) => (isActive ? 'active' : undefined)}
style={{ opacity: 0.75 }}
>
</NavLink>
</>
) : null}
</nav>
<Outlet />