Commit Graph

506 Commits

Author SHA1 Message Date
Ola Hungerford
379486b5ea Add failing test for pull/206 2025-03-24 09:43:48 -07:00
Ola Hungerford
b7fa23676a Fix formatting 2025-03-24 09:27:51 -07:00
Ola Hungerford
a7f25153c4 Add failing ToolsTab test that should get fixed with pull/198 2025-03-24 09:18:58 -07:00
Ola Hungerford
fa3e2867c9 Fix formatting 2025-03-24 09:07:53 -07:00
Ola Hungerford
5735f2347a Add tests related to issues/187 to confirm fixed 2025-03-24 08:52:45 -07:00
Ola Hungerford
cab1ed3dd8 Add some json form tests and handle css in ui tests 2025-03-24 08:28:28 -07:00
Ola Hungerford
61e229a552 Add sidebar tests 2025-03-23 13:35:24 -07:00
Ola Hungerford
451704471c Remove setup 2025-03-23 13:25:06 -07:00
Ola Hungerford
668cc915e4 Add jest-dom types 2025-03-23 13:22:31 -07:00
Ola Hungerford
85f0e21679 Use commonjs for jest 2025-03-23 13:22:13 -07:00
Ola Hungerford
fc76a7c7d4 Add setup file and remove old testing mock that no longer exists from moduleNameMapper 2025-03-23 12:46:30 -07:00
Ola Hungerford
210975e385 Add test dependencies 2025-03-23 12:44:30 -07:00
Ola Hungerford
2890e036ed Merge pull request #201 from Larmyliu/feat/proxyServerUrl
Update Vite configuration to enable host access and use `window.location.hostname` for Inspector URL
2025-03-22 21:13:39 -07:00
Ola Hungerford
008204fda5 Merge pull request #193 from seuros/main
feat: Add utility function to escape Unicode characters in tool results
2025-03-22 19:14:16 -07:00
Abdelkader Boudih
af44efb236 chore: extract utils escapeUnicode 2025-03-22 16:25:33 +00:00
Larmyliu
51f3135c76 Merge branch 'main' into feat/proxyServerUrl 2025-03-23 00:11:58 +08:00
Abdelkader Boudih
3488bdb613 feat: Add utility function to escape Unicode characters in tool results 2025-03-21 22:21:26 +00:00
Ola Hungerford
043f6040c6 Merge pull request #174 from ryanrozich/fix-env-var-parsing
Fix environment variable parsing to handle values with equals signs
2025-03-21 09:01:09 -07:00
Ola Hungerford
74d0fcf5a3 Merge branch 'main' into fix-env-var-parsing 2025-03-21 08:39:32 -07:00
Ola Hungerford
de8795106c Merge pull request #189 from cliffhall/add-log-level-setting
Add log level setting in UI
2025-03-21 08:38:58 -07:00
Cliff Hall
c726c53b00 Merge branch 'main' into add-log-level-setting 2025-03-21 11:06:31 -04:00
Ola Hungerford
20db043b40 Merge branch 'main' into fix-env-var-parsing 2025-03-21 07:07:04 -07:00
Ola Hungerford
dfc9cf7629 Merge pull request #159 from olaservo/handle-empty-json-fields
Improve on tool input handling and add tests
2025-03-21 06:36:44 -07:00
jazminliu
4fdbcee706 Update Vite configuration to enable host access and fix proxy server URL to use the current hostname. 2025-03-20 22:04:59 +08:00
Ola Hungerford
c463dc58c2 Simplify check for defaults and add another test 2025-03-18 06:23:25 -07:00
Ola Hungerford
a85d5e7050 Fix formatting 2025-03-17 07:56:23 -07:00
Ola Hungerford
7ddba51b36 Generate empty objects and arrays for non required object and array fields 2025-03-17 06:36:35 -07:00
Ola Hungerford
50131c6960 Merge branch 'main' into handle-empty-json-fields 2025-03-16 15:56:24 -07:00
Ola Hungerford
28978ea24f Update package lock after re-running npm install 2025-03-16 15:42:16 -07:00
Ola Hungerford
cae7c76358 Fix formatting 2025-03-16 15:31:49 -07:00
Ola Hungerford
50a65d0c7a Use generateDefaultValue for object and array defaults 2025-03-16 15:29:59 -07:00
Ola Hungerford
e1b015e40d Add comments explaining extra parsing logic 2025-03-16 15:28:07 -07:00
Ola Hungerford
7c4ed6abca Use working-directory instead of cd to client 2025-03-16 15:24:48 -07:00
Ola Hungerford
a3740c4798 Remove unneeded DynamicJsonForm.tsx 2025-03-16 15:24:34 -07:00
cliffhall
d8b5bdb613 Run prettier 2025-03-15 17:03:22 -04:00
cliffhall
5104952239 Add log level setting in UI
* This fixes #188
* In App.tsx
  - import LoggingLevel from sdk
  - add [logLevel, setLogLevel] useState with value of type LoggingLevel initialized to "debug"
  - add useEffect that stores the new logLevel in localStorage as "logLevel"
  - added sendLogLevelRequest function that takes a level argument of type LoggingLevel and sends the appropriate request. It calls setLogLevel when done, to update the local UI
  - pass logLevel and sendLogLevelRequest to Sidebar component as props
