refactor(plugins): reuse dependency status core · openclaw/openclaw@2e7caba
vincentkoc
·
2026-06-16
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -8,7 +8,7 @@ import {
|
8 | 8 | type PluginRegistrySnapshotSource, |
9 | 9 | } from "./plugin-registry.js"; |
10 | 10 | import { createEmptyPluginRegistry, type PluginRecord, type PluginRegistry } from "./registry.js"; |
11 | | -import { buildSnapshotPluginDependencyStatus } from "./status-snapshot-dependencies.js"; |
| 11 | +import { buildPluginDependencyStatus } from "./status-dependencies-core.js"; |
12 | 12 | import type { PluginLogger } from "./types.js"; |
13 | 13 | |
14 | 14 | /** Control-plane plugin status shape used by `openclaw plugins status` style surfaces. */ |
@@ -118,7 +118,7 @@ function buildPluginRecordFromInstalledIndex(
|
118 | 118 | hookCount: 0, |
119 | 119 | configSchema: false, |
120 | 120 | contracts: manifest?.contracts, |
121 | | -dependencyStatus: buildSnapshotPluginDependencyStatus({ |
| 121 | +dependencyStatus: buildPluginDependencyStatus({ |
122 | 122 | rootDir: plugin.rootDir, |
123 | 123 | dependencies: manifest?.packageDependencies, |
124 | 124 | optionalDependencies: manifest?.packageOptionalDependencies, |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。