Skip to content

Releases

AnyLink protocol and cloud memory — animated walkthrough

Choose a tag to compare

An 87.4-second illustrated walkthrough of AnyLink protocol implementation and cloud shared memory.

  • 1920×1080 / 30 fps, H.264 MP4.
  • No narration. Chinese/English visual guides, animated focus cues, moving cards and original 132 BPM electronic instrumental music.
  • Covers task creation, claims, leases, event replay, receipts, memory ingestion, scoped retrieval and device boundary learning.
  • The 720p web version is provided for easier sharing.
  • Source and production notes: examples/explainer-video/ in the repository.

This is a media release, not a new software version. The video illustrates implementation behavior; it is not recorded UI or a benchmark.

AnyLink Mac 0.9.3 — 电脑控制连接修复

Choose a tag to compare

@windowssr windowssr released this 30 Nov 14:09

AnyLink Mac 0.9.3 · 电脑控制连接修复

这是 Mac 桌面端的独立发行,标签为 mac-v0.9.3。包含此前 d778342、3cd5c910e903 的连接修复,并把 Mac App 版本更新为 0.9.3。本次未修改 Android、云端服务、协议、SDK 或 MCP;服务端包版本仍为 0.9.2,协议仍为 3.2。

电脑控制

  • 就绪检查改用固定 socket 上的实时权限 RPC,移除固定 1 秒诊断握手导致的误判。原版 CLI 认证对端后,连接层继续核对签名回执、实际子进程 PID、固定客户端和主机身份。
  • App 与后台共用组件管理器,避免重复启动;启用控制后每 30 秒检查组件是否存在,请求遇到临时断连时可安全恢复。系统唤醒后重新检查连接。
  • 实际客户端持有跨进程内核锁直到退出,调用方退出不会提前释放锁,也不会留下需要手动删除的 PID 锁。停止或停止后重新启用会使原队列中的输入失效。
  • 组件重启后重新观察窗口;旧点击和输入不会自动重放。上次输入结果未知时暂停自动重启,用户检查目标软件后可点击本机“电脑控制 → 重新连接”。macOS 撤销权限时仍需用户重新授权。
  • 后台 LaunchAgent 使用 ProcessType=Interactive。更新现有 plist 定义需要卸载后重新注册,单独重启不会替换已注册的定义。

下载与安装

  • 公开包:AnyLink-macOS-arm64-0.9.3.zip,仅适用于 Apple Silicon(M 系列),最低 macOS 15;Intel 用户可在自己的 Mac 上从同标签源码构建。
  • 解压后将 AnyLink.app 放入 ~/Applications/ 或 /Applications/。更新前退出窗口应用;本机后台服务单独运行。
  • 公开 App 不内置个人项目目录、账户凭据或完整 Node/OpenClaw 运行时。首次安装先按 Mac 配置文档 完成本地运行时、服务器接入和后台服务配置,再打开 App 并选择项目文件夹。
  • 已配置的用户先将本地项目更新到 mac-v0.9.3 或包含它的后续提交,再替换 App;保留原来的 data/ 和 secrets/。后台任务空闲后,按 Mac 配置文档重新生成、卸载并注册 LaunchAgent,加载新的交互进程分类和连接管理代码。
  • 主 App 使用 ad-hoc 签名,未经 Apple 公证;内置 Peekaboo 保留官方 Developer ID 签名。发布附件提供 release-manifest.json 和 SHA256SUMS。

验证与素材边界

连接修复已通过 44 项控制回归、39 项 Mac 连接/记忆/Worker 回归和 13 项伴侣回归。真实后台 OpenClaw 连续 16 次工具状态检查就绪;两次组件退出后自动恢复,分别约 7.5 秒、7.3 秒,恢复后只有一个实例。数字为单次本机观测,不是延迟保证。

公开 App 不包含私有 Live2D 模型、贴图、Cubism Core、识别权重或用户凭据。授权人物资源继续由用户在本地单独配置。公开压缩包的签名、源码版本和素材扫描以本次 release-manifest.json 为准;上述真实桌面连接验收来自同源本地配置构建。

GitHub 与 Gitee 提供相同公开安装包:

安装包 SHA-256:f68c7e5c7299a550d1401f495b419110c4e5f3615e131dd0e737c4b247cd1632。

v0.10.0-preview.15 — 语音自动插话与整轮连续播报

Choose a tag to compare

@windowssr windowssr released this 28 Nov 08:04

