~/.anakin/config.json,控制 AI 连接、工作区、外观和输入行为等。~/.anakin/config.json| 字段 | 类型 | 说明 |
|---|---|---|
llmConnections | 数组 | 所有已配置的 AI 连接列表 |
defaultLlmConnection | 字符串 | 新会话默认使用的连接 slug |
| 字段 | 类型 | 说明 |
|---|---|---|
workspaces | 数组 | 所有工作区信息(名称、ID、根路径等) |
activeWorkspaceId | 字符串 | 当前激活的工作区 ID |
activeSessionId | 字符串 | 当前激 活的会话 ID |
| 字段 | 类型 | 默认值 | 说明 |
|---|---|---|---|
notificationsEnabled | 布尔 | true | 任务完成时发送桌面通知 |
| 字段 | 类型 | 说明 |
|---|---|---|
colorTheme | 字符串 | 预设主题 ID(如 dracula、nord)。未设置时使用默认主题 |
language | 字符串 | 界面语言。支持 en(英文)和 zh(中文),默认 en |
| 字段 | 类型 | 默认值 | 说明 |
|---|---|---|---|
sendMessageKey | 字符串 | enter | 发送消息的快捷键。enter 或 cmd-enter |
autoCapitalisation | 布尔 | false | 输入时自动大写首字母 |
spellCheck | 布尔 | false | 在输入框中启用拼写检查 |
| 字段 | 类型 | 默认值 | 说明 |
|---|---|---|---|
keepAwakeWhileRunning | 布尔 | false | 会话运行期间阻止屏幕休眠 |
| 字段 | 类型 | 默认值 | 说明 |
|---|---|---|---|
richToolDescriptions | 布尔 | true | 为所有工具调用添加意图/动作元数据,帮助 AI 更好地理解上下文 |
| 字段 | 类型 | 说明 |
|---|---|---|
dismissedUpdateVersion | 字符串 | 已忽略的版本号,不再显示该版本的更新通知 |
| 字段 | 类型 | 说明 |
|---|---|---|
gitBashPath | 字符串 | Git Bash(bash.exe)的路径,用于运行 SDK 子进程 |
{
"llmConnections": [
{
"slug": "anthropic-main",
"provider": "anthropic",
"name": "Anthropic",
"model": "claude-opus-4-6"
}
],
"defaultLlmConnection": "anthropic-main",
"workspaces": [...],
"activeWorkspaceId": "my-workspace",
"language": "zh",
"colorTheme": "default",
"sendMessageKey": "enter",
"notificationsEnabled": true,
"keepAwakeWhileRunning": false,
"richToolDescriptions": true
}~/.anakin/config-defaults.json 同步为内置的默认配置。这个文件不需要手动编辑,它是系统自动维护的。config.json 中手动写入明文 API Key,凭证应通过界面保存,自动加密存储在 credentials.enc