hermes-proton/skills/proton-drive/__init__.py
exe.dev user f103d5f44f
feat: Proton Drive Hermes skill — rclone-backed file operations
Build the proton-drive Hermes skill following the Phase 4 spec
from ARCHITECTURE.md (§5). Primary path: rclone protondrive backend
with Drive SDK as a fallback option.

Skill components:
  - skills/proton-drive/SKILL.md — YAML frontmatter + full docs for
    all 9 tools (list, read, download, upload, search, mkdir,
    delete, stat, sync) with usage, error handling, security notes
  - skills/proton-drive/__init__.py — package init with exports
  - skills/proton-drive/tools.py — Python subprocess wrappers for
    each tool, plus rclone availability/remote checks
  - tests/test_drive.py — 25 unit tests (all pass) with mocked
    subprocess.run

All 9 Proton Drive tools implemented:
  proton_drive_list, proton_drive_read, proton_drive_download,
  proton_drive_upload, proton_drive_search, proton_drive_mkdir,
  proton_drive_delete, proton_drive_stat, proton_drive_sync

Signed-off-by: Bee <bee@trentuna.com>
2026-06-08 18:30:26 +02:00

31 lines
735 B
Python

"""Proton Drive skill — rclone-backed file operations for Hermes agents."""
from .tools import (
check_rclone_availability,
check_rclone_remote,
get_rclone_remote,
proton_drive_delete,
proton_drive_download,
proton_drive_list,
proton_drive_mkdir,
proton_drive_read,
proton_drive_search,
proton_drive_stat,
proton_drive_sync,
proton_drive_upload,
)
__all__ = [
"check_rclone_availability",
"check_rclone_remote",
"get_rclone_remote",
"proton_drive_delete",
"proton_drive_download",
"proton_drive_list",
"proton_drive_mkdir",
"proton_drive_read",
"proton_drive_search",
"proton_drive_stat",
"proton_drive_sync",
"proton_drive_upload",
]