src/kernel-api/v1/index.ts
Rama main · réplica de lectura del repositorio original.
/**
* BailingHub Kernel Host API v1
*
* 宿主只依赖这个高层入口。实例 Core 的 Store、Repository、HTTP 路由和生命周期均由
* BailingHub 自己装配;外部宿主不得重新实现 bz_* 数据面。
*/
export { createBailingHubKernel } from '../../app/kernel';
export type {
BailingHubKernelV1,
CreateBailingHubKernelInputV1,
KernelBrandingAssetKindV1,
KernelBrandingAssetV1,
KernelBrandingProviderV1,
KernelBrandingSnapshotV1,
KernelBrandingUpdateV1,
KernelExecutionGateV1,
KernelHostAdminSessionV1,
KernelIdentityProviderV1,
KernelJobStreamBrokerV1,
KernelJobStreamEventInputV1,
KernelJobStreamEventV1,
KernelJobStreamPhaseNameV1,
KernelJobStreamReadResultV1,
KernelJobStreamResetReasonV1,
KernelLaunchGuardDecisionV1,
KernelLaunchRequestV1,
KernelReadinessReportV1,
KernelSchedulerModeV1,
KernelStandaloneServerV1,
} from './contracts';
export {
createManagedRuntimeMaintenanceStateV1,
} from '../../app/runtime-lifecycle';
export type { ManagedRuntimeMaintenanceStateV1 } from '../../app/runtime-lifecycle';
export { loadConfig } from '../../core/config/config';
export type { AppConfig, LoadConfigOptions, MysqlConfig } from '../../core/config/config';
export { KernelExecutionQueueV1 } from './execution-gate';
export { BAILINGHUB_CORE_ARTIFACT_V1 } from './artifact';
export type {
BailingHubCoreArtifactManifestV1,
BailingHubCoreMigrationArtifactV1,
} from './artifact';
export type { BailingHubRetiredCoreMigrationV1 } from '../../infrastructure/schema/retired-migrations';
export { migrateBailingHubCoreSchema } from '../../infrastructure/schema/core-schema-migrator';
export type {
BailingHubCoreSchemaMigrationResultV1,
CoreSchemaMigrationConnectionFactoryV1,
CoreSchemaMigrationConnectionV1,
CoreSchemaMigrationLoggerV1,
MigrateBailingHubCoreSchemaInputV1,
} from '../../infrastructure/schema/core-schema-migrator';