21in7
e98d08bb44
fix: 개선된 인벤토리 판독 로직으로 안정성 향상
...
- 인벤토리 판독 시 `inv.get_contents()`를 우선 사용하여 일부 환경에서 발생할 수 있는 오류를 줄임
- 이전 방식인 인덱스 접근 방식은 호환성 문제를 해결하기 위한 폴백으로 유지
- README.md에 변경 사항 반영
2026-03-25 21:56:26 +09:00
47cc692d96
fix: f-string 제거 + position/radius + pcall + 인덱스 인벤토리
...
- _get_global_summary: position+radius, pcall
- _get_zone_summaries: f-string 제거, pcall
- _detect_problems: position+radius, pcall
- _get_player_info: get_contents() → 인덱스 접근 (Factorio 2.0 호환)
- 모든 함수 try/except + startswith 검증
2026-03-25 20:21:47 +09:00
12dba24965
fix: Factorio 2.0 호환 - type 기반 검색 + pcall 안전 감싸기
...
- _get_global_summary: name 기반→type 기반 검색 (filter-inserter 에러 해결)
- _get_zone_summaries: e.type 기반 분류
- _detect_problems: 전력 부족 체크 제거 (API 변경 대응)
- _get_player_info: 모든 아이템 표시 (하드코딩 목록 제거)
- 모든 검색에 pcall 적용
2026-03-25 20:09:58 +09:00
954072bfdd
fix: context_compressor game.player → game.players[1]
2026-03-25 15:12:07 +09:00
f053803f6f
Add context_compressor.py - 계층적 컨텍스트 압축 모듈
2026-03-25 10:25:12 +09:00