Commit Graph

19 Commits

Author SHA1 Message Date
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
01515f95ca
ci: TestFlight opt-in toggle + Xcode 27 build fixes (#54)
* ci: gate TestFlight behind opt-in toggle + Xcode 27 build fixes

TestFlight is now opt-in (default OFF). A workflow_dispatch boolean
`enable_testflight` (or the `ENABLE_TESTFLIGHT` repo variable) drives a
`prepare.outputs.testflight_enabled` flag that gates the macOS
app-store-pkg build leg and both testflight_ios/testflight_macos upload
legs. Missing Apple signing secrets no longer fail the normal DMG/IPA
release path (package-macos-app-store-pkg.sh hard-exits without them).

Xcode 27 build compatibility:
- Align Apple deployment targets so no pod sits below the app minimum
  (Xcode 27 rejects this): macOS pods + RunnerTests -> 15.6, iOS pods
  -> 15.5 to match the Runner targets.
- Add a `lipo` shim (scripts/xcode-tools/lipo) wired onto PATH in the
  iOS/macOS build phases; Xcode 27 only accepts one `-verify_arch`
  architecture per call while Flutter passes them all at once.
- macOS project hygiene: correct PrivacyInfo.xcprivacy path, set app
  display name + LSApplicationCategoryType.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

* test: make temp-dir cleanup resilient to concurrent-write races

The assistant execution target tests deleted their temp HOME/workspace
dirs with a raw recursive delete in addTearDown. A background flush
(e.g. controller dispose still persisting state) can keep writing into
the dir while the delete walks it, so the delete races and fails with
"Directory not empty" (errno 39), failing the test on CI.

Route all unguarded teardown deletes through the existing
_resilientDelete helper (re-check existence + retry), and harden that
helper so its final fallback never re-throws — a temp-dir cleanup
failure must never fail a test.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

---------

Co-authored-by: Haitao Pan <manbuzhe2009@qq.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-30 07:27:09 +08:00
Haitao Pan
09352b35a0 chore: update macOS deployment target to 14.0 and commit pending changes 2026-06-25 09:52:33 +08:00
Haitao Pan
046020d8d7 Remove Patrol from macOS package 2026-06-05 21:47:08 +08:00
Haitao Pan
0fdac8aedd chore: prepare release v1.1.4 (app store compliance, remote desktop fixes, ci verification) 2026-06-03 15:52:44 +08:00
Haitao Pan
842227a4d5 refactor: simplify remote desktop UI and add maximize toggle 2026-06-03 11:47:04 +08:00
Haitao Pan
3160ab3eb5 refactor: remove mobile approval surface 2026-05-24 12:15:54 +08:00
Haitao Pan
925eea0f1b fix(macos): sync Podfile lock checksum 2026-04-13 14:37:36 +08:00
Haitao Pan
ea4abe350b build: add test-all make targets 2026-04-08 16:37:12 +08:00
Haitao Pan
319d7a383f test: add automation suite coverage 2026-04-08 16:35:25 +08:00
Haitao Pan
03c7e2776d Refine macOS Xcode entrypoint and CocoaPods SDK refs 2026-03-27 16:15:27 +08:00
Haitao Pan
de010bab5e Refine desktop agent launch policy 2026-03-27 15:31:46 +08:00
Haitao Pan
fc534df745 Suppress mobile scanner ignored attributes warnings 2026-03-25 17:16:09 +08:00
Haitao Pan
8e4865ab0a fix(macos): sync Podfile lock after pod install 2026-03-25 10:36:10 +08:00
Haitao Pan
0ae901babd feat(assistant): paste clipboard images as attachments 2026-03-24 13:02:01 +08:00
Haitao Pan
bf0d3def67 Update CocoaPods locks for file-backed store 2026-03-23 22:31:12 +08:00
Haitao Pan
d524c74047 Finish secure settings storage and refresh workspace UI 2026-03-18 17:04:00 +08:00
Haitao Pan
51e225ffc0 Add global language toggle and app localization 2026-03-11 15:15:47 +08:00
Haitao Pan
9720b1fc65 Initial Flutter workspace shell 2026-03-11 07:32:52 +08:00