AnyLink v0.10.0-preview.15 · 语音自动插话与整轮连续播报

本次相对 preview.12 修改 Android App 和配套服务器语音网关,电脑端、Web、SDK 和 MCP 没有修改。服务端包版本仍为 v0.9.2,协议仍为 v3.2;整轮连续播报需要更新配套服务器,不能只凭包版本号判断是否已升级。

通话中直接插话

  • 本地识别模式中,用一个 VOICE_COMMUNICATION 录音会话持续监听,结合设备提供的回声消除、降噪、Silero 语音检测和本地转写结果确认插话。疑似插话降低播报音量,未确认时尽快恢复;确认后取消旧回复与播放,保留约 416ms 内存预录,减少丢首字。
  • 在「保活 → 通话中语音自动打断」启用;首次另行下载约 629KB、固定 SHA-256 的语音检测模型。它与原来的约 199MiB 本地识别模型分别管理,权重不包含在 APK 或源码中。
  • 静音和挂断停止通话录音;普通语音输入仍需主动点按开启。系统识别、缺少模型或初始化失败时保留轮流听说与点人物插话。
  • 外放未启用设备 AEC 时保留点按打断。检测人声不能区分用户、电视或旁人的真实讲话;外放、耳机和复杂噪声环境仍需扩大验收,不保证所有设备都能可靠自动打断。

更连贯的 Momo 播报

  • 模型文本边生成边追加到新的 HTTPS 连续合成接口,百炼 server_commit 自动处理连续输入,客户端不再每句手动提交合成。一轮回复共用一个音频流与一个 AudioTrack,减少句间合成及播放器重置。
  • 默认仍为阿里云 qwen3-tts-flash-realtime 的 Momo,语速 1.12 倍。Key 仅由服务器读取,TTS 接口不上传本地识别录音。
  • 服务端按每次重新鉴权的设备凭据隔离会话,限制会话数、输入文本、音频大小及总时长;输出受阻时暂停上游读取,取消会关闭整轮文本和音频流。
  • 开口前无法使用连续流时,以收集到的同一轮文本回退原来的微软语音,再由 Android 系统 TTS 兜底;已发声的流中断时提示重试,不换声重播。Kokoro 不参与播报。
  • 手机人设补充统一讲述者的规则,减少故事里的多角色配音式文本。同轮兜底固定、通话通知延后、文件预览、SVG 图标、悬浮透明度及人物显示修复继续保留。
  • 口播文字在实际发声后显示,口型由真实 PCM 与播放头驱动。连续模式显示本轮口播字幕,服务没有提供逐字时间戳;模型本身仍可能因内容产生自然的语气变化。

升级与兼容

  • 新版服务器通过 /model/v1/audio/status 的 tts_continuous 声明连续合成能力,新增 POST /model/v1/speech/live 与 PATCH /model/v1/speech/live/:id。原 /model/v1/speech 的 JSON/WAV/MP3 和逐句 PCM 接口继续保留,旧客户端兼容。
  • 本次使用的服务器已部署连续合成网关;自建服务的配置见 Android README。服务器不需要配置云端 ASR 才能使用手机本地转写。
  • Android 12+,开发/debug 签名。升级安装保留已有模型及数据;新装仍需另行下载本地识别和自动打断模型。

验证与分发

  • 93 项 Android 回归、37 项服务端单元测试(单元入口另跳过 5 项集成场景)、62 项数据库集成测试,以及 SDK、类型和协议检查通过。测试覆盖整轮单播放器、连续文本追加、鉴权隔离、取消、超时、背压和开口前兜底。
  • 荣耀 BRP-AN80 / Android 15 私有版真机已启用 AEC 和降噪;用户确认无需点击即可插话,整轮连续播放后「明显连贯了,语速也合适」。一次 111 字符回复,识别结果到首声约 2.57 秒、首段排队到实际发声约 0.84 秒。数字为单次观测,不包含说话结束判定与转写,不是延迟保证。
  • Release 仅上传公开 APK、release-manifest.json 和 SHA256SUMS。源码同步到 GitHub 与 Gitee,同名 tag 标识本次代码。公开 APK 使用原创 SVG 形象,不含私有 Live2D 模型、贴图、Cubism Core、ASR/VAD 权重或密钥。
  • 私有 APK 仅保留本地,不作为发行资产。公开/私有开发包名与签名相同,覆盖安装会切换形象资源;自用 Live2D 设备继续使用本地 -private.apk。公开 APK 的素材隔离通过包检查,真机语音验收来自同源私有版。

