-
Notifications
You must be signed in to change notification settings - Fork 1
feat(cli): support mcp apps and improved error handling #85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -34,7 +34,7 @@ | |
| "dist/**/*.js" | ||
| ], | ||
| "scripts": { | ||
| "dev": "pnpm run nve:install && pnpm dlx @modelcontextprotocol/inspector@0.21.2 node ./dist/index.js mcp", | ||
| "dev": "pnpm run nve:install && npx @modelcontextprotocol/inspector@0.21.2 node ./dist/index.js mcp", | ||
|
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Added npx here due to modelcontextprotocol/inspector#873 |
||
| "ci": "wireit", | ||
| "build": "wireit", | ||
| "lint": "wireit", | ||
|
|
@@ -47,22 +47,23 @@ | |
| "nve:uninstall:node": "pnpm uninstall --global @nvidia-elements/cli" | ||
| }, | ||
| "dependencies": { | ||
| "@nvidia-elements/lint": "workspace:^", | ||
| "@inquirer/prompts": "8.4.2", | ||
| "@modelcontextprotocol/sdk": "1.29.0", | ||
| "@nvidia-elements/code": "workspace:*", | ||
| "@nvidia-elements/lint": "workspace:^", | ||
| "adm-zip": "0.5.17", | ||
| "archiver": "7.0.1", | ||
| "marked": "18.0.3", | ||
| "marked-terminal": "7.3.0", | ||
| "open": "11.0.0", | ||
| "ora": "9.4.0", | ||
| "publint": "catalog:", | ||
| "yargs": "18.0.0", | ||
| "open": "11.0.0", | ||
| "zod": "catalog:" | ||
| }, | ||
| "devDependencies": { | ||
| "@internals/tools": "workspace:*", | ||
| "@internals/eslint": "workspace:*", | ||
| "@internals/tools": "workspace:*", | ||
| "@internals/vite": "workspace:*", | ||
| "@vitest/coverage-istanbul": "catalog:", | ||
| "@types/node": "catalog:", | ||
|
|
@@ -117,6 +118,13 @@ | |
| "command": "NODE_ENV=production vite build", | ||
| "files": [ | ||
| "../internals/tools/dist/**/*.js", | ||
| "../core/dist/bundles/index.js", | ||
| "../code/dist/bundles/index.js", | ||
| "../themes/dist/index.css", | ||
| "../themes/dist/dark.css", | ||
| "../themes/dist/high-contrast.css", | ||
| "../styles/dist/typography.css", | ||
| "../styles/dist/layout.css", | ||
| "src/**", | ||
| "!src/**/*.test.ts", | ||
| "package.json", | ||
|
|
@@ -135,6 +143,22 @@ | |
| { | ||
| "script": "../internals/tools:build", | ||
| "cascade": false | ||
| }, | ||
| { | ||
| "script": "../core:build", | ||
| "cascade": false | ||
| }, | ||
| { | ||
| "script": "../code:build", | ||
| "cascade": false | ||
| }, | ||
| { | ||
| "script": "../themes:build", | ||
| "cascade": false | ||
| }, | ||
| { | ||
| "script": "../styles:build", | ||
| "cascade": false | ||
|
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. CLI now relies on these builds since we create the mcp-app html files |
||
| } | ||
| ] | ||
| }, | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.