Commit Graph

1302 Commits

Author SHA1 Message Date
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
Andrew Phillips
6869b08a77 refactor: restructure server routing and add documentation routes 2025-08-12 15:01:38 -03:00
Andrew Phillips
4c82c55f58 refactor: move API routes to api.rs and remove unused imports
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-12 14:50:14 -03:00
Andrew Phillips
afdecb6c51 fix: resolve module ambiguity and fix import paths in server docs
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-12 14:40:58 -03:00
Andrew Phillips
592e0586b4 fix: update module imports to reflect moved files in server mode
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-12 14:40:16 -03:00
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