mirror of
https://github.com/simstudioai/sim.git
synced 2026-01-07 22:24:06 -05:00
improvement(mcp): restructure mcp tools caching/fetching info to improve UX (#2416)
* feat(mcp): improve cache practice * restructure mcps fetching, caching, UX indicators * fix schema * styling improvements * fix tooltips and render issue * fix loading sequence + add redis --------- Co-authored-by: waleed <walif6@gmail.com>
This commit is contained in:
committed by
GitHub
parent
b7228d57f7
commit
de330d80f5
1
packages/db/migrations/0123_windy_lockheed.sql
Normal file
1
packages/db/migrations/0123_windy_lockheed.sql
Normal file
@@ -0,0 +1 @@
|
||||
ALTER TABLE "mcp_servers" ADD COLUMN "status_config" jsonb DEFAULT '{}';
|
||||
7722
packages/db/migrations/meta/0123_snapshot.json
Normal file
7722
packages/db/migrations/meta/0123_snapshot.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -855,6 +855,13 @@
|
||||
"when": 1765587157593,
|
||||
"tag": "0122_pale_absorbing_man",
|
||||
"breakpoints": true
|
||||
},
|
||||
{
|
||||
"idx": 123,
|
||||
"version": "7",
|
||||
"when": 1765932898404,
|
||||
"tag": "0123_windy_lockheed",
|
||||
"breakpoints": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1547,6 +1547,8 @@ export const mcpServers = pgTable(
|
||||
connectionStatus: text('connection_status').default('disconnected'),
|
||||
lastError: text('last_error'),
|
||||
|
||||
statusConfig: jsonb('status_config').default('{}'),
|
||||
|
||||
toolCount: integer('tool_count').default(0),
|
||||
lastToolsRefresh: timestamp('last_tools_refresh'),
|
||||
totalRequests: integer('total_requests').default(0),
|
||||
|
||||
Reference in New Issue
Block a user