Skip to content

Simplify project structure and unify extension configuration#4

Merged
kmshdev merged 1 commit into
mainfrom
fix/extension_tree
Jul 23, 2025
Merged

Simplify project structure and unify extension configuration#4
kmshdev merged 1 commit into
mainfrom
fix/extension_tree

Conversation

@kmshdev

@kmshdev kmshdev commented Jul 23, 2025

Copy link
Copy Markdown
Owner

This pull request introduces significant structural and functional changes to the DeepWiki MCP Server project, focusing on simplifying the codebase, removing redundant components, and improving configuration and usability. Key changes include the removal of the build script, integration of new configuration defaults, and updates to project metadata and structure.

Removal of redundant components:

  • Removed the build.sh script, which previously handled building the project and creating distribution packages. This functionality is no longer required. (build.sh, build.shL1-L90)
  • Deleted the deepwiki-mcp-proxy.sh script, which acted as a JSON-RPC proxy for communication with the DeepWiki server. (scripts/deepwiki-mcp-proxy.sh, scripts/deepwiki-mcp-proxy.shL1-L192)

Updates to project structure and metadata:

  • Replaced [workspace] configuration in Cargo.toml with a standalone [package] configuration, reflecting a shift away from a multi-crate workspace. (Cargo.toml, Cargo.tomlL1-R20)
  • Renamed crates/extension/src/lib.rs to src/lib.rs and updated references to the project name in the code to align with the new structure. (src/lib.rs, [1] [2]

Configuration improvements:

Documentation cleanup:

  • Removed detailed troubleshooting and advanced setup sections from the installation instructions and other documentation, streamlining the user experience. (configuration/installation_instructions.md, [1] [2]

These changes collectively simplify the project, improve maintainability, and enhance the user experience by reducing manual setup and configuration requirements.

Copilot AI review requested due to automatic review settings July 23, 2025 16:00

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull Request Overview

This pull request simplifies the DeepWiki MCP Server project structure by removing the workspace configuration and consolidating it into a single crate, while eliminating redundant build scripts and proxy components. The changes streamline the project for easier maintenance and deployment.

Key Changes:

  • Converted from workspace structure to standalone crate configuration
  • Removed proxy script and build automation in favor of direct bridge binary usage
  • Updated project naming consistency from "deepwiki-mcp-server-extension" to "deepwiki-mcp-server"

Reviewed Changes

Copilot reviewed 12 out of 14 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
Cargo.toml Converted workspace to standalone package configuration with direct dependencies
src/lib.rs Updated project name references for consistency
extension.toml Removed lib path reference for simplified structure
scripts/deepwiki-mcp-proxy.sh Deleted proxy script (192 lines removed)
build.sh Removed build automation script
configuration/*.jsonc Simplified default settings removing protocol/API key options
configuration/*.md Streamlined installation instructions
crates/extension/* Removed extension-specific crate files
crates/bridge/Cargo.toml Updated to standalone package configuration

Comment thread Cargo.toml
Comment on lines +19 to +20
[workspace]
members = ["crates/bridge"]

Copilot AI Jul 23, 2025

Copy link

Choose a reason for hiding this comment

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

The workspace configuration only contains one member ('crates/bridge') after the extension was moved to the root. Consider whether a workspace is still necessary or if the bridge crate should also be consolidated into the main package.

Suggested change
[workspace]
members = ["crates/bridge"]
# The workspace configuration has been removed as it is no longer necessary.

Copilot uses AI. Check for mistakes.
@kmshdev kmshdev merged commit ff07ab5 into main Jul 23, 2025
11 of 13 checks passed
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.

2 participants