Android v0.10.0-preview.8 — 离线语音与形象修复

Choose a tag to compare

@windowssr windowssr released this 27 Nov 19:59

AnyLink Android v0.10.0-preview.8

本次发布 Android 客户端预览版,协议保持 v3.2。云端服务、SDK、MCP 和 macOS 客户端仍为 v0.9.2。

本地语音与通话

  • 新增 sherpa-onnx 2.0.3 本地离线识别。首次在「保活 → 本地离线识别」下载约 199 MiB 的中英流式模型,逐文件校验 SHA-256,通过后原子安装;无需云端 ASR 密钥。
  • 自动模式优先使用已安装的本地模型,保留手动系统识别和可选云端 ASR。系统服务能否正常响应由手机提供;HONOR X60 的标准系统识别在独立对照程序中也未返回回调,本机可使用新增的离线引擎。
  • 提供只在设置中显示结果的本地/系统识别测试、识别会话状态、超时与服务选择。模型下载可取消,模型在更新同版本配置的安装包后继续保留。
  • 接通和挂断增加轻量音效。保持静音、挂断、听筒/外放控制和系统确认的音频路由,播放回复时暂停收音,播放完成后恢复监听。
  • 本地转写不上传录音;识别后的文字仍按原有聊天流程交给服务器处理。通话是自动轮流听说,点击人物可停止播报继续说话。

人物显示与悬浮窗

  • 修复 Compose 内 WebView 使用默认布局参数导致 HTML 高度为 0、引擎报告就绪但人物空白的问题。明确填满容器,验证页面尺寸及实际 GPU 像素后才报告就绪。
  • 增加有期限的脚本加载、状态轮询、兼容模式重试及重新加载入口。忽略非必要 favicon 请求失败,避免其被误判为整个模型加载失败;私有版失败时使用私有形象兜底。
  • 主界面显示透明半身,通话将人物放大至小腿以上、不露脚;保留实际音频驱动的口型与句子动作,操作图标使用 SVG 路径。
  • 「保活」新增 0–80% 悬浮窗透明度设置,实时生效并保存。
  • 延续 preview.1 的聊天文件预览、文件卡片持久化、公开/私有构建隔离。

验证与安装

  • 79 项 Android Agent/Compose/phone 测试、13 项脚本测试、公开源码审计和两种 APK 的签名/资源检查通过。
  • HONOR BRP-AN80 / Android 15 上验证了私有版 Live2D 显示、阅读视图、前后台切换、冷启动、本地转写与语音通话回复,用户确认听到了回复。同音字仍可能误识别,尚未进行通用准确率或延迟基准评估;长时间后台通话、蓝牙/有线耳机及外放全双工尚未完整验收。
  • 需要 Android 12+。APK 使用开发/debug 签名。首次使用本地识别需要下载模型;公开 APK 本身只包含运行库与固定模型下载元数据,不包含 ASR 模型权重。
  • Release 仅提供公开版 APK、发布清单和 SHA-256 校验文件。公开版使用原创 SVG 形象,不含私有 Live2D 模型、贴图、Cubism Core 或个人凭据。私有 APK 仅保留本地。
  • 公开版和私有版的开发包名、签名相同,覆盖安装会切换形象资源;自用 Live2D 设备应继续安装本地 -private.apk。
  • 安装前核对 SHA256SUMS 和 release-manifest.json。完整步骤见 Android README。

This Android-only preview adds local Chinese/English recognition with sherpa-onnx 2.0.3 and a separately downloaded, SHA-256-pinned model (about 199 MiB). Local transcription needs no cloud ASR key; transcripts and replies continue through the existing server chat flow. System recognition remains selectable.

It fixes the zero-height WebView document that could report Live2D ready while clipping away the character, adds bounded loading/retry diagnostics, call entry/hang-up cues, larger call framing and saved floating-window transparency. Existing SVG controls, playback-driven lips/gestures and in-chat file previews are retained.

Validation: 79 Android tests, 13 script tests, source audit and public/private APK inspection passed. Basic private-build rendering, local transcription and audible call replies were checked on HONOR BRP-AN80 / Android 15. Homophone accuracy, long background calls, headset routes and echo-safe full-duplex interruption are not comprehensively validated.

The release contains only the public debug-signed APK, manifest and checksums. Private Live2D APKs/assets stay local; ASR weights are downloaded separately. Cloud Hub, SDKs, MCP and macOS remain at v0.9.2, protocol v3.2.

