返回 Skill 列表
extension
分类: 开发与工程无需 API Key

hotline

将热线集成到React Native或Expo应用程序中。Hotline是一个本地WebSocket开发桥,它允许CLI工具和AI代理实时向正在运行的应用程序发送命令并查询数据。

person作者: jakexiaohubgithub

Hotline

Local WebSocket dev bridge for React Native apps. Lets CLI tools and AI agents send commands to and query data from running apps in real time.

Reference Files

  • references/integration.md — How to add hotline to a React Native / Expo project
  • references/swift-integration.md — How to add hotline to a Swift / SwiftUI app (no npm, pure URLSession)
  • references/handlers.md — Standard handlers and the handler format
  • references/agent-usage.md — CLI commands and automation patterns for AI agents
  • references/events.md — Event system for real-time app-to-agent communication
  • references/device-automation.md — Serialized simulator queue, action scripts, screenshots, and Discord video summaries

Quick Reference

  • Import: @dawsson/hotline/src/client
  • Server port: 8675
  • Handler format: { handler, fields, description } — no bare functions
  • Production safe: no-op when __DEV__ is false
  • ping is built-in, no need to register it
  • For duplicate simulators of the same app, register target.deviceId and target agents with --udid
  • Device automation: hotline device run --agent <id> --script <steps.json> --discord-webhook <url>