e2e-agent-runner 1.3.0 → 1.3.1
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 +4 -0
package/package.json
CHANGED
package/runner.mjs
CHANGED
|
@@ -273,6 +273,10 @@ async function runDiscover({ step, task, project, buf, cancelled }) {
|
|
|
273
273
|
});
|
|
274
274
|
const after = await porcelain(project.folder_path);
|
|
275
275
|
if (before !== null && after !== null && after !== before) {
|
|
276
|
+
// 서버 판단용(개선 분석: 저장소가 바뀌면 자동 적용 중단) — 이벤트는 step_result 뒤에 flush 되므로
|
|
277
|
+
// 산출물에 직접 싣는다.
|
|
278
|
+
artifact.repo_modified = true;
|
|
279
|
+
artifact.repo_modified_files = after.split('\n').filter(Boolean).slice(0, 8);
|
|
276
280
|
buf.push(step.id, 'status', {
|
|
277
281
|
event: 'repo_modified',
|
|
278
282
|
note: '읽기 전용 탐색 중 저장소가 변경되었습니다 — git status 로 확인하세요.',
|