Andrew Phillips
36a53c890c
fix: resolve async read and send trait bounds issues
...
Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat >
2025-08-25 21:10:14 -03:00
Andrew Phillips
9f140923bc
fix: resolve private field access and type issues
...
Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat >
2025-08-25 21:09:13 -03:00
Andrew Phillips
1640932148
feat: implement streaming for large file handling
...
Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat >
2025-08-25 21:07:04 -03:00
Andrew Phillips
a203059bb4
refactor: rename core module to services
...
Co-authored-by: aider (openai/andrew/openrouter/google/gemini-2.5-pro) <aider@aider.chat >
2025-08-25 14:21:20 -03:00
Andrew Phillips
7ec0603e00
feat: implement core services and refactor modes
...
Co-authored-by: aider (openai/andrew/openrouter/google/gemini-2.5-pro) <aider@aider.chat >
2025-08-24 23:56:06 -03:00
Andrew Phillips
5c66ac3d8a
fix: remove unused config parameter in mode functions
...
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat >
2025-08-16 12:11:31 -03:00
Andrew Phillips
c4b2a5d7e7
fix: update config type references and method calls
...
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat >
2025-08-16 12:03:13 -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
465e4c40ab
refactor: replace custom isatty implementation with is-terminal crate
...
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat >
2025-08-12 16:18:53 -03:00
Andrew Phillips
900f8cbc90
fix: correct import paths for common modules
...
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat >
2025-08-12 16:00:29 -03:00
Andrew Phillips
9ef94ea291
fix: correct import paths from crate::common to crate::modes::common
...
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat >
2025-08-12 16:00:05 -03:00
Andrew Phillips
3675a64a16
refactor: update imports for is_binary module move
...
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat >
2025-08-12 15:57:01 -03:00
Andrew Phillips
5150e2f478
chore: update dependencies and remove unused server modules
2025-08-12 14:38:59 -03:00
Andrew Phillips
2098d163e5
fix: resolve import errors and add missing Write trait
...
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat >
2025-08-11 14:22:58 -03:00
Andrew Phillips
86dabbdbc0
refactor: move binary detection to common module and enhance get logic
...
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat >
2025-08-11 14:18:53 -03:00
Andrew Phillips
ab7dc4c34f
fix: correct metadata access in get mode to use proper DB function
...
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat >
2025-08-11 13:16:45 -03:00
Andrew Phillips
50de138e23
feat: add --force option to override binary data TTY output prevention
...
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat >
2025-08-11 13:13:27 -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
dd8f828ed3
refactor: update function parameters to use references where appropriate
2025-05-14 22:09:23 -03:00
Andrew Phillips
0189f3c273
refactor: remove module prefixes from compression and digest engine functions
2025-05-13 15:00:30 -03:00
Andrew Phillips (aider)
8f93657fa1
refactor: consolidate imports for get_*_engine functions
2025-05-13 09:00:45 -03:00
Andrew Phillips (aider)
e15cf371e0
refactor: Update imports to use specific get_engine functions
2025-05-13 08:51:21 -03:00
Andrew Phillips (aider)
9330fc1db9
refactor: Rename get_engine to get_compression_engine and update references
2025-05-13 08:46:41 -03:00
Andrew Phillips (aider)
71a35a77a0
fix: correct compression module imports
2025-05-12 17:16:52 -03:00
Andrew Phillips (aider)
66e61a4196
refactor: move compression types to compression_engine module
2025-05-12 17:12:17 -03:00
Andrew Phillips (aider)
da47077b08
fix: add missing CompressionEngineProgram import and remove unused imports
2025-05-10 14:02:16 -03:00
Andrew Phillips (aider)
a955b2a0c6
refactor: remove unused imports from various files
2025-05-10 13:59:04 -03:00
Andrew Phillips
ceb50a03b3
style: organize and format use statements
2025-05-10 13:38:10 -03:00
Andrew Phillips (aider)
dbf3d70128
feat: Move ColumnType to common and update imports
2025-05-10 13:34:38 -03:00
Andrew Phillips (aider)
86a3a7da61
fix: add missing std::io import and remove unused import
2025-05-10 12:13:20 -03:00
Andrew Phillips (aider)
9fedd37494
fix: fix duplicate imports, type mismatch, and missing Read trait
2025-05-10 11:54:59 -03:00
Andrew Phillips (aider)
887e9cda42
The SEARCH block must exactly match the existing lines, including context. Here's the corrected block for src/modes/get.rs:
...
```rust
<<<<<<< SEARCH
use std::str::FromStr;
use clap::Command;
=======
use std::str::FromStr;
use std::io::BufWriter;
use clap::Command;
>>>>>>> REPLACE
```
This ensures the `BufWriter` import is added between `FromStr` and `Command` without duplicating any existing lines.
2025-05-10 11:51:47 -03:00
Andrew Phillips (aider)
86d2c2f9f5
fix: add missing imports and remove unused ones
2025-05-10 11:47:47 -03:00
Andrew Phillips
9feec61759
style: reorder imports and reformat code for consistency
2025-05-10 10:06:33 -03:00
Andrew Phillips (aider)
6a0c999d3d
fix: add delete module to modes and remove nested declaration
2025-05-10 08:38:21 -03:00
Andrew Phillips (aider)
93d06b4429
refactor: Move mode_delete function to src/modes/delete.rs
2025-05-10 08:37:03 -03:00
Andrew Phillips (aider)
60515c628a
refactor: remove unused imports from get.rs
2025-05-10 08:29:08 -03:00
Andrew Phillips (aider)
0f4deae712
feat(get): add clap Command and CompressionType imports
2025-05-10 07:46:57 -03:00
Andrew Phillips (aider)
5ce173fdc1
fix: resolve missing imports and private struct errors
2025-05-10 07:42:07 -03:00
Andrew Phillips (aider)
a53737057f
fix: fix duplicate imports and add missing FromStr for CompressionType
2025-05-10 07:40:00 -03:00
Andrew Phillips (aider)
361e0b3f6f
feat: Implement --get command to retrieve items by ID or tag with compression handling
2025-05-09 16:52:16 -03:00
Andrew Phillips (aider)
008899f6ab
fix: resolve missing functions and unused imports
...
The commit adds `pub` to `mode_get` for visibility and removes unused imports in `src/modes/get.rs`, while adding the missing `get_engine` import.
2025-05-09 16:39:41 -03:00
Andrew Phillips (aider)
f7a53dfa6e
refactor: move mode_get to modes/get module and update imports
2025-05-09 16:37:19 -03:00