Commit Graph

1315 Commits

Author SHA1 Message Date
Andrew Phillips
036707957c fix: resolve Swagger UI integration with Axum router
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-12 17:10:02 -03:00
Andrew Phillips
8207c29d9c fix: add missing db module import and fix router merge issue
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-12 17:09:12 -03:00
Andrew Phillips
4d3a9fd3ac fix: resolve compilation errors by adding missing imports and fixing schema definitions
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-12 16:58:29 -03:00
Andrew Phillips
3395c54843 refactor: reformat route addition for better readability 2025-08-12 16:58:27 -03:00
Andrew Phillips
900aa73959 fix: add missing utoipa dependencies for API documentation
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-12 16:57:16 -03:00
Andrew Phillips
47f4c1b865 fix: remove duplicate once_cell dependency in Cargo.toml 2025-08-12 16:57:15 -03:00
Andrew Phillips
3a999e60f8 fix: remove redundant OpenAPI endpoint and fix Swagger UI path reference
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-12 16:55:33 -03:00
Andrew Phillips
27a590a566 fix: restore missing OpenAPI handler and fix Swagger UI route reference
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-12 16:55:14 -03:00
Andrew Phillips
01b27fb61d fix: restore openapi.json endpoint and update swagger UI path reference
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-12 16:54:58 -03:00
Andrew Phillips
454bf7ba4a fix: remove trailing slash from swagger UI route 2025-08-12 16:54:57 -03:00
Andrew Phillips
90d4f3f10b fix: add OpenAPI documentation to API endpoints and integrate Swagger UI
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-12 16:47:16 -03:00
Andrew Phillips
96bfc09c51 feat: add swagger documentation link to main page
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-12 16:40:09 -03:00
Andrew Phillips
d4c3f5a090 feat: add HTML endpoints for item listing and details pages
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-12 16:37:15 -03:00
Andrew Phillips
6ec8e7a669 feat: add server pages mode implementation 2025-08-12 16:37:13 -03:00
Andrew Phillips
6e4b690bd8 feat: use humansize crate and which crate for program lookup
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-12 16:23:11 -03:00
Andrew Phillips
465e4c40ab refactor: replace custom isatty implementation with is-terminal crate
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-12 16:18:53 -03:00
Andrew Phillips
db8be3e480 build: add once_cell dependency to Cargo.toml
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-12 16:18:12 -03:00
Andrew Phillips
d0eecc94f2 perf: Cache program lookups to reduce filesystem operations
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-12 16:18:07 -03:00
Andrew Phillips
225f6b24b2 fix: remove unused StatusInfo import in status.rs
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-12 16:01:30 -03:00
Andrew Phillips
1922a08742 fix: resolve unresolved imports by exposing common modules
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-12 16:00:58 -03:00
Andrew Phillips
900f8cbc90 fix: correct import paths for common modules
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-12 16:00:29 -03:00
Andrew Phillips
9ef94ea291 fix: correct import paths from crate::common to crate::modes::common
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-12 16:00:05 -03:00
Andrew Phillips
3e865660e4 fix: remove duplicate mod declaration and add missing common module file
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-12 15:59:07 -03:00
Andrew Phillips
dceadd585a fix: improve UTF-16 detection logic in is_binary function
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-12 15:58:14 -03:00
Andrew Phillips
16644bb9a6 feat: add binary file detection with signature matching and text analysis 2025-08-12 15:58:11 -03:00
Andrew Phillips
3675a64a16 refactor: update imports for is_binary module move
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-12 15:57:01 -03:00
Andrew Phillips
bd1d6d00c3 refactor: Add SERVER prefix to debug log message in server mode 2025-08-12 15:54:05 -03:00
Andrew Phillips
5a8420f7a1 refactor: remove unused common module 2025-08-12 15:53:42 -03:00
Andrew Phillips
9b80839948 fix: resolve module import and naming conflicts
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-12 15:52:29 -03:00
Andrew Phillips
efb354ba38 refactor: remove redundant status module export from api mod
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-12 15:49:11 -03:00
Andrew Phillips
0846f2f0d9 fix: resolve module conflicts and import status module properly
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-12 15:49:04 -03:00
Andrew Phillips
29f4260b2a fix: remove duplicate status module export from server api mod.rs
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-12 15:48:35 -03:00
Andrew Phillips
d4655203ba fix: resolve module conflicts and missing status import
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-12 15:48:22 -03:00
Andrew Phillips
6ff67312aa fix: remove conflicting module declaration in server api mod.rs
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-12 15:47:28 -03:00
Andrew Phillips
b6c19297a0 fix: resolve module conflicts and missing status import
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-12 15:47:23 -03:00
Andrew Phillips
af9edbbc3b fix: remove conflicting module file to resolve compilation error
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-12 15:47:05 -03:00
Andrew Phillips
71fac1e507 refactor: move generate_status_info to common module and update imports
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-12 15:46:23 -03:00
Andrew Phillips
0994ff0e48 fix: align /api/status endpoint with --status --output-format=json command output
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-12 15:40:33 -03:00
Andrew Phillips
eb5e979210 fix: resolve Args type import issues in server module
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-12 15:35:29 -03:00
Andrew Phillips
13f7e7e095 fix: remove unused imports and dead code
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-12 15:34:57 -03:00
Andrew Phillips
46fff9464f refactor: remove duplicate api route definitions 2025-08-12 15:33:45 -03:00
Andrew Phillips
4f84fdca34 refactor: rename item handler functions to match route paths consistently
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-12 15:33:37 -03:00
Andrew Phillips
8037105d86 refactor: rename item API endpoints for clarity and consistency 2025-08-12 15:33:36 -03:00
Andrew Phillips
5ea70fabbc fix: resolve module import conflicts and enum variant errors in API modules
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-12 15:05:19 -03:00
Andrew Phillips
11b5db815e fix: resolve module ambiguity by consolidating api routes into mod.rs
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-12 15:04:39 -03:00
Andrew Phillips
e311f2b58f fix: resolve module naming conflict and router type issues
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-12 15:04:20 -03:00
Andrew Phillips
79cbffe9d4 fix: resolve module naming conflict and router type issues
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-12 15:03:56 -03:00
Andrew Phillips
20340be9ac fix: resolve module naming conflict and router method availability
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-12 15:02:22 -03:00
Andrew Phillips
25b70492bc refactor: restructure API routes with /api prefix and update content endpoint paths 2025-08-12 15:02:21 -03:00
Andrew Phillips
68c5514a44 refactor: use api::add_routes() and docs::add_routes() to register server routes
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-12 15:01:40 -03:00