Skip to main content

Module config

Module config 

Source
Expand description

Configuration parsing for agentsync

Handles TOML configuration files that define how AI agent configurations should be synchronized via symbolic links.

Structs§

AgentConfig
Defines the configuration for a single AI agent, such as Claude or GitHub Copilot. Corresponds to a [agents.agent_name] section in agentsync.toml.
Config
Represents the root of the agentsync.toml configuration file.
GitignoreConfig
Configuration for managing the .gitignore file. Corresponds to the [gitignore] section in agentsync.toml.
McpGlobalConfig
Global MCP configuration settings
McpServerConfig
Configuration for a single MCP server
ModuleMapping
A single source-to-destination mapping within a module-map target. Maps a centrally-managed source file to a specific module directory with an optional filename override.
TargetConfig
Specifies a single file or directory synchronization rule for an agent. Corresponds to a [agents.agent_name.targets.target_name] section.

Enums§

McpMergeStrategy
Merge strategy for MCP configurations
SyncType
The type of synchronization operation to perform for a target.

Constants§

CONFIG_FILE_NAME
Default configuration file name
DEFAULT_SOURCE_DIR
Default source directory name

Functions§

resolve_module_map_filename
Resolve the output filename for a module-map mapping.