Commit graph

1,867 commits

Author SHA1 Message Date
Felix Weinberger
d995ce3bbd
Fix ReadableStream controller double-close crash
Guard against calling controller.close() when the stream has already
been closed by an external cancellation. This can happen when the SDK
cancels the stream before the underlying Node stream emits its 'end'
event.

- Add `closed` flag to track controller state
- Guard all controller operations with closed check
- Add `cancel()` callback to handle external cancellation
- Properly destroy the Node stream on cancellation
2025-11-27 21:57:17 +00:00
evalstate
6a86c19636 bump prettier. 3.7 was raising issues in CI (using 3.7.1) that 3.6.2 was not. 2025-11-27 20:48:30 +00:00
evalstate
927098faa9 prettier 2025-11-27 20:39:51 +00:00
evalstate
87f14dc9e4 npm audit fix 2025-11-27 20:34:08 +00:00
evalstate
85a4f630ed bump sdk to 1.23.0 2025-11-27 20:09:26 +00:00
evalstate
635a9a18f0 zod4 compatibility fixed for CI 2025-11-27 19:41:40 +00:00
Ola Hungerford
4e431c9c24
Merge pull request #921 from koic/bump_claude_code_github_action_to_v1 0.17.3 0.17.4
Bump Claude Code GitHub Action to v1
2025-11-20 22:54:41 -07:00
Koichi ITO
b566f0406e Bump Claude Code GitHub Action to v1
Follow-up to https://github.com/modelcontextprotocol/servers/pull/3018.

This PR bumps Claude Code GitHub Action to v1 from beta.
https://github.com/anthropics/claude-code-action/releases/tag/v1
2025-11-19 15:58:30 +09:00
Cliff Hall
dff91a8696
Merge pull request #770 from ln-12/meta_properies_in_tools
Added UI to provide additional _meta values
2025-11-18 14:50:28 -05:00
lorenzo.neumann
c0b3b952f5 Merge branch 'main' of https://github.com/modelcontextprotocol/inspector into meta_properies_in_tools 2025-11-18 15:07:12 +01:00
Cliff Hall
0f67756a7e
Merge pull request #902 from vincent0426/fix/resolve-ref-pre-validation
Fix $ref resolution in request schema properties before validation
2025-11-17 16:46:29 -05:00
Cliff Hall
156e1dcfed
Merge branch 'main' into fix/resolve-ref-pre-validation 2025-11-17 16:38:05 -05:00
Cliff Hall
f93afb062c
Merge pull request #916 from olaservo/fix/typescript-errors
Fix typescript errors and bump version
2025-11-17 16:37:54 -05:00
Konstantin Konstantinov
a5d5593c97
Merge branch 'main' into meta_properies_in_tools 2025-11-15 01:34:22 +02:00
Konstantin Konstantinov
a45247a4f2
add validations against spec, add reserved metadata key validations 2025-11-15 01:26:13 +02:00
olaservo
54a9e7a8b8 Bump version to 0.17.4
Version 0.17.3 had TypeScript build errors that prevented successful builds. This patch release fixes those errors and bumps the version to 0.17.4.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-14 06:38:44 -07:00
olaservo
a33699f8e3 Fix notification parameters in HistoryAndNotifications tests 2025-11-14 05:25:56 -07:00
olaservo
c93c10beca Add typegaurd for blob 2025-11-14 05:25:36 -07:00
Vincent
6106b1b562 fix: Remove incorrect nested test 2025-11-13 14:30:28 -08:00
Cliff Hall
1598b28f3a
Merge branch 'main' into fix/resolve-ref-pre-validation 2025-11-13 11:06:15 -05:00
Ola Hungerford
452d8ddba6
Merge pull request #914 from olaservo/bump-version-0173
Bump version to 0.17.3
2025-11-13 07:34:19 -07:00
olaservo
3930bdd700 Bump version to 0.17.3 2025-11-12 18:29:41 -07:00
Cliff Hall
17d9340a86
Merge pull request #911 from olaservo/add-v2-updates-and-pr-template
Add Inspector V2 development notices and PR template
2025-11-11 12:18:27 -05:00
olaservo
cbb6a0a53c Add version consideration and context for Inspector V2 development in documentation 2025-11-08 19:27:05 -07:00
V
adb897f05b
Merge branch 'main' into fix/resolve-ref-pre-validation 2025-11-08 10:47:05 -08:00
Vincent
c1f18a8edd fix: add ref resolves def test 2025-11-08 10:46:28 -08:00
Cliff Hall
c91960c5e6
Merge pull request #871 from stdevi/fix/set-scope-dcr
fix: set user specified scope in DCR
2025-11-08 12:58:55 -05:00
Vincent
12332932b0 fix: Modify test mock data 2025-11-08 09:57:48 -08:00
Cliff Hall
cb905a361b
Merge branch 'main' into fix/set-scope-dcr 2025-11-08 12:36:21 -05:00
Vincent
8ad6253cd9 fix: Extract function to utils 2025-11-04 09:31:31 -08:00
Vincent
b000fc25bb fix: Remove redundant type 2025-11-04 09:24:54 -08:00
Vincent
2ab7d625e4 Resolve ref before validation 2025-11-04 07:44:06 -08:00
Koichi ITO
9e6c9a2c8f
Merge pull request #903 from koic/fix_a_typo
Fix a typo
2025-11-05 00:37:44 +09:00
Cliff Hall
63eb231650
Merge branch 'main' into fix/set-scope-dcr 2025-11-04 09:35:15 -05:00
Koichi ITO
002dad07bc Fix a typo 2025-11-03 17:01:51 +09:00
Ola Hungerford
e87623ce01
Merge pull request #895 from cliffhall/fix-default-null-array-input
Handle nullable arrays in tool inputSchemas
2025-10-30 21:25:16 -07:00
Cliff Hall
54484e7e8e
Merge branch 'main' into fix-default-null-array-input 2025-10-30 12:04:47 -04:00
Cliff Hall
3044d8f14c
Merge branch 'main' into meta_properies_in_tools 2025-10-30 11:55:46 -04:00
Cliff Hall
40045b3393
Merge pull request #889 from yanOO1497/fix_inspector_
fix: resolve $ref references in tool input schema properties
2025-10-30 11:22:10 -04:00
cliffhall
37acee9283 Handle nullable arrays in tool inputSchemas
* In DynamicJsonForm.tsx
  - In debouncedUpdateParent, formatJson, and validateJson,
    - when trimming the JSON value, use ?.trim() in case the field is null

