Merge branch 'codex/ai-game-creator-app' into fix/anthropic_tool
Project CI / Repository checks (pull_request) Successful in 1m8s
Project CI / Frontend tests (pull_request) Successful in 3m6s
Project CI / Backend tests (pull_request) Successful in 3m19s
Project CI / Native shell tests (pull_request) Successful in 10m30s

This commit is contained in:
2026-07-28 13:31:25 +08:00
@@ -1068,24 +1068,6 @@ export function createDeterministicLaneDefenseRouter({
return readyCallsResponse(agentId, runId, tools, calls);
}
function manifestTaskCounts(context) {
const matches = [
...observationContext(context).matchAll(
/taskCounts: completed=(\d+) running=(\d+) pending=(\d+) waiting=(\d+) failed=(\d+) total=(\d+)/g,
),
];
const match = matches.at(-1);
if (!match) return null;
return {
completed: Number(match[1]),
running: Number(match[2]),
pending: Number(match[3]),
waiting: Number(match[4]),
failed: Number(match[5]),
total: Number(match[6]),
};
}
function manifestTasksCompleted(context) {
const matches = [
...observationContext(context).matchAll(
@@ -1521,7 +1503,7 @@ export function createDeterministicLaneDefenseRouter({
runId,
tools,
context,
{ path, content, writeReason, response },
{ path, content, writeReason },
) {
const phase = ensureReadyTaskRun(runId, agentId);
const recovery = runData.get(runId)?.writerRecovery ?? null;
@@ -1894,7 +1876,6 @@ export function createDeterministicLaneDefenseRouter({
path: 'game/balance.json',
content: `${JSON.stringify(deterministicLaneDefenseBalance, null, 2)}\n`,
writeReason: '写入可被程序读取的初版数值参数',
response: '可解析的初版数值表已经完成并通过当前 revision 验证。',
});
}
if (agentId === 'art-asset-plan') {
@@ -1905,7 +1886,6 @@ export function createDeterministicLaneDefenseRouter({
path: 'assets/manifest.audio.json',
content: `${JSON.stringify(deterministicAudioManifest, null, 2)}\n`,
writeReason: '写入 BGM 与关键交互音效需求清单',
response: '可解析的 BGM 与交互音效需求清单已经完成并验证。',
});
}
if (agentId === 'code-prototype') {
@@ -1922,7 +1902,6 @@ export function createDeterministicLaneDefenseRouter({
path: 'exports/README.md',
content: deterministicPublishReadme,
writeReason: '写入发布标题、简介、操作、标签与导出检查',
response: '发布包装 README 已完成并通过当前 revision 验证。',
});
}
throw providerError(`provider-ready-agent-unsupported:${agentId}`);