Commit Graph

423 Commits

Author SHA1 Message Date
Haitao Pan
23adf1f176 Queue OpenClaw gateway tasks locally 2026-05-11 11:45:32 +08:00
Haitao Pan
0e9ccb7ed4 fix: restart gateway turns after acp interruption 2026-05-10 12:59:09 +08:00
Haitao Pan
e6d54fd07b fix: isolate same-prompt draft artifacts 2026-05-09 18:07:57 +08:00
Haitao Pan
564fa533ac fix: isolate task artifacts by current sync 2026-05-09 17:01:04 +08:00
Haitao Pan
093db7dfc5 fix: stabilize ACP gateway connect failures 2026-05-09 15:12:51 +08:00
Haitao Pan
92ea83cbda fix: keep OpenClaw task streams alive in app 2026-05-08 19:54:54 +08:00
Haitao Pan
db88b10ee0 fix: hide OpenClaw artifact guard diagnostics 2026-05-08 18:14:36 +08:00
Haitao Pan
828c3bac35 fix: use OpenClaw task submit endpoint 2026-05-08 17:25:26 +08:00
Haitao Pan
1239c59d42 feat: add assistant task runtime controls 2026-05-08 17:16:50 +08:00
Haitao Pan
f9fb3526b4 fix: preserve active assistant lifecycle during binding sync 2026-05-08 16:26:39 +08:00
Haitao Pan
f7f2a9caf8 fix: retry interrupted acp handshakes 2026-05-08 16:01:18 +08:00
Haitao Pan
833cc48e33 feat: isolate concurrent assistant task runs 2026-05-08 15:04:42 +08:00
Haitao Pan
e156ecf808 fix: preserve acp interrupted task results 2026-05-08 14:19:26 +08:00
Haitao Pan
4888bf9cca fix: stabilize ACP closed flow handling 2026-05-08 10:54:23 +08:00
Haitao Pan
5e3648db3b fix: continue ACP sessions after interrupted reads 2026-05-08 09:46:52 +08:00
Haitao Pan
77c761bcc1 fix: dedupe assistant chat messages 2026-05-07 19:34:19 +08:00
Haitao Pan
679ce97d7b fix: label openclaw socket closures 2026-05-07 17:47:27 +08:00
Haitao Pan
4540f8612f fix: route openclaw gateway routing hints 2026-05-07 09:14:15 +08:00
Haitao Pan
0197894698 fix: use openclaw task submit endpoint 2026-05-07 08:44:23 +08:00
Haitao Pan
3ee9404aa2 fix: route openclaw tasks through bridge rpc 2026-05-07 08:25:52 +08:00
Haitao Pan
a66fe27d30 fix: harden artifact download sync 2026-05-06 21:05:59 +08:00
Haitao Pan
1269fe0199 fix: remove openclaw artifact export fallback 2026-05-05 13:48:12 +08:00
Haitao Pan
7c4a63e732 fix: export openclaw artifacts from app fallback 2026-05-05 13:44:54 +08:00
Haitao Pan
896c04b899 refactor: remove stale skill routing paths 2026-05-05 12:46:41 +08:00
Haitao Pan
ebd4e5c35c fix: sync bridge artifacts into sidebar 2026-05-05 12:46:00 +08:00
Haitao Pan
827895638d fix: resume gateway chat sessions 2026-05-05 11:14:29 +08:00
Haitao Pan
16d4d5e221 fix: sync bridge artifacts and route openclaw tasks 2026-05-03 12:14:35 +08:00
Haitao Pan
50c20eec16 fix: route openclaw tasks via bridge gateway 2026-05-03 11:22:09 +08:00
Haitao Pan
6b542acc9a fix: clarify openclaw gateway offline error 2026-05-02 21:46:01 +08:00
Haitao Pan
d8be39f5cf fix: unify bridge gateway readiness 2026-05-02 19:52:59 +08:00
Haitao Pan
f73a7b55bd fix: route gateway execution through managed bridge 2026-05-02 12:10:08 +08:00
Haitao Pan
b582b1e815 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
b58b00f9d1 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
4164c9bad0 fix task workspace binding separation 2026-04-22 13:51:26 +08:00
Haitao Pan
eeaaec0458 fix bridge readiness checks 2026-04-22 10:17:51 +08:00
Haitao Pan
19f1ce306f Refine bridge routing and settings cleanup 2026-04-22 00:49:41 +08:00
Haitao Pan
a05d84bbeb Refine assistant bridge capability flow 2026-04-21 21:59:27 +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
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
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
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
8cc662e7d4 feat(settings): add manual bridge configuration tab to account settings 2026-04-17 16:28:27 +08:00
Haitao Pan
8fa349c483 Fix gateway routing when provider catalog is empty 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
Haitao Pan
1f977caee2 test: lock provider selection mainline contract 2026-04-14 13:56:58 +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
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
76d19e3186 fix(runtime): reuse matching gateway token for ACP auth 2026-04-13 14:48:54 +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
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
7934b1b1d9 Fix assistant provider selector and submit action 2026-04-12 19:06:06 +08:00
Haitao Pan
d7c055940f cleanup assistant single-agent code paths 2026-04-12 18:34:28 +08:00
Haitao Pan
3cfae35b08 Clean bridge provider unavailable UX copy 2026-04-12 16:41:38 +08:00
Haitao Pan
6db804f133 Merge branch 'codex/bridge-provider-catalog'
# Conflicts:
#	lib/app/app_controller_desktop_single_agent_go_task_flow.dart
#	lib/app/app_controller_desktop_thread_sessions.dart
#	test/features/assistant/assistant_page_composer_golden_test.dart
2026-04-12 15:44:27 +08:00
Haitao Pan
53d411fb9e Refactor bridge provider readiness and trim stale tests 2026-04-12 15:42:15 +08:00
Haitao Pan
e4d48d7979 Clean bridge provider routing and refresh repo instructions 2026-04-12 14:09:25 +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
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
1d40ed7bc7 Fix thread storage target sanitization 2026-04-11 17:15:48 +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
65e46cab10 Remove app-side auto bridge provider mode 2026-04-11 14:49:09 +08:00
Haitao Pan
483663c598 Enforce bridge-only production routing in app 2026-04-11 13:50:11 +08:00
Haitao Pan
be7331fa3d fix: align merged desktop ACP runtime wiring 2026-04-11 12:07:34 +08:00
Haitao Pan
61348d1985 Merge branch 'codex/remove-stale-app-runtime' into codex/merge-temp-all
# Conflicts:
#	lib/app/app_controller_desktop_runtime_coordination_impl.dart
#	lib/app/app_controller_desktop_runtime_helpers.dart
2026-04-11 12:03:54 +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
e4096864ab Merge branch 'codex/fix-settings-resync-logout' into codex/merge-temp-all 2026-04-11 12:02:56 +08:00
Haitao Pan
45e6ce4b4c refactor: remove stale single-agent runtime paths 2026-04-11 12:02:32 +08:00
Haitao Pan
37cefdfec6 refactor: move app settings to v1 single-file snapshot 2026-04-11 12:02:32 +08:00
Haitao Pan
9412149485 fix: keep settings account summary on canonical state 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
7f30ecbfb9 merge: absorb codex/cleanup-stale-local-gateway 2026-04-11 09:02:32 +08:00
Haitao Pan
f3770192a5 refactor: remove stale thread target fallback 2026-04-11 09:02:22 +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
952a26a6ac merge: absorb codex/bridge-owned-single-agent-wave2 2026-04-11 08:21:48 +08:00
Haitao Pan
06117e9f0c merge: consolidate CI and thread binding branch work 2026-04-11 08:20: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
aded63a41d Merge branch 'codex/provider-ui-cleanup' 2026-04-10 15:03:29 +08:00
Haitao Pan
1399187e6b Merge branch 'codex/dynamic-provider-source'
# Conflicts:
#	lib/app/app_controller_desktop_core.dart
#	test/runtime/acp_bridge_provider_hub_suite.dart
2026-04-10 15:03:26 +08:00
Haitao Pan
0391039c18 Implement local-first single-agent artifact sync 2026-04-10 14:59:42 +08:00
Haitao Pan
9e407bf090 Clean up bridge provider dialog copy 2026-04-10 14:59:39 +08:00
Haitao Pan
f1b461e26a Add dynamic bridge provider picker sources 2026-04-10 14:59:39 +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
dd90c66f35 feat: add settings sidebar back to chat action 2026-04-10 11:20:05 +08:00
Haitao Pan
6aa69bdf80 fix single-agent workspace binding 2026-04-10 10:18:02 +08:00
Haitao Pan
0fb0ccdf17 refactor: remove web surface from xworkmate-app 2026-04-09 11:19:40 +08:00
Haitao Pan
4d200b6faa Hide experimental gateway modes by default 2026-04-09 09:30:54 +08:00
Haitao Pan
c3ef4bbb60 Merge account and ACP settings into advanced config 2026-04-09 08:41:05 +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
a669453619 fix: restore single-agent error helper import 2026-04-08 20:35:42 +08:00
Haitao Pan
b4bccf8300 Unify single-agent task flow under ACP 2026-04-08 20:27:35 +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
a670a63663 fix(desktop): isolate new task thread history 2026-04-08 19:26:06 +08:00
Haitao Pan
0165eeff5a refactor: unify task control plane 2026-04-08 18:14:26 +08:00
Haitao Pan
646fe1639d Merge branch 'codex/fix-home-backend-status-sync' 2026-04-08 17:23:17 +08:00
Haitao Pan
84f2e69d12 Fix OpenClaw status and Go task flow 2026-04-08 17:23:07 +08:00
Haitao Pan
658395ab6a fix(assistant): keep single-agent selectable for new threads 2026-04-08 16:53:25 +08:00
Haitao Pan
ea4abe350b build: add test-all make targets 2026-04-08 16:37:12 +08:00
Haitao Pan
c5b0489654 Remove legacy auto execution target routing 2026-04-06 19:01:24 +08:00
Haitao Pan
45742bac3e fix(desktop): restore single-agent mode selection 2026-04-06 17:44:34 +08:00
Haitao Pan
eb502da43e refactor desktop single-agent mode selection 2026-04-06 17:23:03 +08:00
Haitao Pan
cd962b57fb fix: keep manual task target selection 2026-04-06 17:02:55 +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
cfc715f321 Merge branch 'codex/fix-target-refresh' 2026-04-06 15:15:16 +08:00
Haitao Pan
2ab83a30bc Fix gateway test pairing identity reuse 2026-04-06 15:15:10 +08:00
Haitao Pan
a2178d5591 Fix gateway target visibility after settings apply 2026-04-06 15:15:06 +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
e9670d5095 Hide auto task dialog mode when feature flag is disabled 2026-04-06 13:27:09 +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
6efa70ee8b Align strict TaskThread workspace semantics 2026-04-06 09:57:37 +08:00