# Synchronization Configuration Fragment
# Used by: kogral-config form

[[elements]]
border_top = true
border_bottom = false
name = "sync_section_header"
title = "🔄 Synchronization"
type = "section_header"

[[elements]]
default = true
help = "Automatically sync filesystem changes to storage"
name = "sync_auto_index"
nickel_path = ["sync", "auto_index"]
prompt = "Auto-Sync"
type = "boolean"

[[elements]]
default = 500
help = "Debounce delay in milliseconds for filesystem events"
max = 5000
min = 100
name = "sync_debounce_ms"
nickel_path = ["sync", "debounce_ms"]
prompt = "Debounce Delay (ms)"
type = "number"

[[elements]]
border_top = false
border_bottom = false
name = "sync_paths_header"
title = "Watched Paths"
type = "section_header"

[[elements]]
default = ["notes", "decisions", "guidelines", "patterns", "journal"]
help = "Directories to watch for changes (comma-separated)"
name = "sync_watch_paths"
nickel_path = ["sync", "watch_paths"]
prompt = "Watch Paths"
type = "text_array"
