xworkmate-app/lib/features/assistant
Haitao Pan 6fb1441226
refactor: replace super_clipboard with pasteboard (drop cargokit/Rust) (#55)
* 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>
2026-06-30 08:30:26 +08:00
..
assistant_attachment_payloads.dart feat(assistant): include attachment source paths in gateway prompts 2026-06-12 16:58:24 +08:00
assistant_page_components_core.dart refactor: replace super_clipboard with pasteboard (drop cargokit/Rust) (#55) 2026-06-30 08:30:26 +08:00
assistant_page_components.dart refactor: replace super_clipboard with pasteboard (drop cargokit/Rust) (#55) 2026-06-30 08:30:26 +08:00
assistant_page_composer_bar.dart refactor: replace super_clipboard with pasteboard (drop cargokit/Rust) (#55) 2026-06-30 08:30:26 +08:00
assistant_page_composer_clipboard.dart refactor: replace super_clipboard with pasteboard (drop cargokit/Rust) (#55) 2026-06-30 08:30:26 +08:00
assistant_page_composer_skill_picker.dart refactor: replace super_clipboard with pasteboard (drop cargokit/Rust) (#55) 2026-06-30 08:30:26 +08:00
assistant_page_composer_state_helpers.dart refactor: replace super_clipboard with pasteboard (drop cargokit/Rust) (#55) 2026-06-30 08:30:26 +08:00
assistant_page_composer_support.dart refactor: replace super_clipboard with pasteboard (drop cargokit/Rust) (#55) 2026-06-30 08:30:26 +08:00
assistant_page_main.dart refactor: replace super_clipboard with pasteboard (drop cargokit/Rust) (#55) 2026-06-30 08:30:26 +08:00
assistant_page_message_widgets.dart refactor: replace super_clipboard with pasteboard (drop cargokit/Rust) (#55) 2026-06-30 08:30:26 +08:00
assistant_page_state_actions.dart refactor: replace super_clipboard with pasteboard (drop cargokit/Rust) (#55) 2026-06-30 08:30:26 +08:00
assistant_page_state_closure.dart refactor: replace super_clipboard with pasteboard (drop cargokit/Rust) (#55) 2026-06-30 08:30:26 +08:00
assistant_page_task_dialog_controls.dart fix: group gateway skills and clean imports 2026-05-23 12:02:45 +08:00
assistant_page_task_models.dart refactor: replace super_clipboard with pasteboard (drop cargokit/Rust) (#55) 2026-06-30 08:30:26 +08:00
assistant_page_tooltip_labels.dart refactor: replace super_clipboard with pasteboard (drop cargokit/Rust) (#55) 2026-06-30 08:30:26 +08:00
assistant_page.dart refactor(ui): eliminate unowned helper sprawl in assistant skill picker 2026-06-04 10:08:02 +08:00