清理运行视窗提交边界
Project CI / Repository checks (pull_request) Successful in 3m6s
Project CI / Frontend tests (pull_request) Successful in 5m7s
Project CI / Backend tests (pull_request) Successful in 5m43s
Project CI / Native shell tests (pull_request) Failing after 10m45s

恢复提交钩子误格式化的主分支文件
保持 PR 仅包含运行视窗相关变更
This commit is contained in:
2026-08-23 22:59:11 +08:00
parent 8acb5e9f6c
commit e18b58f556
3 changed files with 7 additions and 10 deletions
+2 -2
View File
@@ -11565,8 +11565,8 @@ export function App({
);
const projectSupervisorHasConversationControls = Boolean(
projectSupervisorRuntime?.pendingToolAction ||
projectSupervisorRuntime?.userInputRequest ||
projectSupervisorNeedsUserInput,
projectSupervisorRuntime?.userInputRequest ||
projectSupervisorNeedsUserInput,
);
const visibleAgentConversationMessages = latestVisibleItems(
agentConversationMessages,
@@ -897,8 +897,7 @@ export function registerClientHomeTests() {
];
const streamedReply = '流式正文已经完整结束。';
let streamHandler:
| ((event: { payload: Record<string, unknown> }) => void)
| null = null;
((event: { payload: Record<string, unknown> }) => void) | null = null;
const invoke = vi.fn(
async (command: string, args?: Record<string, unknown>) => {
if (command === 'read_local_conversation') {
@@ -1576,11 +1575,9 @@ export function registerHomeProjectCreationTests() {
expect(persistedTurnCall).toBeGreaterThanOrEqual(0);
expect(persistedTurnCall).toBeLessThan(directTurnCall);
const persistedTurnArgs = invoke.mock.calls[persistedTurnCall]?.[1] as
| Record<string, unknown>
| undefined;
Record<string, unknown> | undefined;
const directTurnArgs = invoke.mock.calls[directTurnCall]?.[1] as
| Record<string, unknown>
| undefined;
Record<string, unknown> | undefined;
expect(persistedTurnArgs).toEqual({
projectPath,
agentId: null,
@@ -461,8 +461,8 @@ export function registerProjectConversationTests() {
'未命名游戏原型',
);
let finishConversationRead:
| ((value: { path: string; agentId: null; messages: [] }) => void)
| null = null;
((value: { path: string; agentId: null; messages: [] }) => void) | null =
null;
const invoke = vi.fn(
async (command: string, args?: Record<string, unknown>) => {
if (command === 'append_local_permission_log') {