Commit Graph

1153 Commits

Author SHA1 Message Date
Andrew Phillips
7ad10f92e8 fix: remove unused imports and dead code
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-15 17:58:59 -03:00
Andrew Phillips
e880da210a fix: add server address and port fields to settings and update constructor
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-15 17:57:59 -03:00
Andrew Phillips
421fd76fe6 refactor: remove unix socket support fallback
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-15 17:55:50 -03:00
Andrew Phillips
29ce003fa8 feat: implement server configuration with address and port options
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-15 17:55:13 -03:00
Andrew Phillips
b9d79d2fe1 fix: remove unused variable and add missing FromStr import
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-15 17:11:49 -03:00
Andrew Phillips
898622ff6c feat: add compression type support to status endpoint
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-15 17:10:59 -03:00
Andrew Phillips
0a5bf38359 feat: update compression status to show enabled state
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-15 17:10:08 -03:00
Andrew Phillips
005937236b feat: add config module to lib exports
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
2025-08-15 16:51:17 -03:00
Andrew Phillips
b6389419c0 fix: remove unused imports and resolve config module conflicts
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
2025-08-15 16:39:11 -03:00
Andrew Phillips
56f4d8aad5 feat: implement unified settings system
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
2025-08-15 16:36:58 -03:00
Andrew Phillips
067cba703b feat: add config system with --config argument and priority-based configuration
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
2025-08-15 16:31:57 -03:00
Andrew Phillips
5689c3e5ef feat: add config module 2025-08-15 16:31:53 -03:00
Andrew Phillips
20c2716915 docs: update DESIGN.md with current application state
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-15 13:20:53 -03:00
Andrew Phillips
d7c2abb43d chore: remove unused test helpers
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-15 13:09:38 -03:00
Andrew Phillips
31cb235023 refactor: replace direct file existence checks with test helpers
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-15 13:07:15 -03:00
Andrew Phillips
d82a1c0414 fix: escape reserved keyword 'gen' in test helper function
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-15 13:02:24 -03:00
Andrew Phillips
26efd30436 fix: resolve compilation errors by fixing reserved keyword usage and removing unused imports
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-15 13:01:46 -03:00
Andrew Phillips
5e5a59d960 fix: resolve rand crate dependency and fix reserved keyword usage in tests
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-15 13:00:32 -03:00
Andrew Phillips
2f78e45444 feat: add helper functions for creating temporary files with random binary content and asserting file sizes
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-15 11:26:25 -03:00
Andrew Phillips
60ec6da886 feat: add populated test database and directory helper functions
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-15 11:26:06 -03:00
Andrew Phillips
23681240d8 feat: add binary file helpers and file assertion utilities to test module
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-15 11:25:44 -03:00
Andrew Phillips
b9438f2791 feat: add test helpers for database setup and file content comparison
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-15 11:25:19 -03:00
Andrew Phillips
5d44be21fa feat: add compression engine test helpers and refactor tests
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-15 11:24:38 -03:00
Andrew Phillips
d5c956e626 feat: create common test helpers to reduce duplication across test modules
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-15 11:23:17 -03:00
Andrew Phillips
d0e62ad980 fix: update test to correctly handle xz compression type support
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-15 11:11:38 -03:00
Andrew Phillips
706e5c29ea fix: correct test assertions and database foreign key references
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-15 11:11:23 -03:00
Andrew Phillips
d194ae1edf fix: make plugin mutable in test to fix borrow error
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
2025-08-14 17:15:00 -03:00
Andrew Phillips
ff1d4f164a fix: resolve compilation errors in tests by fixing type mismatches and imports
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
2025-08-14 17:13:48 -03:00
Andrew Phillips
67af475339 fix: resolve import errors in test modules and remove unused variables
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
2025-08-14 17:11:27 -03:00
Andrew Phillips
acbeb297b2 fix: enable and fix all existing tests by updating module imports and test implementations
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
2025-08-14 17:09:13 -03:00
Andrew Phillips
efa51b1a6b fix: add Debug derive to KeepModes and remove unused import
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-14 17:06:29 -03:00
Andrew Phillips
e962c4857a fix: restore KeepModes enum and fix unused imports
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-14 17:05:16 -03:00
Andrew Phillips
2dfaed38b8 fix: implement FromStr for NumberOrString and KeyValue to fix clap parsing errors
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-14 17:03:55 -03:00
Andrew Phillips
6af1ac30df fix: resolve import issues for Args and ProgramWriter in tests
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-14 13:04:22 -03:00
Andrew Phillips
a0e79bc90a fix: remove unnecessary cfg(test) attributes from test modules
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-14 12:27:25 -03:00
Andrew Phillips
2713f2b127 fix: configure tests to run by removing deprecated test config and adding missing import
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-14 12:26:28 -03:00
Andrew Phillips
24d7c4742c chore: update dependencies and remove unused test modules 2025-08-14 12:23:46 -03:00
Andrew Phillips
0abb76e785 feat: implement comprehensive tests for all modules including database, meta plugins, compression engines, modes, server auth, and utilities to complete Phase 2
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-14 12:18:36 -03:00
Andrew Phillips
4e23dd36e1 feat: implement Phase 2 test structure and modules
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-14 12:15:57 -03:00
Andrew Phillips
8284545ca7 fix: update test files to use correct compression engine initialization and add compression_types tests
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-14 12:04:26 -03:00
Andrew Phillips
fde369c5d9 fix: resolve import paths in test files and remove deprecated tests.rs
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-14 12:00:50 -03:00
Andrew Phillips
9142cdde2d refactor: split compression tests into separate module files as planned
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-14 11:57:56 -03:00
Andrew Phillips
9e10b1b497 docs: add plan for refactoring tests.rs into multiple files
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-14 11:51:17 -03:00
Andrew Phillips
027fa10f04 chore: remove completed items from PLAN.md 2025-08-14 11:51:13 -03:00
Andrew Phillips
0eafdd0985 fix: resolve compression_engine import paths in tests
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-14 11:46:03 -03:00
Andrew Phillips
87a1628bbe fix: resolve import paths in tests and remove unused import
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-14 11:45:34 -03:00
Andrew Phillips
1a9a21e321 test: refactor and expand compression engine tests with better organization and coverage
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-14 11:41:05 -03:00
Andrew Phillips
81005ec8f4 test: add compression engine tests and refactor test structure 2025-08-14 11:40:59 -03:00
Andrew Phillips
d14857fa47 fix: remove handle_ prefix from OpenAPI operation IDs and add missing delete endpoint
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
2025-08-13 13:43:28 -03:00
Andrew Phillips
92e589699c fix: resolve utoipa schema generation errors by removing unsupported description attributes and creating specific response types
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
2025-08-13 13:39:07 -03:00