Core API
AutoTweaker/core 提供的 API,主要包含适配器、会话、配置的管理。
基础设施类的 API 通过 able 接口暴露,参见 io.github.autotweaker.api.Loggable、io.github.autotweaker.api.Traceable、io.github.autotweaker.api.JsonStorable、io.github.autotweaker.api.Settable、io.github.autotweaker.api.I18nable。
请确保在调用任何 API 前检查 SecretAPI.isUnlocked,否则 SecretStoreLockedException 可能在任何地方抛出。
Author
WhiteElephant-abc
See also
Throws
密钥库未解锁(参见 SecretAPI)
Types
Link copied to clipboard
interface AdapterAPI
查询和启停 AutoTweaker 加载的适配器,AutoTweaker 不支持动态加载或卸载适配器。
Link copied to clipboard
interface SessionAPI
管理会话、Agent和工作区,AutoTweaker AI 功能的主要 API。