deskbuddy 0.0.1
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/README.md +28 -0
- package/bin/deskbuddy.js +9 -0
- package/package.json +30 -0
package/README.md
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# DeskBuddy CLI
|
|
2
|
+
|
|
3
|
+
把 **Claude Code**、**Codex** 等 AI 编码智能体**每个会话窗口**的状态,实时同步到 DeskBuddy 桌面硬件屏幕。
|
|
4
|
+
|
|
5
|
+
多开会话时,你不用再挨个切窗口去看哪个在等你确认权限、哪个已经跑完了——抬头看一眼桌上的屏就知道。
|
|
6
|
+
|
|
7
|
+
> ⚠️ **当前是占位版本(0.0.1),功能开发中,尚不可用。**
|
|
8
|
+
|
|
9
|
+
## 它会怎么工作
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npx deskbuddy setup # 终端出二维码,用 DeskBuddy App 扫码授权
|
|
13
|
+
npx deskbuddy enable claude_code,codex # 装采集 hook
|
|
14
|
+
npx deskbuddy status # 看采集到了什么、上报了哪些字段
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
装完之后**没有任何常驻进程**——它只是往各智能体的 hook 配置里加了一条记录,由智能体自己在事件发生时调用。`deskbuddy disable` 可以干净移除。
|
|
18
|
+
|
|
19
|
+
## 设计要点
|
|
20
|
+
|
|
21
|
+
- **零常驻进程**:Claude Code 与 Codex 都走各自的原生 hook,不轮询、不装后台服务
|
|
22
|
+
- **不含任何密钥**:客户端不持有 appSecret,鉴权靠用户态 token
|
|
23
|
+
- **默认只传元数据**:工具名、状态、耗时、会话标题、项目目录名。**不传** prompt 原文、Bash 命令、文件完整路径、代码片段
|
|
24
|
+
- **不覆盖你已有的配置**:写 `settings.json` / `hooks.json` 时幂等合并,卸载时只摘掉自己那条
|
|
25
|
+
|
|
26
|
+
## 状态
|
|
27
|
+
|
|
28
|
+
开发中。正式版本发布后本文档会更新。
|
package/bin/deskbuddy.js
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "deskbuddy",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "把 Claude Code、Codex 等 AI 编码智能体每个会话窗口的状态,实时同步到桌面硬件屏幕",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"ai",
|
|
7
|
+
"agent",
|
|
8
|
+
"claude-code",
|
|
9
|
+
"codex",
|
|
10
|
+
"hooks",
|
|
11
|
+
"desktop",
|
|
12
|
+
"status"
|
|
13
|
+
],
|
|
14
|
+
"license": "UNLICENSED",
|
|
15
|
+
"type": "module",
|
|
16
|
+
"bin": {
|
|
17
|
+
"deskbuddy": "bin/deskbuddy.js"
|
|
18
|
+
},
|
|
19
|
+
"files": [
|
|
20
|
+
"bin",
|
|
21
|
+
"README.md"
|
|
22
|
+
],
|
|
23
|
+
"engines": {
|
|
24
|
+
"node": ">=18"
|
|
25
|
+
},
|
|
26
|
+
"repository": {
|
|
27
|
+
"type": "git",
|
|
28
|
+
"url": "git+https://codeup.aliyun.com/692ff191ccf3499544d9ee64/deskbuddy-cli.git"
|
|
29
|
+
}
|
|
30
|
+
}
|