fix(docker): include apps/shared in dashboard image build

The shared websocket package is a web file: dependency but was excluded
by .dockerignore and never copied into the Docker build context. Also fix
tsc -b errors: expose buildWsUrl on api and drop the GatewayClient state
getter that conflicted with the shared base class.
This commit is contained in:
Brooklyn Nicholson 2026-06-28 21:43:56 -05:00
parent 216ace4bf3
commit e9b95dfd19
4 changed files with 10 additions and 5 deletions

View file

@ -315,6 +315,7 @@ function appendProfileParam(url: string, profile?: string): string {
}
export const api = {
buildWsUrl,
getStatus: () => fetchJSON<StatusResponse>("/api/status"),
/**
* Identity probe for the dashboard auth gate (Phase 7).

View file

@ -35,10 +35,6 @@ export class GatewayClient extends JsonRpcGatewayClient {
});
}
get state(): ConnectionState {
return this.connectionState;
}
async connect(token?: string): Promise<void> {
if (this.connectionState === "open" || this.connectionState === "connecting") {
return;