@mindstudio-ai/agent 0.1.72 → 0.1.74
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 +15 -9
- package/dist/index.d.ts +3 -2
- package/dist/index.js +8 -2
- package/dist/index.js.map +1 -1
- package/dist/postinstall.js +15 -9
- package/llms.txt +2 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -4945,7 +4945,7 @@ interface SendEmailStepInput {
|
|
|
4945
4945
|
subject: string;
|
|
4946
4946
|
/** Email body content (plain text, markdown, HTML, or a CDN URL to an HTML file) */
|
|
4947
4947
|
body: string;
|
|
4948
|
-
/** Direct recipient email address(es).
|
|
4948
|
+
/** Direct recipient email address(es). Any address is allowed. */
|
|
4949
4949
|
to?: string | string[];
|
|
4950
4950
|
/** OAuth connection ID(s) for the recipient(s), comma-separated for multiple */
|
|
4951
4951
|
connectionId?: string;
|
|
@@ -8098,8 +8098,9 @@ interface StepMethods {
|
|
|
8098
8098
|
* Send an email to one or more recipient addresses.
|
|
8099
8099
|
*
|
|
8100
8100
|
* @remarks
|
|
8101
|
-
* - Use the "to" field to send to specific email addresses directly.
|
|
8101
|
+
* - Use the "to" field to send to one or more specific recipient email addresses directly. Any recipient address is allowed.
|
|
8102
8102
|
* - 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.
|
|
8103
|
+
* - 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.
|
|
8103
8104
|
* - If the body is a URL to a hosted HTML file on the CDN, the HTML is fetched and used as the email body.
|
|
8104
8105
|
* - When generateHtml is enabled, the body text is converted to a styled HTML email using an AI model.
|
|
8105
8106
|
* - connectionId can be a comma-separated list to send to multiple recipients.
|
package/dist/index.js
CHANGED
|
@@ -214,7 +214,9 @@ async function executeDbBatchOverWs(url, token, databaseId, queries) {
|
|
|
214
214
|
} catch (err) {
|
|
215
215
|
clearTimeout(timer);
|
|
216
216
|
pending.delete(id);
|
|
217
|
-
reject(
|
|
217
|
+
reject(
|
|
218
|
+
new DbWsTransportError(`ws send failed: ${err?.message || "unknown"}`)
|
|
219
|
+
);
|
|
218
220
|
}
|
|
219
221
|
});
|
|
220
222
|
}
|
|
@@ -2886,8 +2888,9 @@ var stepMetadata = {
|
|
|
2886
2888
|
"sendEmail": {
|
|
2887
2889
|
stepType: "sendEmail",
|
|
2888
2890
|
description: "Send an email to one or more recipient addresses.",
|
|
2889
|
-
usageNotes: `- Use the "to" field to send to specific email addresses directly.
|
|
2891
|
+
usageNotes: `- Use the "to" field to send to one or more specific recipient email addresses directly. Any recipient address is allowed.
|
|
2890
2892
|
- 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.
|
|
2893
|
+
- The sender is chosen automatically \u2014 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.
|
|
2891
2894
|
- If the body is a URL to a hosted HTML file on the CDN, the HTML is fetched and used as the email body.
|
|
2892
2895
|
- When generateHtml is enabled, the body text is converted to a styled HTML email using an AI model.
|
|
2893
2896
|
- connectionId can be a comma-separated list to send to multiple recipients.
|
|
@@ -4799,6 +4802,9 @@ var MindStudioAgent = class {
|
|
|
4799
4802
|
if (!(err instanceof DbWsTransportError)) {
|
|
4800
4803
|
throw err;
|
|
4801
4804
|
}
|
|
4805
|
+
console.warn(
|
|
4806
|
+
`[mindstudio] db: WebSocket transport unavailable (${err.message}); using HTTP for this query.`
|
|
4807
|
+
);
|
|
4802
4808
|
}
|
|
4803
4809
|
}
|
|
4804
4810
|
const url = `${this._currentHttpConfig.baseUrl}/_internal/v2/db/query`;
|