@idealyst/mcp-server 1.0.84

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 (211) hide show
  1. package/README.md +202 -0
  2. package/dist/data/cli-commands.d.ts +2 -0
  3. package/dist/data/cli-commands.d.ts.map +1 -0
  4. package/dist/data/cli-commands.js +100 -0
  5. package/dist/data/cli-commands.js.map +1 -0
  6. package/dist/data/components/Accordion.d.ts +15 -0
  7. package/dist/data/components/Accordion.d.ts.map +1 -0
  8. package/dist/data/components/Accordion.js +112 -0
  9. package/dist/data/components/Accordion.js.map +1 -0
  10. package/dist/data/components/ActivityIndicator.d.ts +15 -0
  11. package/dist/data/components/ActivityIndicator.d.ts.map +1 -0
  12. package/dist/data/components/ActivityIndicator.js +82 -0
  13. package/dist/data/components/ActivityIndicator.js.map +1 -0
  14. package/dist/data/components/Alert.d.ts +15 -0
  15. package/dist/data/components/Alert.d.ts.map +1 -0
  16. package/dist/data/components/Alert.js +132 -0
  17. package/dist/data/components/Alert.js.map +1 -0
  18. package/dist/data/components/Avatar.d.ts +15 -0
  19. package/dist/data/components/Avatar.d.ts.map +1 -0
  20. package/dist/data/components/Avatar.js +93 -0
  21. package/dist/data/components/Avatar.js.map +1 -0
  22. package/dist/data/components/Badge.d.ts +15 -0
  23. package/dist/data/components/Badge.d.ts.map +1 -0
  24. package/dist/data/components/Badge.js +64 -0
  25. package/dist/data/components/Badge.js.map +1 -0
  26. package/dist/data/components/Breadcrumb.d.ts +15 -0
  27. package/dist/data/components/Breadcrumb.d.ts.map +1 -0
  28. package/dist/data/components/Breadcrumb.js +96 -0
  29. package/dist/data/components/Breadcrumb.js.map +1 -0
  30. package/dist/data/components/Button.d.ts +15 -0
  31. package/dist/data/components/Button.d.ts.map +1 -0
  32. package/dist/data/components/Button.js +87 -0
  33. package/dist/data/components/Button.js.map +1 -0
  34. package/dist/data/components/Card.d.ts +15 -0
  35. package/dist/data/components/Card.d.ts.map +1 -0
  36. package/dist/data/components/Card.js +67 -0
  37. package/dist/data/components/Card.js.map +1 -0
  38. package/dist/data/components/Checkbox.d.ts +15 -0
  39. package/dist/data/components/Checkbox.d.ts.map +1 -0
  40. package/dist/data/components/Checkbox.js +118 -0
  41. package/dist/data/components/Checkbox.js.map +1 -0
  42. package/dist/data/components/Chip.d.ts +15 -0
  43. package/dist/data/components/Chip.d.ts.map +1 -0
  44. package/dist/data/components/Chip.js +76 -0
  45. package/dist/data/components/Chip.js.map +1 -0
  46. package/dist/data/components/Dialog.d.ts +15 -0
  47. package/dist/data/components/Dialog.d.ts.map +1 -0
  48. package/dist/data/components/Dialog.js +137 -0
  49. package/dist/data/components/Dialog.js.map +1 -0
  50. package/dist/data/components/Divider.d.ts +15 -0
  51. package/dist/data/components/Divider.d.ts.map +1 -0
  52. package/dist/data/components/Divider.js +71 -0
  53. package/dist/data/components/Divider.js.map +1 -0
  54. package/dist/data/components/Icon.d.ts +15 -0
  55. package/dist/data/components/Icon.d.ts.map +1 -0
  56. package/dist/data/components/Icon.js +70 -0
  57. package/dist/data/components/Icon.js.map +1 -0
  58. package/dist/data/components/Image.d.ts +15 -0
  59. package/dist/data/components/Image.d.ts.map +1 -0
  60. package/dist/data/components/Image.js +122 -0
  61. package/dist/data/components/Image.js.map +1 -0
  62. package/dist/data/components/Input.d.ts +15 -0
  63. package/dist/data/components/Input.d.ts.map +1 -0
  64. package/dist/data/components/Input.js +109 -0
  65. package/dist/data/components/Input.js.map +1 -0
  66. package/dist/data/components/List.d.ts +15 -0
  67. package/dist/data/components/List.d.ts.map +1 -0
  68. package/dist/data/components/List.js +113 -0
  69. package/dist/data/components/List.js.map +1 -0
  70. package/dist/data/components/Menu.d.ts +15 -0
  71. package/dist/data/components/Menu.d.ts.map +1 -0
  72. package/dist/data/components/Menu.js +132 -0
  73. package/dist/data/components/Menu.js.map +1 -0
  74. package/dist/data/components/Popover.d.ts +15 -0
  75. package/dist/data/components/Popover.d.ts.map +1 -0
  76. package/dist/data/components/Popover.js +159 -0
  77. package/dist/data/components/Popover.js.map +1 -0
  78. package/dist/data/components/Pressable.d.ts +15 -0
  79. package/dist/data/components/Pressable.d.ts.map +1 -0
  80. package/dist/data/components/Pressable.js +125 -0
  81. package/dist/data/components/Pressable.js.map +1 -0
  82. package/dist/data/components/Progress.d.ts +15 -0
  83. package/dist/data/components/Progress.d.ts.map +1 -0
  84. package/dist/data/components/Progress.js +95 -0
  85. package/dist/data/components/Progress.js.map +1 -0
  86. package/dist/data/components/RadioButton.d.ts +15 -0
  87. package/dist/data/components/RadioButton.d.ts.map +1 -0
  88. package/dist/data/components/RadioButton.js +140 -0
  89. package/dist/data/components/RadioButton.js.map +1 -0
  90. package/dist/data/components/SVGImage.d.ts +15 -0
  91. package/dist/data/components/SVGImage.d.ts.map +1 -0
  92. package/dist/data/components/SVGImage.js +112 -0
  93. package/dist/data/components/SVGImage.js.map +1 -0
  94. package/dist/data/components/Screen.d.ts +15 -0
  95. package/dist/data/components/Screen.d.ts.map +1 -0
  96. package/dist/data/components/Screen.js +99 -0
  97. package/dist/data/components/Screen.js.map +1 -0
  98. package/dist/data/components/Select.d.ts +15 -0
  99. package/dist/data/components/Select.d.ts.map +1 -0
  100. package/dist/data/components/Select.js +146 -0
  101. package/dist/data/components/Select.js.map +1 -0
  102. package/dist/data/components/Skeleton.d.ts +15 -0
  103. package/dist/data/components/Skeleton.d.ts.map +1 -0
  104. package/dist/data/components/Skeleton.js +110 -0
  105. package/dist/data/components/Skeleton.js.map +1 -0
  106. package/dist/data/components/Slider.d.ts +15 -0
  107. package/dist/data/components/Slider.d.ts.map +1 -0
  108. package/dist/data/components/Slider.js +129 -0
  109. package/dist/data/components/Slider.js.map +1 -0
  110. package/dist/data/components/Switch.d.ts +15 -0
  111. package/dist/data/components/Switch.d.ts.map +1 -0
  112. package/dist/data/components/Switch.js +127 -0
  113. package/dist/data/components/Switch.js.map +1 -0
  114. package/dist/data/components/TabBar.d.ts +15 -0
  115. package/dist/data/components/TabBar.d.ts.map +1 -0
  116. package/dist/data/components/TabBar.js +145 -0
  117. package/dist/data/components/TabBar.js.map +1 -0
  118. package/dist/data/components/Table.d.ts +15 -0
  119. package/dist/data/components/Table.d.ts.map +1 -0
  120. package/dist/data/components/Table.js +151 -0
  121. package/dist/data/components/Table.js.map +1 -0
  122. package/dist/data/components/Tabs.d.ts +15 -0
  123. package/dist/data/components/Tabs.d.ts.map +1 -0
  124. package/dist/data/components/Tabs.js +150 -0
  125. package/dist/data/components/Tabs.js.map +1 -0
  126. package/dist/data/components/Text.d.ts +15 -0
  127. package/dist/data/components/Text.d.ts.map +1 -0
  128. package/dist/data/components/Text.js +85 -0
  129. package/dist/data/components/Text.js.map +1 -0
  130. package/dist/data/components/TextArea.d.ts +15 -0
  131. package/dist/data/components/TextArea.d.ts.map +1 -0
  132. package/dist/data/components/TextArea.js +155 -0
  133. package/dist/data/components/TextArea.js.map +1 -0
  134. package/dist/data/components/Tooltip.d.ts +15 -0
  135. package/dist/data/components/Tooltip.d.ts.map +1 -0
  136. package/dist/data/components/Tooltip.js +105 -0
  137. package/dist/data/components/Tooltip.js.map +1 -0
  138. package/dist/data/components/Video.d.ts +15 -0
  139. package/dist/data/components/Video.d.ts.map +1 -0
  140. package/dist/data/components/Video.js +168 -0
  141. package/dist/data/components/Video.js.map +1 -0
  142. package/dist/data/components/View.d.ts +15 -0
  143. package/dist/data/components/View.d.ts.map +1 -0
  144. package/dist/data/components/View.js +126 -0
  145. package/dist/data/components/View.js.map +1 -0
  146. package/dist/data/components/index.d.ts +37 -0
  147. package/dist/data/components/index.d.ts.map +1 -0
  148. package/dist/data/components/index.js +110 -0
  149. package/dist/data/components/index.js.map +1 -0
  150. package/dist/data/framework-guides.d.ts +2 -0
  151. package/dist/data/framework-guides.d.ts.map +1 -0
  152. package/dist/data/framework-guides.js +589 -0
  153. package/dist/data/framework-guides.js.map +1 -0
  154. package/dist/data/icon-guide.d.ts +2 -0
  155. package/dist/data/icon-guide.d.ts.map +1 -0
  156. package/dist/data/icon-guide.js +285 -0
  157. package/dist/data/icon-guide.js.map +1 -0
  158. package/dist/data/icons.json +7452 -0
  159. package/dist/data/navigation-guides.d.ts +2 -0
  160. package/dist/data/navigation-guides.d.ts.map +1 -0
  161. package/dist/data/navigation-guides.js +1196 -0
  162. package/dist/data/navigation-guides.js.map +1 -0
  163. package/dist/index.d.ts +3 -0
  164. package/dist/index.d.ts.map +1 -0
  165. package/dist/index.js +422 -0
  166. package/dist/index.js.map +1 -0
  167. package/package.json +34 -0
  168. package/src/data/cli-commands.ts +103 -0
  169. package/src/data/components/Accordion.ts +106 -0
  170. package/src/data/components/ActivityIndicator.ts +82 -0
  171. package/src/data/components/Alert.ts +132 -0
  172. package/src/data/components/Avatar.ts +93 -0
  173. package/src/data/components/Badge.ts +63 -0
  174. package/src/data/components/Breadcrumb.ts +94 -0
  175. package/src/data/components/Button.ts +86 -0
  176. package/src/data/components/Card.ts +67 -0
  177. package/src/data/components/Checkbox.ts +117 -0
  178. package/src/data/components/Chip.ts +93 -0
  179. package/src/data/components/Dialog.ts +136 -0
  180. package/src/data/components/Divider.ts +70 -0
  181. package/src/data/components/Icon.ts +70 -0
  182. package/src/data/components/Image.ts +121 -0
  183. package/src/data/components/Input.ts +150 -0
  184. package/src/data/components/List.ts +103 -0
  185. package/src/data/components/Menu.ts +125 -0
  186. package/src/data/components/Popover.ts +159 -0
  187. package/src/data/components/Pressable.ts +123 -0
  188. package/src/data/components/Progress.ts +95 -0
  189. package/src/data/components/RadioButton.ts +130 -0
  190. package/src/data/components/SVGImage.ts +114 -0
  191. package/src/data/components/Screen.ts +103 -0
  192. package/src/data/components/Select.ts +140 -0
  193. package/src/data/components/Skeleton.ts +102 -0
  194. package/src/data/components/Slider.ts +150 -0
  195. package/src/data/components/Switch.ts +127 -0
  196. package/src/data/components/TabBar.ts +142 -0
  197. package/src/data/components/Table.ts +153 -0
  198. package/src/data/components/Tabs.ts +152 -0
  199. package/src/data/components/Text.ts +85 -0
  200. package/src/data/components/TextArea.ts +155 -0
  201. package/src/data/components/Tooltip.ts +105 -0
  202. package/src/data/components/Video.ts +168 -0
  203. package/src/data/components/View.ts +126 -0
  204. package/src/data/components/index.ts +109 -0
  205. package/src/data/framework-guides.ts +593 -0
  206. package/src/data/icon-guide.ts +284 -0
  207. package/src/data/icons.json +7452 -0
  208. package/src/data/navigation-guides.ts +1199 -0
  209. package/src/index.ts +473 -0
  210. package/test-client.js +86 -0
  211. package/tsconfig.json +20 -0
