1.3 KiB
1.3 KiB
DOM Observer 컨텍스트 추출 수정 — v9 (v0.5.40)
- 시간: 2026-04-13 19:26~
- Commit:
pending - Vikunja: #619, #620 (진행 중)
문제
Discord 승인 요청에 내용이 비어있음:
- command = "Running2 commands" (그룹 헤더 버튼을 잘못 캡처)
- description = 비어있거나 UI 노이즈만 포함
- buttons = "Running2 commands / Always run" (잘못된 구조)
변경 사항
observer-script.ts (v8 → v9)
isActionBtn()에서 "Running N commands" 패턴 제거 — 이것은 그룹 헤더이며 승인 버튼이 아님scan()에서^Running\s*\d+\s*commands?$명시적 스킵extractContextFromNearby()신규 함수 추가 —data-step-index없이 DOM 트리를 20레벨까지 올라가며pre/code블록에서 실제 명령어 추출collectSiblingButtons()범위를 parent → grandparent → great-grandparent 3레벨로 확대, 그룹 헤더 스킵, 텍스트 기반 dedup 추가matchedType판별에서/Running\d/패턴 제거
http-bridge.ts
- "Run/Always run" 필터에
ctx.activeSessionId체크 추가 — step-probe가 세션 미추적 시 DOM observer 신호 허용
미완료
- AG 재시작 후 v0.5.40 적용 검증
- Discord E2E 검증 (실제 명령어/코드 내용 표시 확인)