Commit Graph

60 Commits

Author SHA1 Message Date
Haitao Pan
0893ce053b fix: allow unsigned macos CI packaging 2026-06-18 17:16:13 +08:00
Haitao Pan
73bed12dc6 Remove Patrol from macOS package 2026-06-05 21:47:08 +08:00
Haitao Pan
daca046dcd fix(ci): drop ripgrep dependency from check-no-app-ffi.sh
The Flutter verification lane runs on Ubuntu 22.04 without ripgrep
installed, so the FFI integration guard silently fell through and
printed 'No app-side Codex FFI integration artifacts found' on every
run. Replace rg with the POSIX grep -RInE that ships with the runner,
keep the same excludes (check-no-app-ffi.sh, Pods, ephemeral, build,
.dart_tool) and emit the actual offending matches so the gate fails
loudly when a forbidden reference reappears.
2026-06-05 19:29:39 +08:00
Haitao Pan
fff0ea5633 fix(ci): keep macos/ios build lanes running when Apple signing secrets are missing
The release preflight used to set should_build_platform=false whenever any
Apple signing secret was unset, which silently skipped the entire macos dmg
and ios ipa lanes (build + upload gated on that flag). Result: releases only
shipped linux, windows and android artifacts even when the iOS/macOS lanes
were otherwise healthy.

Make the preflight always release the lane, but emit a :⚠️: and
annotate the skip_reason when a secret is missing. The iOS branch in
build_matrix_artifacts.sh now picks the signed vs unsigned build path based
on actual secret availability instead of should_release alone, so it falls
back to flutter build ios --no-codesign + zip Runner.app whenever a secret
is absent. package-flutter-mac-app.sh already handled the no-secret case
locally (ad-hoc codesign --sign -) and needs no change.

Behavior matrix:
  macos: secret present -> signed DMG; secret missing -> unsigned DMG
  ios:   secret present + release -> signed IPA
         secret present + non-release -> unsigned zip
         secret missing (any) -> unsigned zip