* In jsonUtils.ts
  - in tryParseJson
    - use ?.trim() in case the field is null

* In schemaUtils.ts
  - in normalizeUnionType
    - add condition to handle the case where there is an anyOf with array or null as options

* In ToolsTab.tsx
  - for nullable fields, in null checkbox, in onCheckedChange handler
    - when not checked, if prop type is array, set to undefined (empty input field that can be edited rather than the word "null" as the default could provide

Fixes #846
2025-10-29 14:28:49 -04:00
lorenzo.neumann
1c1afc30cc Fix global metadata not being applied 2025-10-28 12:54:23 +01:00
lorenzo.neumann
5b9e69f36a Aligned naming 2025-10-27 12:24:47 +01:00
lorenzo.neumann
8f28ea791b Aligned naming 2025-10-27 12:22:49 +01:00
lorenzo.neumann
159a049f94 Renamed mata schema to only meta 2025-10-27 12:09:44 +01:00
lorenzo.neumann
6b1765652f Removed test output 2025-10-27 12:09:13 +01:00
yanOO1497
fb7fae1436 fix: resolve $ref references in tool input schema properties 2025-10-25 17:02:25 +08:00
Cliff Hall
99120937e2
Merge branch 'main' into fix/set-scope-dcr 2025-10-24 17:25:13 -04:00
lorenzo.neumann
ddbc238c58 Cleanup, added test cases 2025-10-24 15:49:48 +02:00
lorenzo.neumann
4622d81f81 Fixed tools tab test 2025-10-24 15:06:24 +02:00
lorenzo.neumann
caa1a2e1f5 Merge remote-tracking branch 'origin2/main' into meta_properies_in_tools 2025-10-24 15:04:38 +02:00