runtimepath

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: 4 Imported by: 0

Documentation

Index

Constants

View Source
const EnvRuntimeRoot = "SESHAT_RUNTIME_ROOT"

Variables

This section is empty.

Functions

func BackendDBPath

func BackendDBPath(root string) string

func BashTasksDir

func BashTasksDir(root string) string

func CacheDir

func CacheDir(root string) string

func DataDir

func DataDir(root string) string

func DefaultConfigDir

func DefaultConfigDir(appName string) string

DefaultConfigDir returns the platform-appropriate config directory for the given application name.

  • Linux / BSD: $XDG_CONFIG_HOME/<appName> or ~/.config/<appName>
  • macOS: ~/.config/<appName> (XDG convention — familiar for CLI tools, avoids the space in "Library/Application Support")
  • Windows: %APPDATA%\<appName> (e.g. C:\Users\<user>\AppData\Roaming\<appName>)

SESHAT_RUNTIME_ROOT overrides everything — callers should check that first.

func ElectronCrashDumpsDir

func ElectronCrashDumpsDir(root string) string

func ElectronLogsDir

func ElectronLogsDir(root string) string

func ElectronSessionDataDir

func ElectronSessionDataDir(root string) string

func ElectronUserDataDir

func ElectronUserDataDir(root string) string

func ExpandTilde

func ExpandTilde(path string) string

ExpandTilde replaces a leading "~" with the current user's home directory. Go's filepath package does not do this automatically.

func HNSWDataDir

func HNSWDataDir(root string) string

func Join

func Join(root string, parts ...string) string

func LogsDir

func LogsDir(root string) string

func PlansDir

func PlansDir(root string) string

func ResolveRoot

func ResolveRoot(explicit string) string

func SessionArtifactsAudioDir

func SessionArtifactsAudioDir(root, sessionID string) string

SessionArtifactsAudioDir holds TTS output and STT input audio files.

func SessionArtifactsDir

func SessionArtifactsDir(root, sessionID string) string

SessionArtifactsDir is the parent for all agent-produced artifacts.

func SessionArtifactsImagesDir

func SessionArtifactsImagesDir(root, sessionID string) string

SessionArtifactsImagesDir holds AI-generated images (not browser screenshots).

func SessionArtifactsWebDir

func SessionArtifactsWebDir(root, sessionID string) string

SessionArtifactsWebDir holds web-scraped/fetched content.

func SessionDir

func SessionDir(root, sessionID string) string

func SessionLogPath

func SessionLogPath(root, sessionID string) string

SessionLogPath is the per-session log file for errors and diagnostics.

func SessionPastesDir

func SessionPastesDir(root, sessionID string) string

SessionPastesDir holds persisted pasted attachments for the session.

func SessionPastesImagesDir

func SessionPastesImagesDir(root, sessionID string) string

func SessionPastesOtherDir

func SessionPastesOtherDir(root, sessionID string) string

func SessionPastesTextDir

func SessionPastesTextDir(root, sessionID string) string

func SessionPlansDir

func SessionPlansDir(root, sessionID string) string

SessionPlansDir holds plan-mode markdown files for the session.

func SessionScreenshotsDir

func SessionScreenshotsDir(root, sessionID string) string

SessionScreenshotsDir holds browser screenshots under artifacts/.

func SessionStoreDir

func SessionStoreDir(root string) string

func SessionToolsDir

func SessionToolsDir(root, sessionID string) string

SessionToolsDir holds browser downloads and tool-produced output files.

func SessionsDir

func SessionsDir(root string) string

func SkillsDir

func SkillsDir(root string) string

func StorageDir

func StorageDir(root string) string

func TasksDir

func TasksDir(root string) string

func TmpDir

func TmpDir(root string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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