Adds a view filled in from declared dependencies.
Adds a view that needs only the module's ambient set.
Restores a panel of viewType when a window reopens with one still in its
tab layout. Without this the tab is discarded on reload. Dependencies are
resolved once through the Application container during Module binding and
reused for each restoration.
Records webview views contributed in
package.json.The registration happens at activation; the callback runs when the user first reveals or recreates the view, which is when VS Code asks for its content. Declared dependencies are resolved once through the Application container during Module binding and reused by each resolve callback. A disposable transient dependency is therefore Application-owned, not per-view; create per-view state inside
resolve.The dependency-declaring overload is listed first: overload resolution takes the first match, and the no-dependency shape would otherwise absorb the call.