Skip to Content
API ReferenceClassesClass: SkilletPaths

Class: SkilletPaths

Defined in: src/libs/skillet_paths.ts:33 

Constructors

Constructor

new SkilletPaths(): SkilletPaths

Returns

SkilletPaths

Properties

ENV_VAR_HOME

readonly static ENV_VAR_HOME: "SKILLET_HOME" = 'SKILLET_HOME'

Defined in: src/libs/skillet_paths.ts:34 

Methods

agentSessionLogsDir()

static agentSessionLogsDir(): string

Defined in: src/libs/skillet_paths.ts:80 

Returns

string


agentSessionsDb()

static agentSessionsDb(): string

Defined in: src/libs/skillet_paths.ts:56 

Returns

string


bundledConfigDir()

static bundledConfigDir(): string

Defined in: src/libs/skillet_paths.ts:52 

Sample crews shipped inside the package; read-only, ships in the npm tarball.

Returns

string


cacheDir()

static cacheDir(): string

Defined in: src/libs/skillet_paths.ts:47 

Disposable cache; safe to delete at any time.

Returns

string


configDir()

static configDir(): string

Defined in: src/libs/skillet_paths.ts:37 

User-authored crews; overlays each package’s bundled samples at read time.

Returns

string


costTrackerDb()

static costTrackerDb(): string

Defined in: src/libs/skillet_paths.ts:60 

Returns

string


jobsDb()

static jobsDb(): string

Defined in: src/libs/skillet_paths.ts:68 

Returns

string


openaiCacheDb()

static openaiCacheDb(): string

Defined in: src/libs/skillet_paths.ts:88 

Returns

string


readlineHistory()

static readlineHistory(name): string

Defined in: src/libs/skillet_paths.ts:84 

Parameters

name

string

Returns

string


stateDir()

static stateDir(): string

Defined in: src/libs/skillet_paths.ts:42 

Persistent runtime state: databases, session logs, REPL history.

Returns

string


unifiedBase()

static unifiedBase(): string | null

Defined in: src/libs/skillet_paths.ts:98 

The single base when running unified (SKILLET_HOME, or a git checkout in development), or null when installed (roles are XDG-scattered). The dispatcher pins this onto worker subprocesses so a worker loaded from node_modules resolves the dispatcher’s directories, not its own.

Returns

string | null


userStoreDb()

static userStoreDb(): string

Defined in: src/libs/skillet_paths.ts:64 

Returns

string


webChatHandlesDb()

static webChatHandlesDb(): string

Defined in: src/libs/skillet_paths.ts:76 

Returns

string


webSessionsDb()

static webSessionsDb(): string

Defined in: src/libs/skillet_paths.ts:72 

Returns

string

Last updated on