实现AGC回车自动创建工作区
Project CI / Repository checks (push) Successful in 1m3s
Project CI / Frontend tests (push) Successful in 3m9s
Project CI / Backend tests (push) Successful in 4m17s
Project CI / Native shell tests (push) Failing after 11m3s

首页普通回车自动分配系统文档目录下的唯一工作区并启动项目总控

保留加号按钮手动选择目录和Shift回车换行语义

统一Windows Linux与macOS默认项目路径解析并移除产品态tmp默认值

补充自动工作区安全测试 首页交互回归与技术方案说明
This commit is contained in:
2026-08-14 17:44:46 +08:00
parent 8e78be766e
commit d155e303bd
13 changed files with 391 additions and 80 deletions
@@ -126,6 +126,27 @@ export function useDeveloperAgentPanel(launcherView: LauncherView) {
agentChatRuntimeSyncConversationRef,
} = state;
useEffect(() => {
if (launcherView !== 'agent-chat' || agentChatProjectPath) {
return;
}
const invoke = resolveTauriInvoke();
if (!invoke) {
return;
}
let active = true;
void invoke<string>('get_default_local_game_project_path')
.then((defaultPath) => {
if (active && defaultPath.trim()) {
setAgentChatProjectPath(defaultPath);
}
})
.catch(() => undefined);
return () => {
active = false;
};
}, [agentChatProjectPath, launcherView, setAgentChatProjectPath]);
useEffect(() => {
setAgentChatRunSubmitMode('steer');
}, [