feat(grok): 完整接入 Grok Build#282
Merged
Merged
Conversation
产品变更: - 将 Grok Build 加入内置 Provider,可独立配置运行环境、启动命令和 YOLO 模式。 - 支持新建与恢复会话、历史浏览与删除、项目发现、工作树启动及图片附件发送。 - 接入主代理和子代理完成通知,并在顶部展示官方账号额度与缓存回退结果。 - 补齐 Provider 图标、设置入口、中英文文案以及跨进程类型定义。 技术实现: - 新增 Grok 会话根探测、summary/updates 解析、增量索引和快速刷新链路。 - 新增 Stop/SubagentStop Hook、Windows/POSIX 脚本选择及 JSONL 通知桥接。 - 新增 OAuth 额度读取、官方 Billing API 请求和本地日志缓存回退。 - 扩展终端发送策略,按 Grok 协议逐张粘贴图片并等待输入界面就绪。 审查修复: - 恢复 Codex Desktop 与 CodexFlow 完成通知隔离,避免外部会话误触发应用行为。 - 修复 Grok 历史删除对 POSIX 路径的误判,并安全回收完整会话目录。 - 修复 Linux/macOS 本地 Grok 通知错误安装 PowerShell Hook 的问题。 - 拒绝缺少 CodexFlow 标签页标记的 Grok Hook 事件,避免外部会话误触发徽标和自动提交。 - 在 Grok 运行环境切换后自动刷新对应账号额度。 验证: - npm run test(212 个测试文件,1329 项测试通过) - npm run i18n:check - npm run build:electron - npm run build:web Signed-off-by: Lulu <58587930+lulu-sk@users.noreply.github.com>
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.
产品变更:
技术实现:
审查修复:
验证: