@corva/create-app 0.0.0-ce43383 → 0.0.0-e3730ad

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 (48) hide show
  1. package/README.md +5 -5
  2. package/common/python/Makefile +8 -5
  3. package/common/python/pyproject.toml +25 -0
  4. package/common/python/uv.lock +381 -0
  5. package/lib/commands/create.js +5 -5
  6. package/lib/constants/cli.js +6 -8
  7. package/lib/constants/manifest.js +3 -3
  8. package/lib/constants/package.js +44 -10
  9. package/lib/flows/lib/api.js +23 -8
  10. package/lib/flows/lib/manifest.js +1 -1
  11. package/lib/flows/steps/zip-file-list-resolve.js +8 -2
  12. package/lib/helpers/cli-version.js +14 -1
  13. package/lib/helpers/resolve-app-runtime.js +28 -13
  14. package/lib/helpers/utils.js +6 -2
  15. package/lib/main.js +2 -6
  16. package/package.json +1 -107
  17. package/templates/ui/javascript/.codex/config.toml +3 -0
  18. package/templates/ui/javascript/.cursor/mcp.json +8 -0
  19. package/templates/ui/javascript/.mcp.json +8 -0
  20. package/templates/ui/javascript/AGENTS.md +304 -0
  21. package/templates/ui/javascript/CLAUDE.md +1 -0
  22. package/templates/ui/javascript/src/App.completion.js +6 -17
  23. package/templates/ui/javascript/src/App.drilling.js +7 -11
  24. package/templates/ui/javascript/src/AppSettings.js +6 -20
  25. package/templates/ui/javascript/src/__tests__/App.test.js +4 -24
  26. package/templates/ui/javascript/src/__tests__/AppSettings.test.js +12 -5
  27. package/templates/ui/javascript/src/__tests__/TestsExample.test.js +2 -2
  28. package/templates/ui/javascript/src/index.js +1 -0
  29. package/templates/ui/typescript/.codex/config.toml +3 -0
  30. package/templates/ui/typescript/.cursor/mcp.json +8 -0
  31. package/templates/ui/typescript/.mcp.json +8 -0
  32. package/templates/ui/typescript/AGENTS.md +344 -0
  33. package/templates/ui/typescript/CLAUDE.md +1 -0
  34. package/templates/ui/typescript/src/App.completion.tsx +6 -10
  35. package/templates/ui/typescript/src/App.drilling.tsx +7 -9
  36. package/templates/ui/typescript/src/AppSettings.tsx +4 -4
  37. package/templates/ui/typescript/src/__mocks__/mockData.ts +15 -187
  38. package/templates/ui/typescript/src/__tests__/App.test.tsx +5 -73
  39. package/templates/ui/typescript/src/__tests__/AppSettings.test.tsx +9 -13
  40. package/templates/ui/typescript/src/__tests__/TestsExample.test.tsx +2 -2
  41. package/templates/ui/typescript/src/custom.d.ts +10 -0
  42. package/templates/ui/typescript/src/index.js +1 -0
  43. package/templates/ui/typescript/src/types.ts +0 -615
  44. package/common/python/requirements.txt +0 -2
  45. package/templates/ui/javascript/src/__mocks__/mockAppProps.js +0 -590
  46. package/templates/ui/javascript/src/__mocks__/mockAppSettingsProps.js +0 -290
  47. /package/templates/ui/javascript/src/{App.css → App.scss} +0 -0
  48. /package/templates/ui/typescript/src/{App.css → App.scss} +0 -0
