Replace OpenCode harness with Hermes, remove workspace dependency, and move vocabulary/corrections to app folder

This commit is contained in:
Adolfo Reyna
2026-08-09 21:35:52 -04:00
parent 6e8a578e86
commit 2f181ff4f1
25 changed files with 2395 additions and 436 deletions
+38
View File
@@ -0,0 +1,38 @@
#!/usr/bin/env python3
"""CLI helper to list, get, and set AI models for VoiceAgent."""
import sys
from pathlib import Path
# Add VoiceAgent1 project root to sys.path
project_root = Path("/Users/adolforeyna/Projects/VoiceAgent1")
if str(project_root) not in sys.path:
sys.path.insert(0, str(project_root))
from model_manager import ModelManager
def main():
app_dir = Path(__file__).resolve().parent.parent
mm = ModelManager(app_dir)
if len(sys.argv) < 2 or sys.argv[1] in ("list", "ls", "--list"):
print(mm.list_available_models())
return
if sys.argv[1] in ("get", "current", "show"):
print(f"Active Model: {mm._active_model}")
return
action = sys.argv[1]
if action in ("set", "change") and len(sys.argv) >= 3:
target_model = sys.argv[2]
ok, msg = mm.apply_model(target_model)
print(msg)
else:
# Treat single argument as target model
target_model = sys.argv[1]
ok, msg = mm.apply_model(target_model)
print(msg)
if __name__ == "__main__":
main()