Current default third-party providers in the Cloud Gateway template:
- weather: OpenWeatherMap
- translate: DeepL (
api-free.deepl.com) - news: NewsAPI (
newsapi.org) - stock: Alpha Vantage (
alphavantage.co)
Configuration source:
- Cloudflare Worker vars:
gateway/cloudflare-worker/wrangler.toml - Docker env template:
gateway/docker/.env.example
App sends one unified request format to the gateway:
{
"service": "weather",
"endpoint": "weather",
"method": "GET",
"params": {
"q": "london",
"units": "metric"
}
}Gateway behavior:
- Verify app key from
X-API-Key. - Resolve provider config by
service. - Apply auth strategy (
bearer,header, orquery). - Forward request to upstream API.
- Return upstream response to app.
To switch to another provider, update only service config values:
<SERVICE>_BASE_URL<SERVICE>_API_KEY<SERVICE>_AUTH_MODE<SERVICE>_API_KEY_HEADERor<SERVICE>_API_KEY_PARAM
No major scheduler or app-side protocol changes are required.
This high-risk capability is implemented as an optional Accessibility-based module.
- Build-time toggle:
ACCESSIBILITY_SIMULATION_ENABLED(default off). - Runtime risk confirmation: every
access ...command requires explicit user confirmation in UI. - Local-only operation: no screen content is sent to network by this module.
- Accessibility service:
app/src/main/java/com/yourname/alphaai/accessibility/AutoClickService.kt - Service config:
app/src/main/res/xml/accessibility_service_config.xml - Skill adapter:
app/src/main/java/com/yourname/alphaai/accessibility/AccessibilitySkill.kt - Settings entry activity:
app/src/main/java/com/yourname/alphaai/settings/AccessibilitySettingsActivity.kt
access statusaccess settingsaccess click text <text>access click coord <x> <y>
Set in local-only config:
ACCESSIBILITY_SIMULATION_ENABLED=trueThen in Android accessibility settings, enable the AutoClickService service for the app.