Commit Graph
21 Commits
Author SHA1 Message Date
owo d7c74e88ba Merge origin/master into PR7 2026-09-15 21:38:50 +08:00
徐跃恒andGitHub 72e1d399a7 fix: make apiProxy injection optional
Resolves the optional apiProxy injection, keeps HTML as the compatibility default, synchronizes generated entrypoints, and adds a regression test.
2026-09-15 21:36:14 +08:00
RRRosmontis f3f6a3ebaf feat: admit photos and image documents into the bound session
Telegram 图片消息此前一律回复「暂只支持文本消息」。本改动:

- photo 取最大尺寸(TG 压成 jpeg),document 仅接受 image/png|jpeg|webp|gif
- caption 作为伴随文本块进入同一条消息(不解析为命令)
- 相册(同一 media_group_id)去抖 1.2s 合并为一条多图消息,避免 N 连回合
- 派发走宿主 sessions.prompt RPC(Web 端同通道):模型图像能力校验 +
  附件服务持久化 + mode queue 排队,与纯文本路径的 agent.followup 语义一致
- 错误映射:MODEL_DOES_NOT_SUPPORT_IMAGES → 提示换多模态模型;其余回退
  图片发送失败 + [code] 详情;下载失败即时提示
- 客户端新增 getFile/downloadFile(GET file 端点,复用代理感知 fetch)

tests +7(58/58):photo+caption、png document、pdf 拒绝、相册合并、
模型不支持、下载失败、未绑定。无 emoji 文案。
2026-09-05 17:51:21 +08:00
RRRosmontis d712fb3494 feat: /status 通用状态显示 + /compact 手动压缩;HTML 兼容渲染默认化
- /status:绑定会话/会话 ID/工作区/当前模型/思考强度/上下文长度/
  首 token 平均/输出速率/输入输出 tokens —— 与 Web 底部统计条同源
  同算法(sessionProjections: sessionStats/tokenUsage/contextPressure),
  投影插件缺失时逐组优雅降级;冷会话不强制 resume
- /compact:复用 ctx.compaction.compactNow 手动压缩绑定会话历史,
  异步执行不阻塞轮询,完成/失败均中文通知,同会话去重,
  桥停止/热重载自动中止进行中的压缩
- 全部用户可见文案不使用 emoji
- rendering 默认改 html(兼容优先)+ userQuestions/approval 双通道等
  既有修改一并合入(此前已上线确认)
- tests:+6 覆盖 /status 全字段与 /compact 各分支(51 全绿)
2026-09-05 17:24:41 +08:00
93f3bec975 feat: use Telegram native Rich Message for assistant replies
Co-authored-by: MuziIsabel <MuziIsabel@users.noreply.github.com>
2026-08-18 18:27:32 +08:00
owoandCursor fb5a334edb feat: /last and bind button for previous Q/A context (v0.3.4)
After attaching a session, show a button and /last command that load the latest human/assistant turn via session.history so phone users can continue with context.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 20:25:07 +08:00
owoandCursor 5dbe833205 fix: resolve apiProxy via ctx.get for /model (v0.3.2)
Cordis throws on ctx.apiProxy without inject; use ctx.get and declare apiProxy inject so catalog and model APIs work under dsh web.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 20:20:55 +08:00
owoandCursor f433cce24d fix: approve git installs with pnpm repo-level allowBuilds
pnpm 11 no longer accepts package-name-only allowBuilds for github: deps; write the stable git+https key and strip auto-placeholders so one-click install works.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 19:08:44 +08:00
owoandCursor ef0e7f34e3 feat: workspace→session picker and /model switch (v0.3.0)
Align Telegram session list with Web via apiProxy (exclude archived), resume cold sessions on bind, and allow model selection from the phone.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 18:46:56 +08:00
owoandCursor 9bae1a3702 docs: add hero flowchart as repository main image
Place the product flow diagram at the top of the README for GitHub preview.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 18:35:21 +08:00
owoandCursor 30d350b923 docs: add mobile and desktop sync screenshots
Show /sessions picker + same-trajectory reply on Telegram and DSH Web.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 18:18:22 +08:00
owoandCursor 4bd3832858 docs: add prerequisites and community discoverability section
Document dsh/Node/Telegram requirements (no Python) and the dsh-plugin topic listing path.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 18:06:04 +08:00
owoandCursor c71fc916f3 docs: note install.ps1 is irm|iex compatible
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 17:59:55 +08:00
owoandCursor 5da901711d fix: make irm|iex bootstrap download manage.ps1
Top-level param()/CmdletBinding breaks Invoke-Expression; install.ps1 is now a thin launcher.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 17:57:21 +08:00
owoandCursor 4ac16aa82f feat: turn installer into number menu with start/stop/status
Open install.ps1/sh to choose install, start dsh web in a new window, stop listeners, status, or open the browser.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 17:53:22 +08:00
owoandCursor f8501a92f8 docs: clarify install.ps1 must run in PowerShell, not CMD
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 17:47:53 +08:00
owoandCursor a83af2f33c Simplify install with one-click scripts; honor HTTP(S)_PROXY for Telegram.
Add install.ps1/install.sh, shrink README to script-first flow, register bot commands, and route API calls through undici EnvHttpProxyAgent when a proxy is set (v0.2.2).

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 17:46:01 +08:00
owoandCursor 8ef1622822 fix: ship prebuilt lib and drop prepare for one-click git install
Avoids pnpm allowBuilds block on dsh plugin add; README install steps expanded for first-time users.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 17:16:25 +08:00
owoandCursor c2c0db7597 feat: remote-control live DSH Web sessions from Telegram
Attach via /sessions picker instead of creating parallel agents; mirror the same session trajectory to phone and Web (Codex-style remote).

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 17:11:13 +08:00
owoandCursor dd72f134fb docs: bilingual README with discoverability keywords; fix install URLs for hi-wenw
Remove unpublished phrasing; document mobile/telegram/bot/remove/clear search terms.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 16:48:53 +08:00
owoandCursor 3a0e73a5bb docs: add open-box install guide and example patch
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-14 16:38:31 +08:00