Discover candidate repos available for a Polygraph session.
Returns the initiator repo and all organization repos with their descriptions and dependency-graph relationships (distance, direction, path). Use before start_session to understand which repos are available and optionally select a subset via selectedRepoIds. Supports filtering on connectedTo, published/consumed packages, published/consumed APIs, and name; results are capped at 50 by default - narrow the filter or pass force: true to bypass.
Arguments
Section titled “Arguments”| Name | Type | Required | Description |
|---|---|---|---|
connectedTo | string | no | Repository ID, name, or full name (e.g. "nrwl/ocean"). Match repos that share a dependency-graph edge with this repo. Matching is case-insensitive and exact - no substrings or globs. |
publishedPackages | array | no | Fuzzy-match repos that publish any of these packages (OR within field). |
consumedPackages | array | no | Fuzzy-match repos that consume any of these packages (OR within field). |
publishedApis | array | no | Fuzzy-match repos that publish any of these APIs (OR within field). |
consumedApis | array | no | Fuzzy-match repos that consume any of these APIs (OR within field). |
nameFilter | array | no | Case-insensitive substring or glob (*?[]{}) match on repo name or repositoryFullName. Multiple values are OR-combined. |
force | boolean | no | Bypass the 50-repo cap. By default, results above the cap are suppressed; set true to return them anyway. Defaults to false. |