Rename smartrun to geniusrun throughout the codebase
Updates the Go module path, cmd/smartrund -> cmd/geniusrund, the smartrun-dev skill, .gitignore, and every reference in docs/CLAUDE.md to match.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
// Package garmin wraps the mcp-garmin MCP server as a narrow Go client
|
||||
// interface, so the rest of smartrun never deals with MCP/JSON-RPC directly.
|
||||
// interface, so the rest of geniusrun never deals with MCP/JSON-RPC directly.
|
||||
package garmin
|
||||
|
||||
import (
|
||||
@@ -15,7 +15,7 @@ import (
|
||||
"github.com/mark3labs/mcp-go/mcp"
|
||||
)
|
||||
|
||||
// Client is the interface the rest of smartrun depends on. The real
|
||||
// Client is the interface the rest of geniusrun depends on. The real
|
||||
// implementation drives mcp-garmin over stdio; internal/garmin/mock provides
|
||||
// a fake for tests and frontend-only development.
|
||||
type Client interface {
|
||||
@@ -94,7 +94,7 @@ func (c *mcpClient) ensureStarted(ctx context.Context) error {
|
||||
|
||||
initReq := mcp.InitializeRequest{}
|
||||
initReq.Params.ProtocolVersion = mcp.LATEST_PROTOCOL_VERSION
|
||||
initReq.Params.ClientInfo = mcp.Implementation{Name: "smartrund", Version: "0.0.1"}
|
||||
initReq.Params.ClientInfo = mcp.Implementation{Name: "geniusrund", Version: "0.0.1"}
|
||||
if _, err := inner.Initialize(ctx, initReq); err != nil {
|
||||
inner.Close()
|
||||
return fmt.Errorf("mcp initialize handshake: %w", err)
|
||||
|
||||
@@ -5,7 +5,7 @@ package mock
|
||||
import (
|
||||
"context"
|
||||
|
||||
"smartrun/backend/internal/garmin"
|
||||
"geniusrun/backend/internal/garmin"
|
||||
)
|
||||
|
||||
// Client is a fake garmin.Client returning data supplied by the test/caller.
|
||||
|
||||
Reference in New Issue
Block a user