初始提交:DSH 多租户平台(dshs)

This commit is contained in:
admin committed 2026-09-13 16:18:10 +08:00
commit 43976fea6a
167 files changed
+24456

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
/**
* Cordis entry used only for marketplace recognition.
*
* The real product is the standalone `dshs` binary (see
* `./cli.js`), which runs its own Fastify server and spawns per-user DSH
* processes. This `apply` is a guarded no-op: loading the bundle into any
* profile must not start a server.
* @module dshs
*/
export const name = 'dshs'
/** Options read by the Cordis loader. `serve` is reserved, not implemented. */
export interface Config {
serve?: boolean
}
/**
* Guarded no-op shim. Kept side-effect free so marketplace installs and
* ordinary profiles never boot the orchestrator by accident.
* @param _ctx - the Cordis context (unused).
* @param _config - loader-supplied config (unused).
*/
export function apply(_ctx?: unknown, _config?: Config): void {
// Intentionally empty.
}