@@ -0,0 +1,593 @@
1
+ export const frameworkGuides: Record<string, string> = {
2
+ "idealyst://framework/getting-started": `# Getting Started with Idealyst
3
+
4
+ Idealyst is a modern, cross-platform framework for building React and React Native applications with a powerful component library, type-safe APIs, and monorepo tooling.
5
+
6
+ ## Quick Start
7
+
8
+ ### 1. Create a New Workspace
9
+
10
+ \`\`\`bash
11
+ npx @idealyst/cli init my-app
12
+ cd my-app
13
+ \`\`\`
14
+
15
+ This creates a monorepo workspace with:
16
+ - Yarn 3 workspace setup
17
+ - TypeScript configuration
18
+ - Jest testing setup
19
+ - Git repository
20
+ - Dev container configuration
21
+
22
+ ### 2. Create Packages
23
+
24
+ Create a web app:
25
+ \`\`\`bash
26
+ npx @idealyst/cli create web --type web --with-trpc
27
+ \`\`\`
28
+
29
+ Create a native app:
30
+ \`\`\`bash
31
+ npx @idealyst/cli create mobile --type native --app-name "My App" --with-trpc
32
+ \`\`\`
33
+
34
+ Create an API server:
35
+ \`\`\`bash
36
+ npx @idealyst/cli create api --type api
37
+ \`\`\`
38
+
39
+ Create a database layer:
40
+ \`\`\`bash
41
+ npx @idealyst/cli create database --type database
42
+ \`\`\`
43
+
44
+ ### 3. Start Development
45
+
46
+ \`\`\`bash
47
+ # Start web dev server
48
+ cd packages/web
49
+ yarn dev
50
+
51
+ # Start native dev
52
+ cd packages/mobile
53
+ yarn dev
54
+ \`\`\`
55
+
56
+ ## Project Structure
57
+
58
+ \`\`\`
59
+ my-app/
60
+ ├── packages/
61
+ │ ├── web/ # React web app (Vite)
62
+ │ ├── mobile/ # React Native app
63
+ │ ├── api/ # tRPC API server
64
+ │ ├── database/ # Prisma database layer
65
+ │ └── shared/ # Shared utilities
66
+ ├── package.json
67
+ └── yarn.lock
68
+ \`\`\`
69
+
70
+ ## Key Features
71
+
72
+ - **Cross-Platform Components**: Use the same components for web and native
73
+ - **Type-Safe APIs**: End-to-end type safety with tRPC
74
+ - **Modern Tooling**: Vite, TypeScript, Jest, Prisma
75
+ - **Monorepo Structure**: Share code across packages
76
+ - **Theme System**: Consistent styling with react-native-unistyles
77
+ - **Navigation**: Unified navigation for web and native
78
+
79
+ ## Next Steps
80
+
81
+ 1. Explore the component library: \`@idealyst/components\`
82
+ 2. Set up your database schema in \`packages/database\`
83
+ 3. Define your API routes in \`packages/api\`
84
+ 4. Build your UI in \`packages/web\` or \`packages/mobile\`
85
+ `,
86
+
87
+ "idealyst://framework/components-overview": `# Idealyst Components Overview
88
+
89
+ Idealyst provides a comprehensive library of cross-platform React components organized into categories.
90
+
91
+ ## Component Categories
92
+
93
+ ### Layout Components
94
+ - **View**: Flex container with spacing system
95
+ - **Screen**: Full-screen container with safe area handling
96
+ - **Divider**: Visual separator with orientation options
97
+
98
+ ### Form Components
99
+ - **Button**: Interactive button with variants, intents, and icons
100
+ - **Input**: Text input with label, validation, and helper text
101
+ - **Checkbox**: Form checkbox with label support
102
+ - **Select**: Dropdown selection component
103
+ - **Switch**: Toggle switch component
104
+ - **RadioButton**: Radio button group
105
+ - **Slider**: Range slider component
106
+ - **TextArea**: Multi-line text input
107
+
108
+ ### Display Components
109
+ - **Text**: Styled text with sizes and weights
110
+ - **Card**: Content container with variants
111
+ - **Badge**: Status indicator
112
+ - **Chip**: Compact element for tags and filters
113
+ - **Avatar**: User profile image
114
+ - **Icon**: MDI icon with theming
115
+ - **Skeleton**: Loading placeholder
116
+ - **Alert**: Notification message
117
+
118
+ ### Navigation Components
119
+ - **Tabs**: Tab navigation
120
+ - **TabBar**: Bottom tab bar
121
+ - **Breadcrumb**: Breadcrumb navigation
122
+ - **Menu**: Dropdown menu
123
+ - **List**: Vertical list with sections
124
+
125
+ ### Overlay Components
126
+ - **Dialog**: Modal dialog
127
+ - **Popover**: Contextual overlay
128
+ - **Tooltip**: Hover tooltip
129
+
130
+ ### Data Components
131
+ - **Table**: Data table with sorting and filtering
132
+ - **DataGrid**: Advanced data grid
133
+ - **DatePicker**: Date selection component
134
+ - **Progress**: Progress indicator
135
+
136
+ ## Common Props
137
+
138
+ Most components share common props:
139
+ - \`style\`: Custom styles
140
+ - \`testID\`: Test identifier
141
+ - \`disabled\`: Disable interaction
142
+
143
+ ### Intent Colors
144
+ Components support intent-based colors:
145
+ - \`primary\`: Main brand actions
146
+ - \`neutral\`: Secondary actions
147
+ - \`success\`: Positive actions
148
+ - \`error\`: Destructive actions
149
+ - \`warning\`: Caution actions
150
+
151
+ ### Variants
152
+ Many components offer visual variants:
153
+ - Buttons: \`contained\`, \`outlined\`, \`text\`
154
+ - Cards: \`default\`, \`outlined\`, \`elevated\`, \`filled\`
155
+ - Chips: \`filled\`, \`outlined\`, \`soft\`
156
+
157
+ ### Sizes
158
+ Most components support size variants:
159
+ - \`sm\`, \`md\`, \`lg\`
160
+ - Sometimes 'xs' and 'xl', but varies by component
161
+
162
+ ## Icon Support
163
+
164
+ Components with icon support accept:
165
+ - **String icon names**: Material Design Icons
166
+ - **React elements**: Custom icon components
167
+
168
+ Example:
169
+ \`\`\`tsx
170
+ <Button icon="check">Save</Button>
171
+ <Button icon={<CustomIcon />}>Save</Button>
172
+ \`\`\`
173
+
174
+ ## Theming
175
+
176
+ All components use the Unistyles theming system:
177
+ - Light and dark mode support
178
+ - Customizable color palettes
179
+ - Responsive breakpoints
180
+ - Platform-specific styles
181
+
182
+ ## Import Pattern
183
+
184
+ \`\`\`tsx
185
+ import { Button, Card, Text, View } from '@idealyst/components';
186
+ \`\`\`
187
+ `,
188
+
189
+ "idealyst://framework/theming": `# Theming Guide
190
+
191
+ Idealyst uses react-native-unistyles for cross-platform theming with full TypeScript support.
192
+
193
+ ## Theme Structure
194
+
195
+ Themes are defined with:
196
+ - **Colors**: Text, surface, border, intent colors
197
+ - **Typography**: Font families, sizes, weights
198
+ - **Spacing**: Consistent spacing scale
199
+ - **Border Radius**: Rounded corner sizes
200
+ - **Breakpoints**: Responsive design breakpoints
201
+
202
+ ## Default Theme
203
+
204
+ \`\`\`typescript
205
+ {
206
+ colors: {
207
+ text: {
208
+ primary: '#000000',
209
+ secondary: '#666666',
210
+ inverse: '#FFFFFF',
211
+ disabled: '#999999',
212
+ },
213
+ surface: {
214
+ primary: '#FFFFFF',
215
+ secondary: '#F5F5F5',
216
+ tertiary: '#EEEEEE',
217
+ inverse: '#000000',
218
+ },
219
+ border: {
220
+ primary: '#E0E0E0',
221
+ secondary: '#CCCCCC',
222
+ },
223
+ },
224
+ intents: {
225
+ primary: {
226
+ main: '#3B82F6',
227
+ container: '#DBEAFE',
228
+ onContainer: '#1E40AF',
229
+ },
230
+ success: {
231
+ main: '#10B981',
232
+ container: '#D1FAE5',
233
+ onContainer: '#065F46',
234
+ },
235
+ error: {
236
+ main: '#EF4444',
237
+ container: '#FEE2E2',
238
+ onContainer: '#991B1B',
239
+ },
240
+ warning: {
241
+ main: '#F59E0B',
242
+ container: '#FEF3C7',
243
+ onContainer: '#92400E',
244
+ },
245
+ },
246
+ spacing: {
247
+ xs: 4,
248
+ sm: 8,
249
+ md: 16,
250
+ lg: 24,
251
+ xl: 32,
252
+ xxl: 48,
253
+ },
254
+ borderRadius: {
255
+ sm: 4,
256
+ md: 8,
257
+ lg: 12,
258
+ xl: 16,
259
+ },
260
+ typography: {
261
+ fontFamily: {
262
+ sans: 'System',
263
+ mono: 'Monospace',
264
+ },
265
+ fontSize: {
266
+ xs: 12,
267
+ sm: 14,
268
+ md: 16,
269
+ lg: 18,
270
+ xl: 20,
271
+ },
272
+ fontWeight: {
273
+ light: '300',
274
+ normal: '400',
275
+ medium: '500',
276
+ semibold: '600',
277
+ bold: '700',
278
+ },
279
+ },
280
+ }
281
+ \`\`\`
282
+
283
+ ## Custom Themes
284
+
285
+ Create custom themes in your app:
286
+
287
+ \`\`\`typescript
288
+ // theme.ts
289
+ export const customTheme = {
290
+ colors: {
291
+ // Override colors
292
+ text: {
293
+ primary: '#1A1A1A',
294
+ // ...
295
+ },
296
+ },
297
+ intents: {
298
+ primary: {
299
+ main: '#6366F1', // Custom brand color
300
+ // ...
301
+ },
302
+ },
303
+ // ... rest of theme
304
+ };
305
+ \`\`\`
306
+
307
+ ## Using Themes
308
+
309
+ \`\`\`typescript
310
+ import { UnistylesRegistry } from 'react-native-unistyles';
311
+ import { lightTheme, darkTheme } from './themes';
312
+
313
+ UnistylesRegistry
314
+ .addThemes({
315
+ light: lightTheme,
316
+ dark: darkTheme,
317
+ })
318
+ .addConfig({
319
+ initialTheme: 'light',
320
+ });
321
+ \`\`\`
322
+
323
+ ## Dark Mode
324
+
325
+ Toggle between themes:
326
+
327
+ \`\`\`typescript
328
+ import { useStyles } from 'react-native-unistyles';
329
+
330
+ function ThemeToggle() {
331
+ const { theme } = useStyles();
332
+
333
+ const toggleTheme = () => {
334
+ theme.setTheme(theme.name === 'light' ? 'dark' : 'light');
335
+ };
336
+
337
+ return <Button onPress={toggleTheme}>Toggle Theme</Button>;
338
+ }
339
+ \`\`\`
340
+
341
+ ## Responsive Design
342
+
343
+ Use breakpoints for responsive layouts:
344
+
345
+ \`\`\`typescript
346
+ const styles = StyleSheet.create(theme => ({
347
+ container: {
348
+ padding: theme.spacing.md,
349
+
350
+ variants: {
351
+ breakpoint: {
352
+ sm: { maxWidth: 640 },
353
+ md: { maxWidth: 768 },
354
+ lg: { maxWidth: 1024 },
355
+ },
356
+ },
357
+ },
358
+ }));
359
+ \`\`\`
360
+
361
+ ## Platform-Specific Styles
362
+
363
+ \`\`\`typescript
364
+ const styles = StyleSheet.create(theme => ({
365
+ button: {
366
+ padding: theme.spacing.md,
367
+
368
+ _web: {
369
+ cursor: 'pointer',
370
+ ':hover': {
371
+ backgroundColor: theme.colors.surface.secondary,
372
+ },
373
+ },
374
+
375
+ _native: {
376
+ elevation: 2,
377
+ },
378
+ },
379
+ }));
380
+ \`\`\`
381
+ `,
382
+
383
+ "idealyst://framework/cli": `# Idealyst CLI Reference
384
+
385
+ The Idealyst CLI provides commands for creating and managing Idealyst projects.
386
+
387
+ ## Installation
388
+
389
+ \`\`\`bash
390
+ npm install -g @idealyst/cli
391
+ # or
392
+ npx @idealyst/cli <command>
393
+ \`\`\`
394
+
395
+ ## Commands
396
+
397
+ ### init
398
+
399
+ Initialize a new Idealyst workspace.
400
+
401
+ \`\`\`bash
402
+ idealyst init <workspace-name> [options]
403
+ \`\`\`
404
+
405
+ **Arguments:**
406
+ - \`workspace-name\`: Name for the workspace directory
407
+
408
+ **Options:**
409
+ - \`--git\`: Initialize git repository (default: true)
410
+ - \`--no-git\`: Skip git initialization
411
+ - \`--install\`: Install dependencies (default: true)
412
+ - \`--no-install\`: Skip dependency installation
413
+
414
+ **Examples:**
415
+ \`\`\`bash
416
+ idealyst init my-app
417
+ idealyst init my-company-app --no-git
418
+ \`\`\`
419
+
420
+ **Creates:**
421
+ - Monorepo workspace structure
422
+ - package.json with workspaces
423
+ - TypeScript configuration
424
+ - Jest setup
425
+ - Git repository (optional)
426
+ - Dev container configuration
427
+
428
+ ### create
429
+
430
+ Create a new package in the workspace.
431
+
432
+ \`\`\`bash
433
+ idealyst create <name> --type <type> [options]
434
+ \`\`\`
435
+
436
+ **Arguments:**
437
+ - \`name\`: Package name
438
+
439
+ **Options:**
440
+ - \`--type <type>\`: Package type (required)
441
+ - \`web\`: React web app with Vite
442
+ - \`native\`: React Native app
443
+ - \`api\`: tRPC API server
444
+ - \`database\`: Prisma database layer
445
+ - \`shared\`: Shared utilities library
446
+ - \`--app-name <name>\`: Display name for native apps (required for native)
447
+ - \`--with-trpc\`: Include tRPC setup (web/native)
448
+ - \`--no-trpc\`: Exclude tRPC setup (web/native)
449
+
450
+ **Examples:**
451
+ \`\`\`bash
452
+ # Web app
453
+ idealyst create web --type web --with-trpc
454
+
455
+ # Native app
456
+ idealyst create mobile --type native --app-name "My App" --with-trpc
457
+
458
+ # API server
459
+ idealyst create api --type api
460
+
461
+ # Database
462
+ idealyst create database --type database
463
+
464
+ # Shared library
465
+ idealyst create shared --type shared
466
+ \`\`\`
467
+
468
+ ## Package Types
469
+
470
+ ### Web Package
471
+ - Vite + React 19
472
+ - TypeScript
473
+ - React Router
474
+ - Optional tRPC client
475
+ - @idealyst/components
476
+ - @idealyst/theme
477
+
478
+ ### Native Package
479
+ - React Native 0.80
480
+ - TypeScript
481
+ - React Navigation
482
+ - Optional tRPC client
483
+ - @idealyst/components
484
+ - @idealyst/navigation
485
+
486
+ ### API Package
487
+ - tRPC server
488
+ - Express
489
+ - TypeScript
490
+ - CORS enabled
491
+ - WebSocket support
492
+
493
+ ### Database Package
494
+ - Prisma ORM
495
+ - TypeScript
496
+ - Schema definition
497
+ - Migration support
498
+ - Multiple database support
499
+
500
+ ### Shared Package
501
+ - TypeScript library
502
+ - Utility functions
503
+ - Type definitions
504
+ - Shared between packages
505
+
506
+ ## Workspace Commands
507
+
508
+ Run these from workspace root:
509
+
510
+ \`\`\`bash
511
+ # Install all dependencies
512
+ yarn install
513
+
514
+ # Run tests
515
+ yarn test
516
+ yarn test:watch
517
+ yarn test:coverage
518
+
519
+ # Build all packages
520
+ yarn workspaces foreach run build
521
+
522
+ # Version management
523
+ yarn version:patch # Bump patch version
524
+ yarn version:minor # Bump minor version
525
+ yarn version:major # Bump major version
526
+
527
+ # Publish
528
+ yarn publish:all
529
+ \`\`\`
530
+
531
+ ## Package Commands
532
+
533
+ Run these from package directory:
534
+
535
+ \`\`\`bash
536
+ # Development
537
+ yarn dev
538
+
539
+ # Build
540
+ yarn build
541
+
542
+ # Test
543
+ yarn test
544
+
545
+ # Type check
546
+ yarn type-check
547
+
548
+ # Lint
549
+ yarn lint
550
+ \`\`\`
551
+
552
+ ## Project Structure
553
+
554
+ \`\`\`
555
+ workspace/
556
+ ├── packages/
557
+ │ ├── web/
558
+ │ │ ├── src/
559
+ │ │ ├── public/
560
+ │ │ ├── package.json
561
+ │ │ └── vite.config.ts
562
+ │ ├── mobile/
563
+ │ │ ├── src/
564
+ │ │ ├── android/
565
+ │ │ ├── ios/
566
+ │ │ └── package.json
567
+ │ ├── api/
568
+ │ │ ├── src/
569
+ │ │ ├── trpc/
570
+ │ │ └── package.json
571
+ │ ├── database/
572
+ │ │ ├── prisma/
573
+ │ │ └── package.json
574
+ │ └── shared/
575
+ │ ├── src/
576
+ │ └── package.json
577
+ ├── package.json
578
+ ├── tsconfig.json
579
+ └── jest.config.js
580
+ \`\`\`
581
+
582
+ ## Best Practices
583
+
584
+ 1. **Use workspaces**: Keep related packages in the same workspace
585
+ 2. **Share code**: Use the shared package for utilities
586
+ 3. **Type safety**: Enable strict TypeScript
587
+ 4. **Testing**: Write tests for critical functionality
588
+ 5. **Versioning**: Keep package versions synchronized
589
+ 6. **Documentation**: Add README files to packages
590
+ 7. **Git**: Use conventional commits
591
+ 8. **Dependencies**: Share dependencies across packages when possible
592
+ `,
593
+ };