Repository navigation
feat(vika): configure email mailbox with compatible identities - #7144
Merged
ZaynJarvis merged 2 commits intoNov 6, 2026
Merged
ZaynJarvis merged 2 commits into
ZaynJarvis merged 2 commits into
Conversation
11 of 15 tasks
11 of 15 tasks
nexw
added a commit
to nexw/OpenViking
that referenced
this pull request
Nov 9, 2026
The branch had drifted 25 commits behind volcengine/openviking's feat/vika since volcengine#7012: the OpenViking tool surface work (volcengine#7079), per-instance OV users and peers (volcengine#7092), timers in OV (volcengine#7016), explicitSilence defaults (volcengine#7110), image-heavy turns (volcengine#7113), stale implicit turns (volcengine#7021), the email connector (volcengine#7144/volcengine#7145/volcengine#7148), Feishu chat scoping (volcengine#7149) and the Windows preview chain (volcengine#7218-volcengine#7245). Conflicts were all in files the superseded local commit a709961 touched; resolution takes the upstream side, because volcengine#7079 replaced that design: OpenViking tools now reach every runtime through the Core ActionService (ov-tools.mjs), so the durable host keeps registering durableCodingTools() and no longer wires its own MCP catalogue. The local-only durable-ov-tools.mjs, its test, the @earendil-works/pi-mcp dependency and DURABLE_OV are dropped with it; README.md, install.md and docs/pi-durable-runtime.md take the upstream (English) rewrites. vika/ is now byte-identical to origin-https/feat/vika; the merge keeps origin/main already merged in.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Mailbox rules can deliver messages outside INBOX, but the email connector could only monitor INBOX. Add an optional
imap.mailboxaccount setting, defaulting to INBOX, with a separate persisted cursor and message/archive identity for each folder. Existing INBOX event IDs, reply records and archive paths remain compatible.Names retain case and spaces (only INBOX is case-insensitive); IMAP4rev1 uses modified UTF-7. Monitoring is read-only and a first visit still starts with new mail, not a historical import.
First of three mailbox-monitoring changes: explicit folder identity, then multi-folder polling, then LIST discovery. Authentication is unchanged; concurrent OAuth PR #7080 touches the same account-loading code and will require integration when merged. No live account credentials used. The follow-up schema fix makes
read_emailaccept both legacy and folder-scoped IDs.Human Involvement
Humans supplied the feature request and three-PR scope. Implementation and code review recorded here were performed by AI agents; no human code-review approval is claimed.
Related Issue
No linked GitHub issue. Related work: #7080. This staged change is #7144 → #7145 → #7148.
Type of Change
Changes Made
The entrypoint is the email account JSON under
imap; the owning modules arevika/packages/daemon/src/email/and theread_emailinput schema. The README documents configuration and compatibility. This PR contains no unrelated authentication or release changes.Testing
Revalidated on Linux at head
444f172. Fromvika/:Focused tests: 28/28 passed, no failures, cancellations, or skips. Syntax and diff checks passed. The full Vika suite, live IMAP providers, macOS, and Windows were not tested for this change; validation uses a scripted IMAP server and local contract tests. Node emits its existing SQLite experimental warning.
Checklist
Additional Notes
The GitHub status-check rollup is empty at this review; local checks are not a green CI result. Before merge, a maintainer must confirm/run the applicable Vika checks and review the stack in order. The repository's Vika workflow matches
vika/**; the general PR workflow excludes this directory. Authentication integration with #7080 remains a merge concern.