Skip to main content

Module drone_access_handlers

Module drone_access_handlers 

Source
Expand description

Who may fire a drone at once (SPEC_DRONE_REAL_WORLD_JOBS_2026_11_11.md §6.5), read and set over the websocket.

  • getdroneaccess: the agent that owns the drone and the agents it was given to. Anyone may read it.
  • setdroneagents: replace the agents the drone is given to. The person’s window may, and so may the agent that owns the drone (it gives its own drone to another agent). No other agent: giving oneself a drone would undo the whole check. The owner never changes.

Structs§

GetDroneAccessReq
SetDroneAgentsReq

Constants§

MAX_AGENTS 🔒
The most agents one drone is given to, and the longest an agent’s name.
MAX_NAME 🔒

Functions§

get_drone_access 🔒
must_exist 🔒
register
set_drone_agents 🔒