types.ts
utils/memory/types.ts
13
Lines
264
Bytes
2
Exports
1
Imports
10
Keywords
What this is
This page documents one file from the repository and includes its full source so you can read it without leaving the docs site.
Beginner explanation
This file is one piece of the larger system. Its name, directory, imports, and exports show where it fits. Start by reading the exports and related files first.
How it is used
Start from the exports list and related files. Those are the easiest clues for where this file fits into the system.
Expert explanation
Architecturally, this file intersects with memory-layers. It contains 13 lines, 1 detected imports, and 2 detected exports.
Important relationships
- utils/memory/versions.ts
- bridge/types.ts
- buddy/types.ts
- components/agents/types.ts
- ink/termio/types.ts
- server/types.ts
- services/mcp/types.ts
- services/policyLimits/types.ts
- services/remoteManagedSettings/types.ts
- services/settingsSync/types.ts
- services/teamMemorySync/types.ts
- tasks/InProcessTeammateTask/types.ts
Detected exports
MEMORY_TYPE_VALUESMemoryType
Keywords
featurememory_type_valuesteammembundleuserprojectlocalmanagedautomemmemorytype
Detected imports
bun:bundle
Source notes
This page embeds the full file contents. Small or leaf files are still indexed honestly instead of being over-explained.
Full source
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]