36 lines
No EOL
954 B
Go
36 lines
No EOL
954 B
Go
package model
|
|
|
|
// Registry Types - supported package registry types
|
|
const (
|
|
RegistryTypeNPM = "npm"
|
|
RegistryTypePyPI = "pypi"
|
|
RegistryTypeOCI = "oci"
|
|
RegistryTypeNuGet = "nuget"
|
|
RegistryTypeMCPB = "mcpb"
|
|
)
|
|
|
|
// Registry Base URLs - supported package registry base URLs
|
|
const (
|
|
RegistryURLNPM = "https://registry.npmjs.org"
|
|
RegistryURLPyPI = "https://pypi.org"
|
|
RegistryURLDocker = "https://docker.io"
|
|
RegistryURLGHCR = "https://ghcr.io"
|
|
RegistryURLNuGet = "https://api.nuget.org"
|
|
RegistryURLGitHub = "https://github.com"
|
|
RegistryURLGitLab = "https://gitlab.com"
|
|
)
|
|
|
|
// Transport Types - supported remote transport protocols
|
|
const (
|
|
TransportTypeStreamableHTTP = "streamable-http"
|
|
TransportTypeSSE = "sse"
|
|
TransportTypeStdio = "stdio"
|
|
)
|
|
|
|
// Runtime Hints - supported package runtime hints
|
|
const (
|
|
RuntimeHintNPX = "npx"
|
|
RuntimeHintUVX = "uvx"
|
|
RuntimeHintDocker = "docker"
|
|
RuntimeHintDNX = "dnx"
|
|
) |