dsh-capyreporter 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 CapyReporter contributors
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,60 @@
1
+ # 🐾 CapyReporter — the capybara that reports for you
2
+
3
+ **An always-on-top capybara task reporter for the DeepSeek Harness Web UI.**
4
+
5
+ CapyReporter is a tiny transparent window that floats above **every** app and tab of your desktop — not just inside the page — and quietly narrates what your deepseek harness agent is doing, one step at a time, so you can focus on your other work and never miss the moment a task finishes.
6
+
7
+ ## 🦫 What makes it special
8
+
9
+ - **Always on top, everywhere.** A true desktop overlay (transparent, frameless, click-through except on the capybara). Writes in Notepad, videos, games, other editors — she stays floating and readable. Companion to the in-page overlay for browsers without Electron.
10
+ - **Narrates the trajectory.** Every checkpoint of a run becomes a short bubble line: `🔧 tool calls`, `💭 writing…`, `🧭 steering`, `🚀 workflow phases`, `⚠️ errors & retries`. You watch the agent think, in real time.
11
+ - **Smart bubble that never gets in the way.**
12
+ - *Compact* — headline + latest status line.
13
+ - *Click to expand* — a scrollable history of the run's steps.
14
+ - *Double-click to dismiss* — she goes quiet until the next update.
15
+ - *Right-click → Restore bubble* — call the report back any time.
16
+ - **Project-aware.** The bubble names the **workspace/project** the run belongs to (the same name as the sidebar), so with several sessions running you always know who's reporting.
17
+ - **Completion alert while you're away.** `✅ Task complete — <project>` stays on the always-on-top window until you dismiss it — then one click on the capybara jumps you straight back into DeepSeek Harness. Optional desktop notification too.
18
+ - **Make her yours.** Upload any transparent PNG in **Settings → 🐾 CapyReporter** to change the character, and scroll the mouse wheel over her to resize. Settings also lets you enable/disable her and uninstall the plugin.
19
+ - **Persistent & local-first.** Preferences (image, size, position) live in `$DSH_HOME/capyreporter.json`; no cloud, no accounts, no telemetry.
20
+
21
+ ## 📦 Install
22
+
23
+ **Package Manager** — once listed: *Settings → Plugin Market → search "capy" → install → refresh the page*.
24
+
25
+ **CLI:**
26
+
27
+ ```sh
28
+ dsh plugin --profile web add dsh-capyreporter
29
+ ```
30
+
31
+ Restart `dsh web` (or just refresh the page). Requires DSH web 0.1.0-rc.6 or newer.
32
+
33
+ **Electron for the always-on-top window** (optional but recommended):
34
+
35
+ - If Electron is already at `%USERPROFILE%\.dsh\electron\electron.exe` (or any path in `DSH_PET_ELECTRON_PATH`), the desktop window just works.
36
+ - Without it, CapyReporter still runs **in-page** — a transparent floating capybara inside the DeepSeek Harness page with the same bubble features.
37
+
38
+ ## 🎛 Control summary
39
+
40
+ | Action | Result |
41
+ | --- | --- |
42
+ | Drag the capybara | Move her (window follows) |
43
+ | Mouse wheel over her | Resize |
44
+ | Single click the bubble | Expand / collapse the step log |
45
+ | Double-click the bubble | Dismiss until the next update |
46
+ | Left-click the capybara | Return to DeepSeek Harness |
47
+ | Right-click the capybara | Menu: Restore bubble · Open DSH · Hide desktop pet |
48
+
49
+ ## 🎨 Art & licensing
50
+
51
+ - Ships with the built-in capybara art. Replace it with your own transparent PNG in Settings.
52
+ - MIT license; the capybara artwork is intended to be replaced/replaceable by the user.
53
+
54
+ ## 🌍 Contributing & feedback
55
+
56
+ Issues and pull requests welcome. *This plugin is community code — install sources you trust.*
57
+
58
+ ---
59
+
60
+ Made with 🧡 for the DeepSeek Harness community.
package/README.zh.md ADDED
@@ -0,0 +1,60 @@
1
+ # 🐾 CapyReporter — 替你盯梢的水豚小报
2
+
3
+ **一个永远置顶的 「水豚小报」:为 DeepSeek Harness Web UI 实时播报任务进度的桌面宠物。**
4
+
5
+ CapyReporter 是一个小小的透明窗口,悬浮在**你桌面上的每一个应用与标签页之上**——不止于网页内部。它会在 agent 工作的每一个关键节点轻声播报,让你安心处理手头的事,绝不错过任务完成的瞬间。
6
+
7
+ ## 🦫 亮点
8
+
9
+ - **真正的全局置顶。** 透明、无边框、除水豚本体外点击穿透。用记事本、看视频、玩游戏、写代码——她就静静浮在那里,大小字都看得清。Windows 上由 Electron 桌面窗口实现,未安装 Electron 时自动回落到页面内悬浮。
10
+ - **播报运行轨迹。** 每到一个检查点,气泡就更新一行:`🔧 工具调用`、`💭 思考中…`、`🧭 调度/干预`、`🚀 工作流阶段`、`⚠️ 报错与重试`——实时看着你的 agent「思考」。
11
+ - **智能气泡,不挡视线。**
12
+ - *紧凑模式*:标题 + 最新状态一行。
13
+ - *单击展开*:滚动查看本次运行的步骤历史。
14
+ - *双击隐藏*:水豚安静下来,直到下一条更新。
15
+ - *右键 → 恢复气泡*:随时找回小报。
16
+ - **认得到项目的名字。** 气泡直接显示运行所属的**工作区/项目名**(与左侧边栏一致)。多会话并行时,你一眼就知道是谁在汇报。
17
+ - **离开时也不错过完成。** `✅ 任务完成 — <项目名>` 会一直留在置顶窗口上,点击水豚一键回到 DeepSeek Harness;还可选桌面通知。
18
+ - **完全可自定义。** 在 **设置 → 🐾 CapyReporter** 上传任意透明 PNG 换掉形象;在水豚身上滚动鼠标滚轮即可调整大小。设置里也能一键开启/关闭、卸载插件。
19
+ - **持久且本地优先。** 偏好(形象、大小、位置)存于 `$DSH_HOME/capyreporter.json`;无云、无账号、无遥测。
20
+
21
+ ## 📦 安装
22
+
23
+ **插件市场**(上架后):*设置 → 插件市场 → 搜索「capy」→ 安装 → 刷新页面*。
24
+
25
+ **命令行:**
26
+
27
+ ```sh
28
+ dsh plugin --profile web add dsh-capyreporter
29
+ ```
30
+
31
+ 然后重启 `dsh web`(或直接刷新页面)。需要 DSH web 0.1.0-rc.6 或更新版本。
32
+
33
+ **为置顶窗口准备的 Electron(可选,推荐):**
34
+
35
+ - 若 Electron 已存在于 `%USERPROFILE%\.dsh\electron\electron.exe`(或 `DSH_PET_ELECTRON_PATH` 指向的任意路径),桌面窗口开箱即用;
36
+ - 没有的话,CapyReporter 仍会在 **页面内** 工作——一个悬浮在 DeepSeek Harness 页面上的透明水豚,气泡功能一个不少。
37
+
38
+ ## 🎛 操作一览
39
+
40
+ | 操作 | 效果 |
41
+ | --- | --- |
42
+ | 拖动水豚 | 移动(窗口跟随) |
43
+ | 在水豚上滚轮 | 缩放 |
44
+ | 单击气泡 | 展开 / 收起步骤日志 |
45
+ | 双击气泡 | 隐藏,直到下一条更新 |
46
+ | 左键点击水豚 | 回到 DeepSeek Harness |
47
+ | 右键点击水豚 | 菜单:恢复气泡 · 打开 DSH · 隐藏桌面宠物 |
48
+
49
+ ## 🎨 美术与许可
50
+
51
+ - 内置默认水豚形象,可随时在设置中用你自己的透明 PNG 替换。
52
+ - MIT 许可;默认水豚形象刻意设计为「可替换」,换图无任何限制。
53
+
54
+ ## 🌍 贡献与反馈
55
+
56
+ 欢迎提 Issue 与 PR。*本插件为社区作品——请只安装你信任的来源。*
57
+
58
+ ---
59
+
60
+ 为 DeepSeek Harness 社区而作 🧡
Binary file
@@ -0,0 +1,6 @@
1
+ # dsh-capyreporter bundle patch — mounts the persistent CapyReporter desktop-pet plugin.
2
+ # The host half is lib/index.js (exported as a Cordis plugin); the package.json
3
+ # "dsh.client" declaration makes the browser half available at /plugins/dsh-capyreporter/client.js.
4
+ - insert:
5
+ - id: capyreporter
6
+ name: 'dsh-capyreporter'