Documentation
¶
Overview ¶
Package gemini is the Gemini CLI adapter for agent-memory. Gemini CLI reads GEMINI.md at the project root as long-term project context; this adapter drops a worked file at that location.
As with the agents adapter, there is no widely-agreed user-global location for GEMINI.md, so this adapter is project-local only and rejects UserGlobal: true with a clear error.
Index ¶
Constants ¶
View Source
const AdapterName = "gemini"
AdapterName is the stable identifier used by `agent-memory install <name>`.
Variables ¶
This section is empty.
Functions ¶
func GeminiContent ¶
func GeminiContent() []byte
GeminiContent returns the embedded GEMINI.md bytes verbatim.
Types ¶
type Options ¶
type Options struct {
Root string
UserGlobal bool
Force bool
HomeDir string // unused for this adapter
}
Options keeps the same shape as every other adapter for uniform CLI dispatch. UserGlobal: true is rejected with a clear error.
Click to show internal directories.
Click to hide internal directories.