@mindstudio-ai/agent 0.1.74 → 0.1.76

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/llms.txt CHANGED
@@ -805,12 +805,18 @@ Search the web using the Perplexity API and return structured results.
805
805
  Send an email to one or more recipient addresses.
806
806
  - Use the "to" field to send to one or more specific recipient email addresses directly. Any recipient address is allowed.
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
- - The sender is chosen automatically — there is no "from" field. 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.
808
+ - 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
+ - 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.
809
810
  - If the body is a URL to a hosted HTML file on the CDN, the HTML is fetched and used as the email body.
810
- - When generateHtml is enabled, the body text is converted to a styled HTML email using an AI model.
811
+ - 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).
812
+ - Set bodyType to override interpretation: "html" (send as-is), "markdown" (render to HTML), or "text" (plain text only, no HTML part). Default is "auto".
813
+ - Optionally set "text" to supply your own plain-text alternative instead of the auto-derived one.
814
+ - When generateHtml is enabled, the body text is converted to a styled HTML email using an AI model (implies an HTML body).
815
+ - Set replyTo to control the Reply-To address for replies.
816
+ - For threaded replies in a shared inbox, set inReplyTo (the Message-ID being replied to) and references (prior Message-IDs in the thread).
811
817
  - connectionId can be a comma-separated list to send to multiple recipients.
812
818
  - The special connectionId "trigger_email" uses the email address that triggered the workflow.
813
- - 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[] }`
819
+ - 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, bodyType?: "auto" | "html" | "markdown" | "text", text?: string, replyTo?: string, inReplyTo?: string, references?: string[] }`
814
820
  - Output: `{ recipients: string[] }`
815
821
 
816
822
  #### sendGmailDraft
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindstudio-ai/agent",
3
- "version": "0.1.74",
3
+ "version": "0.1.76",
4
4
  "description": "TypeScript SDK for MindStudio direct step execution",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",