2026-06-05 18:39:25 +08:00
Haitao Pan
93600b6ae0 fix(ci): parse provider catalog and gateway providers from capabilities fallback 2026-06-03 17:11:12 +08:00
Haitao Pan
4763a69e3b chore: prepare release v1.1.4 (app store compliance, remote desktop fixes, ci verification) 2026-06-03 15:52:44 +08:00
Haitao Pan
bc6c2844a2 fix: repair bridge login sync runtime state 2026-06-01 10:02:13 +08:00
Haitao Pan
7797d988d4 chore: prepare v1.1.3 release metadata 2026-05-28 13:20:57 +08:00
Haitao Pan
ca1dc76a0a Fix Apple preflight for main builds 2026-05-27 15:36:50 +08:00
Haitao Pan
6b5f1bafe0 Fix Apple preflight for main builds 2026-05-27 15:17:02 +08:00
Haitao Pan
cdda2caf53 merge: implement flutter and go testing framework 2026-05-25 08:55:15 +08:00
Haitao Pan
9c71b65f9f chore: add ios release verification assets 2026-05-25 08:54:48 +08:00
Haitao Pan
45893005ac Use git HEAD for macOS build metadata 2026-05-18 16:08:14 +08:00
Haitao Pan
9df22b23e6 chore: remove stale gateway settings and app ffi paths 2026-05-13 16:45:54 +08:00
Haitao Pan
7aa87c85d1 Fail release preflight when Apple signing is missing 2026-05-12 18:30:22 +08:00
Haitao Pan
8a67069124 ci: align remote provider contract with hermes 2026-05-03 19:40:35 +08:00
Haitao Pan
2eab674974 fix: use bridge session lifecycle methods 2026-04-24 10:09:20 +08:00
Haitao Pan
317975c322 chore: sync runtime protocol docs 2026-04-23 14:58:18 +08:00
Haitao Pan
56e3031ad1 docs: add external api test scripts 2026-04-22 09:47:38 +08:00
Haitao Pan
538ff526b2 fix(build): improve DMG styling stability and Finder volume discovery
- Add delay and explicit existence check for mounted volume before styling
- Implement resilient .app selector in AppleScript to handle naming mismatches
- Gracefully skip styling if volume is not visible to Finder
2026-04-19 15:21:58 +08:00
Haitao Pan
1f6d8bd4e0 fix(build): improve macOS packaging reliability and clean up Rust FFI
- Implement 'inside-out' signing strategy in package-flutter-mac-app.sh to fix nested code validity errors
- Fix install_name of embedded FFI library to use @rpath for portability
- Remove manual 'cargo build' triggers from Makefile and integration scripts (externalize management)
- Clean up unused types and structs in Rust source (lib.rs and types.rs)
- Update architecture docs to reflect AcpBridgeServerModeConfig priority logic
2026-04-19 15:00:34 +08:00
Haitao Pan
a97214594c fix(build): resolve macOS packaging and installation failures
- Include target/release/libcodex_ffi.dylib in FFI framework search paths
- Embed libcodex_ffi.dylib directly into the macOS app bundle during packaging
- Embed xworkmate-go-core for non-App-Store local builds
- Ad-hoc re-sign the app bundle after modifying its contents
- Fix DMG path resolution in the installation script to handle filenames with spaces
2026-04-19 12:45:47 +08:00
Haitao Pan
37b110763b refactor(storage): unify persistent storage with robust error handling and simplified secret management
- Consolidate settings, tasks, and audit storage into SettingsStore and SecretStore
- Implement PersistentWriteFailure for detailed error reporting across storage scopes
- Migrate secret retrieval to rely primarily on reference-based lookups
- Add ThemeMode persistence and AccountSyncState serialization
- Modernize SecureConfigStore with clear path resolution and support for UI state
- Streamline Rust build process by migrating from custom scripts to Makefile
- Remove redundant build_rust_ffi.sh and update integration scripts
2026-04-19 10:34:15 +08:00
Haitao Pan
eb97a74dab chore(bridge): update SSH inspection script to target xworkmate-bridge.svc.plus and Caddy config 2026-04-17 16:28:22 +08:00
Haitao Pan
bf9776c045 docs: add public API engineering docs 2026-04-16 13:54:33 +08:00
5c3f70e926
Merge pull request #12 from x-evor/codex/provider-selection-test-mainline
Codex/provider selection test mainline
2026-04-14 15:03:46 +08:00
Haitao Pan
94ae57f201 test: lock provider selection mainline contract 2026-04-14 13:56:58 +08:00
Haitao Pan
4ee90635bd fix: repair cross-platform release CI gating 2026-04-14 13:48:04 +08:00
Haitao Pan
02684aabde feat(settings): refresh account sync, add about metadata, and rewrite task dialog modes 2026-04-13 18:02:30 +08:00
Haitao Pan
cfaa6133db Validate macOS app bundle dependencies 2026-04-12 13:04:20 +08:00
Haitao Pan
641d9156b1 Remove bundled app helper binaries 2026-04-11 14:45:50 +08:00
Haitao Pan
008ebb2fe1 Fix release pipeline verification and latest release tagging 2026-04-11 10:31:15 +08:00
Haitao Pan
6c7f27d6c9 chore: suppress noisy macos third-party build warnings 2026-04-11 09:28:00 +08:00
Haitao Pan
c617eb09d6 fix: validate staged mac app install 2026-04-11 09:22:00 +08:00
Haitao Pan
e1429b2845 merge: consolidate CI and thread binding branch work 2026-04-11 08:20:51 +08:00
Haitao Pan
ec4d75a182 test: add real env login chain checks 2026-04-10 10:18:46 +08:00
Haitao Pan
38e4882521 fix: streamline gateway settings and mac packaging cleanup 2026-04-09 11:39:00 +08:00
Haitao Pan
e865c2ca5e refactor: remove web surface from xworkmate-app 2026-04-09 11:19:40 +08:00
Haitao Pan
f02c3324ea Split ACP bridge into standalone repository 2026-04-09 09:49:52 +08:00
25842cb6c7 test: add layered Flutter+Go testing template and CI workflows 2026-04-08 13:11:53 +08:00
Haitao Pan
2294597d03 Preserve macOS app signatures during packaging 2026-04-06 13:02:14 +08:00
Haitao Pan
a665f677b2 Bundle go-core helper with macOS app and drop external CLI fallback 2026-04-06 09:39:16 +08:00
Haitao Pan
81fd765017 ci: add build-and-release watchdog 2026-04-05 17:50:23 +08:00
Haitao Pan
0b15e5570a add workflows: build-push-ghcr-images 2026-04-02 17:44:18 +08:00
Haitao Pan
a3780f606f Fix macOS archive symbols and packaging settings 2026-03-27 16:32:23 +08:00
Haitao Pan
18b7d7212a chore: commit remaining workspace changes 2026-03-25 14:25:24 +08:00
Haitao Pan
560e0dfee5 Adjust DMG default icon placement 2026-03-25 14:23:12 +08:00
Haitao Pan
afcd730d67 feat(scripts): add codex acp native service helpers 2026-03-25 14:21:46 +08:00
Haitao Pan
71baa2e417 fix(release): verify export compliance in apple artifacts 2026-03-25 14:03:09 +08:00
Haitao Pan
a453abb093 fix(release): align export compliance flag and backfill missing framework dsyms 2026-03-25 11:55:50 +08:00