@@ -0,0 +1,304 @@
1
+ # AGENTS.md
2
+
3
+ Corva.AI platform UI app — a React dashboard widget scaffolded by `create-corva-app`.
4
+ Deployed to the Corva platform via `yarn release`.
5
+
6
+ ## Critical Rules
7
+
8
+ These constraints are enforced by the platform. Violating them breaks the build or runtime.
9
+
10
+ 1. **Root export** — `src/index.js` MUST default-export `{ component: App, settings: AppSettings }`. The component may also be a `ParentApp` wrapper (e.g., `{ component: ParentApp, settings: AppSettings }`) that wraps `App` with Context.Providers and prop initialization. This is the platform loader contract.
11
+ 2. **UI components** — Use only `@corva/ui` components. Import from `@corva/ui/componentsV2`; fall back to `@corva/ui/components` only when a V2 version doesn't exist yet. `@material-ui/core` v4 is available as the underlying library.
12
+ 3. **HTTP clients** — Use `corvaDataAPI` / `corvaAPI` from `@corva/ui/clients` for all network requests.
13
+ 4. **Do not rename or delete** `App.js`, `AppSettings.js`, or `index.js` — they are platform entry points.
14
+
15
+ ## Project Structure
16
+
17
+ ```
18
+ src/
19
+ App.js — Main app component (default export required)
20
+ AppSettings.js — Settings panel component (default export required)
21
+ index.js — Root export: { component, settings }
22
+ constants.js — Default settings values
23
+ App.scss — Component styles
24
+ __tests__/ — Jest test files
25
+ __mocks__/ — Mock data (mockAppProps.js, mockAppSettingsProps.js)
26
+ assets/ — Static assets (SVGs, images)
27
+ config/jest/ — Jest setup (setupTests, transforms)
28
+ config-overrides.js — Webpack 5 customization
29
+ manifest.json — Corva platform app metadata (generated at scaffold time)
30
+ ```
31
+
32
+ ## Key Patterns
33
+
34
+ ### Component Structure
35
+
36
+ - Use JSDoc `@param` / `@returns` annotations for prop documentation.
37
+ - Use `useAppCommons()` from `@corva/ui/effects` for app context (`appKey`).
38
+
39
+ ### Styling
40
+
41
+ The preferred way to write styles is SCSS (`.scss` files).
42
+
43
+ Every `.scss` file must import the shared utilities:
44
+
45
+ ```scss
46
+ @import '@corva/ui/styles/common';
47
+ ```
48
+
49
+ This provides all functions, variables, and mixins below.
50
+
51
+ For custom shared variables or mixins specific to the project, create a `src/styles/` directory (e.g. `_variables.scss`, `_common.scss`) and import them alongside the `@corva/ui` import.
52
+
53
+ **`spacing($top, $right?, $bottom?, $left?)`** — 8px base unit:
54
+
55
+ ```scss
56
+ padding: spacing(2); // 16px
57
+ margin: spacing(1, 0); // 8px 0
58
+ gap: spacing(0.5); // 4px
59
+ padding: spacing(2, 1, 2, 1); // 16px 8px 16px 8px
60
+ ```
61
+
62
+ **`colorAlpha($color, $opacity)`** — transparency:
63
+
64
+ ```scss
65
+ background: colorAlpha($palette_t1, 0.08); // white at 8% opacity
66
+ border: 1px solid colorAlpha($palette_t1, 0.12);
67
+ ```
68
+
69
+ **`transition($properties...)`** — standard `cubic-bezier(0.4, 0, 0.2, 1) 0.15s`:
70
+
71
+ ```scss
72
+ transition: transition(opacity);
73
+ transition: transition(color, background-color);
74
+ ```
75
+
76
+ **Full example:**
77
+
78
+ ```scss
79
+ @import '@corva/ui/styles/common';
80
+
81
+ .container {
82
+ padding: spacing(2);
83
+ background: $palette_b5;
84
+ color: $palette_t1;
85
+ transition: transition(opacity, background-color);
86
+
87
+ &:hover {
88
+ background: colorAlpha($palette_t1, 0.08);
89
+ }
90
+ }
91
+
92
+ .label {
93
+ color: $palette_t7;
94
+ font-size: 12px;
95
+ }
96
+ ```
97
+
98
+ **Import in component:**
99
+
100
+ ```javascript
101
+ import styles from './App.scss';
102
+ // Use: <div className={styles.container}>
103
+ ```
104
+
105
+ **Colors & Theming:**
106
+
107
+ NEVER hardcode color values (hex, rgb, hsl). Always use `@corva/ui` theme colors:
108
+
109
+ - In SCSS: use SCSS variables from `@corva/ui/styles/common` like `$palette_t1`, `$palette_b5`, `$palette_t7`
110
+ - Use `colorAlpha($color, $opacity)` for transparency instead of raw `rgba()`
111
+ - Run MCP tool `get_theme_docs` (section: "variables") to see all available theme variables
112
+ - Run MCP tool `get_theme_docs` (section: "palette") to see available palette colors with hex values
113
+
114
+ **Rules:**
115
+
116
+ - No inline `style={{...}}` unless absolutely necessary for dynamic values
117
+ - Use `classnames` for conditional/composed classes, never manual string joins
118
+ - No global selectors (tag selectors like `div`, `span`) — use `:global()` only when absolutely necessary
119
+ - No `!important`
120
+ - Use a descriptive camelCase class as the root selector (e.g. `.toolbar`, `.chartPanel`) instead of generic `.root`
121
+
122
+ ### State Management (Zustand)
123
+
124
+ The Corva platform can render multiple instances of the same app simultaneously. If a Zustand store is created at module level (singleton), all instances share the same state. To avoid this, always create store instances inside a React Context provider.
125
+
126
+ **Store factory + context** — create a factory function and a context to hold the store instance:
127
+
128
+ ```javascript
129
+ // store/createAppStore.js
130
+ import { createContext } from 'react';
131
+ import { create } from 'zustand';
132
+
133
+ export const createAppStore = (initProps = {}) => {
134
+ return create((set, get) => ({
135
+ // Compose sub-stores
136
+ ...createSettingsStore(initProps.settings)(set, get),
137
+ ...createDataStore()(set, get),
138
+ }));
139
+ };
140
+
141
+ export const StoreContext = createContext(null);
142
+ ```
143
+
144
+ **Provider** — create the store once per app mount and pass it via context:
145
+
146
+ ```javascript
147
+ // StoreProvider.js
148
+ import { useState } from 'react';
149
+
150
+ import { StoreContext, createAppStore } from './store/createAppStore';
151
+
152
+ export const StoreProvider = ({ children, savedSettings }) => {
153
+ const [appStore] = useState(() => createAppStore(savedSettings));
154
+
155
+ return <StoreContext.Provider value={appStore}>{children}</StoreContext.Provider>;
156
+ };
157
+ ```
158
+
159
+ **Consumer hooks** — read from context, never from a global store:
160
+
161
+ ```javascript
162
+ // hooks/useAppStore.js
163
+ import { useContext } from 'react';
164
+ import { useStore } from 'zustand';
165
+ import { useStoreWithEqualityFn } from 'zustand/traditional';
166
+
167
+ import { StoreContext } from '../store/createAppStore';
168
+
169
+ /** Read a single top-level key from the store. */
170
+ export const useAppStore = key => {
171
+ const store = useContext(StoreContext);
172
+ if (!store) throw new Error('useAppStore must be used within StoreProvider');
173
+ return useStore(store, state => state[key]);
174
+ };
175
+
176
+ /** Subscribe to a derived value with optional custom equality. */
177
+ export const useAppStoreSelector = (selector, equalityFn) => {
178
+ const store = useContext(StoreContext);
179
+ if (!store) throw new Error('useAppStoreSelector must be used within StoreProvider');
180
+ return useStoreWithEqualityFn(store, selector, equalityFn);
181
+ };
182
+ ```
183
+
184
+ **Usage in components:**
185
+
186
+ ```javascript
187
+ const isLegendVisible = useAppStore('isLegendVisible');
188
+ const selectedChannels = useAppStoreSelector(state => state.selectedChannels);
189
+ ```
190
+
191
+ **Wire it up in `ParentApp`** (see full example with `QueryClientProvider` in the Data Fetching section below).
192
+
193
+ General rules:
194
+
195
+ - Name stores `use[Name]Store` (e.g., `useWellDataStore`)
196
+ - Use selectors: `const value = useAppStore('value')`
197
+ - Keep business logic in store actions
198
+
199
+ ### Data Fetching (React Query v4)
200
+
201
+ Same as Zustand: the platform runs multiple app instances, so each must have its own `QueryClient`. Never create a `QueryClient` at module level — use a hook with `useState` to create it once per mount.
202
+
203
+ **`useQueryClient` hook** — creates an isolated `QueryClient` per app instance:
204
+
205
+ ```javascript
206
+ // hooks/useQueryClient.js
207
+ import { useState } from 'react';
208
+ import { QueryCache, QueryClient } from '@tanstack/react-query';
209
+ import { showErrorNotification } from '@corva/ui/utils';
210
+
211
+ export const useQueryClient = () => {
212
+ const [queryClient] = useState(
213
+ new QueryClient({
214
+ queryCache: new QueryCache({
215
+ onError: error => {
216
+ if (error?.message) {
217
+ showErrorNotification(`Something went wrong: ${error.message}`);
218
+ }
219
+ },
220
+ }),
221
+ defaultOptions: {
222
+ queries: {
223
+ refetchOnWindowFocus: false,
224
+ refetchOnReconnect: false,
225
+ },
226
+ },
227
+ })
228
+ );
229
+
230
+ return queryClient;
231
+ };
232
+ ```
233
+
234
+ **Wire it up in `ParentApp`** — wrap the app tree with `QueryClientProvider`:
235
+
236
+ ```javascript
237
+ import { QueryClientProvider } from '@tanstack/react-query';
238
+
239
+ const ParentApp = () => {
240
+ const { appSettings, onSettingsChange } = useAppCommons();
241
+ const queryClient = useQueryClient();
242
+
243
+ return (
244
+ <QueryClientProvider client={queryClient}>
245
+ <StoreProvider savedSettings={appSettings?.savedSettings}>
246
+ <App />
247
+ </StoreProvider>
248
+ </QueryClientProvider>
249
+ );
250
+ };
251
+
252
+ export default { component: ParentApp, settings: AppSettings };
253
+ ```
254
+
255
+ General rules:
256
+
257
+ - Encapsulate queries in custom hooks (e.g., `useWellData`)
258
+ - Use typed query keys (array format)
259
+ - Always handle `isLoading` and `isError` states
260
+
261
+ ## Naming Conventions
262
+
263
+ - Boolean variables: prefix with `is`, `has`, or `should`
264
+ - Non-empty array checks: `!!array.length` (not `array.length > 0`)
265
+
266
+ ## Testing
267
+
268
+ - **Framework:** Jest + React Testing Library
269
+ - **Wrapper:** Use `AppTestWrapper` from `@corva/ui/testing` to wrap components
270
+ - **Mocking:** Mock network requests (jest mocks or msw), never call real APIs
271
+ - **Timezone:** UTC is enforced (`process.env.TZ = 'UTC'`)
272
+ - **Mocked globals:** `ResizeObserver`, `MutationObserver` (in `setupTests.js`)
273
+
274
+ ## Commands
275
+
276
+ ```
277
+ yarn start Dev server at http://app.local.corva.ai:8080/
278
+ yarn build Production bundle
279
+ yarn test Run tests
280
+ yarn lint ESLint check
281
+ yarn zip Create deployment ZIP
282
+ yarn release Release to Corva platform
283
+ ```
284
+
285
+ ## @corva/ui Documentation
286
+
287
+ Local documentation for `@corva/ui` is bundled at `node_modules/@corva/ui/docs/`.
288
+ Before implementing any UI component, data fetch, or API call, read the relevant doc file:
289
+
290
+ - **V2 Components:** `node_modules/@corva/ui/docs/01-components-v2/` — Props, examples, usage
291
+ - **V1 Components:** `node_modules/@corva/ui/docs/02-components-v1/` — Legacy components reference
292
+ - **Hooks:** `node_modules/@corva/ui/docs/03-hooks/` — Parameters, return types, examples
293
+ - **API Clients:** `node_modules/@corva/ui/docs/04-clients/` — corvaAPI, corvaDataAPI endpoints
294
+ - **Theme:** `node_modules/@corva/ui/docs/05-theme/` — Color palette, CSS variables
295
+ - **Utilities:** `node_modules/@corva/ui/docs/06-utilities/` — Helper functions
296
+ - **Constants:** `node_modules/@corva/ui/docs/07-constants/` — Platform constants
297
+
298
+ Start with `node_modules/@corva/ui/docs/README.md` for the full index.
299
+ Do NOT guess `@corva/ui` APIs — read the local docs first.
300
+
301
+ ## MCP Server (Interactive Fallback)
302
+
303
+ The `corva-ui` MCP server is pre-configured (`.mcp.json`, `.cursor/mcp.json`, `.codex/config.toml`).
304
+ Use it for interactive queries when the local docs are insufficient or you need to search across components.
@@ -0,0 +1 @@
1
+ @AGENTS.md
@@ -4,23 +4,12 @@ import { useAppCommons } from '@corva/ui/effects';
4
4
  import { DEFAULT_SETTINGS } from './constants';
