• v0.7.0 6e638b31b5

    0.7.0 Stable

    svc-agent-writer released this 2026-11-01 08:41:14 +00:00 | 118 commits to main since this release

    No known key found for this signature in database

    One search row per message across accounts, mail_attachment, results copied across accounts, and a health probe that no long read can hold (#59, #74, #86, #90).

    Image: git.groupthink.asia/dev/imap-mailmind-mcp:0.7.0@sha256:03a0d09413bca741e6df2edf9f19582cc5b36cfe71df768d09cb20a4ca8598f9 (linux/amd64, config sha256:1bd005f589c4…).

    Added

    • mail_attachment (#74, #93). Read scope. It returns the text of one attachment by its part number from mail_read, with file, type, size and status, bounded by max_chars and wrapped as untrusted data.
      • With [attachments] absent, it answers unsupported.
      • An unknown part, or a part with no text, answers not_found with its status.
    • Copies collapse (#59, #92). One message held as several rows, in two accounts or in two mailboxes of one IMAP account, is matched by its Message-ID, From and Date, all present and all equal.
      • mail_search shows it once, in every mode. Its snippet line ends with copies=N, and total counts messages. The row shown is the copy in an inbox, else the lowest row id, among the rows that pass the filters.
      • similar_to leaves out every copy of its source.
      • mail_people, mail_evidence and mail_triage count a message once.
      • mail_thread joins the thread in another account through a copy of a member. Each row then ends with its account. References alone never join two accounts.
    • Results copied across accounts (#86, #94). The triage class and score, the vector and the attachment text are copied by the same key, from any account of the instance. A forwarded or Cc'd copy costs no Jev call and no model run. ADRs 0003, 0005, 0006 and 0007 are amended to match.

    Changed

    • mail_read numbers its attachment list. Each line reads N file type size status. The status is the stored one from ADR 0007 §4, pending before the backlog reaches the part, or off without [attachments]. An agent prompt that parsed the old name (type, size) form needs a change.
    • mail_search output has one row per message, as above. A store without copies gives the same output as 0.6.0.
    • /healthz and /healthz/sync (#90, #95) read only the last successful sync per account. The read uses its own short read-only connection, takes no store lock, and runs in a worker thread. The probe answered in 0.79 ms median on 200,000 synthetic messages. The response bodies do not change.

    Known cost

    • A search with many hits costs about 4.5 times more than in 0.6.0: 164 ms to 742 ms for an unfiltered search on 210,000 synthetic rows. A search with few hits costs the same. #96 tracks it.

    Upgrade

    • No schema version change. The sync worker adds one index, messages_copies, on its next start. An older binary ignores it, so a rollback needs nothing.
    • No config change.
    • An instance that moved to TCP probes because of the /healthz timeouts can go back to the HTTP probes in the base. Check first, in the pod, that /healthz answers in under 0.1 s.
    Downloads