v0.1.2: Support Agent Name Customization & Packaging Fixes
What's New in v0.1.2
### 🌟 New Features
- **Configurable Agent Identity (`agent_name`)**:
- Support setting a custom Agent identity in `EngineConfig` (e.g. `"agent_name": "Rivon"`), dynamically interpolated into the system prompt (`You are {agent_name}…`).
- Added runtime identity switching APIs across all platforms:
- **C ABI**: `void pb_engine_set_agent_name(struct PbEngine *engine, const char *name);`
- **iOS (Swift)**: `await agent.setAgentName("Rivon")`
- **Android (Kotlin)**: `agent.setAgentName("Rivon")`
### 🛠️ Bug Fixes & Improvements
- **SDK Packaging & Binary Consistency**:
- Resolved an issue where iOS static libraries and header files in the prebuilt ZIP package could be out-of-sync with the latest API declarations.
- Rebuilt all iOS (`aarch64-apple-ios`, `aarch64-apple-ios-sim`, `x86_64-apple-ios`) and Android (`arm64-v8a`, `x86_64`, `armeabi-v7a`, `x86`) release binaries.
- **C Header Sanitation**:
- Refined `cbindgen` export configuration to exclude internal Android JNI bridge declarations from the public `phone_buddy.h` header, preventing type conflicts with Android NDK `<jni.h>`.
- **Dynamic User-Agent Versioning**:
- Client HTTP `User-Agent` now automatically synchronizes with the workspace package version.
---
### 📦 Prebuilt Distribution Package
Download the prebuilt SDK package attached below to drop straight into your Xcode / Android Studio projects without compiling Rust:
- **`phone-buddy-sdk-v0.1.2.zip`**