Merge upstream/dev (86 commits) into tth
build / ci-image (push) Successful in 10s
build / build (push) Failing after 4m27s

Upstream redesigned the chat composer (bubble, round +/send button,
ChatComposerQuote for the reply preview); our terminal theme had tweaked
the old layout. Took upstream's structure and re-applied the terminal
look to the new widgets: compact panel padding, square bubble, square
button, square and one-line-low reply quote. The terminal reply padding
in channel_chat_screen now lives in ChatComposerQuote, so DMs get it too.

Also fixed for the merge:
- mesh_ui: AvatarCircle uses upstream's avatarInitials() (nullable); the
  terminal glyph falls back to the person icon like upstream does;
- chat_screen: upstream split maxMessageRetries into direct/flood limits,
  the terminal line now shows the bubble's maxSendAttempts;
- test/screens/copy_messages_test.dart: the 1x1 PNG had a bad IDAT CRC.
  Its async decode failure leaked into the next test; upstream's real
  flutter_langdetect hides that by timing, our stub (instant init) does
  not, so the DM test failed ~3 of 5 runs. Replaced with a valid PNG.

Checked in the CI image (Flutter 3.47.9): flutter analyze lib test clean;
flutter test all green except settings_reveal_test "hides Image Messages
sub-options", which fails the same way on plain upstream/dev.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
tthandClaude Opus 5.5 committed 2026-11-23 12:43:57 +01:00
commit 63907cb17d
210 files changed
+47623 -4900

No files matched your search

@@ -0,0 +1,37 @@
/// Stand-in for `flutter_onnxruntime` in builds made without ONNX Runtime.
///
/// Mirrors only the API MeshCore Open uses. [OnnxRuntime] cannot be
/// constructed, which is how the app detects this build.
library;
UnsupportedError _unsupported() =>
UnsupportedError('This build was made without ONNX Runtime.');
class OnnxRuntime {
OnnxRuntime() {
throw _unsupported();
}
Future<OrtSession> createSession(String modelPath) => throw _unsupported();
}
abstract class OrtSession {
List<String> get inputNames;
List<String> get outputNames;
Future<Map<String, OrtValue>> run(Map<String, OrtValue> inputs);
Future<void> close();
}
abstract class OrtValue {
List<int> get shape;
static Future<OrtValue> fromList(dynamic data, List<int> shape) =>
throw _unsupported();
Future<List<dynamic>> asFlattenedList();
Future<void> dispose();
}
+9
View File
@@ -0,0 +1,9 @@
name: flutter_onnxruntime
description: >-
Pure-Dart stand-in for flutter_onnxruntime, used by `scripts/onnx.sh off` to
build MeshCore Open without ONNX Runtime. No native plugin, no downloads.
version: 1.9.0
publish_to: none
environment:
sdk: ^3.7.0