proton-mail-bridge-client 2.1.46 → 2.1.47
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/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/services/simple-imap-service.d.ts.map +1 -1
- package/dist/services/simple-imap-service.js +24 -10
- package/dist/services/simple-imap-service.js.map +1 -1
- package/dist/utils/helpers.d.ts +9 -0
- package/dist/utils/helpers.d.ts.map +1 -1
- package/dist/utils/helpers.js +69 -0
- package/dist/utils/helpers.js.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -586,7 +586,7 @@ const TOOLS = [
|
|
|
586
586
|
},
|
|
587
587
|
{
|
|
588
588
|
name: "search_emails",
|
|
589
|
-
description: "Search emails via live IMAP filters, across ALL configured accounts by default (accounts are queried one at a time; pass `account` = address or slug to search only one; non-primary ids are prefixed '<slug>::'), with optional local post-processing for attachments and labels. Use when you need real-time results or must find messages received after the last sync. Prefer search_indexed_emails when the local index is current — it is significantly faster and works even when Bridge IMAP is unavailable. Each email's attachments are metadata only (id/filename/contentType/size/disposition) — use list_attachments or get_email_by_id for full attachment detail. Without `folder` it searches every real folder but not the All Mail / Labels/* / Starred views (they only duplicate mail already in a real folder and made an all-folders search ~3x slower); pass `folder` (e.g. 'Labels/x' or 'All Mail') or `label`/`mailboxRole` to search those.",
|
|
589
|
+
description: "Search emails via live IMAP filters, across ALL configured accounts by default (accounts are queried one at a time; pass `account` = address or slug to search only one; non-primary ids are prefixed '<slug>::'), with optional local post-processing for attachments and labels. Use when you need real-time results or must find messages received after the last sync. Prefer search_indexed_emails when the local index is current — it is significantly faster and works even when Bridge IMAP is unavailable. Each email's attachments are metadata only (id/filename/contentType/size/disposition) — use list_attachments or get_email_by_id for full attachment detail. Without `folder` it searches every real folder but not the All Mail / Labels/* / Starred views (they only duplicate mail already in a real folder and made an all-folders search ~3x slower); pass `folder` (e.g. 'Labels/x' or 'All Mail') or `label`/`mailboxRole` to search those. Values with non-ASCII letters (accents, ł, ä, ß...) are matched ignoring accents and case: Proton Bridge's own IMAP search cannot match them, so they are narrowed server-side and verified locally over the newest 500 candidates (hasMore:true if the candidates were cut). count_messages does not do this and still counts only ASCII matches.",
|
|
590
590
|
annotations: { readOnlyHint: true },
|
|
591
591
|
inputSchema: {
|
|
592
592
|
type: "object",
|