prompt

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const BoundaryMarker = "--- session context ---"

Variables

View Source
var Instructions string
View Source
var Planning string

Functions

func BuildInstructions

func BuildInstructions(base string, data SectionData) string

func ComposeSections

func ComposeSections(sections ...Section) string

Types

type Section

type Section struct {
	Title   string
	Content string
}

func RenderSections

func RenderSections(data SectionData) []Section

type SectionData

type SectionData struct {
	PlanMode            bool
	Date                string
	OS                  string
	Arch                string
	WorkingDir          string
	MemoryDir           string
	MemoryContent       string
	Skills              string
	ProjectInstructions string
}

Jump to

Keyboard shortcuts

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