Say how the spawned tools are actually invoked

This commit is contained in:
Gmer4Lfe
2026-08-25 16:34:02 -04:00
parent 1be259b66d
commit 6b9fda76db
4 changed files with 50 additions and 3 deletions
+5
View File
@@ -42,6 +42,11 @@
// stdin is an untrusted stream from another process. A malformed or endless payload must
// fail as a bad request, not as an out-of-memory.
//
// RUNTIME MODES
// Not invoked by hand. include/ai_rpc.php opens an SSH session to the owner and runs this
// file with the request as JSON on stdin; the response is JSON on stdout. There are no flags
// and no arguments — the action, the profile and the payload all arrive in the request body.
//
// DEPENDS ON
// include/ai_actions.php vv_ai_dispatch() — the shared handlers
// include/config.php vv_ai_is_owner()