Commit 1999159
authored
feat: add Update Environment MCP App (#10260)
* feat: add mcpapps experiment flag and helper
### Description
- Adds mcpapps experiment flag to src/experiments.ts.
- Adds applyAppMeta helper function to src/mcp/util.ts to conditionally add UI metadata.
- Adds unit tests for applyAppMeta in src/mcp/util.spec.ts.
### Scenarios Tested
- Unit tests passed.
- Build succeeds.
* chore: address PR comments on experiments and util
### Description
- Fixes applyAppMeta to preserve existing metadata.
- Moves mcpapps flag to be grouped with other MCP experiments.
- Removes as any in util.spec.ts by importing CallToolResult.
### Scenarios Tested
- Build succeeds.
- Lint passes for modified files (ignoring pre-existing warnings).
- Unit tests for applyAppMeta pass.
* feat: add infrastructure for MCP Apps
Adds support for returning structured content from tools, which is used by MCP Apps to pass complex data to the host. Also updates the resource index.
- Verified build and file changes.
* feat: add Update Environment MCP App
### Description
Adds the Update Environment MCP App, allowing users to switch projects and directories from the UI.
### Scenarios Tested
- Verified build and file changes.
* fix: resolve compilation errors in mcp-update-env-app
* fix: resolve remaining lint errors in mcp-update-env-app
* refactor: extract app MIME type shared constant1 parent 68600f6 commit 1999159
9 files changed
Lines changed: 658 additions & 45 deletions
File tree
- src
- mcp
- apps/update_environment
- resources
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
| 188 | + | |
188 | 189 | | |
189 | 190 | | |
190 | 191 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
184 | 184 | | |
185 | 185 | | |
186 | 186 | | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
187 | 192 | | |
188 | 193 | | |
189 | 194 | | |
| |||
0 commit comments