Commit Graph

24 Commits

Author SHA1 Message Date
swanadiva 7accb86203 feat: add transfer panel to dashboard + remove PERBAIKANUI.md
- Add Background Transfers section with mock download/upload rows
- Progress bars with green glow shadow, source/destination layout
- Empty state when no transfers active
- Delete PERBAIKANUI.md (all UI tasks complete)
2026-07-09 18:27:47 +07:00
swanadiva 8357d9d76e fix: UI overhaul — align all HTMX views with Lumina Design System (46 fixes)
- All 7 pages rewritten: Dashboard, Terminal, Snippets, Keychain, SFTP, Settings, Brief
- Apply consistent Lumina glassmorphic theme (rounded-2xl, shadows, borders, tracking)
- Fix SVG icons not rendering — return template.HTML instead of string
- Fix Alpine x-data scoping: terminal tabs, SFTP modals, snippet tag buttons
- Fix dashboard search sending literal ?q=...
- Rebuild CSS with all new Tailwind classes (62KB)
- Add .air.toml with hot-reload config, docs/PERBAIKANUI.md checklist
- Remove unused backup partials
2026-07-07 14:55:42 +07:00
swanadiva fd7361aa14 Sprint 6: JSON file persistence + real SSH terminal + V1 crypto/knownhosts integration
- go.mod replace directive for git.tukangketik.id/swanadiva/hostkeeper → ../../v1
- store/ package: JSON file persistence for hosts, snippets, keys, settings
  (~/Library/Application Support/hostkeeper/v2/)
