Saltar al contenido
Configurar tus appsiMessage

iMessage

Esta página es una traducción del inglés hecha y revisada por agentes. Zhehan lee inglés y chino. Tu ayuda con la revisión es bienvenida. Ayuda a revisar Informa de un error de traducción

En el Mac, inicia sesión en Mensajes con otro Apple ID. Envía un mensaje a esa cuenta desde tu iPhone. Si usas tu propio Apple ID en el Mac, envía el mensaje a tu propio número desde el iPhone.

Dale este prompt a un agente con acceso de propietario en SwB. El prompt le pide al agente que conecte el Mac y elija dónde recibirás los mensajes.

Read the setup guide at https://swb.one/docs/setup/imessage.

Help me exchange text messages with my agent in iMessage. If this agent needs to connect to SwB first, give me https://swb.one/docs/connect.

Ask which account I use for Messages on the Mac. If I use a separate Apple ID there, ask me to text that account from my iPhone. If I use my own Apple ID on the Mac, ask me to text my own number from my iPhone.

Use a SwB client with owner access. Call `connect(what="imessage")` and follow its instructions. Ask which of my phone numbers or Apple ID email addresses can send messages to SwB. Include the country code for each phone number. Configure one to eight numbers or addresses in `handles`. Use the optional `companion` name or device ID to select a Mac if needed. Ask me "Which agent answers here?" Use `chat_main_set` to save my choice for the owner space. Ask which SwB project to use if I want to set `project`.

Read the Companion guide at https://swb.one/docs/companion. On my Mac, use the official SwB release for the background service. Install SwB with `uv tool install swb.one`. Use my SwB address in the pairing command.

```sh
swb companion connect https://swb.example.com --cap imessage --no-run
swb companion service install
```

Reuse an existing pairing with the `imessage` feature. To change features, follow the Companion guide. For a new pairing, use the code procedure in the Companion guide. Ask me to enter the code at the hidden prompt. Keep the code in a private file or at the hidden prompt. Stop any foreground run before you install the service. Check the connection with `swb companion status`.

Ask me to open **System Settings** on my Mac. Ask me to add or enable `~/Applications/SwB Companion.app` under **Privacy & Security** and **Full Disk Access**. This lets SwB Companion read incoming messages. Ask me to run `swb companion service stop`. Ask me to run `swb companion service start`.

Ask me to send a text from my iPhone. On the first reply, ask me to allow SwB Companion to control Messages in the macOS Automation prompt. Ask me to check for the reply in the same chat. Show me how to send `@name text` to a different agent for one message. Show me `/use name` to choose the agent for the chat. Show me `/who` and `/agents` to view my current agent and the agents I can choose.

El prompt también está disponible en SwB como setup-imessage. En el Mac, añade --cap imessage --no-run a swb companion connect. Ejecuta swb companion service install. Consulta el código de emparejamiento y los comandos en la guía de Companion.

Abre Ajustes del Sistema en el Mac. En Privacidad y seguridad, abre Acceso total al disco. Añade o activa ~/Applications/SwB Companion.app para que pueda leer los mensajes entrantes. Ejecuta swb companion service stop. Ejecuta swb companion service start.

Envía un mensaje de texto desde el iPhone. Cuando llegue la primera respuesta, permite que SwB Companion controle Mensajes en el aviso de automatización de macOS. Comprueba la respuesta en el mismo chat. Mantén el Mac activo y la sesión abierta para recibir mensajes y enviar respuestas.

Bloque de iMessage