Commit Graph

49 Commits

Author SHA1 Message Date
Andrew Phillips
4371366db4 fix: update method calls to use instance methods
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-19 14:00:15 -03:00
Andrew Phillips
15f522a218 fix: correct closing brace syntax errors
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-19 13:58:28 -03:00
Andrew Phillips
81397c1319 feat: update meta plugin constructors to accept options and outputs
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-19 13:56:33 -03:00
Andrew Phillips
cd6033ad3b feat: add default_options method to all meta plugins
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-19 13:36:59 -03:00
Andrew Phillips
c7a0e285e0 feat: add default outputs to meta plugins
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-19 13:35:49 -03:00
Andrew Phillips
a1a66c1920 fix: remove unused imports and fix settings default error
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-19 13:33:10 -03:00
Andrew Phillips
38cbf06579 refactor: replace get_* and set_* methods with direct field access
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
2025-08-19 13:15:48 -03:00
Andrew Phillips
58ecbd63cf refactor: update meta plugin to use output mappings
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
2025-08-19 12:57:06 -03:00
Andrew Phillips
4ba8ce74cb refactor: move binary plugin to its own module
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-18 20:30:33 -03:00
Andrew Phillips
40637c8881 feat: add binary meta plugin implementation 2025-08-18 20:30:29 -03:00
Andrew Phillips
d96804bdfb refactor: remove connection storage from plugin structs and pass as argument
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-18 15:52:27 -03:00
Andrew Phillips
2a16edcbe7 fix: remove unused magic_file metadata outputs and fix binary detection timing
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-18 11:08:48 -03:00
Andrew Phillips
7f28129c00 feat: add central metadata output handler
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-18 10:51:58 -03:00
Andrew Phillips
ecd3e316c5 fix: correct type mismatch in max_buffer_size handling
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-18 10:09:45 -03:00
Andrew Phillips
592c277735 feat: add support for meta plugin options and outputs
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-18 10:07:51 -03:00
Andrew Phillips
c89fe9bef3 fix: add std::io imports and update finalize return type
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-18 08:35:01 -03:00
Andrew Phillips
cd63dda271 fix: update trait and remove unused io imports
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-18 08:31:47 -03:00
Andrew Phillips
22206de5ab feat: update finalize to return Result<()> and simplify save mode
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-18 08:12:49 -03:00
Andrew Phillips
2424c543d6 fix: implement debug for meta plugin program and remove unused imports
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-18 08:03:55 -03:00
Andrew Phillips
3dac2d3073 fix: remove deprecated create method from MetaPlugin implementations
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-18 08:03:06 -03:00
Andrew Phillips
31a653449c fix: prevent duplicate metadata storage by returning empty strings from finalize
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
2025-08-16 14:37:13 -03:00
Andrew Phillips
6b2cb49881 fix: add is_saved tracking to prevent duplicate metadata saves
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
2025-08-16 14:32:40 -03:00
Andrew Phillips
4f05dbd61f fix: prevent duplicate metadata saves and fix binary plugin detection
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-16 14:29:31 -03:00
Andrew Phillips
c23edf0fb8 refactor: rename saved_during_io to is_saved
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-16 14:26:32 -03:00
Andrew Phillips
9dea6dec4e refactor: remove redundant save_meta implementation from BinaryMetaPlugin
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-16 14:26:02 -03:00
Andrew Phillips
e8c9eda1fa fix: add missing log::debug import
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-16 14:24:35 -03:00
Andrew Phillips
cfee32ff35 fix: remove saved_during_io from trait and add to BinaryMetaPlugin
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-16 14:24:06 -03:00
Andrew Phillips
389bb59531 feat: add early binary detection and prevent duplicate metadata saving
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-16 14:23:28 -03:00
Andrew Phillips
a7977139a7 refactor: move meta plugin finalization logic into meta plugins
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-16 14:04:19 -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
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
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
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
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
6b34f2e226 fix: remove duplicate TtyMetaPlugin implementation
Co-authored-by: aider (openai/andrew.openrouter.qwen.qwen3-coder) <aider@aider.chat>
2025-07-29 14:46:57 -03:00
Andrew Phillips
b6b810e232 feat: use isatty::tty_path for TTY detection in meta plugin
Co-authored-by: aider (openai/andrew.openrouter.qwen.qwen3-coder) <aider@aider.chat>
2025-07-29 14:43:50 -03:00
Andrew Phillips
f58a98ddae refactor: improve TTY detection using /proc/self/stat and device number parsing
Co-authored-by: aider (openai/andrew.openrouter.qwen.qwen3-coder) <aider@aider.chat>
2025-07-29 14:40:30 -03:00
Andrew Phillips
f20cecbcc7 fix: use tty command instead of reading /dev/tty link for TTY meta plugin
Co-authored-by: aider (openai/andrew.openrouter.qwen.qwen3-coder) <aider@aider.chat>
2025-07-29 14:40:00 -03:00
Andrew Phillips
8a2468522a feat: add tty meta plugin to get current terminal device
Co-authored-by: aider (openai/andrew.openrouter.qwen.qwen3-coder) <aider@aider.chat>
2025-07-29 14:38:09 -03:00
Andrew Phillips
6bcabf4fb8 fix: use SHELL environment variable instead of user database for shell meta plugin
Co-authored-by: aider (openai/andrew.openrouter.qwen.qwen3-coder) <aider@aider.chat>
2025-07-29 12:49:39 -03:00
Andrew Phillips
5d79fe8a82 fix: remove invalid import and use proper uzers API
Co-authored-by: aider (openai/andrew.openrouter.qwen.qwen3-coder) <aider@aider.chat>
2025-07-29 12:48:24 -03:00
Andrew Phillips
67c8f48a7c refactor: move hostname plugins to system module and remove basic.rs
Co-authored-by: aider (openai/andrew.openrouter.qwen.qwen3-coder) <aider@aider.chat>
2025-07-29 12:46:05 -03:00
Andrew Phillips
46d305f13d feat: add system metadata plugins for file info and user context
Co-authored-by: aider (openai/andrew.openrouter.qwen.qwen3-coder) <aider@aider.chat>
2025-07-29 12:45:03 -03:00