Commit Graph

321 Commits

Author SHA1 Message Date
Haitao Pan
90aaa084b0 fix: use bridge session lifecycle methods 2026-04-24 10:09:20 +08:00
Haitao Pan
5de94ca089 fix: align routing resolve payload 2026-04-23 16:16:29 +08:00
Haitao Pan
e608f71e5a chore: sync runtime protocol docs 2026-04-23 14:58:18 +08:00
Haitao Pan
ca34af24a7 Fix bridge ACP provider endpoint normalization 2026-04-23 09:30:36 +08:00
Haitao Pan
19f1ce306f Refine bridge routing and settings cleanup 2026-04-22 00:49:41 +08:00
Haitao Pan
99796e238c Refactor bridge runtime routing 2026-04-21 16:28:26 +08:00
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
9933183a80 Expose Hermes in bridge provider catalog 2026-04-20 17:59:33 +08:00
Haitao Pan
af1a4e5661 Refine account sync bridge state model 2026-04-19 19:42:00 +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
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
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
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
1fe7de82a9 fix(acp): ensure JSON-RPC response ID matching and improve SSE error reporting 2026-04-16 16:26:33 +08:00
Haitao Pan
8fa349c483 Fix gateway routing when provider catalog is empty 2026-04-16 13:54:33 +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
77fb493edd Use direct profile sync for account bridge setup 2026-04-13 19:28:53 +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
b5abc8bf09 Fix ACP bearer auth normalization 2026-04-13 12:44:27 +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
895c34dd9d Remove desktop bridge legacy chain 2026-04-13 11:00:34 +08:00
Haitao Pan
add6d0eb95 Fix managed bridge auth sync and offline connection state 2026-04-13 10:07:46 +08:00
Haitao Pan
ce4f272d1d Remove app-side pairingRequired connection state 2026-04-13 09:24:06 +08:00
Haitao Pan
1c539d437f Remove managed local bridge mode 2026-04-12 22:09:20 +08:00
Haitao Pan
c1d9b64a2c fix: recover bridge server sync state and hide stale model labels 2026-04-12 21:03:31 +08:00
Haitao Pan
edd9a5993c Refine assistant task dialog mode mapping 2026-04-12 19:51:04 +08:00
Haitao Pan
1171f12937 Merge branch 'codex/cleanup-single-agent-garbage' 2026-04-12 18:40:21 +08:00
Haitao Pan
d7c055940f cleanup assistant single-agent code paths 2026-04-12 18:34:28 +08:00
Haitao Pan
e26ba6c680 Fix account sync and disconnect state updates 2026-04-12 18:18:40 +08:00
Haitao Pan
3cfae35b08 Clean bridge provider unavailable UX copy 2026-04-12 16:41:38 +08:00
Haitao Pan
53d411fb9e Refactor bridge provider readiness and trim stale tests 2026-04-12 15:42:15 +08:00
Haitao Pan
64e14beb70 Remove local CLI and provider mirror decisions 2026-04-12 12:23:00 +08:00
Haitao Pan
5db02c6aaa Remove gateway fallback from bridge task runtime 2026-04-12 11:34:12 +08:00
Haitao Pan
f4a4d6ad4b Route assistant threads through canonical bridge entry 2026-04-12 08:59:26 +08:00
Haitao Pan
47e2909cd7 Unify bridge sync gating for ACP sessions 2026-04-11 22:46:06 +08:00
Haitao Pan
e7eeef193c Unify bridge sync field names 2026-04-11 20:25:40 +08:00
Haitao Pan
8ab640bc5a Show bridge resultSummary in task output 2026-04-11 18:44:17 +08:00
Haitao Pan
d19d40e594 Remove project selection from task threads 2026-04-11 18:25:26 +08:00
Haitao Pan
340f16078d Simplify bridge login sync 2026-04-11 17:32:30 +08:00
Haitao Pan
31aba6d346 Align app bridge API contract 2026-04-11 17:04:33 +08:00
Haitao Pan
24813f95e7 Refactor app execution semantics to agent and gateway 2026-04-11 16:23:26 +08:00
Haitao Pan
fd9ddbb792 Merge branch 'codex/remove-auto-mode' 2026-04-11 14:49:21 +08:00
Haitao Pan
65e46cab10 Remove app-side auto bridge provider mode 2026-04-11 14:49:09 +08:00
Haitao Pan
5ab79c7398 Remove bundled app helper binaries 2026-04-11 14:45:50 +08:00
Haitao Pan
483663c598 Enforce bridge-only production routing in app 2026-04-11 13:50:11 +08:00
Haitao Pan
073967ee78 Refactor settings account login flow 2026-04-11 12:45:14 +08:00
Haitao Pan
75e2a83ae7 Merge branch 'codex/fix-gemini-agent-mode' into codex/merge-temp-all 2026-04-11 12:02:58 +08:00
Haitao Pan
37cefdfec6 refactor: move app settings to v1 single-file snapshot 2026-04-11 12:02:32 +08:00
Haitao Pan
24cd132a74 fix: share ACP bridge across desktop runtimes 2026-04-11 12:02:32 +08:00
Haitao Pan
bf33d90d33 Use bridge session client for desktop gateway runtime 2026-04-11 09:59:21 +08:00
Haitao Pan
635107ab1a fix: fully clear account state on logout 2026-04-11 09:15:08 +08:00
Haitao Pan
89346b0831 merge: absorb codex/remove-silent-local-fallback
# Conflicts:
#	lib/app/app_controller_desktop_single_agent_go_task_flow.dart
2026-04-11 09:00:50 +08:00
Haitao Pan
56e80fef60 Add bridge-to-app remote provider test coverage 2026-04-11 08:57:09 +08:00
Haitao Pan
288da17a47 refactor: remove silent local gateway fallback 2026-04-11 08:53:51 +08:00
Haitao Pan
13f39dcb8a refactor: consume bridge-owned single-agent routing 2026-04-10 21:20:35 +08:00
Haitao Pan
94ecedee84 refactor: remove stale app-driven external ACP provider sync 2026-04-10 21:00:18 +08:00
Haitao Pan
e0a96002f3 merge: settings screenshot-only cleanup 2026-04-10 16:51:20 +08:00
Haitao Pan
5ad130e845 remove app legacy account and secret compat 2026-04-10 16:50:50 +08:00
Haitao Pan
e1e0ddb456 refactor(settings): keep screenshot-only settings scope and remove test assets 2026-04-10 16:50:27 +08:00
Haitao Pan
0855bff112 Merge branch 'codex/fix-remote-gateway-acp' 2026-04-10 15:39:12 +08:00
Haitao Pan
7b89c44499 fix: remove stale ACP gateway fallback routing 2026-04-10 15:37:50 +08:00
Haitao Pan
b94f0cb849 Support bridge bootstrap QR and codes 2026-04-10 15:36:05 +08:00
Haitao Pan
0391039c18 Implement local-first single-agent artifact sync 2026-04-10 14:59:42 +08:00
Haitao Pan
97cb25a890 Refactor single-agent providers to bridge catalog 2026-04-10 14:20:39 +08:00
Haitao Pan
74daa6461d Align bridge core path and secure account sync 2026-04-10 11:55:36 +08:00
Haitao Pan
c8dc5fdb53 fix: surface ACP failure diagnostics in bridge flows 2026-04-10 11:22:59 +08:00
Haitao Pan
7f443a228c fix: preserve external ACP workspace resolution 2026-04-10 10:46:46 +08:00
Haitao Pan
6aa69bdf80 fix single-agent workspace binding 2026-04-10 10:18:02 +08:00
Haitao Pan
f8e4865c41 refactor: collapse assistant modes into gateway grouping 2026-04-09 10:52:25 +08:00
Haitao Pan
fe60e8efba Add ACP bridge server mode card 2026-04-09 07:15:12 +08:00
Haitao Pan
b8692d69ba fix: normalize gateway status and ACP endpoint diagnostics 2026-04-08 21:13:27 +08:00
Haitao Pan
6b15741b99 cleanup: switch desktop ACP paths to direct Go stdio bridge 2026-04-08 20:56:15 +08:00
Haitao Pan
792f7920e9 cleanup: remove ACP bypass fallbacks and stale architecture docs 2026-04-08 20:48:06 +08:00
Haitao Pan
e51eb16e73 merge: unify single-agent task flow under ACP 2026-04-08 20:27:45 +08:00
Haitao Pan
b4bccf8300 Unify single-agent task flow under ACP 2026-04-08 20:27:35 +08:00
Haitao Pan
22582aa84c fix: harden ACP websocket fallback for openclaw gateway 2026-04-08 20:07:47 +08:00
Haitao Pan
69a339e91d chore: checkpoint current workspace changes 2026-04-08 20:02:25 +08:00
Haitao Pan
34e1e1250e Refine ACP platform boundaries and tests 2026-04-08 19:51:26 +08:00
Haitao Pan
132b1340b9 merge: pairing status sync
# Conflicts:
#	test/features/settings_page_suite.dart
2026-04-08 18:48:44 +08:00
Haitao Pan
80da85d65d fix: sync pairing status with connected gateway state 2026-04-08 18:48:31 +08:00
Haitao Pan
a8049f63e1 fix: retry ACP websocket after plain-text 404 2026-04-08 18:28:16 +08:00
Haitao Pan
0165eeff5a refactor: unify task control plane 2026-04-08 18:14:26 +08:00
Haitao Pan
84f2e69d12 Fix OpenClaw status and Go task flow 2026-04-08 17:23:07 +08:00
Haitao Pan
c5b0489654 Remove legacy auto execution target routing 2026-04-06 19:01:24 +08:00
Haitao Pan
691ee9b250 Refactor single-agent execution chain 2026-04-06 16:01:27 +08:00
Haitao Pan
e7aa5d2053 Fix stale single-agent provider bindings 2026-04-06 15:37:44 +08:00
Haitao Pan
0df2042c4a Refine task sidebar target visibility and title persistence 2026-04-06 14:58:26 +08:00
Haitao Pan
1271562cf1 fix: sync custom single-agent providers before execution 2026-04-06 14:33:20 +08:00
Haitao Pan
de6f4677ca Fix chat.send metadata regression across gateway clients 2026-04-06 13:53:25 +08:00
Haitao Pan
2210b5f7f1 Fix OpenClaw chat.send metadata regression 2026-04-06 13:50:29 +08:00
Haitao Pan
0e0ec2fbc2 Refactor thread state and runtime naming alignment 2026-04-06 12:32:59 +08:00
Haitao Pan
abe3815d2e refactor: route task threads through go task service 2026-04-06 11:58:54 +08:00
Haitao Pan
ba4454ebd2 Clean legacy task thread state plumbing 2026-04-06 10:27:01 +08:00
Haitao Pan
e109e43d99 Bundle go-core helper with macOS app and drop external CLI fallback 2026-04-06 09:39:16 +08:00
Haitao Pan
fbbf4b8375 Fix desktop GoAgentCore endpoint routing 2026-04-06 07:00:49 +08:00
Haitao Pan
d6b2e1c181 Refactor TaskThread workspace binding semantics 2026-04-06 06:48:12 +08:00
Haitao Pan
c43a8d9d10 Implement ACP routing v2 integration flow 2026-04-05 21:55:41 +08:00
Haitao Pan
b542229311 Fix ACP endpoint scheme handling 2026-04-05 17:58:55 +08:00
Haitao Pan
4e02c4a227 Support prefixed ACP endpoints 2026-04-04 18:34:35 +08:00
Haitao Pan
4d8d4cee75 Fix repeated gateway pairing loop 2026-04-04 15:35:57 +08:00
Haitao Pan
a0502e072a Handle ACP HTML fallback errors 2026-04-04 15:29:04 +08:00
Haitao Pan
a4ca01d7bc Tighten localhost auth bypass and add arbitrary secret refs 2026-04-04 15:04:01 +08:00
Haitao Pan
6ca0740be0 Implement intent router state machine v2 2026-04-03 20:33:16 +08:00
Haitao Pan
9148b1e609 Merge branch 'codex/auto-task-dialog-mode' 2026-04-03 19:55:57 +08:00
Haitao Pan
283dcdd43c Add top-level Auto task dialog mode 2026-04-03 19:55:47 +08:00
Haitao Pan
85eab1806c Clean up auto routing gateway terminology 2026-04-03 19:45:37 +08:00
Haitao Pan
e018fc15dd Implement intent router skill memory flow 2026-04-03 09:52:31 +08:00
Haitao Pan
462268e0f2 feat: add account login sync with mfa 2026-04-02 08:29:55 +08:00
Haitao Pan
27ed4db18f feat(account): add secure remote sync and installed-skill e2e 2026-03-30 19:35:53 +08:00
Haitao Pan
dd5edb39ff Add workspace follow action to sidebar card 2026-03-29 21:01:34 +08:00
Haitao Pan
7c68bcdc39 Add Vault settings UI and go-core KV bridge 2026-03-29 17:04:29 +08:00
Haitao Pan
31d83cfde9 Batch 6: normalize gateway chat run streaming 2026-03-29 16:56:58 +08:00
Haitao Pan
f16a07cc6c Batch 5: remove silent desktop gateway fallback 2026-03-29 16:48:45 +08:00
Haitao Pan
9542dc3768 Batch 4: sink gateway runtime into go core 2026-03-29 16:29:00 +08:00
Haitao Pan
b10c42d11e refactor(runtime): move multi-agent mounts into go-core 2026-03-29 15:48:28 +08:00
Haitao Pan
027a63d629 refactor(runtime): move dispatch resolution into go-core 2026-03-29 15:17:49 +08:00
Haitao Pan
9d475123bb refactor(runtime): retire legacy direct single-agent path 2026-03-29 14:56:27 +08:00
Haitao Pan
1f4b30cd47 Migrate task thread runtime to Go Agent-core 2026-03-29 12:23:03 +08:00
Haitao Pan
79fd10cfa1 Refactor assistant thread model to TaskThread 2026-03-28 22:30:44 +08:00
Haitao Pan
e3760b3638 refactor: execute stage0-5 workflow and tighten closure guards 2026-03-28 19:45:03 +08:00
Haitao Pan
6c92d3488b refactor: remove Dart part mechanism across lib and test 2026-03-28 17:06:52 +08:00
Haitao Pan
ef18a068be refactor thread workspace resolution and align architecture docs 2026-03-28 14:52:14 +08:00
Haitao Pan
0964bff6be refactor runtime cores into focused parts 2026-03-28 11:41:26 +08:00
Haitao Pan
769b9d5b70 Refactor gateway runtime into focused parts 2026-03-28 11:41:17 +08:00
Haitao Pan
bec99b6d5d refactor(tdd): split oversized first-party files with part-based modules and LOC guard 2026-03-28 10:30:45 +08:00
Haitao Pan
5e15e7f6ad fix(single-agent): honor thread cwd for debug sessions 2026-03-28 09:40:07 +08:00
Haitao Pan
2a65d1743a fix(assistant): preserve resolved single-agent thread workspace 2026-03-27 20:38:34 +08:00
Haitao Pan
7187c4843a fix(single-agent): reject empty assistant REST completions 2026-03-27 18:47:42 +08:00
Haitao Pan
00b07afa12 Refactor single-agent provider planning 2026-03-27 17:38:15 +08:00
Haitao Pan
de010bab5e Refine desktop agent launch policy 2026-03-27 15:31:46 +08:00
Haitao Pan
2aa293b7e1 Split single-agent transports by protocol 2026-03-27 11:44:49 +08:00
Haitao Pan
1922e1d817 Classify single-agent endpoint modes 2026-03-27 11:34:15 +08:00
Haitao Pan
b39be2949b Fix OpenCode single-agent ACP transport 2026-03-27 11:21:25 +08:00
Haitao Pan
691dd39597 fix: harden codex model refresh handling 2026-03-27 00:30:22 +08:00
Haitao Pan
5a7dbe872b Clean legacy ACP placeholder providers 2026-03-26 18:11:47 +08:00
Haitao Pan
153db679f5 Refine assistant provider settings flows 2026-03-26 17:55:38 +08:00
Haitao Pan
508d6cc330 Support absolute local skill package imports 2026-03-26 17:12:37 +08:00
Haitao Pan
ac335f24c7 Add focused quick actions for language and theme 2026-03-26 16:41:21 +08:00
Haitao Pan
6aa87e2ff5 Clean repo skills config and support custom ACP endpoints 2026-03-26 11:59:28 +08:00
Haitao Pan
12a0a44383 feat: support custom external ACP providers 2026-03-26 10:01:28 +08:00
Haitao Pan
e20250fcf3 fix(assistant): clean single-agent skill loading order 2026-03-26 09:45:18 +08:00