Source: ae2f6efdac6d · mirrored to Gitee.

v0.10.0-preview.12 — Momo 流式播报与同步字幕

Choose a tag to compare

@windowssr windowssr released this 27 Nov 22:03

AnyLink v0.10.0-preview.12 · Momo 流式播报与同步字幕

本次预览包含 Android App 与配套服务器语音网关 的修改,电脑端、SDK 和 MCP 没有修改。协议编号仍为 v3.2,服务端包版本号仍为 v0.9.2。发布内容累计包含 preview.8 之后的 Momo 接入、播报一致性修复和首声优化。

播报和字幕

  • 接入阿里云百炼 qwen3-tts-flash-realtime 的茉兔 Momo,默认语速 1.12 倍。Key 仅由服务器读取,不写入手机或公开仓库。
  • 新版 App 使用 Accept: application/x-ndjson 从既有 /model/v1/speech 接收 start / audio / done 事件,以 AudioTrack 播放 24kHz PCM16 单声道音频,收到首段即可起播,无需等待整句音频完成与文件解码。
  • 普通聊天在模型生成短句时提前合成,直接使用原句,不再额外调用模型重写说话风格。陪伴视图按实际播放逐句展示;展开阅读随时可看完整文字。通话字幕只跟随当前播放句。
  • 预取最多一句后续语音;嘴部使用 PCM 的 20ms RMS 与实际播放头,文件音频继续使用解码后的包络。取消或挂断会关闭请求、清空预取和播放缓冲。

播报一致性

  • 保留原来的微软 XiaoyiNeural,再由 Android 系统 TextToSpeech 兜底;Kokoro 不参与播报。
  • 同一轮回复一旦降级,不会在下一句跳回主音色,下一轮才重新尝试。已播放的音频流中断时明确提示重试,不换声音从头重播。
  • 普通通知与跨设备回执在通话期间暂缓播报,挂断音效结束后继续;通知卡片仍按原流程显示。
  • 修正任务回执“已计算是否改写,但入队时总是强制改写”的逻辑;长结果由服务器按共享人设精炼,保留原文称呼和语气,移除客户端另一套改写提示词。
  • 「保活 → 大肥鱼的声音」提供试听、实际声音状态与「复制播报诊断」。记录最近 60 条来源、请求 ID、实际音色、阶段耗时及降级事件,不包含正文、录音、凭据或 API Key。

开口前等待

  • 在连接与开始通话时预检身份及协议,同一连接实例缓存成功结果 60 秒;记忆、模型等服务器接口继续逐次鉴权。
  • 聊天、控制与播报共享 HTTPS 连接池,各自保留独立的取消范围,停止播报不会取消聊天或控制请求。
  • 设置 50ms 起播阈值目标,保留后续缓冲;设备状态查询不再阻塞监听启动,通话结束说话的判定等待由 1100ms 调整至 850ms。
  • 诊断增加设备检查、记忆、模型首 token 与首句生成时间,便于区分网络、模型和合成等待。

升级与兼容

  • Momo 流式播报需要配套更新服务器并配置百炼 Key,完整步骤见 Android README。未配置 Key 时继续使用原微软主声音与系统兜底。
  • 原请求 JSON 结构和默认 JSON/WAV/MP3 响应保留;未请求流式传输的旧客户端继续使用原格式。客户端根据响应的 Content-Type 处理首段前的微软兜底。
  • 本地离线 ASR、系统识别、文件预览、SVG 图标、悬浮透明度与人物显示修复继续保留;这次改变的是播报链路,本地识别录音不会经 TTS 接口上传。
  • Android 12+,开发/debug 签名。新装本地识别仍需另行下载约 199 MiB 模型,升级安装保留已有模型与数据。

验证与分发

  • 87 项 Android Agent/Compose/phone 测试、13 项脚本测试、61 项数据库集成测试,以及 SDK、类型、协议检查通过;覆盖首段早于合成结束、播放时钟字幕、取消竞争、同轮降级、通知延后、预检缓存和连接复用隔离。
  • HONOR BRP-AN80 / Android 15 私有版真机检查了可听见的 Momo 回复、字幕同步、句间接续和开口速度。一次观测首句生成到播放约 0.77 秒,识别结果交给 Agent 到开口约 2.5 秒;网络和模型响应会波动,数字不包含说话结束判定与转写时间,不是通用延迟承诺。字幕按短句同步;长时间后台通话、蓝牙/有线耳机、外放全双工及逐字对齐尚未完整验收。
  • Release 只上传公开 APK、release-manifest.json 和 SHA256SUMS;源码由两个仓库和同名 tag 提供。公开 APK 使用原创 SVG 形象,不包含 Live2D 模型、贴图、Cubism Core、ASR 权重或个人密钥。私有 APK 仅保留本地。
  • 公开版与私有版的开发包名和签名相同,覆盖安装会切换形象资源;自用 Live2D 设备继续安装本地 -private.apk。

