Skip to content

v3.3.0

Latest

Choose a tag to compare

@cocofhu cocofhu released this 11 Nov 23:03
· 80 commits to main since this release
39b3b39

此前 GHCR 上发布过的 3.3.0 / 3.4.0 镜像来自已回滚的失败版本,已撤下;本版本重新使用 3.3.0。拉取过旧 3.3.0 镜像的机器请执行 ./start.sh pull 更新本地镜像。

  • 删除不再被调用的代码:工作流节点的自动推送与建 MR、GitLab 仓库判断、沙箱能力与变更探测、SSH 注入打包、旧的公开分享消息清洗、未挂载的顶栏组件,以及多个开发期预览页面和配置;功能与接口不变。

  • E2B 模板准备直接校验并使用固定 digest 环境镜像中的 bootstrap 和 IMAGE_LEVEL,移除重复文件上传;构建文件上传接口不可用时不再因此失败,镜像内容与源码不一致仍会拒绝构建。

  • Solo 会话可以「停止环境」:先把工作区打包备份(配置了 solo_backup.s3 时存到 S3 兼容存储,否则存在服务端本地 data/solo-backups),再停止沙箱,停止后不占 Solo 配额,对话保留。点「恢复」时原沙箱还在就直接启动,E2B 沙箱连进程一起恢复;原沙箱已不存在则新建沙箱并从备份还原工作区。node_modules、.venv 等依赖与缓存目录不备份,单个备份默认上限 4 GiB(GRASP_SOLO_BACKUP_MAX_BYTES)。

  • 引导创建的 Solo Agent 自带一份 AGENTS.md,要求 Agent 需要用户选择时用文字列出选项并等待回复,不再调用 Solo 无法应答的 AskQuestion 工具(此前会显示为失败的工具调用)。已有的 Solo Agent 不受影响,可在 Agent 设置里自行加入同样的说明。

  • Solo 沙箱名额已满的弹窗显示整个工作区已用名额,列出仍占名额的失败会话,并说明其余由其他成员占用,可直接停止或关闭自己的会话(#1201)。

  • 私有网络(sandbox.private_endpoints)下的预览不再需要通配子域名和 GRASP_PREVIEW_ADVERTISE:预览统一走 /preview/... 路径代理,并继续校验预览端口归属当前沙箱(#1198)。

  • 移除 v3.3 / v3.4 的 Solo 迁移、存储认证与外部执行控制体系,回到 v3.2 的数据格式;保留其后的通用修复(见下)。

  • 修复首页 Solo「全部会话」点击后白屏:现在在首页弹窗列出全部 Solo 会话,直接访问 /solo 也显示会话列表(#1200)。

  • 修复沙箱 Web 终端里 agent、claude 等 Agent CLI 提示 command not found 的问题:SSH 会话现在拿到完整 PATH(#1195)。

  • 看板与状态栏把正在回复中的「等待人工」运行计入执行中(#1180);侧栏历史保留失败的运行,不会被更新的 Solo 会话挤掉(#1181)。

  • 修复回复仍在流式输出时思考尾部被收起(#1187)、手机上聊天输入框异常变高(#1178),以及 Agent 测试对话、PM 对话和评论输入框在输入法确认候选词时按回车直接发送的问题。

  • 引导页的团队模型选择框不再溢出,并显示继承模型的提供方图标(#1190、#1192);英文界面下公开分享页与审批、运行等接口报错显示英文说明(#1163)。

  • Kubernetes 沙箱停止前确认进程已退出;网关清理孤儿工作负载前再次核对记录,数据库出错或请求取消时停止清理。服务启动恢复期间先接管终止信号。

  • ./start.sh dev / sandbox 构建时 npm 镜像站失败会回退官方源(#1158),Docker CE 在清华源 403 时依次回退其他镜像(#1188)。

  • E2B 暂停期间保留原有本地端口并关闭转发连接;网关重启先预留全部持久化端口,再连接 provider,避免自身 HTTP 请求抢占端口而导致恢复偶发失败。

  • Solo 首条消息等待沙箱启动时,定时恢复不再把创建或拉取镜像中的沙箱误判为恢复失败;启动或模型准备阶段的失败会保留为聊天中的可见回复,刷新后仍能查看。

  • Sandbox startup reuses one authenticated SSH connection to install helper files and permissions. The optional MCP proxy releases inherited SSH pipes when daemonizing and does nothing without host mappings. Runtime startup rejects empty-password SSH probes even when an imported template enables them, avoiding PAM delays before public-key authentication while retaining password fallback.

  • Kubernetes gateway connections preserve ports published after sandbox creation, so opening a preview channel no longer removes its Service port.

  • Grasp can route Docker, Kubernetes and E2B sandbox connections through an authenticated gateway, keeping chat, SSH/files, terminal, IDE and browser access on the existing Grasp entry points. Named gateways retain existing sandbox bindings when the default changes; optional environment profiles resolve provider images in the gateway. Legacy direct mode remains the default.

  • Solo 和工作流聊天切换工具或模型组时沿用现有沙箱,不再补克隆仓库或重写 Git/SSH 配置;仓库缺失或网络不可用不再阻断切换,失败回滚也保留工作区。

  • 聊天支持拖拽添加多个附件,展示文件名称、类型和大小;图片、音频、视频使用对应类型图标并支持在线查看或播放,保留下载与失败提示。文件分段读取沿用现有登录、分享和嵌入权限校验。

  • 修复 CodeBuddy 用量快照延迟造成的漏计:以原生会话累计量核对每轮消耗,扣除已入账的历史和失败轮次,并从输入总量中扣除缓存;缺少模型归属的部分明确标记为未完整核验。

  • 修复 Token 计量的故障恢复:日志目录仍不可写时,也会在 SQL 恢复后将内存中的待处理用量写入账本。

  • 修复 Token 计量与汇总:状态栏、工作区和统计页统一纳入 Solo / Studio;校正缓存与恢复会话的重复计数,保留重试和中断时已报告的消耗,并通过持久化重放避免数据库短暂故障造成丢失或重复。未完整上报、待入库和无法核验的历史记录会明确提示;执行中计数包含启动中与运行中的 Solo 会话。

  • Solo sandboxes retain their workspace after host or Docker restarts. Startup reconciliation resumes the original stopped container, preserves data on status or recovery failures, retries recovery and queued messages, and reports genuinely missing sandboxes clearly. Existing Docker containers receive the updated bootstrap during recovery.

  • Mobile workflow conversations use the existing chat interface directly, including deep links and reloads, and keep the chat mounted when resizing. The old pending-card page and return-to-list navigation are removed. Approval sharing remains available through the conversation menu and preview toolbar.

  • Agents can send workspace files as versioned chat attachments, with original downloads and previews for common images, audio, video, PDF and text. Artifact bodies and message payloads now use persistent file references instead of SQL blobs/base64; existing data remains readable during a resumable, verified migration. Back up the database together with the file directory; imported files remain private to authenticated WebUI users.

  • 移动端表单控件在窄屏保持至少 16px,避免 iOS Safari 聚焦输入框时触发整页自动放大;新增 Chromium/WebKit 的全路由缩放与溢出回归验证。

  • Optional E2B sandbox deployment: a separate compose.e2b.yaml and native Go gateway driver connect Grasp to prepared E2B Cloud/self-hosted templates through private endpoints. Includes persistent connection recovery, lease renewal, deletion retries and isolated preview origins for root paths, WebSockets and page tools. Enable it explicitly; Docker and Kubernetes defaults are unchanged. See the E2B deployment guide for template resource constraints and pause/reinstall limitations.

  • E2B preview switching republishes and probes displaced application ports before changing the shared injector, keeping earlier previews reachable. Its deadline cleanup regression test now follows the provider's actual create count and no longer depends on a fixed wall-clock stage.

  • SSH commands retain stdout when an empty stderr stream closes concurrently, preventing successful sandbox scripts from occasionally returning empty results.

  • Agent model settings distinguish the default model configuration from the configurations allowed for switching. "All active configurations" explicitly includes configurations across coding tools and those added later, with matching Chinese and English labels, hints, and inherited summaries.

  • Run artifacts can be edited by hand while the run waits for a person with an idle session, or after it fails. Structured artifacts open in a form with a JSON view, other text artifacts in a code editor, and page.html can switch to a live preview. Each changed save becomes a new version under the original node. Concurrent edits are detected, and unsaved edits are guarded when switching views, leaving the page or sending a clarification message. Shared, embedded and Solo views stay read-only.

  • Feedback rounds no longer show the "Agent summary" block, and confirming a dialogue no longer runs the hidden summary turn. Older rounds that carry a summary display without it.

  • Codex device-code sign-in consistently reports upstream connection loss and truncated responses as retryable sign-in service errors.

  • Codex ChatGPT sessions continue after platform renewal or re-login. Credential edits preserve concurrent token refreshes, and graceful shutdown waits for renewals to be saved. Device-code sign-in follows the shared UI controls and themes, fits narrow screens, and supports keyboard navigation and a direct fallback to pasting a login file.

  • Grasp now renews Codex ChatGPT logins itself. Codex credentials can be added or re-logged with a ChatGPT device code, and pasted auth.json files must contain a refresh_token. Sandboxes receive a copy without the refresh_token, updated whenever Grasp renews; a turn rejected for its login is renewed and retried once. The credential list shows the account email, last renewal and renewal status. Configure with codex_login.refresh_lead, codex_login.check_interval and codex_login.auth_base_url.

  • Shared main-chat Stop targets the turn the visitor saw and rejects stale requests without changing the queue. Sharing hints explain that Solo and review Stop clear everyone's queued messages, while clarification keeps them.

  • Shared main-chat connections keep their retry backoff when a snapshot is immediately followed by an error, and reset it after five seconds of healthy streaming.

  • Shared main and independent preview chats can stop the active reply. Interrupted replies keep their partial content, drafts survive stopping, and independent chats can continue on the same connection.

  • Preview chat composers offer Pick an element in the "+" menu. Picking returns the selected element to chat, and Escape cancels while preserving the draft and attachments.

  • Preview frames apply the host theme before the loading screen is painted and retain it on reload without changing the account theme preference.

  • Shared main chats show the live pending-send queue and recorded reply statistics. Image previews open above the full Page Harness card, inherit the sharing language, and close with Escape or the backdrop.

  • Shared previews keep the opening language within that preview instead of changing the recipient's Grasp preference. Main-chat reconnections back off and stop when the conversation is unavailable; viewers share one live snapshot and receive only changed transcript tails.

  • Shared app chats stream thoughts, tool activity and replies with the regular chat timeline and elapsed time. Shared links and direct previews carry the opening language into the app toolbar and chat, including after a reload.

  • Preview frames load only preview views. Preview proxies filter workspace session cookies, and workspace endpoints check the origin of cookie-authenticated requests. A request that carries two valid session cookies is signed out instead of picking one.

  • Workspace pages refuse to load in an iframe. Set GRASP_FRAME_ANCESTORS to the origins that may embed them.

  • /preview/ pages run in a sandbox without the Grasp origin. Popups, dialogs, downloads, and cross-origin requests to the app's own paths keep working, app cookies and Authorization still reach the app, and Web Storage falls back to per-page memory.

  • Solo chat in a new-tab app preview streams replies and updates turn status without a page reload.

  • Model and provider icons follow the preview drawer's current light or dark theme. Monochrome marks stay legible and color marks retain their original colors.

  • Preview chat messages: Direct and shared app previews open with the same floating chat. The composer shares attachment, model, and @ controls. Guests can reference public GitHub issues and pull requests. Picked elements appear as annotation chips while the Agent receives their context.

  • Preview chat: Solo direct previews use the full Solo chat. Workflow previews and both anonymous sharing modes use the regular chat composer and model picker. Shared main chats apply model choices to the original conversation. Independent chats switch within the app sandbox's active model group. Drag the floating toolbar or move it with the arrow keys, and it keeps its position when the page reloads.

  • Sandbox preview: The back, forward, and reload icons render in the app preview and sandbox browser toolbars, and the Vue console stops repeating missing-icon warnings.

  • App preview sharing: Solo and workflow previews can copy a link that lets guests open the app and chat without signing in. Choose a separate guest chat or explicitly share the main conversation's text history and message queue. Solo's signed-in direct preview Chat now opens its existing conversation.

  • Direct shared previews: Shared app links open the full app with the same floating Chat and Pick controls as a direct preview. Solo's preview can resolve chat tickets in sandboxes where artifact MCP credentials are only configured inside the Agent.

  • Direct app previews can render the floating toolbar and open chat on pages with restrictive style, connection, and frame policies. App CSP protections, including sandboxing and frame-ancestor restrictions, stay in force.

  • Solo previews: new preview-enabled Solo sandboxes can register an app on a separate port and open it from Resources. Solo artifact pins appear in the Artifacts drawer, and clicking an HTML thumbnail opens its preview. The Agent's Solo tool list hides actions that require a workflow, and failed preview registration identifies missing port mappings.

  • Live review previews: the chat stays in sync with the selected candidate when a WebSocket update arrives ahead of the request acknowledgement.

  • The chat message navigation rail has a clear gap from the transcript in narrow panels and preview drawers.

  • Chat references and links: a sent message shows each @ reference as a chip where it was typed instead of only above the bubble, and a message starting with @#815 no longer turns into a large heading. Links in chat open in a new window. Links to localhost or 127.0.0.1 open the resources panel and load in a new tab of the sandbox browser, since those addresses only resolve inside the sandbox; without a sandbox they open in a new window.

  • Workflow clarification: A message sent while a clarification node is opening is processed once. Resuming an interrupted visit still retries its unanswered message.