Skip to content

Conversation

@evalstate
Copy link
Member

@evalstate evalstate commented Nov 27, 2025

Summary

Removes build errors from npm install --no-package-lock.

Although package.json had ^1.20.1 the --no-package-lock was still bringing in the latest version of the SDK (1.23.0 at time of writing). This was causing build failures in the CI build/publish workflow which uses --no-package-lock in it's build pipeline. Locked builds were passing.

This PR makes inspector code compatible with 1.23.0 and updates the package.json so that both locked and lock-free installs build.

This also updates prettier from 3.6.2 to 3.7.1. Similar to the above issue, 3.7.1 was being installed in the CI environment and failing on issues 3.6.2 was not.

Note: Inspector V2 is under development to address architectural and UX improvements. See CONTRIBUTING.md for information about V2 development.

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Documentation update
  • Refactoring (no functional changes)
  • Test updates
  • Build/CI improvements

Changes Made

ZodError changed from errors.errors to error.issues (ToolResults)
$ZodObject -> $ZodType (sendMCPRequest)
z.output<T> -> `SchemaOutput (works with both v3 and v4)

Migrate

Related Issues

Testing

  • Tested in UI mode
  • Tested in CLI mode
  • Tested with STDIO transport
  • Tested with SSE transport
  • Tested with Streamable HTTP transport
  • Added/updated automated tests
  • Manual testing performed

Test Results and/or Instructions

Checklist

  • Code follows the style guidelines (ran npm run prettier-fix)
  • Self-review completed
  • Code is commented where necessary
  • Documentation updated (README, comments, etc.)

Breaking Changes

Additional Context

https://discord.com/channels/1358869848138059966/1443632409844383905

@github-actions
Copy link

github-actions bot commented Nov 27, 2025

🎭 Playwright E2E Test Results

✅  24 passed

Details

24 tests across 3 suites
 34.8 seconds
 6a86c19
ℹ️  Test Environment: Ubuntu Latest, Node.js v24.11.1
Browsers: Chromium, Firefox

📊 View Detailed HTML Report (download artifacts)

Copy link
Member

@cliffhall cliffhall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 👍

@cliffhall cliffhall merged commit 436e77e into main Nov 27, 2025
8 checks passed
@cliffhall cliffhall deleted the fix/zod4-compat branch November 27, 2025 22:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants