Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ActivityLogPath ¶
ActivityLogPath returns the path to the shared activity log file.
func AppendActivityLog ¶ added in v0.5.22
func AppendActivityLog(projectRoot string, entry ActivityEntry) error
AppendActivityLog appends an activity entry to the shared activity log. It is intentionally generic so CLI and TUI actions can be tracked too.
Types ¶
type ActivityEntry ¶
type ActivityEntry struct {
Tool string `json:"tool"`
Args string `json:"args,omitempty"`
Result string `json:"result"`
Error string `json:"error,omitempty"`
Source string `json:"source,omitempty"`
Timestamp string `json:"timestamp,omitempty"`
}
ActivityEntry records an MCP tool invocation for TUI display.
func ReadActivityLog ¶
func ReadActivityLog(projectRoot string, maxEntries int) []ActivityEntry
ReadActivityLog reads the last N entries from the shared MCP activity log.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server wraps the MCP server and gitflow logic together.
func (*Server) Activity ¶
func (s *Server) Activity() []ActivityEntry
Activity returns a snapshot of recent MCP tool invocations.
Click to show internal directories.
Click to hide internal directories.