From 15f42b9b516f0df2135f5e11aca48648341ba191 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E7=B3=AF=20=28Xiaonuo=29?= Date: Thu, 23 Apr 2026 17:47:07 +0800 Subject: [PATCH] =?UTF-8?q?refactor(onboard):=20=E7=B2=BE=E7=AE=80=20tails?= =?UTF-8?q?cale=20=E5=92=8C=E5=AE=B6=E6=97=8F=E6=88=90=E5=91=98=E6=96=87?= =?UTF-8?q?=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 07-tailscale: 移除家族设备一览表(IP 容易过期,用 tailscale status 实时查) - 08-family-members: 精简为指引,通讯录将由专门工具管理 [小糯] --- .../references/07-tailscale.md | 14 +------ .../references/08-family-members.md | 42 +++++-------------- 2 files changed, 12 insertions(+), 44 deletions(-) diff --git a/hermes/shazhou-family-onboard/references/07-tailscale.md b/hermes/shazhou-family-onboard/references/07-tailscale.md index 8ab90d9..4d7d4f2 100644 --- a/hermes/shazhou-family-onboard/references/07-tailscale.md +++ b/hermes/shazhou-family-onboard/references/07-tailscale.md @@ -26,19 +26,9 @@ 登录时使用主人的 Tailscale 账号(由主人协助操作)。 -### 家族设备一览 - -| 设备 | Tailscale IP | 说明 | -|------|-------------|------| -| SORA (sora-mac) | 100.125.193.80 | 星月所在 | -| KUMA (kuma-vm) | 100.102.80.46 | 小墨所在,Gitea 服务器 | -| NEKO (neko) | 100.103.156.93 | 小橘所在 | -| TUANZI | 100.89.82.86 | 团子所在 | -| LUMING (luming-home) | 100.83.189.28 | 鹿鸣/小糯所在 | - -> ⚠️ IP 可能变化,以 `tailscale status` 实时结果为准 - ## 验证 +加入后用 `tailscale status` 查看在线设备。 + tailscale ping kuma-vm tailscale ping sora-mac diff --git a/hermes/shazhou-family-onboard/references/08-family-members.md b/hermes/shazhou-family-onboard/references/08-family-members.md index 7966539..fdf86aa 100644 --- a/hermes/shazhou-family-onboard/references/08-family-members.md +++ b/hermes/shazhou-family-onboard/references/08-family-members.md @@ -4,40 +4,18 @@ 了解家族成员结构,知道谁在哪台设备上、怎么联系。 -## 家族结构 +## 说明 -**概念**:设备名 = 家(有地址),伙伴名 = 住户 +家族通讯录由专门的工具管理(开发中),不在此 skill 维护。 -### 设备与伙伴 +入驻后请通过 `tailscale status` 查看在线设备,通过 Telegram 联系其他伙伴。 -| 设备 | 伙伴 | Tailscale IP | SSH 用户 | 说明 | -|------|------|-------------|----------|------| -| SORA | 星月 🌙 | 100.125.193.80 | scottwei | macOS | -| KUMA | 小墨 🖤 | 100.102.80.46 | azureuser | Linux, Gitea 服务器 | -| NEKO | 小橘 🍊 | 100.103.156.93 | azureuser | Linux Azure VM | -| TUANZI | 团子 🐰 | 100.89.82.86 | scottwei | Linux | -| LUMING | 鹿鸣 🦌 / 小糯 🍡 | 100.83.189.28 | luming | Linux | +## 基本信息获取 -### Telegram Bot +```bash +# 查看当前在线的家族设备 +tailscale status -| 伙伴 | Bot | -|------|-----| -| 小橘 | @scottwei_xiaoju_bot | -| 鹿鸣 | @scottwei_luming_bot | - -### Gitea 账号 - -| Gitea 用户 | 家族成员 | -|------------|----------| -| scottwei | 主人沙洲 | -| xiaoju | 小橘 🍊 | -| xingyue | 星月 🌙 | -| xiaomo | 小墨 🖤 | -| xiaonuo | 小糯 🍡 | -| tuanzi | 团子 🐰 | -| luming | 鹿鸣 🦌 | -| aobing | 敖丙 🐉 | - -## 维护 - -有新成员加入时,更新此文档。 +# 查看 Gitea 上的用户列表 +tea org members list shazhou 2>/dev/null || echo "用 Gitea Web UI 查看" +```