docs

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 29, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchNPMReadme

func FetchNPMReadme(ctx context.Context, packageName, outputPath string) error

FetchNPMReadme fetches the README of an NPM package and saves it to outputPath.

func FetchReadme

func FetchReadme(ctx context.Context, rawURL, outputPath string) error

FetchReadme downloads the README content (from subpath or root) and saves it to outputPath.

func GenerateLattice

func GenerateLattice(ctx context.Context, dir string, cfgs map[string]config.Server, g *graph.Graph) error

GenerateLattice generates the `.mcp_lattice` folder containing skills, relations, and downloaded READMEs.

func ParseGitHubURL

func ParseGitHubURL(rawURL string) (owner, repo, subpath, branch string, err error)

ParseGitHubURL parses a standard GitHub URL into (owner, repo, subpath, branch, error).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL