@mastra/playground-ui 8.0.0-alpha.0 → 8.0.0-alpha.2

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.
@@ -1,6 +1,8 @@
1
1
  import { Skill } from '../types';
2
2
  export interface SkillDetailProps {
3
3
  skill: Skill;
4
+ /** Raw SKILL.md file contents to show in "Source" view. Falls back to skill.instructions if not provided. */
5
+ rawSkillMd?: string;
4
6
  onReferenceClick?: (referencePath: string) => void;
5
7
  }
6
- export declare function SkillDetail({ skill, onReferenceClick }: SkillDetailProps): import("react/jsx-runtime").JSX.Element;
8
+ export declare function SkillDetail({ skill, rawSkillMd, onReferenceClick }: SkillDetailProps): import("react/jsx-runtime").JSX.Element;
@@ -106,8 +106,8 @@ export interface SkillMetadata {
106
106
  name: string;
107
107
  description: string;
108
108
  license?: string;
109
- compatibility?: string;
110
- metadata?: Record<string, string>;
109
+ compatibility?: unknown;
110
+ metadata?: Record<string, unknown>;
111
111
  }
112
112
  export interface Skill extends SkillMetadata {
113
113
  path: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mastra/playground-ui",
3
3
  "type": "module",
4
- "version": "8.0.0-alpha.0",
4
+ "version": "8.0.0-alpha.2",
5
5
  "description": "Mastra Playground components",
6
6
  "main": "dist/index.umd.js",
7
7
  "module": "dist/index.es.js",
@@ -125,10 +125,10 @@
125
125
  "react": ">=19.0.0",
126
126
  "react-dom": ">=19.0.0",
127
127
  "tailwindcss": "^3.0.0",
128
+ "@mastra/client-js": "^1.1.0-alpha.1",
129
+ "@mastra/react": "0.2.0-alpha.1",
128
130
  "@mastra/ai-sdk": "^1.0.3-alpha.0",
129
- "@mastra/client-js": "^1.1.0-alpha.0",
130
- "@mastra/schema-compat": "1.0.0",
131
- "@mastra/react": "0.2.0-alpha.0"
131
+ "@mastra/schema-compat": "1.0.0"
132
132
  },
133
133
  "devDependencies": {
134
134
  "@storybook/addon-docs": "^9.1.16",
@@ -154,11 +154,11 @@
154
154
  "vite-plugin-dts": "^4.5.4",
155
155
  "vite-plugin-lib-inject-css": "^2.2.2",
156
156
  "vitest": "4.0.16",
157
- "@mastra/ai-sdk": "^1.0.3-alpha.0",
158
- "@mastra/client-js": "^1.1.0-alpha.0",
159
- "@mastra/core": "1.1.0-alpha.0",
160
- "@mastra/react": "0.2.0-alpha.0",
161
- "@mastra/schema-compat": "1.0.0"
157
+ "@mastra/client-js": "^1.1.0-alpha.1",
158
+ "@mastra/core": "1.1.0-alpha.1",
159
+ "@mastra/react": "0.2.0-alpha.1",
160
+ "@mastra/schema-compat": "1.0.0",
161
+ "@mastra/ai-sdk": "^1.0.3-alpha.0"
162
162
  },
163
163
  "homepage": "https://mastra.ai",
164
164
  "repository": {