Skip to content

Commit e818d94

Browse files
committed
fix: resolve remaining TypeScript errors from rebase
- Add loginCapability to ServerAdapterModule interface - Add streamBus to PluginWorkerManager interface - Import instrumentationReady and shutdownInstrumentation in server index - Export reconcileCloudUpstreamRunsOnStartup from services index
1 parent aea343a commit e818d94

3 files changed

Lines changed: 4 additions & 0 deletions

File tree

packages/adapter-utils/src/types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -563,6 +563,7 @@ export interface ServerAdapterModule {
563563
config: Record<string, unknown>,
564564
options?: AdapterRuntimeCommandSpecOptions,
565565
) => AdapterRuntimeCommandSpec | null;
566+
loginCapability?: import("./login-capability.js").AdapterLoginCapability;
566567
}
567568

568569
export interface AdapterRuntimeCommandSpecOptions {

server/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/// <reference path="./types/express.d.ts" />
2+
import { instrumentationReady, shutdownInstrumentation } from "./instrumentation.js";
23
import { sentryReady, shutdownSentry, captureException } from "./sentry.js";
34
import { existsSync, readFileSync, rmSync } from "node:fs";
45
import { createServer } from "node:http";

server/src/services/plugin-worker-manager.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -892,6 +892,8 @@ export interface PluginWorkerManager {
892892
pluginId: string,
893893
input: LoginPtyOpenInput,
894894
): Promise<LoginPtyHostSession>;
895+
896+
streamBus?: PluginStreamBus;
895897
}
896898

897899
// ---------------------------------------------------------------------------

0 commit comments

Comments
 (0)