MCPcopy Index your code
hub / github.com/docker/docker-agent / UpdateSession

Method UpdateSession

pkg/session/store.go:95–95  ·  view source on GitHub ↗
(ctx context.Context, session *Session)

Source from the content-addressed store, hash-verified

93 GetSessionSummaries(ctx context.Context) ([]Summary, error)
94 DeleteSession(ctx context.Context, id string) error
95 UpdateSession(ctx context.Context, session *Session) error // Updates metadata only (not messages/items)
96 SetSessionStarred(ctx context.Context, id string, starred bool) error
97
98 // === Granular item operations ===

Callers 12

SetCurrentAgentModelMethod · 0.65
RunSessionMethod · 0.65
ToggleToolApprovalMethod · 0.65
UpdateSessionTitleMethod · 0.65
generateTitleMethod · 0.65
SetSessionAgentModelMethod · 0.65
UpdateSessionMethod · 0.65
doCompactMethod · 0.65
UpdateSessionTitleMethod · 0.65
OnRunStartMethod · 0.65

Implementers 3

InMemorySessionStorepkg/session/store.go
SQLiteSessionStorepkg/session/store.go
RemoteSessionStorepkg/runtime/remote_runtime.go

Calls

no outgoing calls

Tested by 1

UpdateSessionMethod · 0.52