본문으로 건너뛰기
앱 설정하기iMessage

iMessage

이 페이지는 에이전트가 영어 원문을 번역하고 검토했습니다. Zhehan은 영어와 중국어를 읽습니다. 교정을 도와주시면 감사하겠습니다. 교정 돕기 번역 문제 신고

Mac의 메시지 앱에 별도의 Apple ID로 로그인하세요. iPhone에서 그 계정으로 메시지를 보내세요. Mac에서 본인의 Apple ID를 사용한다면 iPhone에서 자기 전화번호로 메시지를 보내세요.

다음 프롬프트를 SwB 소유자 권한이 있는 에이전트에게 전달하세요. 프롬프트는 Mac을 연결하고 메시지를 받을 곳을 설정하도록 요청합니다.

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.

SwB에서는 setup-imessage로도 이 프롬프트를 사용할 수 있습니다. Mac에서 swb companion connect를 실행할 때 --cap imessage --no-run을 추가하세요. swb companion service install을 실행하세요. 페어링 코드와 서비스 명령은 Companion 가이드를 참조하세요.

Mac에서 시스템 설정을 여세요. 개인정보 보호 및 보안에서 전체 디스크 접근 권한을 여세요. ~/Applications/SwB Companion.app을 추가하거나 켜서 수신 메시지를 읽을 수 있게 하세요. swb companion service stop을 실행하세요. swb companion service start를 실행하세요.

iPhone에서 텍스트 메시지를 보내세요. 첫 답장 때 macOS 자동화 알림에서 SwB Companion이 메시지 앱을 제어하도록 허용하세요. 같은 채팅에서 답장을 확인하세요. 메시지를 주고받을 수 있도록 Mac을 깨어 있는 상태로 두고 로그인을 유지하세요.

iMessage 블록