dsh-super-kanban 0.0.0-stage → 0.3.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/CHANGELOG.md +59 -0
- package/LICENSE +21 -0
- package/README.md +280 -2
- package/client.js +3525 -0
- package/cordis.patch.yml +10 -0
- package/icon.svg +7 -0
- package/index.mjs +72 -0
- package/package.json +68 -4
- package/server/analyzer-llm.mjs +412 -0
- package/server/analyzer-rules.mjs +563 -0
- package/server/service.mjs +2434 -0
- package/server/sessions.mjs +1264 -0
- package/server/store.mjs +486 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project are documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## [Unreleased]
|
|
9
|
+
|
|
10
|
+
## [0.3.0] - 2026-11-05
|
|
11
|
+
|
|
12
|
+
First public release. Super Kanban turns the sessions of a DeepSeek Harness
|
|
13
|
+
workspace into a maintainable task board.
|
|
14
|
+
|
|
15
|
+
### Added
|
|
16
|
+
|
|
17
|
+
- **Automatic task analysis**: sessions are scanned on a schedule and turned
|
|
18
|
+
into tasks with goal, status, progress, priority, issues, next steps,
|
|
19
|
+
milestones and traceable evidence.
|
|
20
|
+
- **Two analysis engines**: a zero-dependency rules engine that always works
|
|
21
|
+
offline, and an optional LLM engine that reuses the local DSH account quota
|
|
22
|
+
and degrades to rules when disabled, over budget or offline.
|
|
23
|
+
- **Task detail drawer**: key facts first, editable status, subtasks, issues /
|
|
24
|
+
next steps, session context, artifacts and evidence with a direct jump back
|
|
25
|
+
to the source session.
|
|
26
|
+
- **Session hand-off**: one-click "continue this task" prompt built locally
|
|
27
|
+
from the task context (no model call), inserted into the original session or
|
|
28
|
+
a new session in the same workspace.
|
|
29
|
+
- **Subtask, artifact and goal tracking**: deterministic extraction from todo
|
|
30
|
+
snapshots, write/edit tool calls and presented deliverables, plus DSH session
|
|
31
|
+
goals when available.
|
|
32
|
+
- **Dual presentation**: a full-page board panel and a compact right-sidebar
|
|
33
|
+
panel, with configurable entry visibility and a shortcut from the session
|
|
34
|
+
header.
|
|
35
|
+
- **Manual task management**: create, edit, drag between columns, archive,
|
|
36
|
+
delete, relink sessions, lock fields so analysis never overwrites them.
|
|
37
|
+
- **Local-first storage**: board state under the DSH home storage directory,
|
|
38
|
+
atomic writes, corrupt-file recovery and version migration.
|
|
39
|
+
- **DSH-native visual language**: monochrome-first styling, a restrained type
|
|
40
|
+
scale, hairline borders and DSH design tokens for light and dark themes.
|
|
41
|
+
|
|
42
|
+
### Changed
|
|
43
|
+
|
|
44
|
+
- Analysis output and storage are budgeted: compact session digests, incremental
|
|
45
|
+
gating, per-scan and daily AI call limits, and capped evidence, key facts,
|
|
46
|
+
subtasks, artifacts and history.
|
|
47
|
+
- Evidence and task payloads are trimmed for density; the board and drawer
|
|
48
|
+
prioritise "what matters now" over raw transcript dumps.
|
|
49
|
+
|
|
50
|
+
### Security
|
|
51
|
+
|
|
52
|
+
- The plugin runs locally inside DSH, reads session storage read-only, serves
|
|
53
|
+
its HTTP API to the authenticated owner only, and sends nothing to third
|
|
54
|
+
parties. When the LLM engine is enabled it calls the DeepSeek inference API
|
|
55
|
+
with the local DSH account token; tokens are never logged or persisted by the
|
|
56
|
+
plugin. See [SECURITY.md](./SECURITY.md).
|
|
57
|
+
|
|
58
|
+
[Unreleased]: https://github.com/topmindspace/dsh-super-kanban/compare/v0.3.0...HEAD
|
|
59
|
+
[0.3.0]: https://github.com/topmindspace/dsh-super-kanban/releases/tag/v0.3.0
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 TopMindSpace
|
|
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
CHANGED
|
@@ -1,3 +1,281 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Super Kanban · 智能任务指挥台
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](https://github.com/topmindspace/dsh-super-kanban/actions/workflows/ci.yml)
|
|
4
|
+
[](LICENSE)
|
|
5
|
+
|
|
6
|
+
一个**生长在 DeepSeek Harness 界面里**的 AI 任务看板:它读取你各个工作区的真实 DSH 会话,自动研判任务的目标、进度、完成情况与问题,也可以完全手动管理。每张任务卡都能追溯到具体会话与具体一句话。
|
|
7
|
+
|
|
8
|
+
- **入口**:DSH 左侧栏「任务看板」,或在会话右侧栏打开紧凑形态
|
|
9
|
+
- **数据**:只读扫描本机 DSH 会话;看板数据保存在本机,不出本机
|
|
10
|
+
- **智能**:复用本机 DSH 已登录账号的模型额度,零配置;关闭后自动降级为本地规则分析
|
|
11
|
+
|
|
12
|
+

|
|
13
|
+
|
|
14
|
+
## 目录
|
|
15
|
+
|
|
16
|
+
- [它解决什么](#它解决什么)
|
|
17
|
+
- [功能特性](#功能特性)
|
|
18
|
+
- [两种形态](#两种形态)
|
|
19
|
+
- [安装](#安装)
|
|
20
|
+
- [使用](#使用)
|
|
21
|
+
- [AI 与隐私](#ai-与隐私)
|
|
22
|
+
- [界面截图](#界面截图)
|
|
23
|
+
- [兼容性](#兼容性)
|
|
24
|
+
- [常见问题](#常见问题)
|
|
25
|
+
- [开发与贡献](#开发与贡献)
|
|
26
|
+
- [License](#license)
|
|
27
|
+
|
|
28
|
+
## 它解决什么
|
|
29
|
+
|
|
30
|
+
你在 DSH 里同时推进多个工作区、多个会话,任务状态散落在对话里:做到哪了?卡在哪?有没有交付?是不是已经不了了之?
|
|
31
|
+
|
|
32
|
+
Super Kanban 把这些对话转成一张可持续维护的看板:
|
|
33
|
+
|
|
34
|
+
| 能力 | 说明 |
|
|
35
|
+
| --- | --- |
|
|
36
|
+
| 🎯 目标识别 | 从会话里的真实请求提炼任务标题与目标,而不是把整段 prompt 当标题 |
|
|
37
|
+
| 📈 进度判断 | 优先用会话中的 todo 完成率,结合交付物、轮次状态估算进度 |
|
|
38
|
+
| ✅ 完成判断 | 综合最后一轮回复、交付物(present / 写文件)与用户是否继续提修改来判断完成 |
|
|
39
|
+
| ⚠️ 问题识别 | 工具报错、用户否定/纠正、未解决的提问作为「问题」挂在卡片上 |
|
|
40
|
+
| 🔗 可追溯 | 每张卡带来源工作区 / 会话 / 证据时间线,一键跳回原会话 |
|
|
41
|
+
| 🤝 会话联动 | 「继续此任务」生成结构化提示词,确认后放入原会话或同工作区新会话输入框,不自动发送 |
|
|
42
|
+
| ✅ 子任务与目标 | 子任务清单(可从会话待办导入、勾选自动回写进度)、任务目标、DSH Session Goal 追踪 |
|
|
43
|
+
| 📦 产物跟踪 | 自动收集会话交付物与写出的文件,点击在 DSH 文档预览中打开 |
|
|
44
|
+
| 🧾 关键事实优先 | 卡片只有 1 行关键事实;抽屉先看 3–6 条关键事实,完整证据默认折叠 |
|
|
45
|
+
| ✍️ 手动维护 | 新建 / 编辑 / 拖拽换列 / 归档 / 删除 / 锁定字段;你改过的字段 AI 不再覆盖 |
|
|
46
|
+
| 🔄 持续维护 | 首次约数秒完成扫描,之后按间隔增量扫描;新会话自动纳入,旧任务自动更新 |
|
|
47
|
+
| 🧠 解释得清 | 每条研判带置信度与一句话理由,避免「黑箱改状态」 |
|
|
48
|
+
|
|
49
|
+
## 功能特性
|
|
50
|
+
|
|
51
|
+
### 双引擎分析:联网更准,离线也能用
|
|
52
|
+
|
|
53
|
+
1. **采集(本机)**:读取 `workspace.json` 与各会话的 `session.v4.jsonl.zstd`,解析用户请求、AI 回复、工具调用、todo 快照、交付物、错误与轮次结束原因。
|
|
54
|
+
2. **规则引擎(始终可用、零 token)**:本地规则从会话中提炼状态、进度、问题与证据,未登录、无网络或关闭 AI 时看板照常工作。
|
|
55
|
+
3. **LLM 研判(可选联网)**:把压缩后的会话摘要发送到 DeepSeek 推理接口,返回结构化 JSON(任务、状态、进度、问题、证据、置信度、理由)。
|
|
56
|
+
4. **合并(本机)**:按会话锚点合并进看板;用户锁定字段不覆盖;每次变化写操作历史。
|
|
57
|
+
|
|
58
|
+
### Token 效率
|
|
59
|
+
|
|
60
|
+
- 送模型的会话摘要(digest)压到 **≤1.5KB/会话**,只含最近变化与关键信号。
|
|
61
|
+
- 输出结构化:关键事实 ≤6、证据 ≤8、`max_tokens` ≤2200,单个会话解析结果有明确上限。
|
|
62
|
+
- **增量门控**:只在「用户消息增加 / 轮次结束 / 首次 / 手动重新研判」时调用模型;同一活跃 turn 内不重复分析,同一会话有最小间隔。
|
|
63
|
+
- **预算可控**:设置里可配「单次扫描 AI 调用上限」与「每日上限」,超限自动降级规则引擎;设置页显示今日调用数与 tokens。
|
|
64
|
+
- 反复全量扫描已分析的会话时,**0 次 AI 调用**。
|
|
65
|
+
|
|
66
|
+
### 数据与隐私
|
|
67
|
+
|
|
68
|
+
- 看板数据只写入本机 `~/.dsh/storages/super-kanban/`,无第三方服务器、无遥测。
|
|
69
|
+
- 联网研判只发送**压缩摘要**:不发送完整会话原文、不发送文件内容、不发送账号凭证。
|
|
70
|
+
- 所有 AI 功能可在设置中一键关闭,立即降级为本地规则分析。
|
|
71
|
+
|
|
72
|
+
## 两种形态
|
|
73
|
+
|
|
74
|
+
同一个看板支持两种打开方式:
|
|
75
|
+
|
|
76
|
+
| 形态 | 怎么打开 | 特点 |
|
|
77
|
+
| --- | --- | --- |
|
|
78
|
+
| **全页主面板** | 左侧栏「任务看板」 | 四列完整看板 + 筛选 + 统计行,适合专注梳理 |
|
|
79
|
+
| **右侧侧边栏** | 会话右上角看板图标,或会话右侧栏「+」工具列表里的「任务看板」 | 边聊边看板;宽度自适应:窄(单列 + 状态分段)/ 中 / 宽(四列) |
|
|
80
|
+
|
|
81
|
+
- **右侧栏全屏**:右侧栏顶部的全屏按钮,面板铺满视口,仍可随时退出。
|
|
82
|
+
- **互相切换**:全页看板「⋯ → 在右侧栏打开」;右侧栏看板「⋯ → 在全页面板打开」。
|
|
83
|
+
- **入口偏好**:看板「设置 → 显示与入口」可选「两者(默认)/ 仅全局面板 / 仅会话右侧栏」,修改后刷新窗口生效。
|
|
84
|
+
|
|
85
|
+
## 安装
|
|
86
|
+
|
|
87
|
+
> 前置条件:已安装并至少打开过一次 DSH 桌面版(存在 `~/.dsh/profiles/desktop`),DSH 版本 `>= 0.2.1-rc.5 < 0.3.0`。
|
|
88
|
+
|
|
89
|
+
### 方式 A:插件市场索引(推荐)
|
|
90
|
+
|
|
91
|
+
> 「发现(Discover)」来自 DSH 的实验性插件市场能力:先在 **插件 → 实验性插件** 中启用 **插件市场 / Plugin market** 并按其提示重载 DSH。若你的 DSH 版本暂无该能力,请使用方式 B/C/D。
|
|
92
|
+
|
|
93
|
+
1. DSH → **插件** → **发现(Discover)**
|
|
94
|
+
2. **添加索引源**,粘贴:
|
|
95
|
+
`https://topmindspace.github.io/dsh-super-kanban/index.json`
|
|
96
|
+
3. 在列表中找到 **Super Kanban** → **安装** → 启用
|
|
97
|
+
4. 回到 DSH 窗口按 `Cmd+R` 刷新(必要时重启 DSH)
|
|
98
|
+
|
|
99
|
+
> 市场索引在首个版本发布到 GitHub Pages 后生效;索引内容来自本仓库 `docs/`。
|
|
100
|
+
|
|
101
|
+
### 方式 B:npm 包名
|
|
102
|
+
|
|
103
|
+
DSH → 插件 → 添加插件 → 输入包名 `dsh-super-kanban`(可带版本,如 `dsh-super-kanban@0.3.0`)→ 安装 → 启用 → 刷新窗口。
|
|
104
|
+
|
|
105
|
+
> npm 包在首个 Release 发布后可用。
|
|
106
|
+
|
|
107
|
+
### 方式 C:Git 仓库
|
|
108
|
+
|
|
109
|
+
插件 → 添加插件 → 粘贴仓库地址 `https://github.com/topmindspace/dsh-super-kanban` → 安装(DSH 会 pin 到具体 commit)→ 启用 → 刷新窗口。
|
|
110
|
+
|
|
111
|
+
### 方式 D:本地目录 / 源码安装
|
|
112
|
+
|
|
113
|
+
适合开发者和想跟进源码的用户:
|
|
114
|
+
|
|
115
|
+
```bash
|
|
116
|
+
git clone https://github.com/topmindspace/dsh-super-kanban.git
|
|
117
|
+
cd dsh-super-kanban
|
|
118
|
+
./install.sh -y # 链接进默认 desktop profile 并在插件清单中登记
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
或在 DSH 插件页选择「本地目录」指向本仓库根目录。安装完成后刷新窗口,左侧栏出现「任务看板」。
|
|
122
|
+
|
|
123
|
+
### 升级与卸载
|
|
124
|
+
|
|
125
|
+
- **升级**:插件市场 / npm / Git 安装的,在插件页更新即可;源码安装的 `git pull` 后刷新窗口。
|
|
126
|
+
- **卸载**:插件页移除,或源码目录执行 `./uninstall.sh -y`。
|
|
127
|
+
- 卸载**不会删除**看板数据;彻底清空请删除 `~/.dsh/storages/super-kanban/`。
|
|
128
|
+
|
|
129
|
+
更详细的安装、升级、排障说明见 [docs/INSTALL.md](docs/INSTALL.md)。
|
|
130
|
+
|
|
131
|
+
## 使用
|
|
132
|
+
|
|
133
|
+
1. 左侧栏点 **任务看板**(或会话右上角看板图标走右侧栏形态)。
|
|
134
|
+
2. **看板**:四列——待办 / 进行中 / 受阻 / 已完成;列头显示数量与状态色。
|
|
135
|
+
3. **卡片**:标题、来源工作区、最近活动时间、优先级、子任务进度。
|
|
136
|
+
4. **详情抽屉**(点卡片打开):
|
|
137
|
+
- 一句话状态摘要(点「编辑」可改字段)
|
|
138
|
+
- **关键事实**(3–6 条,来自会话的关键进展 / 决策 / 问题)
|
|
139
|
+
- **子任务**:勾选 / 新增 / 删除;「从会话导入待办」;进度自动回写
|
|
140
|
+
- **问题 / 下一步**
|
|
141
|
+
- **会话联动**:继续此任务 / 打开会话
|
|
142
|
+
- **产物**:点击在 DSH 右侧栏文档预览中打开
|
|
143
|
+
- 证据与历史(默认折叠)
|
|
144
|
+
5. **筛选**:工作区、优先级、来源、标签、关键词搜索、显示归档。
|
|
145
|
+
6. **扫描**:右上角扫描按钮立即增量扫描;扫描进度实时显示。
|
|
146
|
+
7. **设置**:AI 开关、自动扫描、扫描间隔、初始扫描天数、AI 预算、显示与入口、排除工作区、导出 JSON。
|
|
147
|
+
|
|
148
|
+
### 「继续此任务」怎么用
|
|
149
|
+
|
|
150
|
+
1. 打开任意任务卡 → 抽屉里点 **「继续此任务」**;
|
|
151
|
+
2. 弹窗里是一段已生成好的结构化提示词(任务目标 / 进度 / 关键事实 / 问题 / 下一步 / 来源会话),可直接编辑;
|
|
152
|
+
3. 选 **原会话继续** 或 **同工作区新会话**;
|
|
153
|
+
4. 点 **「放入会话」**:DSH 自动切到目标会话,并把提示词放进输入框——**不会自动发送**,你确认 / 修改后自己按发送即可。也可以「仅复制」或「AI 润色」提示词。
|
|
154
|
+
|
|
155
|
+
> 提示词由本地模板拼装,**默认 0 token**;只有点「AI 润色」才会调用一次模型。
|
|
156
|
+
|
|
157
|
+
### 手动与自动如何共存
|
|
158
|
+
|
|
159
|
+
- 自动任务以来源会话为锚点,多次扫描持续更新同一张卡,不会重复建卡。
|
|
160
|
+
- 你手动编辑并锁定的字段(默认编辑即锁定)AI 永不覆盖,可在详情里「解锁」交还给 AI。
|
|
161
|
+
- 手动任务(来源=手动)不会被自动扫描改动。
|
|
162
|
+
- 新建卡片可以不关联会话;关联后 AI 会在下次扫描时补全研判。
|
|
163
|
+
|
|
164
|
+
### 快捷键
|
|
165
|
+
|
|
166
|
+
| 按键 | 作用 |
|
|
167
|
+
| --- | --- |
|
|
168
|
+
| `/` | 聚焦搜索 |
|
|
169
|
+
| `n` | 新建任务 |
|
|
170
|
+
| `Esc` | 关闭当前浮层 / 抽屉 |
|
|
171
|
+
| `Cmd+R` | 刷新 DSH 窗口(插件更新后需要) |
|
|
172
|
+
|
|
173
|
+
## AI 与隐私
|
|
174
|
+
|
|
175
|
+
### 数据流
|
|
176
|
+
|
|
177
|
+
```
|
|
178
|
+
DSH 会话(本机只读)
|
|
179
|
+
│ 本机解析 / 规则引擎
|
|
180
|
+
▼
|
|
181
|
+
本机看板存储 ──(可选)压缩摘要 ≤1.5KB ──► DeepSeek 推理接口
|
|
182
|
+
│ │
|
|
183
|
+
└──────────── 结构化 JSON 结果 ◄───────────┘
|
|
184
|
+
```
|
|
185
|
+
|
|
186
|
+
### 明确不上传的内容
|
|
187
|
+
|
|
188
|
+
- 完整会话原文、文件内容、附件
|
|
189
|
+
- 账号凭证 / token(凭证只在本机用于调用,不随请求内容发出)
|
|
190
|
+
- 任何第三方服务器(无遥测、无统计上报)
|
|
191
|
+
|
|
192
|
+
### 关闭 AI
|
|
193
|
+
|
|
194
|
+
看板右上角「⋯ → 设置」→ 关闭「AI 联网研判」,立即生效。关闭后看板继续用本地规则引擎运行,功能不缺失,只是研判颗粒度更粗。
|
|
195
|
+
|
|
196
|
+
### 成本
|
|
197
|
+
|
|
198
|
+
默认增量扫描只分析**有变化的会话**,单次扫描 AI 调用默认上限 40 次,模型默认 `deepseek-flash`。日常没有新对话时几乎零消耗。你可以在设置中调低每日上限或完全关闭 AI。
|
|
199
|
+
|
|
200
|
+
## 界面截图
|
|
201
|
+
|
|
202
|
+
| 看板(浅色) | 看板(深色) |
|
|
203
|
+
| --- | --- |
|
|
204
|
+
|  |  |
|
|
205
|
+
|
|
206
|
+
| 任务详情(浅色) | 任务详情(深色) |
|
|
207
|
+
| --- | --- |
|
|
208
|
+
|  |  |
|
|
209
|
+
|
|
210
|
+
| 继续此任务弹窗 | 提示词放入原会话输入框 |
|
|
211
|
+
| --- | --- |
|
|
212
|
+
|  |  |
|
|
213
|
+
|
|
214
|
+
| 右侧栏形态(窄) | 右侧栏全屏 |
|
|
215
|
+
| --- | --- |
|
|
216
|
+
|  |  |
|
|
217
|
+
|
|
218
|
+
| 产物预览入口 | 设置 |
|
|
219
|
+
| --- | --- |
|
|
220
|
+
|  |  |
|
|
221
|
+
|
|
222
|
+
| 1280 宽窗口 | |
|
|
223
|
+
| --- | --- |
|
|
224
|
+
|  | |
|
|
225
|
+
|
|
226
|
+
> 以上截图来自一套完全虚构的演示数据(虚构工作区 / 会话 / 任务),不含任何真实用户或工作区信息。
|
|
227
|
+
|
|
228
|
+
## 兼容性
|
|
229
|
+
|
|
230
|
+
| 项 | 要求 |
|
|
231
|
+
| --- | --- |
|
|
232
|
+
| DeepSeek Harness | `>= 0.2.1-rc.5 < 0.3.0`(在 0.2.1-rc.5 桌面版验证) |
|
|
233
|
+
| Node.js | `>= 22.19.0`(插件使用内置 `node:zlib` 的 zstd API) |
|
|
234
|
+
| 平台 | macOS 桌面版已验证;其他桌面平台理论可用但未逐一验证 |
|
|
235
|
+
| 第三方依赖 | 无(插件与工具脚本均为零依赖) |
|
|
236
|
+
|
|
237
|
+
> 插件依赖 DSH 的第三方插件接口,DSH 大版本升级可能带来不兼容。升级 DSH 后如入口消失,先重装插件;看板数据不会丢失。
|
|
238
|
+
|
|
239
|
+
## 常见问题
|
|
240
|
+
|
|
241
|
+
**Q:左侧栏没有「任务看板」?**
|
|
242
|
+
A:按 `Cmd+R` 刷新窗口;仍没有则重启 DSH。仍没有请查看 DSH 插件页的诊断信息(插件加载失败会提示原因)。
|
|
243
|
+
|
|
244
|
+
**Q:卡片没有更新 / 一直是旧状态?**
|
|
245
|
+
A:点右上角扫描按钮手动触发;或检查设置中的「自动扫描」是否开启。
|
|
246
|
+
|
|
247
|
+
**Q:AI 判断错了怎么办?**
|
|
248
|
+
A:点开卡片直接改字段(编辑即锁定);也可以在卡片菜单里「重新研判」,让 AI 重新分析该任务的来源会话。
|
|
249
|
+
|
|
250
|
+
**Q:不想让某些工作区进看板?**
|
|
251
|
+
A:看板右上角「⋯ → 设置」→ 排除工作区(可多选)。
|
|
252
|
+
|
|
253
|
+
**Q:会消耗我多少额度?**
|
|
254
|
+
A:扫描时对**有变化的**会话各调用一次 `deepseek-flash`;看板设置页可查看今日调用数与 tokens。关闭 AI 后完全零额度。
|
|
255
|
+
|
|
256
|
+
**Q:数据在哪里?卸载会丢吗?**
|
|
257
|
+
A:`~/.dsh/storages/super-kanban/`(`state.json` / `sessions-cache.json` / `backups/`)。卸载插件不删除数据。
|
|
258
|
+
|
|
259
|
+
**Q:能导出吗?**
|
|
260
|
+
A:看板右上角「⋯ → 设置」→ 导出 JSON,下载 `super-kanban-YYYYMMDD.json`。
|
|
261
|
+
|
|
262
|
+
## 开发与贡献
|
|
263
|
+
|
|
264
|
+
- 零第三方依赖;`node --test` 测试;`scripts/` 下提供校验、隐私扫描与市场索引生成脚本。
|
|
265
|
+
- 常用命令:
|
|
266
|
+
|
|
267
|
+
```bash
|
|
268
|
+
npm test # 单元测试
|
|
269
|
+
npm run validate # 包清单、Cordis patch、文件与市场索引校验
|
|
270
|
+
npm run check:privacy # 扫描个人路径 / 凭证 / 会话 id 等敏感内容
|
|
271
|
+
npm run market:index # 重新生成 docs/index.json
|
|
272
|
+
```
|
|
273
|
+
|
|
274
|
+
- 开发环境搭建、目录结构与调试方法见 [CONTRIBUTING.md](CONTRIBUTING.md) 与 [docs/DEVELOPMENT.md](docs/DEVELOPMENT.md)。
|
|
275
|
+
- 架构说明见 [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md),接口契约见 [docs/CONTRACT.md](docs/CONTRACT.md),视觉规范见 [docs/DESIGN.md](docs/DESIGN.md)。
|
|
276
|
+
- 发布与分发流程(市场索引、npm、Git)见 [docs/MARKET.md](docs/MARKET.md)。
|
|
277
|
+
- 安全问题请按 [SECURITY.md](SECURITY.md) 私下报告,不要开公开 issue。
|
|
278
|
+
|
|
279
|
+
## License
|
|
280
|
+
|
|
281
|
+
[MIT](LICENSE) © topmindspace
|