Commit graph

13 commits

Author SHA1 Message Date
3f794786b6 docs: add project agents guidance 2025-08-14 08:28:49 +02:00
phg
3c239e68f3 feat: Add CLAUDE.md for project documentation and guidance 2025-08-14 08:04:04 +02:00
250091bb8a
Merge pull request #4 from shokinn/codex/implement-phase-3-and-perform-interactive-testing
Add edit mode toggle with entry activation
2025-08-13 17:09:51 +02:00
51966f766c Add edit mode toggle and entry activation 2025-08-13 16:39:39 +02:00
0c60248d75
Merge pull request #3 from shokinn/codex/complete-implementation-of-phase-2
Finalize Phase 2 TUI with pane navigation
2025-08-13 16:22:01 +02:00
0bcb821c33 Fix pane border overflow 2025-08-13 16:16:53 +02:00
a24041d664 Implement TUI pane navigation 2025-08-13 15:57:35 +02:00
3561d15858
Merge pull request #2 from shokinn/codex/implement-phase-2-functionality
feat: add view mode status bar
2025-08-13 14:54:54 +02:00
9748c2dde8 feat: add view mode status bar 2025-08-13 14:52:57 +02:00
49bf61f8e5
Merge pull request #1 from shokinn/codex/implement-phase-2-of-project
Begin Phase 2 TUI implementation
2025-08-13 14:39:54 +02:00
1b66db10e2 feat: begin tui implementation 2025-08-13 14:39:27 +02:00
phg
b81f11f711 feat(parser): Implement hosts file parser with intelligent formatting
- Added `internal/core/parser.go` for parsing hosts files, including:
  - Support for standard entries (IPv4, IPv6, multiple aliases, inline comments)
  - Handling of comments and disabled entries
  - Error recovery for malformed lines with warnings
  - Intelligent formatting with adaptive spacing and column alignment
  - Backup and atomic write operations for file safety

test(parser): Add comprehensive tests for hosts file parsing

- Created `tests/parser_test.go` with 54 test cases covering:
  - Standard entries and comments
  - Malformed lines and whitespace variations
  - Round-trip parsing to ensure format preservation
  - Backup functionality for hosts files

docs(progress): Update project progress and next steps

- Mark Phase 1 as complete and outline tasks for Phase 2 (TUI implementation)
- Highlight completed features and testing coverage
2025-08-13 10:46:39 +02:00
phg
d66ec51ebd feat: Initialize hosts-go project with foundational structure and core functionality
- Created activeContext.md and productContext.md to outline project goals and current focus.
- Established progress.md to track project milestones and tasks.
- Developed projectbrief.md detailing application overview, requirements, and directory structure.
- Documented systemPatterns.md to describe architecture and design patterns used.
- Compiled techContext.md to specify technologies and development setup.
- Implemented comprehensive unit tests in models_test.go for HostEntry and HostsFile functionalities.
2025-08-12 22:41:33 +02:00