* refactor: replace super_clipboard with pasteboard, drop cargokit/Rust
super_clipboard pulled in super_native_extensions (a Rust native layer
built via cargokit), whose precompiled-binary download from GitHub
release assets has been intermittently failing the build ("Connection
closed while receiving data"). It was used for exactly one feature -
reading a clipboard image into the composer - in a single file; the
other 12 imports were dead.
- Swap super_clipboard -> pasteboard (platform-channel, no Rust).
- Rewrite readClipboardImageAsXFileInternal() on Pasteboard.image
(PNG bytes), collapsing three helpers into one.
- Remove 12 unused super_clipboard imports.
- Regenerated plugin registrants / lockfiles drop super_native_extensions.
Removes the Rust toolchain requirement and the flaky download entirely.
Text copy/paste already used Flutter's built-in Clipboard and is
unaffected.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
* ci: keep TestFlight package release-only
---------
Co-authored-by: Haitao Pan <manbuzhe2009@qq.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
47 lines
880 B
YAML
47 lines
880 B
YAML
name: xworkmate
|
|
description: "XWorkmate desktop-first AI workspace shell."
|
|
publish_to: 'none'
|
|
|
|
version: 1.1.5+1
|
|
build-date: 2026-06-28
|
|
build-id: 4e02107
|
|
|
|
environment:
|
|
sdk: ^3.11.0
|
|
|
|
dependencies:
|
|
flutter:
|
|
sdk: flutter
|
|
flutter_localizations:
|
|
sdk: flutter
|
|
cupertino_icons: ^1.0.8
|
|
cryptography: ^2.6.1
|
|
crypto: ^3.0.6
|
|
dartssh2: ^2.17.1
|
|
device_info_plus: ^11.5.0
|
|
file_selector: ^1.0.3
|
|
flutter_html: ^3.0.0
|
|
flutter_markdown: ^0.7.7+1
|
|
http: ^1.5.0
|
|
markdown: ^7.3.0
|
|
package_info_plus: ^8.3.1
|
|
path_provider: ^2.1.5
|
|
shared_preferences: ^2.5.3
|
|
pasteboard: ^0.5.0
|
|
web_socket_channel: ^3.0.3
|
|
flutter_webrtc: ^0.12.3
|
|
yaml: ^3.1.3
|
|
|
|
dev_dependencies:
|
|
flutter_test:
|
|
sdk: flutter
|
|
integration_test:
|
|
sdk: flutter
|
|
flutter_lints: ^6.0.0
|
|
|
|
flutter:
|
|
uses-material-design: true
|
|
assets:
|
|
- config/feature_flags.yaml
|
|
- assets/branding/
|