AnyLink Android v0.10.0-preview.1

Pre-release

Choose a tag to compare

@windowssr windowssr released this 27 Nov 16:46

AnyLink Android v0.10.0-preview.1

Android client preview using Protocol v3.2. The Cloud Hub, SDK, MCP adapter and macOS client remain at v0.9.2; this release contains the public Android APK.

Voice input and calls

  • Check recognition-engine availability before capture. Automatic mode uses a configured cloud ASR service or the phone's system recognition service; cloud ASR remains optional.
  • Isolate capture callbacks and HTTP requests per session, add recognition timeouts, and cancel retired speech requests so interrupted replies cannot play in a later turn.
  • Wait for local TTS initialization and synthesize its fallback to an audio file, using the same playback queue as cloud TTS.
  • Simplify the call screen to mute, hang up, and earpiece/speaker controls. Follow the system-confirmed communication device, restore audio mode after calls, and request playback focus without competing with system recognition during capture.
  • Support automatic turn-taking; tap the character to interrupt playback or retry recognition. Echo-safe full-duplex voice interruption has not been verified.

Character, icons and files

  • Drive mouth opening from decoded audio RMS and the actual playback clock, close the mouth during silence, and trigger restrained gestures when spoken sentences begin.
  • Stop speech gestures and mouth movement on interruption or hang-up. Display a transparent half-body stage and an original half-body fallback, with compact framing in reading mode.
  • Replace emoji controls with shared SVG paths and native VectorDrawables.
  • Preview images, video covers, PDF first pages and bounded text inside chat. Persist file cards and saved URIs independently of model history, restore them after restart, and use content URIs for system open/share actions.
  • Update the localhost preview with file and call layouts plus an actual speech sample for mouth/gesture checks.

Validation and installation

  • 53 Android Agent/Compose/phone tests and 6 configuration/download script tests passed.
  • Type checks, protocol consistency, public source audit and public APK inspection passed. The localhost preview was checked for companion/reading layouts, file preview, a 360-pixel-wide call screen, speech completion and hang-up cancellation.
  • Requires Android 12+. The APK is development/debug signed. Physical-device recognition, audio routing and background-call behavior still need hardware validation.
  • The public APK contains original placeholder artwork, without private Live2D models, textures, Cubism Core or personal credentials. Private APKs stay local and are not release assets.
  • Verify SHA256SUMS and release-manifest.json before installing.

本次是 Android 客户端预览版,协议保持 v3.2;云端服务、SDK、MCP 和 macOS 客户端仍为 v0.9.2。

本版改进系统识别和可选云端 ASR 的可用性检查、录音取消与 TTS 初始化;电话界面改为静音、挂断、听筒/外放,采用系统确认的通信音频路由。当前支持自动轮流听说、点人物打断,不承诺已完成外放环境下的全双工开口打断。

口型按实际音频与播放进度驱动,句子开始播报时联动动作,停止播放即收口;主界面与通话使用无圆框的半身舞台。操作图标统一使用 SVG 路径。聊天新增图片、视频封面、PDF 首页、文本预览,文件卡片和保存 URI 在重启后可恢复。

公开附件仅含无私有形象素材的 APK、发布清单和校验值。私有 Live2D APK 仅保留本地。手机没有系统识别服务时,需要另行配置云端 ASR;此次没有新增云端 ASR 配置。53 项 Android 测试、6 项脚本测试及发布审计已通过,录音、听筒/外放和后台连续通话仍待真机验收。

AnyLink Agent v0.9.2 (Protocol v3.2)

Choose a tag to compare

@windowssr windowssr released this 27 Nov 13:59

What's New in v0.9.2 (Protocol v3.2)

