What problem does it solve?
The Platform API provides a centralized reference of API surfaces available to DenchClaw apps, enabling UI integration, per-app storage, HTTP proxy, real-time events, inter-app messaging, cron scheduling, webhooks, clipboard, and widget mode.
Core Features & Use Cases
- UI Integration: Show toasts, navigate, open entries, set titles, confirm dialogs, and prompts from within a DenchClaw app.
- Per-App KV Store: Persist per-app data across reloads using a workspace-scoped JSON store.
- HTTP Proxy: Make HTTP requests from apps without CORS restrictions via a server proxy.
- Real-time Events: Subscribe to workspace and app lifecycle events to react to changes.
- Inter-App Messaging: Communicate between open apps to coordinate workflows.
- Cron Scheduling: Schedule recurring tasks that send messages to agents.
- Webhooks: Expose and receive external HTTP webhooks into apps.
- Clipboard: Read and write clipboard content through the platform.
- Widget Mode: Render small dashboard widgets with manifest and styling guidelines.
- Patterns: Demonstrate multi-app dashboards and external API integrations.
Quick Start
Start by reviewing the UI, store, http, events, apps, cron, webhooks, clipboard, and widget sections to begin integrating Platform API features into your app.