Commit Graph

1261 Commits

Author SHA1 Message Date
Andrew Phillips
5150e2f478 chore: update dependencies and remove unused server modules 2025-08-12 14:38:59 -03:00
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
26bb2787d3 docs: add REST API endpoints documentation to DESIGN.md
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-12 14:09:17 -03:00
Andrew Phillips
c1fb3cb3ba docs: improve documentation for ProgramWriter and plugins module
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-12 14:08:59 -03:00
Andrew Phillips
d3e0b86a91 fix: add missing common module declaration in main.rs
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-11 14:23:31 -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
55d97a7ea1 refactor: remove duplicate binary detection logic from BinaryMetaPlugin
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-11 14:20:50 -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
6f27530b3b fix: adjust printable character ratio threshold for binary detection
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-11 13:22:04 -03:00
Andrew Phillips
ab48d19dcd fix: adjust binary detection threshold to properly classify random data as binary
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-11 13:21:58 -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
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