Commit Graph

876 Commits

Author SHA1 Message Date
Cowork 3P
8667276894 fix: poll openclaw task handle to terminal snapshot 2026-06-05 06:16:05 +08:00
Cowork 3P
2f333fa803 fix: use default native track attach for desktop stream 2026-06-05 06:13:18 +08:00
Cowork 3P
133dac3487 merge: preserve openclaw failure artifacts 2026-06-04 23:00:06 +08:00
Cowork 3P
184baf0191 fix: preserve openclaw failure artifacts 2026-06-04 22:59:56 +08:00
Cowork 3P
5fb72adff3 refactor: remove stale runtime fallbacks 2026-06-04 22:38:09 +08:00
Cowork 3P
2296448153 Simplify RTCVideoView constraints and disable adaptive resolution by default 2026-06-04 16:27:08 +08:00
Cowork 3P
442fbc5e9f refactor: eliminate dead codex_runtime methods, add anti-fallback policy
codex_runtime.dart (-290 lines):
- Remove 17 dead methods behind UnsupportedError guard
  (findCodexBinary, startStdio, request, startThread, resumeThread,
   sendMessage, interrupt, getAccount, listModels, listSkills, stop,
   dispose, _resolveLaunchConfiguration + 3 @visibleForTesting wrappers)
- Remove 10 dead fields (_process, _state, _pendingRequests, _events, etc.)
- Remove ChangeNotifier mixin (nothing to notify)
- Keep only model types, enums, and standalone helper functions

AGENTS.md (+21 lines):
- Add Fallback and Dead Code Elimination Policy section
- Forbidden: cascading fallbacks, lingering DEPRECATED code,
  dead code behind guards, silent catch blocks, redundant indirection,
  excessive JSON key probing
- Required: inline WHY comments on every retained fallback chain

Additional cleanup:
- gateway_acp_client.dart: remove unused _GatewayAcpSessionUpdate class
- runtime_controllers_entities.dart: replace _canRefreshThroughRuntime
  with runtimeInternal.isConnected
- runtime_models_gateway_entities.dart: relocate CollaborationAttachment
2026-06-04 07:13:29 +00:00
Cowork 3P
6eea7aea6d Fix WebRTC desktop video stream rendering and inputs 2026-06-04 16:14:15 +08:00
Cowork 3P
cdd80d002a docs: rewrite README — fix repo name, remove stale multi-agent refs, add dependencies
- Title: XWorkmate → xworkmate-app
- Remove references to deleted multi-agent orchestration
- Fix download links: xworkmate.svc.plus → xworkmate-app
- Replace machine-specific /Users/shenlan/... paths with relative links
- Add Dependencies section: xworkmate-bridge, xworkspace-core-skills,
  openclaw-multi-session-plugins, playbooks
- Consolidate Learn More links to repo-relative paths
2026-06-04 07:01:18 +00:00
Cowork 3P
141b1e36f8 docs(architecture): fix critical accuracy errors, stale refs, paths
Accuracy fixes:
- app-orchestration.md: remove non-existent constructor params
- models-and-config.md: remove wrong multiAgent field from SettingsSnapshot
- runtime-contracts.md: add missing multiAgent/collaborationMode/routingHint fields

Stale multi-agent refs:
- unified-routing-architecture.md: agent/multi-agent → agent (含 bridge 转发)
- bridge-runtime-routing-map.md: multi-agent tasks → multi-agent forwarding tasks
- cross-repo-task-state-workflow.md: remove multi-agent orchestration from mermaid
- runtime-contracts.md, feature-surfaces.md: 多 agent → agent

