Import src/client/remote-ssh-factory.generated.d.mts

This commit is contained in:
QQ 2026-11-11 22:32:27 +08:00
parent e1570b7f8e
commit e2810c1602
1 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,16 @@
import type { Context } from '@deepseek-ai/cordis'
/** The plugin object the vendored dsh-remote-ssh client factory returns. */
export interface RemoteSshClientPlugin {
apply(ctx: Context): void
inject?: string[]
}
/**
* Upstream factory shape: the module-loader factory from
* vendor/dsh-remote-ssh/lib/client.js, re-exported by
* scripts/build-remote-ssh-client.mjs as remote-ssh-factory.generated.mjs.
*/
export default function remoteSshClientFactory(
require: (id: string) => unknown,
): RemoteSshClientPlugin