@mindstudio-ai/agent 0.1.126 → 0.1.128
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/README.md +26 -11
- package/dist/cli.js +11 -11
- package/dist/index.d.ts +13 -3
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/postinstall.js +11 -11
- package/llms.txt +4 -4
- package/package.json +7 -4
package/dist/index.d.ts
CHANGED
|
@@ -278,6 +278,16 @@ interface StepExecutionOptions {
|
|
|
278
278
|
* `/_/files/private/...` link that only an authorized session can load,
|
|
279
279
|
* rather than a permanent public one.
|
|
280
280
|
*
|
|
281
|
+
* **For confidential material, pass a private store.** A public CDN URL is
|
|
282
|
+
* unlisted rather than protected: anyone holding it can read the object, and
|
|
283
|
+
* it does not expire.
|
|
284
|
+
*
|
|
285
|
+
* This governs the step's OUTPUT. Inputs are never published either way — a
|
|
286
|
+
* private file or a `shareUrl` you hand an action is read where it sits, and
|
|
287
|
+
* any intermediate the platform needs (transcoding a video, rasterizing a
|
|
288
|
+
* PDF's pages, staging a document for an extraction model) is written to
|
|
289
|
+
* private platform storage and dropped when the call finishes.
|
|
290
|
+
*
|
|
281
291
|
* v2 apps only.
|
|
282
292
|
*
|
|
283
293
|
* @example
|
|
@@ -9019,11 +9029,11 @@ interface StepMethods {
|
|
|
9019
9029
|
*/
|
|
9020
9030
|
deleteGmailEmail(step: DeleteGmailEmailStepInput, options?: StepExecutionOptions): Promise<StepExecutionResult<DeleteGmailEmailStepOutput>>;
|
|
9021
9031
|
/**
|
|
9022
|
-
*
|
|
9032
|
+
* Delete an event from a Google Calendar by event ID.
|
|
9023
9033
|
*
|
|
9024
9034
|
* @remarks
|
|
9025
9035
|
* - Requires a Google OAuth connection with Calendar events scope.
|
|
9026
|
-
* -
|
|
9036
|
+
* - Throws an error if the event does not exist.
|
|
9027
9037
|
*
|
|
9028
9038
|
* @example
|
|
9029
9039
|
* ```typescript
|
|
@@ -10964,7 +10974,7 @@ interface StepMethods {
|
|
|
10964
10974
|
* invocation via @mindstudio-ai/interface. Tokens are published to Redis
|
|
10965
10975
|
* pub/sub as they arrive and forwarded as SSE events on the invoke response.
|
|
10966
10976
|
* The method code itself is unchanged — streaming is transparent to the
|
|
10967
|
-
* developer. See
|
|
10977
|
+
* developer. See Sandboxes/execute.ts and the invoke handler in V2Apps for
|
|
10968
10978
|
* the server-side plumbing.
|
|
10969
10979
|
*
|
|
10970
10980
|
* @example
|
package/dist/index.js
CHANGED
|
@@ -3501,8 +3501,8 @@ var stepMetadata = {
|
|
|
3501
3501
|
},
|
|
3502
3502
|
"deleteGoogleCalendarEvent": {
|
|
3503
3503
|
stepType: "deleteGoogleCalendarEvent",
|
|
3504
|
-
description: "
|
|
3505
|
-
usageNotes: "- Requires a Google OAuth connection with Calendar events scope.\n-
|
|
3504
|
+
description: "Delete an event from a Google Calendar by event ID.",
|
|
3505
|
+
usageNotes: "- Requires a Google OAuth connection with Calendar events scope.\n- Throws an error if the event does not exist.",
|
|
3506
3506
|
inputSchema: { "type": "object", "properties": { "connectionId": { "type": "string", "description": "Google OAuth connection ID" }, "eventId": { "type": "string", "description": "Google Calendar event ID to delete" }, "calendarId": { "type": "string", "description": 'Calendar ID (defaults to "primary" if omitted)' } }, "required": ["eventId"] },
|
|
3507
3507
|
outputSchema: { "description": "This step does not produce output data." }
|
|
3508
3508
|
},
|
|
@@ -3694,7 +3694,7 @@ var stepMetadata = {
|
|
|
3694
3694
|
invocation via @mindstudio-ai/interface. Tokens are published to Redis
|
|
3695
3695
|
pub/sub as they arrive and forwarded as SSE events on the invoke response.
|
|
3696
3696
|
The method code itself is unchanged \u2014 streaming is transparent to the
|
|
3697
|
-
developer. See
|
|
3697
|
+
developer. See Sandboxes/execute.ts and the invoke handler in V2Apps for
|
|
3698
3698
|
the server-side plumbing.`,
|
|
3699
3699
|
inputSchema: { "type": "object", "properties": { "message": { "type": "string", "description": "The message to send (prompt for AI, or text for system echo)" }, "source": { "enum": ["user", "system"], "type": "string", "description": 'Message source: "user" sends to AI model, "system" echoes message content directly. Defaults to "user"' }, "modelOverride": { "type": "object", "properties": { "model": { "type": "string", "description": 'Model identifier (e.g. "gpt-4", "claude-3-opus")' }, "temperature": { "type": "number", "description": "Sampling temperature for the model (0-2)" }, "maxResponseTokens": { "type": "number", "description": "Maximum number of tokens in the model's response" }, "ignorePreamble": { "type": "boolean", "description": "Whether to skip the system preamble/instructions" }, "userMessagePreprocessor": { "type": "object", "properties": { "dataSource": { "type": "string", "description": "Data source identifier for the preprocessor" }, "messageTemplate": { "type": "string", "description": "Template string applied to user messages before sending to the model" }, "maxResults": { "type": "number", "description": "Maximum number of results to include from the data source" }, "enabled": { "type": "boolean", "description": "Whether the preprocessor is active" }, "shouldInherit": { "type": "boolean", "description": "Whether child steps should inherit this preprocessor configuration" } }, "description": "Preprocessor applied to user messages before sending to the model" }, "preamble": { "type": "string", "description": "System preamble/instructions for the model" }, "multiModelEnabled": { "type": "boolean", "description": "Whether multi-model candidate generation is enabled" }, "editResponseEnabled": { "type": "boolean", "description": "Whether the user can edit the model's response" }, "config": { "type": "object", "properties": {}, "required": [], "description": "Additional model-specific configuration" } }, "required": ["model", "temperature", "maxResponseTokens"], "description": "Model configuration override. Optional; uses the workflow's default model if not specified" }, "structuredOutputType": { "enum": ["text", "json", "csv"], "type": "string", "description": "Output format constraint for structured responses" }, "structuredOutputExample": { "type": "string", "description": "Sample showing the desired output shape (for JSON/CSV formats). A TypeScript interface is also useful here for more complex types." }, "chatHistoryMode": { "enum": ["include", "exclude"], "type": "string", "description": "Whether to include or exclude prior chat history in the AI context" } }, "required": ["message"], "description": "Configuration for the user message step" },
|
|
3700
3700
|
outputSchema: { "type": "object", "properties": { "content": { "type": "string", "description": "The AI model's response or echoed system message content" } }, "required": ["content"] }
|
|
@@ -4371,7 +4371,7 @@ var stepMetadata = {
|
|
|
4371
4371
|
invocation via @mindstudio-ai/interface. Tokens are published to Redis
|
|
4372
4372
|
pub/sub as they arrive and forwarded as SSE events on the invoke response.
|
|
4373
4373
|
The method code itself is unchanged \u2014 streaming is transparent to the
|
|
4374
|
-
developer. See
|
|
4374
|
+
developer. See Sandboxes/execute.ts and the invoke handler in V2Apps for
|
|
4375
4375
|
the server-side plumbing.`,
|
|
4376
4376
|
inputSchema: { "type": "object", "properties": { "message": { "type": "string", "description": "The message to send (prompt for AI, or text for system echo)" }, "source": { "enum": ["user", "system"], "type": "string", "description": 'Message source: "user" sends to AI model, "system" echoes message content directly. Defaults to "user"' }, "modelOverride": { "type": "object", "properties": { "model": { "type": "string", "description": 'Model identifier (e.g. "gpt-4", "claude-3-opus")' }, "temperature": { "type": "number", "description": "Sampling temperature for the model (0-2)" }, "maxResponseTokens": { "type": "number", "description": "Maximum number of tokens in the model's response" }, "ignorePreamble": { "type": "boolean", "description": "Whether to skip the system preamble/instructions" }, "userMessagePreprocessor": { "type": "object", "properties": { "dataSource": { "type": "string", "description": "Data source identifier for the preprocessor" }, "messageTemplate": { "type": "string", "description": "Template string applied to user messages before sending to the model" }, "maxResults": { "type": "number", "description": "Maximum number of results to include from the data source" }, "enabled": { "type": "boolean", "description": "Whether the preprocessor is active" }, "shouldInherit": { "type": "boolean", "description": "Whether child steps should inherit this preprocessor configuration" } }, "description": "Preprocessor applied to user messages before sending to the model" }, "preamble": { "type": "string", "description": "System preamble/instructions for the model" }, "multiModelEnabled": { "type": "boolean", "description": "Whether multi-model candidate generation is enabled" }, "editResponseEnabled": { "type": "boolean", "description": "Whether the user can edit the model's response" }, "config": { "type": "object", "properties": {}, "required": [], "description": "Additional model-specific configuration" } }, "required": ["model", "temperature", "maxResponseTokens"], "description": "Model configuration override. Optional; uses the workflow's default model if not specified" }, "structuredOutputType": { "enum": ["text", "json", "csv"], "type": "string", "description": "Output format constraint for structured responses" }, "structuredOutputExample": { "type": "string", "description": "Sample showing the desired output shape (for JSON/CSV formats). A TypeScript interface is also useful here for more complex types." }, "chatHistoryMode": { "enum": ["include", "exclude"], "type": "string", "description": "Whether to include or exclude prior chat history in the AI context" } }, "required": ["message"], "description": "Configuration for the user message step" },
|
|
4377
4377
|
outputSchema: { "type": "object", "properties": { "content": { "type": "string", "description": "The AI model's response or echoed system message content" } }, "required": ["content"] }
|