Commit Graph

1444 Commits

Author SHA1 Message Date
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
40f07b6915 feat: add --force option to allow binary output to TTY
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-11 13:13:53 -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
f8c896fa25 fix: make generate_status_info public and remove unused imports
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
2025-08-11 13:04:19 -03:00
Andrew Phillips
ff588b9db2 refactor: decompose server module into endpoint-specific files
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
2025-08-11 13:01:57 -03:00
Andrew Phillips
da0a771683 feat: add common server mode utilities 2025-08-11 13:01:53 -03:00
Andrew Phillips
d5fb446763 refactor: unify status data generation and output formatting
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-11 12:22:54 -03:00
Andrew Phillips
c4e037d9c6 feat: sort compression types in status display
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-11 12:19:57 -03:00
Andrew Phillips
e2bcdd2acf refactor: use is_internal function to determine plugin type instead of hardcoded list
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-11 12:15:51 -03:00
Andrew Phillips
f5149cfb68 feat: sort meta plugins list by name in status output
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-11 12:14:06 -03:00
Andrew Phillips
e8eaf7aeb1 feat: Add is_internal method to MetaPlugin trait and implementations
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-11 12:11:00 -03:00
Andrew Phillips
6588c827be feat: add is_internal trait method to distinguish internal plugins
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-11 11:52:52 -03:00
Andrew Phillips
f58336e67c fix: add missing binary meta plugin and update plugin list sorting
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
2025-08-11 11:42:23 -03:00
Andrew Phillips
b97e79ed2f refactor: improve binary detection with expanded file type support and cleaner code structure
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
2025-08-11 11:38:12 -03:00
Andrew Phillips
68d182ee0b feat: expand binary detection to include common Linux file types
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-11 11:34:52 -03:00
Andrew Phillips
dc550c3f35 feat: add binary meta plugin to detect text vs binary content
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-11 11:32:16 -03:00
Andrew Phillips
ac531354d5 fix: prevent duplicate database connection in server mode
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-11 10:44:39 -03:00
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