event

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Alias

func Alias(userID string)

func AppExited

func AppExited()

func AppInitialized

func AppInitialized()

func Error

func Error(errToLog any, props ...any)

Error logs an error event to PostHog with the error type and message.

func FilePickerOpened

func FilePickerOpened()

func Flush

func Flush()

func GetID

func GetID() string

func Init

func Init()

func PromptResponded

func PromptResponded(props ...any)

func PromptSent

func PromptSent(props ...any)

func SessionCreated

func SessionCreated()

func SessionDeleted

func SessionDeleted()

func SessionDeletedCommand

func SessionDeletedCommand(json bool)

func SessionLastShown

func SessionLastShown(json bool)

func SessionListed

func SessionListed(json bool)

func SessionRenamed

func SessionRenamed(json bool)

func SessionShown

func SessionShown(json bool)

func SessionSwitched

func SessionSwitched()

func SetContinueBySessionID

func SetContinueBySessionID(continueBySessionID bool)

func SetContinueLastSession

func SetContinueLastSession(continueLastSession bool)

func SetNonInteractive

func SetNonInteractive(nonInteractive bool)

func StatsViewed

func StatsViewed()

func TokensUsed

func TokensUsed(props ...any)

Types

This section is empty.

Jump to

Keyboard shortcuts

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