memory

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 2, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DirName          = "memory"
	WorkflowFileName = "MEMORY.md"
)

Variables

This section is empty.

Functions

func Directory

func Directory(tasksDir string) string

func TaskPath

func TaskPath(tasksDir, taskFileName string) string

func WorkflowPath

func WorkflowPath(tasksDir string) string

Types

type Context

type Context struct {
	Directory string
	Workflow  FileState
	Task      FileState
}

func Prepare

func Prepare(tasksDir, taskFileName string) (Context, error)

type FileState

type FileState struct {
	Path            string
	LineCount       int
	ByteCount       int
	NeedsCompaction bool
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL