cli/pkg
Snider bfa5353205
Add streaming API to pkg/io and optimize agentic context gathering (#313)
* feat(io): add streaming API to Medium interface and optimize agentic context

- Added ReadStream and WriteStream to io.Medium interface.
- Implemented streaming methods in local and mock mediums.
- Updated pkg/agentic/context.go to use streaming I/O with LimitReader.
- Added 5000-byte truncation limit for all AI context file reads to reduce memory usage.
- Documented when to use streaming vs full-file APIs in io.Medium.

* feat(io): optimize streaming API and fix PR feedback

- Fixed resource leak in agentic context by using defer for closing file streams.
- Improved truncation logic in agentic context to handle multibyte characters correctly by checking byte length before string conversion.
- Added comprehensive documentation to ReadStream and WriteStream in local medium.
- Added unit tests for ReadStream and WriteStream in local medium.
- Applied formatting and fixed auto-merge CI configuration.

* feat(io): add streaming API and fix CI failures (syntax fix)

- Introduced ReadStream and WriteStream to io.Medium interface.
- Implemented streaming methods in local and mock mediums.
- Optimized agentic context with streaming reads and truncation logic.
- Fixed syntax error in local client tests by overwriting the file.
- Fixed auto-merge CI by adding checkout and repository context.
- Applied formatting fixes.
2026-02-05 11:00:49 +00:00
..
agentic Add streaming API to pkg/io and optimize agentic context gathering (#313) 2026-02-05 11:00:49 +00:00
ai feat: infrastructure packages and lint cleanup (#281) 2026-02-04 11:34:43 +00:00
ansible Add streaming API to pkg/io and optimize agentic context gathering (#313) 2026-02-05 11:00:49 +00:00
build Centralized Configuration Service Implementation (#319) 2026-02-05 10:26:44 +00:00
cache chore(io): migrate pkg/cache to Medium abstraction (#288) 2026-02-04 15:15:46 +00:00
cli Add streaming API to pkg/io and optimize agentic context gathering (#313) 2026-02-05 11:00:49 +00:00
collect feat: infrastructure packages and lint cleanup (#281) 2026-02-04 11:34:43 +00:00
config Centralized Configuration Service Implementation (#319) 2026-02-05 10:26:44 +00:00
container Add streaming API to pkg/io and optimize agentic context gathering (#313) 2026-02-05 11:00:49 +00:00
crypt Add streaming API to pkg/io and optimize agentic context gathering (#313) 2026-02-05 11:00:49 +00:00
deploy feat: wire release command, add tar.xz support, unified installers (#277) 2026-02-04 00:49:57 +00:00
devops Add streaming API to pkg/io and optimize agentic context gathering (#313) 2026-02-05 11:00:49 +00:00
framework Add streaming API to pkg/io and optimize agentic context gathering (#313) 2026-02-05 11:00:49 +00:00
git feat: git command, build improvements, and go fmt git-aware (#74) 2026-02-01 10:48:44 +00:00
help feat(help): Implement full-text search (#294) 2026-02-05 10:26:16 +00:00
i18n Add configuration documentation to README (#304) 2026-02-05 10:56:49 +00:00
io Add streaming API to pkg/io and optimize agentic context gathering (#313) 2026-02-05 11:00:49 +00:00
jobrunner feat(jobrunner): add automated PR workflow system (#329) 2026-02-05 10:36:21 +00:00
log Add streaming API to pkg/io and optimize agentic context gathering (#313) 2026-02-05 11:00:49 +00:00
mcp Add streaming API to pkg/io and optimize agentic context gathering (#313) 2026-02-05 11:00:49 +00:00
plugin feat: infrastructure packages and lint cleanup (#281) 2026-02-04 11:34:43 +00:00
process Add streaming API to pkg/io and optimize agentic context gathering (#313) 2026-02-05 11:00:49 +00:00
rag style: fix gofmt formatting across all affected files (#279) 2026-02-04 01:27:01 +00:00
release Centralized Configuration Service Implementation (#319) 2026-02-05 10:26:44 +00:00
repos Migrate pkg/repos to Medium abstraction (#291) 2026-02-04 18:03:54 +00:00
unifi Add streaming API to pkg/io and optimize agentic context gathering (#313) 2026-02-05 11:00:49 +00:00