@zaclinley/dsh-mailharbor 0.16.0 → 0.17.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 +26 -0
- package/README.md +18 -18
- package/README.zh.md +1 -1
- package/lib/client.js +248 -39
- package/lib/client.js.map +3 -3
- package/lib/index.js +48 -5
- package/lib/index.js.map +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.17.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 05f79b0: Structured mail filters.
|
|
8
|
+
|
|
9
|
+
- Filter the list by sender name/address, a start and end date, and whether the
|
|
10
|
+
mail has attachments; combine with the existing unread filter.
|
|
11
|
+
- The filter popover opens next to the toolbar and stays inside the panel at
|
|
12
|
+
phone widths; 重置 clears all conditions.
|
|
13
|
+
- Filtering happens in SQLite, so it works across the whole local backup rather
|
|
14
|
+
than only the loaded page.
|
|
15
|
+
|
|
16
|
+
## 0.16.1
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- 18d718b: Attachment previews and drag/drop uploads.
|
|
21
|
+
|
|
22
|
+
- Clicking an image, PDF, plain text or JSON attachment opens an in-app preview
|
|
23
|
+
with a download action instead of navigating away.
|
|
24
|
+
- Attachments are served inline only for safe preview types, with a sandbox CSP
|
|
25
|
+
and `nosniff`; everything else keeps `Content-Disposition: attachment`.
|
|
26
|
+
- The composer accepts dropped files and pasted screenshots.
|
|
27
|
+
- Mail rows use `content-visibility` so very long folders skip off-screen layout.
|
|
28
|
+
|
|
3
29
|
## 0.16.0
|
|
4
30
|
|
|
5
31
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -15,27 +15,27 @@ 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.
|
|
18
|
+
- Status: **v0.17.0 — local-first mail workspace with background IMAP sync, structured filters, AI search, projects and a Kanban task board**.
|
|
19
19
|
|
|
20
20
|
## Features
|
|
21
21
|
|
|
22
|
-
| Area | What you get
|
|
23
|
-
| ----------- |
|
|
24
|
-
| Accounts | Any IMAP/SMTP mailbox with a password or app password; per-account data directory; accounts and folders in the left column
|
|
25
|
-
| Local-first | Opens from the local SQLite backup instantly, then syncs new mail in the background; progress popover with start/stop
|
|
26
|
-
| Browse | Collapsible account/folder column, paging, subject conversations loaded across the whole backup, AI search over the local index
|
|
27
|
-
| Actions | Star, archive, delete-to-trash, move to any folder; bulk read/unread/star/archive/delete
|
|
28
|
-
| Reader | Sandboxed HTML with a strict CSP, inline cid images as data URLs, remote images blocked, plain-text fallback, attachment download
|
|
29
|
-
| Compose | Rich text, attachments, reply/reply-all/forward with `In-Reply-To` and `References`, contact autocomplete, per-account signatures, explicit send confirmation |
|
|
30
|
-
| Drafts | Local drafts mirrored to IMAP Drafts on save/close, cleaned up on discard and send
|
|
31
|
-
| AI | Per-mail workspace: summary (brief/standard/detailed), reply, translation, Q&A, writing style; inline expansion; AI search; compose draft/polish/shorten
|
|
32
|
-
| Projects | Project folder (`BRIEF.md`, `CONVERSATION.md`) registered in DSH Workspaces; append AI records, add mails, open in Finder; delete folder/workspace when asked
|
|
33
|
-
| Tasks | Kanban board (待处理 / 进行中 / 已完成 / 终止) with due/priority/owner/project, source-mail links and AI extraction
|
|
34
|
-
| Credentials | macOS Keychain, libsecret, Windows Credential Locker; secrets never enter `config.json`
|
|
35
|
-
| Migration | Export/import a JSON profile: accounts without secrets, signature and reading settings
|
|
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, reading, list size, AI model and writing style, project root
|
|
38
|
-
| Layout | Responsive shell: the folder column becomes a drawer, list/reader switch to one pane, AI rail becomes an overlay, reader actions collapse behind 更多
|
|
22
|
+
| Area | What you get |
|
|
23
|
+
| ----------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
24
|
+
| Accounts | Any IMAP/SMTP mailbox with a password or app password; per-account data directory; accounts and folders in the left column |
|
|
25
|
+
| Local-first | Opens from the local SQLite backup instantly, then syncs new mail in the background; progress popover with start/stop |
|
|
26
|
+
| Browse | Collapsible account/folder column, paging, subject conversations loaded across the whole backup, AI search over the local index |
|
|
27
|
+
| Actions | Star, archive, delete-to-trash, move to any folder; bulk read/unread/star/archive/delete |
|
|
28
|
+
| Reader | Sandboxed HTML with a strict CSP, inline cid images as data URLs, remote images blocked, plain-text fallback, attachment download |
|
|
29
|
+
| Compose | Rich text, attachments, reply/reply-all/forward with `In-Reply-To` and `References`, contact autocomplete, per-account signatures, drag/drop or paste attachments, explicit send confirmation |
|
|
30
|
+
| Drafts | Local drafts mirrored to IMAP Drafts on save/close, cleaned up on discard and send |
|
|
31
|
+
| AI | Per-mail workspace: summary (brief/standard/detailed), reply, translation, Q&A, writing style; inline expansion; AI search; compose draft/polish/shorten |
|
|
32
|
+
| Projects | Project folder (`BRIEF.md`, `CONVERSATION.md`) registered in DSH Workspaces; append AI records, add mails, open in Finder; delete folder/workspace when asked |
|
|
33
|
+
| Tasks | Kanban board (待处理 / 进行中 / 已完成 / 终止) with due/priority/owner/project, source-mail links and AI extraction |
|
|
34
|
+
| Credentials | macOS Keychain, libsecret, Windows Credential Locker; secrets never enter `config.json` |
|
|
35
|
+
| Migration | Export/import a JSON profile: accounts without secrets, signature and reading settings |
|
|
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, reading, list size, AI model and writing style, project root |
|
|
38
|
+
| Layout | Responsive shell: the folder column becomes a drawer, list/reader switch to one pane, AI rail becomes an overlay, reader actions collapse behind 更多 |
|
|
39
39
|
|
|
40
40
|
## Screenshots
|
|
41
41
|
|
package/README.zh.md
CHANGED
|
@@ -14,7 +14,7 @@ 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.
|
|
17
|
+
- 状态:**v0.17.0 — 本地优先 + 后台同步 + AI 搜索 + 项目 + 看板任务 + 响应式布局**。
|
|
18
18
|
|
|
19
19
|
## 功能
|
|
20
20
|
|