Skip to content

同步上游 agy-cli 0.1.186 - #35

Merged
ifccod merged 4 commits into
mainfrom
sync/0.1.186
Dec 2, 2026
Merged

ifccod merged 4 commits into
mainfrom
sync/0.1.186

Conversation

@ifccod

@ifccod ifccod commented Dec 2, 2026

Copy link
Copy Markdown
Owner

合并上游 agy-cli 0.1.179–0.1.186(cdacb8f8),取代 #33(0.1.181)、#34(0.1.185)。

上游变化

  • 0.1.179 用量读取失败的退避跟着 agy 二进制走
  • 0.1.181 /tmp 里的 nc shim 目录或控制端口没了会重建(tools_not_loaded,#1766)
  • 0.1.182 offer 丢模型族时先重探再 400(#1804);agy 自带工具被拒后空结尾,带说明重问一次(#1805)
  • 0.1.183 安装器先关文件再探测(ETXTBSY)
  • 0.1.184 长对话历史的比对和哈希改成增量
  • 0.1.185 排队 steer 的 tool_result 顺序
  • 0.1.186 读额度带 printOnly 时只用 agy -p /usage

冲突(index.mjs 2 处)

  1. #onRequest 的 session/request_permission:用上游 noteDenied()。Denied ending 补丁退役:上游 0.1.182 做的是同一件事,而且先重问一次;本地补丁在 flushText 后直接抛错,会截掉上游的重问。三个挂点都删了,patch-e2e 去掉 2 个 denied 用例,swap-agy-cli.sh 的补丁标记数从 6 改成 5,FORK.md 和 skill 同步改了。
  2. acquireProcLocked 开头:先跑上游 0.1.181 的 checkBridge(),再用 Parallel lanes 的 pickLane。不管取到哪条通道的进程,下面都会比对 bridgeEpoch。

测试

fork/fork.sh test:video selfcheck ok,patch-e2e 16/16;上游 bun test 只挂 catalog.mjs 的 "config names the provider" 和 re2-pattern-unit,上游快照在同一环境下一样挂(环境问题)。

🤖 Generated with Claude Code

github-actions Bot and others added 4 commits December 1, 2026 01:58
Two conflicts in index.mjs:
- #onRequest, session/request_permission: upstream 0.1.182 (#1805) marks
  the turn with noteDenied() and, on an empty ending after it, asks the
  model again once (TOOL_OFF_PROMPT) before failing. The fork's Denied
  ending patch threw right after flushText, before that ask, so it would
  have cut upstream's fix short. Denied ending is retired at all three
  sites (#onRequest, Turn.emitText, #runTurn); its two patch-e2e cases go,
  swap-agy-cli.sh now expects 5 patch markers.
- acquireProcLocked: upstream 0.1.181's checkBridge() runs first, then
  Parallel lanes picks existing/key as before; bridgeEpoch is checked on
  whatever lane proc is taken.

fork/fork.sh test: video selfcheck ok, patch-e2e 16/16; upstream bun test
fails only catalog "config names the provider" and re2-pattern-unit,
which the upstream snapshot fails the same way here.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ifccod
ifccod merged commit 3bdf388 into main Dec 2, 2026
2 checks passed
@ifccod
ifccod deleted the sync/0.1.186 branch December 2, 2026 04:07
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