You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Port the .NET FileMemoryProvider surface into Go by adding two new harness packages:
agent/harness/filestore with public file-store primitives (FileStore, Entry, SearchResult, SearchMatch, LineEdit) plus an in-memory implementation for provider and test use.
agent/harness/filememory with a session-scoped file-memory context provider, exported state/options types, file_memory_* tools, memory-index injection, and working-folder state initialization.
This was selected from upstream commit f19a129b55e8ea86624a93227954cf43a0890e8f (microsoft/agent-framework@f19a129) because it adds a user-facing capability and exported API surface that Go did not have. The PR also adds a small compiled example and updates the feature-comparison doc to reflect the new parity.
Ran go test ./agent/harness/filestore ./agent/harness/filememory ./examples/02-agents/agents/step23_file_memory
Ran go test ./...
Notes
This PR intentionally keeps the port narrow: it adds the file-memory provider and the minimal public file-store abstractions it depends on, but does not also port the separate .NET file-access harness provider.
The in-memory file store is sufficient for the new provider and public API parity; filesystem-backed or remote store implementations can be added later without changing the provider surface.
This was originally intended as a pull request, but GitHub Actions is not permitted to create or approve pull requests in this repository.
The changes have been pushed to branch dotnet-port-api-file-memory-provider-59f46798753a3644.
To fix the permissions issue, go to Settings → Actions → General and enable Allow GitHub Actions to create and approve pull requests. See also: gh-aw FAQ
Summary
Port the .NET
FileMemoryProvidersurface into Go by adding two new harness packages:agent/harness/filestorewith public file-store primitives (FileStore,Entry,SearchResult,SearchMatch,LineEdit) plus an in-memory implementation for provider and test use.agent/harness/filememorywith a session-scoped file-memory context provider, exported state/options types,file_memory_*tools, memory-index injection, and working-folder state initialization.This was selected from upstream commit
f19a129b55e8ea86624a93227954cf43a0890e8f(microsoft/agent-framework@f19a129) because it adds a user-facing capability and exported API surface that Go did not have. The PR also adds a small compiled example and updates the feature-comparison doc to reflect the new parity.Ported .NET PRs
FileMemoryProviderBreaking Changes
No.
Tests and Examples
agent/harness/filestoreagent/harness/filememoryexamples/02-agents/agents/step23_file_memorygo test ./agent/harness/filestore ./agent/harness/filememory ./examples/02-agents/agents/step23_file_memorygo test ./...Notes
Note
This was originally intended as a pull request, but GitHub Actions is not permitted to create or approve pull requests in this repository.
The changes have been pushed to branch
dotnet-port-api-file-memory-provider-59f46798753a3644.Click here to create the pull request
To fix the permissions issue, go to Settings → Actions → General and enable Allow GitHub Actions to create and approve pull requests. See also: gh-aw FAQ
Show patch preview (500 of 1332 lines)