* In Sidebar.tsx
  - Import LoggingLevel and LoggingLevelSchema from sdk
  - add props and prop types for  logLevel and sendLogLevelRequest and loggingSupported
  - add Select component populated with the enum values of LoggingLevelSchema, shown only if loggingSupported is true and connectionStatus is "connected"
*
2025-03-15 16:37:10 -04:00
Ryan Rozich
67722aea71 Merge branch 'main' into fix-env-var-parsing 2025-03-15 14:27:46 -05:00
Ola Hungerford
cedf02d152 Merge pull request #185 from cliffhall/add-logging-message-handler
Add support for server logging messages
2025-03-15 09:44:22 -07:00
Cliff Hall
f01f02d5be Merge branch 'modelcontextprotocol:main' into add-logging-message-handler 2025-03-15 12:38:27 -04:00
Ola Hungerford
56932e8a93 Merge pull request #178 from lloydzhou/main
Add SSE 'Accept' header
2025-03-15 06:29:18 -07:00
lloydzhou
aeaf32fa45 fix 2025-03-15 12:58:11 +08:00
lloydzhou
090b7efdea add sse accept header 2025-03-15 12:58:11 +08:00
cliffhall
d70e6dc0e8 In useConnection.ts,
- import LoggingMessageNotificationSchema
- set onNotification as notification handler for LoggingMessageNotificationSchema
2025-03-13 15:17:17 -04:00
Ola Hungerford
1f214deeab Merge branch 'main' into handle-empty-json-fields 2025-03-13 06:17:18 -07:00
Ola Hungerford
c77252900a Merge pull request #180 from seuros/version
feat: Fetch version from package.json in useConnection hook
2025-03-12 13:48:11 -07:00
Ola Hungerford
498c02b0f1 Merge pull request #182 from leoshimo/leoshimo/181-sampling-dark-mode
fix: add dark mode support to SamplingTab JSON display (#181)
2025-03-12 13:06:24 -07:00
Ola Hungerford
60c4645eaf Fix formatting 2025-03-12 08:20:11 -07:00
Ryan Rozich
fe8b1ee88b remove comments 2025-03-11 22:46:38 -05:00
Ryan Rozich
04a90e8d89 Fix environment variable parsing to handle values with equals signs 2025-03-11 22:46:38 -05:00
leoshimo
e5ee00bf89 fix: add dark mode support to SamplingTab JSON display (#181) 2025-03-11 12:59:28 -07:00