Bidirectional Mac → Android Control (agent.invoke)

  • Full On-Device Remote Execution: Wired Android's linkWorkerLoop to DeviceAgent.runRemoteTask(...) so tasks dispatched from macOS (or any peer agent) execute real phone_* Accessibility actions on Android with live task.progress updates instead of voice-only announcements.
  • Safety & Boundary Healing: Added an owner toggle in Android 保活, transient ACCESSIBILITY_DISABLED / PHONE_LOCKED errors with learn_boundary: false, and automatic clearing of stale PHONE_REMOTE_SCOPE_LIMITED boundaries in Cloud Memory.

Dual-Engine Voice Input, Cloud ASR Gateway & Real-Time Live2D Voice Call

  • Cloud Hub ASR Gateway: Added POST /model/v1/audio/transcriptions and GET /model/v1/audio/status (ANYLINK_ASR_BASE_URL / ANYLINK_ASR_API_KEY / ANYLINK_ASR_MODEL, default FunAudioLLM/SenseVoiceSmall).
  • Dual-Engine Android Voice Input (🎤): Always-visible mic button with system/online SpeechRecognizer and automatic 16 kHz PCM16 (AEC/NS/VAD) cloud ASR fallback so devices without Google offline speech packs work reliably.
  • Full-Screen Real-Time Voice Call (📞 通话): Hands-free continuous conversation mode featuring VAD turn detection, sentence-level streaming persona TTS, live audio-level lip-sync, barge-in interruption, mute, and speakerphone controls.

Android Markdown UI, Mandatory Persona Voice Rewrite & Live2D Fixes

  • Native Compose Markdown Renderer: Chat messages and task receipts now render headings, bold/italic/strikethrough, inline code, fenced code blocks with horizontal scroll, lists, blockquotes, tables, and clickable links.
  • Concise Persona Voice Rewrite: Enforced persona-styled spoken condensation (rewrite: "always", style: "persona") with an automatic /model/v1/chat/completions rewrite fallback when needed.
  • Android Live2D WebView Rendering Fixes: Normalized bundled model filenames to pure ASCII (prepare.mjs + inspect-apk.mjs), bypassed data:/blob: URL blocking, fixed binary .moc3/.png asset serving, added 'wasm-unsafe-eval' CSP, removed opaque fallback overlays throttling WebGL rAF, and added a live Avatar diagnostic & reload card in 保活.

macOS Control Host Stability

  • Preferred the standalone Developer ID-signed Peekaboo.app helper in both MacControl.swift and control/client.mjs, preventing ad-hoc AnyLink.app rebuilds from invalidating macOS Screen Recording permissions.

Public Assets Policy

All published binaries in this release are public, asset-free builds audited by scripts/audit-public.mjs and scripts/package-public-release.mjs. Third-party Live2D models, textures, Cubism Core, and personal credentials are never included. See THIRD_PARTY_NOTICES.md.

AnyLink Agent v0.9.1 (Protocol v3.2 — Streaming File Transfer, Policy Negotiation & Android Step Budget)

Choose a tag to compare

@windowssr windowssr released this 27 Nov 06:11

What's New in v0.9.1 (Protocol v3.2)

Bidirectional 200 MiB Streaming File Transfer & file_policy Negotiation

  • O(1)-RAM End-to-End Streaming (/edge/v1/artifacts): Upgraded default single-file limit from 10 MiB → 200 MiB (configurable up to 1 GiB via ANYLINK_ARTIFACT_MAX_BYTES) and owner quota to 2 GiB (up to 20 GiB via ANYLINK_ARTIFACT_QUOTA_BYTES), backed by disk storage (/data/artifacts, DB migration v8) with incremental SHA-256 verification and automatic TTL pruning.
  • Protocol file_policy & Live Limits Negotiation (DB migration v9):
    • GET /edge/v1/protocol advertises live server limits (artifact_max_bytes, artifact_quota_bytes, artifact_default_ttl_seconds).
    • Agents declare structured file_policy (accepts_files, max_file_bytes, confirm_over_bytes, available_bytes, allowed_mime_prefixes) exposed in GET /edge/v1/directory.
    • Pre-flight client + server validation rejects disabled targets (409 TARGET_FILE_RECEIVE_DISABLED), oversized files (413 TARGET_FILE_TOO_LARGE), and insufficient free storage (507 TARGET_INSUFFICIENT_STORAGE) before uploading bytes; transient per-file declines pass learn_boundary: false so Cloud Memory Brain boundaries stay clean.
  • Android Large-File Confirmation & In-App Policy Controls: Android lets users toggle file reception, set single-file caps (50 MB / 200 MB / 500 MB / 1 GB), and configure a large-file confirmation threshold (Off / 20 MB / 50 MB / 100 MB, default 50 MB) that posts an urgent heads-up notification & in-chat approval card before downloading.

