feat: auto-update pouch and catalog sources during normal use
Add taste-skill to catalog.yaml, and refresh pouch plus cloned catalog or custom Git sources on a 24h interval so users do not need a separate update command.
This commit is contained in:
@@ -45,11 +45,18 @@ CONFIG_FILE = _first_existing_file(
|
||||
HOME / ".config" / "skiff" / "config.yaml",
|
||||
default=HOME / ".config" / "pouch" / "config.yaml",
|
||||
)
|
||||
DATA_DIR = _first_existing_dir(
|
||||
HOME / ".local" / "share" / "pouch",
|
||||
HOME / ".local" / "share" / "skiff",
|
||||
default=HOME / ".local" / "share" / "pouch",
|
||||
)
|
||||
SOURCES_DIR = _first_existing_dir(
|
||||
DATA_DIR / "sources",
|
||||
HOME / ".local" / "share" / "pouch" / "sources",
|
||||
HOME / ".local" / "share" / "skiff" / "sources",
|
||||
default=HOME / ".local" / "share" / "pouch" / "sources",
|
||||
)
|
||||
STATE_FILE = DATA_DIR / "state.yaml"
|
||||
|
||||
AGENT_GLOBAL: dict[str, Path] = {
|
||||
"cursor": HOME / ".cursor" / "skills",
|
||||
|
||||
Reference in New Issue
Block a user