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

Method ToMap

agent/task_runtime.go:53–61  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

51}
52
53func (r AgentTaskRecord) ToMap() map[string]any {
54 b, _ := json.Marshal(r)
55 out := map[string]any{}
56 _ = json.Unmarshal(b, &out)
57 if r.ParentTaskID == "" {
58 out["parent_task_id"] = nil
59 }
60 return out
61}
62
63type TaskNotification struct {
64 NotificationID string

Callers 3

ExportSnapshotMethod · 0.45
snapshotMethod · 0.45
enqueueLockedMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected