All notable changes to ManagedCode.FileContext are documented here.
-
Add optional OperationTimeout for all public storage/context operations, preserve caller cancellation, and report configured expiry as a tool-compatible timeout failure.
-
Validate operation and regex timeout durations at configuration time.
-
Automatically validate and release new package versions on pushes to main, including NuGet publication and GitHub tag/release creation; skip existing releases.
-
Document configuration of all file/graph limits and regex timeouts, including appsettings binding and caller-controlled operation deadlines.
-
Verify custom settings through default/keyed DI registrations and real regex timeout failures.
- Prepare the 1.0.0 package with a refreshed README covering setup, agent integration, metadata results, Markdown graphs, concurrency, and operational limits.
- Preserve UTF-8 byte accounting when a surrogate pair crosses a full-read buffer boundary.
- Return structured found/not_found metadata tool results with the logical path, preserving them through session restoration; keep the nullable direct API unchanged.
- Verify tool-result ordering, empty/error outputs, restored-session follow-ups, and concurrent multi-file operations through real filesystem and LlmTck tests.
- Update Meziantou.Analyzer to 3.0.203. Retain OpenAI 2.12.0 because Microsoft.Extensions.AI.OpenAI 10.9.0 requires OpenAI below 2.13.0.
- Enforce a 95% product line-coverage gate in local and CI coverage runs.
- Add centrally managed Roslynator, Meziantou, and Sonar static analysis with magic-number and repeated-string diagnostics.
- Replace semantic default literals with the public
FileContextDefaultscontract and centralize tool descriptions. - Stream and bound individual range lines so giant unterminated lines cannot cause proportional memory allocation.
- Exercise every Agent Framework file-context tool through real filesystem and LlmTck integration tests, including a sparse 1 GiB allocation boundary.
- Adapt ManagedCode.Storage
IStorageto Microsoft Agent FrameworkAgentFileStore. - Compose the standard
file_access_*tools with bounded range, metadata, and Markdown graph tools. - Add root-prefix isolation, traversal protection, configurable resource limits, and write-safe defaults.
- Add default and keyed Microsoft dependency-injection registration.
- Add real filesystem, Markdown-LD, and LlmTck Agent Framework integration coverage.