feat: include email in account status - #5
Merged
Conversation
- require and preserve account email in AccountStatus responses - display email first for general status and selector switch results - keep Codex and Claude account and switch skills aligned - update the public OpenAI skill overlay for the revised source wording - refresh protocol, acceptance, installation, and plugin documentation - extend source and packaged-skill regression coverage - refresh the Codex plugin cachebuster after runtime changes
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.
摘要
在 lihi 的
AccountStatus契約中新增必填的非空email欄位,讓一般帳號資訊查詢與工作群組/短網址網域切換結果都能顯示目前帳號 email。一般帳號狀態現在會先顯示
帳號 Email:<email>,再依序顯示短網址用量、目前方案、續訂日期、目前工作群組與目前短網址網域。只查詢 email、群組或網域時仍只顯示使用者要求的欄位,不附加訂閱方案說明。AccountStatus 契約
account_status、account_switch_group與account_switch_domain的成功結果都必須包含非空字串email;group_name、domain、用量、方案與日期的驗證、null rendering 與顯示順序維持不變;Skill 與 host parity
同步更新 Codex 與 Claude Code 的三個相關 skills:
lihi-accountemail為非空字串;lihi-switch-groupemail;lihi-switch-domainemail;兩個 host 的行為與使用者可見文案保持一致;OAuth、錯誤復原、group switching、domain switching 與 shortening 流程沒有改變。
OpenAI Platform 打包
更新
scripts/package_openai_platform_bundle.py的 host-neutral rewrite,對應 production skill 新增的 email wording:email欄位驗證與顯示規則;文件與 metadata
0.3.1。測試覆蓋
測試與驗證
python3 -m unittest discover -s tests -v(71 tests passed)git diff --checkReviewer 重點
email;