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>
This commit is contained in:
parent
c332322220
commit
f103d5f44f
5 changed files with 1223 additions and 14 deletions
31
skills/proton-drive/__init__.py
Normal file
31
skills/proton-drive/__init__.py
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
"""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",
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue