Commit Graph

124 Commits

Author SHA1 Message Date
Andrew Phillips
5830601150 refactor: add get_item_content_info to AsyncItemService and simplify binary checks
Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
2025-08-25 20:48:09 -03:00
Andrew Phillips
04554fe04d refactor: extract content info logic to item_service
Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
2025-08-25 20:46:30 -03:00
Andrew Phillips
0932ea9614 chore: remove unused imports and variables
Co-authored-by: aider (openai/andrew/openrouter/deepseek/deepseek-chat-v3.1) <aider@aider.chat>
2025-08-25 20:42:31 -03:00
Andrew Phillips
1f11351d9b refactor: optimize item service creation by creating it once per connection
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-25 20:27:21 -03:00
Andrew Phillips
4acec3d3dd refactor: optimize item content streaming to reduce redundant database queries
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-25 20:17:45 -03:00
Andrew Phillips
b9d6bd52d5 feat: implement streaming for item content with offset and length support
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-25 19:33:24 -03:00
Andrew Phillips
6ee1c64080 feat: implement length parameter handling in stream_item_content_by_id
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-25 19:11:03 -03:00
Andrew Phillips
694575ad36 fix: replace streaming with synchronous content retrieval
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-25 19:06:48 -03:00
Andrew Phillips
b039bc4b33 fix: remove unused imports and fix field access errors
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-25 19:05:33 -03:00
Andrew Phillips
4dc4d89f81 feat: add decompression support for streaming item content
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-25 19:04:11 -03:00
Andrew Phillips
cbb5af6ea5 fix: remove incorrect .dat extension from async item file path
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-25 18:57:18 -03:00
Andrew Phillips
7ef2ac670b fix: resolve lifetime issues and remove unused imports
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-25 18:50:21 -03:00
Andrew Phillips
e364bd072a refactor: move stream_item_content to AsyncItemService as method
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-25 18:49:28 -03:00
Andrew Phillips
62844b2073 fix: update bytes import and fix data_path field references
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-25 18:47:54 -03:00
Andrew Phillips
81307bfe19 fix: add bytes dependency and fix stream type mismatches
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-25 18:46:15 -03:00
Andrew Phillips
a814f60f32 feat: add stream_item_content method for async content streaming
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-25 18:42:54 -03:00
Andrew Phillips
10b1522095 refactor: move allow_binary logic to async_item_service
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-25 18:42:31 -03:00
Andrew Phillips
f6454d94f3 refactor: remove unused code and fields
Co-authored-by: aider (openai/andrew/openrouter/qwen/qwen3-coder) <aider@aider.chat>
2025-08-25 18:26:01 -03:00
Andrew Phillips
321e00171e feat: move core services to services directory 2025-08-25 18:22:17 -03:00
Andrew Phillips
aa66bfca06 fix: remove redundant debug log and metadata retrieval
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
2025-08-25 15:55:05 -03:00
Andrew Phillips
7d7b2d74fe feat: make save_item return only item ID for CLI usage
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
2025-08-25 15:52:55 -03:00
Andrew Phillips
9d99273ff7 feat: move new item notification before input processing
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
2025-08-25 15:47:41 -03:00
Andrew Phillips
a7b142945b feat: add debugging to item service
Co-authored-by: aider (openai/andrew/openrouter/anthropic/claude-sonnet-4) <aider@aider.chat>
2025-08-25 15:43:56 -03:00
Andrew Phillips
078d90b723 feat: add item service for managing items and their metadata 2025-08-25 15:43:44 -03:00