Commit Graph

658 Commits

Author SHA1 Message Date
Haitao Pan
7186fa3c5d refactor(account): optimize bridge state flow and align with production vhost routing 2026-04-21 13:48:48 +08:00
Haitao Pan
7b550562e8 refactor(runtime): eliminate local agent process management and CLI probing
- Refactor MultiAgentOrchestrator to remove local process management.
- Disable local CLI execution and existence checks in orchestration workflows.
- Remove local process discovery and state reconciliation in mount adapters.
- Mark local agent process launching as deprecated/disabled across runtime.
2026-04-21 12:45:26 +08:00
Haitao Pan
d3b6585bd5 refactor(bridge): enforce remote bridge execution and remove local ACP fallbacks
- Prioritize remote endpoints for svc.plus accounts.
- Remove legacy local go-core execution logic.
- Remove legacy local codex app-server launch logic.
- Update endpoint resolution to support provider-specific paths.
2026-04-21 12:35:52 +08:00
Haitao Pan
52a25a24cf Fix settings save path coverage 2026-04-21 10:34:44 +08:00
Haitao Pan
9933183a80 Expose Hermes in bridge provider catalog 2026-04-20 17:59:33 +08:00
Haitao Pan
c30c944e08 Fix settings save wiring 2026-04-19 20:09:21 +08:00
Haitao Pan
f4ccb959dc Refine signed-in account status layout 2026-04-19 19:59:54 +08:00
Haitao Pan
af1a4e5661 Refine account sync bridge state model 2026-04-19 19:42:00 +08:00
Haitao Pan
81bb1adff0 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
41163ec295 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
0fd5d66675 fix(build): resolve undefined method compilation error in SettingsPage
- Expose resolveAcpBridgeServerEffectiveConfig via SettingsControllerAccountExtension
- Rename internal implementation to resolveAcpBridgeServerEffectiveConfigInternal
- Update SettingsPage to call the extension method correctly
2026-04-19 12:47:13 +08:00
Haitao Pan
dc95abbfb0 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
5851196fc7 refactor(bridge): implement Single Source of Truth for bridge config and fix login persistence
- Refactor bridge configuration to resolve co-existing Manual and Cloud sources into a single persistent 'effective' state
- Implement deterministic priority resolution: Manual Bridge > Cloud Sync > Default Fallback
- Fix login issues by preserving account base URL and identifier during sync and session restoration
- Streamline config/settings.yaml by removing redundant fields and adopting YAML format
- Update documentation with new architecture guide for bridge-cloud coexistence and priority logic
- Verify functional connectivity for codex, gemini, opencode, and openclaw bridge services
2026-04-19 12:22:02 +08:00
Haitao Pan
a04b22ec4a 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
ec1fb1b5e7 fix(build): ensure macOS packaging builds native dependencies and universal FFI binary 2026-04-18 17:06:34 +08:00
Haitao Pan
3c2be80ce6 docs: update stale domain references in architectural documents 2026-04-18 11:43:03 +08:00
Haitao Pan
c9d8def03a fix(settings): force save snapshot after account sync to ensure persistence of tokens and bridge URL 2026-04-18 09:10:22 +08:00
Haitao Pan
ae75ecc382 docs: announce JSON-RPC 2.0 as the default communication protocol 2026-04-17 20:57:13 +08:00
Haitao Pan
8e0cfd5a71 fix: resolve svc.plus account save issue and improve bridge runtime status sync 2026-04-17 19:21:21 +08:00
Haitao Pan
631e234912 fix: restore missing members in AppController and fix imports in RuntimeCoordinator 2026-04-17 18:44:38 +08:00
Haitao Pan
6fdcd8f187 chore(aris): remove legacy ARIS assets and clean up associated code 2026-04-17 18:07:04 +08:00
Haitao Pan
cd227cdc36 fix(settings): ensure manual bridge configuration is applied correctly and improve storage fallback 2026-04-17 17:41:02 +08:00
Haitao Pan
8cc662e7d4 feat(settings): add manual bridge configuration tab to account settings 2026-04-17 16:28:27 +08:00
Haitao Pan
f5b3d85a89 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
1fe7de82a9 fix(acp): ensure JSON-RPC response ID matching and improve SSE error reporting 2026-04-16 16:26:33 +08:00
Haitao Pan
73fbe57460 fix(test): restore checkmark expectations and add missing ACP docs 2026-04-16 14:01:32 +08:00
Haitao Pan
8fa349c483 Fix gateway routing when provider catalog is empty 2026-04-16 13:54:33 +08:00
Haitao Pan
78d59292a6 docs: add public API engineering docs 2026-04-16 13:54:33 +08:00
Haitao Pan
ad6adca3fd Merge ACP contract CI and remove golden fallback coverage 2026-04-16 13:54:33 +08:00
Haitao Pan
69ecca5ac8 Lock bridge ACP contract and remove app fallback state 2026-04-16 13:54:33 +08:00
58b8e398f2 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
1f977caee2 test: lock provider selection mainline contract 2026-04-14 13:56:58 +08:00
Haitao Pan
d1df6fd920 merge: repair cross-platform release CI gating 2026-04-14 13:48:28 +08:00
Haitao Pan
00beaf295d fix: repair cross-platform release CI gating 2026-04-14 13:48:04 +08:00
Haitao Pan
51c90e9613 refactor: remove legacy single-agent provider selection flow 2026-04-14 12:43:05 +08:00
Haitao Pan
d4e09d7113 Drive task dialog providers from bridge catalog 2026-04-14 10:05:10 +08:00
Haitao Pan
69f0d451d9 fix: merge provider and bridge auth sync cleanups 2026-04-13 20:46:38 +08:00
Haitao Pan
77fb493edd Use direct profile sync for account bridge setup 2026-04-13 19:28:53 +08:00
Haitao Pan
5d992f884a Merge branch 'codex/rewrite-task-dialog-modes' 2026-04-13 18:03:05 +08:00
Haitao Pan
e7b09d235d feat(settings): refresh account sync, add about metadata, and rewrite task dialog modes 2026-04-13 18:02:30 +08:00
Haitao Pan
2d7a283797 fix: surface bridge-owned task dialog providers 2026-04-13 15:46:07 +08:00
Haitao Pan
68d2a3f4d7 docs: align app architecture to bridge mainline 2026-04-13 15:28:15 +08:00
Haitao Pan
76d19e3186 fix(runtime): reuse matching gateway token for ACP auth 2026-04-13 14:48:54 +08:00
Haitao Pan
925eea0f1b fix(macos): sync Podfile lock checksum 2026-04-13 14:37:36 +08:00
Haitao Pan
b2b7a092ad Refresh agent providers on agent selection 2026-04-13 14:03:21 +08:00
Haitao Pan
b5abc8bf09 Fix ACP bearer auth normalization 2026-04-13 12:44:27 +08:00
Haitao Pan
5b347ea239 Merge branch 'codex/cs-mainline-cleanup' 2026-04-13 12:14:17 +08:00
Haitao Pan
0fdb560ddb Clean C/S surfaces down to assistant and settings 2026-04-13 12:14:12 +08:00
Haitao Pan
067c673e88 Remove bridge fallback runtime code 2026-04-13 11:34:31 +08:00
Haitao Pan
11e425fab3 Add core module inventory document 2026-04-13 11:12:49 +08:00