fix(sandbox): 清理旧布局 CLI 身份文件 - #1596
Merged
deepcoldy merged 1 commit intoSep 29, 2026
Merged
Conversation
kunshanyep-beep
requested review from
47seek,
LucasIcarus,
deepcoldy,
xiaoxueSunn and
xiongz-c
as code owners
September 28, 2026 10:46
kunshanyep-beep
force-pushed
the
fix/legacy-cli-identity-cleanup
branch
from
September 28, 2026 11:07
ceac92f to
76b6e55
Compare
Owner
|
你好,你的 PR #1596 评审群已自动创建,维护者和多个 reviewer 会在群内进行评审讨论。请点击以下飞书群链接申请加入评审群(链接一年有效): 另外,当前自动拉群名单暂时没能关联上你的飞书账号(自动邀请不可见,所以没能直接拉你入群)。方便的话可以把 GitHub 账号与飞书信息补录到名单文档:https://bytedance.larkoffice.com/wiki/WJ1nwWbtxi89erkNGNbcgkt9nUe ,补录后后续评审会自动把你拉进群。 本条为自动评审流程发出的消息,最终结论以维护者审阅为准,谢谢! |
|
🚀 Released in v3.33.0 |
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.
问题
#1543 将 trigger-user 身份文件迁移到每个 session 的
.bin/.data/目录下,但升级前生成的
<session>.<tool>.env和<session>.turn不会再被覆盖或清除,其中的用户令牌可能在 session 关闭后长期残留。
修改
clearSessionIdentity同时删除当前 session/tool 对应的旧布局 env 文件验证
npx -y bun@1.4.2 run test -- test/cli-identity.test.ts test/turn-cli-identity.test.tsnpx -y bun@1.4.2 run buildgit diff --checkCloses #1556