Repository navigation
feat(biz-client): add portable AI role management - #47
Merged
Merged
Conversation
Share cloud role behavior across device products without mixing it into IoT activation/transport or RTC Session ownership. Borrow an IoT client and its PAL, use only the public ATOP entry point, preserve cloud rejections, validate typed query results and expose explicit list release and pagination contracts. Template edits create and bind a custom role; custom edits update in place without rebinding. Add value-copy ESP-IDF worker integration and a standalone POSIX CLI, with bilingual guides/reference and host/ESP-IDF build registration. The CLI skips version reporting when operating an existing device. Verified: 21/21 SDK ctest targets; 11 role contract cases with UBSan; POSIX CLI build/help; ESP32-S3 ESP-IDF 5.5 build of module and example; both documentation locales and documentation prebuild checks. Live cloud role/voice acceptance remains an application integration check. Co-Authored-By: Codex <noreply@openai.com>
Record the upstream review link required by the release-note convention. Verified: git diff --check; documentation-only reference change. Co-Authored-By: Codex <noreply@openai.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Devices need a shared role-management API instead of duplicating product-specific ATOP calls. This adds
modules/biz-clientabove the publiciot_atop_call()API, separate from IoT transport and RTC Session ownership.Changes
Validation
Live cloud role switching and subsequent voice effects still require device integration acceptance. Binding success is not claimed as proof of the current AI Session effect.