@zaclinley/dsh-mailharbor 0.14.0 → 0.15.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 +18 -0
- package/README.md +1 -1
- package/README.zh.md +2 -1
- package/lib/client.js +283 -7
- package/lib/client.js.map +2 -2
- package/lib/index.js +495 -8
- package/lib/index.js.map +4 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.15.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 729a56c: OAuth2 accounts, onboarding and config migration.
|
|
8
|
+
|
|
9
|
+
- OAuth2: Google loopback with PKCE and Microsoft device-code login; access
|
|
10
|
+
tokens refresh in the background and live in the OS keychain (not config).
|
|
11
|
+
- Account creation accepts OAuth2 without a password; the account settings page
|
|
12
|
+
gains an authorize / re-authorize / revoke card.
|
|
13
|
+
- OAuth app configuration (client IDs) is editable in settings.
|
|
14
|
+
- The empty state explains the three onboarding steps, including OAuth vs app
|
|
15
|
+
passwords.
|
|
16
|
+
- Export/import a small JSON profile: accounts (without secrets), signature,
|
|
17
|
+
reading settings and OAuth app config; imports dedupe accounts by email.
|
|
18
|
+
- Live OAuth needs your own client ID; refresh and device polling are covered
|
|
19
|
+
by unit tests with mocked token endpoints.
|
|
20
|
+
|
|
3
21
|
## 0.14.0
|
|
4
22
|
|
|
5
23
|
### Minor Changes
|
package/README.md
CHANGED
|
@@ -15,7 +15,7 @@ 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.15.0 — mail workspace with a collapsible account/folder sidebar, AI search, conversation grouping, projects and a Kanban task board**. Server mail is the default view. OAuth2 is next (see [Roadmap](#roadmap)).
|
|
19
19
|
|
|
20
20
|
## Features
|
|
21
21
|
|
package/README.zh.md
CHANGED
|
@@ -14,12 +14,13 @@ 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.15.0 — 可折叠账号/文件夹侧栏 + AI 搜索 + 会话分组 + 项目 + 看板任务**。默认显示服务器实时。OAuth2 是下一步(见[路线图](#路线图))。
|
|
18
18
|
|
|
19
19
|
## 功能
|
|
20
20
|
|
|
21
21
|
| 区域 | 能做什么 |
|
|
22
22
|
| ---------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
23
|
+
| OAuth2 | Google loopback + PKCE、Microsoft 设备代码流程;令牌存系统钥匙串并后台刷新(需自备 Client ID) |
|
|
23
24
|
| 账号 | 任意 IMAP/SMTP 邮箱;密码或应用专用密码;每账号独立数据目录;账号与文件夹在左侧一栏里 |
|
|
24
25
|
| 本地备份 | 增量 IMAP → SQLite:UIDVALIDITY 处理、分批事务、内容寻址附件、trigram 全文索引 |
|
|
25
26
|
| 浏览 | 可折叠的账号/文件夹左栏、分页、按主题分组会话,以及能理解一句话的 AI 搜索(例如「王敏上个月发的报价」) |
|