@mindstudio-ai/agent 0.1.35 → 0.1.37
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 +248 -131
- package/dist/index.d.ts +59 -28
- package/dist/index.js +238 -123
- package/dist/index.js.map +1 -1
- package/dist/postinstall.js +248 -131
- package/llms.txt +4 -3
- package/package.json +1 -1
package/llms.txt
CHANGED
|
@@ -781,13 +781,14 @@ Search the web using the Perplexity API and return structured results.
|
|
|
781
781
|
- Output: `{ results: { title: string, description: string, url: string }[] }`
|
|
782
782
|
|
|
783
783
|
#### sendEmail
|
|
784
|
-
Send an email to one or more
|
|
785
|
-
-
|
|
784
|
+
Send an email to one or more recipient addresses.
|
|
785
|
+
- Use the "to" field to send to specific email addresses directly. For v2 apps, recipients must be verified users in the app's user table.
|
|
786
|
+
- 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.
|
|
786
787
|
- If the body is a URL to a hosted HTML file on the CDN, the HTML is fetched and used as the email body.
|
|
787
788
|
- When generateHtml is enabled, the body text is converted to a styled HTML email using an AI model.
|
|
788
789
|
- connectionId can be a comma-separated list to send to multiple recipients.
|
|
789
790
|
- The special connectionId "trigger_email" uses the email address that triggered the workflow.
|
|
790
|
-
- Input: `{ subject: string, body: 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[] }`
|
|
791
|
+
- 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[] }`
|
|
791
792
|
- Output: `{ recipients: string[] }`
|
|
792
793
|
|
|
793
794
|
#### sendGmailDraft
|