create-mastra 0.0.0-storage-20250225005900 → 0.0.0-stream-vnext-usage-20250908171242
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/CHANGELOG.md +1651 -0
- package/LICENSE.md +15 -0
- package/README.md +3 -10
- package/dist/index.js +1397 -485
- package/dist/index.js.map +1 -1
- package/dist/templates/dev.entry.js +18 -12
- package/dist/templates/scorers/answer-relevancy-scorer.ts +15 -0
- package/dist/templates/scorers/bias-detection-scorer.ts +16 -0
- package/dist/templates/scorers/completeness-scorer.ts +16 -0
- package/dist/templates/scorers/content-similarity-scorer.ts +15 -0
- package/dist/templates/scorers/faithfulness-scorer.ts +21 -0
- package/dist/templates/scorers/hallucination-scorer.ts +21 -0
- package/dist/templates/scorers/keyword-coverage-scorer.ts +15 -0
- package/dist/templates/scorers/textual-difference-scorer.ts +16 -0
- package/dist/templates/scorers/tone-consistency-scorer.ts +16 -0
- package/dist/templates/scorers/toxicity-detection-scorer.ts +16 -0
- package/package.json +30 -21
- package/LICENSE +0 -44
- package/dist/starter-files/config.ts +0 -25
- package/dist/starter-files/mastra-pg.docker-compose.yaml +0 -15
- package/dist/starter-files/workflow.ts +0 -182
- package/starter-files/config.ts +0 -28
- package/starter-files/mastra-pg.docker-compose.yaml +0 -15
- package/starter-files/tools.ts +0 -95
- package/starter-files/workflow.ts +0 -183
package/LICENSE.md
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# Apache License 2.0
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Kepler Software, Inc.
|
|
4
|
+
|
|
5
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
you may not use this file except in compliance with the License.
|
|
7
|
+
You may obtain a copy of the License at
|
|
8
|
+
|
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
|
|
11
|
+
Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
See the License for the specific language governing permissions and
|
|
15
|
+
limitations under the License.
|
package/README.md
CHANGED
|
@@ -4,22 +4,16 @@ The easiest way to get started with Mastra is by using `create-mastra`. This CLI
|
|
|
4
4
|
|
|
5
5
|
## Usage
|
|
6
6
|
|
|
7
|
-
Using npx:
|
|
8
|
-
|
|
9
|
-
```bash
|
|
10
|
-
npx create-mastra@latest
|
|
11
|
-
```
|
|
12
|
-
|
|
13
7
|
Using npm:
|
|
14
8
|
|
|
15
9
|
```bash
|
|
16
|
-
|
|
10
|
+
npx create-mastra@latest
|
|
17
11
|
```
|
|
18
12
|
|
|
19
13
|
Using yarn:
|
|
20
14
|
|
|
21
15
|
```bash
|
|
22
|
-
yarn create
|
|
16
|
+
yarn dlx create-mastra@latest
|
|
23
17
|
```
|
|
24
18
|
|
|
25
19
|
Using pnpm:
|
|
@@ -32,12 +26,11 @@ pnpm create mastra
|
|
|
32
26
|
|
|
33
27
|
- `--default` - Quick start with defaults (src directory, OpenAI, no examples)
|
|
34
28
|
- `-c, --components <components>` - Comma-separated list of components (agents, tools, workflows)
|
|
35
|
-
- `-l, --llm <model-provider>` - Default model provider (openai, anthropic, or
|
|
29
|
+
- `-l, --llm <model-provider>` - Default model provider (openai, anthropic, groq, google, or cerebras)
|
|
36
30
|
- `-e, --example` - Include example code
|
|
37
31
|
|
|
38
32
|
## Examples
|
|
39
33
|
|
|
40
|
-
bash:packages/create-mastra/README.md
|
|
41
34
|
Create a new project with default settings
|
|
42
35
|
npx create-mastra@latest --default
|
|
43
36
|
Create a project with specific components and LLM provider
|