For AI agents: the complete documentation index is available at /apps-plugin/docs/llms.txt, the full documentation bundle is available at /apps-plugin/docs/llms-full.txt, and this page is available as Markdown at /apps-plugin/docs/resources/base-library-versions.md.

基础库版本

客户端基础库版本与豆包客户端版本号是不同的版本标识。系统信息 API 中,SDKVersion 表示客户端基础库版本,version 表示豆包客户端版本号。

版本对应关系

基础库版本对应客户端版本说明
0.6.015.5.0
0.5.015.4.0
0.4.015.3.0
0.3.015.2.0
0.2.015.1.0
0.1.0-功能均已包含在 0.2.0 中。
0.0.4215.0.0

查询当前版本

使用 getAppBaseInfoSync 获取当前运行环境的版本信息,该接口支持 Android 和 iOS。

import { getAppBaseInfoSync } from '@doubao-dev/framework/api';

const { SDKVersion, version } = getAppBaseInfoSync();

console.log('基础库版本', SDKVersion);
console.log('客户端版本', version);