fix: type manifest capability snapshot inputs · openclaw/openclaw@88a8211
shakkernerd
·
2026-05-02
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -205,7 +205,7 @@ export function getCurrentCapabilityMetadataSnapshot(params: {
|
205 | 205 | } |
206 | 206 | |
207 | 207 | export function hasSnapshotCapabilityAvailability(params: { |
208 | | -snapshot: PluginMetadataSnapshot; |
| 208 | +snapshot: Pick<PluginMetadataSnapshot, "index" | "plugins">; |
209 | 209 | key: CapabilityContractKey; |
210 | 210 | config?: OpenClawConfig; |
211 | 211 | authStore?: AuthProfileStore; |
@@ -262,7 +262,7 @@ export function hasSnapshotCapabilityAvailability(params: {
|
262 | 262 | } |
263 | 263 | |
264 | 264 | export function hasSnapshotProviderEnvAvailability(params: { |
265 | | -snapshot: PluginMetadataSnapshot; |
| 265 | +snapshot: Pick<PluginMetadataSnapshot, "index" | "plugins">; |
266 | 266 | providerId: string; |
267 | 267 | config?: OpenClawConfig; |
268 | 268 | }): boolean { |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。