Commit Graph

880 Commits

Author SHA1 Message Date
Cowork 3P
8b91b9a434 update architecture docs 2026-06-05 06:59:42 +08:00
Cowork 3P
23db50d40e Merge branch 'main' into release/v1.1.4
# Conflicts:
#	lib/features/desktop/desktop_client.dart
#	test/features/desktop/desktop_client_test.dart
2026-06-05 06:21:58 +08:00
Cowork 3P
c4191fa5c9 merge: poll openclaw task handle to terminal snapshot 2026-06-05 06:16:14 +08:00
Cowork 3P
4d43a4f0e1 fix: poll openclaw task handle to terminal snapshot 2026-06-05 06:16:05 +08:00
Cowork 3P
91caef8908 fix: use default native track attach for desktop stream 2026-06-05 06:13:18 +08:00
Cowork 3P
a307762385 merge: preserve openclaw failure artifacts 2026-06-04 23:00:06 +08:00
Cowork 3P
a05318324b fix: preserve openclaw failure artifacts 2026-06-04 22:59:56 +08:00
Cowork 3P
60ed369df7 refactor: remove stale runtime fallbacks 2026-06-04 22:38:09 +08:00
Cowork 3P
1b3a3b5c4a Simplify RTCVideoView constraints and disable adaptive resolution by default 2026-06-04 16:27:08 +08:00
Cowork 3P
644effafc4 fix desktop workspace stream fallback 2026-06-04 15:45:59 +08:00
Cowork 3P
92f81eb27a 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
4ed77a6d53 Fix WebRTC desktop video stream rendering and inputs 2026-06-04 16:14:15 +08:00
Cowork 3P
de58f438ac 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
7573780956 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
74b9d1814d docs: add architecture README with categorized navigation 2026-06-04 06:32:27 +00:00
Cowork 3P
fdda0b7d85 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
376797a553 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
a908b5118f 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
db956dba2f Merge branch 'release/v1.1.4' into main 2026-06-04 12:57:57 +08:00
Cowork 3P
fcec31e9a9 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
432a39d28d refactor(skills): fix allowErrorPayload validation, improve auto-refresh guard 2026-06-04 04:26:03 +00:00
Cowork 3P
eb58364db6 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
0d29a1713c feat: improve webrtc keyboard mapping and add adaptive resolution default 2026-06-04 11:00:55 +08:00
Haitao Pan
62a3c8e2af feat: improve webrtc keyboard mapping and add adaptive resolution default 2026-06-04 11:00:31 +08:00
Haitao Pan
e8c1b7deb6 refactor(ui): eliminate unowned helper sprawl in assistant skill picker 2026-06-04 10:08:02 +08:00
Haitao Pan
0b5f07a86b fix(runtime): restore skills loading and group rendering 2026-06-04 09:40:16 +08:00
Haitao Pan
e269dc55f0 feat: add collapse toggle to desktop control panel 2026-06-04 09:25:20 +08:00
Haitao Pan
ebf315bbef Merge: resolve conflict in gateway_runtime_bridge_skills_test 2026-06-04 09:15:10 +08:00
Haitao Pan
3d1d037e1a fix: WebRTC remote desktop connection, cleanup local fallback, and ignore .gradle cache 2026-06-04 09:12:08 +08:00
Haitao Pan
26a04b29f3 test: stabilize OpenClaw gateway active slot regression 2026-06-04 06:55:41 +08:00
Haitao Pan
5f43ffa188 fix(ci): parse provider catalog and gateway providers from capabilities fallback 2026-06-03 17:11:12 +08:00
Haitao Pan
71f0f98946 fix: load nested bridge skills status 2026-06-03 16:53:51 +08:00
Haitao Pan
0fdac8aedd chore: prepare release v1.1.4 (app store compliance, remote desktop fixes, ci verification) 2026-06-03 15:52:44 +08:00
Haitao Pan
fe1502520d feat: add runtime logs tab to settings page 2026-06-03 14:29:37 +08:00
Haitao Pan
1470a67a06 fix: revert sdpOffer to String to match Bridge SDP expectations 2026-06-03 12:44:19 +08:00
Haitao Pan
beda7fc2e6 fix(webrtc): pass SDP offer and answer as object to conform to backend format 2026-06-03 12:34:26 +08:00
Haitao Pan
842227a4d5 refactor: simplify remote desktop UI and add maximize toggle 2026-06-03 11:47:04 +08:00
Haitao Pan
81ecfba85a feat: Remote Desktop UI and Client WebRTC Integration 2026-06-03 10:50:06 +08:00
Haitao Pan
c4ca5a2c34 Preserve artifacts after interrupted bridge responses 2026-06-02 16:21:17 +08:00
Haitao Pan
55a1ce2af4 Reassociate OpenClaw tasks through Bridge control plane 2026-06-02 11:58:40 +08:00
Haitao Pan
177fdcb46a feat(openclaw): implement artifact sync and ignore policies 2026-06-02 11:14:07 +08:00
Haitao Pan
e3a681e443 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
e5709ef8e7 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
38a2d80e3c fix(openclaw): keep long artifact recovery synced 2026-06-02 07:36:05 +08:00
Haitao Pan
464da385b6 test(app): align thread artifact isolation assertions 2026-06-02 06:21:31 +08:00
Haitao Pan
d31453ebac fix(openclaw): recover long SSE task artifacts 2026-06-02 06:16:27 +08:00
Haitao Pan
64862bdeb9 fix(openclaw): recover final task snapshots 2026-06-02 04:24:00 +08:00
Haitao Pan
d51a4b0678 chore(app): refresh build metadata 2026-06-02 01:15:46 +08:00
Haitao Pan
e0d840d956 fix(openclaw): keep artifact runs session scoped 2026-06-02 00:48:56 +08:00
Haitao Pan
6d37812c10 Merge branch 'release/v1.1.4'
# Conflicts:
#	test/features/assistant/assistant_page_session_binding_test.dart
2026-06-01 13:52:18 +08:00