Skip to content

refactor(kotlin): align Compose state naming and add composable customization slots - #3056

Merged
tschellenbach merged 1 commit into
mainfrom
feat/kotlin-compose-api-polish
Dec 6, 2026
Merged

tschellenbach merged 1 commit into
mainfrom
feat/kotlin-compose-api-polish

Conversation

@tschellenbach

Copy link
Copy Markdown
Member

Summary

  • Rename ChatStatus -> ThinkingStatus, ConversationMessage -> AIMessage, and AgentSessionState.stop() -> AgentSessionState.interrupt() (matching AgentSession.interrupt() across all core SDKs and the UI & State docs).
  • Add composable customization slots while keeping all existing defaults intact:
    • SessionScreen.suggestionsContent
    • MessageInput.leadingActions and MessageInput.trailingActions
    • Suggestions.chipContent
  • Update Compose unit tests and examples/voice_agents/android_lix to match.

Testing

  • ./gradlew :compose:check (all 19 unit tests + Android lint pass)
  • ./gradlew :app:compileDebugKotlin on both examples/voice_agents/android_lix and examples/voice_agents/android_default

Made with Cursor

…Compose customization slots

Co-authored-by: Cursor <cursoragent@cursor.com>
@tschellenbach
tschellenbach merged commit 202e17a into main Dec 6, 2026
11 checks passed
@tschellenbach
tschellenbach deleted the feat/kotlin-compose-api-polish branch December 6, 2026 06:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant