π File detail
utils/memory/types.ts
π§© .tsπ 13 linesπΎ 264 bytesπ text
β Back to All Filesπ― Use case
This file lives under βutils/β, which covers cross-cutting helpers (shell, tempfiles, settings, messages, process input, β¦). On the API surface it exposes MEMORY_TYPE_VALUES and MemoryType β mainly types, interfaces, or factory objects. Dependencies touch bun:bundle.
Generated from folder role, exports, dependency roots, and inline comments β not hand-reviewed for every path.
π§ Inline summary
import { feature } from 'bun:bundle' export const MEMORY_TYPE_VALUES = [ 'User', 'Project',
π€ Exports (heuristic)
MEMORY_TYPE_VALUESMemoryType
π External import roots
Package roots from from "β¦" (relative paths omitted).
bun:bundle
π₯οΈ Source preview
import { feature } from 'bun:bundle'
export const MEMORY_TYPE_VALUES = [
'User',
'Project',
'Local',
'Managed',
'AutoMem',
...(feature('TEAMMEM') ? (['TeamMem'] as const) : []),
] as const
export type MemoryType = (typeof MEMORY_TYPE_VALUES)[number]