Skip to content

refactor(session)!: extract in-memory backend package - #28

Merged
uterflec merged 1 commit into
mainfrom
refactor/session-inmemory
Sep 24, 2026
Merged

uterflec merged 1 commit into
mainfrom
refactor/session-inmemory

Conversation

@ktsoator

Copy link
Copy Markdown
Collaborator

Move the in-memory service and its views into session/inmemory so session contains shared contracts and event JSON. Migrate callers and backend tests while preserving storage behavior and launcher defaults.

Breaking change: replace session.InMemoryService() with inmemory.New() from github.com/sylumi/agentkit/session/inmemory.

Validation passed: go test -race -count=1 -timeout=5m ./..., go vet ./..., go mod tidy -diff, gofmt, and git diff --check.

Move the memory service, views, and tests to session/inmemory.
Preserve storage behavior and launcher defaults.

BREAKING CHANGE: replace session.InMemoryService() with inmemory.New().
@ktsoator ktsoator added refactor Internal design and implementation improvements breaking-change Public API changes requiring updates in calling code area:session Session services, conversation history, and storage backends labels Sep 24, 2026
@ktsoator
ktsoator requested a review from a team September 24, 2026 06:42
@uterflec
uterflec merged commit 606788d into main Sep 24, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:session Session services, conversation history, and storage backends breaking-change Public API changes requiring updates in calling code refactor Internal design and implementation improvements

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants