MCPcopy
hub / github.com/docker/docker-agent / AddSubSession

Method AddSubSession

pkg/session/store.go:112–112  ·  view source on GitHub ↗

AddSubSession creates a sub-session and links it to the parent. The sub-session is stored as a separate session row with parent_id set.

(ctx context.Context, parentSessionID string, subSession *Session)

Source from the content-addressed store, hash-verified

110 // AddSubSession creates a sub-session and links it to the parent.
111 // The sub-session is stored as a separate session row with parent_id set.
112 AddSubSession(ctx context.Context, parentSessionID string, subSession *Session) error
113
114 // AddSummary adds a summary item to a session at the next position.
115 // firstKeptEntry is the index of the first message kept verbatim during compaction.

Implementers 3

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

Calls

no outgoing calls