Files
MeshPort/outputs/ui/meshport-ui-v3-prompts.md
T
shenleiandClaude Haiku 5.5 2f185f914d Snapshot uncommitted work: proxy UI, sing-box integration, socks bridge
- Lab app: proxy panel, node editor, configuration and detail pages,
  responsive layout, and related tests
- Add meshport-socks crate and sing-box bridge scripts/docs
- Add singbox_flutter binding and meshport_client_core package
- FFI, VPN helper (unified mac path), and Android/macOS runner updates
- Docs for architecture, client runtime, UI design, and validation
- UI design output artifacts under outputs/ui

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
2026-10-12 10:06:15 +09:00

25 lines
15 KiB
Markdown

# MeshPort 完整移动端原型生成提示词
工具:内置 imagegen。所有页面均为设计预览,数据为虚构示例。
## Board A
High-fidelity mobile UI prototype board for MeshPort. Four complete Android phone screens side by side, wide landscape, straight-on, generous gutters, all full screens including bottom actions visible. Chinese text sharp readable. Same visual system as preceding MeshPort prototypes: warm ivory background #F8F7F3, white rounded cards, fine grey borders, pale cyan selected controls, dark charcoal typography, teal #137A88 accents, restrained shadows, compact practical layouts. Rounded blue-teal square logo with white M connected nodes. Each screen status bar 18:17. No dark theme, no purple, no technical implementation jargon, no credentials. All data fictional. Each screen has back chevron, short Chinese heading and relevant save or add action. Subpages do NOT need bottom navigation; use full content area and fixed bottom action where appropriate. Labels above each phone name its page. All toggles and form controls usable-looking, no overflowing text. Board A: 代理配置与订阅. Screen 1 导入代理配置: top segmented 订阅链接 / 配置文件 / 扫码; 订阅链接 selected. Form cards 配置名称 自用代理; 订阅地址 https://example.com/sub; helper 支持订阅链接与 sing-box JSON. Secondary action 从剪贴板粘贴. Checkbox 自动更新 enabled; interval 每 24 小时. Small preview 检测到 8 个节点 with three example rows 日本·东京 VLESS, 香港 Trojan, 新加坡 Shadowsocks. Bottom button 导入配置. Screen 2 订阅管理: toolbar plus. Card 自用代理 8 个节点; 更新于 今天 18:05; next update 明天 18:05; actions 更新 / 编辑, enable toggle. Another card 备用代理 3 个节点 已停用 toggleoff. Small informational banner 更新失败时保留现有配置. Footer 最近更新记录 with 成功 更新了 8 个节点 and timestamp. Screen 3 代理节点详情: header 日本·东京; top latency85ms card, 协议 VLESS, 可用 pill; select button 使用此节点. Form readonly-labelled rows 服务器 jp.example.com; 端口443; 传输 TCP; TLS 已启用; server name jp.example.com; 身份凭据 •••••••• with eye icon. Small recent latency sparkline with min78ms max96ms. Footer 测试连接 and 编辑节点. Screen4 分流规则: header with add. Sticky information card 组网地址优先通过 MeshPort; do not let movable internet rules override mesh. Tabs 域名 / IP / 规则集, 规则集 selected. List 国内网站 → 直连 enabled; 广告过滤 → 拦截 enabled; 其他网站 → 当前代理 enabled. section 默认出口 当前代理 chevron. Bottom 导入规则集. Show drag handles only on configurable internet rules.
## Board B
High-fidelity mobile UI prototype board for MeshPort. Four complete Android phone screens side by side, wide landscape, straight-on, generous gutters, all full screens including bottom actions visible. Chinese text sharp readable. Same visual system as preceding MeshPort prototypes: warm ivory background #F8F7F3, white rounded cards, fine grey borders, pale cyan selected controls, dark charcoal typography, teal #137A88 accents, restrained shadows, compact practical layouts. Rounded blue-teal square logo with white M connected nodes. Each screen status bar 18:17. No dark theme, no purple, no technical implementation jargon, no credentials. All data fictional. Each screen has back chevron, short Chinese heading and relevant save or add action. Subpages do NOT need bottom navigation; use full content area and fixed bottom action where appropriate. Labels above each phone name its page. All toggles and form controls usable-looking, no overflowing text. Board B: 组网配置. FOUR screen titles 基础配置 / 连接与打洞 / 高级配置 / 线路策略. All are form subpages with back arrow and 保存 top right, no bottom navigation. Screen1 基础配置: cyan intro 网络配置 GameNet. label fields 网络名称 GameNet; 网络密钥 •••••••• eye; 节点名称 MeshPort-Android; 虚拟 IPv4 192.168.20.6 / 24 (prefix separate small control); 自动分配地址 disabled switch grey helper 当前系统模式使用静态地址. Section 组网方式 selected 手动 with 公共节点 and 独立 options; 初始节点 list tcp://relay-us.example.com:52015 and tcp://relay-jp.example.com:52015 with remove icons; outline 添加初始节点. Bottom 导入 TOML配置 and 保存配置. Screen2 连接与打洞: group 连接 with 首选协议 UDP chevron, 监听地址 row udp://0.0.0.0:11010 and 添加监听地址. group NAT 穿透 four ON toggles 启用 P2P / UDP 打洞 / TCP 打洞 / 对称 NAT 打洞; UPnP toggleOFF. group STUN 默认服务器 selected, 自定义服务器 chevron, IPv6 STUN chevron. Cyan footer label NAT 状态 UDP PortRestricted / TCP Unknown; 测试 NAT button. Screen3 高级配置: group 安全与性能 toggle 私有网络模式 ON, 加密传输 ON, 多线程 ON, 仅使用物理网卡 ON; group 协议 toggle IPv6 ON, KCP 代理 OFF, QUIC 代理 OFF; note 代理协议能力以所选内核构建为准. group 网络服务 rows 发布本地子网 chevron; 出口节点 OFF; 系统转发 OFF; 网络内 DNS OFF. Bottom subtle expert action 查看完整 TOML. Screen4 线路策略: cyan selected recommendation card 自适应 with text 质量接近优先直连,明显改善才用中继. Radio alternatives 直连优先 / 延迟优先 / 指定中继. Group 调整参数 rows 中继改善门槛 30 ms; 切换确认次数 3 次; 最短保持时间30秒; UDP优先 switchON. Group 候选中继 rows 自动发现 selected, 手动选择 chevron. Information strip 参数为示例,实际阈值以测试确定. Small summary 当前路径 直连 → DIG-US 167ms. Attractive readable full phones, clean exact Chinese text.
## Board C
High-fidelity mobile UI prototype board for MeshPort. Four complete Android phone screens side by side, wide landscape, straight-on, generous gutters, all full screens including bottom actions visible. Chinese text sharp readable. Same visual system as preceding MeshPort prototypes: warm ivory background #F8F7F3, white rounded cards, fine grey borders, pale cyan selected controls, dark charcoal typography, teal #137A88 accents, restrained shadows, compact practical layouts. Rounded blue-teal square logo with white M connected nodes. Each screen status bar 18:17. No dark theme, no purple, no technical implementation jargon, no credentials. All data fictional. Each screen has back chevron, short Chinese heading and relevant save or add action. Subpages do NOT need bottom navigation; use full content area and fixed bottom action where appropriate. Labels above each phone name its page. All toggles and form controls usable-looking, no overflowing text. Board C: 节点、路由与诊断. Four complete phone subpages: 节点详情 / 自动接入子网 / 子网详情 / 网络诊断. Screen1 节点详情 for Redmi_AX6. Cyan hero card green 在线, 192.168.20.3, 7 ms big and small 链路 RTT. compact metrics 直连 UDP / 丢包0.0%; ↓82KB/s ↑35KB/s; 累计下载4.9MB 上传5.5MB. Sparkline last60seconds. group 连接信息 rows 当前路径 本机 → Redmi_AX6; 远端地址203.0.113.10:25423; UDP NAT PortRestricted; 内核版本2.6.4. group 公告子网 192.168.21.0/24 已接入 chevron. Footer 测试连通性 button. Screen2 自动接入子网: cyan banner 自动学习节点公告,无需手动填写远端子网. Segmented 已接入2 / 未接入1. accepted cards 192.168.21.0/24, 发布节点 Redmi_AX6, 当前下一跳 Redmi_AX6, green 已接入; 10.80.0.0/24, 发布节点 NAS, 当前下一跳 Redmi_AX6, green 已接入. Group 接入规则 compact rows 私有 IPv4; 前缀 /16 至 /32; 最大32条. explanatory rejected example 192.168.20.0/24 未接入 与虚拟网段重叠, muted amber card. Bottom 刷新公告 secondary button. Screen3 子网详情: hero 192.168.21.0/24 已接入. rows 发布节点Redmi_AX6; 下一跳Redmi_AX6; 模式自动接入; 系统路由已安装; 更新时间18:16. Simple readable linear path vertically 本机192.168.20.6 → Redmi_AX6 192.168.20.3 → 目标设备192.168.21.201. Section 连通性测试 field目标地址192.168.21.201 field端口5900; teal 测试连接. Last result green TCP 可达 12ms, helper 延迟为示例. footer note 节点撤销公告后自动移除此路由, no manual subnet entry toggle. Screen4 网络诊断: target field192.168.21.201:5900; segmented TCP / UDP / 路径, TCP active. count输入10次, timeout3秒. filled 开始检测. Results card green 10/10 成功; 最小7ms 平均12ms 最大18ms 丢包0%. group 当前路径 本机 → Redmi_AX6 → 目标设备. compact checklist 虚拟网卡已就绪 / 公告子网已安装 / 目标端口可达 green checks. bottom 导出诊断报告. No real secrets. Strong visual alignment.
## Board D
High-fidelity mobile UI prototype board for MeshPort. Four complete Android phone screens side by side, wide landscape, straight-on, generous gutters, all full screens including bottom actions visible. Chinese text sharp readable. Same visual system as preceding MeshPort prototypes: warm ivory background #F8F7F3, white rounded cards, fine grey borders, pale cyan selected controls, dark charcoal typography, teal #137A88 accents, restrained shadows, compact practical layouts. Rounded blue-teal square logo with white M connected nodes. Each screen status bar 18:17. No dark theme, no purple, no technical implementation jargon, no credentials. All data fictional. Each screen has back chevron, short Chinese heading and relevant save or add action. Subpages do NOT need bottom navigation; use full content area and fixed bottom action where appropriate. Labels above each phone name its page. All toggles and form controls usable-looking, no overflowing text. Board D: 应用设置. Four full mobile settings subpages DNS设置 / 默认配置 / 启动与后台 / 运行日志. Screen1 DNS设置: top save. group 解析策略 segmented 自动 / 自定义, 自定义 selected. Cards 直连DNS 系统 DNS chevron; 代理DNS https://dns.example.com/dns-query chevron; 组网DNS 未配置 chevron helper 仅对组网内域名生效. toggles DNS缓存 ON; FakeIP OFF; helper 组网内域名使用独立解析规则. group 测试解析 input example.com; outlined 测试; results 203.0.113.20 46ms small fictional result. Bottom 恢复默认 secondary. Screen2 默认配置: hero 当前默认配置 自用网络 grey 私人配置. list 组网 GameNet; 虚拟地址192.168.20.6/24; 初始节点2个; 代理配置自用代理. Group 保存与恢复 switches 保存配置 ON; 启动恢复上次配置 ON; 启动自动连接 OFF. Banner 优先读取已保存配置,没有保存配置时使用安装包默认值. Buttons 保存当前配置 teal; 恢复安装包默认值 outline; 删除已保存配置 discreet red text with confirmation icon. footnote 敏感配置保存在设备安全存储中. Screen3 启动与后台: group启动 switches 开机启动 OFF; 打开应用自动连接 OFF; 恢复上次运行功能 ON; group后台 安卓前台通知 已启用 with green check and helper 持续组网时显示通知; 电池优化 未放行 amber and button前往系统设置; 后台运行权限 未检查 chevron. group断线恢复 自动重连 ON; 重试间隔自动退避 chevron; 网络变化时重试ON. blue note VPN授权由系统确认,其他VPN可能中断当前连接. Bottom 检查运行环境. Screen4运行日志: header分享icon. chips 全部 / 组网 / 代理 / 路由 / 错误 with全部 selected; search搜索日志. scrollable log card chronological examples 18:17:08 [路由] 接入192.168.21.0/24, 18:17:07 [组网] Redmi_AX6直连建立, 18:17:06 [代理] 日本·东京可用85ms, 18:17:05 [系统] 虚拟网卡已就绪, 18:17:04 [配置] 载入保存配置, 18:16:59 [代理] 备用节点超时 (amber). Each row short and well-spaced. Group 日志级别 信息 chevron; 隐藏敏感信息 ON. footer 导出日志 outlined and 清空日志 secondary. No passwords, no private URLs, no internal code symbol names.
## Board E
High-fidelity mobile UI prototype board for MeshPort. Four complete Android phone screens side by side, wide landscape, straight-on, generous gutters, all full screens including bottom actions visible. Chinese text sharp readable. Same visual system as preceding MeshPort prototypes: warm ivory background #F8F7F3, white rounded cards, fine grey borders, pale cyan selected controls, dark charcoal typography, teal #137A88 accents, restrained shadows, compact practical layouts. Rounded blue-teal square logo with white M connected nodes. Each screen status bar 18:17. No dark theme, no purple, no technical implementation jargon, no credentials. All data fictional. Each screen has back chevron, short Chinese heading and relevant save or add action. Subpages do NOT need bottom navigation; use full content area and fixed bottom action where appropriate. Labels above each phone name its page. All toggles and form controls usable-looking, no overflowing text. Board E: 配置编辑与首次使用. Four full phones with page labels 首次使用 / 添加代理节点 / 编辑订阅 / 编辑分流规则. Screen1首次使用: small logo MeshPort and subtitle 代理与组网,一个客户端. No back button here. Section选择使用方式 three large clean radio cards: 仅组网 helper访问游戏服务器与远端内网; 仅代理 helper按规则代理上网; 代理+组网 selectedcyan helper同时使用代理和虚拟网络. section配置状态 rows 默认组网配置已载入 greencheck; 代理配置待导入 amber plusbutton导入配置. Section系统权限 small card VPN授权未申请 with helper首次连接时由系统请求授权. Checkbox记住我的选择 ON. bottom开始使用 teal. No automatic connection action without VPN authorization. Screen2添加代理节点: header取消 left保存 right. Dropdown协议VLESS chevron. text fields节点名称日本·东京; 服务器jp.example.com; 端口443; 身份ID •••••••••••• with eye. segmented传输 TCP / WebSocket / gRPC, TCPselected. TLS toggleON; dropdown安全方式TLS (can switch toReality); 服务器名称jp.example.com; certificatevalidationON. footer折叠 高级参数 chevron; 测试连接 outline; 创建节点 teal. Display this as a VLESS example, avoid passwords. Screen3编辑订阅: header返回 保存. group基本信息 配置名称自用代理; 订阅地址https://example.com/sub with clipboard icon. group更新 自动更新ON; 更新间隔24小时 chevron; 仅Wi-Fi更新OFF; helper关闭时允许移动网络更新. group保留设置 保留手动节点ON; 保留当前节点选择ON. preview card最近更新成功 8个节点 今天18:05. bottom立即更新 outline; 删除订阅 redtext. Screen4编辑分流规则: header取消 保存. section规则名称 国内网站; 类型 segmented域名 / IP / 规则集, 域名selected. textarea 匹配内容 example.cn on line1 *.example.cn line2. group规则动作 selectedradio 直连, otherradio当前代理, 拦截; row启用规则toggleON. info banner 组网地址优先规则不可被覆盖. Compact预览访问example.cn → 直连. Bottom保存规则 teal. Precise Chinese type and complete viewport. Do not add implementation labels. This is a design-only concept, not a claim that functions are already available.