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
|
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
|
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
|
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
|
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
|
cae1cfcaf2
|
fix: resolve borrowing issue in meta plugin support check
Co-authored-by: aider (openai/andrew.openrouter.qwen.qwen3-coder) <aider@aider.chat>
|
2025-07-29 14:11:01 -03:00 |
|
Andrew Phillips
|
13a2747a8d
|
fix: warn and remove unsupported meta plugins in save mode
Co-authored-by: aider (openai/andrew.openrouter.qwen.qwen3-coder) <aider@aider.chat>
|
2025-07-29 14:04:19 -03:00 |
|
Andrew Phillips
|
a8717f4b94
|
feat: warn when meta plugins are enabled but not supported
Co-authored-by: aider (openai/andrew.openrouter.qwen.qwen3-coder) <aider@aider.chat>
|
2025-07-29 14:01:27 -03:00 |
|
Andrew Phillips
|
6452eee203
|
fix: clone meta_name before moving it to store_item_meta_value
Co-authored-by: aider (openai/andrew.openrouter.qwen.qwen3-coder) <aider@aider.chat>
|
2025-07-29 12:12:44 -03:00 |
|
Andrew Phillips
|
3de832d886
|
feat: add hostname and full_hostname meta plugins with error handling
Co-authored-by: aider (openai/andrew.openrouter.qwen.qwen3-coder) <aider@aider.chat>
|
2025-07-29 12:11:46 -03:00 |
|
Andrew Phillips
|
d0ac4cf637
|
fix: reorder variable declarations to fix scope issue with meta_plugin_types
Co-authored-by: aider (openai/andrew.openrouter.qwen.qwen3-coder) <aider@aider.chat>
|
2025-07-29 11:05:25 -03:00 |
|
Andrew Phillips
|
e51a902660
|
refactor: integrate digest functionality into meta plugins and remove digest_engine module
Co-authored-by: aider (openai/andrew.openrouter.qwen.qwen3-coder) <aider@aider.chat>
|
2025-07-28 17:31:23 -03:00 |
|
Andrew Phillips
|
d666cfce00
|
refactor: reimplement digest engines as meta plugins
Co-authored-by: aider (openai/andrew.openrouter.qwen.qwen3-coder) <aider@aider.chat>
|
2025-07-28 17:12:13 -03:00 |
|
Andrew Phillips
|
0bf898c0e7
|
fix: correctly track and log item size during IO loop
|
2025-07-28 17:12:10 -03:00 |
|
Andrew Phillips (aider)
|
888f24640e
|
chore: remove unused import and fix mutable borrow issue
|
2025-05-22 16:44:07 -03:00 |
|
Andrew Phillips (aider)
|
7e9b22ceb6
|
fix: add missing imports in save.rs
|
2025-05-22 16:41:39 -03:00 |
|
Andrew Phillips (aider)
|
cbd7ec8fe0
|
fix: use iter_mut() for mutable meta_plugins
|
2025-05-22 16:39:27 -03:00 |
|
Andrew Phillips
|
6f5c3c3dd4
|
feat: add meta plugin support to save mode
|
2025-05-22 16:39:23 -03:00 |
|
Andrew Phillips (aider)
|
7a8814e926
|
feat: implement meta plugin initialization in save mode
|
2025-05-22 16:27:11 -03:00 |
|
Andrew Phillips
|
6935ea2dea
|
refactor: extract digest and compression engine initialization
|
2025-05-22 16:27:09 -03:00 |
|
Andrew Phillips
|
fee358c406
|
refactor: update debug logging for digest and compression types
|
2025-05-22 16:20:02 -03:00 |
|
Andrew Phillips (aider)
|
af84c332ea
|
fix: correct import statements and method usage
|
2025-05-22 15:49:34 -03:00 |
|
Andrew Phillips
|
f0ef529da5
|
feat: add meta plugin types support
|
2025-05-22 15:49:32 -03:00 |
|
Andrew Phillips
|
a8c363333c
|
refactor: remove digest fields from db and item struct
|
2025-05-21 20:24:17 -03:00 |
|
Andrew Phillips
|
5a6a8ee97b
|
refactor: improve code formatting and readability in SQL and function calls
|
2025-05-14 22:50:35 -03:00 |
|
Andrew Phillips
|
dd8f828ed3
|
refactor: update function parameters to use references where appropriate
|
2025-05-14 22:09:23 -03:00 |
|
Andrew Phillips
|
d1edd20845
|
feat: extract digest and compression type handling into common command functions
|
2025-05-14 21:54:45 -03:00 |
|
Andrew Phillips (aider)
|
0774e36184
|
fix: add missing imports and fix return type in store_item_digest_value
|
2025-05-14 17:20:28 -03:00 |
|
Andrew Phillips (aider)
|
4ac2943683
|
refactor: update store_item_digest_value calls to use new argument types
|
2025-05-14 17:18:11 -03:00 |
|
Andrew Phillips (aider)
|
72a8337f4e
|
refactor: use store_item_digest_value in mode_update and mode_save
|
2025-05-14 17:12:18 -03:00 |
|
Andrew Phillips
|
5790aa6993
|
refactor: rename variable to clarify digest metadata purpose
|
2025-05-14 17:04:11 -03:00 |
|
Andrew Phillips (aider)
|
ac4660684d
|
fix: clone moved values to resolve ownership issues
|
2025-05-14 16:32:04 -03:00 |
|
Andrew Phillips (aider)
|
477a03fbb7
|
feat: store digest in meta entry with get_digest_type_meta as name
|
2025-05-14 16:29:27 -03:00 |
|
Andrew Phillips
|
bbdfe19836
|
feat: add compression and digest support with database schema updates
|
2025-05-14 09:45:51 -03:00 |
|
Andrew Phillips
|
1aaf1e6221
|
feat: make digest_value optional and add digest display
|
2025-05-13 17:49:19 -03:00 |
|
Andrew Phillips (aider)
|
1d9ca1b9dd
|
fix: clone digest_type to avoid move error
|
2025-05-13 17:25:38 -03:00 |
|
Andrew Phillips (aider)
|
2e6bc0cc77
|
fix: add missing digest_type and digest_value to db::Item
|
2025-05-13 17:22:08 -03:00 |
|
Andrew Phillips (aider)
|
6074fd3430
|
refactor: rename default_type to default_compression_type in compression calls
|
2025-05-13 16:44:12 -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)
|
f0a8fb3490
|
refactor: Remove crate:: prefix from get_digest_engine
|
2025-05-13 08:58:24 -03:00 |
|
Andrew Phillips (aider)
|
889c2bc838
|
refactor: update engine calls to use imported functions
|
2025-05-13 08:56:21 -03:00 |
|