Documentation
¶
Index ¶
Constants ¶
View Source
const ConfigFileName = ".mache.json"
ConfigFileName is the convention file looked up by `mache serve`.
Variables ¶
View Source
var ( Version = "dev" Commit = "none" Date = "unknown" )
Functions ¶
func PresetNames ¶ added in v0.6.0
func PresetNames() []string
PresetNames returns the sorted list of available preset schema names.
Types ¶
type MountMetadata ¶ added in v0.2.0
type MountMetadata struct {
PID int `json:"pid"`
Source string `json:"source"`
MountPoint string `json:"mount_point"`
Type string `json:"type,omitempty"` // "nfs", "fuse", "mcp-http", "mcp-stdio"
GitRepo string `json:"git_repo,omitempty"` // org/repo
GitBranch string `json:"git_branch,omitempty"` // branch name
GitRemote string `json:"git_remote,omitempty"` // full remote URL
Timestamp time.Time `json:"timestamp"`
Writable bool `json:"writable"`
Addr string `json:"addr,omitempty"` // listen address for MCP HTTP servers
}
MountMetadata stores information about an agent-mode mount.
type ProjectConfig ¶ added in v0.6.0
type ProjectConfig struct {
Sources []SourceConfig `json:"sources"`
}
ProjectConfig represents the .mache.json project configuration.
type SourceConfig ¶ added in v0.6.0
SourceConfig describes a single data source within a project.
Click to show internal directories.
Click to hide internal directories.