feat: complete Aider Page Data review workflow

This commit is contained in:
john
2026-07-25 09:47:25 +08:00
parent be9c25f1d0
commit 104fb4e370
15 changed files with 914 additions and 30 deletions
+4 -2
View File
@@ -291,6 +291,7 @@ export function resolveAgentRunOptions(
{
taskType = 'code_task',
forceCode = false,
requiredExecutor,
allowAutodetect = clientCodeRunsAutodetectEnabled(),
allowPageDataDevAutodetect = clientPageDataDevAutodetectEnabled(),
userId = null,
@@ -310,8 +311,9 @@ export function resolveAgentRunOptions(
} = {},
): AgentRunCreateOptions {
const normalizedText = String(text ?? '').trim();
const pageDataDevTaskType =
allowPageDataDevAutodetect && resolvePageDataDevTaskType(normalizedText);
const pageDataDevTaskType = allowPageDataDevAutodetect
? resolvePageDataDevTaskType(normalizedText)
: null;
const effectiveTaskType = pageDataDevTaskType ?? taskType;
const shouldUseDeepReasoning =
forceCode ||
+2
View File
@@ -2,6 +2,7 @@ import {
buildChatSkillPrompt,
CHAT_SKILL_DEFINITIONS,
filterChatSkills as filterChatSkillDefinitions,
mergeChatSkillPromptWithInput,
} from '../../chat-skills.mjs';
import { buildPublishSkillPrompt, PUBLISH_SKILL_NAME } from './publishSkill';
@@ -45,3 +46,4 @@ export function filterChatSkills(
}
export { buildPublishSkillPrompt, PUBLISH_SKILL_NAME };
export { mergeChatSkillPromptWithInput };