Commit c07b2c0
authored
MCP client refactor - storage adapter (#652)
* move storage to the client manager
* fix: url missing after page load
* fix: dots
* fix: callback handling is now in client manager with 2 stage storage.
* some auth edge cases
* make storage sync for the moment to reduce complexity
* better default states
* cancel button on frontend
* remove openai from agents package.json
* unify mcp storage
* fix lock file
* fix: tests
* feat: more refactor
* tools tests
* update x402
* fix: types
* update default model in playground
* reasoning card
* Apply suggestion from @mattzcarey
* fix: from review
* add smooth scrolling
* fix: calling restore onstart and json schema the rest of the time
* fix: oauth tests
* remove smooth scroll :(
* make tests smaller
* rename to client for review
* revert changes to mcp.connect()
* make storage async
* fix readonly nit
* revert remove openai ai sdk provider
* remove public storage api
* add todos for ensureJsonSchema
* fix: mcp server states and unify observability to the mcp client manager class.
* remove callback cache
* dead
* createConnection. in memory method
* add tests
* changeset
* formatting
* claude comments
* remove redundant checks1 parent 412321b commit c07b2c0
File tree
17 files changed
+2881
-725
lines changed- .changeset
- packages/agents/src
- mcp
- tests
- mcp
- site/ai-playground/src
- components
17 files changed
+2881
-725
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
| 193 | + | |
193 | 194 | | |
194 | 195 | | |
195 | 196 | | |
196 | 197 | | |
| 198 | + | |
197 | 199 | | |
198 | 200 | | |
199 | 201 | | |
| |||
0 commit comments