Android Agent Execution, Notifications & Framing Upgrades

  • Lifted On-Device Step Limit: Raised Android DeviceAgent loop budget from 20 → 100 default (configurable in-app: 50 / 100 / 200 / Unlimited), added in-loop stale screen pruning, automatic sliding-window history compaction, stall detection hints, live step counters, and a one-tap Continue (继续执行) button.
  • Proactive Heads-Up Notifications & Centered Framing: Added IMPORTANCE_HIGH channel for proactive cross-device messages/files/approvals and fixed avatar, launcher icon, and floating bubble framing.

Mac Worker Reliability & Direct HTTPS

  • Fixed Node 24 exit code 13 (unsettled top-level await) caused by t.unref() in SDK retry backoff and added automatic LaunchAgent worker supervision.
  • Direct HTTPS connection support without requiring an SSH tunnel; connect.mjs cleanly updates OpenClaw baseUrl and journal bindings on rejoin.

Public Assets Policy

All published binaries in this release are public, asset-free builds audited by scripts/audit-public.mjs and scripts/package-public-release.mjs. Third-party Live2D models, textures, Cubism Core, and personal credentials are never included. See THIRD_PARTY_NOTICES.md.

AnyLink v0.9.0 (Protocol v3.2)

Choose a tag to compare

@windowssr windowssr released this 27 Nov 03:49

AnyLink v0.9.0 — Protocol v3.2 Network Reliability, Multi-Agent Primitives & Client Overhaul

Protocol v3.2 & Cloud Hub (server/ · DB Migration v7)

  • Network-Hardened WebSocket Bus: Application-level ping/pong zombie eviction, slow-consumer backpressure guard, monotonic edge_events sequence cursor (resume_after_seq + GET /edge/v1/events), and receipt delivery ACKs (task.receipt_ack / POST /edge/v1/tasks/:id/ack) with automatic replay of unacknowledged completions.
  • Split-Brain Prevention & Unified Reaper: Atomic claim issues per-attempt Fencing Tokens (attempt + lease_token, rejecting stale workers with 409 LEASE_FENCED); idempotent tasks auto-requeue up to max_retries; unified Reaper pushes queued TTL expiry (expired), waiting timeouts, and hard execution timeouts (max_execution_seconds).
  • Queue Governance & Loop Protection: priority (0–100), require_online (409 TARGET_OFFLINE), concurrency_key mutual exclusion, queue quotas (429 QUEUE_FULL), and trace_id / parent_task_id / call_depth recursion guard (409 CALL_DEPTH_EXCEEDED).
  • Interactive Multi-Agent Suspend & Binary Artifacts: awaiting_input / awaiting_approval (/suspend & /reply) and SHA-256 verified binary artifacts (/edge/v1/artifacts, 10 MiB / file, 200 MiB owner quota, auto-TTL cleanup).
  • Detached SSE Resume & Memory Brain Hardening: X-AnyLink-Detach-On-Disconnect: on + GET /model/v1/requests/:id recovery snapshot; Memory Brain startup recovery & per-owner serialization.
  • Persona-Consistent TTS: Lively "蓝色大肥鱼" spoken rewrite (style: "persona", rewrite: "auto"|"always"|"never"), stage-direction cleanup, and expressive prosody.

SDKs & MCP (@anylink-agent/sdk@0.9.0, anylink-agent@0.9.0, @anylink-agent/mcp@0.9.0)

  • TypeScript SDK, Python SDK, and MCP Server upgraded to Protocol v3.2: pong watchdog, Full Jitter backoff, cursor resume, receipt ACK, Fencing Token abort on 409 LEASE_FENCED, concurrent workers (maxConcurrency=2), askInput / requestApproval, MemoryOutbox, artifacts, and anylink_task_reply.

Showcase Clients (examples/)

  • Android (AnyLink-Android-0.9.0.apk): Full-bleed Deep-Sea Glass Companion UI redesign (Companion ↔ Reading toggle, frosted glass chat sheet, v3.2 interactive approval/choice cards), root-cause fix for Live2D WebGL rendering (preserveDrawingBuffer, ResizeObserver, gl.readPixels verification, unobstructed stage), detached SSE resume, SQLite offline outbox, and lively persona voice announcements.
  • macOS (AnyLink-macOS-arm64-0.9.0.zip): Full-access home directory support ('home' search scope, dynamic full-access tool descriptions), automatic stale OUTSIDE_ROOT boundary self-healing (healStaleBoundaries), concurrent v3.2 worker, and anylink_task_reply.

