DeepSHPlugins
dsh-onlyne 项目预览
GITHUB / COMMUNITY PROJECT

dsh-onlyne

工具与集成TypeScriptMIT

dsh-onlyne:通过 Onlyne(工作区本地 IM 通道守护进程)给 dsh Agent 一个真实的 IM 收件箱/发件箱——可从 Telegram、飞书/Lark、QQ 机器人、微信接收消息并发送回复,不把聊天平台伪装成终端或工作流引擎。

2 Starsdbydd 更新时间 2026-09-06
访问 GitHub 仓库
dsh-onlyne 项目预览

项目介绍

中文

dsh-onlyne:通过 Onlyne(工作区本地 IM 通道守护进程)给 dsh Agent 一个真实的 IM 收件箱/发件箱——可从 Telegram、飞书/Lark、QQ 机器人、微信接收消息并发送回复,不把聊天平台伪装成终端或工作流引擎。

English

dsh-onlyne: gives the dsh agent a real IM inbox/outbox via Onlyne (a workspace-local IM channel daemon) — receive from and reply to Telegram, Feishu/Lark, QQ bots and WeChat, without pretending the chat platform is a terminal or a workflow engine.

项目信息与收录信号

快照 2026-09-11
作者 / 组织
dbydd
仓库
dbydd/dsh-onlyne
GitHub Stars
2
Forks
1
开发语言
TypeScript
许可证
MIT
最近推送
2026-09-06
Manifest
未检测到 / 未记录

公开仓库不自动等于可商用;许可证与当前兼容性以原项目文档为准。Manifest 和数据评分不构成安装安全认证。

数据评分

62/ 100
维护活跃
97
文档与实用信息
85
生态关注度
23
安装便捷信号
80
项目声明信号
100

近 5 天仍在更新;README 含完整安装与使用说明;关注度尚低(2)。

评分来自已有数据快照的五维模型,仅作浏览参考,不是实际使用评测或安全检测结论。

安装与使用

所有项目资料与许可均以对应 GitHub 仓库为准。

git clone https://github.com/dbydd/dsh-onlyne.git

复制命令不会自动执行。请先阅读仓库文档,确认环境要求与许可证。

项目截图

仓库 README

GitHub 原文

已保存的仓库文档快照;文档抓取时间未记录,可能与上方目录介绍处于不同版本。安装前请核对当前仓库说明。

dsh-onlyne

English | 中文

Give DeepSeek Harness agents a real IM inbox/outbox through Onlyne.

dsh-onlyne is the DeepSeek Harness (dsh) plugin for Onlyne, the workspace-local IM channel daemon. It adds model-facing tools and a watch loop so a dsh agent can receive messages from IM channels (Telegram, Feishu/Lark, QQ Bot, WeChat) and send replies — without pretending a chat platform is a terminal or a workflow engine.

It is the dsh counterpart of pi-onlyne and shares the same per-project config file (.pi/onlyne.json), so one workspace can be bridged by either harness without reconfiguration.

Install

Onlyne is a single binary; see the Onlyne README to install and initialize a workspace:

onlyne init

Then install the plugin into a dsh profile and mount it:

dsh plugin --profile web add dsh-onlyne

Add a row to the profile's cordis.patch.yml ($DSH_HOME/profiles/<name>/cordis.patch.yml):

- insert:
    - id: onlyne
      name: dsh-onlyne

The plugin finds the workspace by walking up from the dsh process's invoking directory to the nearest .onlyne/.

Tools

onlyne_daemon_start()
onlyne_daemon_stop()
onlyne_daemon_restart()
onlyne_reply({ text })
onlyne_send({ channelId, text, rawText? })
onlyne_broadcast({ targets, text, rawText? })
onlyne_loopback({ text, rawText? })
onlyne_mark_no_reply({ reason? })

Send one message

onlyne_send({
  channelId: "telegram",
  text: "# Build report\n\nAll checks passed."
})

Set rawText: true to send literal text instead of Markdown.

Broadcast

onlyne_broadcast({
  targets: [{ channelId: "telegram" }, { channelId: "feishu" }],
  text: "# Release shipped"
})

Loopback wake-up

From any local script, inject an inbound message into the running daemon:

onlyne client '{"id":"wake","op":"loopback","text":"background job finished","raw_text":true}'

Channel loopback is wake-up-only: it surfaces a follow-up in the session but does not expect onlyne_reply.

Command

/onlyne status
/onlyne watch on
/onlyne watch off
/onlyne daemon start
/onlyne daemon stop
/onlyne daemon restart
/onlyne config auto-start

watch on subscribes to the daemon's event stream; inbound messages are surfaced into the current dsh session as user follow-ups, and the agent replies with onlyne_reply or acknowledges with onlyne_mark_no_reply. Control messages such as /handshake are consumed silently. config auto-start toggles watching automatically at session start.

Config

Shared with pi-onlyne at .pi/onlyne.json:

{
  "watch": { "autoStart": false },
  "inbound": {
    "defaultMode": "auto-handle",
    "rules": [{ "channel": "telegram", "mode": "queue-only" }]
  },
  "outbound": {
    "defaultReplyMode": "guarded-explicit",
    "retry": { "attempts": 2, "concurrency": 8 }
  }
}

Development

npm install
npm run check     # build + tests
npm pack          # build the publishable tarball

Links

  • Onlyne main repository: https://github.com/dbydd/onlyne
  • dsh-onlyne package: https://www.npmjs.com/package/dsh-onlyne

使用前核对

安装步骤、兼容版本与授权范围以原项目当前文档为准。Stars 和评分是快照中的导航信号。

安装与排错 · 项目问题反馈

同类项目