@zaclinley/dsh-mailharbor 0.5.1 → 0.6.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 CHANGED
@@ -1,5 +1,20 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.6.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 4367e79: Mailbox sidebar, Kanban tasks and a faster server mode.
8
+
9
+ - The mail panel gains a left column with the unified inbox, accounts and the
10
+ selected account's folders; server realtime is now the default view.
11
+ - Server mail opens much faster: the folder list is cached, the IMAP session is
12
+ kept warm with a periodic NOOP, pages are cached briefly, and folder counts
13
+ are filled from SELECT instead of issuing one STATUS per folder.
14
+ - The task panel is a Kanban board (待处理 / 进行中 / 已完成) with drag & drop,
15
+ richer cards and a redesigned task editor.
16
+ - CalDAV support was removed; tasks are local-only.
17
+
3
18
  ## 0.5.1
4
19
 
5
20
  ### Patch Changes
package/README.md CHANGED
@@ -15,25 +15,26 @@ and read state.
15
15
  - Package: `@zaclinley/dsh-mailharbor`
16
16
  - Requirements: **DSH `>=0.2.2-0 <0.3.0`**, Node **>=24.9** (the runtime bundled with DSH is fine)
17
17
  - License: MIT
18
- - Status: **v0.5.0 — mail workspace, AI workspace, projects and tasks** (summary, reply, translate, Q&A, writing style, project workspaces with the AI conversation, a task panel with CalDAV). OAuth2 is next (see [Roadmap](#roadmap)).
18
+ - Status: **v0.6.0 — mail workspace with a folder sidebar, AI workspace, projects and a Kanban task board**. Server mail is the default view and now opens from a warm, cached session. OAuth2 is next (see [Roadmap](#roadmap)).
19
19
 
20
20
  ## Features
21
21
 
22
- | Area | What you get |
23
- | ------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
24
- | Accounts | Any IMAP/SMTP mailbox; password or app password; per-account data directory; switch accounts from the top bar |
25
- | Unified inbox | A combined list and search across every account, with a per-message account badge |
26
- | Local backup | Incremental IMAP → SQLite backup with UIDVALIDITY handling, batched transactions, content-addressed attachments and a trigram full-text index |
27
- | Browse | Folders, paging, search across subject/sender/recipients/body/attachment names |
28
- | Live server | Newest messages straight from IMAP with paging, plus a **backed up / not backed up** marker per row |
29
- | Reader | Sandboxed HTML rendering with a strict CSP, remote images off by default, plain-text fallback, attachment download |
30
- | Compose | Rich-text body, attachments (8 MB), reply / reply-all / forward with `In-Reply-To` and `References`, drafts, explicit send confirmation |
31
- | Drafts | Save, list in the **Drafts** folder, reopen to continue editing, delete |
32
- | AI | Chinese summary (结论 / 需要你做什么 / 关键信息 / 建议回复要点), AI reply with optional instructions and 中/EN, one-click translation of a draft, writing style learned from sent mail |
33
- | Credentials | macOS Keychain, libsecret on Linux, Windows Credential Locker; passwords never enter `config.json` |
34
- | Agent tools | `mail_status`, `mail_list`, `mail_read`, `mail_search`, `mail_drafts`, `mail_draft`, `mail_backup` |
35
- | Settings | DSH Settings → MailHarbor: accounts, servers, checks, signature, read behaviour, list size, AI model and writing style |
36
- | Updates | A real build pipeline, GitHub Actions CI, Changesets versioning, and npm provenance |
22
+ | Area | What you get |
23
+ | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
24
+ | Accounts | Any IMAP/SMTP mailbox; password or app password; per-account data directory; accounts and folders in the left column |
25
+ | Unified inbox | A combined list and search across every account, with a per-message account badge |
26
+ | Local backup | Incremental IMAP → SQLite backup with UIDVALIDITY handling, batched transactions, content-addressed attachments and a trigram full-text index |
27
+ | Browse | Folders with counts, paging, search across subject/sender/recipients/body/attachment names |
28
+ | Live server | **Default view.** Newest messages straight from IMAP with paging; the folder list is cached and the IMAP session stays warm, so reopening is instant |
29
+ | Reader | Sandboxed HTML rendering with a strict CSP, remote images off by default, plain-text fallback, attachment download |
30
+ | Compose | Rich-text body, attachments (8 MB), reply / reply-all / forward with `In-Reply-To` and `References`, drafts, explicit send confirmation |
31
+ | Drafts | Save, list in the **Drafts** folder, reopen to continue editing, delete |
32
+ | AI | Persistent per-mail workspace: Chinese summary, reply (中/EN), translation, free-form Q&A, writing style; Markdown answers; cards convert into a reply, draft or body text; composer draft/polish/shorten with a version stack |
33
+ | Projects | Turn a mail and its whole AI conversation into a project folder (`BRIEF.md`, `CONVERSATION.md`), registered in DSH Workspaces with a starting session; append later AI records and add more mails from the list |
34
+ | Tasks | Kanban board (待处理 / 进行中 / 已完成) with drag & drop, due/priority/owner/project, source-mail links, and AI extraction from the current mail |
35
+ | Credentials | macOS Keychain, libsecret on Linux, Windows Credential Locker; passwords never enter `config.json` |
36
+ | Agent tools | `mail_status`, `mail_list`, `mail_read`, `mail_search`, `mail_drafts`, `mail_draft`, `mail_backup` |
37
+ | Settings | DSH Settings → MailHarbor: accounts, servers, checks, signature, read behaviour, list size, AI model and writing style, default project root |
37
38
 
38
39
  ## Screenshots
39
40
 
@@ -181,9 +182,11 @@ must be able to publish `@zaclinley/*`. See [CONTRIBUTING.md](CONTRIBUTING.md).
181
182
  | **0.1.x** | Core mail workspace, backup, tools, settings, publishing pipeline |
182
183
  | 0.2 | UI overhaul, migration from `dsh-plugin-mail`, installer polish |
183
184
  | 0.3 | Drafts, unified inbox, server paging, AI summary/reply/translate, writing style |
184
- | 0.4 | OAuth2 + XOAUTH2 (Gmail loopback/PKCE, Microsoft device code), token refresh |
185
- | 0.5 | CalDAV tasks, Markdown/PDF reports |
186
- | Later | Export/import, onboarding, richer attachments |
185
+ | 0.4 | Persistent AI workspace, composer version stack |
186
+ | 0.5 | Projects from mail, task panel |
187
+ | 0.6 | Mailbox sidebar, Kanban tasks, faster server browsing |
188
+ | 0.7 | OAuth2 + XOAUTH2 (Gmail loopback/PKCE, Microsoft device code), token refresh |
189
+ | Later | Reports, export/import, onboarding, richer attachments |
187
190
 
188
191
  ## Star history
189
192
 
package/README.zh.md CHANGED
@@ -14,25 +14,26 @@ MailHarbor 在 DSH 左侧栏加一个「邮件」入口,主面板里是完整
14
14
  - 包名:`@zaclinley/dsh-mailharbor`
15
15
  - 要求:**DSH `>=0.2.2-0 <0.3.0`**,Node **>=24.9**(DSH 自带运行时即可)
16
16
  - 许可证:MIT
17
- - 状态:**v0.5.0 — 邮件工作区 + AI 工作台 + 项目与任务**(摘要、回复、翻译、自由问答、写作风格、项目工作空间、任务面板与 CalDAV)。OAuth2 是下一步(见[路线图](#路线图))。
17
+ - 状态:**v0.6.0 — 带账号/文件夹侧栏的邮件工作区 + AI 工作台 + 项目 + 看板任务**。默认显示服务器实时,文件夹与连接都有缓存,重复打开几乎即时。OAuth2 是下一步(见[路线图](#路线图))。
18
18
 
19
19
  ## 功能
20
20
 
21
- | 区域 | 能做什么 |
22
- | ---------- | ----------------------------------------------------------------------------------------------------------------------------------- |
23
- | 账号 | 任意 IMAP/SMTP 邮箱;密码或应用专用密码;每账号独立数据目录;顶栏切换 |
24
- | 统一收件箱 | 所有账号合并列表与搜索,每封标注所属账号 |
25
- | 本地备份 | 增量 IMAP → SQLite:UIDVALIDITY 处理、分批事务、内容寻址附件、trigram 全文索引 |
26
- | 浏览 | 文件夹、分页、按主题/发件人/收件人/正文/附件名搜索 |
27
- | 服务器实时 | 直接从 IMAP 读取最新邮件,支持加载更多,每行标注「已备份 / 未备份」 |
28
- | 阅读 | sandbox iframe + 严格 CSP 渲染 HTML,远程图片默认拦截,纯文本回退,附件下载 |
29
- | 写邮件 | 富文本正文、附件(8 MB)、回复/全部回复/转发(`In-Reply-To` 与 `References`)、草稿、二次确认后发送 |
30
- | 草稿 | 存草稿后在「草稿」文件夹里列出,点开继续编辑、可删除 |
31
- | AI | 中文摘要(结论 / 需要你做什么 / 关键信息 / 建议回复要点)、AI 回复(可写要点、选中/英)、正文一键中英互译、从已发送邮件学习写作风格 |
32
- | 凭据 | macOS 钥匙串、Linux libsecret、Windows Credential Locker;密码不写入 `config.json` |
33
- | Agent 工具 | `mail_status`、`mail_list`、`mail_read`、`mail_search`、`mail_drafts`、`mail_draft`、`mail_backup` |
34
- | 设置页 | DSH 设置 → MailHarbor:账号与服务器、连接检查、签名、已读行为、列表数量、AI 模型与写作风格 |
35
- | 工程化 | 真实构建链、GitHub Actions CI、Changesets 版本管理、npm provenance |
21
+ | 区域 | 能做什么 |
22
+ | ---------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
23
+ | 账号 | 任意 IMAP/SMTP 邮箱;密码或应用专用密码;每账号独立数据目录;账号与文件夹在左侧一栏里 |
24
+ | 统一收件箱 | 所有账号合并列表与搜索,每封标注所属账号 |
25
+ | 本地备份 | 增量 IMAP → SQLite:UIDVALIDITY 处理、分批事务、内容寻址附件、trigram 全文索引 |
26
+ | 浏览 | 文件夹(带数量)、分页、按主题/发件人/收件人/正文/附件名搜索 |
27
+ | 服务器实时 | **默认视图**。直接从 IMAP 读最新邮件;文件夹列表有缓存、连接保持热态,重复打开几乎即时 |
28
+ | 阅读 | sandbox iframe + 严格 CSP 渲染 HTML,远程图片默认拦截,纯文本回退,附件下载 |
29
+ | 写邮件 | 富文本正文、附件(8 MB)、回复/全部回复/转发(`In-Reply-To` 与 `References`)、草稿、二次确认后发送 |
30
+ | 草稿 | 存草稿后在「草稿」文件夹里列出,点开继续编辑、可删除 |
31
+ | AI | 右侧常驻工作台:中文摘要、AI 回复(中/英)、翻译、自由问答、写作风格;回答按 Markdown 渲染;卡片可转为回复、草稿或正文;写信页支持起草/润色/缩短与版本栈 |
32
+ | 项目 | 把一封邮件连同整个 AI 对话变成项目文件夹(`BRIEF.md`、`CONVERSATION.md`),自动注册到 DSH Workspaces 并开一个会话;之后可追加 AI 记录、从列表加更多邮件 |
33
+ | 任务 | 看板(待处理 / 进行中 / 已完成),支持拖拽改状态,含截止、优先级、负责人、项目、来源邮件;可从当前邮件用 AI 提取任务 |
34
+ | 凭据 | macOS 钥匙串、Linux libsecret、Windows Credential Locker;密码不写入 `config.json` |
35
+ | Agent 工具 | `mail_status`、`mail_list`、`mail_read`、`mail_search`、`mail_drafts`、`mail_draft`、`mail_backup` |
36
+ | 设置页 | DSH 设置 → MailHarbor:账号与服务器、连接检查、签名、已读行为、列表数量、AI 模型与写作风格、默认项目目录 |
36
37
 
37
38
  ## 界面
38
39
 
@@ -174,9 +175,11 @@ CI 会在 `main` 上通过 `.github/workflows/release.yml` 发布;仓库需要
174
175
  | **0.1.x** | 核心邮件工作区、备份、工具、设置、发布流水线 |
175
176
  | 0.2 | 界面重做、从 `dsh-plugin-mail` 迁移数据、安装体验 |
176
177
  | 0.3 | 草稿、统一收件箱、服务器分页、AI 摘要/回复/翻译、写作风格 |
177
- | 0.4 | OAuth2 + XOAUTH2(Gmail loopback/PKCE、Microsoft 设备码)、token 刷新 |
178
- | 0.5 | CalDAV 任务、Markdown/PDF 报告 |
179
- | 以后 | 导出/导入、引导流程、更完整的附件支持 |
178
+ | 0.4 | 常驻 AI 工作台、写信版本栈 |
179
+ | 0.5 | 从邮件建项目、任务面板 |
180
+ | 0.6 | 账号/文件夹侧栏、看板任务、服务器浏览提速 |
181
+ | 0.7 | OAuth2 + XOAUTH2(Gmail loopback/PKCE、Microsoft 设备码)、token 刷新 |
182
+ | 以后 | 报告、导出/导入、引导流程、更完整的附件支持 |
180
183
 
181
184
  ## 许可证
182
185