feat(assistant): a question opens in the AI assistant chosen, Proton's Lumo by default

Questions asked from the app went to Claude alone. Settings › Assistant
now chooses where they open (decided 2026-10-14): Lumo, the default, by
its guest chat with the question in the address's fragment (Lumo's
`prefill`, which needs no account and reaches no server; the address for
one's own account loses the question when nobody is signed in), ChatGPT,
Claude, Mistral, Perplexity, Duck.ai, Grok, Kagi Assistant, HuggingChat,
or an address of one's own with %s. Each link fills the question in for
the person to send (Perplexity answers at once, Grok asks first); Gemini,
which has no such link, and Copilot, whose stopped working, are left out.
The field names the assistant ("Ask Lumo…"). A device that sent questions
to Claude goes on asking an assistant, now Lumo. Connecting Claude to read
studysets stays as it was.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
This commit is contained in:
Tizian 「ティツィアーン」 2026-10-14 13:19:51 +02:00
commit 8dde0fa42a
Signed by: raisondetredev
GPG key ID: 07F6FCF405488B64

View file

@ -66,10 +66,10 @@ void main() {
testWidgets('Settings offers to connect Claude only while asking Claude is '
'on', (tester) async {
await showApp(tester, location: RoutePaths.settings, on: false);
await scrollTo(tester, find.text('Ask Claude or search the web'));
await scrollTo(tester, find.text('Ask an AI assistant or search the web'));
expect(find.text('Connect Claude'), findsNothing);
await tester.tap(find.text('Ask Claude or search the web'));
await tester.tap(find.text('Ask an AI assistant or search the web'));
await tester.pumpAndSettle();
await scrollTo(tester, find.text('Connect Claude'));
await tester.tap(find.text('Connect Claude'));