Andrew Phillips
|
29aa477417
|
fix: add Clone derive to nested argument structs to satisfy trait bound
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
|
2025-08-10 23:03:05 -03:00 |
|
Andrew Phillips
|
37654eb911
|
fix: add Clone derive to Args struct to fix compilation error
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
|
2025-08-10 23:02:51 -03:00 |
|
Andrew Phillips
|
96aef4f02c
|
fix: update args initialization in server state
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
|
2025-08-10 23:02:15 -03:00 |
|
Andrew Phillips
|
118e02c56e
|
fix: use actual server args in status handler instead of dummy args
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
|
2025-08-10 23:02:03 -03:00 |
|
Andrew Phillips
|
e292bfa886
|
refactor: update dummy args structure for status mode compatibility
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
|
2025-08-10 23:01:23 -03:00 |
|
Andrew Phillips
|
f7ee3a0796
|
fix: resolve compilation errors in server mode status command
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
|
2025-08-10 23:01:13 -03:00 |
|
Andrew Phillips
|
bb28b4f41a
|
fix: make status info structs public and add missing imports
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
|
2025-08-10 23:00:24 -03:00 |
|
Andrew Phillips
|
7ed3291e97
|
feat: Update /status route to match status mode JSON output
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
|
2025-08-10 22:59:03 -03:00 |
|
Andrew Phillips
|
ed8bf0f7fc
|
refactor: remove unused OpenAPI and Swagger UI endpoints and logging statements
|
2025-08-10 22:59:01 -03:00 |
|
Andrew Phillips
|
0a06098796
|
fix: resolve middleware compilation errors and clean up unused imports
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
|
2025-08-10 22:27:24 -03:00 |
|
Andrew Phillips
|
e9f97b1ffd
|
feat: add middleware for logging requests and responses
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
|
2025-08-10 22:26:25 -03:00 |
|
Andrew Phillips
|
00b34cb3f7
|
refactor: adjust log levels and prefixes for server operations
|
2025-08-10 22:26:23 -03:00 |
|
Andrew Phillips
|
35ae5776c0
|
feat: implement content retrieval for REST API endpoints
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
|
2025-08-10 21:46:27 -03:00 |
|
Andrew Phillips
|
08f3c3e9e5
|
fix: remove duplicate and unused imports in server.rs
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
|
2025-08-10 21:40:20 -03:00 |
|
Andrew Phillips
|
7b9d127ff0
|
fix: correct server setup with proper connect info handling
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
|
2025-08-10 21:39:23 -03:00 |
|
Andrew Phillips
|
b5b101ee35
|
fix: add ConnectInfo extension and error logging to server handlers
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
|
2025-08-10 21:39:16 -03:00 |
|
Andrew Phillips
|
91af08b48c
|
fix: enable trace feature in tower-http and derive Debug for TagsQuery
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
|
2025-08-10 21:36:26 -03:00 |
|
Andrew Phillips
|
badcd66217
|
feat: add request logging and source address tracking to server
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
|
2025-08-10 21:35:50 -03:00 |
|
Andrew Phillips
|
4be4831334
|
fix: remove unused imports and fix undefined behavior from mem::zeroed
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
|
2025-08-10 21:30:16 -03:00 |
|
Andrew Phillips
|
64789ef48b
|
feat: add REST HTTP server mode with OpenAPI documentation and Swagger UI
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
|
2025-08-10 21:27:13 -03:00 |
|
Andrew Phillips
|
741d0f19cc
|
build: add serde dependencies for serialization support
|
2025-08-10 21:27:08 -03:00 |
|
Andrew Phillips
|
380eb59094
|
feat: add REST HTTP server mode with OpenAPI documentation
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
|
2025-08-10 20:42:34 -03:00 |
|
Andrew Phillips
|
e6dad42c6e
|
feat: add validation for --human-readable flag usage with --list and --info modes only
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
|
2025-08-10 11:51:51 -03:00 |
|
Andrew Phillips
|
7c1c5bd9c9
|
fix: resolve compilation errors by adding missing ErrorKind import and removing unused imports
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
|
2025-08-10 11:34:44 -03:00 |
|
Andrew Phillips
|
0d1ae9ff12
|
feat: add --output-format option for json/yaml support in info/status/list modes
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
|
2025-08-10 11:21:04 -03:00 |
|
Andrew Phillips
|
9f93d6965f
|
feat: change size formatting to k8s style (e.g. 3Gi, 4Ti)
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
|
2025-08-10 11:13:10 -03:00 |
|
Andrew Phillips
|
e390139425
|
refactor: Remove transaction from save to allow partial saves on failure
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
|
2025-08-10 00:34:55 -03:00 |
|
Andrew Phillips
|
a5bc9373a9
|
fix: remove unused imports in common.rs to eliminate build warnings
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
|
2025-08-10 00:27:44 -03:00 |
|
Andrew Phillips
|
0f06d31423
|
fix: remove unused imports, unnecessary mutable variables, and dead code
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
|
2025-08-10 00:27:02 -03:00 |
|
Andrew Phillips
|
7210aa08d0
|
fix: correct variable name and mutable transaction handling in save and update modes
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
|
2025-08-10 00:26:18 -03:00 |
|
Andrew Phillips
|
d4370563c3
|
fix: correct mutable reference handling and remove unused variables
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
|
2025-08-10 00:25:22 -03:00 |
|
Andrew Phillips
|
0e68e5ff03
|
fix: resolve mutable borrowing issues with Transaction and clean up warnings
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
|
2025-08-10 00:24:42 -03:00 |
|
Andrew Phillips
|
469e3640b8
|
fix: resolve compilation errors by fixing mutable references and removing unused imports
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
|
2025-08-10 00:23:58 -03:00 |
|
Andrew Phillips
|
cacf843da7
|
fix: resolve missing imports and incorrect mutable references in save and update modes
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
|
2025-08-10 00:23:34 -03:00 |
|
Andrew Phillips
|
38f2caaf1b
|
fix: resolve compilation errors by adding missing imports and fixing type mismatches
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
|
2025-08-10 00:22:12 -03:00 |
|
Andrew Phillips
|
e1c0c81445
|
fix: resolve compilation errors by adding missing imports and fixing Result types
- Import `anyhow`, `clap::Command`, `log::debug`, and I/O traits
- Fix all `Result` return types to include error type `anyhow::Error`
- Replace `anyhow::anyhow!` with `anyhow!` macro calls
- Fix transaction handling in `mode_save`
- Add missing trait imports for I/O operations and string parsing
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
|
2025-08-10 00:19:00 -03:00 |
|
Andrew Phillips
|
58f047ba6d
|
fix: improve error messages and refactor large functions in save/diff modes
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
|
2025-08-10 00:00:33 -03:00 |
|
Andrew Phillips
|
498f3e0b9d
|
chore: mark completed items in PLAN.md as DONE
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
|
2025-08-09 23:56:12 -03:00 |
|
Andrew Phillips
|
cb408bafa1
|
fix: use database transactions for atomic operations in save and update modes
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
|
2025-08-09 23:33:53 -03:00 |
|
Andrew Phillips
|
a3eb9e7056
|
fix: address critical memory safety, error handling, concurrency and security issues
This commit fixes several critical issues across the codebase:
1. Memory safety & resource leaks: Added proper cleanup for compression engine processes using RAII patterns
2. Error handling: Replaced unsafe unwrap() calls with proper error propagation using ok_or_else()?
3. Concurrency issues: Improved diff mode thread safety with proper error handling and RAII guards
4. Security concerns: Added validation for item IDs to prevent path traversal vulnerabilities
5. Database design: Wrapped database operations in transactions for atomicity in save/update modes
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
|
2025-08-09 23:33:06 -03:00 |
|
Andrew Phillips
|
2be895fea5
|
chore: remove invalid race condition bug risk #11 from PLAN.md
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
|
2025-08-09 23:24:26 -03:00 |
|
Andrew Phillips
|
6804429c9f
|
docs: update PLAN.md with refined issue descriptions and solutions
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
|
2025-08-09 23:22:13 -03:00 |
|
Andrew Phillips
|
f88897000f
|
docs: add comprehensive code quality issues and fixes plan
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
|
2025-08-09 23:10:21 -03:00 |
|
Andrew Phillips
|
84fdffd97d
|
docs: add project plan documentation
|
2025-08-09 23:10:20 -03:00 |
|
Andrew Phillips
|
096b907a23
|
feat: add indexes on tags.name and metas.name for improved query performance
Co-authored-by: aider (openai/andrew.openrouter.qwen.qwen3-coder) <aider@aider.chat>
|
2025-07-29 17:12:23 -03:00 |
|
Andrew Phillips
|
46a1e8621f
|
fix: resolve test failures in save_item, get_item, and info_item tests
Co-authored-by: aider (openai/andrew.openrouter.qwen.qwen3-coder) <aider@aider.chat>
|
2025-07-29 15:42:06 -03:00 |
|
Andrew Phillips
|
ebada59764
|
fix: add missing import for FORMAT_NO_BORDER_LINE_SEPARATOR constant
Co-authored-by: aider (openai/andrew.openrouter.qwen.qwen3-coder) <aider@aider.chat>
|
2025-07-29 15:40:39 -03:00 |
|
Andrew Phillips
|
983c9f20fa
|
fix: remove unused imports and fix test stdin handling
Co-authored-by: aider (openai/andrew.openrouter.qwen.qwen3-coder) <aider@aider.chat>
|
2025-07-29 15:39:54 -03:00 |
|
Andrew Phillips
|
ada0805671
|
fix: resolve Alignment import error in list mode and remove unused imports
Co-authored-by: aider (openai/andrew.openrouter.qwen.qwen3-coder) <aider@aider.chat>
|
2025-07-29 15:38:22 -03:00 |
|
Andrew Phillips
|
3008f3fec0
|
fix: resolve compilation errors and warnings in keep crate
Co-authored-by: aider (openai/andrew.openrouter.qwen.qwen3-coder) <aider@aider.chat>
|
2025-07-29 15:37:43 -03:00 |
|