Files
jason.woltjeandClaude Opus 5.5 ae74c25fdd web verbs: grant before the long wait, abort signal to the backend, one query limit (vikunja:19/307, row 145)
Jason-approved merge, rebased: git diff 813671596..6219c5c8c from
work/vikunja-19-307, stacked on 295. Business reviewer verdict 84c9c4be
approve on 6219c5c8c; Jason resolved merge decision 17bb9efc via the CLI.

Conflict resolution only. packages/harness/src/tools.mjs conflicted with
row 132 (0e947c216): both sides add a constant after TASK_PAGE_MAX. Kept
row 132's ORGANIZATION_KEYS, then 307's WEB_QUERY_MAX. Three other paths
that refactor also changed merged without conflict. For each, the +/-
lines on the new base equal the source commit's. The other nine paths are
the source blobs. Filbert reviews the rebased diff.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-15 17:50:59 -05:00

15 lines
738 B
JavaScript

// The "searxng-bundled" search-source plug-in (REQ-PLUG-2, REQ-INST-1, decision 0b81b0c5): the
// SearXNG the Stack installs and runs, bound to loopback only. The install component is a separate
// item; until it runs, a search is refused as "search is unavailable". The address is fixed here
// and ignores web.searxng.
import { loadWebConfig, webSearch } from "../../../discord/src/web.mjs";
export const interfaceVersion = 1;
export const BUNDLED_URL = "http://127.0.0.1:8888";
export function search(_settings, query, deps, { signal } = {}) {
const config = loadWebConfig({ searxng: BUNDLED_URL });
const run = { ...config, signal };
return deps === undefined ? webSearch(run, { query }) : webSearch(run, { query }, deps);
}