5
5
  import logo from './assets/logo.svg';
6
6
 
7
- import styles from './App.css';
7
+ import styles from './App.scss';
8
8
 
9
- /**
10
- * @param {Object} props
11
- * @param {boolean} props.isExampleCheckboxChecked
12
- * @param {Object} props.fracFleet
13
- * @param {Object} props.well
14
- * @param {Object[]} props.wells
15
- * @returns
16
- */
17
- function App({
18
- isExampleCheckboxChecked = DEFAULT_SETTINGS.isExampleCheckboxChecked,
19
- fracFleet,
20
- well,
21
- wells,
22
- }) {
23
- const { appKey } = useAppCommons();
9
+ const App = () => {
10
+ const { appKey, fracFleet, well, wells, appSettings } = useAppCommons();
11
+ const { isExampleCheckboxChecked = DEFAULT_SETTINGS.isExampleCheckboxChecked } =
12
+ appSettings || {};
24
13
  // NOTE: On general type dashboard app receives wells array
25
14
  // on asset type dashboard app receives well object
26
15
  const wellsList = wells || [well];
@@ -56,7 +45,7 @@ function App({
56
45
  </div>
57
46
  </AppContainer>
58
47
  );
59
- }
48
+ };
60
49
 
61
50
  // Important: Do not change root component default export (App.js). Use it as container
62
51
  // for your App. It's required to make build and zip scripts work as expected;
@@ -4,17 +4,13 @@ import { useAppCommons } from '@corva/ui/effects';
4
4
  import { DEFAULT_SETTINGS } from './constants';
5
5
  import logo from './assets/logo.svg';
6
6
 
7
- import styles from './App.css';
7
+ import styles from './App.scss';
8
+
9
+ const App = () => {
10
+ const { appKey, rig, well, appSettings } = useAppCommons();
11
+ const { isExampleCheckboxChecked = DEFAULT_SETTINGS.isExampleCheckboxChecked } =
12
+ appSettings || {};
8
13
 
9
- /**
10
- * @param {Object} props
11
- * @param {boolean} props.isExampleCheckboxChecked
12
- * @param {Object} props.rig
13
- * @param {Object} props.well
14
- * @returns
15
- */
16
- function App({ isExampleCheckboxChecked = DEFAULT_SETTINGS.isExampleCheckboxChecked, rig, well }) {
17
- const { appKey } = useAppCommons();
18
14
  return (
19
15
  <AppContainer header={<AppHeader />} testId={appKey}>
20
16
  <div className={styles.container}>
@@ -46,7 +42,7 @@ function App({ isExampleCheckboxChecked = DEFAULT_SETTINGS.isExampleCheckboxChec
46
42
  </div>
47
43
  </AppContainer>
48
44
  );
49
- }
45
+ };
50
46
 
51
47
  // Important: Do not change root component default export (App.js). Use it as container
52
48
  // for your App. It's required to make build and zip scripts work as expected;
@@ -1,26 +1,12 @@
1
1
  import { Checkbox, FormControlLabel } from '@material-ui/core';
2
+ import { useAppCommons } from '@corva/ui/effects';
2
3
 
3
4
  import { DEFAULT_SETTINGS } from './constants';
4
5
 
5
- /**
6
- * @param {Object} props
7
- * @param {Object} props.app
8
- * @param {Object} props.appData
9
- * @param {Object} props.company
10
- * @param {(key: string, value: any) => void} props.onSettingChange
11
- * @param {{isExampleCheckboxChecked: boolean}} props.settings
12
- * @param {Object} props.user
13
- * @returns
14
- */
15
- function AppSettings({
16
- settings: apiSettings,
17
- onSettingChange,
18
- // appData,
19
- // app,
20
- // user = {},
21
- // company = {},
22
- }) {
23
- const settings = { ...DEFAULT_SETTINGS, ...apiSettings };
6
+ const AppSettings = () => {
7
+ const { appSettings, onSettingChange } = useAppCommons();
8
+ const settings = { ...DEFAULT_SETTINGS, ...appSettings };
9
+
24
10
  return (
25
11
  <div>
26
12
  <FormControlLabel
@@ -35,7 +21,7 @@ function AppSettings({
35
21
  />
36
22
  </div>
37
23
  );
38
- }
24
+ };
39
25
 
40
26
  // Important: Do not change root component default export (AppSettings.js). Use it as container
41
27
  // for your App Settings. It's required to make build and zip scripts work as expected;
@@ -2,21 +2,12 @@ import { render, screen } from '@testing-library/react';
2
2
  import { AppTestWrapper } from '@corva/ui/testing';
3
3
 
4
4
  import App from '../App';
5
- import { mockAppProps } from '../__mocks__/mockAppProps';
6
5
 
7
6
  describe('<App />', () => {
8
7
  it('should show correct layout', () => {
9
8
  render(
10
- <AppTestWrapper
11
- app={mockAppProps.app}
12
- appId={123}
13
- maximized={false}
14
- appSettings={mockAppProps.app.settings}
15
- onSettingChange={() => {
16
- /* noop */
17
- }}
18
- >
19
- <App {...mockAppProps} />
9
+ <AppTestWrapper appSettings={{ isExampleCheckboxChecked: true }}>
10
+ <App />
20
11
  </AppTestWrapper>
21
12
  );
22
13
 
@@ -24,20 +15,9 @@ describe('<App />', () => {
24
15
  });
25
16
 
26
17
  it('should show correct layout when settings are not provided', () => {
27
- const propsWithoutSettings = mockAppProps;
28
- delete propsWithoutSettings.isExampleCheckboxChecked;
29
-
30
18
  render(
31
- <AppTestWrapper
32
- app={mockAppProps.app}
33
- appId={123}
34
- maximized={false}
35
- appSettings={mockAppProps.app.settings}
36
- onSettingChange={() => {
37
- /* noop */
38
- }}
39
- >
40
- <App {...propsWithoutSettings} />
19
+ <AppTestWrapper appSettings={{}}>
20
+ <App />
41
21
  </AppTestWrapper>
42
22
  );
43
23
 
@@ -1,21 +1,28 @@
1
1
  import { render, screen, act } from '@testing-library/react';
2
2
  import userEvent from '@testing-library/user-event';
3
+ import { AppTestWrapper } from '@corva/ui/testing';
3
4
 
4
5
  import AppSettings from '../AppSettings';
5
- import { mockAppSettingsProps } from '../__mocks__/mockAppSettingsProps';
6
6
 
7
7
  describe('<AppSettings />', () => {
8
8
  it('should call onChange with a changed setting on settings change', async () => {
9
- const handleSettingsChange = jest.fn();
9
+ const handleSettingChange = jest.fn();
10
10
 
11
- render(<AppSettings {...mockAppSettingsProps} onSettingChange={handleSettingsChange} />);
11
+ render(
12
+ <AppTestWrapper
13
+ appSettings={{ isExampleCheckboxChecked: true }}
14
+ onSettingChange={handleSettingChange}
15
+ >
16
+ <AppSettings />
17
+ </AppTestWrapper>
18
+ );
12
19
 
13
- const exampleCheckbox = screen.getByTestId('exampleCheckbox').querySelector('input');
20
+ const exampleCheckbox = screen.getByRole('checkbox', { name: /example/i });
14
21
 
15
22
  await act(async () => {
16
23
  await userEvent.click(exampleCheckbox);
17
24
  });
18
25
 
19
- expect(handleSettingsChange).toBeCalledWith('isExampleCheckboxChecked', false);
26
+ expect(handleSettingChange).toBeCalledWith('isExampleCheckboxChecked', false);
20
27
  });
21
28
  });
@@ -1,6 +1,6 @@
1
1
  import { useState } from 'react';
2
2
  import { render, screen, waitFor } from '@testing-library/react';
3
- import { components } from '@corva/ui';
3
+ import { Button } from '@corva/ui/componentsV2';
4
4
  import userEvent from '@testing-library/user-event';
5
5
 
6
6
  const Toggle = () => {
@@ -9,7 +9,7 @@ const Toggle = () => {
9
9
  return (
10
10
  <>
11
11
  {isOn ? 'ON' : 'OFF'}
12
- <components.Button onClick={() => setIsOn(value => !value)}>toggle</components.Button>
12
+ <Button onClick={() => setIsOn(value => !value)}>toggle</Button>
13
13
  </>
14
14
  );
15
15
  };
@@ -1,3 +1,4 @@
1
+ // DO NOT modify this structure
1
2
  import App from './App';
2
3
  import AppSettings from './AppSettings';
3
4
 
@@ -0,0 +1,3 @@
1
+ [mcp_servers.corva-ui]
2
+ command = "npx"
3
+ args = ["-p", "@corva/ui", "corva-ui-mcp"]
@@ -0,0 +1,8 @@
1
+ {
2
+ "mcpServers": {
3
+ "corva-ui": {
4
+ "command": "npx",
5
+ "args": ["-p", "@corva/ui", "corva-ui-mcp"]
6
+ }
7
+ }
8
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "mcpServers": {
3
+ "corva-ui": {
4
+ "command": "npx",
5
+ "args": ["-p", "@corva/ui", "corva-ui-mcp"]
6
+ }
7
+ }
8
+ }