Commit Graph

22 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
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
1e0d79532b chore: add ios release verification assets 2026-05-25 08:54:48 +08:00
Haitao Pan
3160ab3eb5 refactor: remove mobile approval surface 2026-05-24 12:15:54 +08:00
Haitao Pan
235d41c5fe fix: streamline gateway settings and mac packaging cleanup 2026-04-09 11:39:00 +08:00
Haitao Pan
15a85cea0b Update iOS build settings and version metadata 2026-03-28 20:22:48 +08:00
Haitao Pan
f9c7af8921 release: prepare v1.0 2026-03-27 13:21:24 +08:00
Haitao Pan
a2eb29bcd9 release: prepare v0.8 2026-03-26 23:31:13 +08:00
Haitao Pan
df61476416 fix(release): align export compliance flag and backfill missing framework dsyms 2026-03-25 11:55:50 +08:00
Haitao Pan
332ee750b3 feat: add mobile gateway pairing guide 2026-03-24 15:12:32 +08:00
Haitao Pan
8e1419c94a chore(release): add app encryption compliance docs 2026-03-24 13:30:20 +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
144428f054 fix(release): harden apple app store distribution 2026-03-23 17:28:54 +08:00
Haitao Pan
7378888ed4 feat: add ui feature flag release docs pipeline 2026-03-22 10:49:13 +08:00
Haitao Pan
18f56ecd02 Add multi-platform build and release workflow 2026-03-21 10:08:12 +08:00
Haitao Pan
d524c74047 Finish secure settings storage and refresh workspace UI 2026-03-18 17:04:00 +08:00
Haitao Pan
e954af8468 feat: complete gateway-driven assistant baseline 2026-03-11 23:01:47 +08:00
Haitao Pan
fd27158f88 chore: prepare for v0.1 release 2026-03-11 21:21:49 +08:00
Haitao Pan
9720b1fc65 Initial Flutter workspace shell 2026-03-11 07:32:52 +08:00