dsh-plugin-github-issues 0.6.0 → 0.7.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 +5 -2
- package/assets/panel.png +0 -0
- package/docs/README.zh.md +2 -1
- package/lib/client.js +3623 -49
- package/lib/controller.js +34 -35
- package/lib/controller.js.map +1 -1
- package/lib/github/client.js +40 -1
- package/lib/github/client.js.map +1 -1
- package/lib/github/list-request.js +62 -0
- package/lib/github/list-request.js.map +1 -0
- package/lib/github/queries.js +61 -0
- package/lib/github/queries.js.map +1 -1
- package/lib/github/types.js.map +1 -1
- package/lib/remote-methods.js +1 -0
- package/lib/remote-methods.js.map +1 -1
- package/lib/types/controller.d.ts +7 -1
- package/lib/types/controller.d.ts.map +1 -1
- package/lib/types/github/client.d.ts.map +1 -1
- package/lib/types/github/list-request.d.ts +31 -0
- package/lib/types/github/list-request.d.ts.map +1 -0
- package/lib/types/github/queries.d.ts +13 -0
- package/lib/types/github/queries.d.ts.map +1 -1
- package/lib/types/github/types.d.ts +3 -1
- package/lib/types/github/types.d.ts.map +1 -1
- package/lib/types/remote-methods.d.ts.map +1 -1
- package/lib/types/vm.d.ts +5 -0
- package/lib/types/vm.d.ts.map +1 -1
- package/lib/vm.js.map +1 -1
- package/package.json +3 -1
package/README.md
CHANGED
|
@@ -61,10 +61,10 @@ tarball (`dsh-plugin-github-issues.tgz`), installable by path.
|
|
|
61
61
|
|
|
62
62
|
| Surface | Where | What |
|
|
63
63
|
|---|---|---|
|
|
64
|
-
| GitHub panel | left rail icon → main panel | organization → repository → **milestone** → assignee → state cascade (remembered across restarts) in one fixed toolbar; a default organization/repository is selected for you, the milestone dropdown lists only that repository's milestones, and only the list scrolls (search stays above it, the detail pane scrolls independently with body
|
|
64
|
+
| GitHub panel | left rail icon → main panel | organization → repository → **milestone** → assignee → state cascade (remembered across restarts) in one fixed toolbar; a default organization/repository is selected for you, the milestone dropdown lists only that repository's milestones, and only the list scrolls (search stays above it, the detail pane scrolls independently with the **full issue body rendered as sanitized GitHub-flavored Markdown**, milestone progress, labels, priority, assignees, linked/mentioned PRs and checks) |
|
|
65
65
|
| Issues right column | right sidebar tab | the same filtered issue list beside the Conversation, for drag-and-drop handoff |
|
|
66
66
|
| Composer card | inside the input box | the staged issue: `[GitHub] owner/repo#number ×`. Type extra instructions or nothing; send converts the card into the issue prompt |
|
|
67
|
-
| Linked chip | composer dock under the input | the Session's linked issue: state dot (green open / red closed) + `owner/repo#number`; click for a detail popover, remove to unlink |
|
|
67
|
+
| Linked chip | composer dock under the input | the Session's linked issue: state dot (green open / red closed) + `owner/repo#number`; the dot refreshes from GitHub on panel refresh, every poll, window focus and whenever the issue appears in the list; click for a detail popover, remove to unlink |
|
|
68
68
|
| Handoff actions | issue detail | one-click **enter Session** (latest link), **new Session for this issue**, plus a linked-Session list with per-Session enter/unlink |
|
|
69
69
|
| GitHub settings | Settings → GitHub | `gh` auth status and scopes, handoff behavior, prompt template |
|
|
70
70
|
|
|
@@ -115,6 +115,9 @@ Settings → GitHub → Prompt template. Variables: `{{repo}}`, `{{number}}`, `{
|
|
|
115
115
|
- The list uses the repository's exact `issues` connection, so state, assignee and milestone filters
|
|
116
116
|
are applied by GitHub (and the total is authoritative); milestone filtering sends the milestone
|
|
117
117
|
number through `filterBy.milestoneNumber`.
|
|
118
|
+
- The detail body is the complete issue body, rendered with Markdown (headings, lists, code blocks,
|
|
119
|
+
tables, links, images) and sanitized before display; it is not an excerpt and it is not capped to a
|
|
120
|
+
small fixed-height box.
|
|
118
121
|
- Milestone choices come from the selected repository's full milestone list (open and closed).
|
|
119
122
|
- Priority falls back organization Issue Field → `P0`–`P4` labels when no project field is present.
|
|
120
123
|
- The list polls every 60–120 s while visible; use **Refresh** for an immediate update.
|
package/assets/panel.png
CHANGED
|
Binary file
|
package/docs/README.zh.md
CHANGED
|
@@ -56,7 +56,7 @@ dsh plugin --profile <name> add /path/to/dsh-plugin-github-issues
|
|
|
56
56
|
|
|
57
57
|
| 界面 | 位置 | 内容 |
|
|
58
58
|
|---|---|---|
|
|
59
|
-
| GitHub 面板 | 左侧栏图标 → 主面板 | 组织 → 仓库 → **里程碑** → assignee → 状态
|
|
59
|
+
| GitHub 面板 | 左侧栏图标 → 主面板 | 组织 → 仓库 → **里程碑** → assignee → 状态 级联筛选(记住上次选择)固定在一行;组织和仓库会自动选中默认项,里程碑下拉只列当前仓库的里程碑;只有列表滚动,搜索在列表上方固定;详情栏独立滚动(**完整正文按 GitHub 风格 Markdown 渲染并做安全过滤**、Milestone 进度、标签、优先级、assignee、关联/提及 PR 的 checks 与 review) |
|
|
60
60
|
| Issues 右栏 | 右侧栏页签 | 与对话同屏的同一份筛选列表,用于拖拽交办 |
|
|
61
61
|
| 输入框卡片 | 输入框内部 | 暂存的 Issue:`[GitHub] owner/repo#number ×`。可以补充自己的文字,也可以不写;发送时卡片转成提示词 |
|
|
62
62
|
| 已关联 chip | 输入框下方 dock | 当前 Session 关联的 Issue:状态圆点(open 绿 / closed 红)+ `owner/repo#number`;点击看详情,× 解除关联 |
|
|
@@ -102,6 +102,7 @@ dsh plugin --profile <name> add /path/to/dsh-plugin-github-issues
|
|
|
102
102
|
- 只读:不发评论、不改标签/指派/状态。
|
|
103
103
|
- 列表使用仓库的 `issues` 连接,状态、assignee、里程碑都由 GitHub 服务端过滤(总数也是权威的);
|
|
104
104
|
里程碑通过 `filterBy.milestoneNumber` 按编号过滤。
|
|
105
|
+
- 详情展示完整正文(不是摘要、也不再限制在固定高度的小框里),按 Markdown 渲染并过滤危险 HTML。
|
|
105
106
|
- 里程碑的可选项来自当前仓库的完整里程碑列表(含已关闭)。
|
|
106
107
|
- 优先级回退顺序:组织 Issue Field → `P0`–`P4` 标签(不再读取 Projects v2 项目字段)。
|
|
107
108
|
- 列表可见时每 60–120 秒轮询一次;需要立刻更新点「刷新」。
|