@mastra/react 0.2.7 → 0.2.8

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.
Files changed (130) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/LICENSE.md +15 -0
  3. package/dist/{src/agent → agent}/hooks.d.ts +9 -8
  4. package/dist/agent/hooks.d.ts.map +1 -0
  5. package/dist/{src/agent → agent}/types.d.ts +1 -0
  6. package/dist/agent/types.d.ts.map +1 -0
  7. package/dist/index.cjs +2764 -66
  8. package/dist/index.cjs.map +1 -1
  9. package/dist/index.d.ts +8 -2
  10. package/dist/index.d.ts.map +1 -0
  11. package/dist/index.js +2705 -1
  12. package/dist/index.js.map +1 -1
  13. package/dist/lib/ai-sdk/index.d.ts +5 -0
  14. package/dist/lib/ai-sdk/index.d.ts.map +1 -0
  15. package/dist/{src/lib → lib}/ai-sdk/memory/resolveInitialMessages.d.ts +2 -1
  16. package/dist/lib/ai-sdk/memory/resolveInitialMessages.d.ts.map +1 -0
  17. package/dist/{src/lib → lib}/ai-sdk/transformers/AISdkNetworkTransformer.d.ts +4 -3
  18. package/dist/lib/ai-sdk/transformers/AISdkNetworkTransformer.d.ts.map +1 -0
  19. package/dist/lib/ai-sdk/transformers/types.d.ts +11 -0
  20. package/dist/lib/ai-sdk/transformers/types.d.ts.map +1 -0
  21. package/dist/{src/lib → lib}/ai-sdk/types.d.ts +3 -2
  22. package/dist/lib/ai-sdk/types.d.ts.map +1 -0
  23. package/dist/{src/lib → lib}/ai-sdk/utils/fromCoreUserMessageToUIMessage.d.ts +3 -2
  24. package/dist/lib/ai-sdk/utils/fromCoreUserMessageToUIMessage.d.ts.map +1 -0
  25. package/dist/{src/lib → lib}/ai-sdk/utils/toAssistantUIMessage.d.ts +3 -2
  26. package/dist/lib/ai-sdk/utils/toAssistantUIMessage.d.ts.map +1 -0
  27. package/dist/{src/lib → lib}/ai-sdk/utils/toUIMessage.d.ts +4 -3
  28. package/dist/lib/ai-sdk/utils/toUIMessage.d.ts.map +1 -0
  29. package/dist/{src/lib → lib}/use-mutation.d.ts +1 -0
  30. package/dist/lib/use-mutation.d.ts.map +1 -0
  31. package/dist/{src/mastra-client-context.d.ts → mastra-client-context.d.ts} +3 -1
  32. package/dist/mastra-client-context.d.ts.map +1 -0
  33. package/dist/{src/mastra-react-provider.d.ts → mastra-react-provider.d.ts} +2 -1
  34. package/dist/mastra-react-provider.d.ts.map +1 -0
  35. package/dist/react.css +184 -322
  36. package/dist/{src/ui → ui}/Code/Code.d.ts +2 -1
  37. package/dist/ui/Code/Code.d.ts.map +1 -0
  38. package/dist/ui/Code/highlight.d.ts +4 -0
  39. package/dist/ui/Code/highlight.d.ts.map +1 -0
  40. package/dist/ui/Code/index.d.ts +2 -0
  41. package/dist/ui/Code/index.d.ts.map +1 -0
  42. package/dist/{src/ui → ui}/Entity/Entity.d.ts +2 -1
  43. package/dist/ui/Entity/Entity.d.ts.map +1 -0
  44. package/dist/{src/ui → ui}/Entity/Entry.d.ts +2 -1
  45. package/dist/ui/Entity/Entry.d.ts.map +1 -0
  46. package/dist/{src/ui → ui}/Entity/ToolApproval.d.ts +1 -0
  47. package/dist/ui/Entity/ToolApproval.d.ts.map +1 -0
  48. package/dist/{src/ui → ui}/Entity/context.d.ts +4 -3
  49. package/dist/ui/Entity/context.d.ts.map +1 -0
  50. package/dist/ui/Entity/index.d.ts +5 -0
  51. package/dist/ui/Entity/index.d.ts.map +1 -0
  52. package/dist/{src/ui → ui}/Entity/types.d.ts +1 -0
  53. package/dist/ui/Entity/types.d.ts.map +1 -0
  54. package/dist/{src/ui → ui}/Icon/Icon.d.ts +2 -1
  55. package/dist/ui/Icon/Icon.d.ts.map +1 -0
  56. package/dist/ui/Icon/index.d.ts +2 -0
  57. package/dist/ui/Icon/index.d.ts.map +1 -0
  58. package/dist/{src/ui → ui}/IconButton/IconButton.d.ts +2 -1
  59. package/dist/ui/IconButton/IconButton.d.ts.map +1 -0
  60. package/dist/ui/IconButton/index.d.ts +2 -0
  61. package/dist/ui/IconButton/index.d.ts.map +1 -0
  62. package/dist/{src/ui → ui}/Icons/AgentIcon.d.ts +2 -1
  63. package/dist/ui/Icons/AgentIcon.d.ts.map +1 -0
  64. package/dist/{src/ui → ui}/Icons/ToolsIcon.d.ts +2 -1
  65. package/dist/ui/Icons/ToolsIcon.d.ts.map +1 -0
  66. package/dist/{src/ui → ui}/Icons/WorkflowIcon.d.ts +2 -1
  67. package/dist/ui/Icons/WorkflowIcon.d.ts.map +1 -0
  68. package/dist/ui/Icons/index.d.ts +4 -0
  69. package/dist/ui/Icons/index.d.ts.map +1 -0
  70. package/dist/{src/ui → ui}/Message/Message.d.ts +2 -1
  71. package/dist/ui/Message/Message.d.ts.map +1 -0
  72. package/dist/ui/Message/index.d.ts +2 -0
  73. package/dist/ui/Message/index.d.ts.map +1 -0
  74. package/dist/{src/ui → ui}/Tooltip/Tooltip.d.ts +2 -1
  75. package/dist/ui/Tooltip/Tooltip.d.ts.map +1 -0
  76. package/dist/ui/Tooltip/index.d.ts +2 -0
  77. package/dist/ui/Tooltip/index.d.ts.map +1 -0
  78. package/dist/ui/index.d.ts +8 -0
  79. package/dist/ui/index.d.ts.map +1 -0
  80. package/dist/{src/workflows → workflows}/hooks.d.ts +5 -4
  81. package/dist/workflows/hooks.d.ts.map +1 -0
  82. package/dist/workflows/index.d.ts +3 -0
  83. package/dist/workflows/index.d.ts.map +1 -0
  84. package/dist/{src/workflows → workflows}/types.d.ts +4 -3
  85. package/dist/workflows/types.d.ts.map +1 -0
  86. package/dist/{src/workflows → workflows}/use-stream-workflow.d.ts +6 -5
  87. package/dist/workflows/use-stream-workflow.d.ts.map +1 -0
  88. package/package.json +14 -10
  89. package/dist/chunk-REDZDNFN-8Zc7Z9Ng.cjs +0 -251
  90. package/dist/chunk-REDZDNFN-8Zc7Z9Ng.cjs.map +0 -1
  91. package/dist/chunk-REDZDNFN-ByJ-H6Es.js +0 -249
  92. package/dist/chunk-REDZDNFN-ByJ-H6Es.js.map +0 -1
  93. package/dist/index--xXlugUp.js +0 -26288
  94. package/dist/index--xXlugUp.js.map +0 -1
  95. package/dist/index-BaK_Y6TP.cjs +0 -185
  96. package/dist/index-BaK_Y6TP.cjs.map +0 -1
  97. package/dist/index-C1OzXW5i.js +0 -180
  98. package/dist/index-C1OzXW5i.js.map +0 -1
  99. package/dist/index-DlzF_2Lc.cjs +0 -26374
  100. package/dist/index-DlzF_2Lc.cjs.map +0 -1
  101. package/dist/src/index.d.ts +0 -7
  102. package/dist/src/lib/ai-sdk/index.d.ts +0 -4
  103. package/dist/src/lib/ai-sdk/memory/resolveInitialMessages.test.d.ts +0 -1
  104. package/dist/src/lib/ai-sdk/transformers/AISdkNetworkTransformer.test.d.ts +0 -1
  105. package/dist/src/lib/ai-sdk/transformers/types.d.ts +0 -10
  106. package/dist/src/lib/ai-sdk/utils/fromCoreUserMessageToUIMessage.test.d.ts +0 -1
  107. package/dist/src/lib/ai-sdk/utils/toAssistantUIMessage.test.d.ts +0 -1
  108. package/dist/src/lib/ai-sdk/utils/toUIMessage.test.d.ts +0 -1
  109. package/dist/src/ui/Code/highlight.d.ts +0 -3
  110. package/dist/src/ui/Code/index.d.ts +0 -1
  111. package/dist/src/ui/Entity/Entity.stories.d.ts +0 -22
  112. package/dist/src/ui/Entity/index.d.ts +0 -4
  113. package/dist/src/ui/Icon/index.d.ts +0 -1
  114. package/dist/src/ui/IconButton/IconButton.stories.d.ts +0 -12
  115. package/dist/src/ui/IconButton/index.d.ts +0 -1
  116. package/dist/src/ui/Icons/index.d.ts +0 -3
  117. package/dist/src/ui/Message/Message.stories.d.ts +0 -13
  118. package/dist/src/ui/Message/index.d.ts +0 -1
  119. package/dist/src/ui/Tooltip/Tooltip.stories.d.ts +0 -12
  120. package/dist/src/ui/Tooltip/index.d.ts +0 -1
  121. package/dist/src/ui/index.d.ts +0 -7
  122. package/dist/src/workflows/index.d.ts +0 -2
  123. package/dist/token-6GSAFR2W-XRCSVUPZ-BJL0Ab9b.cjs +0 -64
  124. package/dist/token-6GSAFR2W-XRCSVUPZ-BJL0Ab9b.cjs.map +0 -1
  125. package/dist/token-6GSAFR2W-XRCSVUPZ-CDxnj2bf.js +0 -60
  126. package/dist/token-6GSAFR2W-XRCSVUPZ-CDxnj2bf.js.map +0 -1
  127. package/dist/token-util-NEHG7TUY-U7CX7GS4-Btt5t18D.cjs +0 -11
  128. package/dist/token-util-NEHG7TUY-U7CX7GS4-Btt5t18D.cjs.map +0 -1
  129. package/dist/token-util-NEHG7TUY-U7CX7GS4-C_eotjlG.js +0 -7
  130. package/dist/token-util-NEHG7TUY-U7CX7GS4-C_eotjlG.js.map +0 -1
