### 新增
- **settings.json 中的 API 密钥**:将 API 密钥存储在 `~/.pi/agent/settings.json` 的 `apiKeys` 字段下(例如 `{ "apiKeys": { "anthropic": "sk-..." } }`)。配置项中的密钥优先级高于环境变量。 ([#295](https://github.com/badlogic/pi-mono/issues/295))
### 修复
- **允许在无 API 密钥的情况下启动**:交互式模式在未配置 API 密钥时不再报错。用户现在可以启动代理并使用 `/login` 进行身份验证。 ([#288](https://github.com/badlogic/pi-mono/issues/288))
- **`--system-prompt` 文件路径支持**:`--system-prompt` 参数现在能正确解析文件路径(与 `--append-system-prompt` 的行为一致)。 ([#287](https://github.com/badlogic/pi-mono/pull/287) by [@scutifer](https://github.com/scutifer))
### Added
- **API keys in settings.json**: Store API keys in `~/.pi/agent/settings.json` under the `apiKeys` field (e.g., `{ "apiKeys": { "anthropic": "sk-..." } }`). Settings keys take priority over environment variables. ([#295](https://github.com/badlogic/pi-mono/issues/295))
### Fixed
- **Allow startup without API keys**: Interactive mode no longer throws when no API keys are configured. Users can now start the agent and use `/login` to authenticate. ([#288](https://github.com/badlogic/pi-mono/issues/288))
- **`--system-prompt` file path support**: The `--system-prompt` argument now correctly resolves file paths (like `--append-system-prompt` already did). ([#287](https://github.com/badlogic/pi-mono/pull/287) by [@scutifer](https://github.com/scutifer))