fix: break plugin metadata snapshot cycle

This commit is contained in:
Peter Steinberger
2026-05-22 10:19:05 +01:00
parent 7b489560f3
commit 4ee8a2ac2e
2 changed files with 4 additions and 2 deletions

View File

@@ -2,7 +2,8 @@ import type { OpenClawConfig } from "../config/types.openclaw.js";
import type { InstalledPluginIndex } from "./installed-plugin-index.js";
import type { PluginManifestRecord, PluginManifestRegistry } from "./manifest-registry.js";
import type { PluginDiagnostic } from "./manifest-types.js";
import type { PluginRegistrySnapshotSource } from "./plugin-registry-snapshot.js";
export type PluginRegistrySnapshotSource = "provided" | "persisted" | "derived";
export type PluginMetadataSnapshotOwnerMaps = {
channels: ReadonlyMap<string, readonly string[]>;

View File

@@ -26,11 +26,12 @@ import {
type LoadInstalledPluginIndexParams,
type RefreshInstalledPluginIndexParams,
} from "./installed-plugin-index.js";
import type { PluginRegistrySnapshotSource } from "./plugin-metadata-snapshot.types.js";
export type PluginRegistrySnapshot = InstalledPluginIndex;
export type PluginRegistryRecord = InstalledPluginIndexRecord;
export type PluginRegistryInspection = InstalledPluginIndexStoreInspection;
export type PluginRegistrySnapshotSource = "provided" | "persisted" | "derived";
export type { PluginRegistrySnapshotSource };
export type PluginRegistrySnapshotDiagnosticCode =
| "persisted-registry-disabled"
| "persisted-registry-missing"