MCPcopy Create free account
hub / github.com/Acode-Foundation/Acode / openWithSearch

Function openWithSearch

src/sidebarApps/extensions/index.js:286–298  ·  view source on GitHub ↗
(query)

Source from the content-addressed store, hash-verified

284}
285
286export async function openWithSearch(query) {
287 Sidebar.show();
288 document
289 .querySelector('[data-action="sidebar-app"][data-id="extensions"]')
290 ?.click();
291
292 const searchInput = await waitForSearchInput();
293 if (!searchInput) return;
294
295 searchInput.value = query;
296 clearTimeout(searchTimeout);
297 void runSearch(query);
298}
299
300async function filterPlugins() {
301 const verifiedLabel = strings["verified publisher"];

Callers 1

openExtensionsFunction · 0.85

Calls 3

waitForSearchInputFunction · 0.85
runSearchFunction · 0.85
showMethod · 0.45

Tested by

no test coverage detected