Skip to content

Commit 6f9d323

Browse files
docs: update roadmap for NMH dual-path IPC
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent ccfabb1 commit 6f9d323

4 files changed

Lines changed: 20 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ See the [docs/](docs/) directory for detailed specifications:
153153
- [x] Active Key Capture (auto-detect keys from web pages)
154154
- [x] Platform-specific capture strategies (8 platforms tested, SSoT architecture)
155155
- [x] Per-platform CSS isolation + clipboard writeText interception
156-
- [ ] Native Messaging Host for Chrome
156+
- [x] Native Messaging Host dual-path IPC (WS primary + NMH fallback)
157157
- [ ] Smart Key Extraction confirmation dialog
158158
- [ ] Linked Key Groups (sequential paste)
159159
- [ ] API Key rotation & deployment sync

README.zh-TW.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ swift test # 執行測試
153153
- [x] 主動式 Key 截取(網頁自動偵測擷取,四層掃描)
154154
- [x] 各平台專屬截取策略(8 平台 E2E 測試通過,SSoT 架構)
155155
- [x] Per-platform CSS 隔離 + clipboard writeText 攔截
156-
- [ ] Chrome Native Messaging Host
156+
- [x] Native Messaging Host 雙路 IPC(WS primary + NMH fallback)
157157
- [ ] 智慧 Key 擷取確認對話框
158158
- [ ] 關聯 Key 群組(順序貼上)
159159
- [ ] API Key 輪替與部署同步

docs/01-product-spec/roadmap.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
- ~~主動式 Key 截取:四層偵測 + 剪貼簿攔截~~
1919
- ~~依服務提供者自動分類~~
2020
- ~~Per-platform CSS 隔離 + Pre-hide 防閃現~~
21+
- ~~Native Messaging Host 雙路 IPC(WS primary + NMH fallback)~~
2122
- Key 保庫匯入/匯出 ❌
2223

2324
## 第三階段:系統級
@@ -72,6 +73,14 @@
7273
24. E2E 測試 8 平台(GitHub, HuggingFace, GitLab, OpenAI, Anthropic, AI Studio, Google Cloud, AWS)
7374
25. Developer skills(`/analyze-platform`, `/test-capture-flow`
7475

76+
### Phase 6: NMH 雙路 IPC ✅
77+
26. NativeMessagingHost.swift 升級(get_config + WS relay)
78+
27. IPCServer `.nmh` clientType + broadcast 排除
79+
28. service-worker.ts `sendRequest()` 統一分派(WS → NMH fallback)
80+
29. Popup 連線路徑顯示(WebSocket / NMH / Offline)
81+
30. NMHInstaller Core 啟動自動安裝
82+
31. 安全紅線:明文 key 不存入 chrome.storage
83+
7584
## 技術選型
7685

7786
| 元件 | 建議方案 |

docs/en/01-product-spec/roadmap.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ The minimum viable product focuses on the **VS Code + Menu Bar** experience:
1818
- ~~Active key capture: 4-layer detection + clipboard interception~~
1919
- ~~Automatic categorization by service provider~~
2020
- ~~Per-platform CSS isolation + pre-hide anti-flash~~
21+
- ~~Native Messaging Host dual-path IPC (WS primary + NMH fallback)~~
2122
- Key vault import/export ❌
2223

2324
## Phase 3: System-Level
@@ -72,6 +73,14 @@ The minimum viable product focuses on the **VS Code + Menu Bar** experience:
7273
24. E2E tested 8 platforms (GitHub, HuggingFace, GitLab, OpenAI, Anthropic, AI Studio, Google Cloud, AWS)
7374
25. Developer skills (`/analyze-platform`, `/test-capture-flow`)
7475

76+
### Phase 6: NMH Dual-path IPC ✅
77+
26. NativeMessagingHost.swift upgrade (get_config + WS relay)
78+
27. IPCServer `.nmh` clientType + broadcast exclusion
79+
28. service-worker.ts `sendRequest()` unified dispatch (WS → NMH fallback)
80+
29. Popup connection path display (WebSocket / NMH / Offline)
81+
30. NMHInstaller auto-install on Core startup
82+
31. Security red line: plaintext keys not stored in chrome.storage
83+
7584
## Technology Choices
7685

7786
| Component | Recommended Approach |

0 commit comments

Comments
 (0)