mastra 0.4.0 → 0.4.1-alpha.1
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/{chunk-PRZGXNSB.js → chunk-UZPVYE3Q.js} +1 -0
- package/dist/commands/create/create.js +1 -1
- package/dist/index.js +3 -3
- package/package.json +7 -5
- package/src/playground/dist/assets/index-CPbjdHLm.js +606 -0
- package/src/playground/dist/assets/{index-CQrbNHBs.js → index-VCbynMN2.js} +1 -1
- package/src/playground/dist/index.html +1 -1
- package/src/playground/dist/assets/index-CPqlzcnY.js +0 -614
|
@@ -364,6 +364,7 @@ async function writeAgentSample(llmProvider, destPath, addExampleTool) {
|
|
|
364
364
|
|
|
365
365
|
Your primary function is to help users get weather details for specific locations. When responding:
|
|
366
366
|
- Always ask for a location if none is provided
|
|
367
|
+
- If the location name isn\u2019t in English, please translate it
|
|
367
368
|
- If giving a location with multiple parts (e.g. "New York, NY"), use the most relevant part (e.g. "New York")
|
|
368
369
|
- Include relevant details like humidity, wind conditions, and precipitation
|
|
369
370
|
- Keep responses concise but informative
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { create } from '../../chunk-
|
|
1
|
+
export { create } from '../../chunk-UZPVYE3Q.js';
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#! /usr/bin/env node
|
|
2
2
|
import { PosthogAnalytics } from './chunk-SLGHDOYI.js';
|
|
3
3
|
export { PosthogAnalytics } from './chunk-SLGHDOYI.js';
|
|
4
|
-
import { DepsService, create, checkPkgJson, checkAndInstallCoreDeps, interactivePrompt, init, logger, FileService as FileService$1 } from './chunk-
|
|
5
|
-
export { create } from './chunk-
|
|
4
|
+
import { DepsService, create, checkPkgJson, checkAndInstallCoreDeps, interactivePrompt, init, logger, FileService as FileService$1 } from './chunk-UZPVYE3Q.js';
|
|
5
|
+
export { create } from './chunk-UZPVYE3Q.js';
|
|
6
6
|
import { Command } from 'commander';
|
|
7
7
|
import { join as join$1, dirname, basename } from 'node:path';
|
|
8
8
|
import { getWatcherInputOptions, writeTelemetryConfig, createWatcher, FileService as FileService$2 } from '@mastra/deployer/build';
|
|
@@ -258,8 +258,8 @@ var startServer = async (dotMastraPath, port, env) => {
|
|
|
258
258
|
{
|
|
259
259
|
cwd: dotMastraPath,
|
|
260
260
|
env: {
|
|
261
|
-
PORT: port.toString() || "4111",
|
|
262
261
|
...Object.fromEntries(env),
|
|
262
|
+
PORT: port.toString() || process.env.PORT || "4111",
|
|
263
263
|
MASTRA_DEFAULT_STORAGE_URL: `file:${join(dotMastraPath, "..", "mastra.db")}`
|
|
264
264
|
},
|
|
265
265
|
stdio: "inherit",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mastra",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1-alpha.1",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"description": "cli for mastra",
|
|
6
6
|
"type": "module",
|
|
@@ -55,8 +55,8 @@
|
|
|
55
55
|
"yocto-spinner": "^0.1.2",
|
|
56
56
|
"zod": "^3.24.2",
|
|
57
57
|
"zod-to-json-schema": "^3.24.3",
|
|
58
|
-
"@mastra/core": "^0.6.
|
|
59
|
-
"@mastra/deployer": "^0.2.1"
|
|
58
|
+
"@mastra/core": "^0.6.2-alpha.0",
|
|
59
|
+
"@mastra/deployer": "^0.2.2-alpha.1"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"@microsoft/api-extractor": "^7.52.1",
|
|
@@ -74,7 +74,9 @@
|
|
|
74
74
|
"type-fest": "^4.37.0",
|
|
75
75
|
"typescript": "^5.8.2",
|
|
76
76
|
"vitest": "^3.0.8",
|
|
77
|
-
"@
|
|
77
|
+
"@mastra/playground-ui": "2.0.2-alpha.0",
|
|
78
|
+
"@internal/lint": "0.0.1",
|
|
79
|
+
"@mastra/client-js": "0.1.10-alpha.0"
|
|
78
80
|
},
|
|
79
81
|
"scripts": {
|
|
80
82
|
"build": "npm-run-all --serial build:lib copy-starter-files copy-templates build:playground",
|
|
@@ -82,7 +84,7 @@
|
|
|
82
84
|
"build:watch": "pnpm run build:lib --watch --onSuccess \"pnpm run copy-starter-files && pnpm run copy-templates\"",
|
|
83
85
|
"copy-starter-files": "cpy \"src/starter-files/**/*\" \"dist/starter-files\"",
|
|
84
86
|
"copy-templates": "cpy \"src/templates/**/*\" \"dist/templates/\"",
|
|
85
|
-
"build:playground": "cd ../
|
|
87
|
+
"build:playground": "cd ../cli/src/playground && pnpm build",
|
|
86
88
|
"dev:playground": "cd src/playground && pnpm dev",
|
|
87
89
|
"test": "vitest run",
|
|
88
90
|
"test:watch": "vitest watch",
|