Type Alias: WorkspaceClientLike
type WorkspaceClientLike =
| WorkspaceRequestClientLike
| ApiClientLike & {
config: {
ensureResolved: Promise<void>;
};
};Structural shape of a Databricks SDK client used by fromSupervisorApi.
Only what we need: request for streaming. A legacy SDK client
(apiClient.request + config.ensureResolved) is still accepted (deprecated).
Exported because SupervisorApiAdapterOptions.workspaceClient (a public type) references it — callers passing their own client can name the shape they need to satisfy.