e2e-agent-runner 1.12.0 → 1.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/runner.mjs +7 -0
package/package.json
CHANGED
package/runner.mjs
CHANGED
|
@@ -280,6 +280,13 @@ async function handleStep({ step, task, project }) {
|
|
|
280
280
|
// 워크트리 모드에선 implement 가 만든 작업 워크트리에서(reset 없이 상태 보존).
|
|
281
281
|
const cwd = await workdirFor(task, project);
|
|
282
282
|
result = await runPhase({ step, task, project, buf, cancelled, cwd });
|
|
283
|
+
if (step.phase === 'continue' || step.phase === 'remediate') {
|
|
284
|
+
// 코드가 바뀌었는지 서버가 알 수 있게 누적 커밋 수(base..HEAD)만 보고한다(1.13.0+).
|
|
285
|
+
// branchTip/remoteUrl 은 보내지 않는다 — 서버가 implement 시점 값을 덮어쓰지 않도록(배포 성공 시 별도 보고).
|
|
286
|
+
const base = task.base_branch || (await resolveBase(project.folder_path));
|
|
287
|
+
const meta = await captureTaskMeta(project.folder_path, cwd, base);
|
|
288
|
+
result = { ...result, commits: meta.commits };
|
|
289
|
+
}
|
|
283
290
|
}
|
|
284
291
|
|
|
285
292
|
const cancelledNow = cancelled() || result?.cancelled;
|