@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/llms.txt
CHANGED
|
@@ -473,7 +473,7 @@ side-channel. The frontend opts in by passing { stream: true } to the method
|
|
|
473
473
|
invocation via @mindstudio-ai/interface. Tokens are published to Redis
|
|
474
474
|
pub/sub as they arrive and forwarded as SSE events on the invoke response.
|
|
475
475
|
The method code itself is unchanged — streaming is transparent to the
|
|
476
|
-
developer. See
|
|
476
|
+
developer. See Sandboxes/execute.ts and the invoke handler in V2Apps for
|
|
477
477
|
the server-side plumbing.
|
|
478
478
|
- Input: `{ message: string, source?: "user" | "system", modelOverride?: { 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 }, structuredOutputType?: "text" | "json" | "csv", structuredOutputExample?: string, chatHistoryMode?: "include" | "exclude" }`
|
|
479
479
|
- Output: `{ content: string }`
|
|
@@ -1132,9 +1132,9 @@ Create a new event on a Google Calendar.
|
|
|
1132
1132
|
- Output: `{ eventId: string, htmlLink: string }`
|
|
1133
1133
|
|
|
1134
1134
|
#### deleteGoogleCalendarEvent
|
|
1135
|
-
|
|
1135
|
+
Delete an event from a Google Calendar by event ID.
|
|
1136
1136
|
- Requires a Google OAuth connection with Calendar events scope.
|
|
1137
|
-
-
|
|
1137
|
+
- Throws an error if the event does not exist.
|
|
1138
1138
|
- Input: `{ connectionId?: string, eventId: string, calendarId?: string }`
|
|
1139
1139
|
- Output: `unknown`
|
|
1140
1140
|
|
|
@@ -1708,7 +1708,7 @@ import { platform } from '@mindstudio-ai/interface';
|
|
|
1708
1708
|
const { url } = await platform.upload(token, file, { onProgress });
|
|
1709
1709
|
```
|
|
1710
1710
|
|
|
1711
|
-
Generated assets:
|
|
1711
|
+
Generated assets: EVERY action that produces a file can put its output straight into one of these stores — pass the store handle as `store` in the OPTIONS object (second argument). There is no allowlist; if an action returns a file URL, it takes `store`. Optional: omit it and the asset goes to the shared MindStudio CDN as before. Reach for it when the asset belongs to the app — private to a user, or listed alongside its other files. Inputs are never published either way: a file you hand an action is read where it sits, and any intermediate the platform needs is written to private storage and dropped when the call finishes.
|
|
1712
1712
|
|
|
1713
1713
|
```typescript
|
|
1714
1714
|
const { imageUrl } = await mindstudio.generateImage({ prompt: 'a red sneaker' }, { store: Assets });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mindstudio-ai/agent",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.128",
|
|
4
4
|
"description": "TypeScript SDK for MindStudio direct step execution",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -24,11 +24,13 @@
|
|
|
24
24
|
"build:local": "MINDSTUDIO_BASE_URL=http://localhost:3129 npm run build",
|
|
25
25
|
"dev": "tsup --watch",
|
|
26
26
|
"codegen": "tsx scripts/codegen.ts",
|
|
27
|
-
"typecheck": "tsc --noEmit",
|
|
27
|
+
"typecheck": "npm run tsc -- --noEmit",
|
|
28
28
|
"postinstall": "node dist/postinstall.js || true",
|
|
29
29
|
"bump-consumers": "node scripts/bump-consumers.mjs",
|
|
30
30
|
"prepare": "npm run build",
|
|
31
|
-
"prepublishOnly": "npm run build"
|
|
31
|
+
"prepublishOnly": "npm run build",
|
|
32
|
+
"tsc": "node node_modules/@typescript/native/bin/tsc",
|
|
33
|
+
"//tsc": "The native TypeScript 7 compiler by explicit path. It (typescript@7 under the @typescript/native alias) and the JS compiler API behind the `typescript` alias — which tsup's dts step needs — both declare a `tsc` bin, so node_modules/.bin/tsc is whichever npm linked last."
|
|
32
34
|
},
|
|
33
35
|
"engines": {
|
|
34
36
|
"node": ">=18.0.0"
|
|
@@ -65,9 +67,10 @@
|
|
|
65
67
|
"devDependencies": {
|
|
66
68
|
"@eslint/js": "^10.0.1",
|
|
67
69
|
"@types/node": "^25.3.2",
|
|
70
|
+
"@typescript/native": "npm:typescript@^7.0.2",
|
|
68
71
|
"prettier": "^3.8.1",
|
|
69
72
|
"tsup": "^8",
|
|
70
73
|
"tsx": "^4",
|
|
71
|
-
"typescript": "
|
|
74
|
+
"typescript": "npm:@typescript/typescript6@^6.0.2"
|
|
72
75
|
}
|
|
73
76
|
}
|