MCPcopy Create free account
hub / github.com/GongShichen/LuminaCode / observeState

Method observeState

backend/session.go:262–270  ·  view source on GitHub ↗
(state *agent.AgentState)

Source from the content-addressed store, hash-verified

260 }
261 return tenantID + "\x00" + sessionID
262}
263
264func applyPinnedDaemonConfig(target *config.Config, source config.Config) {
265 if target == nil || len(source.PinnedFields) == 0 {
266 return
267 }
268 target.PinnedFields = map[string]bool{}
269 for field, pinned := range source.PinnedFields {
270 if !pinned {
271 continue
272 }
273 target.PinnedFields[field] = true

Callers

nothing calls this directly

Calls 1

persistStateSnapshotMethod · 0.95

Tested by

no test coverage detected