feat(exec): add low-friction shell execution endpoint #6
Reference in New Issue
Block a user
Delete Branch "feat/exec-endpoint"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Add to execute commands through PowerShell/Bash/CMD with structured output.
What changed
Validation
Notes
Backlog issues for non-exec enhancements:
Correction: this PR adds POST /exec with ExecRequest payload; supports shells powershell/bash/cmd; adds CLICKTHROUGH_EXEC_* env config; surfaces exec config in /health; docs and .env.example updated. Validation run: py_compile and compileall passed.
Update pushed: /exec now hard-requires CLICKTHROUGH_EXEC_SECRET to be configured, and each /exec request must include x-clickthrough-exec-secret header matching that value. If missing: 403 (not configured). If wrong/missing header: 401.