[Feature Request] Add support for custom assistant
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
Direzione di ricerca
Start by reading the assistant selector and launch flow, especially AssistantsMap, AssistantResourcesManager, and openAssistant(intents, errorMessage), then compare how existing assistants are registered and launched. The issue proposes both adding Notion AI and a preference-backed custom assistant with a package name and activity or deep link; done means users can select and launch those assistants, with a suitable label and fallback icon. No specific test or file paths are provided.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Part 1 — Notion AI
App: Notion: Notes, Tasks, AI by Notion Labs
Package: notion.id
Notion ships a full AI assistant (chat, camera, and voice modes) inside its mobile app, and exposes them through a dedicated "AI shortcuts" home screen widget on Android (docs). For people whose primary AI lives in their Notion workspace, it's the assistant they'd actually want on the assist gesture — but Notion doesn't implement ROLE_ASSISTANT itself, so SwitchAI is the only way to get there.
Part 2 — Custom assistant via manual package name (the more general ask)
Right now every supported app needs a hardcoded AssistantActivity subclass, two entries in AssistantsMap, a manifest declaration, a string, and two array entries. That's a clean design, but it means every long-tail app has to route through you.
Would you consider a single "Custom" entry in the selector where the user supplies:
- package name (required)
- activity class name or a deep-link URI (either one)
- optional display label
…stored in preferences and launched through the existing openAssistant(intents, errorMessage) path? AssistantResourcesManager already falls back to ic_assistant_default and a derived display name when no matching resource exists, so the icon and label sides seem largely handled.
This would cover cases like Notion AI, region-locked apps, self-hosted front-ends, and any new AI app that appears between releases — without adding maintenance burden on your side. Curated built-ins would stay the recommended path; the custom slot would just be an escape hatch.
Thanks for the app — the Material 3 Expressive selector plus the QS tile is by far the cleanest way to hang a non-Google assistant off the assist gesture.
- Lingua principale
- Kotlin
- Stelle
- 1.4k
- Fork
- 64
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di WSTxda/SwitchAI
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
Adding Duck.aiAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
-
Grok voice input supportApertaassistant support wait official app
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
-
assistant support wait official app
Difficoltà 2/5 1-3 ore Idoneità per principianti 48/100
-
enhancement TODO
Difficoltà 3/5 1-2 giorni Idoneità per principianti 25/100
Tutte le issue di WSTxda/SwitchAI
Issue simili
-
[Submission] AI服务引擎Apertasubmit-adaption submit-adaption-pre
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 76/100
BetterAndroid/android-notification-icon-project#783 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
coding size:s skill:kotlin-core sub-issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
SKaiNET-developers/SKaiNET#1421 ·
I maintainer di solito rispondono entro 1 giorno
-
Show Full DetailsAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
leonlatsch/Photok#809 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
intellij-elixir/intellij-elixir#4492 ·
I maintainer di solito rispondono entro 1 giorno