[Feature Request] Add support for custom assistant
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Kotlin
- スター
- 1.4k
- フォーク
- 64
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
WSTxda/SwitchAI のほかの issue
-
assistant support
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
Adding Duck.aiオープンassistant support
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
-
assistant support wait official app
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
-
assistant support wait official app
難易度 2/5 1〜3時間 初心者へのやさしさ 48/100
-
enhancement TODO
難易度 3/5 1〜2日 初心者へのやさしさ 25/100
WSTxda/SwitchAI の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
beppe2880/opencode-mobile#60 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
auth0/Auth0.Android#1101 ·
メンテナーはふだん 1 日以内に返信
-
LiquidGlass / LiquidGlassContainer (iOS): padded content measured at the outer width and overflows by the padding対応中かも @aleclarson が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
NativeScript/NativeScript#11561 ·
メンテナーはふだん 1 日以内に返信
-
Imported configuration's @Bean methods record the configuration class instead of the return typeオープンin:spring-core
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
explyt/spring-plugin#787 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
IacobIonut01/ReFra#1335 ·
メンテナーはふだん 4 日以内に返信