Commit Graph

910 Commits

Author SHA1 Message Date
Haitao Pan
73dc6ca0ae Merge OpenClaw thin adapter refactor 2026-06-06 07:56:47 +08:00
Haitao Pan
c16704b052 Refactor OpenClaw task integration as thin adapter 2026-06-06 07:56:32 +08:00
Haitao Pan
248d4b7013 refactor: explicitly pass openclawSessionKey in task start 2026-06-06 07:24:59 +08:00
Haitao Pan
ea781b5206 refactor/app-thread-key 2026-06-06 06:51:30 +08:00
Haitao Pan
495af092c5 Add OpenClaw thin adapter refactor plan 2026-06-05 21:55:15 +08:00
Haitao Pan
046020d8d7 Remove Patrol from macOS package 2026-06-05 21:47:08 +08:00
Haitao Pan
0a352b8b5b Merge release/v1.1.4 OpenClaw artifact contract updates 2026-06-05 21:25:46 +08:00
Haitao Pan
a6879d9d1f feat: pass OpenClaw artifact dir whitelist 2026-06-05 21:25:29 +08:00
Haitao Pan
009e96ae26 Merge release/v1.1.4 OpenClaw artifact docs 2026-06-05 21:24:09 +08:00
Haitao Pan
5f3dc974aa Document OpenClaw artifact dirs protocol boundary 2026-06-05 21:23:56 +08:00
Haitao Pan
ea67604986 Merge branch 'fix/ci-no-rg-and-analyzer-cleanup' 2026-06-05 19:29:46 +08:00
Haitao Pan
a0aec84615 fix(ci): drop ripgrep dependency from check-no-app-ffi.sh
The Flutter verification lane runs on Ubuntu 22.04 without ripgrep
installed, so the FFI integration guard silently fell through and
printed 'No app-side Codex FFI integration artifacts found' on every
run. Replace rg with the POSIX grep -RInE that ships with the runner,
keep the same excludes (check-no-app-ffi.sh, Pods, ephemeral, build,
.dart_tool) and emit the actual offending matches so the gate fails
loudly when a forbidden reference reappears.
2026-06-05 19:29:39 +08:00
Haitao Pan
53875ff37b fix(chat): drop root-level expectedArtifactDirs to satisfy chat.send schema
- Remove the unexpected property at the root of gateway task metadata.
  Keep the value nested in xworkmateTaskArtifactContract where the
  OpenClaw chat.send schema allows it (-32002: invalid chat.send params).
- Drop dead local vars and the unused asInt helper in OpenClaw task
  association parsing.
- Remove the obsolete 'sendChatMessage restarts before handling
  OpenClaw artifact guard results' test superseded by the new terminal
  artifact failure test.
2026-06-05 19:12:31 +08:00
Haitao Pan
c98bce9dde fix(ci): keep macos/ios build lanes running when Apple signing secrets are missing
The release preflight used to set should_build_platform=false whenever any
Apple signing secret was unset, which silently skipped the entire macos dmg
and ios ipa lanes (build + upload gated on that flag). Result: releases only
shipped linux, windows and android artifacts even when the iOS/macOS lanes
were otherwise healthy.

Make the preflight always release the lane, but emit a :⚠️: and
annotate the skip_reason when a secret is missing. The iOS branch in
build_matrix_artifacts.sh now picks the signed vs unsigned build path based
on actual secret availability instead of should_release alone, so it falls
back to flutter build ios --no-codesign + zip Runner.app whenever a secret
is absent. package-flutter-mac-app.sh already handled the no-secret case
locally (ad-hoc codesign --sign -) and needs no change.

Behavior matrix:
  macos: secret present -> signed DMG; secret missing -> unsigned DMG
  ios:   secret present + release -> signed IPA
         secret present + non-release -> unsigned zip
         secret missing (any) -> unsigned zip
2026-06-05 18:39:25 +08:00
Haitao Pan
6d5122682c refactor: Remove OpenClaw rigid time limits and false positive no-exported-artifacts judgment 2026-06-05 18:10:34 +08:00
Haitao Pan
7047a4f38b fix(assistant): clear pending tool calls when task completes to fix sticky running status 2026-06-05 17:51:18 +08:00
Haitao Pan
0b1373c6c1 fix: resolve openclaw partial artifacts and eliminate legacy fallback code 2026-06-05 17:30:14 +08:00
Haitao Pan
dd02ad4337 merge: fix openclaw terminal snapshot sync 2026-06-05 17:13:08 +08:00
Haitao Pan
debd54e14c fix: sync openclaw terminal snapshots in app 2026-06-05 17:13:05 +08:00
Haitao Pan
5909e6518b fix: allow stopping archived tasks 2026-06-05 16:59:41 +08:00
Haitao Pan
2f8a047798 add design doc: multi-session-plugin-optimization 2026-06-05 14:53:47 +08:00
Haitao Pan
1e20c8e6ed fix: merged cleanup branch and stashed fixes 2026-06-05 13:42:21 +08:00
Haitao Pan
1d5f5a1440 fix(arch): conservative fallback for gateway error codes 2026-06-05 13:41:30 +08:00
Haitao Pan
3e20fcb504 fix(arch): A1-A3 app layer anti-patterns cleanup 2026-06-05 13:05:04 +08:00
Haitao Pan
b11df437ac fix: remaining webrtc stream and test artifact changes 2026-06-05 12:49:46 +08:00
Haitao Pan
1878ce1bb2 fix(webrtc): resolve remote desktop black screen by properly binding remote video tracks and removing legacy Plan B constraints 2026-06-05 12:38:43 +08:00
Haitao Pan
3522bb7b99 docs: add cross-repo architecture chain maps and risk analysis
- Add 4 chain maps: task-execution, artifact-lifecycle, session-recovery, bridge-distributed
- Add cross-repo call analysis with top-10 fragile points
- Update AGENTS.md with 'Cross-Repo Architecture Chain Maps' section
- Document artifact path gap: OpenClaw tools output to ~/.openclaw/media/ but plugin export scans tasks/<session>/<run>/
2026-06-05 02:54:11 +00:00
Cowork 3P
f8449d42e7 Merge branch 'codex/openclaw-final-deliverables' into release/v1.1.4
# Conflicts:
#	docs/architecture/cross-repo-task-state-workflow.md
#	test/runtime/assistant_execution_target_test.dart
2026-06-05 07:47:04 +08:00
Cowork 3P
3b08995c0f feat(xworkmate): optimize desktop thread actions and Go task service client 2026-06-05 07:40:25 +08:00
Cowork 3P
77be6981cc fix: finalize openclaw task polling results 2026-06-05 07:30:51 +08:00
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