-
Notifications
You must be signed in to change notification settings - Fork 2
toast CLAUDE_AI_SETUP
github-actions[bot] edited this page Jun 2, 2026
·
1 revision
Use /sync-toast (or /lib-sync cmp-toast) to automatically verify and wire cmp-toast
into your KMP project.
/sync-toast # Full sync
/sync-toast --check # Dry run — show status, no writes
/lib-sync cmp-toast # Same as /sync-toast/sync-toast
│
▼
┌─────────────────────────────────────────────────────────┐
│ GATE 1: Gradle Dependency │
│ Check: kmp-toast:2.1.0 in libs.versions.toml │
│ Check: used in commonMain.dependencies │
│ Fix: Auto-insert correct entries │
│ Result: ✅ PASS / ⚡ FIXED / ❌ BLOCKED │
└──────────────────────────┬──────────────────────────────┘
│ PASS
▼
┌─────────────────────────────────────────────────────────┐
│ GATE 3: ToastHost Placement │
│ Check: ToastHost( present in project **/*.kt │
│ Fix: Auto-insert in root App composable │
│ Result: ✅ PASS / ⚡ FIXED │
└──────────────────────────┬──────────────────────────────┘
│ PASS
▼
✅ SYNC COMPLETE
Gate 2 (Supabase) is skipped — cmp-toast has no backend.
╔══════════════════════════════════════════════════════════╗
║ /sync-toast — COMPLETE ║
╠══════════════════════════════════════════════════════════╣
║ GATE 1 Gradle ✅ kmp-toast:2.1.0 ║
║ GATE 2 Supabase N/A no backend ║
║ GATE 3 Wiring ⚡ Added ToastHost() in App.kt ║
╠══════════════════════════════════════════════════════════╣
║ Docs: docs/toast/SETUP.md ║
╚══════════════════════════════════════════════════════════╝
/sync-toast
# → kmp-toast:2.1.0 inserted in libs.versions.toml
# → implementation(libs.kmp.toast) added to shared/build.gradle.kts
# → ToastHost(hostState = toastState) inserted in root App.kt/sync-toast --check
# Shows what WOULD change without writing any files| Gate | Check | Auto-Fix |
|---|---|---|
| 1 |
kmp-toast = "2.1.0" in versions |
Insert / update |
| 1 |
implementation(libs.kmp.toast) in commonMain |
Append |
| 3 |
ToastHost( in **/*.kt |
Insert in root composable |
source/kmp-toolkit/.claude-runtime/commands/sync-toast.md
** Partials**
App Intents
Bubble
Clipboard
Cookbook
- Clipboard Copy Text
- Clipboard Read Text
- Consumer Anon Key Setup
- Crashlytics Attribution Per Library
- Ifonline Block
- Index
- Index
- Index
- Index
- Open Url Compose
- Pick And Share Image
- React To Offline
- Register Firebase Hooks
- Share Pdf Android
- Share Text
- Wifi Vs Cellular
Firebase Analytics
In App Update
Intent Launcher
Inter App Comms
Modules
- Cmp App Intents
- Cmp App Intents Compose
- Cmp Bubble
- Cmp Clipboard
- Cmp Deep Link
- Cmp Firebase Analytics
- Cmp In App Update
- Cmp Intent Launcher
- Cmp Intent Launcher Compose
- Cmp Library
- Cmp Network Monitor
- Cmp Network Monitor Compose
- Cmp Observe
- Cmp Observe Koin
- Cmp Open Url
- Cmp Pdf Generator
- Cmp Product Tickets
- Cmp Remote Config
- Cmp Share
- Cmp Share Compose
- Cmp Toast
Network Monitor
Open Url
Pdf Generator
Remote Config
Share
Toast
User Tickets
General