Resolves package version conflicts and peer dependency warnings. Do NOT use for security auditing, upgrade planning, or monorepo setup.
Resolve package manager conflicts by analyzing trees, building compatibility matrices, and providing lock file fixes.
| Variable | Type | Req | Description |
|---|---|---|---|
tech_stack | string | Yes | e.g., "Node.js + npm" |
error_message | string | Yes | The conflict log |
package_file | string | Yes | package.json, pyproject.toml, etc. |
context | string | Yes | Trigger (e.g., upgrade) |
resolutions), Isolation (Workspaces), or Replacement.rm package-lock.json && npm install).| Case | Strategy |
|---|---|
| No package file | Provide tree inspection commands and generic resolution patterns. |
| Transitive Conflict | Map the dependency chain and apply top-level overrides. |
| OS Specific | Use conditional dependencies or platform shims. |
flowchart TD
A([Start]) --> B[Parse inputs]
B --> C{Package file?}
C -- No --> D[Provide inspection command & strategies]
C -- Yes --> F[Identify Conflict]
F --> G[Build Compatibility Matrix]
G --> H{Strategy?}
H -- Alignment --> I[Upgrade/downgrade]
H -- Override --> J[Use overrides/resolutions]
H -- Isolation --> K[Separate workspace]
H -- Alternative --> L[Replace package]
I & J & K & L --> M{Platform specific?}
M -- Yes --> N[Conditional deps]
M -- No --> O[Provide fix commands]
N --> O
O --> P[Add Prevention]
P --> Q([Output: Report])
D --> R([Output: Limited diagnosis — inspect tree & retry with package file])
@upstash/context7-mcp: Library documentation and examples.@modelcontextprotocol/server-sequential-thinking: Complex reasoning.| Version | Date | Description |
|---|---|---|
| 1.1.0 | 2026-03-20 | Restructured: moved examples/references, added fields |
| 1.0.0 | 2026-03-20 | Initial release |