`duskbot pair --phone` on a self-hosted server makes a sign-in code, not a phone pairing, so the phone app never gets push
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 55/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- typescript
- 領域
- authentication, cli, mobile
調査の方向性
Start in pair-cli and trace how --phone, --public-url, and phoneAppPairing determine the pairing flow. Compare that path with the working POST /api/mobile/pairing endpoint and its duskbot://pair?m= link. Done means pair --phone with a public HTTPS URL creates a phone pairing that can receive pushes, or clearly explains when the printed code cannot.
索引モデルが issue の本文から書いたものです。
説明
Server 0.2.30, own systemd unit, public URL through a Cloudflare tunnel, no link service (duskbot vps status: link: not-installed).
Steps: duskbot pair --label iPhone --phone ios --public-url https://dusk.example, then paste the "phone app:" link into the app and allow notifications.
Expected: a paired phone that gets pushes.
Actual: a plain sign-in. No mobile-devices.json entry is made, and the app's PUT /api/mobile/push gets "this session is not a paired phone", so no push is ever sent. Neither the CLI nor the app says so.
Cause in pair-cli: options.client || options.publicUrl ? null : phoneAppPairing(...) skips phone pairing whenever --public-url is set. Without it, phoneAppPairing still returns null unless the link service gives a relay route. --phone only changes the printed text, and the "phone app:" link is the old sign-in invite.
What works: POST /api/mobile/pairing over the public HTTPS address gives a working duskbot://pair?m= link. iPhone (APNs) and Android (FCM) pushes then arrive through link.dusk.bot.
Ask: pair --phone should use /api/mobile/pairing when the server has a public HTTPS address, or at least say that the code it prints can't receive push.
- 主要言語
- TypeScript
- スター
- 277
- フォーク
- 27
- 平均マージ
- 15時間 30分
- マージ済み PR(30日)
- 147
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
DuskBotAI/duskbot のほかの issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 59/100
メンテナーはふだん 1 日以内に返信
-
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
DuskBotAI/duskbot#353 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
DuskBotAI/duskbot#351 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
DuskBotAI/duskbot の issue をすべて見る
似ている issue
-
area/ci bug
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
melgarafael/DeskcommCRM#5290 ·
メンテナーはふだん 1 日以内に返信
-
Add Alice&Botオープン
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
slavakurilyak/awesome-ai-agents#1048 ·
-
easy enhancement good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
bot:ai-assisted component:faucet github_actions security status:untriaged
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
midnightntwrk/midnight-faucet-api#215 ·
メンテナーはふだん 1 日以内に返信