Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: gone-io/goner
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.0.9
Choose a base ref
...
head repository: gone-io/goner
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.0.10
Choose a head ref
  • 11 commits
  • 87 files changed
  • 2 contributors

Commits on Apr 17, 2025

  1. feat/examples: add MCP examples for HTTP and STDIO transport

    - Add new directories for MCP examples using HTTP and STDIO transport
    - Implement client and server examples for both transport types
    - Include configuration files and Go modules for each example
    - Add functional prompts, resources, and tools for the examples
    dapeng committed Apr 17, 2025
    Configuration menu
    Copy the full SHA
    802993a View commit details
    Browse the repository at this point in the history
  2. refactor(mcp): improve code quality and maintainability

    - Assign error to named return variable for consistent error handling
    - Update variable assignments and error checks for better readability
    - Use block scoping to limit variable visibility and reduce shadowing
    dapeng committed Apr 17, 2025
    Configuration menu
    Copy the full SHA
    b95fa3f View commit details
    Browse the repository at this point in the history
  3. test(mcp): add unit tests for server provider

    - Implement unit tests for serverProvider.Init and serverProvider.Provide methods
    - Add test cases for different configurations and edge cases
    - Use testify library for assertions and error handling
    - Improve code coverage and ensure proper functionality of server provider
    dapeng committed Apr 17, 2025
    Configuration menu
    Copy the full SHA
    05c34cf View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2025

  1. refactor(mcp): rename Process to Handler and add test cases

    - Rename Process() to Handler() for ITool, IPrompt, and IResource interfaces
    - Add test cases for client provider and server provider
    - Update examples to use new Handler() method
    - Improve error handling and add more descriptive error messages
    dapeng committed Apr 18, 2025
    Configuration menu
    Copy the full SHA
    4d2377d View commit details
    Browse the repository at this point in the history
  2. docs(mcp): add comprehensive documentation and examples

    - Add detailed README files for MCP component and HTTP demo
    - Include quick start guide, configuration instructions, and API examples
    - Provide more extensive comments in code files
    - Update go.mod files with necessary dependencies
    dapeng committed Apr 18, 2025
    Configuration menu
    Copy the full SHA
    20b5e53 View commit details
    Browse the repository at this point in the history
  3. docs(viper/remote): add Chinese README for viper remote package

    - Create README_CN.md file for viper remote package
    - Cover installation, usage, configuration, and examples
    - Include information on encryption, local config fallback, and supported providers
    - Provide best practices and FAQs
    dapeng committed Apr 18, 2025
    Configuration menu
    Copy the full SHA
    492f933 View commit details
    Browse the repository at this point in the history
  4. feat(AI): add MCP component and update dependencies

    - Add MCP (Model Context Protocol) component for AI model integration
    - Update goner dependencies to version 1.0.10- Update project version to 1.0.10
    - Update README files with new MCP component information
    dapeng committed Apr 18, 2025
    Configuration menu
    Copy the full SHA
    879de24 View commit details
    Browse the repository at this point in the history
  5. fix(g): improve error message for incompatible component and add rela…

    …ted tests
    
    - Update error message in help.go to specify incompatible component issue
    - Add comprehensive tests for GetComponentByName function to cover various scenarios
    dapeng committed Apr 18, 2025
    Configuration menu
    Copy the full SHA
    0951588 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #50 from gone-io/features/v1.x

    feat(mcp): Add MCP (Model Context Protocol) component for AI model integration
    Degfy authored Apr 18, 2025
    Configuration menu
    Copy the full SHA
    856a781 View commit details
    Browse the repository at this point in the history
  7. feat(g): add utility functions and improve documentation

    - Add Recover function to capture and log panics
    - Implement GetLocalIps function to retrieve local IPv4 addresses
    - Create LoadOp struct and related functions for component loading
    - Add BuildOnceLoadFunc to ensure single execution of load operations
    - Implement SingLoadProviderFunc for singleton component loading- Add NamedThirdComponentLoadFunc for named third-party components
    - Implement GetComponentByName function to retrieve components by name- Update function comments to improve code readability and maintainability
    dapeng committed Apr 18, 2025
    Configuration menu
    Copy the full SHA
    36d8c89 View commit details
    Browse the repository at this point in the history
  8. Merge pull request #51 from gone-io/features/v1.x

    feat(g): add utility functions and improve documentation
    Degfy authored Apr 18, 2025
    Configuration menu
    Copy the full SHA
    4342b37 View commit details
    Browse the repository at this point in the history
Loading