Repository navigation
Conversation
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Baseline: Scenario and decoded snapshot size10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed. |
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.
Problem
SSH 环境不具备服务端自更新能力时,本地更新按钮只复制重启命令,用户仍需登录远端手动停止和升级服务。
Change
将该按钮接入桌面端已有的 SSH 服务管理链路:确认重启后,下载并校验指定版本,再停止当前实例、启动新版并等待目标版本重新连接。支持 SSH 托管实例,以及通过默认 T3 home 运行记录确认的手动启动实例;下载失败保留旧进程和启动器,停止失败时不启动第二个实例。
更新后的版本用于后续 SSH 重连。设置中的批量更新、侧栏更新全部和聊天提示共用相同更新路径;保留维护权限、管理策略、环境身份校验及跨发布轨道限制。已有原生自更新能力继续使用原有流程,普通网页和移动端维持现有行为。
Scope and approval
按仓库所有者明确提出的 SSH 远端自动更新需求实现,PR 提交到
uiliugang/t3code,范围限于现有 SSH 环境管理与更新入口,不向上游提交。Verification
vp run check:changed全部通过:格式、lint、knip、受影响包及依赖的类型检查、7 个测试文件的 101 项测试、React Compiler 检查。targetVersion: 0.1.8,模拟下载失败触发错误通知回调。未对用户实际 SSH 设备执行停服或升级。模型:gpt-6.1-sol;运行框架:Codex(T3 Code)。