Public Asset Notice: All assets in this release are public-safe (MIT-licensed original code & placeholder artwork). Third-party Live2D models, textures, and Cubism Core are excluded; see THIRD_PARTY_NOTICES.md. Verify downloads with SHA256SUMS.

AnyLink v0.8.1-preview.1 — Independent device agents

Choose a tag to compare

@windowssr windowssr released this 22 Nov 13:49

AnyLink v0.8.1-preview.1

Each device now owns its Agent and connects to the AnyLink server. Android 0.3.0-preview.1 replaces the historical Mac-Gateway companion with a native local conversation and tool loop. The Mac can be offline while the phone chats and uses local tools; only Mac-directed tasks wait in the cloud queue.

  • Android server URL + device credential import, identity verification, Keystore encryption and SQLite receipts.
  • Phone tools: device information, private notes, shared memory, expressions and granted cross-device tasks. The old Gateway phone-node features are not claimed by this cutover.
  • SDK 0.1.1 / service 0.4.1: granted peer discovery and Mac files.search cloud worker, with local root policy and durable execution receipts.
  • Mac 0.8.1: existing local OpenClaw interaction; starts the independent cloud worker when configured.
  • Generic protocol/SDK remains harness-independent. Codex example starts a separate read-only CLI task, not an existing desktop chat.

Install Android 12+ and enter your own reachable AnyLink HTTPS endpoint and the phone's own credential JSON. No Mac Gateway pairing is needed. The production reference remains loopback-only until the operator provides a protected HTTPS entrance. USB/SSH forwarding is a development option, not the final phone dependency.

Public binaries exclude third-party character/model/Core resources and use original placeholder artwork. Android is debug signed; Apple Silicon Mac archive is ad-hoc signed and not notarized, and uses a separately configured checkout. Verify SHA256SUMS and release-manifest.json. Physical phone speech, GPU and lifecycle behavior remain unverified; no full-duplex/latency promise.

Local validation: 12 native Agent/UI tests, 28 server/HTTP integration tests, 18 SDK/Mac-search tests and 7 portable-setup tests passed. TypeScript, protocol generation and source credential audits passed. These do not replace physical-phone verification.


本次修正为:设备各自运行 Agent,全部连接 AnyLink 服务器。Android 0.3.0-preview.1 不再连接 Mac Gateway,手机自行管理会话、流式回复、工具和结果。Mac 关机不影响手机聊天与本机工具;只有发给 Mac 的任务等待。

手机连接页导入服务器签发的独立设备凭据,验证后通过 Keystore 加密保存;执行记录和便笺存在私有 SQLite。当前工具包括基础状态、私有便笺、统一记忆、表情、跨设备任务。SDK0.1.1/服务0.4.1新增已授权目标发现;Mac0.8.1以独立 Worker 领取 files.search,按本机只读策略返回真实回执。

公开包无第三方人物模型、纹理、派生头像或 Cubism Core。Android 使用开发签名,Mac 未公证且需要自行配置工程。正式远程使用要有自己的 HTTPS 入口,USB/SSH 为开发调试通道。系统语音与 GPU 尚待真机验收,不承诺 Grok 延迟或自动开口打断。通用手机 App 操控和 Codex 现有桌面聊天控制不在此版能力中。

本机已通过 12 项原生 Agent/界面测试、28 项服务端与 HTTP 集成测试、18 项 SDK/Mac 搜索测试、7 项可移植配置测试,以及类型、协议生成和源码凭据检查;这些结果不代替真机验收。

Live cloud proof also passed using the native Kotlin Agent implementation: real model/tool round, global and phone memory writes, fresh-session recall, and phone → cloud → Mac filename-search receipts. Test facts and the unique file were cleaned up; this is a desktop JVM proof, not physical-phone verification. SDK startup identity checks now recover after an unavailable tunnel without replaying execution.

原生 Kotlin Agent 的真实云端联调也已通过:模型工具循环、全局/手机事实保存、新会话召回、手机经云端下发 Mac 文件搜索并回传。已清理唯一测试事实和文件;这是电脑上的 JVM 实现联调,不是真机验收。SDK 已修复首次隧道未就绪后无法恢复的问题,恢复连接不会重放执行。