gadget/gadget-code/docs/gadget-drone.md
2026-04-28 09:20:37 -04:00

676 B

Gadget Drone

Gadget Drone is a component in the Gadget Code ecosystem that operates as a headless/non-interactive process on a host in a directory on storage (once authenticated). Gadget Drone:

  1. Assumes ownership of process.cwd() on startup, and verifies that the directory is either already a Gadget Drone directory, or empty. If not a Gadget Drone directory, and if also not empty, Gadget Drone refuses to start with a message printed to the console, and terminates.

  2. Creates the .gadget and .gadget-cache directories in the directory on launch if they are not there.

.gadget directory

When the Gadget Drone starts and initializes,

.gadget-cache directory