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
|
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
|
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
|
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 |
|
Andrew Phillips
|
8814d02264
|
test: update tests to use keep binary directly instead of cargo run
Co-authored-by: aider (openai/andrew.openrouter.qwen.qwen3-coder) <aider@aider.chat>
|
2025-07-29 15:01:44 -03:00 |
|
Andrew Phillips
|
52618586d1
|
chore: remove unused dependencies and dead code
Co-authored-by: aider (openai/andrew.openrouter.qwen.qwen3-coder) <aider@aider.chat>
|
2025-07-29 14:53:07 -03:00 |
|
Andrew Phillips
|
6b34f2e226
|
fix: remove duplicate TtyMetaPlugin implementation
Co-authored-by: aider (openai/andrew.openrouter.qwen.qwen3-coder) <aider@aider.chat>
|
2025-07-29 14:46:57 -03:00 |
|
Andrew Phillips
|
ebefa22074
|
chore: remove tty plugin and related code
Co-authored-by: aider (openai/andrew.openrouter.qwen.qwen3-coder) <aider@aider.chat>
|
2025-07-29 14:46:36 -03:00 |
|
Andrew Phillips
|
b6b810e232
|
feat: use isatty::tty_path for TTY detection in meta plugin
Co-authored-by: aider (openai/andrew.openrouter.qwen.qwen3-coder) <aider@aider.chat>
|
2025-07-29 14:43:50 -03:00 |
|
Andrew Phillips
|
f58a98ddae
|
refactor: improve TTY detection using /proc/self/stat and device number parsing
Co-authored-by: aider (openai/andrew.openrouter.qwen.qwen3-coder) <aider@aider.chat>
|
2025-07-29 14:40:30 -03:00 |
|
Andrew Phillips
|
f20cecbcc7
|
fix: use tty command instead of reading /dev/tty link for TTY meta plugin
Co-authored-by: aider (openai/andrew.openrouter.qwen.qwen3-coder) <aider@aider.chat>
|
2025-07-29 14:40:00 -03:00 |
|
Andrew Phillips
|
8a2468522a
|
feat: add tty meta plugin to get current terminal device
Co-authored-by: aider (openai/andrew.openrouter.qwen.qwen3-coder) <aider@aider.chat>
|
2025-07-29 14:38:09 -03:00 |
|
Andrew Phillips
|
291b6d9587
|
feat: implement batch queries for improved list performance
Co-authored-by: aider (openai/andrew.openrouter.qwen.qwen3-coder) <aider@aider.chat>
|
2025-07-29 14:26:26 -03:00 |
|
Andrew Phillips
|
47349802d8
|
chore: update dependencies and remove unused basic meta plugin
|
2025-07-29 14:17: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
|
cd092ab3ea
|
fix: remove unused import in status module
Co-authored-by: aider (openai/andrew.openrouter.qwen.qwen3-coder) <aider@aider.chat>
|
2025-07-29 13:59:07 -03:00 |
|
Andrew Phillips
|
71a37063a4
|
refactor: remove unused default_meta_plugin_type function
Co-authored-by: aider (openai/andrew.openrouter.qwen.qwen3-coder) <aider@aider.chat>
|
2025-07-29 13:58:11 -03:00 |
|
Andrew Phillips
|
f32f898784
|
refactor: Remove duplicated program info definitions in status mode
Co-authored-by: aider (openai/andrew.openrouter.qwen.qwen3-coder) <aider@aider.chat>
|
2025-07-29 13:56:41 -03:00 |
|
Andrew Phillips
|
9615e684f0
|
refactor: use MetaPlugin.is_supported() to determine plugin status display
Co-authored-by: aider (openai/andrew.openrouter.qwen.qwen3-coder) <aider@aider.chat>
|
2025-07-29 13:53:11 -03:00 |
|