editor_host_status
Returns bridge host status: version, start time, plugin generation, attach/detach counts, editor memory and GCs, plus live old plugin load contexts; set collect to run GC for an accurate leak count.
Instructions
Returns the state of the bridge host, the pipe server that outlives script reloads: its version and start time, the attached plugin generation, attach and detach counts, the editor's memory and garbage collections, and how many old plugin load contexts are still alive (reloads that leak). collect=true runs a full garbage collection first so that count is a measurement; it takes long on a large heap.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| collect | No | Run a full garbage collection before counting the old plugin load contexts. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| attached | Yes | ||
| accepting | Yes | ||
| collected | Yes | ||
| generation | Yes | ||
| attachCount | Yes | ||
| detachCount | Yes | ||
| hostVersion | Yes | ||
| managedBytes | Yes | ||
| privateBytes | Yes | ||
| hostStartedUtc | Yes | ||
| acceptLoopFault | Yes | ||
| gen0Collections | Yes | ||
| gen1Collections | Yes | ||
| gen2Collections | Yes | ||
| pluginContextsSeen | Yes | ||
| pluginContextsAlive | Yes |