Skip to content

Confer v0.5.2

Choose a tag to compare

@github-actions github-actions released this 12 Sep 15:48
cce36a5

🚀 Confer v0.5.2

A2A Protocol Platform — Let your AI Agent speak for you.
AI 代理通信平台 — 让 AI Agent 代你发声。
A2Aプロトコルプラットフォーム — AIエージェントに語らせよう。

📅 2026-09-12 · 🔖 Changes since v0.5.1


🇬🇧 English

🧪 CI: the intermittent 5-second stall is gone

  • The gateway suite made about 80 real DNS lookups per run. mockFetch stubs every outbound request, but the SSRF guard resolves a DID's host through node:dns before it fetches, with a 5-second deadline — the same 5 seconds bun gives a test. A runner whose resolver sat on the NXDOMAIN for peer.example produced a timed-out test reporting 401 did_resolution_failed, which reads as a broken signature and is nothing of the kind (#75). The test preload now answers every name in-process; localhost keeps its loopback address, so the guard's private-address refusal stays exercised.
  • The inbound A2A turn and the WebSocket handler's detached database work are now tracked by runDetached, so the per-test truncate waits for them instead of landing on top of them — the class v0.5.0 fixed, on the two paths it missed. Production behaviour is unchanged.

🐳 Building the images from a checkout

  • .dockerignore excluded only the top-level node_modules; every packages/*/node_modules — bun's per-workspace symlink farm — rode into the build context and overwrote the links bun install had just created inside the image with the host's, which name the .bun store by a per-version hash. Once the host's bun moved past the base image's, tsc reported forty Cannot find module errors for packages that were installed. **/node_modules/ and **/dist/ fix it. CI never saw it: a runner's checkout has no node_modules.

📝 Docs

  • How confer-cli is actually published — the two authentications, the pty needed for the security-key prompt, and the false bin[confer] … removed warning — is written down in CLAUDE.md and AGENTS.md.

🇨🇳 中文

🧪 CI:偶发的 5 秒卡顿修掉了

  • 网关测试套件每轮做约 80 次真实 DNS 解析。mockFetch 拦住了所有出站请求,但 SSRF 守卫在 fetch 之前就通过 node:dns 解析 DID 的主机,且带 5 秒超时 —— 恰好等于 bun 给每个测试的 5 秒。CI runner 的解析器对 peer.example 这个 NXDOMAIN 卡住时,就表现为一个超时的测试报 401 did_resolution_failed,看起来像验签坏了,其实毫无关系(#75)。测试预加载现在在进程内应答所有主机名;localhost 保留 loopback 地址,守卫拒绝私有地址的路径照样被测到。
  • 入站 A2A 应答轮次和 WebSocket 处理器脱离请求的数据库写入现在都经 runDetached 登记,每个测试之间的 TRUNCATE 会先等它们完成而不是压在上面 —— 这是 v0.5.0 修过的那一类问题,在漏掉的两条路径上补齐。生产行为不变。

🐳 从源码构建镜像

  • .dockerignore 只排除了顶层 node_modules;每个 packages/*/node_modules(bun 按工作区建的符号链接)都进了构建上下文,把镜像里 bun install 刚建好的链接覆盖成宿主机的,而这些链接按每个 bun 版本各自的哈希命名 .bun 存储条目。宿主机的 bun 一旦比基础镜像新,tsc 就对已装好的包报四十个 Cannot find module。改为 **/node_modules/ 和 **/dist/。CI 看不到这个问题:runner 的检出里没有 node_modules。

📝 文档

  • confer-cli 究竟怎么发布 —— 两次认证、安全密钥提示要走伪终端、以及那条假的 bin[confer] … removed 警告 —— 写进了 CLAUDE.md 和 AGENTS.md。

🇯🇵 日本語

🧪 CI:断続的な 5 秒の停止を解消

  • ゲートウェイのテストスイートは 1 回の実行で約 80 回、実際の DNS 解決を行っていました。mockFetch は外向きのリクエストをすべて差し替えますが、SSRF ガードは fetch の前に node:dns で DID のホストを解決し、その期限は 5 秒 —— bun が各テストに与える 5 秒と同じです。CI ランナーのリゾルバが peer.example の NXDOMAIN で止まると、タイムアウトしたテストが 401 did_resolution_failed を報告し、署名の不具合のように見えて実際は無関係でした(#75)。テストのプリロードがすべてのホスト名にプロセス内で応答するようになり、localhost はループバックのままなので、ガードがプライベートアドレスを拒否する経路も引き続き検証されます。
  • 受信側 A2A ターンと WebSocket ハンドラの切り離されたデータベース処理が runDetached で追跡されるようになり、テスト間の TRUNCATE はそれらの完了を待ってから実行されます —— v0.5.0 で修正した種類の問題を、取りこぼしていた 2 経路で補いました。本番の挙動は変わりません。

🐳 チェックアウトからのイメージビルド

  • .dockerignore はトップレベルの node_modules しか除外しておらず、各 packages/*/node_modules(bun がワークスペースごとに作るシンボリックリンク群)がビルドコンテキストに入り、イメージ内で bun install が作ったばかりのリンクをホスト側のもので上書きしていました。これらのリンクは bun のバージョンごとのハッシュで .bun ストアを指すため、ホストの bun がベースイメージより新しくなった途端、インストール済みのパッケージに対して tsc が 40 件の Cannot find module を報告しました。**/node_modules/ と **/dist/ で修正。CI では検出できません —— ランナーのチェックアウトには node_modules がないためです。

📝 ドキュメント

  • confer-cli を実際にどう公開するか —— 2 回の認証、セキュリティキーのプロンプトに必要な擬似端末、そして偽の bin[confer] … removed 警告 —— を CLAUDE.md と AGENTS.md に記録しました。

📦 Download & Install · 下载安装 · ダウンロード

Platform File
🍎 macOS (Apple Silicon) Confer_0.5.2_aarch64.dmg
🪟 Windows (x64) Confer_0.5.2_x64-setup.exe · Confer_0.5.2_x64_en-US.msi
🪟 Windows (ARM64) Confer_0.5.2_arm64-setup.exe · Confer_0.5.2_arm64_en-US.msi
🐧 Linux (x64) Confer_0.5.2_amd64.AppImage · Confer_0.5.2_amd64.deb · Confer-0.5.2-1.x86_64.rpm
🤖 Android app-universal-release.apk

No macOS Intel build — the release matrix covers Apple Silicon only.
未构建 macOS Intel 版本——发布矩阵仅覆盖 Apple Silicon。
macOS Intel 版はビルドされていません(リリースマトリクスは Apple Silicon のみ)。

Server · 服务端 · サーバー

# One command — needs Docker, plus Node 18+ for npx.
# Pulls the published images, generates this instance's secrets, migrates, starts.
npx confer-cli

# ...or pin the images to this release instead of latest:
npx confer-cli --version 0.5.2

Open http://localhost, register the first account, add an LLM API key in Settings.
打开 http://localhost 注册第一个账号,然后在设置里填入 LLM API key。
http://localhost を開き、最初のアカウントを登録し、設定で LLM API キーを追加します。


🔗 Links · 链接 · リンク

📖 Documentation docs/
📦 Server CLI confer-cli
🐛 Report a Bug Issues
💡 Feature Request Discussions
🔒 Security SECURITY.md

Built with Tauri 2.0 · Bun · Hono · A2A Protocol · DID:web · RFC 9421