Skip to content

AWLPilot v1.8.8

Choose a tag to compare

@memoryfraction memoryfraction released this 04 Nov 01:57
· 7 commits to main since this release

English

Fix release: every MCP tool now works in the published (obfuscated) build.

  • Fixed: MCP tools returned "The request failed" in the release build. get_help, diagnose and
    get_recent_log_errors serialized their results with anonymous types; Obfuscar strips the constructor
    parameter names of anonymous types, so System.Text.Json threw inside the tool. The affected payloads are now
    built with the named-field helper (McpJson.Fields), the same pattern the account tools already used.
  • Fixed: ctl install-cli wrote a broken ~/bin/quantctl. The generated script embedded the default
    program path as ${QUANT_APPIMAGE:-'<path>'}; the inner single quotes were literal characters, so the
    [ -x "$APP" ] check always failed and quantctl reported "the application was not found" even when the
    AppImage existed. The generated script now assigns a plain quoted path and honours QUANT_APPIMAGE.
    Existing broken installs are fixed by re-running Quant.Infra.Net.Pro.AppImage ctl install-cli.

中文

修复版:发布版(混淆后)中所有 MCP 工具现在都能正常工作。

  • 修复:MCP 工具在发布版中返回 "The request failed"。 get_help、diagnose、get_recent_log_errors
    此前用匿名类型序列化结果;Obfuscar 会抹掉匿名类型构造函数的参数名,导致 System.Text.Json 在工具内部抛异常。
    相关负载改用命名字段辅助方法(McpJson.Fields),与账户工具原有写法一致。
  • 修复:ctl install-cli 生成的 ~/bin/quantctl 无法运行。 生成的脚本把默认程序路径写成
    ${QUANT_APPIMAGE:-'<路径>'},内层单引号是字面字符,[ -x "$APP" ] 永远失败,即使 AppImage 存在
    quantctl 也报"application was not found"。新脚本改为普通引号赋值并支持 QUANT_APPIMAGE。
    已受影响的安装重跑一次 Quant.Infra.Net.Pro.AppImage ctl install-cli 即可修复。