@mindstudio-ai/agent 0.1.58 → 0.1.60

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 CHANGED
@@ -80,7 +80,10 @@ mindstudio generate-image '{prompt: "A mountain landscape at sunset"}'
80
80
  mindstudio generate-image --prompt "A sunset" --output-key imageUrl
81
81
 
82
82
  # List all available methods
83
- mindstudio list
83
+ mindstudio list-actions
84
+
85
+ # List packaged workflows
86
+ mindstudio list-packaged-workflows
84
87
 
85
88
  # Show details about a method
86
89
  mindstudio info generate-image
@@ -261,6 +264,9 @@ const { action } = await agent.getConnectorAction(
261
264
  // Check which services are connected in your org
262
265
  const { connections } = await agent.listConnections();
263
266
 
267
+ // Browse packaged workflows available to your org
268
+ const { workflows } = await agent.listPackagedWorkflows();
269
+
264
270
  // Execute a connector action
265
271
  const result = await agent.runFromConnectorRegistry({
266
272
  serviceId: 'slack',
@@ -272,6 +278,8 @@ const result = await agent.runFromConnectorRegistry({
272
278
 
273
279
  Connectors require the user to connect to the third-party service in MindStudio before use. Use `listConnections()` to check what's available.
274
280
 
281
+ Packaged workflows are reusable MindStudio workflows exposed to your organization. Use `listPackagedWorkflows()` to discover which workflows are available, inspect their required inputs and output variables, then call them from another workflow with `runPackagedWorkflow()`. Some examples of packaged workflows are deepResearch, generateSpritesheet, generatePodcast etc.
282
+
275
283
  ## Built-in actions
276
284
 
277
285
  Every action has a dedicated typed method. A few highlights:
@@ -557,7 +565,8 @@ Commands:
557
565
  <method> [json | --flags] Execute a step method
558
566
  exec <method> [json | --flags] Execute a step method (same as above)
559
567
  batch [json] Execute multiple steps in parallel
560
- list [--json] List available methods
568
+ list-actions [--json] [--summary] List available methods
569
+ list-packaged-workflows List packaged workflows
561
570
  info <method> Show method details (params, types, output)
562
571
  agents [--json] List pre-built agents in your organization
563
572
  run <appId> [json | --flags] Run a pre-built agent and wait for result