Andrew Phillips
|
d19ef19a5b
|
feat: implement buffer size limit and early metadata storage for binary plugin
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
|
2025-08-18 20:39:52 -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
|
15774d377d
|
fix: remove unused digest field and mutable process
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
|
2025-08-18 09:54:02 -03:00 |
|
Andrew Phillips
|
18a3f1b36e
|
feat: add sha256 hash metadata storage in finalize
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
|
2025-08-18 09:20:07 -03:00 |
|
Andrew Phillips
|
9e62356a30
|
feat: initialize cookie once and use set_flags for subsequent operations
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
|
2025-08-18 09:16:40 -03:00 |
|
Andrew Phillips
|
e86fbda144
|
feat: rename magic meta fields to remove prefix
|
2025-08-18 09:16:37 -03:00 |
|
Andrew Phillips
|
1b6ff44312
|
fix: correct magic file type and mime encoding detection
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
|
2025-08-18 08:50:01 -03:00 |
|
Andrew Phillips
|
1e4e039672
|
feat: add combined mime info support and remove metadata filtering
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
|
2025-08-18 08:47:04 -03:00 |
|
Andrew Phillips
|
ffd5fb12cc
|
fix: initialize magic cookie with mime type and encoding flags
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
|
2025-08-18 08:44:21 -03:00 |
|
Andrew Phillips
|
8de8368df7
|
feat: implement program plugin metadata saving
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
|
2025-08-18 08:40:36 -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
|
f11070dc60
|
feat: implement buffer-based storage for magic file metadata
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
|
2025-08-18 08:08:27 -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
|
2b6f068784
|
refactor: remove unused create() method from MetaPlugin trait
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
|
2025-08-18 08:00:24 -03:00 |
|
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 |
|