@x-otto/plugin 0.1.0-alpha.13 → 0.1.0-alpha.15
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/dist/index.d.ts +0 -11
- package/package.json +6 -6
package/dist/index.d.ts
CHANGED
|
@@ -3069,17 +3069,6 @@ type MonitorEvent = {
|
|
|
3069
3069
|
pluginId: string;
|
|
3070
3070
|
reason: PluginLoadFailureReason;
|
|
3071
3071
|
message: string;
|
|
3072
|
-
}
|
|
3073
|
-
/**
|
|
3074
|
-
* 能力缺口上报(自迭代闭环认知输入面,08-13 终局 review B2):capability_gap 工具
|
|
3075
|
-
* 每次上报经宿主桥接派发。缺口记录本身是跨会话聚合 store(CapabilityGapReportStore),
|
|
3076
|
-
* 本事件是同一事实的事件面投影——运行中的 service 插件无需轮询即可感知"本工作区
|
|
3077
|
-
* 出现了新能力缺口"并主动响应。observer-only。
|
|
3078
|
-
*/
|
|
3079
|
-
| {
|
|
3080
|
-
type: 'capability_gap.reported';
|
|
3081
|
-
dedupKey: string;
|
|
3082
|
-
searchTerms: string[];
|
|
3083
3072
|
};
|
|
3084
3073
|
/** 插件装载失败原因分类(`plugin.load-failed` 事件 reason 字段)。 */
|
|
3085
3074
|
type PluginLoadFailureReason = /** 依赖缺失/环(topology 层剔除,RFC-132 D5)。 */'dependency-missing' /** 依赖环(topology 层剔除,RFC-132 D5)。 */ | 'dependency-cycle' /** 引擎版本门不兼容(RFC-148 M0)。 */ | 'version-incompatible' /** plugin.ts 编译/加载/工厂执行失败(module-loader 层)。 */ | 'module-error' /** project/repository 插件未通过布尔信任门(RFC-124 C1,08-13 终局复核 B1 扩展)。 */ | 'not-trusted' /** manifest 声明高危能力但未显式授予(pendingCapabilities 门,RFC-140 D3,08-13 终局复核 B1 扩展)。 */ | 'capability-not-granted' /** 声明式 provider/oauth 轴装载拒绝(能力未声明/id 冲突/保留 id 等,08-13 终局复核 B1 扩展)。 */ | 'provider-rejected';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@x-otto/plugin",
|
|
3
|
-
"version": "0.1.0-alpha.
|
|
3
|
+
"version": "0.1.0-alpha.15",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist",
|
|
6
6
|
"README.md"
|
|
@@ -22,11 +22,11 @@
|
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"semver": "7.7.4",
|
|
24
24
|
"zod": "4.3.6",
|
|
25
|
-
"@x-otto/env": "0.1.0-alpha.
|
|
26
|
-
"@x-otto/
|
|
27
|
-
"@x-otto/
|
|
28
|
-
"@x-otto/
|
|
29
|
-
"@x-otto/provider": "0.1.0-alpha.
|
|
25
|
+
"@x-otto/env": "0.1.0-alpha.15",
|
|
26
|
+
"@x-otto/interchange": "0.1.0-alpha.15",
|
|
27
|
+
"@x-otto/shared": "0.1.0-alpha.15",
|
|
28
|
+
"@x-otto/hook-contracts": "0.1.0-alpha.15",
|
|
29
|
+
"@x-otto/provider": "0.1.0-alpha.15"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
32
|
"@types/semver": "7.7.1"
|