Repository navigation
[feature] 一鍵「在 Claude 中連接」:MCP 設定頁按鈕與首頁提示卡 - #90
Merged
Merged
Conversation
✅ SonarQube Quality Gate passed — pathorsAI_internal0 open issues on this PR. |
yui0303
approved these changes
Oct 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
這張 PR 做了什麼
?org=,connector 名稱「Pathors Internal (組織名)」。claudeConnectorUrlhelper+測試;把 request origin 的邏輯抽成lib/request-origin.ts。畫面(示意)
照分支裡的實際文案畫的示意,不是實機截圖;左邊是設定頁的常駐按鈕,右邊是首頁可關掉的引導卡片。
驗證
tsc、bun run lint、bun test(291 pass)、bun run build都通過。共通做法(internal、main-app、pstudio、slides 四個服務一起做)
claude.ai/customize/connectors?modal=add-custom-connector&connectorName=…&connectorUrl=…,點下去直接跳出「新增自訂 connector」視窗,名稱和網址已經填好,使用者只要按新增、走一次 OAuth。pathors.connectClaude.dismissed.v1,storage 壞掉時照樣顯示、不會 crash。還沒驗證