shared

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AggregateErrors

func AggregateErrors(errors []string) string

AggregateErrors joins multiple error strings with semicolon separator

func ContainsMemorizer

func ContainsMemorizer(command string) bool

ContainsMemorizer checks if a command contains the memorizer binary name Returns true for both current "memorizer" and old "agentic-memorizer" names

func ContainsOldBinaryName

func ContainsOldBinaryName(command string) bool

ContainsOldBinaryName checks if a command uses the old binary name

func GetFactsCommand

func GetFactsCommand(binaryPath string, format integrations.OutputFormat, integrationName string) string

GetFactsCommand returns the command for facts hooks (UserPromptSubmit/BeforeAgent)

func GetFilesCommand

func GetFilesCommand(binaryPath string, format integrations.OutputFormat, integrationName string) string

GetFilesCommand returns the command for file index hooks (SessionStart)

func IsMemorizerHook

func IsMemorizerHook(command string) bool

IsMemorizerHook checks if a command is a memorizer hook (current name, not old)

Types

This section is empty.

Jump to

Keyboard shortcuts

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