Session log: GuruRMM audit, installer system, infrastructure fixes

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-01 13:58:45 -07:00
parent ed6a35488d
commit c4b2ca2fa5
10 changed files with 286 additions and 27 deletions

View File

@@ -2,6 +2,9 @@
Production-ready enhancement for GuruRMM agent that enables Main Claude to remotely invoke Claude Code CLI on AD2 (Windows Server 2022) for automated task execution.
**Source Repo:** `azcomputerguru/gururmm` on git.azcomputerguru.com (active development, 53+ commits).
Note: A `guru-rmm` repo also exists but is a restructured copy with only 2 commits -- use `gururmm` as the primary reference.
---
## Features
@@ -90,6 +93,8 @@ use once_cell::sync::Lazy;
static CLAUDE_EXECUTOR: Lazy<ClaudeExecutor> = Lazy::new(|| ClaudeExecutor::new());
// In your command dispatcher
// Existing types: shell, powershell, python, script
// claude_task is a NEW type added by this integration
match command_type {
"shell" => execute_shell_command(&command).await,
"claude_task" => execute_claude_task(&command).await, // NEW
@@ -127,6 +132,11 @@ See `TESTING_AND_DEPLOYMENT.md` for complete deployment guide.
## Usage Examples
> **How commands work:** The curl examples below create the command on the server via
> the REST API (`POST /api/agents/:id/command`). The server then delivers the command
> to the agent over WebSocket (ServerMessage::Command). The agent does NOT poll for
> commands via REST.
### Example 1: Simple Task
```bash