fix: break plugin metadata snapshot cycle · openclaw/openclaw@4ee8a2a
steipete
·
2026-05-22
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -2,7 +2,8 @@ import type { OpenClawConfig } from "../config/types.openclaw.js";
|
2 | 2 | import type { InstalledPluginIndex } from "./installed-plugin-index.js"; |
3 | 3 | import type { PluginManifestRecord, PluginManifestRegistry } from "./manifest-registry.js"; |
4 | 4 | import type { PluginDiagnostic } from "./manifest-types.js"; |
5 | | -import type { PluginRegistrySnapshotSource } from "./plugin-registry-snapshot.js"; |
| 5 | + |
| 6 | +export type PluginRegistrySnapshotSource = "provided" | "persisted" | "derived"; |
6 | 7 | |
7 | 8 | export type PluginMetadataSnapshotOwnerMaps = { |
8 | 9 | channels: ReadonlyMap<string, readonly string[]>; |
|
| Original file line number | Diff line number | Diff line change |
|---|
@@ -26,11 +26,12 @@ import {
|
26 | 26 | type LoadInstalledPluginIndexParams, |
27 | 27 | type RefreshInstalledPluginIndexParams, |
28 | 28 | } from "./installed-plugin-index.js"; |
| 29 | +import type { PluginRegistrySnapshotSource } from "./plugin-metadata-snapshot.types.js"; |
29 | 30 | |
30 | 31 | export type PluginRegistrySnapshot = InstalledPluginIndex; |
31 | 32 | export type PluginRegistryRecord = InstalledPluginIndexRecord; |
32 | 33 | export type PluginRegistryInspection = InstalledPluginIndexStoreInspection; |
33 | | -export type PluginRegistrySnapshotSource = "provided" | "persisted" | "derived"; |
| 34 | +export type { PluginRegistrySnapshotSource }; |
34 | 35 | export type PluginRegistrySnapshotDiagnosticCode = |
35 | 36 | | "persisted-registry-disabled" |
36 | 37 | | "persisted-registry-missing" |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。