Skip to content

fix: 修复自动代理、首条消息显示和会话完成崩溃 - #49

Merged
LetItBe12345 merged 2 commits into
mainfrom
agent/fix-proxy-session-prompt-crash
Jul 28, 2026
Merged

fix: 修复自动代理、首条消息显示和会话完成崩溃#49
LetItBe12345 merged 2 commits into
mainfrom
agent/fix-proxy-session-prompt-crash

Conversation

@LetItBe12345

Copy link
Copy Markdown
Owner

修改

  • 自动代理先读取 Login Shell 和交互 Shell;仍未发现时读取 v2rayN 配置中声明的本地入站,并验证其 HTTP 代理响应
  • 新 Session 发送首条消息时立即显示用户消息,失败后恢复输入;在 Agent 开始前完成 Session 元数据读取,避免读取正在写入的 JSONL
  • Assistant Turn 从运行态转为历史消息时重建 assistant-ui Provider,避免 useClientLookup 索引越界导致 Renderer 崩溃
  • 增加代理发现、HTTP 协议探测、首条消息乐观显示和 Turn 完成的回归测试

本地验证

  • pnpm check:25 个测试文件、162 个测试通过
  • pnpm build
  • pnpm package:linux
  • pnpm package:check
  • 源码版真实 Runtime smoke
  • 解包安装版真实 Runtime smoke

@LetItBe12345
LetItBe12345 merged commit 6b1ee3b into main Jul 28, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant