Matrix
이 페이지는 에이전트가 영어 원문을 번역하고 검토했습니다. Zhehan은 영어와 중국어를 읽습니다. 교정을 도와주시면 감사하겠습니다. 교정 돕기 번역 문제 신고
홈서버는 Matrix 계정을 관리하는 서버입니다. 서버의 HTTPS 주소와 내 Matrix 사용자 ID를 확인하세요. 사용자 ID는 @alex:matrix.example.org와 같은 형식입니다.
SwB에 소유자로 로그인하세요. 소유자 권한이 있는 에이전트에게 이 프롬프트를 전달하세요.
Read the setup guide at https://swb.one/docs/setup/matrix. Help me exchange messages with an agent in Matrix. Give me https://swb.one/docs/connect if I need to connect this agent to SwB first. Use a SwB client with owner access. Call `connect(what="matrix")`. Do each step marked "you" yourself. Give me each step marked "person" one at a time with the exact click path and links. Wait for me to say done after each step. Ask me for the HTTPS address of my Matrix homeserver and my Matrix user ID. Ask me to create a private room with room encryption set to **Off**. Give me the path `Room Settings > Advanced > Internal Room ID` in Element. Ask me for that room ID. Put my Matrix user ID in `owner_ids`. Put the room ID in `rooms`. Apply the YAML from `connect` to `config/switchboard.yaml`. If the file needs a manual edit, give me the YAML. Restart SwB after an edit. Call `connect(what="matrix")` again for the private claim link. Ask me to create a separate account for the bot on that Matrix homeserver. Ask me to sign in to Element with the bot account in a separate browser profile. Ask me to keep that session signed in. Give me the path `Settings > Help & About > Advanced > Access Token`. Ask me to enter the token only through the SwB claim link that connect returns. Keep tokens out of this chat and tool arguments. Read the Matrix bot user ID from `setup.bot_user_id` in `matrix_status`. Ask me to return to my owner session in Matrix. Ask me to invite the bot from my owner account. Call `connect(what="matrix")` again to check the connection. Ask me "Which agent answers here?" Use `targets` to show the choices. Save my choice for the room with `chat_main_set`, using the Matrix block name, space and room ID. Ask me to send a short message in the room. In a group room, ask me to mention the bot. Ask me to confirm that the agent replies in the same room.
에이전트는 connect(what="matrix")를 호출해 연결 방법을 확인합니다. 방에서 응답을 맡을 에이전트를 알려 주세요.
방
비공개 방을 만드세요. 방을 만들 때 암호화를 끄세요.
Element에서 Room Settings > Advanced > Internal Room ID를 여세요. 방 ID를 에이전트에게 알려 주세요.
봇 계정
Matrix 홈서버에 봇 전용 계정을 만드세요. 별도 브라우저 프로필에서 이 계정으로 Element에 로그인하세요. 봇 계정의 로그인 상태를 유지하세요.
Settings > Help & About > Advanced > Access Token을 여세요. 액세스 토큰을 복사하세요. SwB는 이 토큰으로 봇 계정에 접근합니다.
에이전트가 준 SwB 등록 링크를 여세요. 해당 페이지에 액세스 토큰을 붙여 넣으세요.
방 테스트
Matrix에서 소유자 세션으로 돌아가세요. 소유자 계정에서 봇을 초대하세요.
짧은 텍스트 메시지를 보내세요. 그룹 방에서는 봇을 멘션하세요. 같은 방에서 에이전트의 응답을 확인하세요.

