# Inspect Deps

Use deps to see what one entity depends on inside its file.
It separates type-only dependencies from runtime value dependencies.

Good for:
- checking what a symbol may need when moved or extracted
- spotting nearby types, constants, or helpers tied to one entity
- deciding whether one symbol is standalone or tied to nearby declarations
- debugging mutation failures caused by local dependency shape

Controls:
file, entity, entities, parent

Run:
aib inspect --stdin

Input:
{
  "file": "src/service.ts",
  "op": "deps",
  "requests": [
    { "entity": "createService" },
    {
      "entities": [
        { "parent": "Service", "entities": ["render", "reset"] }
      ]
    }
  ]
}

inspect deps src/service.ts Service

Batch several symbols when you are planning a move:
Run:
aib inspect --stdin

Input:
{
  "file": "src/service.ts",
  "requests": [
    { "op": "deps", "entity": "Service" },
    { "op": "deps", "entity": "ServiceOptions" },
    { "op": "deps", "entity": "createService" }
  ]
}
