Version-exact runtime surface
resolve_surfaceWhat a package version ACTUALLY exports at runtime, extracted from its shipped JavaScript rather than from documentation or the model's memory: names and arity, not type signatures (use usage for those). Call before writing code against a package whose API may have moved. Runtime existence is what decides whether an import throws; a removed type breaks tsc, a removed runtime symbol breaks the program. A miss returns UNKNOWN and queues extraction, UNKNOWN never means the symbol is absent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package | Yes | npm package name | |
| version | No | Exact version; omit for the latest extracted |