> 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.

# 基础库版本

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

## 版本对应关系

| 基础库版本    | 对应客户端版本  | 说明                 |
| -------- | -------- | ------------------ |
| `0.6.0`  | `15.5.0` |                    |
| `0.5.0`  | `15.4.0` |                    |
| `0.4.0`  | `15.3.0` |                    |
| `0.3.0`  | `15.2.0` |                    |
| `0.2.0`  | `15.1.0` |                    |
| `0.1.0`  | -        | 功能均已包含在 `0.2.0` 中。 |
| `0.0.42` | `15.0.0` |                    |

## 查询当前版本

使用 [getAppBaseInfoSync](/apps-plugin/docs/js-api/basic/system/getAppBaseInfoSync.md) 获取当前运行环境的版本信息，该接口支持 Android 和 iOS。

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

const { SDKVersion, version } = getAppBaseInfoSync();

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