- model SSH fields: Hostname, Port, Username, AuthType, Password, KeyID
- sshconn/ package: real SSH client via golang.org/x/crypto/ssh
- Terminal WS: real SSH connection with fallback to mock shell
- Dynamic host list in terminal (server-rendered JSON script tag)
- All mock data defaults removed from model packages
- Settings persist via store/settings.go
2026-07-07 13:53:50 +07:00
swanadiva 04d9cfb096 feat: Sprint 5 — xterm.js terminal with WebSocket mock shell, Alpine tab management 2026-07-07 13:39:35 +07:00
swanadiva 941a67b6ea feat: Sprint 4 — SFTP dual-pane with per-type icons, breadcrumb, drop-zone, create/delete, toast 2026-07-07 13:35:01 +07:00
swanadiva c5ac07e27f feat: Sprint 3 — settings page with tabs/toggles/devices/danger-zone, brief page 2026-07-07 13:31:13 +07:00
swanadiva c4b0d7d8c0 feat: Sprint 2 — snippets + keychain CRUD, standalone templates, clipboard/utils JS 2026-07-07 13:26:56 +07:00
swanadiva 8cfdec3980 docs: update PROGRESS.md + AGENTS.md to reflect Sprint 1 completion, Sprint 2 in progress 2026-07-07 13:19:33 +07:00
swanadiva a0c8483c0e docs: migrate all planning docs from React to GoFiber + HTMX
- New ARCHITECTURE_HTMX.md — comprehensive HTMX architecture doc
- ARCHITECTURE.md — updated to point to HTMX version
- UI_COMPONENTS.md — replaced React tree with HTMX partials
- SPRINT_PLAN.md — all sprint tasks updated for HTMX
- BUILD_SYSTEM.md — simplified (no Vite, no npm)
- TIMELINE.md — 3.5 week HTMX timeline
- PROGRESS.md — updated status + HTMX
- AGENTS.md — updated checkpoint with HTMX decision
2026-07-07 12:15:19 +07:00
swanadiva c215d68c81 refactor: flatten docs/ — move V2 docs from docs/v2/ to docs/
- git mv docs/v2/*.md docs/ (11 planning documents)
- Remove empty docs/v2/ directory
- Update all references: AGENTS.md, CHANGELOG.md, README.md, ARCHITECTURE.md
- Fix outdated repo tree in ARCHITECTURE.md to match actual structure
2026-07-07 12:04:59 +07:00
swanadiva 7794ca554b chore: move V1 plans to v1/docs/plans/ + create root AGENTS.md
- git mv docs/plans/ (V1 planning docs) into v1/docs/plans/
- Create AGENTS.md as AI session checkpoint for seamless continuation
- Root now clean: only V2-related files remain
2026-07-07 12:01:52 +07:00
swanadiva 847989df75 refactor: move V1 code into v1/ subdirectory
- git mv cmd/ internal/ pkg/ test/ go.mod go.sum Makefile build.sh docs/ v1/
- Create v1/README.md with V1 documentation
- Update root README for V1 + V2 structure
- V1 still builds (cd v1 && go build ./cmd/hostkeeper) and 105 tests pass
- Root is now clean for V2 development
2026-07-07 11:56:27 +07:00
swanadiva 8ebdebedc8 chore: V2 planning docs + template discovery 2026-07-07 11:53:16 +07:00
swanadiva 4a8b4a2bc4 test: Phase 3 comprehensive test coverage — 105 tests, zero race conditions
- Add test/crypto/ (19 tests): AES-256-GCM encrypt/decrypt, PBKDF2, IsEncrypted, HashPassword
- Add test/knownhosts/ (14 tests): TOFU verify, MITM detection, CRUD, persistence
- Add test/storage/ (20 tests): KeyPair/Snippet CRUD, encryption, MergeStrategy
- Add test/config/ (9 tests): config lifecycle, path getters
- Add test/tui/ (10 tests): WrapFooter, ClampWidth, TruncateStr
- Fix knownhosts deadlock: Add/Remove use saveInternal()
- Export responsive.go functions for testing
- Add docs/TEST_PLAN.md with full scenario documentation

Coverage: crypto 0%→100%, knownhosts 0%→100%, storage 40%→90%, config 22%→80%, tui 40%→70%
2026-06-29 12:05:02 +07:00
swanadiva b319f44c3e docs: update design + impl plan — native SSH delegation, Gruvbox theme, dual-pane SFTP 2026-06-23 15:34:04 +07:00
swanadiva c5cc3bd711 docs: add Phase 2 tasks 15-19 (TUI Overhaul) to implementation plan 2026-06-23 14:48:32 +07:00
swanadiva e8c451ed56 docs: restructure Phase 2 (TUI priority) + update Phase 3 2026-06-23 14:47:47 +07:00
swanadiva e99a6ac347 docs: rewrite TUI Layer — tab system, orange theme, multi-session SSH 2026-06-23 14:47:30 +07:00
swanadiva 9c1bbd4eac docs: update Key Design Principles — TUI-First + Orange Theme 2026-06-23 14:47:12 +07:00
swanadiva 933ee48f3f docs: update Key Design Decisions — TUI-first architecture 2026-06-23 14:46:55 +07:00
swanadiva 48c858df0f feat: complete MVP — all 14 tasks done
- Task 13: Full documentation (README, INSTALLATION, USAGE, ARCHITECTURE)
- Task 14: Release prep (CHANGELOG, RELEASE_CHECKLIST)
- Update PROJECT_STATE.md to reflect 100% completion
2026-06-23 14:06:31 +07:00
swanadiva 0b0b4ebcbf docs: Add multi-session/LLM continuity references
- Update README.md to prioritize PROJECT_STATE.md for new agents
- Add handoff instructions to implementation plan header
- Ensure any agent/LLM knows to check current status first
- Create clear documentation hierarchy for handoffs
- Fix markdown formatting issues

This ensures any AI agent or human developer can immediately
understand project state and continue work without confusion.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-22 15:49:21 +07:00
swanadiva 190c623488 docs: Add comprehensive implementation plan for Hostkeeper MVP
- Create 14 detailed implementation tasks with step-by-step instructions
- Include TDD approach with test-first development
- Add exact file paths, code examples, and commands
- Cover all core features: SSH client, storage, CLI commands, TUI
- Include comprehensive testing and build system
- Add cross-platform build instructions
- Provide release preparation checklist
- Estimate 3-4 weeks development time for MVP

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-22 15:39:49 +07:00
swanadiva ddd3c666c3 docs: Add comprehensive Hostkeeper design document
- Architecture overview: Monolithic CLI with embedded TUI
- Component details: Command, TUI, Core Engine, Storage layers
- Data flow and workflows for all major operations
- Security architecture for Phase 1 (MVP) and Phase 2
- Error handling strategy and recovery procedures
- Cross-platform support strategy
- Implementation phases and success criteria

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-22 14:58:20 +07:00