Commit Graph

683 Commits

Author SHA1 Message Date
Haitao Pan
e4f8da2a67 fix: tighten bridge runtime diagnostics 2026-05-02 17:45:17 +08:00
Haitao Pan
52ef962251 fix: route gateway execution through managed bridge 2026-05-02 12:10:08 +08:00
Haitao Pan
b20dc093ed fix: preserve bridge acp 502 diagnostics 2026-05-01 14:43:05 +08:00
Haitao Pan
f9b35cb5fe fix: enforce explicit gateway routing and isolate test environments
- Update AppController to enforce explicit routing and provider selection when target is gateway.

- Add environment overrides to isolate test suites from system environment variables.

- Add automatic ACP capabilities refresh on connection failure when runtime is configured.
2026-05-01 14:00:54 +08:00
Haitao Pan
797b576fdc fix: normalize bridge metadata authorization 2026-04-30 13:28:24 +08:00
Haitao Pan
f2e3cfa790 feat: pass remote working directory as hint while preserving local cwd
Distinguishes between the local working directory (used for execution) and the
remote working directory hint. Captures remote working directory from execution
results and persists it for future turns.
2026-04-30 12:14:13 +08:00
Haitao Pan
16f214a6c6 fix: preserve hermes failure diagnostics 2026-04-29 19:27:09 +08:00
Haitao Pan
08961865d9 Sync inline ACP artifacts from task results 2026-04-28 16:49:18 +08:00
Haitao Pan
a3f205c7d0 Stabilize app shell surface test 2026-04-28 11:56:48 +08:00
Haitao Pan
05d3f43a39 Show ACP provider failures in task output 2026-04-27 12:31:42 +08:00
Haitao Pan
91fc61cd09 Fix ACP task response display parsing 2026-04-27 11:19:24 +08:00
Haitao Pan
732904bb42 Fix bridge gateway task params 2026-04-26 10:17:38 +08:00
Haitao Pan
2eab674974 fix: use bridge session lifecycle methods 2026-04-24 10:09:20 +08:00
Haitao Pan
a2ed8fa213 fix: align routing resolve payload 2026-04-23 16:16:29 +08:00
Haitao Pan
317975c322 chore: sync runtime protocol docs 2026-04-23 14:58:18 +08:00
Haitao Pan
4d6f30a3f7 Fix bridge ACP provider endpoint normalization 2026-04-23 09:30:36 +08:00
Haitao Pan
71cc4848f3 fix task workspace binding separation 2026-04-22 13:51:26 +08:00
Haitao Pan
2181066761 fix bridge readiness checks 2026-04-22 10:17:51 +08:00
Haitao Pan
56e3031ad1 docs: add external api test scripts 2026-04-22 09:47:38 +08:00
Haitao Pan
8d47fb6781 Merge branch 'codex/docs-app-external-api' 2026-04-22 09:35:06 +08:00
Haitao Pan
627bc640e9 docs: add external service api test matrix 2026-04-22 09:35:05 +08:00
Haitao Pan
db0582c85d Refine bridge routing and settings cleanup 2026-04-22 00:49:41 +08:00
Haitao Pan
c6efeb89aa Refine assistant bridge capability flow 2026-04-21 21:59:27 +08:00
Haitao Pan
451e127b04 docs: align architecture and agent rules with unified bridge routing 2026-04-21 17:38:53 +08:00
Haitao Pan
8778607e26 Refactor bridge runtime routing 2026-04-21 16:28:26 +08:00
Haitao Pan
fc16eec4a5 refactor(account): optimize bridge state flow and align with production vhost routing 2026-04-21 13:48:48 +08:00
Haitao Pan
9c68ac018e 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
ec0bab0f41 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
d852bb3a1b Fix settings save path coverage 2026-04-21 10:34:44 +08:00
Haitao Pan
f082ceabce Expose Hermes in bridge provider catalog 2026-04-20 17:59:33 +08:00
Haitao Pan
65a9d309db Fix settings save wiring 2026-04-19 20:09:21 +08:00
Haitao Pan
ced64cf950 Refine signed-in account status layout 2026-04-19 19:59:54 +08:00
Haitao Pan
b10b532675 Refine account sync bridge state model 2026-04-19 19:42:00 +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
1f13ce7514 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
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
08665cf528 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
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
4e81752c1d fix(build): ensure macOS packaging builds native dependencies and universal FFI binary 2026-04-18 17:06:34 +08:00
Haitao Pan
a57f560be5 docs: update stale domain references in architectural documents 2026-04-18 11:43:03 +08:00
Haitao Pan
009e4391c2 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
c272461281 docs: announce JSON-RPC 2.0 as the default communication protocol 2026-04-17 20:57:13 +08:00
Haitao Pan
dfa1fa71bf fix: resolve svc.plus account save issue and improve bridge runtime status sync 2026-04-17 19:21:21 +08:00
Haitao Pan
4b87416e0e fix: restore missing members in AppController and fix imports in RuntimeCoordinator 2026-04-17 18:44:38 +08:00
Haitao Pan
6d0e976773 chore(aris): remove legacy ARIS assets and clean up associated code 2026-04-17 18:07:04 +08:00
Haitao Pan
14395fea2f fix(settings): ensure manual bridge configuration is applied correctly and improve storage fallback 2026-04-17 17:41:02 +08:00
Haitao Pan
e961a6e037 feat(settings): add manual bridge configuration tab to account settings 2026-04-17 16:28:27 +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
59e62d0368 fix(acp): ensure JSON-RPC response ID matching and improve SSE error reporting 2026-04-16 16:26:33 +08:00