Organization:
- Move cloud-session-service and stage4-helper to archive/
- Fix 22 xworkmate/ → xworkmate-app/ paths in archive doc
- Fix XWorkmate.svc.plus repo name in simple-theme-default.md
- Update README.md index and public-api/README.md coverage stats (132/590)
2026-06-04 06:53:38 +00:00
Cowork 3P
a8db76de8d docs: add architecture README with categorized navigation 2026-06-04 06:32:27 +00:00
Cowork 3P
b3da52d0c5 test,docs: fix all stale references to deleted multi-agent subsystem
Test fixes (6 files, -303 lines):
- Delete app_controller_acp_mount_resilience_test.dart (entirely about deleted types)
- Remove multi-agent test cases from gateway_acp_client_auth_test.dart
- Rename _manifestWithDesktopMultiAgentEnabled → _defaultDesktopManifest
  in assistant_execution_target_test, assistant_lower_pane_test,
  mobile_assistant_page_test

Docs fixes (6 files):
- Regenerate public-symbol-inventory.json/md via make docs-public-api
- Remove multi-agent sections from public-api/models-and-config.md,
  app-orchestration.md, runtime-contracts.md
- Fix xworkmate/ → xworkmate-app/ paths in cloud-session doc
- Remove multiAgent references from app-external-service-api-test-matrix.md
2026-06-04 06:31:45 +00:00
Cowork 3P
c320992b95 docs(cases): clean up test cases — remove ai-security-evolution scenario, fix issues
- Delete ai-security-evolution-content-scenario/ (8 files, referenced by removed MANUAL-LOCAL-001A)
- Remove MANUAL-LOCAL-001A from core-integration-manual-cases.md
- Fix duplicate section numbering (#5#6 for general thread scenarios)
- Remove misplaced workspace sync rules from MANUAL-ACP-004 (bridge auth case)
- Update README.md index
2026-06-04 06:13:38 +00:00
Cowork 3P
c84843d617 refactor: remove multi-agent orchestration subsystem (Path B)
Remove the entire multi-agent collaboration execution path, including:
- MultiAgentOrchestrator and its 4-phase pipeline (Architect→Engineer→Tester→Iteration)
- ARIS framework preset and mount infrastructure
- Hardcoded model defaults (kimi-k2.5, minimax-m2.7, glm-5)
- Deprecated runCliPromptInternal() and its fallback call chain
- All related types: MultiAgentConfig, AgentWorkerConfig, MultiAgentRole, etc.

This collapses the architecture to a single clean path:
Flutter → GoTaskServiceClient → ACP Transport → Go Bridge → Remote Execution

2886 lines removed across 41 files.
2026-06-04 05:34:58 +00:00
Cowork 3P
07dffe5e8f Merge branch 'release/v1.1.4' into main 2026-06-04 12:57:57 +08:00
Cowork 3P
f50e5c4d0e feat(ui): apply BoxFit.fill for remote desktop WebRTC view to ensure no blank spaces 2026-06-04 12:57:43 +08:00
Cowork 3P
49bce7e166 refactor(skills): fix allowErrorPayload validation, improve auto-refresh guard 2026-06-04 04:26:03 +00:00
Cowork 3P
f73dac3449 refactor(skills): clean Path B, add retry + auto-refresh, fix silent failures
- Remove Path B (direct WebSocket RPC), unify skills loading via ACP bridge sessionClient
- Delete skillsStatusPayloadInternal fragile nested-key parsing
- SkillsController: explicit error when offline (no more silent empty), auto-retry with 2s/4s backoff
- Auto-refresh on gateway connect via ChangeNotifier listener
- Gateway connect: concurrent Future.wait for independent controller refreshes
- UI: retry button in skill picker empty/error states
- Clean up skillsController from relayChildChangeInternal listeners
2026-06-04 03:48:29 +00:00
Haitao Pan
5fd8926c7d feat: improve webrtc keyboard mapping and add adaptive resolution default 2026-06-04 11:00:55 +08:00
Haitao Pan
a55d7030fd feat: improve webrtc keyboard mapping and add adaptive resolution default 2026-06-04 11:00:31 +08:00
Haitao Pan
f30b1e2eda refactor(ui): eliminate unowned helper sprawl in assistant skill picker 2026-06-04 10:08:02 +08:00
Haitao Pan
008b97b170 fix(runtime): restore skills loading and group rendering 2026-06-04 09:40:16 +08:00
Haitao Pan
a090b6215b feat: add collapse toggle to desktop control panel 2026-06-04 09:25:20 +08:00
Haitao Pan
9afcfb289e Merge: resolve conflict in gateway_runtime_bridge_skills_test 2026-06-04 09:15:10 +08:00
Haitao Pan
0dce7096d4 fix: WebRTC remote desktop connection, cleanup local fallback, and ignore .gradle cache 2026-06-04 09:12:08 +08:00
Haitao Pan
d86598335b test: stabilize OpenClaw gateway active slot regression 2026-06-04 06:55:41 +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
f5c85d4137 fix: load nested bridge skills status 2026-06-03 16:53:51 +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
ffae5b312a feat: add runtime logs tab to settings page 2026-06-03 14:29:37 +08:00
Haitao Pan
cacfd42449 fix: revert sdpOffer to String to match Bridge SDP expectations 2026-06-03 12:44:19 +08:00
Haitao Pan
9756feb5b4 fix(webrtc): pass SDP offer and answer as object to conform to backend format 2026-06-03 12:34:26 +08:00
Haitao Pan
c6f4bc6548 refactor: simplify remote desktop UI and add maximize toggle 2026-06-03 11:47:04 +08:00
Haitao Pan
1212f8cb41 feat: Remote Desktop UI and Client WebRTC Integration 2026-06-03 10:50:06 +08:00
Haitao Pan
b0544cfe05 Preserve artifacts after interrupted bridge responses 2026-06-02 16:21:17 +08:00
Haitao Pan
4bb846c674 Reassociate OpenClaw tasks through Bridge control plane 2026-06-02 11:58:40 +08:00
Haitao Pan
b30228ef18 feat(openclaw): implement artifact sync and ignore policies 2026-06-02 11:14:07 +08:00
Haitao Pan
604536c11c Merge branch 'codex/bridge-login-sync-repair-main' into release/v1.1.4
# Conflicts:
#	test/features/settings/settings_account_panel_test.dart
2026-06-02 10:12:51 +08:00
Haitao Pan
fa29b41fac Merge branch 'codex/openclaw-workspace-artifact-sync' into release/v1.1.4
# Conflicts:
#	lib/app/app_controller_desktop_runtime_helpers.dart
#	test/runtime/app_controller_thread_workspace_binding_test.dart
2026-06-02 10:12:06 +08:00
Haitao Pan
e262ecf247 fix(openclaw): keep long artifact recovery synced 2026-06-02 07:36:05 +08:00
Haitao Pan
421084cbf6 test(app): align thread artifact isolation assertions 2026-06-02 06:21:31 +08:00
Haitao Pan
74e4dc5e66 fix(openclaw): recover long SSE task artifacts 2026-06-02 06:16:27 +08:00
Haitao Pan
78ca2dbd6a fix(openclaw): recover final task snapshots 2026-06-02 04:24:00 +08:00
Haitao Pan
ffe2933ec6 chore(app): refresh build metadata 2026-06-02 01:15:46 +08:00
Haitao Pan
dff3fee221 fix(openclaw): keep artifact runs session scoped 2026-06-02 00:48:56 +08:00
Haitao Pan
5d47309b77 Merge branch 'release/v1.1.4'
# Conflicts:
#	test/features/assistant/assistant_page_session_binding_test.dart
2026-06-01 13:52:18 +08:00
Haitao Pan
c702576a75 fix: use OpenClaw gateway protocol 4 2026-06-01 13:50:38 +08:00
Haitao Pan
9e62cbe0d2 fix: use OpenClaw gateway protocol 4 2026-06-01 13:48:39 +08:00
Haitao Pan
b710d21173 Fix manual bridge save runtime config 2026-06-01 13:11:30 +08:00
Haitao Pan
5e4f86c9a6 fix: repair bridge login sync runtime state 2026-06-01 10:02:13 +08:00