package/dist/react.css CHANGED
@@ -1,647 +1,511 @@
1
- /*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */
2
- @layer properties {
3
- @supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
4
- *, :before, :after, ::backdrop {
5
- --tw-space-y-reverse: 0;
6
- --tw-border-style: solid;
7
- --tw-duration: initial;
8
- --tw-ease: initial;
9
- --tw-leading: initial;
10
- }
11
- }
12
- }
13
-
1
+ /*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
2
+ @layer properties;
3
+ @layer theme, base, components, utilities;
14
4
  @layer theme {
15
5
  :root, :host {
16
- --mastra-font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
17
- --mastra-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
18
- --mastra-color-red-500: oklch(63.7% .237 25.331);
19
- --mastra-spacing: .25rem;
20
- --mastra-text-xs: .75rem;
21
- --mastra-text-xs--line-height: calc(1 / .75);
22
- --mastra-text-sm: .875rem;
23
- --mastra-text-sm--line-height: calc(1.25 / .875);
24
- --mastra-radius-md: .375rem;
25
- --mastra-radius-lg: .5rem;
26
- --mastra-ease-in-out: cubic-bezier(.4, 0, .2, 1);
27
- --mastra-animate-pulse: pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;
28
- --mastra-default-transition-duration: .15s;
29
- --mastra-default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);
6
+ --mastra-font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
7
+ "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
8
+ --mastra-font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
9
+ "Courier New", monospace;
10
+ --mastra-color-red-500: oklch(63.7% 0.237 25.331);
11
+ --mastra-spacing: 0.25rem;
12
+ --mastra-text-xs: 0.75rem;
13
+ --mastra-text-xs--line-height: calc(1 / 0.75);
14
+ --mastra-text-sm: 0.875rem;
15
+ --mastra-text-sm--line-height: calc(1.25 / 0.875);
16
+ --mastra-radius-md: 0.375rem;
17
+ --mastra-radius-lg: 0.5rem;
18
+ --mastra-ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
19
+ --mastra-animate-pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
20
+ --mastra-default-transition-duration: 150ms;
21
+ --mastra-default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
30
22
  --mastra-default-font-family: var(--mastra-font-sans);
31
23
  --mastra-default-mono-font-family: var(--mastra-font-mono);
32
24
  --mastra-color-text3: #939393;
33
25
  --mastra-color-text5: #e6e6e6;
34
- --mastra-color-text6: #fff;
26
+ --mastra-color-text6: #ffffff;
35
27
  --mastra-color-surface3: #141414;
36
28
  --mastra-color-surface4: #1a1a1a;
37
- --mastra-color-surface5: #2e2e2ee6;
29
+ --mastra-color-surface5: rgba(46, 46, 46, 0.9);
38
30
  --mastra-color-accent1: var(--color-accent1);
39
31
  --mastra-color-accent2: var(--color-accent2);
40
32
  --mastra-color-accent3: var(--color-accent3);
41
33
  --mastra-color-accent6: var(--color-accent6);
42
- --mastra-color-border1: #303030;
34
+ --mastra-color-border1: rgba(48, 48, 48, 1);
43
35
  }
44
36
  }
45
-
46
37
  @layer base {
47
- *, :after, :before, ::backdrop {
38
+ *, ::after, ::before, ::backdrop, ::file-selector-button {
48
39
  box-sizing: border-box;
49
- border: 0 solid;
50
40
  margin: 0;
51
41
  padding: 0;
52
- }
53
-
54
- ::file-selector-button {
55
- box-sizing: border-box;
56
42
  border: 0 solid;
57
- margin: 0;
58
- padding: 0;
59
43
  }
60
-
61
44
  html, :host {
45
+ line-height: 1.5;
62
46
  -webkit-text-size-adjust: 100%;
63
47
  tab-size: 4;
64
- line-height: 1.5;
65
48
  font-family: var(--mastra-default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
66
49
  font-feature-settings: var(--mastra-default-font-feature-settings, normal);
67
50
  font-variation-settings: var(--mastra-default-font-variation-settings, normal);
68
51
  -webkit-tap-highlight-color: transparent;
69
52
  }
70
-
71
53
  hr {
72
54
  height: 0;
73
55
  color: inherit;
74
56
  border-top-width: 1px;
75
57
  }
76
-
77
58
  abbr:where([title]) {
78
59
  -webkit-text-decoration: underline dotted;
79
60
  text-decoration: underline dotted;
80
61
  }
81
-
82
62
  h1, h2, h3, h4, h5, h6 {
83
63
  font-size: inherit;
84
64
  font-weight: inherit;
85
65
  }
86
-
87
66
  a {
88
67
  color: inherit;
89
68
  -webkit-text-decoration: inherit;
90
- -webkit-text-decoration: inherit;
91
- -webkit-text-decoration: inherit;
92
69
  text-decoration: inherit;
93
70
  }
94
-
95
71
  b, strong {
96
72
  font-weight: bolder;
97
73
  }
98
-
99
74
  code, kbd, samp, pre {
100
75
  font-family: var(--mastra-default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
101
76
  font-feature-settings: var(--mastra-default-mono-font-feature-settings, normal);
102
77
  font-variation-settings: var(--mastra-default-mono-font-variation-settings, normal);
103
78
  font-size: 1em;
104
79
  }
105
-
106
80
  small {
107
81
  font-size: 80%;
108
82
  }
109
-
110
83
  sub, sup {
111
- vertical-align: baseline;
112
84
  font-size: 75%;
113
85
  line-height: 0;
114
86
  position: relative;
87
+ vertical-align: baseline;
115
88
  }
116
-
117
89
  sub {
118
- bottom: -.25em;
90
+ bottom: -0.25em;
119
91
  }
120
-
121
92
  sup {
122
- top: -.5em;
93
+ top: -0.5em;
123
94
  }
124
-
125
95
  table {
126
96
  text-indent: 0;
127
97
  border-color: inherit;
128
98
  border-collapse: collapse;
129
99
  }
130
-
131
100
  :-moz-focusring {
132
101
  outline: auto;
133
102
  }
134
-
135
103
  progress {
136
104
  vertical-align: baseline;
137
105
  }
138
-
139
106
  summary {
140
107
  display: list-item;
141
108
  }
142
-
143
109
  ol, ul, menu {
144
110
  list-style: none;
145
111
  }
146
-
147
112
  img, svg, video, canvas, audio, iframe, embed, object {
148
- vertical-align: middle;
149
113
  display: block;
114
+ vertical-align: middle;
150
115
  }
151
-
152
116
  img, video {
153
117
  max-width: 100%;
154
118
  height: auto;
155
119
  }
156
-
157
- button, input, select, optgroup, textarea {
120
+ button, input, select, optgroup, textarea, ::file-selector-button {
158
121
  font: inherit;
159
122
  font-feature-settings: inherit;
160
123
  font-variation-settings: inherit;
161
124
  letter-spacing: inherit;
162
125
  color: inherit;
163
- opacity: 1;
164
- background-color: #0000;
165
126
  border-radius: 0;
166
- }
167
-
168
- ::file-selector-button {
169
- font: inherit;
170
- font-feature-settings: inherit;
171
- font-variation-settings: inherit;
172
- letter-spacing: inherit;
173
- color: inherit;
127
+ background-color: transparent;
174
128
  opacity: 1;
175
- background-color: #0000;
176
- border-radius: 0;
177
129
  }
178
-
179
130
  :where(select:is([multiple], [size])) optgroup {
180
131
  font-weight: bolder;
181
132
  }
182
-
183
133
  :where(select:is([multiple], [size])) optgroup option {
184
134
  padding-inline-start: 20px;
185
135
  }
186
-
187
136
  ::file-selector-button {
188
137
  margin-inline-end: 4px;
189
138
  }
190
-
191
139
  ::placeholder {
192
140
  opacity: 1;
193
141
  }
194
-
195
- @supports (not ((-webkit-appearance: -apple-pay-button))) or (contain-intrinsic-size: 1px) {
142
+ @supports (not (-webkit-appearance: -apple-pay-button)) or (contain-intrinsic-size: 1px) {
196
143
  ::placeholder {
197
- color: currentColor;
198
- }
199
-
200
- @supports (color: color-mix(in lab, red, red)) {
201
- ::placeholder {
144
+ color: currentcolor;
145
+ @supports (color: color-mix(in lab, red, red)) {
202
146
  color: color-mix(in oklab, currentcolor 50%, transparent);
203
147
  }
204
148
  }
205
149
  }
206
-
207
150
  textarea {
208
151
  resize: vertical;
209
152
  }
210
-
211
153
  ::-webkit-search-decoration {
212
154
  -webkit-appearance: none;
213
155
  }
214
-
215
156
  ::-webkit-date-and-time-value {
216
157
  min-height: 1lh;
217
158
  text-align: inherit;
218
159
  }
219
-
220
160
  ::-webkit-datetime-edit {
221
161
  display: inline-flex;
222
162
  }
223
-
224
163
  ::-webkit-datetime-edit-fields-wrapper {
225
164
  padding: 0;
226
165
  }
227
-
228
- ::-webkit-datetime-edit {
229
- padding-block: 0;
230
- }
231
-
232
- ::-webkit-datetime-edit-year-field {
233
- padding-block: 0;
234
- }
235
-
236
- ::-webkit-datetime-edit-month-field {
237
- padding-block: 0;
238
- }
239
-
240
- ::-webkit-datetime-edit-day-field {
241
- padding-block: 0;
242
- }
243
-
244
- ::-webkit-datetime-edit-hour-field {
166
+ ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
245
167
  padding-block: 0;
246
168
  }
247
-
248
- ::-webkit-datetime-edit-minute-field {
249
- padding-block: 0;
250
- }
251
-
252
- ::-webkit-datetime-edit-second-field {
253
- padding-block: 0;
254
- }
255
-
256
- ::-webkit-datetime-edit-millisecond-field {
257
- padding-block: 0;
258
- }
259
-
260
- ::-webkit-datetime-edit-meridiem-field {
261
- padding-block: 0;
262
- }
263
-
264
169
  ::-webkit-calendar-picker-indicator {
265
170
  line-height: 1;
266
171
  }
267
-
268
172
  :-moz-ui-invalid {
269
173
  box-shadow: none;
270
174
  }
271
-
272
- button, input:where([type="button"], [type="reset"], [type="submit"]) {
273
- appearance: button;
274
- }
275
-
276
- ::file-selector-button {
175
+ button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
277
176
  appearance: button;
278
177
  }
279
-
280
- ::-webkit-inner-spin-button {
178
+ ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
281
179
  height: auto;
282
180
  }
283
-
284
- ::-webkit-outer-spin-button {
285
- height: auto;
286
- }
287
-
288
181
  [hidden]:where(:not([hidden="until-found"])) {
289
182
  display: none !important;
290
183
  }
291
184
  }
292
-
293
- @layer components;
294
-
295
185
  @layer utilities {
296
186
  .mastra\:absolute {
297
187
  position: absolute;
298
188
  }
299
-
300
189
  .mastra\:relative {
301
190
  position: relative;
302
191
  }
303
-
304
192
  .mastra\:top-2 {
305
193
  top: calc(var(--mastra-spacing) * 2);
306
194
  }
307
-
308
195
  .mastra\:right-2 {
309
196
  right: calc(var(--mastra-spacing) * 2);
310
197
  }
311
-
312
198
  .mastra\:-mt-\[0\.5px\] {
313
- margin-top: -.5px;
199
+ margin-top: calc(0.5px * -1);
314
200
  }
315
-
316
201
  .mastra\:mt-2 {
317
202
  margin-top: calc(var(--mastra-spacing) * 2);
318
203
  }
319
-
320
204
  .mastra\:ml-0\.5 {
321
- margin-left: calc(var(--mastra-spacing) * .5);
205
+ margin-left: calc(var(--mastra-spacing) * 0.5);
322
206
  }
323
-
324
207
  .mastra\:flex {
325
208
  display: flex;
326
209
  }
327
-
328
210
  .mastra\:inline-block {
329
211
  display: inline-block;
330
212
  }
331
-
332
213
  .mastra\:inline-flex {
333
214
  display: inline-flex;
334
215
  }
335
-
336
216
  .mastra\:h-\[1em\] {
337
217
  height: 1em;
338
218
  }
339
-
340
219
  .mastra\:h-full {
341
220
  height: 100%;
342
221
  }
343
-
344
222
  .mastra\:w-\[2px\] {
345
223
  width: 2px;
346
224
  }
347
-
348
225
  .mastra\:w-full {
349
226
  width: 100%;
350
227
  }
351
-
352
228
  .mastra\:max-w-1\/2 {
353
- max-width: 50%;
229
+ max-width: calc(1 / 2 * 100%);
354
230
  }
355
-
356
231
  .mastra\:max-w-4\/5 {
357
- max-width: 80%;
232
+ max-width: calc(4 / 5 * 100%);
358
233
  }
359
-
360
234
  .mastra\:-rotate-90 {
361
- rotate: -90deg;
235
+ rotate: calc(90deg * -1);
362
236
  }
363
-
364
237
  .mastra\:rotate-0 {
365
- rotate: none;
238
+ rotate: 0deg;
366
239
  }
367
-
368
240
  .mastra\:animate-pulse {
369
241
  animation: var(--mastra-animate-pulse);
370
242
  }
371
-
372
243
  .mastra\:cursor-pointer {
373
244
  cursor: pointer;
374
245
  }
375
-
376
246
  .mastra\:flex-col {
377
247
  flex-direction: column;
378
248
  }
379
-
380
249
  .mastra\:items-center {
381
250
  align-items: center;
382
251
  }
383
-
384
252
  .mastra\:items-end {
385
253
  align-items: flex-end;
386
254
  }
387
-
388
255
  .mastra\:justify-between {
389
256
  justify-content: space-between;
390
257
  }
391
-
392
258
  .mastra\:gap-1 {
393
259
  gap: calc(var(--mastra-spacing) * 1);
394
260
  }
395
-
396
261
  .mastra\:gap-2 {
397
262
  gap: calc(var(--mastra-spacing) * 2);
398
263
  }
399
-
400
- :where(.mastra\:space-y-2 > :not(:last-child)) {
401
- --tw-space-y-reverse: 0;
402
- margin-block-start: calc(calc(var(--mastra-spacing) * 2) * var(--tw-space-y-reverse));
403
- margin-block-end: calc(calc(var(--mastra-spacing) * 2) * calc(1 - var(--tw-space-y-reverse)));
264
+ .mastra\:space-y-2 {
265
+ :where(& > :not(:last-child)) {
266
+ --tw-space-y-reverse: 0;
267
+ margin-block-start: calc(calc(var(--mastra-spacing) * 2) * var(--tw-space-y-reverse));
268
+ margin-block-end: calc(calc(var(--mastra-spacing) * 2) * calc(1 - var(--tw-space-y-reverse)));
269
+ }
404
270
  }
405
-
406
- :where(.mastra\:space-y-4 > :not(:last-child)) {
407
- --tw-space-y-reverse: 0;
408
- margin-block-start: calc(calc(var(--mastra-spacing) * 4) * var(--tw-space-y-reverse));
409
- margin-block-end: calc(calc(var(--mastra-spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));
271
+ .mastra\:space-y-4 {
272
+ :where(& > :not(:last-child)) {
273
+ --tw-space-y-reverse: 0;
274
+ margin-block-start: calc(calc(var(--mastra-spacing) * 4) * var(--tw-space-y-reverse));
275
+ margin-block-end: calc(calc(var(--mastra-spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));
276
+ }
410
277
  }
411
-
412
278
  .mastra\:overflow-hidden {
413
279
  overflow: hidden;
414
280
  }
415
-
416
281
  .mastra\:overflow-y-auto {
417
282
  overflow-y: auto;
418
283
  }
419
-
420
284
  .mastra\:rounded-lg {
421
285
  border-radius: var(--mastra-radius-lg);
422
286
  }
423
-
424
287
  .mastra\:rounded-md {
425
288
  border-radius: var(--mastra-radius-md);
426
289
  }
427
-
428
290
  .mastra\:rounded-tl-none {
429
291
  border-top-left-radius: 0;
430
292
  }
431
-
432
293
  .mastra\:border {
433
294
  border-style: var(--tw-border-style);
434
- border-width: .5px;
295
+ border-width: 0.5px;
435
296
  }
436
-
437
297
  .mastra\:border-b {
438
298
  border-bottom-style: var(--tw-border-style);
439
- border-bottom-width: .5px;
299
+ border-bottom-width: 0.5px;
440
300
  }
441
-
442
301
  .mastra\:border-border1 {
443
302
  border-color: var(--mastra-color-border1);
444
303
  }
445
-
446
304
  .mastra\:bg-red-500 {
447
305
  background-color: var(--mastra-color-red-500);
448
306
  }
449
-
450
307
  .mastra\:bg-surface3 {
451
308
  background-color: var(--mastra-color-surface3);
452
309
  }
453
-
454
310
  .mastra\:bg-surface4 {
455
311
  background-color: var(--mastra-color-surface4);
456
312
  }
457
-
458
313
  .mastra\:bg-text5 {
459
314
  background-color: var(--mastra-color-text5);
460
315
  }
461
-
462
316
  .mastra\:p-0\.5 {
463
- padding: calc(var(--mastra-spacing) * .5);
317
+ padding: calc(var(--mastra-spacing) * 0.5);
464
318
  }
465
-
466
319
  .mastra\:p-1 {
467
320
  padding: calc(var(--mastra-spacing) * 1);
468
321
  }
469
-
470
322
  .mastra\:p-4 {
471
323
  padding: calc(var(--mastra-spacing) * 4);
472
324
  }
473
-
474
325
  .mastra\:px-2 {
475
326
  padding-inline: calc(var(--mastra-spacing) * 2);
476
327
  }
477
-
478
328
  .mastra\:px-4 {
479
329
  padding-inline: calc(var(--mastra-spacing) * 4);
480
330
  }
481
-
482
331
  .mastra\:py-1 {
483
332
  padding-block: calc(var(--mastra-spacing) * 1);
484
333
  }
485
-
486
334
  .mastra\:py-2 {
487
335
  padding-block: calc(var(--mastra-spacing) * 2);
488
336
  }
489
-
490
337
  .mastra\:py-4 {
491
338
  padding-block: calc(var(--mastra-spacing) * 4);
492
339
  }
493
-
494
340
  .mastra\:align-text-bottom {
495
341
  vertical-align: text-bottom;
496
342
  }
497
-
498
343
  .mastra\:font-mono {
499
344
  font-family: var(--mastra-font-mono);
500
345
  }
501
-
502
346
  .mastra\:text-sm {
503
347
  font-size: var(--mastra-text-sm);
504
348
  line-height: var(--tw-leading, var(--mastra-text-sm--line-height));
505
349
  }
506
-
507
350
  .mastra\:text-xs {
508
351
  font-size: var(--mastra-text-xs);
509
352
  line-height: var(--tw-leading, var(--mastra-text-xs--line-height));
510
353
  }
511
-
512
354
  .mastra\:text-text3 {
513
355
  color: var(--mastra-color-text3);
514
356
  }
515
-
516
357
  .mastra\:text-text6 {
517
358
  color: var(--mastra-color-text6);
518
359
  }
519
-
520
360
  .mastra\:opacity-0 {
521
- opacity: 0;
361
+ opacity: 0%;
522
362
  }
523
-
524
363
  .mastra\:transition-transform {
525
364
  transition-property: transform, translate, scale, rotate;
526
365
  transition-timing-function: var(--tw-ease, var(--mastra-default-transition-timing-function));
527
366
  transition-duration: var(--tw-duration, var(--mastra-default-transition-duration));
528
367
  }
529
-
530
368
  .mastra\:duration-200 {
531
- --tw-duration: .2s;
532
- transition-duration: .2s;
369
+ --tw-duration: 200ms;
370
+ transition-duration: 200ms;
533
371
  }
534
-
535
372
  .mastra\:ease-in-out {
536
373
  --tw-ease: var(--mastra-ease-in-out);
537
374
  transition-timing-function: var(--mastra-ease-in-out);
538
375
  }
539
-
540
- .mastra\:group-focus-within\:opacity-100:is(:where(.mastra\:group):focus-within *) {
541
- opacity: 1;
376
+ .mastra\:group-focus-within\:opacity-100 {
377
+ &:is(:where(.mastra\:group):focus-within *) {
378
+ opacity: 100%;
379
+ }
542
380
  }
543
-
544
- @media (hover: hover) {
545
- .mastra\:group-hover\:opacity-100:is(:where(.mastra\:group):hover *) {
546
- opacity: 1;
381
+ .mastra\:group-hover\:opacity-100 {
382
+ &:is(:where(.mastra\:group):hover *) {
383
+ @media (hover: hover) {
384
+ opacity: 100%;
385
+ }
547
386
  }
548
-
549
- .mastra\:hover\:bg-surface4:hover {
550
- background-color: var(--mastra-color-surface4);
387
+ }
388
+ .mastra\:hover\:bg-surface4 {
389
+ &:hover {
390
+ @media (hover: hover) {
391
+ background-color: var(--mastra-color-surface4);
392
+ }
551
393
  }
552
-
553
- .mastra\:hover\:text-text6:hover {
554
- color: var(--mastra-color-text6);
394
+ }
395
+ .mastra\:hover\:text-text6 {
396
+ &:hover {
397
+ @media (hover: hover) {
398
+ color: var(--mastra-color-text6);
399
+ }
555
400
  }
556
401
  }
557
-
558
- .mastra\:active\:bg-surface5:active {
559
- background-color: var(--mastra-color-surface5);
402
+ .mastra\:active\:bg-surface5 {
403
+ &:active {
404
+ background-color: var(--mastra-color-surface5);
405
+ }
560
406
  }
561
-
562
- .mastra\:active\:text-text6:active {
563
- color: var(--mastra-color-text6);
407
+ .mastra\:active\:text-text6 {
408
+ &:active {
409
+ color: var(--mastra-color-text6);
410
+ }
564
411
  }
565
-
566
- .mastra\:aria-disabled\:cursor-not-allowed[aria-disabled="true"] {
567
- cursor: not-allowed;
412
+ .mastra\:aria-disabled\:cursor-not-allowed {
413
+ &[aria-disabled="true"] {
414
+ cursor: not-allowed;
415
+ }
568
416
  }
569
-
570
- .mastra\:aria-disabled\:bg-surface5[aria-disabled="true"] {
571
- background-color: var(--mastra-color-surface5);
417
+ .mastra\:aria-disabled\:bg-surface5 {
418
+ &[aria-disabled="true"] {
419
+ background-color: var(--mastra-color-surface5);
420
+ }
572
421
  }
573
-
574
- .mastra\:aria-disabled\:text-text3[aria-disabled="true"] {
575
- color: var(--mastra-color-text3);
422
+ .mastra\:aria-disabled\:text-text3 {
423
+ &[aria-disabled="true"] {
424
+ color: var(--mastra-color-text3);
425
+ }
576
426
  }
577
-
578
- .mastra\:aria-expanded\:rounded-b-none[aria-expanded="true"] {
579
- border-bottom-right-radius: 0;
580
- border-bottom-left-radius: 0;
427
+ .mastra\:aria-expanded\:rounded-b-none {
428
+ &[aria-expanded="true"] {
429
+ border-bottom-right-radius: 0;
430
+ border-bottom-left-radius: 0;
431
+ }
581
432
  }
582
-
583
- .mastra\:aria-expanded\:border-b-0[aria-expanded="true"] {
584
- border-bottom-style: var(--tw-border-style);
585
- border-bottom-width: 0;
433
+ .mastra\:aria-expanded\:border-b-0 {
434
+ &[aria-expanded="true"] {
435
+ border-bottom-style: var(--tw-border-style);
436
+ border-bottom-width: 0px;
437
+ }
586
438
  }
587
-
588
- .mastra\:\[\&_\.mastra-message-content\]\:bg-surface4 .mastra-message-content {
589
- background-color: var(--mastra-color-surface4);
439
+ .mastra\:\[\&_\.mastra-message-content\]\:bg-surface4 {
440
+ & .mastra-message-content {
441
+ background-color: var(--mastra-color-surface4);
442
+ }
590
443
  }
591
-
592
- .mastra\:\[\&_\.mastra-message-content\]\:px-4 .mastra-message-content {
593
- padding-inline: calc(var(--mastra-spacing) * 4);
444
+ .mastra\:\[\&_\.mastra-message-content\]\:px-4 {
445
+ & .mastra-message-content {
446
+ padding-inline: calc(var(--mastra-spacing) * 4);
447
+ }
594
448
  }
595
-
596
- .mastra\:\[\&_svg\.mastra-icon\]\:text-accent1 svg.mastra-icon {
597
- color: var(--mastra-color-accent1);
449
+ .mastra\:\[\&_svg\.mastra-icon\]\:text-accent1 {
450
+ & svg.mastra-icon {
451
+ color: var(--mastra-color-accent1);
452
+ }
598
453
  }
599
-
600
- .mastra\:\[\&_svg\.mastra-icon\]\:text-accent2 svg.mastra-icon {
601
- color: var(--mastra-color-accent2);
454
+ .mastra\:\[\&_svg\.mastra-icon\]\:text-accent2 {
455
+ & svg.mastra-icon {
456
+ color: var(--mastra-color-accent2);
457
+ }
602
458
  }
603
-
604
- .mastra\:\[\&_svg\.mastra-icon\]\:text-accent3 svg.mastra-icon {
605
- color: var(--mastra-color-accent3);
459
+ .mastra\:\[\&_svg\.mastra-icon\]\:text-accent3 {
460
+ & svg.mastra-icon {
461
+ color: var(--mastra-color-accent3);
462
+ }
606
463
  }
607
-
608
- .mastra\:\[\&_svg\.mastra-icon\]\:text-accent6 svg.mastra-icon {
609
- color: var(--mastra-color-accent6);
464
+ .mastra\:\[\&_svg\.mastra-icon\]\:text-accent6 {
465
+ & svg.mastra-icon {
466
+ color: var(--mastra-color-accent6);
467
+ }
610
468
  }
611
-
612
- .mastra\:\[\&_svg\.mastra-icon\]\:text-text3 svg.mastra-icon {
613
- color: var(--mastra-color-text3);
469
+ .mastra\:\[\&_svg\.mastra-icon\]\:text-text3 {
470
+ & svg.mastra-icon {
471
+ color: var(--mastra-color-text3);
472
+ }
614
473
  }
615
-
616
- .mastra\:\[\&\>pre\]\:\!bg-surface4 > pre {
617
- background-color: var(--mastra-color-surface4) !important;
474
+ .mastra\:\[\&\>pre\]\:\!bg-surface4 {
475
+ &>pre {
476
+ background-color: var(--mastra-color-surface4) !important;
477
+ }
618
478
  }
619
-
620
- .mastra\:\[\&\>pre\]\:p-4 > pre {
621
- padding: calc(var(--mastra-spacing) * 4);
479
+ .mastra\:\[\&\>pre\]\:p-4 {
480
+ &>pre {
481
+ padding: calc(var(--mastra-spacing) * 4);
482
+ }
622
483
  }
623
-
624
- .mastra\:\[\&\>pre\>code\]\:leading-5 > pre > code {
625
- --tw-leading: calc(var(--mastra-spacing) * 5);
626
- line-height: calc(var(--mastra-spacing) * 5);
484
+ .mastra\:\[\&\>pre\>code\]\:leading-5 {
485
+ &>pre>code {
486
+ --tw-leading: calc(var(--mastra-spacing) * 5);
487
+ line-height: calc(var(--mastra-spacing) * 5);
488
+ }
627
489
  }
628
-
629
- .mastra\:\[\&\>svg\]\:size-3 > svg {
630
- width: calc(var(--mastra-spacing) * 3);
631
- height: calc(var(--mastra-spacing) * 3);
490
+ .mastra\:\[\&\>svg\]\:size-3 {
491
+ &>svg {
492
+ width: calc(var(--mastra-spacing) * 3);
493
+ height: calc(var(--mastra-spacing) * 3);
494
+ }
632
495
  }
633
-
634
- .mastra\:\[\&\>svg\]\:size-4 > svg {
635
- width: calc(var(--mastra-spacing) * 4);
636
- height: calc(var(--mastra-spacing) * 4);
496
+ .mastra\:\[\&\>svg\]\:size-4 {
497
+ &>svg {
498
+ width: calc(var(--mastra-spacing) * 4);
499
+ height: calc(var(--mastra-spacing) * 4);
500
+ }
637
501
  }
638
-
639
- .mastra\:\[\&\>svg\]\:size-5 > svg {
640
- width: calc(var(--mastra-spacing) * 5);
641
- height: calc(var(--mastra-spacing) * 5);
502
+ .mastra\:\[\&\>svg\]\:size-5 {
503
+ &>svg {
504
+ width: calc(var(--mastra-spacing) * 5);
505
+ height: calc(var(--mastra-spacing) * 5);
506
+ }
642
507
  }
643
508
  }
644
-
645
509
  :root {
646
510
  --color-accent1: #1afb6f;
647
511
  --color-accent2: #ff4931;
@@ -650,70 +514,68 @@
650
514
  --color-accent5: #4a9df2;
651
515
  --color-accent6: #ecb047;
652
516
  }
653
-
654
517
  @keyframes tooltip-fade-in {
655
518
  from {
656
519
  opacity: 0;
657
520
  transform: translateY(-8px);
658
521
  }
659
-
660
522
  to {
661
523
  opacity: 1;
662
524
  transform: translateY(0);
663
525
  }
664
526
  }
665
-
666
527
  .mastra-tooltip-enter {
667
- animation: .2s ease-in-out tooltip-fade-in;
528
+ animation: tooltip-fade-in 0.2s ease-in-out;
668
529
  }
669
-
670
530
  .mastra-list {
671
- scrollbar-width: thin;
672
531
  padding-right: 8px;
532
+ scrollbar-width: thin;
673
533
  overflow-y: auto;
674
534
  }
675
-
676
535
  .mastra-list::-webkit-scrollbar {
677
536
  width: 4px;
678
537
  }
679
-
680
538
  .mastra-list::-webkit-scrollbar-track {
681
539
  border-radius: 4px;
682
540
  }
683
-
684
541
  .mastra-list::-webkit-scrollbar-thumb {
685
542
  border-radius: 4px;
686
543
  }
687
-
688
544
  @property --tw-space-y-reverse {
689
545
  syntax: "*";
690
546
  inherits: false;
691
547
  initial-value: 0;
692
548
  }
693
-
694
549
  @property --tw-border-style {
695
550
  syntax: "*";
696
551
  inherits: false;
697
552
  initial-value: solid;
698
553
  }
699
-
700
554
  @property --tw-duration {
701
555
  syntax: "*";
702
- inherits: false
556
+ inherits: false;
703
557
  }
704
-
705
558
  @property --tw-ease {
706
559
  syntax: "*";
707
- inherits: false
560
+ inherits: false;
708
561
  }
709
-
710
562
  @property --tw-leading {
711
563
  syntax: "*";
712
- inherits: false
564
+ inherits: false;
713
565
  }
714
-
715
566
  @keyframes pulse {
716
567
  50% {
717
- opacity: .5;
568
+ opacity: 0.5;
569
+ }
570
+ }
571
+ @layer properties {
572
+ @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
573
+ *, ::before, ::after, ::backdrop {
574
+ --tw-space-y-reverse: 0;
575
+ --tw-border-style: solid;
576
+ --tw-duration: initial;
577
+ --tw-ease: initial;
578
+ --tw-leading: initial;
579
+ }
718
580
  }
719
581
  }