Files
eryao/apps
qzl c74e3f688c fix: 修复 basedpyright 类型错误和语言设置同步问题
runner.py: 将 user_text 解构从 tuple 第二元素改为第一元素(str),
消除 str | list[dict[str,Any]] 与 Msg.content 的类型不兼容问题。
简化了始终为 true 的 user_blocks 条件分支。

repository.py: 将 result.rowcount 的 type: ignore 替换为基于
pyright: ignore[reportAttributeAccessIssue],消除 basedpyright 错误。

app.dart: 保存 profile 时同步 _locale 和 session store 中的语言标记。
2026-04-14 12:42:35 +08:00
..

eryao apps

Flutter client for 觅爻签问.

Debug startup with backend injection

This app supports injecting backend URL at startup (same pattern as social-app):

  • Dart read path: lib/core/config/env.dart
  • Injection key: BACKEND_URL

Direct command

flutter run --dart-define=BACKEND_URL=http://192.168.1.100:5775

Script command

./tool/run-dev.sh --backend-url http://192.168.1.100:5775

If BACKEND_URL is not provided, fallback is:

  • Android emulator: http://10.0.2.2:5775
  • Others: http://localhost:5775