File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -114,12 +114,6 @@ export function resolvePluginConfigContractsById(params: {
114114 fallbackToBundledMetadataForResolvedBundled ?: boolean ;
115115 fallbackBundledPluginIds ?: readonly string [ ] ;
116116 pluginIds : readonly string [ ] ;
117- /**
118- * Pre-computed discovery result. When supplied, the bundled-fallback path
119- * skips its internal `discoverOpenClawPlugins` call so callers sharing a
120- * discovery snapshot across registry helpers avoid redundant filesystem
121- * walks.
122- */
123117 discovery ?: PluginDiscoveryResult ;
124118} ) : ReadonlyMap < string , PluginConfigContractMetadata > {
125119 const matches = new Map < string , PluginConfigContractMetadata > ( ) ;
Original file line number Diff line number Diff line change @@ -130,12 +130,6 @@ export type LoadInstalledPluginIndexParams = {
130130 installRecords ?: Record < string , PluginInstallRecord > ;
131131 candidates ?: PluginCandidate [ ] ;
132132 diagnostics ?: PluginDiagnostic [ ] ;
133- /**
134- * Pre-computed discovery result. When supplied (and `candidates` is not),
135- * the internal `discoverOpenClawPlugins` call is skipped. Callers sharing a
136- * discovery snapshot across registry helpers in the same flow should supply
137- * this to avoid redundant filesystem walks.
138- */
139133 discovery ?: PluginDiscoveryResult ;
140134 now ?: ( ) => Date ;
141135} ;
Original file line number Diff line number Diff line change @@ -202,13 +202,6 @@ export type PluginLoadOptions = {
202202 loadModules ?: boolean ;
203203 throwOnLoadError ?: boolean ;
204204 manifestRegistry ?: PluginManifestRegistry ;
205- /**
206- * Pre-computed plugin discovery result. When supplied, internal calls to
207- * `discoverOpenClawPlugins` are skipped. Callers in the same startup flow
208- * can compute one discovery result and share it across loader entry points
209- * to eliminate redundant filesystem walks. Ignored when `manifestRegistry`
210- * is also provided (the registry already implies a discovery snapshot).
211- */
212205 discovery ?: PluginDiscoveryResult ;
213206} ;
214207
Original file line number Diff line number Diff line change @@ -920,12 +920,6 @@ export function loadPluginManifestRegistry(
920920 diagnostics ?: PluginDiagnostic [ ] ;
921921 installRecords ?: Record < string , PluginInstallRecord > ;
922922 bundledChannelConfigCollector ?: BundledChannelConfigCollector ;
923- /**
924- * Pre-computed discovery result. When supplied (and `candidates` is not),
925- * the internal `discoverOpenClawPlugins` call is skipped. Callers sharing
926- * a discovery snapshot across multiple registry helpers in the same flow
927- * should supply this to avoid redundant filesystem walks.
928- */
929923 discovery ?: PluginDiscoveryResult ;
930924 } = { } ,
931925) : PluginManifestRegistry {
You can’t perform that action at this time.
0 commit comments