dsh-triage-desk 0.1.2 → 0.1.4

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 CHANGED
@@ -1,5 +1,54 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.1.4](https://github.com/LHCWN/dsh-triage-desk/releases/tag/v0.1.4) — 2026-11-20
4
+
5
+ ### Changed
6
+
7
+ - Rewrote the built-in launch prompts to be shorter and more precise. The review
8
+ scenarios now post one GitHub review of inline comments tagged `[P1]`–`[P3]`
9
+ (never an approval), flagging only real problems the PR introduces. Fix
10
+ scenarios wait for your OK before pushing and never merge, reply scenarios
11
+ post only after you approve, triage only reports, and no prompt adds AI
12
+ attribution. Built-in prompts you never edited
13
+ are upgraded automatically; edited ones are kept.
14
+ - Agents start in full access, like Orca's default: Claude Code, Codex,
15
+ Antigravity, Gemini CLI, Cursor Agent, Aider, Amp, Droid, and Crush launch
16
+ with their own flag for skipping permission prompts (for example
17
+ `codex --dangerously-bypass-approvals-and-sandbox`). Saved agents still on the
18
+ old default command are upgraded; edited commands are kept. Delete the flag in
19
+ Settings to get the prompts back.
20
+
21
+ ### Fixed
22
+
23
+ - The sidebar count badge sits beside the new icon instead of covering its
24
+ rows.
25
+ - `{number}` falls back to the number in the item's URL when the snapshot does
26
+ not have it.
27
+
28
+ ## [0.1.3](https://github.com/LHCWN/dsh-triage-desk/releases/tag/v0.1.3) — 2026-11-20
29
+
30
+ ### Added
31
+
32
+ - Hover or focus the count next to *Triage* to see what it counts and what it
33
+ leaves out, such as new issues and optional reviews.
34
+
35
+ ### Changed
36
+
37
+ - New icon: a shell prompt that picks the one waiting item that needs you. The
38
+ sidebar shows it in the DSH text colour.
39
+ - A new profile launches into a new DSH chat by default, and the launch menu
40
+ lists only the coding agents installed on the machine. Choose another default
41
+ in Settings; an agent that cannot start opens a DSH chat instead.
42
+ - Settings saves the agent list only when you change it.
43
+ - `dsh` now names the DSH launch target. A custom agent you named `dsh` gets
44
+ a new id, and your default and scenarios keep pointing at it.
45
+
46
+ ### Fixed
47
+
48
+ - Without Claude Code installed, launches no longer fail on the preset default.
49
+ - Large organizations: when the branch scan was narrowed partway through, a
50
+ repository already read in full no longer hides your red branches in it.
51
+
3
52
  ## [0.1.2](https://github.com/LHCWN/dsh-triage-desk/releases/tag/v0.1.2) — 2026-11-20
4
53
 
5
54
  ### Fixed
package/README.md CHANGED
@@ -12,6 +12,8 @@ issues. One click opens a coding agent on any item with a prepared prompt that
12
12
  you review before sending. Everything runs locally through the GitHub CLI; the
13
13
  plugin never stores or forwards a token.
14
14
 
15
+ <img src="docs/screenshots/inbox.png" width="900" alt="The Triage panel in DSH: the attention count, section tabs, source filters, and pull requests waiting for review with their CI status">
16
+
15
17
  [简体中文](README.zh.md) · [Reference](docs/REFERENCE.md) · [Architecture](docs/ARCHITECTURE.md) · [Changelog](CHANGELOG.md)
16
18
 
17
19
  ## What it shows
@@ -28,6 +30,11 @@ plugin never stores or forwards a token.
28
30
  - **Sources and languages**: personal repositories plus up to 10 organizations; the panel follows the DSH language (English or Chinese).
29
31
  - **Large organizations**: organizations as big as `llvm` load in a lighter mode instead of failing ([details](docs/REFERENCE.md#large-sources)).
30
32
 
33
+ The count next to *Triage* is what needs you; hover or focus it to see what it
34
+ leaves out.
35
+
36
+ <img src="docs/screenshots/count-hint.png" width="697" alt="The attention count's tooltip: 7 need your action, not counted 13 new issues and 2 optional reviews">
37
+
31
38
  Each feature is described in full in the [reference](docs/REFERENCE.md#inbox).
32
39
 
33
40
  ## Requirements
@@ -88,6 +95,13 @@ prepared but **not sent**. A line under the agent picker says where it opens and
88
95
  how the prompt arrives, for example *Opens in Ghostty · prompt typed into the
89
96
  input box, unsent*.
90
97
 
98
+ Once you send it, the review scenarios post one GitHub review of inline comments
99
+ tagged `[P1]`–`[P3]`, and never approve. The fix and reply scenarios wait for your
100
+ OK before pushing or posting; triage only reports back. None of them add AI
101
+ attribution.
102
+
103
+ <img src="docs/screenshots/launch-menu.png" width="300" alt="The launch menu on a row: the agent picker set to DSH — this app, and the scenarios Just the link and Review this PR">
104
+
91
105
  **Terminals.** Settings → *Terminal and agents* → **Open agents in** offers
92
106
  *Automatic* or one of this platform's terminals; terminals that are not installed
93
107
  are shown disabled.
@@ -122,12 +136,21 @@ The toast names the agent and the terminal, for example *Codex opened in Ghostty
122
136
  (/path): the prompt will appear in its input box, not sent — review it and press
123
137
  Enter*.
124
138
 
125
- **Agents.** Built-in presets cover Claude Code, Codex, opencode, Gemini CLI,
126
- Cursor Agent, Antigravity (`agy`), and pi; **Find agents** in Settings also
127
- detects Aider, Amp, Droid, Goose, and Crush, and you can add your own command. A
139
+ **Agents.** By default a launch opens a new DSH chat with the prompt, and the
140
+ menu lists the coding agents installed on this machine: Claude Code, Codex,
141
+ opencode, Gemini CLI, Cursor Agent, Antigravity (`agy`), pi, Aider, Amp, Droid,
142
+ Goose, and Crush. Pick another default in Settings, or add your own command. A
128
143
  command must contain `{prompt}` exactly once, unquoted, as its own argument or
129
144
  right after a `--flag=`.
130
145
 
146
+ Agents start in **full access**, as Orca's default does: each built-in command
147
+ carries the agent's own flag for skipping permission prompts, such as
148
+ `codex --dangerously-bypass-approvals-and-sandbox` or
149
+ `agy --dangerously-skip-permissions`. A step a scenario asks the agent to
150
+ confirm first, such as pushing, then rests on the agent following its prompt. To
151
+ get the permission prompts back, remove the flag from the agent's command in
152
+ Settings ([flags per agent](docs/REFERENCE.md#agents)).
153
+
131
154
  Details: [terminal launcher reference](docs/REFERENCE.md#terminal-launcher).
132
155
 
133
156
  ## Settings
@@ -142,13 +165,15 @@ available while you save. The most used fields:
142
165
  | `includePersonal` | `true` | Include your personal repositories |
143
166
  | `refreshSeconds` | `1200` | Auto-refresh interval, 15–3600 s |
144
167
  | `requireGreenChecks` | `true` | *Ready to merge* only with green or no checks |
145
- | `defaultAgent` | `claude` | Agent selected in the launch menu |
168
+ | `defaultAgent` | `dsh` | Target selected in the launch menu: `dsh` (a new DSH chat) or an agent id |
146
169
  | `terminal` | `auto` | Terminal for launches: `auto` or a terminal id |
147
170
  | `promptDelivery` | `paste` | `paste` (type into the agent) or `clipboard` |
148
171
 
149
172
  All fields, including agents, scenarios, and clone search, are in the
150
173
  [configuration reference](docs/REFERENCE.md#configuration).
151
174
 
175
+ <img src="docs/screenshots/settings-launch.png" width="682" alt="Settings, Terminal and agents: the terminal, prompt delivery, the default agent DSH — this app, and the agent list">
176
+
152
177
  ## Development
153
178
 
154
179
  ```sh
package/README.zh.md CHANGED
@@ -6,6 +6,8 @@
6
6
 
7
7
  一个 [DeepSeek Harness](https://github.com/deepseek-ai/deepseek-harness)(DSH)插件,每天早上只回答一个问题:**现在有什么需要我处理?** 它把 GitHub 动态汇总成一个收件箱面板:等待你审核的 PR、可以合并的自己的 PR、需要答复的讨论、失败的 CI,以及新的或分配给你的议题。只需一次点击,就能针对任意条目打开编码智能体,并带好准备好的提示,由你检查后再发送。所有操作都通过 GitHub CLI 在本地完成;插件从不存储或转发访问令牌。
8
8
 
9
+ <img src="docs/screenshots/inbox.png" width="900" alt="DSH 中的分诊面板:关注计数、分类标签、来源筛选,以及等待审核的拉取请求及其 CI 状态">
10
+
9
11
  [English](README.md) · [参考文档(英文)](docs/REFERENCE.md) · [架构](docs/ARCHITECTURE.md) · [更新日志](CHANGELOG.md)
10
12
 
11
13
  ## 显示内容
@@ -22,6 +24,10 @@
22
24
  - **来源与语言**:个人仓库加最多 10 个组织;面板跟随 DSH 的界面语言(英文或中文)。
23
25
  - **大型组织**:像 `llvm` 这样大的组织会以精简模式加载,而不是直接失败([详情](docs/REFERENCE.md#large-sources))。
24
26
 
27
+ *分诊* 旁的计数表示需要你处理的事项;将鼠标悬停或聚焦在计数上,可查看它未计入的内容。
28
+
29
+ <img src="docs/screenshots/count-hint.png" width="697" alt="关注计数的提示:7 项需要你处理,未计入 13 个新议题和 2 个可选审核">
30
+
25
31
  每项功能的完整说明见[参考文档](docs/REFERENCE.md#inbox)。
26
32
 
27
33
  ## 环境要求
@@ -63,6 +69,10 @@ dsh plugin --profile <profile> add dsh-triage-desk@latest
63
69
 
64
70
  行(或分类标题)上的终端按钮会打开启动菜单:先选择目标(**DSH — 本应用**或已安装的智能体),再选择场景。单行场景会在仓库的本地克隆中打开智能体;分类场景会用所有可见行的清单启动一个智能体。提示总是已准备好但**尚未发送**。智能体选择器下方的一行会说明在哪里打开以及提示如何送达,例如*在 Ghostty 中打开 · 提示自动填入输入框,尚未发送*。
65
71
 
72
+ 发送后,审核类场景会在 GitHub 上提交一次审核,以行内评论给出发现的问题并标注 `[P1]`–`[P3]`,从不批准。修复和回复类场景在推送或发布前会等待你确认;分诊只汇报结果。所有场景都不会添加 AI 署名。
73
+
74
+ <img src="docs/screenshots/launch-menu.png" width="300" alt="行上的启动菜单:智能体选择器设为 DSH — 本应用,以及场景“仅链接”和“审核此 PR”">
75
+
66
76
  **终端。** 设置 → *终端与智能体* → **智能体打开位置**提供*自动*或本平台的某个终端;未安装的终端会显示为禁用。
67
77
 
68
78
  | 平台 | 终端 | 自动 |
@@ -80,7 +90,9 @@ iTerm2、Ghostty(macOS)、GNOME Terminal、Konsole、Xfce Terminal 和 Windo
80
90
 
81
91
  Toast 提示会写明智能体和终端,例如*已在 Ghostty 中打开 Codex(/path):提示将出现在输入框中,尚未发送——检查后按 Enter*。
82
92
 
83
- **智能体。** 内置预设涵盖 Claude Code、Codex、opencode、Gemini CLI、Cursor Agent、Antigravity(`agy`)和 pi;设置中的**查找智能体**还能检测 Aider、Amp、Droid、Goose 和 Crush,你也可以添加自己的命令。命令必须恰好包含一个未加引号的 `{prompt}`,作为独立参数,或紧跟在 `--flag=` 之后。
93
+ **智能体。** 默认情况下,启动会打开一个带有提示的新 DSH 对话;菜单列出本机已安装的编码智能体:Claude Code、Codex、opencode、Gemini CLI、Cursor Agent、Antigravity(`agy`)、pi、Aider、Amp、Droid、Goose 和 Crush。可以在设置中选择其他默认目标,或添加自己的命令。命令必须恰好包含一个未加引号的 `{prompt}`,作为独立参数,或紧跟在 `--flag=` 之后。
94
+
95
+ 与 Orca 的默认设置一样,智能体以**完全访问**模式启动:每个内置命令都带有该智能体跳过权限确认的参数,例如 `codex --dangerously-bypass-approvals-and-sandbox` 或 `agy --dangerously-skip-permissions`。此时,场景要求智能体先确认的步骤(例如推送)只依赖智能体遵循提示。如需恢复权限确认,在设置中从该智能体的命令里删除这个参数([各智能体的参数](docs/REFERENCE.md#agents))。
84
96
 
85
97
  详情:[终端启动器参考](docs/REFERENCE.md#terminal-launcher)。
86
98
 
@@ -94,12 +106,14 @@ Toast 提示会写明智能体和终端,例如*已在 Ghostty 中打开 Codex
94
106
  | `includePersonal` | `true` | 包含你的个人仓库 |
95
107
  | `refreshSeconds` | `1200` | 自动刷新间隔,15–3600 秒 |
96
108
  | `requireGreenChecks` | `true` | 仅在检查通过或没有检查时列入*可以合并* |
97
- | `defaultAgent` | `claude` | 启动菜单中选中的智能体 |
109
+ | `defaultAgent` | `dsh` | 启动菜单中选中的目标:`dsh`(新的 DSH 对话)或智能体 ID |
98
110
  | `terminal` | `auto` | 启动所用的终端:`auto` 或某个终端 ID |
99
111
  | `promptDelivery` | `paste` | `paste`(填入智能体)或 `clipboard`(复制到剪贴板) |
100
112
 
101
113
  所有字段(包括智能体、场景和克隆搜索)见[配置参考](docs/REFERENCE.md#configuration)。
102
114
 
115
+ <img src="docs/screenshots/settings-launch.png" width="682" alt="设置中的终端与智能体:终端、提示传递方式、默认智能体 DSH — 本应用,以及智能体列表">
116
+
103
117
  ## 开发
104
118
 
105
119
  ```sh