@whalent/agent 0.3.430 → 0.3.432

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -190,3 +190,31 @@ SDK 握手重连(0.3.415):服务端明确确认 token 失效或要求升
190
190
  ### Desktop shell 页面恢复(0.3.14)
191
191
 
192
192
  Windows/macOS 内置原生 watchdog,当前窗口持续约 30 秒无法显示页面时弹出系统对话框,可重新加载或清缓存后重试;F5 / Ctrl/⌘R 普通重载,Ctrl/⌘Shift+R 清缓存。清理保留 Cookie、localStorage、IndexedDB 与个人设置。Windows CDP 和 macOS WKWebsiteDataStore 通过构建时固定版本补丁生效;构建务必使用 `scripts/build-desktop-shell.mjs`,不要直接 `go build` 发布。页面检测脚本权威源在主仓 `shared/shell-recovery/`。
193
+
194
+ ### 桌面语音权限(desktop-shell 0.3.15)
195
+
196
+ 所有 Windows 壳窗口使用非空 Permissions 策略,让 WebView2 对麦克风执行系统默认询问。不要使用 Wails beta.12 的空权限表,它会隐式允许所有能力。macOS 独立 Mach-O 通过发布构建的 __TEXT,__info_plist 携带稳定 Bundle ID 和 NSMicrophoneUsageDescription;系统 WebKit/TCC 继续负责用户授权。构建脚本用 otool/plutil 校验实际二进制中的用途说明,不能用裸 go build 替代发布构建。
197
+
198
+ Windows 拒绝后检查系统麦克风访问及桌面应用访问;macOS 检查隐私与安全性 → 麦克风(系统可能归属到启动壳的终端/程序),授权后重启应用。语音只在用户发起通话时申请;不增加后台采集。
199
+
200
+ ### CDN route discovery (0.3.431+)
201
+
202
+ The daemon consults the independent status endpoint at
203
+ `https://status.memory.whalent.com/routes.json` before authentication, probes candidates locally
204
+ with the original hostname/TLS identity, and spreads machines across comparable healthy entries.
205
+ Healthy WebSockets stay connected. Two consecutive transport failures quarantine the IP for five
206
+ minutes and trigger verified route selection before reconnecting. Auth/business denials and rate
207
+ limits do not trigger edge switching. Existing workers receive versioned route updates; new HTTP
208
+ requests follow the new pool while in-flight requests drain without automatic replay. Provider/MCP
209
+ children without IPC consume the same daemon-owned snapshot file.
210
+
211
+ A status outage falls back to cached candidate hints and DNS; every replacement is locally verified.
212
+ The status station does not proxy business traffic. CDN ingress IPs are distinct from origin-pull
213
+ source IPs, and different ingress IPs may still share infrastructure.
214
+
215
+ From 0.3.432, discovery uses `status.memory.whalent.com/client-routes`. This separate
216
+ status hostname retains CDN protection; local candidate caches and DNS remain available
217
+ if the status path is unavailable. The Platform response
218
+ ranks freshly verified CDN entries using recent province/ISP observations; equally fast
219
+ regional entries receive double weight, while other healthy entries still share traffic.
220
+ Backend unavailability falls back to the independent static manifest at the status server.