webloom-framework 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +83 -36
- package/dist/{chunk-KGNF36DZ.js → chunk-URY3E6UH.js} +333 -267
- package/dist/chunk-URY3E6UH.js.map +1 -0
- package/dist/{createPluginHost-CcW9sPNs.d.ts → createPluginHost-ChJNBTsX.d.ts} +76 -77
- package/dist/index.d.ts +300 -10
- package/dist/index.js +1556 -146
- package/dist/index.js.map +1 -1
- package/dist/react.d.ts +1 -1
- package/dist/{resourceRegistry-BAnqKcp7.d.ts → resourceRegistry-MNM1c7od.d.ts} +1 -1
- package/dist/testing.d.ts +3 -3
- package/dist/testing.js +2 -2
- package/docs/api.md +156 -14
- package/docs/migration-baseline.md +20 -12
- package/docs/proposals/browser-runtime-v1/implementation-plan.md +527 -0
- package/docs/proposals/browser-runtime-v1/requirements.md +349 -0
- package/docs/proposals/browser-runtime-v1/verification.md +49 -0
- package/package.json +4 -1
- package/dist/chunk-KGNF36DZ.js.map +0 -1
|
@@ -2,10 +2,8 @@
|
|
|
2
2
|
type LifecycleScopeKind = string;
|
|
3
3
|
/** 作用域状态;stopping 表示已撤权但异步收尾还未结束。 */
|
|
4
4
|
type LifecycleScopeState = "active" | "stopping" | "stopped";
|
|
5
|
-
/**
|
|
6
|
-
type
|
|
7
|
-
/** 插件运行代码所在环境;名称由宿主定义。 */
|
|
8
|
-
type PluginExecution = string;
|
|
5
|
+
/** 浏览器中由 WebLoom 管理的真实 JavaScript 运行空间。 */
|
|
6
|
+
type RuntimeKind = "window-main" | "shared-worker";
|
|
9
7
|
/** 权限动作名称;权限集合和最终 I/O allowlist 由宿主定义。 */
|
|
10
8
|
type PluginPermission = string;
|
|
11
9
|
/** 一个运行作用域的身份绑定;敏感句柄必须带上这些字段。 */
|
|
@@ -174,8 +172,8 @@ interface RemoteServiceReference {
|
|
|
174
172
|
capabilityId: string;
|
|
175
173
|
/** 提供该服务的运行实例;实例重建后必须变化。 */
|
|
176
174
|
providerInstanceId: string;
|
|
177
|
-
/**
|
|
178
|
-
|
|
175
|
+
/** 提供者所在真实 Runtime。 */
|
|
176
|
+
runtime: RuntimeKind;
|
|
179
177
|
/** 服务契约版本;第一阶段要求精确匹配。 */
|
|
180
178
|
contractVersion: string;
|
|
181
179
|
/** 提供环境的启动身份;重启后变化。 */
|
|
@@ -188,6 +186,8 @@ interface RemoteServiceReference {
|
|
|
188
186
|
attributes: Readonly<Record<string, unknown>>;
|
|
189
187
|
/** 当前服务目录状态。 */
|
|
190
188
|
status: "starting" | "ready" | "unavailable" | "failed";
|
|
189
|
+
/** 该引用所属的物理端口连接;本地服务可省略。 */
|
|
190
|
+
connectionId?: string;
|
|
191
191
|
/** 当前权威目录流修订号。 */
|
|
192
192
|
snapshotRevision: number;
|
|
193
193
|
/** 可选的外部授权标识;引用不是授权本身,Provider 仍需查权威状态。 */
|
|
@@ -256,8 +256,8 @@ interface RemoteServiceLookup {
|
|
|
256
256
|
capabilityId: string;
|
|
257
257
|
/** 要求的精确契约版本。 */
|
|
258
258
|
contractVersion: string;
|
|
259
|
-
/**
|
|
260
|
-
|
|
259
|
+
/** 可选的预期提供 Runtime。 */
|
|
260
|
+
runtime?: RuntimeKind;
|
|
261
261
|
/** 可选的预期作用域。 */
|
|
262
262
|
scopeId?: string;
|
|
263
263
|
}
|
|
@@ -769,60 +769,57 @@ interface PluginContext<TConfig extends PluginConfig = PluginConfig, TExtension
|
|
|
769
769
|
/** 宿主注入的只读配置;不与启停意图存储混用。 */
|
|
770
770
|
readonly config?: TConfig;
|
|
771
771
|
}
|
|
772
|
-
/**
|
|
773
|
-
interface
|
|
772
|
+
/** v1 运行时依赖;跨 Runtime 绑定必须使用精确契约版本和来源 Runtime。 */
|
|
773
|
+
interface RuntimeDependency {
|
|
774
774
|
/** 依赖的 capability 标识。 */
|
|
775
775
|
capability: string;
|
|
776
|
-
/**
|
|
776
|
+
/** 精确契约版本;跨 Runtime 依赖必须显式填写,本地可由 helper 推导。 */
|
|
777
777
|
contractVersion?: string;
|
|
778
|
-
/**
|
|
779
|
-
|
|
780
|
-
/** 提供者允许存在的生命周期;由宿主定义。 */
|
|
781
|
-
scope?: PluginLifetime;
|
|
778
|
+
/** 提供者实际运行空间;省略时由当前 Runtime 补齐。 */
|
|
779
|
+
sourceRuntime?: RuntimeKind;
|
|
782
780
|
/** 可选的人类可读诊断说明。 */
|
|
783
781
|
reason?: string;
|
|
784
782
|
/** 缺失时只关闭局部能力,不阻止主体运行。 */
|
|
785
783
|
optional?: boolean;
|
|
786
784
|
}
|
|
785
|
+
/** 简单插件的产品级依赖别名。 */
|
|
786
|
+
type PluginDependency = RuntimeDependency;
|
|
787
787
|
/** 运行单元的严格依赖描述。 */
|
|
788
788
|
interface RuntimeUnitDependency {
|
|
789
789
|
/** 依赖的 capability 标识。 */
|
|
790
790
|
capability: string;
|
|
791
791
|
/** 精确契约版本;第一阶段只接受完全匹配。 */
|
|
792
792
|
contractVersion: string;
|
|
793
|
-
/**
|
|
794
|
-
|
|
795
|
-
/** 提供者允许存在的生命周期。 */
|
|
796
|
-
scope: PluginLifetime;
|
|
793
|
+
/** 提供者实际运行空间;跨 Runtime 依赖在 materialize/validate 边界必须补齐。 */
|
|
794
|
+
sourceRuntime: RuntimeKind;
|
|
797
795
|
/** 可选的人类可读诊断说明。 */
|
|
798
796
|
reason?: string;
|
|
799
797
|
/** 缺失时只关闭局部能力;未填写表示硬依赖。 */
|
|
800
798
|
optional?: boolean;
|
|
801
799
|
}
|
|
800
|
+
/** 作者入口的未归一化 unit 依赖;进入 Host 前必须补齐版本和来源 Runtime。 */
|
|
801
|
+
type RuntimeUnitDependencyInput = Omit<RuntimeUnitDependency, "contractVersion" | "sourceRuntime"> & {
|
|
802
|
+
contractVersion?: string;
|
|
803
|
+
sourceRuntime?: RuntimeKind;
|
|
804
|
+
};
|
|
802
805
|
/** 返回稳定的 capability 契约版本。 */
|
|
803
806
|
declare function runtimeCapabilityContractVersion(capability: string): string;
|
|
804
807
|
/** 将依赖清单补齐为严格运行单元依赖。 */
|
|
805
|
-
declare function defineRuntimeUnitDependencies(dependencies: readonly Pick<PluginDependency, "capability" | "reason" | "optional">[], defaults
|
|
808
|
+
declare function defineRuntimeUnitDependencies(dependencies: readonly Pick<PluginDependency, "capability" | "reason" | "optional">[], defaults: {
|
|
809
|
+
sourceRuntime: RuntimeKind;
|
|
810
|
+
}): RuntimeUnitDependency[];
|
|
806
811
|
/** 为运行单元生成精确的 capability 契约版本表。 */
|
|
807
812
|
declare function defineRuntimeUnitProvidedContracts(capabilities: readonly string[]): Record<string, string>;
|
|
808
813
|
/** 插件在产品清单中的启动要求。 */
|
|
809
814
|
type PluginStartupMode = "required" | "optional";
|
|
810
|
-
/**
|
|
815
|
+
/** 插件装配元数据;v1 不解释产品分类字段。 */
|
|
811
816
|
interface PluginMeta {
|
|
812
|
-
/** 产品自定义分类,不由 WebLoom 解释。 */
|
|
813
|
-
kind?: string;
|
|
814
817
|
/** 首次装配时默认是否启用。 */
|
|
815
818
|
defaultEnabled: boolean;
|
|
816
819
|
/** 是否允许产品控制面禁用。 */
|
|
817
820
|
canDisable: boolean;
|
|
818
821
|
/** 是否属于启动必需插件。 */
|
|
819
822
|
startup?: PluginStartupMode;
|
|
820
|
-
/** 产品自定义展示分组。 */
|
|
821
|
-
displayGroup?: string;
|
|
822
|
-
/** 默认运行生命周期;未填写时使用宿主默认值。 */
|
|
823
|
-
lifetime?: PluginLifetime;
|
|
824
|
-
/** 默认执行环境;不从 UI 或实现类型推断。 */
|
|
825
|
-
execution?: PluginExecution;
|
|
826
823
|
}
|
|
827
824
|
/** 插件 setup 返回的清理函数。 */
|
|
828
825
|
type PluginTeardown = () => void | Promise<void>;
|
|
@@ -837,10 +834,8 @@ interface RuntimeUnitImplementationRegistry<TConfig extends PluginConfig = Plugi
|
|
|
837
834
|
interface RuntimeUnitDescriptor<TContribution = PluginContribution, TConfig extends PluginConfig = PluginConfig> {
|
|
838
835
|
/** 稳定运行单元标识。 */
|
|
839
836
|
id: string;
|
|
840
|
-
/**
|
|
841
|
-
|
|
842
|
-
/** 依附的作用域寿命。 */
|
|
843
|
-
lifetime: PluginLifetime;
|
|
837
|
+
/** 运行代码所在真实 Runtime。 */
|
|
838
|
+
runtime: RuntimeKind;
|
|
844
839
|
/** 本单元所需的精确 capability 契约。 */
|
|
845
840
|
dependencies?: RuntimeUnitDependency[];
|
|
846
841
|
/** 本单元提供的 capability。 */
|
|
@@ -854,6 +849,11 @@ interface RuntimeUnitDescriptor<TContribution = PluginContribution, TConfig exte
|
|
|
854
849
|
/** 单元专属只读配置声明或装配默认值。 */
|
|
855
850
|
config?: TConfig;
|
|
856
851
|
}
|
|
852
|
+
/** 作者入口的未归一化运行单元;runtime 可由 createWindowApp/startSharedWorkerApp 注入。 */
|
|
853
|
+
type RuntimeUnitDescriptorInput<TContribution = PluginContribution, TConfig extends PluginConfig = PluginConfig> = Omit<RuntimeUnitDescriptor<TContribution, TConfig>, "runtime" | "dependencies"> & {
|
|
854
|
+
runtime?: RuntimeKind;
|
|
855
|
+
dependencies?: readonly RuntimeUnitDependencyInput[];
|
|
856
|
+
};
|
|
857
857
|
/** 插件清单;插件作者导出的唯一静态描述。 */
|
|
858
858
|
interface PluginManifest<TContribution = PluginContribution, TConfig extends PluginConfig = PluginConfig, TExtension extends PluginContextExtension = PluginContextExtension> {
|
|
859
859
|
/** 全局稳定产品标识。 */
|
|
@@ -877,6 +877,10 @@ interface PluginManifest<TContribution = PluginContribution, TConfig extends Plu
|
|
|
877
877
|
/** 简单插件的只读配置。 */
|
|
878
878
|
config?: TConfig;
|
|
879
879
|
}
|
|
880
|
+
/** 作者入口的未归一化静态清单;进入 Host 前必须 materialize 成 PluginManifest。 */
|
|
881
|
+
type PluginManifestInput<TContribution = PluginContribution, TConfig extends PluginConfig = PluginConfig, TExtension extends PluginContextExtension = PluginContextExtension> = Omit<PluginManifest<TContribution, TConfig, TExtension>, "units"> & {
|
|
882
|
+
units?: readonly RuntimeUnitDescriptorInput<TContribution, TConfig>[];
|
|
883
|
+
};
|
|
880
884
|
/** 插件运行状态类别;registered 不代表已经运行。 */
|
|
881
885
|
type PluginStateKind = "registered" | "starting" | "stopping" | "enabled" | "disabled" | "blocked" | "error-disabled" | "cleanup-pending" | "unknown";
|
|
882
886
|
/** 对外稳定的产品运行语义。 */
|
|
@@ -912,8 +916,8 @@ interface PluginUnitState {
|
|
|
912
916
|
pluginId: string;
|
|
913
917
|
/** 稳定运行单元标识。 */
|
|
914
918
|
unitId: string;
|
|
915
|
-
/**
|
|
916
|
-
|
|
919
|
+
/** 真实运行空间。 */
|
|
920
|
+
runtime: RuntimeKind;
|
|
917
921
|
/** 当前运行实例。 */
|
|
918
922
|
instanceId?: string;
|
|
919
923
|
/** 当前意图修订。 */
|
|
@@ -961,8 +965,8 @@ interface PluginUnitGraph {
|
|
|
961
965
|
pluginId: string;
|
|
962
966
|
/** 稳定运行单元标识。 */
|
|
963
967
|
unitId: string;
|
|
964
|
-
/**
|
|
965
|
-
|
|
968
|
+
/** 真实运行空间。 */
|
|
969
|
+
runtime: RuntimeKind;
|
|
966
970
|
/** capability 依赖。 */
|
|
967
971
|
dependencies: string[];
|
|
968
972
|
/** 精确依赖描述。 */
|
|
@@ -993,6 +997,8 @@ interface StartupCapabilityErrorDetails {
|
|
|
993
997
|
interface StartupPluginErrorDetails {
|
|
994
998
|
/** 产品标识。 */
|
|
995
999
|
pluginId: string;
|
|
1000
|
+
/** 失败的运行单元。 */
|
|
1001
|
+
unitId?: string;
|
|
996
1002
|
/** 能力列表。 */
|
|
997
1003
|
capabilities: string[];
|
|
998
1004
|
/** 当前状态。 */
|
|
@@ -1115,37 +1121,6 @@ interface PluginConfigStore {
|
|
|
1115
1121
|
}
|
|
1116
1122
|
/** 创建内存配置端口;产品可通过 configStore 注入持久化实现。 */
|
|
1117
1123
|
declare function createInMemoryPluginConfigStore(initial?: Readonly<Record<string, boolean>>, readOnly?: boolean): PluginConfigStore;
|
|
1118
|
-
/** ScopeResolver 的输入;宿主可以基于当前状态决定 Scope 是否存在。 */
|
|
1119
|
-
interface ScopeResolverInput {
|
|
1120
|
-
/** 产品标识。 */
|
|
1121
|
-
pluginId: string;
|
|
1122
|
-
/** 稳定运行单元标识。 */
|
|
1123
|
-
unitId: string;
|
|
1124
|
-
/** 当前单元声明的生命周期标签。 */
|
|
1125
|
-
lifetime: PluginLifetime;
|
|
1126
|
-
/** 完整静态清单。 */
|
|
1127
|
-
manifest: PluginManifest;
|
|
1128
|
-
}
|
|
1129
|
-
/** 一个运行单元当前是否可以挂载。 */
|
|
1130
|
-
interface ScopeResolution {
|
|
1131
|
-
/** 是否允许创建实例 Scope。 */
|
|
1132
|
-
available: boolean;
|
|
1133
|
-
/** 不可用时的稳定诊断原因。 */
|
|
1134
|
-
reason?: string;
|
|
1135
|
-
/** 父 Scope;未提供时使用 Host 根 Scope。 */
|
|
1136
|
-
parent?: LifecycleScope;
|
|
1137
|
-
/** Scope 身份的只读扩展属性。 */
|
|
1138
|
-
attributes?: Readonly<Record<string, unknown>>;
|
|
1139
|
-
/** 宿主用于检测身份变化的稳定键。 */
|
|
1140
|
-
key?: string;
|
|
1141
|
-
}
|
|
1142
|
-
/** Scope 状态变化订阅端口。 */
|
|
1143
|
-
interface ScopeResolver {
|
|
1144
|
-
/** 解析当前单元是否具备可用父 Scope。 */
|
|
1145
|
-
resolve(input: ScopeResolverInput): ScopeResolution;
|
|
1146
|
-
/** 状态变化后通知 Host 重新协调;可选。 */
|
|
1147
|
-
subscribe?(listener: () => void): () => void;
|
|
1148
|
-
}
|
|
1149
1124
|
/** 权限策略输入;申请、批准和会话约束必须分开计算。 */
|
|
1150
1125
|
interface PermissionPolicyInput {
|
|
1151
1126
|
/** 产品标识。 */
|
|
@@ -1208,24 +1183,38 @@ interface ContributionAdapter {
|
|
|
1208
1183
|
/** 注册一份泛型贡献。 */
|
|
1209
1184
|
register(input: ContributionAdapterInput): void | ContributionHandle | (() => void | Promise<void>) | Promise<void | ContributionHandle | (() => void | Promise<void>)>;
|
|
1210
1185
|
}
|
|
1186
|
+
/** 运行单元可用性检查;返回稳定原因表示当前实例不能装配。 */
|
|
1187
|
+
interface RuntimeUnitAvailabilityInput {
|
|
1188
|
+
/** 产品标识。 */
|
|
1189
|
+
pluginId: string;
|
|
1190
|
+
/** 运行单元标识。 */
|
|
1191
|
+
unitId: string;
|
|
1192
|
+
/** 真实 Runtime。 */
|
|
1193
|
+
runtime: RuntimeKind;
|
|
1194
|
+
}
|
|
1195
|
+
/** 新运行单元 Scope 的身份属性输入。 */
|
|
1196
|
+
interface RuntimeUnitAttributesInput extends RuntimeUnitAvailabilityInput {
|
|
1197
|
+
/** 静态产品清单。 */
|
|
1198
|
+
manifest: PluginManifest;
|
|
1199
|
+
}
|
|
1200
|
+
/** 为运行单元选择父 Scope;未提供时运行单元直接挂在 Host 根 Scope。 */
|
|
1201
|
+
type RuntimeUnitParentScopeInput = RuntimeUnitAttributesInput;
|
|
1211
1202
|
/** 通用运行单元快照;用于展示远端单元未知/恢复状态。 */
|
|
1212
1203
|
interface RuntimeUnitSnapshot {
|
|
1213
1204
|
/** 产品标识。 */
|
|
1214
1205
|
pluginId: string;
|
|
1215
1206
|
/** 单元标识。 */
|
|
1216
1207
|
unitId: string;
|
|
1217
|
-
/**
|
|
1218
|
-
|
|
1208
|
+
/** 真实 Runtime。 */
|
|
1209
|
+
runtime: RuntimeKind;
|
|
1219
1210
|
/** 远端实例标识。 */
|
|
1220
1211
|
instanceId?: string;
|
|
1221
1212
|
/** 远端当前状态。 */
|
|
1222
1213
|
state: PluginStateKind;
|
|
1223
1214
|
}
|
|
1224
1215
|
interface CreatePluginHostOptions {
|
|
1225
|
-
/** 当前 Host
|
|
1226
|
-
|
|
1227
|
-
/** 默认插件生命周期。 */
|
|
1228
|
-
defaultLifetime?: string;
|
|
1216
|
+
/** 当前 Host 所在真实 Runtime。 */
|
|
1217
|
+
runtime?: RuntimeKind;
|
|
1229
1218
|
/** 根 Scope 的宿主只读属性。 */
|
|
1230
1219
|
rootAttributes?: Readonly<Record<string, unknown>>;
|
|
1231
1220
|
/** 预注入的内建 capability;不归属于任何插件实例。 */
|
|
@@ -1240,8 +1229,6 @@ interface CreatePluginHostOptions {
|
|
|
1240
1229
|
contextExtension?: (input: ContextExtensionInput) => Readonly<Record<string, unknown>>;
|
|
1241
1230
|
/** 校验产品清单中的宿主扩展字段。 */
|
|
1242
1231
|
manifestValidator?: (manifest: PluginManifest) => void;
|
|
1243
|
-
/** 解析当前生命周期是否存在以及其父 Scope。 */
|
|
1244
|
-
scopeResolver?: ScopeResolver;
|
|
1245
1232
|
/** 计算权限批准与会话交集。 */
|
|
1246
1233
|
permissionPolicy?: (input: PermissionPolicyInput) => PermissionPolicyResult;
|
|
1247
1234
|
/** 启停意图持久化端口。 */
|
|
@@ -1254,12 +1241,22 @@ interface CreatePluginHostOptions {
|
|
|
1254
1241
|
serviceBridgeForPlugin?: (pluginId: string, instanceId: string) => RemoteServiceBridge | undefined;
|
|
1255
1242
|
/** 当前执行环境的运行单元实现注册表。 */
|
|
1256
1243
|
runtimeUnitImplementationRegistry?: RuntimeUnitImplementationRegistry;
|
|
1244
|
+
/** 当前身份/授权不允许装配时返回稳定的 blockedBy 原因。 */
|
|
1245
|
+
runtimeUnitAvailability?: (input: RuntimeUnitAvailabilityInput) => string | undefined;
|
|
1246
|
+
/** 为每次新建运行单元 Scope 生成当前绑定的只读属性。 */
|
|
1247
|
+
runtimeUnitAttributes?: (input: RuntimeUnitAttributesInput) => Readonly<Record<string, unknown>> | undefined;
|
|
1248
|
+
/** 为每次新建运行单元 Scope 选择生命周期父级;返回 undefined 使用 Host 根 Scope。 */
|
|
1249
|
+
runtimeUnitParentScope?: (input: RuntimeUnitParentScopeInput) => LifecycleScope | undefined;
|
|
1257
1250
|
/** 贡献适配器集合。 */
|
|
1258
1251
|
contributionAdapters?: readonly ContributionAdapter[];
|
|
1259
1252
|
/** 允许每一项清理等待的时间。 */
|
|
1260
1253
|
lifecycleCleanupTimeoutMs?: number;
|
|
1261
1254
|
/** 读取远端单元真实状态。 */
|
|
1262
1255
|
runtimeSnapshots?: () => readonly RuntimeUnitSnapshot[];
|
|
1256
|
+
/** 读取其它真实 Runtime 当前已接受的服务目录。 */
|
|
1257
|
+
remoteServiceReferences?: () => readonly RemoteServiceReference[];
|
|
1258
|
+
/** 允许来源 Runtime 不同且尚未出现在本地 manifest 集合中的依赖。 */
|
|
1259
|
+
externalRuntimeDependencies?: boolean;
|
|
1263
1260
|
}
|
|
1264
1261
|
declare class StartupCapabilityError extends Error {
|
|
1265
1262
|
readonly details: StartupCapabilityErrorDetails[];
|
|
@@ -1327,6 +1324,8 @@ interface PluginHost {
|
|
|
1327
1324
|
ok: false;
|
|
1328
1325
|
reason: string;
|
|
1329
1326
|
}>;
|
|
1327
|
+
/** 暂停当前实例但保留启用意图;供宿主身份世代切换时撤权重建。 */
|
|
1328
|
+
suspend(pluginId: string, reason?: string): Promise<void>;
|
|
1330
1329
|
/** 从 Host 删除一个插件。 */
|
|
1331
1330
|
unregister(pluginId: string): Promise<void>;
|
|
1332
1331
|
/** 停止所有实例并释放根 Scope。 */
|
|
@@ -1337,4 +1336,4 @@ interface PluginHost {
|
|
|
1337
1336
|
}): void;
|
|
1338
1337
|
}
|
|
1339
1338
|
|
|
1340
|
-
export { type
|
|
1339
|
+
export { type MessageHandler as $, type ContextExtensionInput as A, type ContributionAdapter as B, type CreatePluginHostOptions as C, type ContributionAdapterInput as D, type ContributionHandle as E, type DispatchOptions as F, type EventHandler as G, type HandlerOptions as H, type HostListener as I, LIFECYCLE_ERROR_TEXT as J, type LifecycleCleanup as K, type LifecycleDisposeResult as L, type MessageBus as M, type LifecycleCleanupIssue as N, type LifecycleCleanupPhase as O, type PluginManifest as P, type LifecycleDisposeOptions as Q, type RuntimeKind as R, type ScopedTaskScheduler as S, type LifecycleResourceHandle as T, type UpgradeGate as U, type LifecycleResourceSnapshot as V, type LifecycleScopeKind as W, LifecycleScopeRevokedError as X, type LifecycleScopeState as Y, type Message as Z, type MessageBusSnapshot as _, type PluginGraph as a, type UpgradeMode as a$, type MessageMode as a0, type OwnedResourceDefinition as a1, PermissionDeniedError as a2, type PermissionLeaseBinding as a3, type PermissionLeaseBindingExpectation as a4, PermissionLeaseRevokedError as a5, type PermissionPolicyInput as a6, type PermissionPolicyResult as a7, type PluginAttributes as a8, type PluginConfigStore as a9, type ResourceDefinition as aA, type ResourceKey as aB, type ResourceRegistry as aC, type ResourceSnapshot as aD, type ResourceStatus as aE, type ResourceStoreApi as aF, type RuntimeUnitAttributesInput as aG, type RuntimeUnitAvailabilityInput as aH, type RuntimeUnitDependency as aI, type RuntimeUnitDependencyInput as aJ, type RuntimeUnitDescriptor as aK, type RuntimeUnitImplementationRegistry as aL, type RuntimeUnitParentScopeInput as aM, type RuntimeUnitSnapshot as aN, SCOPED_TASK_SCHEDULER_CAPABILITY as aO, type ScopedTaskDefinition as aP, type ScopedTaskSnapshot as aQ, StartupCapabilityError as aR, type StartupCapabilityErrorDetails as aS, StartupPluginError as aT, type StartupPluginErrorDetails as aU, type UpgradeDrainResult as aV, UpgradeGateRejectedError as aW, type UpgradeGateState as aX, type UpgradeHandshake as aY, type UpgradeHandshakeResult as aZ, type UpgradeIoLease as a_, type PluginContext as aa, type PluginIntentCommand as ab, type PluginIntentCommandResult as ac, type PluginIntentController as ad, type PluginIntentCoordinator as ae, type PluginIntentSnapshot as af, type PluginIntentSubmissionResult as ag, type PluginLifecycleState as ah, type PluginStartupMode as ai, type PluginState as aj, type PluginTeardown as ak, type PluginUnitGraph as al, type PublishOptions as am, RESOURCE_OWNER as an, RESOURCE_REGISTRY_CAPABILITY as ao, RUNTIME_MESSAGE_BUS as ap, type RemoteServiceBridgeState as aq, type RemoteServiceCallContext as ar, type RemoteServiceLookup as as, type RemoteServiceMessageKind as at, type RemoteServicePortControlMessage as au, type RemoteServiceSnapshotResult as av, type RemoteServiceTransport as aw, RemoteServiceUnavailableError as ax, type RequestOptions as ay, type ResourceContext as az, type PluginDependency as b, type UpgradeSession as b0, createCapabilityRegistry as b1, createInMemoryPluginConfigStore as b2, createPluginHost as b3, createRemoteServiceMessageCodec as b4, createResourceStore as b5, defineRuntimeUnitDependencies as b6, defineRuntimeUnitProvidedContracts as b7, lifecycleErrorText as b8, runtimeCapabilityContractVersion as b9, type PluginReverseDep as c, type PluginContribution as d, type PluginConfig as e, type PluginContextExtension as f, type PluginManifestInput as g, type RuntimeUnitDescriptorInput as h, type PluginSetup as i, type RuntimeDependency as j, type PluginPermission as k, type PluginMeta as l, type PluginStateKind as m, type RemoteServiceReference as n, type RemoteServiceMessageCodec as o, type PluginUnitState as p, type RemoteServiceBridge as q, type RemoteServiceProxy as r, type PluginHost as s, type LifecycleScope as t, type LifecycleScopeIdentity as u, type PermissionLease as v, type CreateUpgradeGateOptions as w, type RemoteServiceHandshake as x, type RemoteServiceSnapshot as y, type CapabilityRegistry as z };
|