Skip to content

Releases

Gleam v0.0.41

Choose a tag to compare

@GoodTimeGGB GoodTimeGGB released this 27 Nov 09:22
620d1d3

Changes

Dependencies

CI / chores

  • ci(website): deploy to EdgeOne Makers alongside GitHub Pages @GoodTimeGGB (#118)

Changes

  • fix(agent): unattended approval, timeout classification, failure next steps @GoodTimeGGB (#119)

Highlights: text-only agent.delegate answers no longer require approval; unattended refusals are reported as such instead of "user rejected"; step timeouts are classified by deadline; Windows credential writes no longer lose updates under contention; failed tasks show concrete next steps; computer-use no longer reports false success.

Validation: verify.sh --quick 4 layers passed; CI green including CodeQL and desktop IPC contract; prettier --check . and eslint . clean; real-model reruns passed.

Gleam v0.0.40

Choose a tag to compare

@github-actions github-actions released this 26 Nov 01:56
728213e

Changes

Dependencies

CI / chores

  • fix(agent): rewrite cited replies, detect round-level loops, open external links @GoodTimeGGB (#115)

Gleam v0.0.39

Choose a tag to compare

@GoodTimeGGB GoodTimeGGB released this 24 Nov 08:05
3464a88

Gleam v0.0.39

安全加固

  • 敏感文件读取需确认:新增启发式清单(.env / id_rsa / *.pem / .ssh / .aws),阻止静默读取,即便在工作区内也需审批一次
  • 桌面首次启动工作区收窄为 ~/Gleam(不再把整个用户目录当信任根)
  • 外部链接白名单扩展 mailto

体验修复

  • onboarding 无模型选择器时回填首个 preset 模型
  • 工具退出码落盘(ToolEvent.ExitCode)
  • file.search 跳过 node_modules / .git / .svn / .hg

发布

  • 本机全流程:CLI 四平台产物 + Windows 安装包 + 装机实测(doctor --strict、eval smoke 通过)

v0.0.37

Choose a tag to compare

@GoodTimeGGB GoodTimeGGB released this 16 Nov 05:10
083328b

v0.0.37(2026-11-16)

思考模式规划真正可用、最终答案不再被吞、评测无人值守可跑通

  • 思考开规划可用(流式 + reasoning 分离):规划改用流式 ChatStream,去掉固定 90s 硬截止——思考模型持续输出 reasoning token 时不再被掐断在中途(此前 0 步 + replan 循环、8 次调用 16549 token 后被取消)。流式由首字节/块间看门狗 + 父任务上下文兜底,容忍长时间活跃生成;reasoning_content 是内部思维链,不再混入正文、技能产出与计划 JSON,纯思考(预算耗尽)正确判为空响应。
  • 最终答案不再被冗余步骤失败吞掉:reply 改为 best-effort——依赖里有冗余步骤失败时仍尽力产出最终答复(失败引用降级为占位说明),不再级联跳过把已收集到的答案一起吞掉;需要人工介入(needs-human)的阻塞仍正常交接,不被掩盖。
  • 评测无人值守审批 opt-in:eval --approve-high(仅 --depth full 沙箱)可自动放行高危步骤,让无人值守评测真正跑通端到端;交互式默认审批不削弱,高危仍需人工确认。
  • 代码智能工具按需暴露:lsp(定义/引用/悬停)先探测 gopls,未安装则不暴露这些工具,避免规划器选中一个必然失败的工具;单次调用仍给出可行动的安装提示。
  • 参数类型错误可行动:工具参数类型校验失败返回结构化反馈(字段名 / 期望类型 / 实际类型 / 示例),模型据此一次改对,不再对着裸错误打转(如 file.write 的 content 传了非字符串)。

验证:每个修复都带回归测试,go test ./... -count=1 -timeout 300s 全绿(exit 0);gofmt/vet/build 通过;#96–#100 CI(含 CodeQL)全绿后合并,master 复验全绿。B 类(模型侧)与 C 类(设计取舍)按评测报告保持不动。

v0.0.36

Choose a tag to compare

@github-actions github-actions released this 13 Nov 09:15
v0.0.36
ccf7925

Thinking mode is now switchable, work goals stop reporting fake success, delegated output stays complete, and credentials are encrypted at rest on macOS/Linux.

  • Qwen thinking toggle: new llm.enable_thinking config (unset = model default, false = off, true = on) lets thinking-mode models take the fast path instead of frequently timing out; applied at every config-driven client construction, with deep-copy on hot reload to avoid races.
  • No more fake success: when work mode falls back to chat after repeated planning failures, the status is now "partial" (score 40) with an explicit "no work steps were executed" note, matching the FirstPass delivery contract.
  • CLI approval timeout honors config: stdin approval now follows safety.approval_timeout_seconds (GLEAM_APPROVAL_TIMEOUT_SEC > config > 5-minute default) instead of a fixed 5 minutes.
  • Delegated output stays complete: subtask summaries follow the executor's own MaxOutputRunes budget (no second truncation to 600/800 chars) and preserve newlines, so every file-tracking layer and exact line number survives.
  • Credentials encrypted at rest on macOS/Linux: local credentials are no longer stored in plaintext off Windows.
  • Bundled runtime licenses: the embedded Node and uv runtimes now ship their LICENSE files (compliance fix).
  • Eval tooling (dev): eval --timeout overrides the 60s per-case cap (240s+ recommended for thinking mode); full-depth eval archives task answers (summary/task_id + gleam replay pointer); new config-precedence regression test locks config.yaml < settings.yaml < env < CLI.

Verified: every fix carries a regression test; go test ./... -count=1 -timeout 300s green; gofmt/vet/build pass; #79 (eval batch) and #77 (credential encryption) merged with green CI. Installed locally and confirmed across 7 diverse rounds with real config — doctor --strict, smoke eval 10/10, full-depth eval, and real file/delegation goals; an approved delegated subtask returned complete multi-line output with no truncation.

v0.0.35

Choose a tag to compare

@GoodTimeGGB GoodTimeGGB released this 12 Nov 13:54
13552c6

Global review release: link tasks now actually fetch, and login/keys stop misbehaving.

  • Links fetch for real: goals containing a URL now expose web.fetch and computer_use schemas to the planner — fixing "send a link, nothing fetched, Computer Use never fired".
  • MCP retry leaves no dead tools: retries unregister stale tools first.
  • OAuth fixes: rapid re-login no longer leaks the prior callback listener; the callback page reports success only after the token is saved.
  • Scoped key clearing: clearing with no host no longer wipes the whole vault; host:443/host unify to one key slot with legacy migration.
  • Question recovery: GET /api/questions restores pending prompts after reload/reconnect.
  • Frontend & backend hardening: bare-link auto-linking, i18n cache invalidation, approval/question timeout races, todos leak, RPC panic guard, session-delete TOCTOU; settings.yaml tightened to 0600.

Verified: every fix carries a regression test; go test ./... -count=1 green; 7 review PRs (#59–#65) merged with green CI. Installed locally and confirmed across 5 rounds that links trigger web.fetch and computer_use fires.

Gleam v0.0.34

Choose a tag to compare

@GoodTimeGGB GoodTimeGGB released this 09 Nov 04:31

Gleam v0.0.34

Release Date: November 09, 2026

What's New

Computer Use Automation (CUA)

  • Auto-detect URLs in tasks and route to the CUA tool
  • Windows UI Automation mode for precise mouse/keyboard control
  • IME handling for WeChat/QQ/DingTalk
  • Event-triggered routing with ~2KB memory overhead, zero background cost

Dialogue System

  • Unicode-safe truncation: complex emoji sequences (e.g. 👨‍👩‍👧‍👦) are preserved
  • In-memory search index: O(1) lookup, ~40x faster than linear scan
  • Export/Import with filtering and versioned JSON
  • 23 unit tests passing in the conversation harness

Desktop & Release Engineering

  • Windows installer with auto-update: Gleam-Setup.exe + latest.yml + .blockmap
  • Multi-platform CLI build automation (scripts/release-all.sh) with a version gate — the build fails if internal/buildinfo and desktop/package.json disagree
  • SHA256 checksums for all CLI artifacts

Downloads

Platform Architecture Assets
Windows (installer) x64 Gleam-Setup.exe (+ latest.yml, Gleam-Setup.exe.blockmap for auto-update)
Windows (CLI) AMD64 gleam-windows-amd64.exe
Linux AMD64 gleam-linux-amd64 · Gleam_v0.0.34_linux_amd64.tar.gz
macOS Intel gleam-darwin-amd64 · Gleam_v0.0.34_darwin_amd64.tar.gz
macOS Apple Silicon gleam-darwin-arm64 · Gleam_v0.0.34_darwin_arm64.tar.gz

Verify downloads with sha256sum -c CHECKSUMS-v0.0.34.txt.

Security Notes

  • Default blocked hosts: localhost, 127.0.0.1
  • All actions logged to the audit trail
  • Never executes without user confirmation (unless explicitly enabled)

Related PR

See #56 for full details and discussion.


Release guide: scripts/QUICK-RELEASE.md

Gleam v0.0.33

Choose a tag to compare

@GoodTimeGGB GoodTimeGGB released this 06 Nov 01:37
b562e29

Gleam v0.0.33 — 会话一次删掉,反爬页面不再空转

两个从真实使用里冒出来的问题:删除当前会话要点两次;一个微信推文链接让任务反复重规划二十多轮,最后只回一句步骤计数。

版本: v0.0.33
日期: 2026-11-06
基线: v0.0.32

📦 下载

文件 说明
Gleam-Setup.exe Windows 桌面安装包(NSIS,含 Electron 45.2.1、内置 Node/uv 运行时与 gleam v0.0.33 sidecar);latest.yml + blockmap 供自动更新
gleam-windows-amd64.exe Windows CLI(控制台版)
gleam-darwin-amd64 / gleam-darwin-arm64 macOS(Intel / Apple Silicon)
gleam-linux-amd64 Linux x86_64
SHA256SUMS.txt 全部资产校验和

🩹 本版修复

1. 删除会话一次就生效

后端第一次 DELETE /api/conversations/{id} 就已经删掉记录,且该操作幂等。问题在前端:删除当前打开的会话时只走 exitConvoToWorkbench(),它清 currentConvo 却不重绘 #convo-list;第二次点击时 currentConvo === null,才轮到 loadConvoList()。现在两个分支统一刷新列表。

2. 风控验证页不再让任务空转

web.fetch 认出微信/Cloudflare 验证页后,错误此前只是一句普通文本,被归类为 ErrUnknown:

  • 反思器看到「有未通过但值得再试」就要求 replan
  • 重规划每轮换工具/换参数,而打转熔断只认完全相同的 tool|args 指纹,所以永远不触发
  • depends_on 让后续步骤机械跳过,reply 没执行 → 用户拿到的是「执行了 3 个步骤:成功 0,失败 1,跳过 2」

现在:

  • 新增 ErrNeedsHuman,优先识别「风控 / 验证页 / 人机验证 / 请用户完成验证 / 请用户直接粘贴正文」
  • 新增 humanHandoff(),在反思之前熔断:第一轮被这类障碍挡住且尚未给用户回复时,直接结束并返回可执行的下一步——把正文粘贴到对话里、在浏览器完成验证后重发、或换一个能访问的来源;不再反思、不再重规划,也避免幻觉的 done 把受阻任务判成成功
  • cueKindText 补上该归因的中英文口径

边界:脚本抓微信正文这件事本身做不到,那是对方风控,换工具重试也不会成功。本版改的是「第一时间停下并说清要做什么」,而不是烧掉二十轮预算后给一句步骤计数。

3. 验证闸门不再被自己的测试卡住

TestJobs_StartListOutput 固定 sleep 300ms 等首行输出,全仓并发跑时 Windows 启动 cmd.exe 会超过这个时间,连续两次全量跑都挂在同一处。改成最多 5 秒轮询首字节,断言不变。

🔒 下载来源

与 v0.0.32 一致:桌面更新源地址是本机引擎(127.0.0.1),它只是传输层,latest.yml 里的 url 是相对名 Gleam-Setup.exe,安装包字节来自 GitHub release 资产(支持 Range 断点),引擎只转发最新发布里确实存在的资产名。

✅ 验证

  • 真实 web.fetch 验证页测试断言错误归类为 needs_human;Agent 集成测试把 MaxReplans=5,实测 1 次规划 / 0 次反思、Summary 为人工接管文案、依赖步骤仍为 skipped
  • Playwright 新增 delete 套件并做 A/B:旧逻辑报 Locator expected to have count '0', Actual value: 1,修复后 PASS;--suite all 全绿
  • go test ./... 42 个包全过(本机 Windows 符号链接策略导致的 TestFileTools_RejectsSymlinkEscape 显式 -skip,CI 跑 Linux 不受影响)
  • gofmt -l 无输出;go vet、go build、check-comments(0 违规)、check-atomic-write / app-startup / dom-anchors / egress-owner / version-owner 全过;prettier / ruff / eslint 无新增问题
  • gleam eval --layer smoke --strict 10/10;gleam doctor --strict 通过

⬆️ 升级

  • 桌面版:启动后由内置更新检查提示,或直接下载 Gleam-Setup.exe 覆盖安装;用户数据(~/.gleam)不受影响。
  • CLI:替换对应平台的二进制即可。

Gleam v0.0.32

Choose a tag to compare

@GoodTimeGGB GoodTimeGGB released this 05 Nov 09:00
3286d4a

Gleam v0.0.32 — 更新失败的提示说人话,下载依旧只走 GitHub

更新检查失败时,用户看到的是一整串 dial tcp … 与 HTTP 响应头,既看不懂也分不清是自己网络的问题还是 Gleam 坏了。本版把三端的错误文案收口到一句可读的话,并明确了下载来源。

版本: v0.0.32
日期: 2026-11-05
基线: v0.0.31

📦 下载

文件 说明
Gleam-Setup.exe Windows 桌面安装包(NSIS,含 Electron 45.2.1、内置 Node/uv 运行时与 gleam v0.0.32 sidecar);latest.yml + blockmap 供自动更新
gleam-windows-amd64.exe Windows CLI(控制台版)
gleam-darwin-amd64 / gleam-darwin-arm64 macOS(Intel / Apple Silicon)
gleam-linux-amd64 Linux x86_64
SHA256SUMS.txt 全部资产校验和

🩹 本版修复

1. 引擎:连不上更新源时说明是谁的问题

检查更新失败:Get "https://api.github.com/repos/...": dial tcp 20.205.243.168:443: connectex: ...

现在:

连不上 GitHub 更新源:dial tcp 20.205.243.168:443: connectex: ...。这是本机网络问题,不是 Gleam 故障;稍后重试,或到发布页手动下载

新增 netErrSummary:url.Error 只保留底层原因,超时统一表述成「请求 GitHub 超时(本机网络到 api.github.com 太慢或不通)」,不再把完整请求 URL 带进界面。CLI 自更新与桌面更新源两条路径共用同一句口径。

2. 桌面端:不再把整个请求塞进弹窗

electron-updater 的 HttpError.message 会把 URL 和响应头一起序列化成一段多行文本。现在 updateErrorText 只取「状态码 + 引擎自己的说明」:

502 Bad Gateway · 连不上 GitHub 更新源:…

HTML 错误页整段丢弃(只留状态码),非 HTTP 错误兜底取首行并截断到 200 字;下载失败回传给渲染层的文案同样走它,主进程日志仍保留完整错误用于排查。

3. 弹窗:同一句建议不再说两遍

后端文案已含「稍后重试,或到发布页手动下载」,而弹窗本身就有「去发布页」按钮。渲染时先去掉消息末尾句号,再判断消息里是否已有补救建议,避免出现「……手动下载。可以稍后再试,或去发布页手动下载。」这种复读。

🔒 下载来源

  • 桌面更新源地址是本机引擎(127.0.0.1),它只是传输层:electron-updater 的 generic feed 指向 /api/update/desktop,引擎用 api.github.com 取发布信息,再流式转发 release 资产(支持 Range 断点)。
  • 引擎只转发最新发布里确实存在的资产名,其它名字一律 404;资产地址必须命中 github.com / objects.githubusercontent.com / release-assets.githubusercontent.com 之一。
  • latest.yml 里的 url 是相对名 Gleam-Setup.exe,不含任何本机路径或内网地址。
  • 引擎自更新(CLI)直接走 GitHub 资产地址,不经过本机转发。

✅ 验证

  • go build ./...、go vet ./...、gofmt -l 干净
  • go test ./internal/webui -count=1 全过;新增 TestNetErrSummaryKeepsCauseAndDropsRequestDetail:url.Error 只留底层原因、超时可读、不泄漏完整请求 URL
  • 桌面 npm test 5 条全过(新增:HttpError 只显示状态与引擎说明且不含 Headers/token;HTML 错误体不进弹窗);npm run typecheck 无错误
  • python scripts/check-version-owner.py:应用内前端无版本字面量,官网徽标与 owner 一致
  • prettier --check:改动的前端文件格式一致

⬆️ 升级

  • 桌面版:启动后由内置更新检查提示,或直接下载 Gleam-Setup.exe 覆盖安装;用户数据(~/.gleam)不受影响。
  • CLI:替换对应平台的二进制即可。

⚠️ 已知限制

更新检查依赖 api.github.com 的可达性。本机网络若被劫持/重置,界面会明确告知这是本机网络问题并可去发布页手动下载——Gleam 不会绕过、也不会伪装成其它流量。

Gleam v0.0.31

Choose a tag to compare

@GoodTimeGGB GoodTimeGGB released this 05 Nov 06:46
3f5f39e

Gleam v0.0.31 — 桌面版命令修复、提问卡归位、反爬可接管

桌面版里 shell.exec / shell.persistent 全线报 exec: "cmd": executable file not found in $PATH;ask_user 的提问卡被顶到会话最上方看不见;遇到微信验证墙时模型没有正确的接管路径。本版逐个修掉。

版本: v0.0.31
日期: 2026-11-05
基线: v0.0.30

📦 下载

文件 说明
Gleam-Setup.exe Windows 桌面安装包(NSIS,含 Electron 45.2.1、内置 Node/uv 运行时与 gleam v0.0.31 sidecar);latest.yml + blockmap 供自动更新
gleam-windows-amd64.exe Windows CLI(控制台版)
gleam-darwin-amd64 / gleam-darwin-arm64 macOS(Intel / Apple Silicon)
gleam-linux-amd64 Linux x86_64
SHA256SUMS.txt 全部资产校验和

🩹 本版修复

1. 桌面版所有 shell 工具不可用

命令启动失败: exec: "cmd": executable file not found in $PATH

Electron 启动的 sidecar 继承的 PATH 可能被安装器或安全软件裁剪,exec.Command("cmd") 连解释器都找不到。

现在按 COMSPEC → %SystemRoot%\System32\cmd.exe → LookPath 的顺序解析绝对路径,并保证子进程 PATH 含 System32,curl、where、powershell 这类内置命令也能解析。shell.exec、shell.persistent、jobs.start 三个入口共用同一套构造。

2. ask_user 提问卡跑到消息流顶部

卡片此前 prepend 到会话最前,长会话里直接被顶出视口。现在追加到会话末尾,并滚动到刚好可见的位置(不会打断向上翻历史的操作)。

3. 模型下拉切掉选中标记

长模型名以 nowrap 撑宽,把右侧勾选挤出裁剪区。模型名与 provider 改为可省略,勾选固定保留。

4. computer_use 无法接管反爬页面

open_app 的 app_name 此前会拒绝含 &、? 的字符串(当成命令分隔符),等于禁止传 URL。现在:

  • open_app 接受 http(s) 网址,其它协议(如 file://)明确拒绝
  • 工具描述写明「这不是 HTTP 抓取工具;网页被验证墙挡住时,用 open_app 打开浏览器,请用户完成验证,再 screenshot 读屏」

5. web.fetch 命中验证页时给出下一步

错误信息现在明确:这是对方风控、重试同一 URL 不会成功、改用 computer_use 打开浏览器让用户接管、或请用户直接粘贴正文。

6. 审批理由不再像「会一直问」

无路径工具首次审批时,理由追加「批准后本会话不再询问该工具」。完全访问解除的是路径限制,不是敏感工具的一次性确认;剪贴板写入始终每次都要批。

✅ 验证

  • go build ./...、go vet ./...、gofmt -l 干净
  • scripts/check-comments.py 零违规;check-version-owner 口径一致
  • 新增 TestComputerUse_OpenAppAcceptsURL:带查询串的 http 链接可用、file:// 被拒
  • internal/tools/shell、internal/agent/tools/cua、internal/harness/safety、internal/tools/web 全过
  • 桌面安装包内置 sidecar 实测 gleam 0.0.31,doctor --strict 通过

⬆️ 升级

  • 桌面版:启动后由内置更新检查提示,或直接下载 Gleam-Setup.exe 覆盖安装;用户数据(~/.gleam)不受影响。
  • CLI:替换对应平台的二进制即可。

⚠️ 已知限制

微信文章正文仍不能通过 web.fetch 获取:需要登录态 cookie 或真实浏览器。正确路径是 computer_use 打开浏览器让用户接管,或由用户粘贴正文;Gleam 不会伪装成浏览器去绕过对方风控。