@mindstudio-ai/agent 0.1.75 → 0.1.77
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/cli.js +17 -10
- package/dist/index.d.ts +30 -5
- package/dist/index.js +10 -3
- package/dist/index.js.map +1 -1
- package/dist/postinstall.js +17 -10
- package/llms.txt +10 -3
- package/package.json +1 -1
package/llms.txt
CHANGED
|
@@ -803,15 +803,22 @@ Search the web using the Perplexity API and return structured results.
|
|
|
803
803
|
|
|
804
804
|
#### sendEmail
|
|
805
805
|
Send an email to one or more recipient addresses.
|
|
806
|
-
- Use the "to" field to send to one or more specific recipient email addresses directly.
|
|
806
|
+
- Use the "to" field to send to one or more specific recipient email addresses directly. Allowed recipients depend on the sender: when the app sends from a domain it owns (a verified custom domain or its <slug>.madewithremy.com subdomain) any recipient is allowed; when it falls back to the shared Remy address, recipients must be verified app users or members of the app's organization. (v1 apps cannot use a direct "to" — they must resolve recipients via a connection.)
|
|
807
807
|
- Alternatively, recipient email addresses can be resolved from OAuth connections configured by the app creator via connectionId. The user running the workflow does not specify the recipient directly.
|
|
808
|
+
- Use "cc" and "bcc" to add visible / hidden recipients (a string or an array). They are subject to the same recipient rules as "to".
|
|
808
809
|
- The sender defaults automatically: v2 apps send from the app's own identity — its verified custom domain if set, else its platform subdomain (noreply@<slug>.madewithremy.com), else the default Remy address.
|
|
809
810
|
- Optionally set "from" to a custom handle, but ONLY if the app has a custom domain or subdomain: a bare handle ("support" → support@<app-domain>), a full "support@your-domain.com", or "Name <support@your-domain.com>". The domain must be one the app owns, or the step fails.
|
|
810
811
|
- If the body is a URL to a hosted HTML file on the CDN, the HTML is fetched and used as the email body.
|
|
811
|
-
-
|
|
812
|
+
- The body is interpreted automatically: if it already looks like HTML it is sent as HTML, otherwise it is rendered from Markdown. Every email is sent as multipart with a plain-text alternative auto-derived from the body (better deliverability).
|
|
813
|
+
- Set bodyType to override interpretation: "html" (send as-is), "markdown" (render to HTML), or "text" (plain text only, no HTML part). Default is "auto".
|
|
814
|
+
- Optionally set "text" to supply your own plain-text alternative instead of the auto-derived one.
|
|
815
|
+
- Use "attachments" to attach files by URL. Each entry is a URL string, or an object { url, filename?, contentType? } to control the attachment's displayed filename and MIME type.
|
|
816
|
+
- When generateHtml is enabled, the body text is converted to a styled HTML email using an AI model (implies an HTML body).
|
|
817
|
+
- Set replyTo to control the Reply-To address for replies.
|
|
818
|
+
- For threaded replies in a shared inbox, set inReplyTo (the Message-ID being replied to) and references (prior Message-IDs in the thread).
|
|
812
819
|
- connectionId can be a comma-separated list to send to multiple recipients.
|
|
813
820
|
- The special connectionId "trigger_email" uses the email address that triggered the workflow.
|
|
814
|
-
- Input: `{ subject: string, body: string, to?: string | string[], connectionId?: string, generateHtml?: boolean, generateHtmlInstructions?: string, generateHtmlModelOverride?: { model: string, temperature: number, maxResponseTokens: number, ignorePreamble?: boolean, userMessagePreprocessor?: { dataSource?: string, messageTemplate?: string, maxResults?: number, enabled?: boolean, shouldInherit?: boolean }, preamble?: string, multiModelEnabled?: boolean, editResponseEnabled?: boolean, config?: object }, attachments?: string[], from?: string }`
|
|
821
|
+
- Input: `{ subject: string, body: string, to?: string | string[], cc?: string | string[], bcc?: string | string[], connectionId?: string, generateHtml?: boolean, generateHtmlInstructions?: string, generateHtmlModelOverride?: { model: string, temperature: number, maxResponseTokens: number, ignorePreamble?: boolean, userMessagePreprocessor?: { dataSource?: string, messageTemplate?: string, maxResults?: number, enabled?: boolean, shouldInherit?: boolean }, preamble?: string, multiModelEnabled?: boolean, editResponseEnabled?: boolean, config?: object }, attachments?: (string | { url: string, filename?: string, contentType?: string })[], from?: string, bodyType?: "auto" | "html" | "markdown" | "text", text?: string, replyTo?: string, inReplyTo?: string, references?: string[] }`
|
|
815
822
|
- Output: `{ recipients: string[] }`
|
|
816
823
|
|
|
817
824
|
#### sendGmailDraft
|