Documentation
¶
Index ¶
- Constants
- func RemoveHostedToolProfile(ctx context.Context, driverType, profileDir string) error
- func SnapshotResource(driverType, profileDir string, payload driver.MCPPayload, synced bool) (engine.ResourceSnapshot, error)
- func SupportsHostedToolProfile(driverType string) bool
- func SyncClaudeProfile(configDir string, kind ProfileKind, payload driver.MCPPayload) error
- func SyncCodeBuddyProfile(configDir string, kind ProfileKind, payload driver.MCPPayload) error
- func SyncCodexProfile(codexHome string, kind ProfileKind, payload driver.MCPPayload) error
- func SyncCursorProfile(cursorHome string, kind ProfileKind, payload driver.MCPPayload) error
- func SyncResource(ctx context.Context, driverType, profileDir string, kind ProfileKind, ...) (engine.ResourceSnapshot, error)
- type ProfileKind
Constants ¶
View Source
const ( ProfileKindHostManaged = engine.ProfileKindHostManaged // ProfileKindDedicated is kept as an internal compatibility alias for MCP // tests/callers that predate the shared vs host-managed terminology. ProfileKindDedicated = engine.ProfileKindHostManaged )
Variables ¶
This section is empty.
Functions ¶
func RemoveHostedToolProfile ¶
RemoveHostedToolProfile removes only the exact profile entry last written by the Agent-owned Tool materializer. The owner marker prevents adopting a pre-existing user entry, while rendered_fingerprint prevents deleting an entry that the user or another process changed after materialization.
func SnapshotResource ¶
func SnapshotResource(driverType, profileDir string, payload driver.MCPPayload, synced bool) (engine.ResourceSnapshot, error)
func SupportsHostedToolProfile ¶
SupportsHostedToolProfile reports whether the built-in provider has a profile materializer whose Agent-owned Tool entry can be cleaned safely. Third-party Drivers consume the normalized MCP payload directly and retain ownership of any provider-specific persistence they choose to perform.
func SyncClaudeProfile ¶
func SyncClaudeProfile(configDir string, kind ProfileKind, payload driver.MCPPayload) error
func SyncCodeBuddyProfile ¶
func SyncCodeBuddyProfile(configDir string, kind ProfileKind, payload driver.MCPPayload) error
func SyncCodexProfile ¶
func SyncCodexProfile(codexHome string, kind ProfileKind, payload driver.MCPPayload) error
func SyncCursorProfile ¶
func SyncCursorProfile(cursorHome string, kind ProfileKind, payload driver.MCPPayload) error
func SyncResource ¶
func SyncResource(ctx context.Context, driverType, profileDir string, kind ProfileKind, payload driver.MCPPayload) (engine.ResourceSnapshot, error)
Types ¶
type ProfileKind ¶
type ProfileKind = engine.ProfileKind
func ClassifyProfile ¶
func ClassifyProfile(profile driver.AgentProfile, canonicalShared string) ProfileKind
Click to show internal directories.
Click to hide internal directories.