Skip to content

Commit ec5d8e1

Browse files
cliffhallclaude
andcommitted
chore: replace main's tree with v2
Phase 4 of the v2 go-live runbook (#1804 §5). `main` becomes the v2 tree while keeping its own history: this is a true merge recording `v2/main` as a second parent, not a reset, so no force-push is needed and the default branch's history and PR trail survive intact. Mechanically: `-s ours` to take no tree from the merge, then the index is replaced wholesale with `v2/main`'s. `git diff HEAD origin/v2/main` is empty afterwards. Note the runbook's command needed one addition — `main` and `v2/main` have genuinely unrelated histories (different root commits, no merge base), so `--allow-unrelated-histories` is required or the merge refuses outright. All 125 open PRs previously targeting `main` were re-pointed at `v1/main` first, so none of them are stranded against a tree that no longer exists. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Txmv2qqv3yeKgRzoqXytzD
2 parents ac3c1a1 + 4d30d1c commit ec5d8e1

1,221 files changed

Lines changed: 238981 additions & 47277 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.claude/settings.json‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"enabledPlugins": {
3+
"playwright@claude-plugins-official": true
4+
}
5+
}

‎.dockerignore‎

Lines changed: 29 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,38 @@
1-
# Version control
1+
# Keep the build context small and force a clean, in-container install/build.
2+
# Host node_modules and build outputs are excluded so nothing stale or
3+
# wrong-architecture is copied in — the builder stage runs its own
4+
# `npm install && npm pack`.
5+
26
.git
3-
.gitignore
7+
.github
48

5-
# Node.js
9+
# Installed deps (root + every client) — reinstalled in the image
610
node_modules
7-
npm-debug.log
11+
clients/*/node_modules
12+
test-servers/node_modules
813

9-
# Build artifacts
10-
client/dist
11-
client/build
12-
server/dist
13-
server/build
14+
# Build outputs — rebuilt in the image
15+
clients/*/build
16+
clients/web/dist
17+
test-servers/build
18+
storybook-static
19+
coverage
1420

15-
# Environment variables
16-
.env
17-
.env.local
18-
.env.development
19-
.env.test
20-
.env.production
21+
# Docs/specs aren't referenced by the build — trim them from the context.
22+
# (test-servers/ stays: `tsc -b` typechecks the integration tests that import
23+
# the `@modelcontextprotocol/inspector-test-server` alias.)
24+
specification
25+
docs
2126

22-
# Editor files
27+
# Packed tarballs (the image makes its own)
28+
*.tgz
29+
30+
# Local / editor / env
31+
.env
32+
.env.*
33+
.DS_Store
2334
.vscode
2435
.idea
25-
26-
# Logs
27-
logs
36+
.claude
37+
.playwright-mcp
2838
*.log
29-
30-
# Testing
31-
coverage
32-
33-
# Docker
34-
Dockerfile
35-
.dockerignore

‎.git-blame-ignore-revs‎

Whitespace-only changes.

‎.gitattributes‎

Lines changed: 0 additions & 1 deletion
This file was deleted.

‎.github/ISSUE_TEMPLATE/bug_report.md‎

Lines changed: 0 additions & 40 deletions
This file was deleted.

‎.github/dependabot.yml‎

Lines changed: 0 additions & 6 deletions
This file was deleted.

‎.github/pull_request_template.md‎

Lines changed: 34 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,34 @@
1-
## Summary
2-
3-
<!-- Provide a brief description of what this PR does -->
4-
5-
> **Note:** Inspector V2 is under development to address architectural and UX improvements. During this time, V1 contributions should focus on **bug fixes and MCP spec compliance**. See [CONTRIBUTING.md](../CONTRIBUTING.md) for more details.
6-
7-
## Type of Change
8-
9-
<!-- Mark the relevant option with an "x" -->
10-
11-
- [ ] Bug fix (non-breaking change that fixes an issue)
12-
- [ ] New feature (non-breaking change that adds functionality)
13-
- [ ] Documentation update
14-
- [ ] Refactoring (no functional changes)
15-
- [ ] Test updates
16-
- [ ] Build/CI improvements
17-
18-
## Changes Made
19-
20-
<!-- Describe the changes in detail. Include screenshots/recordings if applicable -->
21-
22-
## Related Issues
23-
24-
<!-- Link to related issues using #issue_number or "Fixes #issue_number" -->
25-
26-
## Testing
27-
28-
<!-- Describe how you tested these changes, where applicable -->
29-
30-
- [ ] Tested in UI mode
31-
- [ ] Tested in CLI mode
32-
- [ ] Tested with STDIO transport
33-
- [ ] Tested with SSE transport
34-
- [ ] Tested with Streamable HTTP transport
35-
- [ ] Added/updated automated tests
36-
- [ ] Manual testing performed
37-
38-
### Test Results and/or Instructions
39-
40-
<!-- Provide steps for reviewers to test your changes -->
41-
42-
Screenshots are encouraged to share your testing results for this change.
43-
44-
## Checklist
45-
46-
- [ ] Code follows the style guidelines (ran `npm run prettier-fix`)
47-
- [ ] Self-review completed
48-
- [ ] Code is commented where necessary
49-
- [ ] Documentation updated (README, comments, etc.)
50-
51-
## Breaking Changes
52-
53-
<!-- If this is a breaking change, describe the impact and migration path -->
54-
55-
## Additional Context
56-
57-
<!-- Add any other context, screenshots, or information about the PR here -->
1+
<!--
2+
⚠️ Before you open this pull request, please read our contribution policy.
3+
4+
We accept ISSUES, NOT PULL REQUESTS from external contributors.
5+
6+
Design and implementation are done by the maintainers through a
7+
prompt-driven workflow (see AGENTS.md). External source PRs will not be
8+
merged — they have to be reverse-engineered to fit our component/theme
9+
conventions and coverage gates, so it's faster for us to re-derive the
10+
change from your intent.
11+
12+
If you've found a bug or want a feature:
13+
→ Open an issue instead, labeled for the version you're targeting
14+
(`v1` for `v1/main`, `v2` for `main`).
15+
16+
If you've already built the change locally:
17+
→ Open an issue and share the PROMPT(S) you used to generate it, not a
18+
diff. We'll reproduce it through our own workflow.
19+
20+
Full policy: https://github.com/modelcontextprotocol/inspector/blob/main/CONTRIBUTORS.md
21+
22+
Maintainers: delete this template body and describe your change normally.
23+
-->
24+
25+
> **Heads up:** this repository accepts **issues, not pull requests** from
26+
> external contributors. Please read [`CONTRIBUTORS.md`](../blob/main/CONTRIBUTORS.md)
27+
> before continuing. If you're an external contributor, open an issue (and
28+
> share the prompt you used, if you've already built the change) rather than
29+
> this PR.
30+
>
31+
> Want to work on the Inspector with us directly? Come say hello in
32+
> **`#inspector-dev`** on the
33+
> [MCP Contributor Discord](https://discord.gg/6CSzBmMkjX) — we're happy to
34+
> scope work with you.

‎.github/workflows/claude.yml‎

Lines changed: 0 additions & 93 deletions
This file was deleted.

‎.github/workflows/cli_tests.yml‎

Lines changed: 0 additions & 38 deletions
This file was deleted.

0 commit comments

Comments
 (0)