mirror of
https://github.com/outbackdingo/optimclaw.git
synced 2026-08-25 14:53:34 +00:00
Add setup.required_secrets to tool capabilities.json files so users can configure OAuth client credentials (Google, Slack, Okta, Telegram) through the Extensions UI Setup modal instead of environment variables. - Add ToolSetupSchema/ToolSecretSetupSchema types to capabilities_schema.rs - Extend get_setup_schema(), save_setup_secrets(), list() to handle WasmTool - Extract load_tool_capabilities() helper to reduce duplication - Auto-activate tools after saving setup secrets - Show display_name labels (Channel/Tool/MCP) in extension cards - Update button labels: "Setup" when unconfigured, "Reconfigure" when set - Replace "Set" badge with checkmark in configure modal - Fix innerHTML XSS pattern in slash autocomplete (use textContent) - Add tests for ToolSetupSchema parsing and resolve_nested promotion - Update registry display names (e.g. "Telegram Channel" vs "Telegram Tool") Co-authored-by: Claude Sonnet 4.6 <[email protected]>
32 lines
790 B
JSON
32 lines
790 B
JSON
{
|
|
"name": "whatsapp",
|
|
"display_name": "WhatsApp Channel",
|
|
"kind": "channel",
|
|
"version": "0.1.0",
|
|
"description": "Talk to your agent through WhatsApp",
|
|
"keywords": ["messaging", "chat", "whatsapp", "meta"],
|
|
|
|
"source": {
|
|
"dir": "channels-src/whatsapp",
|
|
"capabilities": "whatsapp.capabilities.json",
|
|
"crate_name": "whatsapp-channel"
|
|
},
|
|
|
|
"artifacts": {
|
|
"wasm32-wasip2": {
|
|
"url": "https://github.com/nearai/ironclaw/releases/latest/download/whatsapp-wasm32-wasip2.tar.gz",
|
|
"sha256": null
|
|
}
|
|
},
|
|
|
|
"auth_summary": {
|
|
"method": "manual",
|
|
"provider": "Meta",
|
|
"secrets": ["whatsapp_access_token", "whatsapp_verify_token"],
|
|
"shared_auth": null,
|
|
"setup_url": "https://developers.facebook.com/apps/"
|
|
},
|
|
|
|
"tags": ["messaging"]
|
|
}
|