aardio 文档

autos.mcp.settings 库模块帮助文档

autos.mcp.settings 成员列表 #

autos.mcp.settings.load(name,allowMissing=false) #

解密读取本机覆盖配置。allowMissing=true 时仅文件不存在返回空对象;损坏/解密失败仍报错。envFrom 在连接前解析。返回 config 或 null,err。

autos.mcp.settings.path(name) #

本机连接配置路径。

autos.mcp.settings.remove(name) #

删除指定本机配置。

autos.mcp.settings.save(name,config) #

用当前 Windows 用户 DPAPI 加密保存连接配置,不存入技能包。config 可包含 envFrom={TOKEN="环境变量名"}。

Markdown 格式