xworkmate-app/lib/app
Haitao Pan ef849d7317 fix(prompt): simplify gateway workspace context to avoid conflicting paths (S5)
Every gateway turn's prompt prefix injected three near-duplicate absolute paths:
currentTaskWorkspace + localWorkspace + remoteWorkspaceHint. localWorkspace is the
App's LOCAL thread dir (~/.xworkmate/threads/...) which the gateway agent cannot
access, and remoteWorkspaceHint duplicates currentTaskWorkspace. The conflicting
paths leave the agent unsure where to work and can block conversation continuation.

For gateway turns the prompt now carries only currentTaskWorkspace (the plugin owns
the artifact scope); localWorkspace is kept only for non-gateway (local agent runs
there); remoteWorkspaceHint is dropped when equal to currentTaskWorkspace. sessionKey
is kept (short, not a path). UI is unaffected (chat bubble shows the raw user message;
the prompt-debug parser only special-cases Execution context / Preferred skills /
Attached files). Tests updated; assistant_execution_target_test green (74).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-27 12:15:27 +08:00
..
app_capabilities.dart Clean C/S surfaces down to assistant and settings 2026-04-13 12:14:12 +08:00
app_controller_desktop_core.dart Fix gateway dispatch test pipeline 2026-06-08 15:52:26 +08:00
app_controller_desktop_external_acp_routing.dart refactor: remove stale runtime fallbacks 2026-06-04 22:38:09 +08:00
app_controller_desktop_gateway.dart refactor: align OpenClaw session key state flow 2026-06-06 11:51:01 +08:00
app_controller_desktop_navigation.dart refactor: remove stale runtime fallbacks 2026-06-04 22:38:09 +08:00
app_controller_desktop_runtime_coordination_impl.dart refactor: remove stale runtime fallbacks 2026-06-04 22:38:09 +08:00
app_controller_desktop_runtime_exceptions.dart Align bridge core path and secure account sync 2026-04-10 11:55:36 +08:00
app_controller_desktop_runtime_helpers.dart fix(artifacts): route signed downloads through active bridge 2026-06-27 12:15:17 +08:00
app_controller_desktop_settings_runtime.dart refactor: align OpenClaw session key state flow 2026-06-06 11:51:01 +08:00
app_controller_desktop_settings.dart refactor: remove stale runtime fallbacks 2026-06-04 22:38:09 +08:00
app_controller_desktop_skill_permissions.dart refactor: remove stale runtime fallbacks 2026-06-04 22:38:09 +08:00
app_controller_desktop_thread_actions.dart fix(prompt): simplify gateway workspace context to avoid conflicting paths (S5) 2026-06-27 12:15:27 +08:00
app_controller_desktop_thread_binding.dart fix: finalize openclaw task polling results 2026-06-05 07:30:51 +08:00
app_controller_desktop_thread_sessions_collaboration_impl.dart refactor: remove stale runtime fallbacks 2026-06-04 22:38:09 +08:00
app_controller_desktop_thread_sessions.dart fix: keep syncing partial OpenClaw artifacts 2026-06-07 07:38:04 +08:00
app_controller_desktop_thread_storage.dart Improve assistant task UX 2026-06-07 12:03:08 +08:00
app_controller_desktop_workspace_execution.dart refactor: align OpenClaw session key state flow 2026-06-06 11:51:01 +08:00
app_controller_desktop.dart chore: remove stale gateway settings and app ffi paths 2026-05-13 16:45:54 +08:00
app_controller_openclaw_task_queue.dart fix: unblock OpenClaw gateway task queue 2026-05-28 17:05:07 +08:00
app_controller.dart refactor: remove web surface from xworkmate-app 2026-04-09 11:19:40 +08:00
app_logger.dart chore: prepare release v1.1.4 (app store compliance, remote desktop fixes, ci verification) 2026-06-03 15:52:44 +08:00
app_metadata.dart feat(settings): refresh account sync, add about metadata, and rewrite task dialog modes 2026-04-13 18:02:30 +08:00
app_shell_desktop.dart feat: show sidebar task status chips 2026-05-19 15:39:23 +08:00
app_shell.dart refactor: remove web surface from xworkmate-app 2026-04-09 11:19:40 +08:00
app_store_policy.dart Clean C/S surfaces down to assistant and settings 2026-04-13 12:14:12 +08:00
app.dart Remove bridge fallback runtime code 2026-04-13 11:34:31 +08:00
task_thread_repositories.dart chore: remove stale Flutter code 2026-06-12 14:52:23 +08:00
ui_feature_manifest_core.dart chore: update macOS deployment target to 14.0 and commit pending changes 2026-06-25 09:52:33 +08:00
ui_feature_manifest.dart Remove bridge fallback runtime code 2026-04-13 11:34:31 +08:00
workspace_navigation.dart chore: remove stale gateway settings and app ffi paths 2026-05-13 16:45:54 +08:00
workspace_page_registry.dart feat(mobile): redesign mobile UX and iOS native experience 2026-05-26 07:05:55 +08:00