fix(mascot): map cursor-cli and qoder-cli to correct mascots#248
Merged
Conversation
Bridge promotes terminal Cursor/Qoder sessions to -cli source IDs; MascotView and SharedMascotView only matched base names and fell back to Clawd.
Plist had com.apple.security.cs.disable-library-validation twice, which caused build.sh codesign to fail.
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.
Fixes follow-up reported in #220.
Summary
cursor-cliandqoder-clito the Cursor / Qoder mascots inMascotViewandSharedMascotView.cursor-agent/qoderclisessions to-cliIDs (请求支持 cursor-agent 和 qodercli #134);ESP32ProtocolandSessionSnapshot.sourceLabelalready handle them. Only the SwiftUI mascot router was missing these cases, so sessions fell back to the default Clawd (Claude Code) mascot.CompanionDisplayText(CURSOR/QODERinstead of uppercasing the raw ID).com.apple.security.cs.disable-library-validationkey inCodeIsland.entitlementsthat breaks./build.shcodesign when building from source.中文说明
MascotView/SharedMascotView中为cursor-cli、qoder-cli补上吉祥物路由,复用现有 Cursor / Qoder 角色(与 请求支持 cursor-agent 和 qodercli #134 设计一致)。cursor-cli/qoder-cli,但 UI 层未匹配这些 source,回退成 Clawd(Claude Code)吉祥物——与 cursor终端中打开的cc显示cursor图标 #220 评论一致。CompanionDisplayText同步处理-cli来源名。disable-library-validation键,修复本地./build.sh签名失败。Test Plan
./build.sh— release build + ad-hoc codesign succeedscursor-agentsession in terminal shows Cursor mascot in notch panel (not Clawd)qoderclisession shows Qoder mascot after directory trust + hook reinstallswift test