Files
browser/src
Adrià Arrufat 12ecf27fb1 search: make SearchEngine declaration order the .auto preference order
Mirror the zenai provider pattern: the enum's declaration order is the
single source of truth for the .auto cascade, asserted at comptime against
api_engines (auto first, one table entry per API engine in tag order,
duckduckgo last with no entry). The enum reorders brave before tavily to
match the table's actual preference — persisted settings are unaffected
(ZON stores tag names).

Each table entry now carries a .keyless field; the hardcoded keenable
keyless rung, searchEngineKeyless, and searchExplicit's comptime gate all
derive from it, engineIndex collapses to arithmetic, and apiSearch takes a
typed ?[]const u8 key instead of anytype.
2026-08-24 13:01:31 +02:00
..
2026-08-22 14:28:02 +08:00
2026-08-01 09:15:18 +08:00
2026-08-22 07:04:58 +08:00
2026-08-11 20:30:45 +08:00
2026-07-22 18:29:33 +03:00
2026-08-20 16:03:42 +08:00
2026-07-30 13:02:13 +08:00
2026-07-22 13:26:03 +08:00
2026-07-28 09:39:02 +08:00
2026-08-20 16:03:42 +08:00
2026-07-22 13:26:03 +08:00
2026-07-30 13:02:13 +08:00
2026-08-22 07:04:58 +08:00
2026-08-01 09:15:18 +08:00
2026-07-22 13:26:03 +08:00
2026-07-22 13:26:03 +08:00
2026-08-20 16:03:42 +08:00
2026-07-22 13:26:03 +08:00
2026-07-22 13:26:03 +08:00
2026-08-22 07:04:58 +08:00