Andrew Phillips
|
c38ae0d4a9
|
feat: add max_buffer_size to MagicFileMetaPlugin and refactor MetaPluginProgram
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
|
2025-08-18 07:56:56 -03:00 |
|
Andrew Phillips
|
133538881f
|
feat: combine magic plugins into single magic_file plugin
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
|
2025-08-17 17:36:46 -03:00 |
|
Andrew Phillips
|
51453db3c3
|
fix: specify type parameter for cookie.load
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
|
2025-08-16 14:53:11 -03:00 |
|
Andrew Phillips
|
7615d6af88
|
fix: update magic cookie flags and default value
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
|
2025-08-16 14:52:35 -03:00 |
|
Andrew Phillips
|
151ec151db
|
feat: add magic meta plugin implementation
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
|
2025-08-16 14:51:30 -03:00 |
|
Andrew Phillips
|
28959a357c
|
feat: add magic plugin and update debug log format
|
2025-08-16 14:51:26 -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
|
b4c9fd47c2
|
fix: change self reference to mutable in save_meta and remove unused imports
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
|
2025-08-16 14:06:04 -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
|
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
|
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
|
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
|
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
|
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
|
47349802d8
|
chore: update dependencies and remove unused basic meta plugin
|
2025-07-29 14:17:06 -03:00 |
|
Andrew Phillips
|
f32f898784
|
refactor: Remove duplicated program info definitions in status mode
Co-authored-by: aider (openai/andrew.openrouter.qwen.qwen3-coder) <aider@aider.chat>
|
2025-07-29 13:56:41 -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 |
|
Andrew Phillips
|
3de832d886
|
feat: add hostname and full_hostname meta plugins with error handling
Co-authored-by: aider (openai/andrew.openrouter.qwen.qwen3-coder) <aider@aider.chat>
|
2025-07-29 12:11:46 -03:00 |
|
Andrew Phillips
|
5a41021188
|
feat: Add units to read_rate and read_time meta plugins
Co-authored-by: aider (openai/andrew.openrouter.qwen.qwen3-coder) <aider@aider.chat>
|
2025-07-29 12:02:41 -03:00 |
|
Andrew Phillips
|
85dfe5d67a
|
feat: add read time and read rate meta plugins
Co-authored-by: aider (openai/andrew.openrouter.qwen.qwen3-coder) <aider@aider.chat>
|
2025-07-29 11:35:31 -03:00 |
|
Andrew Phillips
|
d530f1bc43
|
refactor: remove is_default from meta plugins and add read_time/read_rate plugins
Co-authored-by: aider (openai/andrew.openrouter.qwen.qwen3-coder) <aider@aider.chat>
|
2025-07-29 11:32:48 -03:00 |
|
Andrew Phillips
|
0d1fa6a994
|
fix: split md5sum output on whitespace to extract only the hash value
Co-authored-by: aider (openai/andrew.openrouter.qwen.qwen3-coder) <aider@aider.chat>
|
2025-07-29 11:10:29 -03:00 |
|
Andrew Phillips
|
d666cfce00
|
refactor: reimplement digest engines as meta plugins
Co-authored-by: aider (openai/andrew.openrouter.qwen.qwen3-coder) <aider@aider.chat>
|
2025-07-28 17:12:13 -03:00 |
|
Andrew Phillips
|
0bf898c0e7
|
fix: correctly track and log item size during IO loop
|
2025-07-28 17:12:10 -03:00 |
|
Andrew Phillips
|
adf18ac871
|
fix: buffer data in meta plugin for finalize command
Co-authored-by: aider (openai/andrew.openrouter.qwen.qwen3-coder) <aider@aider.chat>
|
2025-07-28 16:57:35 -03:00 |
|
Andrew Phillips
|
1023724681
|
fix: implement proper finalize method to capture command output
Co-authored-by: aider (openai/andrew.openrouter.qwen.qwen3-coder) <aider@aider.chat>
|
2025-07-28 16:55:45 -03:00 |
|