scubiry-glitch/dsh-plugin-feishu-chat
scubiry-glitch★ 1JavaScript最后同步: 2026-08-20
DSH Web 飞书对话查看器客户端插件:会话头部 💬 按钮展示与飞书 bot 的私聊记录(数据来自 OpenClaw 独立网关 agent 会话文件,同源路由)
README 摘要
dsh-plugin-feishu-chat 飞书对话查看器 — 一个给 DeepSeek Harness Web(dsh web)用的客户端插件: 在会话头部操作区增加一个 💬 飞书 按钮,点击弹出面板, 实时展示你与飞书 bot 的私聊记录 (每 5 秒自动刷新,按钮带消息数角标)。 它解决什么问题 当你的飞书 bot 由 独立的 OpenClaw 网关 ( openclaw gateway --profile dsh )服务时,你与 bot 的对话记录只存在于网关的 agent 会话文件里,Web GUI 看不到。这个插件把那些记录 镜像到 dsh web 页面 上: - 插件本体跑在 dsh web 里 (node 半身在 web 进程内注册 /feishu-chat.json 路由;浏览器半身渲染面板), 不依赖 OpenClaw 网关进程存活 ——只要会话文件在,历史记录就能看。 - 同源路由意味着:无论页面通过 127.0.0.1:3080 、局域网还是 Cloudflare 隧道访问,都不会有跨源/CSP 问题。 安装 方式一:一键脚本(本机安装) 方式二:手动 配置 项 位置 默认值 会话目录 SESS DIR lib/index.js 顶部常量 /root/.openclaw-dsh/agents/dsh/sessions 刷新间隔 lib/client.js 面板 5s / 角标 30s 展示条数 MAX MSGS lib/index.js 100 如果你的独立网关用了别的 profile 名,改 SESS DIR 即可。 故障排查 症状 原因 处理 插件按钮不出现 页面缓存了旧 bundle 强刷(Cmd/Ctrl+Shift+R);确认 window. DSH BOOT 里有插件 id 面板显示 Failed to fetch 用了跨源地址(如硬编码 127.0.0.1:18791 ) 必须用同源 /feishu-chat.json (本插件 node 半身提供) 启动崩溃 ERR PACKAGE PATH NOT EXPORTED package.json 的 exports 缺 . 入口 保留 ".": "./lib/index.js" (node 半身) 包被"凭空删除" 包放在了 npm/npx 缓存目录,被 GC 清理 放到 /root/.dsh/profiles/node modules/ (profile 自有目录) 按钮渲染为空 手写 bundle 把 children 传给 jsx() 当 key 用 react.createElement (children 即多余参数) 与 OpenClaw 网关模型配置的关系 面板 完全不受网关模型配置影响 :模型不可用时只是飞书 bot 不再产生新回复,历史对话照常展示;…
在 GitHub 查看完整 README →分类
🌊 The original agent meta-harness. Deploy intelligent multi-player swarms, coordinate autonomous workflows, and build conversational AI systems. Features adaptive memory, self-learning intelligence, RAG integration, and native Claude Code / Codex / Hermes and many more Integrated
★ 68,716
volcengine/OpenVikingSelf-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.
★ 31,761
titanwings/colleague-skill将冰冷的离别化为温暖的 Skill,欢迎加入数字生命1.0!Transforming cold farewells into warm skills? It's giving rebirth era. Welcome to Digital Life 1.0. 🫶
★ 23,757