Say how the spawned tools are actually invoked
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user