dsh-smart-planner 0.0.0-stage → 1.3.5
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/LICENSE +21 -0
- package/README.md +63 -2
- package/assets/icon-180.png +0 -0
- package/client.js +2625 -0
- package/cordis.patch.yml +4 -0
- package/icon.svg +3 -0
- package/index.js +1329 -0
- package/locale/en.json +7 -0
- package/locale/zh.json +7 -0
- package/package.json +62 -3
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 The dsh-smart-planner authors
|
|
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,64 @@
|
|
|
1
|
-
#
|
|
1
|
+
# 智能任务规划助手 · dsh-smart-planner
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
A quiet task planner for DeepSeek Harness. It turns a project name, due date, task type, level, total hours, and buffer choice into staged daily tasks, then keeps a fixed assistant chat and a small bird entry beside every conversation title. Tasks are kept in date order automatically.
|
|
4
|
+
|
|
5
|
+
## 安装
|
|
6
|
+
|
|
7
|
+
在 DeepSeek Harness 的 **Plugins → Plugin Market** 中搜索「智能任务规划助手」或 `dsh-smart-planner`,点击安装。也可以使用 CLI:
|
|
8
|
+
|
|
9
|
+
```sh
|
|
10
|
+
dsh plugin --profile web add dsh-smart-planner
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
要求:DSH `>=0.2.2-rc.3`,Web UI。
|
|
14
|
+
|
|
15
|
+
## 功能
|
|
16
|
+
|
|
17
|
+
- **任务列表**:新建项目;按论文、英语备考、汇报、事务、其他类型拆阶段;A/B/C/D 四级;可改标题、时长、固定日期;项目与阶段都按日期自动排序。
|
|
18
|
+
- **每日计划**:逐日查看已排/上限/剩余、高优先级数量;未完成任务可勾选完成。
|
|
19
|
+
- **容量看板**:从今天起逐日显示日期、已排/上限、剩余、内容;支持未来 7 天、未来一个月、全部;缓冲日标记。
|
|
20
|
+
- **项目看板**:项目完成率、剩余天数、阶段完成情况;已完成项目三天后自动清理。
|
|
21
|
+
- **复盘记录**:晚间复盘;支持补昨日复盘、周回顾、月回顾;建议会根据 16 型人格偏好调整措辞;复盘与早间提醒采用横向两行排版,不逐字竖排。
|
|
22
|
+
- **功勋列表**:每完成一个项目,收获一枚手绘果实;果实与飞鸟使用同一套赭黄 / 青绿 / 墨褐三色。
|
|
23
|
+
- **等级说明**:鼠标悬停或键盘聚焦 A-D 方块,显示完整四象限解释。
|
|
24
|
+
- **纸色主题**:暖纸、无心绿、余白、雀梅、青古五种页面底色;默认暖纸,只改底色,不新增强调色。
|
|
25
|
+
- **固定会话**:首次打开查找或创建置顶会话「智能任务规划助手」;如果有多个同名会话,会请你选择。
|
|
26
|
+
- **飞鸟入口**:每个对话标题前有一只飞鸟。单击展开今日任务,勾选即完成;双击打开固定会话。
|
|
27
|
+
|
|
28
|
+
## 首次打开会发生什么
|
|
29
|
+
|
|
30
|
+
- 插件会查找标题为「智能任务规划助手」的会话;找到就复用并置顶,找不到才新建。
|
|
31
|
+
- 如果该会话是空白会话,插件会发出一条欢迎请求,让助手回复问候和输入格式。这会消耗**一次模型调用**。
|
|
32
|
+
- 固定会话是普通 DSH 会话,不是操作系统级独立窗口。
|
|
33
|
+
- 飞鸟来自 `conversation.header.leading`;任务浮层只覆盖一小块区域,单击外部或再次点鸟即可收起。
|
|
34
|
+
|
|
35
|
+
## 数据与隐私
|
|
36
|
+
|
|
37
|
+
- 计划和复盘数据保存在本机 `~/.dsh/smart-planner/data.json`。
|
|
38
|
+
- 纸色、页签顺序、固定会话选择保存在浏览器本地存储。
|
|
39
|
+
- 插件没有第三方遥测或上传;欢迎问候通过 DSH 当前配置的模型完成。
|
|
40
|
+
- 固定会话和任务勾选使用 DSH 的 Session/Workspace 服务。
|
|
41
|
+
|
|
42
|
+
## 限制
|
|
43
|
+
|
|
44
|
+
- 提醒和复盘需要 DSH Web 页面处于打开状态。
|
|
45
|
+
- 首次欢迎会消耗一次模型调用;如果模型不可用,会退回到会话上方的提示条。
|
|
46
|
+
- 「留 1 天缓冲」只在截止日期前至少还有一天时生效;截止太近时不会创建缓冲日。
|
|
47
|
+
- 自动排期会尊重人工固定日期;固定日期优先于每日容量上限。
|
|
48
|
+
- 补复盘依赖当天保存的 `dayPlans` 快照,早于启用该功能的日期无法补。
|
|
49
|
+
|
|
50
|
+
## 开发
|
|
51
|
+
|
|
52
|
+
这个包是纯 JavaScript 的 DSH bundle:
|
|
53
|
+
|
|
54
|
+
- `dsh.bundle.patch` → `cordis.patch.yml`
|
|
55
|
+
- `index.js`:Host 工具、数据 API、排期逻辑
|
|
56
|
+
- `client.js`:六个视图、固定会话、飞鸟、任务浮层
|
|
57
|
+
- `locale/*.json`:中英文文案
|
|
58
|
+
- `icon.svg` / `assets/icon-180.png`:插件与市场图标
|
|
59
|
+
|
|
60
|
+
无需构建步骤。
|
|
61
|
+
|
|
62
|
+
## License
|
|
63
|
+
|
|
64
|
+
MIT
|
|
Binary file
|