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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/runner.mjs +4 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "e2e-agent-runner",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "description": "suseona e2e 작업 에이전트 로컬 러너 — 내 컴퓨터의 Claude Code 로 구현→테스트→리뷰→배포와 웹사이트 기능 지도 추출·QA·개선 사이클을 자동 수행",
5
5
  "type": "module",
6
6
  "license": "UNLICENSED",
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 로 확인하세요.',