feat: add cortex_status and cortex_update tools
cortex_status: git branch/commit/ahead-behind + systemctl state — read-only cortex_update: git pull + syntax check all .py files + report; does NOT auto-restart. If syntax errors are found after pull, warns and blocks restart suggestion. Call cortex_restart separately to apply a clean update. Both are admin-only. cortex_update is confirm-required (modifies files on disk). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -66,7 +66,7 @@ The ⚡ toggle is **independent of the Role selector** — you can use any role
|
||||
| Web | `web_search`, `http_fetch` |
|
||||
| Files | `file_read` ¹, `file_list` ¹, `file_write` ¹ ² |
|
||||
| Shell | `shell_exec` ¹ ², `claude_allow_dir` ¹ |
|
||||
| System | `cortex_restart` ¹ ², `cortex_logs` ¹ |
|
||||
| System | `cortex_restart` ¹ ², `cortex_logs` ¹, `cortex_status` ¹, `cortex_update` ¹ ² |
|
||||
| Tasks | `task_list`, `task_create`, `task_update`, `task_complete` |
|
||||
| Cron | `cron_list`, `cron_add`, `cron_remove` ², `cron_toggle` |
|
||||
| Reminders | `reminders_add`, `reminders_list`, `reminders_remove`, `reminders_clear` ² |
|
||||
|
||||
Reference in New Issue
Block a user