Commit Graph

10 Commits

Author SHA1 Message Date
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
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
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
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
3d1d037e1a fix: WebRTC remote desktop connection, cleanup local fallback, and ignore .gradle cache 2026-06-04 09:12:08 +08:00
Haitao Pan
a0667f61c1 fix: lazy load bridge OpenClaw skills 2026-05-23 10:41:08 +08:00
Haitao Pan
0fdb560ddb Clean C/S surfaces down to assistant and settings 2026-04-13 12:14:12 +08:00
Haitao Pan
6c92d3488b refactor: remove Dart part mechanism across lib and test 2026-03-28 17:06:52 +08:00