@mindstudio-ai/agent 0.1.16 → 0.1.18
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 +29 -0
- package/dist/cli.js +569 -57
- package/dist/index.d.ts +8 -0
- package/dist/index.js +18 -2
- package/dist/index.js.map +1 -1
- package/dist/postinstall.js +570 -58
- package/llms.txt +10 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -135,6 +135,34 @@ That's it — Claude Code will discover the MCP server on next launch. Auth is p
|
|
|
135
135
|
|
|
136
136
|
Every action is exposed as an MCP tool with full JSON Schema definitions — your AI agent can discover and call any of them directly.
|
|
137
137
|
|
|
138
|
+
## Ask — built-in SDK assistant
|
|
139
|
+
|
|
140
|
+
Not sure which action to use? Need a model ID? Want working code for a specific integration? Ask the SDK directly:
|
|
141
|
+
|
|
142
|
+
```bash
|
|
143
|
+
mindstudio ask "generate an image with FLUX"
|
|
144
|
+
mindstudio ask "what models support vision?"
|
|
145
|
+
mindstudio ask "how do I send a Slack message with an attachment?"
|
|
146
|
+
mindstudio ask "what's the difference between generateText and userMessage?"
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
The `ask` command runs a built-in agent that has full knowledge of every action, model, and connector in the platform. It resolves real model IDs, looks up config options, and returns complete, copy-paste-ready TypeScript code — no placeholders.
|
|
150
|
+
|
|
151
|
+
Pipe context in from other commands:
|
|
152
|
+
|
|
153
|
+
```bash
|
|
154
|
+
echo "I need to connect to HubSpot and create a contact" | mindstudio ask
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
**For AI agents:** Shell out to `mindstudio ask "..."` from any agent (Remy, Claude Code, custom agents) to get SDK expertise on demand. The response is clean markdown on stdout, ready to parse. Or use the `ask` MCP tool directly if connected via MCP.
|
|
158
|
+
|
|
159
|
+
**Example questions:**
|
|
160
|
+
- `"what actions are available for image generation?"` — discovery
|
|
161
|
+
- `"give me TypeScript code to generate an image with DALL-E 3"` — resolution with real model IDs and config
|
|
162
|
+
- `"what connectors could I configure?"` — OAuth service discovery
|
|
163
|
+
- `"how do I use runFromConnectorRegistry to post to Slack?"` — connector action details
|
|
164
|
+
- `"what are the config options for the flux-max-2 model?"` — model specs
|
|
165
|
+
|
|
138
166
|
## Authentication
|
|
139
167
|
|
|
140
168
|
The fastest way to get started:
|
|
@@ -492,6 +520,7 @@ import { blockTypeAliases } from '@mindstudio-ai/agent';
|
|
|
492
520
|
Usage: mindstudio <command | method> [options]
|
|
493
521
|
|
|
494
522
|
Commands:
|
|
523
|
+
ask "<question>" Ask about actions, models, connectors
|
|
495
524
|
login Authenticate with MindStudio (opens browser)
|
|
496
525
|
logout Clear stored credentials
|
|
497
526
|
whoami Show current authentication status
|