dsh-inbox-bridge 2.16.0 → 2.16.2
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/CHANGELOG.md +8 -0
- package/README.en.md +14 -5
- package/README.md +14 -5
- package/docs/DETAIL.md +1 -1
- package/docs/DETAIL.zh.md +1 -1
- package/docs/configuration.md +1 -1
- package/docs/how-it-works.md +7 -7
- package/docs/index.json +3 -3
- package/index.js +19 -1
- package/locale/en.json +1 -1
- package/locale/zh.json +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,11 @@
|
|
|
1
|
+
## 2.16.2
|
|
2
|
+
|
|
3
|
+
- 补上主动唤醒缺的最后一环:此前空闲时不轮询,而空闲正是唤醒的唯一时机,于是这个模式几乎永远等不到机会。现在 wakeup 下空闲也按 intervalMs 取数,quiet 仍然不读——白付的钱只付给能开轮的模式。
|
|
4
|
+
- 唤醒的路由补了端到端测试:事件带着仓库,只有工作区指向该仓库的会话会被唤醒,其它会话连通知都收不到。
|
|
5
|
+
- 通知与文档按模式分别说明「空闲时是否访问来源」,README 安装一节补上 npm 路线。
|
|
6
|
+
## 2.16.1
|
|
7
|
+
|
|
8
|
+
- 发布到 npm(pm i dsh-inbox-bridge),README 加 npm 徽章。
|
|
1
9
|
## 2.16.0
|
|
2
10
|
|
|
3
11
|
- 回合进行中的轮询间隔默认值从 10 分钟改为 1 分钟:CI 跑完一两分钟内就能进上下文,赶在 agent 还没走远时返工。仍只在回合内轮询,空闲不发请求;需要更快可以改 intervalMs(下限 5 秒)。
|
package/README.en.md
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
# GitHub inbox
|
|
2
2
|
|
|
3
3
|
[](https://github.com/c3115644151/dsh-inbox-bridge/actions/workflows/ci.yml)
|
|
4
|
+
[](https://www.npmjs.com/package/dsh-inbox-bridge)
|
|
4
5
|
[](LICENSE)
|
|
5
6
|
[](https://c3115644151.github.io/dsh-inbox-bridge/index.json)
|
|
6
7
|
|
|
7
8
|
English | [中文](README.md)
|
|
8
9
|
|
|
9
|
-
`dsh-inbox-bridge` is a DSH plugin. For each session it looks at the GitHub repositories that session subscribes to, collects the events that concern you (failed checks, review requests, issues assigned to you, comments mentioning you), and
|
|
10
|
+
`dsh-inbox-bridge` is a DSH plugin. For each session it looks at the GitHub repositories that session subscribes to, collects the events that concern you (failed checks, review requests, issues assigned to you, comments mentioning you), and hands them over at the next turn boundary. When the session is idle and the fact matters, it opens a turn itself so the agent fixes the check, reviews the pull request, or takes the issue. It reads only and never acts on your behalf.
|
|
10
11
|
|
|
11
12
|
<p align="center">
|
|
12
13
|
<img src="https://c3115644151.github.io/dsh-inbox-bridge/assets/panel.png" width="300" alt="The chip in the status row and the panel it opens">
|
|
@@ -18,14 +19,14 @@ When an agent writes the code, the repository does not move in step with the con
|
|
|
18
19
|
|
|
19
20
|
This plugin hands that loop to the agent: once per turn it reads the repository and puts the facts that need action into the context — a failing check gets fixed, a review request gets reviewed, an assigned issue gets taken. Product work and repository upkeep stop interrupting each other, and the agent keeps the repository in shape the way a maintainer does instead of waiting for you to check.
|
|
20
21
|
|
|
21
|
-
That is also why it only reads: its job is to make the agent aware. The work happens in
|
|
22
|
+
That is also why it only reads: its job is to make the agent aware. The work happens in the agent's own turn — the one you are in, or the one it was given — not in the background behind your back.
|
|
22
23
|
|
|
23
24
|
## What it does
|
|
24
25
|
|
|
25
26
|
- **Relevance comes from your identity.** It queries the repositories as your `gh` login (or a configured App identity) and keeps only events where you are the author, the reviewer, the assignee, or are mentioned. Failed checks on someone else's PR, and unrelated repositories, never enter the queue.
|
|
26
27
|
- **It reads repositories, not the notification inbox.** GitHub's notification inbox pushes per account and cannot tell one session or repository from another; querying repository state directly keeps two repositories on the same account apart.
|
|
27
|
-
- **Polling follows turns.** Once when a session starts, every minute while a turn runs, once when it ends
|
|
28
|
-
- **It
|
|
28
|
+
- **Polling follows turns.** Once when a session starts, every minute while a turn runs, once when it ends; an idle session makes no request. Only with `delivery: wakeup` does it also read on that interval while idle — without that it could never wake you while you are away.
|
|
29
|
+
- **It goes into the context, and opens a turn only when it has to.** By default a notice arrives at the next safe injection point and does not interrupt the tool loop; with `delivery: wakeup` it opens a turn only for a listed `wakeOn` role, with the session idle for 15 minutes, at most 3 times in a row per session, and at most 2 times an hour — anything else keeps queueing. A notice is marked `delivered`, and unhandled events come back once after six hours.
|
|
29
30
|
|
|
30
31
|
## What you will see
|
|
31
32
|
|
|
@@ -68,6 +69,14 @@ git clone https://github.com/c3115644151/dsh-inbox-bridge
|
|
|
68
69
|
dsh plugin add ./dsh-inbox-bridge
|
|
69
70
|
```
|
|
70
71
|
|
|
72
|
+
**From npm** (all the profile needs is a working pnpm):
|
|
73
|
+
|
|
74
|
+
```powershell
|
|
75
|
+
dsh plugin add dsh-inbox-bridge
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
All three routes install the same package; versions live on [npm](https://www.npmjs.com/package/dsh-inbox-bridge).
|
|
79
|
+
|
|
71
80
|
Then give it a working directory (`cwd`) in the plugin configuration. The repository and the identity are read from that directory's `git remote` and from `gh`; nothing else needs filling in.
|
|
72
81
|
|
|
73
82
|
## Configuration
|
|
@@ -88,7 +97,7 @@ Full configuration, CLI and state files: [configuration](docs/configuration.md).
|
|
|
88
97
|
## Boundaries
|
|
89
98
|
|
|
90
99
|
- **Read-only.** It does not merge, comment, or change anything.
|
|
91
|
-
- **No turn by default.** Only `delivery: wakeup` with a matching `wakeOn` role may start one.
|
|
100
|
+
- **No turn by default.** Only `delivery: wakeup` with a matching `wakeOn` role, enough idle time, and room in both budgets may start one; any gate that fails falls back to queueing.
|
|
92
101
|
- **Done archiving needs one browser sign-in.** GitHub has no archive API; `scripts/clear-inbox.mjs` drives a local Chromium-based browser (Edge, Chrome or Chromium) and needs a single `--login`.
|
|
93
102
|
- **State is local.** It lives under `.work/` in the working directory and is not synced across machines.
|
|
94
103
|
|
package/README.md
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
# GitHub inbox
|
|
2
2
|
|
|
3
3
|
[](https://github.com/c3115644151/dsh-inbox-bridge/actions/workflows/ci.yml)
|
|
4
|
+
[](https://www.npmjs.com/package/dsh-inbox-bridge)
|
|
4
5
|
[](LICENSE)
|
|
5
6
|
[](https://c3115644151.github.io/dsh-inbox-bridge/index.json)
|
|
6
7
|
|
|
7
8
|
[English](README.en.md) | 中文
|
|
8
9
|
|
|
9
|
-
`dsh-inbox-bridge` 是一个 DSH 插件。它按会话订阅的 GitHub 仓库,收集与你相关、需要你处理的事件(失败的 CI、待你评审的 PR、指派给你的 issue
|
|
10
|
+
`dsh-inbox-bridge` 是一个 DSH 插件。它按会话订阅的 GitHub 仓库,收集与你相关、需要你处理的事件(失败的 CI、待你评审的 PR、指派给你的 issue、@你的评论),汇总成一条消息,在回合边界送进上下文;会话空闲又遇到要紧的事,它也能主动开一轮,让 agent 自己去修、去审、去接。它只读 GitHub,不代替你操作。
|
|
10
11
|
|
|
11
12
|
<p align="center">
|
|
12
13
|
<img src="https://c3115644151.github.io/dsh-inbox-bridge/assets/panel.png" width="300" alt="状态行里的胶囊与悬停展开的面板">
|
|
@@ -18,14 +19,14 @@
|
|
|
18
19
|
|
|
19
20
|
它的意图是把这件事交给 agent:每轮取一次数,把「需要你动手」的事实带进上下文——CI 挂了就修,有人请你评审就审,指派给你的 issue 就接。开发本身和仓库维护不再互相打断,agent 像维护者一样把仓库维持在健康状态,而不是等你回来看。
|
|
20
21
|
|
|
21
|
-
这也是它只读的原因:它负责让 agent 知道该做什么;动手的是 agent
|
|
22
|
+
这也是它只读的原因:它负责让 agent 知道该做什么;动手的是 agent 自己那一轮——可能是你正在开的,也可能是它替你开的——而不是在后台背着你改仓库。
|
|
22
23
|
|
|
23
24
|
## 它做什么
|
|
24
25
|
|
|
25
26
|
- **按身份判断相关性。** 用 `gh` 的登录身份(或配置的 App 身份)查询仓库,只保留以你为作者、评审人、指派对象或提及对象的事件;其他 PR 的检查失败、无关仓库的变动不会进入队列。
|
|
26
27
|
- **只看仓库,不看通知箱。** GitHub 的通知箱(`/notifications`)按账号推送,无法区分是哪个会话、哪个仓库;这里直接查仓库状态,因此同一个账号下的两个仓库互不干扰。
|
|
27
|
-
- **轮询跟随回合。** 会话开始时一次、进行中每 1
|
|
28
|
-
-
|
|
28
|
+
- **轮询跟随回合。** 会话开始时一次、进行中每 1 分钟一次、结束时一次,空闲会话不发请求;开启 `delivery: wakeup` 后空闲时也按同一间隔读一次,否则它没机会在你不在时叫醒你。
|
|
29
|
+
- **送进上下文,必要时才开一轮。** 默认只在这一轮的下一次安全注入点进入会话,不打断工具循环;开启 `delivery: wakeup` 后,只有命中 `wakeOn` 的角色、会话空闲满 15 分钟、每会话连续不超过 3 次、每小时不超过 2 次时才主动开一轮,其余情况仍然排队。送达后标为 `delivered`,未处理的 6 小时后重新提醒一次。
|
|
29
30
|
|
|
30
31
|
## 你会看到什么
|
|
31
32
|
|
|
@@ -68,6 +69,14 @@ git clone https://github.com/c3115644151/dsh-inbox-bridge
|
|
|
68
69
|
dsh plugin add ./dsh-inbox-bridge
|
|
69
70
|
```
|
|
70
71
|
|
|
72
|
+
**从 npm**(profile 里能跑 pnpm 即可):
|
|
73
|
+
|
|
74
|
+
```powershell
|
|
75
|
+
dsh plugin add dsh-inbox-bridge
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
三条路装的是同一个包,版本见 [npm](https://www.npmjs.com/package/dsh-inbox-bridge)。
|
|
79
|
+
|
|
71
80
|
安装后在插件配置里指定工作目录 `cwd`。仓库名与身份都从该目录的 `git remote` 与 `gh` 读取,不需要另外填写。
|
|
72
81
|
|
|
73
82
|
## 配置
|
|
@@ -88,7 +97,7 @@ dsh plugin add ./dsh-inbox-bridge
|
|
|
88
97
|
## 边界
|
|
89
98
|
|
|
90
99
|
- **只读。** 不合并、不评论、不修改仓库。
|
|
91
|
-
- **默认不主动开启对话。** 只有显式设置 `delivery: wakeup` 且命中 `wakeOn
|
|
100
|
+
- **默认不主动开启对话。** 只有显式设置 `delivery: wakeup` 且命中 `wakeOn`、会话足够空闲、两个预算都还有余额时才会;任何一道门不过,就退回只排队。
|
|
92
101
|
- **Done 归档依赖一次浏览器登录。** GitHub 没有归档 API,`scripts/clear-inbox.mjs` 通过本机浏览器(Edge / Chrome / Chromium)完成,需要执行一次 `--login`。
|
|
93
102
|
- **状态在本机。** 存放在工作目录的 `.work/` 下,不跨机器同步。
|
|
94
103
|
|
package/docs/DETAIL.md
CHANGED
|
@@ -39,6 +39,6 @@ Then give it a working directory (`cwd`); the repository and the identity come f
|
|
|
39
39
|
## Boundaries
|
|
40
40
|
|
|
41
41
|
- Read-only: no merging, commenting or changing repositories.
|
|
42
|
-
- No turn by default; only `delivery: wakeup` with a matching `wakeOn` role may start one.
|
|
42
|
+
- No turn by default; only `delivery: wakeup` with a matching `wakeOn` role, enough idle time, and room in both budgets may start one; any gate that fails falls back to queueing.
|
|
43
43
|
- Archiving to Done needs one browser sign-in (GitHub has no archive API).
|
|
44
44
|
- State is local, under `<cwd>/.work/`, and is not synced across machines.
|
package/docs/DETAIL.zh.md
CHANGED
|
@@ -39,6 +39,6 @@ dsh plugin add ./dsh-inbox-bridge
|
|
|
39
39
|
## 边界
|
|
40
40
|
|
|
41
41
|
- 只读:不合并、不评论、不修改仓库。
|
|
42
|
-
- 默认不主动开启对话;只有 `delivery: wakeup`
|
|
42
|
+
- 默认不主动开启对话;只有 `delivery: wakeup` 命中 `wakeOn`、会话足够空闲、两个预算都还有余额时才会,任何一道门不过就退回只排队。
|
|
43
43
|
- 归档到 Done 依赖一次浏览器登录(GitHub 没有归档 API)。
|
|
44
44
|
- 状态保存在本机 `<cwd>/.work/` 下,不跨机器同步。
|
package/docs/configuration.md
CHANGED
|
@@ -41,7 +41,7 @@ DSH 的插件配置里,一个 `dsh-inbox-bridge` 条目即可;等价写法
|
|
|
41
41
|
| `cwd` | DSH 进程工作目录 | 状态文件放在哪个工作区的 `.work/`;也是推断仓库的起点 |
|
|
42
42
|
| `repo` | 从 `origin` 推断 | 只盯这一个 `owner/name`;`INBOX_REPO` 环境变量可覆盖 |
|
|
43
43
|
| `repos` | `[]` | 盯一组仓库:`["owner/one", "owner/two"]`;非空时优先于 `repo`,状态按仓库分片 |
|
|
44
|
-
| `intervalMs` | `60000`(1 分钟) |
|
|
44
|
+
| `intervalMs` | `60000`(1 分钟) | **回合进行中**的轮询间隔;`wakeup` 下空闲时也按它取数,`quiet` 下空闲不轮询。CI 需要更快的返工就调小它(下限 5000),代价是每次轮询三个 `gh` 只读请求 |
|
|
45
45
|
| `timeoutMs` | `45000` | 单次轮询命令的超时 |
|
|
46
46
|
| `maxEvents` | `6` | 一条通知里最多列几条,其余指向 `list` |
|
|
47
47
|
| `ackHint` | `node "<插件路径>/scripts/inbox-bridge.mjs" ack --done -- <key>` | 通知里让 agent 执行的那句命令 |
|
package/docs/how-it-works.md
CHANGED
|
@@ -21,7 +21,7 @@ DSH 插件 (index.js) 调度与投递:什么时候去取、取回来给
|
|
|
21
21
|
- **回合开始**:用户发了消息 → 去看一次,有新的就在这一轮开头注入;
|
|
22
22
|
- **回合进行中**:每 `intervalMs`(默认 1 分钟)一次——CI 跑完一两分钟内就能进上下文,赶在 agent 还没走远时返工;
|
|
23
23
|
- **回合结束**:再看一次,把这一轮里发生的事补齐;
|
|
24
|
-
-
|
|
24
|
+
- **空闲**:`quiet` 下不轮询、不留定时器、不发请求;`wakeup` 下按同一间隔定期读一次——不能开轮的模式本就不该在空闲时访问来源,而能开轮的模式若空闲不读,就永远没机会叫醒你。
|
|
25
25
|
|
|
26
26
|
开始与结束各一次是刻意的:只在开始时取,长任务会错过中途的变化;只在结束时取,你在任务开头就看不到已经红了的东西。
|
|
27
27
|
|
|
@@ -32,11 +32,11 @@ DSH 插件 (index.js) 调度与投递:什么时候去取、取回来给
|
|
|
32
32
|
3. 给每个事件一个 key(`owner/name#pr:23:reviewer:review-requested` 这样),同一件事在多次轮询里是同一个 key。
|
|
33
33
|
4. 队列里已有记录的 key 不重复投递;已经投出去但没有人收口的,6 小时后重提**一次**,再之后就当作已经说过了。
|
|
34
34
|
5. 上一次轮询能报出、这一次报不出的 key,说明这条事实已经不再成立(检查变绿、PR 合了、issue 关了),直接收口——队列里只留「此刻仍然成立」的事。
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
35
|
+
6. 按会话分组:会话自己的仓库 + 自己的角色都匹配,才进它那份。
|
|
36
|
+
7. 投递:`quiet` 时注入给空闲的会话、等它下一轮;`wakeup` 时先过四道门。
|
|
37
|
+
8. 只把**真正投出去**的 key 标 delivered。没投出去的下次还有机会,不会被误标。
|
|
38
|
+
9. 把这些线程标为已读(`clear`,默认只清订阅的仓库;整个账号不在范围内)。GitHub 没有「完成」的公开接口,所以清掉的是未读角标,收件箱里的历史还在——在你自己的界面上一切照旧可查。
|
|
39
|
+
10. 如果配了 `sweep`,在**这一轮真的抓到东西**时顺手把它们归档进 Done(`scripts/clear-inbox.mjs` 用一次浏览器完成,约 3–5 秒)。没抓到就什么也不做,空回合不花这笔钱。
|
|
40
40
|
|
|
41
41
|
## 页面怎么读这份状态
|
|
42
42
|
|
|
@@ -82,7 +82,7 @@ DSH 插件 (index.js) 调度与投递:什么时候去取、取回来给
|
|
|
82
82
|
`delivery: quiet` 时插件永远不替你开一轮,只排队。改成 `wakeup` 后,要同时满足四道门才会开一轮:
|
|
83
83
|
|
|
84
84
|
1. `wakeOn` 列了这个角色(默认空 = 永不);
|
|
85
|
-
2. 会话已经静默 `wakeAfterIdleMs`(默认 15
|
|
85
|
+
2. 会话已经静默 `wakeAfterIdleMs`(默认 15 分钟)——所以这个模式在空闲时也按 `intervalMs` 取数,否则永远等不到这一刻;
|
|
86
86
|
3. 这个会话自你上次发言起被唤醒不足 `maxConsecutiveWakes` 次;
|
|
87
87
|
4. 滚动一小时内总唤醒数没超过 `wakesPerHour`(默认 2)。
|
|
88
88
|
|
package/docs/index.json
CHANGED
|
@@ -50,12 +50,12 @@
|
|
|
50
50
|
},
|
|
51
51
|
"versions": [
|
|
52
52
|
{
|
|
53
|
-
"version": "2.16.
|
|
54
|
-
"publishTimestamp":
|
|
53
|
+
"version": "2.16.1",
|
|
54
|
+
"publishTimestamp": 1794906035,
|
|
55
55
|
"source": {
|
|
56
56
|
"type": "git",
|
|
57
57
|
"url": "https://github.com/c3115644151/dsh-inbox-bridge",
|
|
58
|
-
"commit": "
|
|
58
|
+
"commit": "a5e99037e4c8dae6c79033397b8a1092c0a6d43b"
|
|
59
59
|
},
|
|
60
60
|
"engines": {
|
|
61
61
|
"dsh": ">=0.1.0"
|
package/index.js
CHANGED
|
@@ -653,6 +653,19 @@ export function apply(ctx, config) {
|
|
|
653
653
|
log(`adopted ${adopted.length} live agent(s), ${midTurn.length} mid-turn`);
|
|
654
654
|
}
|
|
655
655
|
|
|
656
|
+
// A wakeup is the one reason to read the source while nothing is happening.
|
|
657
|
+
// Without this, no poll would ever run after a session went idle — the only
|
|
658
|
+
// timer follows a turn — so the mode could not fire while you were away. In
|
|
659
|
+
// quiet mode an idle session still costs nothing, which is the point of that
|
|
660
|
+
// mode; the read is paid for only when the plugin is allowed to open a turn.
|
|
661
|
+
const watchesWhileIdle = options.delivery === "wakeup" && options.wakeOn.length > 0 && options.wakesPerHour > 0;
|
|
662
|
+
if (watchesWhileIdle) {
|
|
663
|
+
const heartbeat = setInterval(() => void poll(), options.intervalMs);
|
|
664
|
+
heartbeat.unref?.();
|
|
665
|
+
ctx.effect(() => () => clearInterval(heartbeat));
|
|
666
|
+
log(`watching while idle: poll every ${pollLabel(options.intervalMs)} so a wakeup can happen`);
|
|
667
|
+
}
|
|
668
|
+
|
|
656
669
|
ctx.effect(() => () => {
|
|
657
670
|
for (const key of [...turnTimers.keys()]) stopTurn(key);
|
|
658
671
|
agents.clear();
|
|
@@ -1212,6 +1225,11 @@ export function formatEvents(events, options = DEFAULTS) {
|
|
|
1212
1225
|
const lines = events.slice(0, maxEvents).map((event) => `- ${describeEvent(event)}`);
|
|
1213
1226
|
if (events.length > maxEvents)
|
|
1214
1227
|
lines.push(`- 其余 ${events.length - maxEvents} 条见 \`node "${CLI}" list\``);
|
|
1228
|
+
// Only the mode that is allowed to open a turn pays for reading while idle.
|
|
1229
|
+
const idleRead =
|
|
1230
|
+
delivery === "wakeup" && (options.wakeOn ?? DEFAULTS.wakeOn).length > 0
|
|
1231
|
+
? "空闲时也按同一间隔读一次,否则无法在你不在时叫醒你。"
|
|
1232
|
+
: "空闲时不访问来源。";
|
|
1215
1233
|
const identity = options.identity ?? DEFAULTS.identity;
|
|
1216
1234
|
const who =
|
|
1217
1235
|
identity.kind === "app" ? `App ${identity.login ?? ""}`.trim() : (identity.login ?? "本机 gh");
|
|
@@ -1223,7 +1241,7 @@ export function formatEvents(events, options = DEFAULTS) {
|
|
|
1223
1241
|
...(ackHint.startsWith("npm ") ? ["(`--done` 放在 `--` 之后,否则被 npm 吞掉,只标 delivered)"] : []),
|
|
1224
1242
|
`只标 delivered 的事件会在 ${resurfaceHours} 小时后再次提醒;\`kind: infra\` 的基础设施失败只提醒一次。`,
|
|
1225
1243
|
wakeNotice(options, delivery),
|
|
1226
|
-
`只在回合边界轮询:回合开始一次、进行中每 ${intervalLabel}
|
|
1244
|
+
`只在回合边界轮询:回合开始一次、进行中每 ${intervalLabel}一次、结束一次;${idleRead}`,
|
|
1227
1245
|
...(options.repos?.length
|
|
1228
1246
|
? [`只播报 ${options.repos.join(", ")} 的事件,其它仓库的会话不会收到它。`]
|
|
1229
1247
|
: []),
|
package/locale/en.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"meta": {
|
|
3
3
|
"title": "GitHub inbox",
|
|
4
|
-
"description": "Lets the agent keep watch over your repository the way a maintainer would: it reads the GitHub repositories a session subscribes to, keeps
|
|
4
|
+
"description": "Lets the agent keep watch over your repository the way a maintainer would: it reads the GitHub repositories a session subscribes to, keeps the events that concern you — failed checks, reviews waiting for you, issues assigned to you, comments that mention you — and puts them in front of the agent in its own turn, opening one by itself when the session is idle and the fact matters, so a broken check gets fixed and a review request gets reviewed without waiting for you. A chip in the status row lists them and switches delivery, message clearing and subscriptions. Read-only; waking is opt-in and gated; no request while idle.",
|
|
5
5
|
"detail": "docs/DETAIL.md"
|
|
6
6
|
}
|
|
7
7
|
}
|
package/locale/zh.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"meta": {
|
|
3
3
|
"title": "GitHub 收件箱",
|
|
4
|
-
"description": "让 agent 像维护者一样盯着你的仓库:按会话订阅的 GitHub 仓库取数,只保留与你有关、需要你处理的事件(失败的 CI、待你评审的 PR、指派给你的 issue
|
|
4
|
+
"description": "让 agent 像维护者一样盯着你的仓库:按会话订阅的 GitHub 仓库取数,只保留与你有关、需要你处理的事件(失败的 CI、待你评审的 PR、指派给你的 issue、@你的评论),在自己的回合送进上下文——CI 挂了就修,有人请你评审就审,不用等你回来看;会话空闲又遇到要紧的事,它也会主动开一轮。状态行里的胶囊可查看待处理项,并切换提醒方式、消息清理与订阅仓库。只读 GitHub,主动开轮需显式开启且有四道门,空闲时不发请求。",
|
|
5
5
|
"detail": "docs/DETAIL.zh.md"
|
|
6
6
|
}
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dsh-inbox-bridge",
|
|
3
|
-
"version": "2.16.
|
|
3
|
+
"version": "2.16.2",
|
|
4
4
|
"displayName": "GitHub inbox",
|
|
5
|
-
"description": "DSH 插件:让 agent
|
|
5
|
+
"description": "DSH 插件:让 agent 像维护者一样盯着你的仓库——按会话订阅仓库,取回与你有关、需要你处理的事件(失败的 CI、待评审的 PR、指派给你的 issue、@你的评论),在自己的回合送进上下文;会话空闲又遇到要紧的事时也能主动开一轮,让 agent 自己去修、去审、去接。",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"author": "c3115644151",
|