Commit Graph

559 Commits

Author SHA1 Message Date
Andrew Phillips
f2c951ac73 feat: implement status endpoint with version, paths, and plugin info
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-12 14:35:52 -03:00
Andrew Phillips
e67d7ba98f fix: complete incomplete use statement and implement API router with all endpoints
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-12 14:32:57 -03:00
Andrew Phillips
703ae3b776 refactor: remove redundant server modules after api refactoring
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-12 14:32:44 -03:00
Andrew Phillips
077adc0cb0 refactor: remove redundant server API modules and update mod.rs exports
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-12 14:32:17 -03:00
Andrew Phillips
78c546e7e1 feat: add server API module 2025-08-12 14:32:08 -03:00
Andrew Phillips
fbdf2d84b7 refactor: reorganize REST API into modular endpoint files
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-12 14:25:50 -03:00
Andrew Phillips
04a8505e86 feat: add server API modules for status and item endpoints 2025-08-12 14:25:47 -03:00
Andrew Phillips
4d7bed7057 feat: implement API endpoints with /api prefix and add raw content/metadata routes
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-12 14:15:58 -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
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
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
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
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
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
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