MCPcopy Create free account
hub / github.com/diillson/chatcli / sessionID

Method sessionID

cli/context_adapter.go:41–46  ·  view source on GitHub ↗

sessionID resolves the manager session key, mirroring knowledgePluginAdapter.

()

Source from the content-addressed store, hash-verified

39
40// sessionID resolves the manager session key, mirroring knowledgePluginAdapter.
41func (a *contextPluginAdapter) sessionID() string {
42 if a.cli.currentSessionName != "" {
43 return a.cli.currentSessionName
44 }
45 return "default"
46}
47
48func (a *contextPluginAdapter) manager() *ctxmgr.Manager {
49 if a.cli.contextHandler == nil {

Callers 4

AttachMethod · 0.95
DetachMethod · 0.95
StatusMethod · 0.95
attachedIDsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected