Skip to content

this.me


this.me / ME

Class: ME

Defined in: me.ts:70

The .me semantic kernel.

ME is both:

  • a stateful kernel that stores semantic memories, indexes, secrets, and derivations
  • a callable proxy runtime that lets you navigate and execute semantic paths like me.profile.name("Ana")

Practical mental model:

  • property access builds a semantic path
  • calling () writes, reads, or invokes an operator at that path
  • explicit class methods such as inspect(), explain(), exportSnapshot(), and replayMemories() are the debugging, replay, and hydration surface around that runtime

If you are reading the generated API docs:

  • this class page shows the explicit TypeScript class members
  • the full language surface also includes the proxy/DSL behavior documented in Runtime Surface, Proxy Calls, Operators, and Syntax

Indexable

[key: string]: any

Constructors

Constructor

new ME(expression?): ME

Defined in: me.ts:399

Constructor base: me = new ME(expression?)

Esto es equivalente a llamar: me(expression) en la raíz.

Parameters

expression?

any

Returns

ME

Accessors

memories

Get Signature

get memories(): Memory[]

Defined in: me.ts:111

Returns

Memory[]

Methods

explain()

explain(path): object

Defined in: me.ts:157

Parameters

path

string

Returns

object

derivation

derivation: { expression: string; inputs: object[]; } | null

meta

meta: object

meta.dependsOn

dependsOn: string[]

meta.lastComputedAt?

optional lastComputedAt: number

path

path: string

value

value: any


exportSnapshot()

exportSnapshot(): object

Defined in: me.ts:217

Returns

object

encryptedBranches

encryptedBranches: Record<string, EncryptedBlob | Record<string, EncryptedBlob>>

localNoises

localNoises: Record<string, string>

localSecrets

localSecrets: Record<string, string>

memories

memories: Memory[]

operators

operators: Record<string, { kind: string; }>


getRecomputeMode()

getRecomputeMode(): "eager" | "lazy"

Defined in: me.ts:146

Returns

"eager" | "lazy"


importSnapshot()

importSnapshot(snapshot): void

Defined in: me.ts:233

Parameters

snapshot
encryptedBranches?

Record<string, `0x${string}` | Record<string, `0x${string}`>>

localNoises?

Record<string, string>

localSecrets?

Record<string, string>

memories?

Memory[]

operators?

Record<string, { kind: string; }>

Returns

void


inspect()

inspect(opts?): object

Defined in: me.ts:116

Parameters

opts?
last?

number

Returns

object

encryptedScopes

encryptedScopes: string[]

index

index: Record<string, any>

memories

memories: Memory[]

noiseScopes

noiseScopes: string[]

recomputeMode

recomputeMode: "eager" | "lazy"

secretScopes

secretScopes: string[]

staleDerivations

staleDerivations: number


learn()

learn(memory): void

Defined in: me.ts:283

Parameters

memory

unknown

Returns

void


rehydrate()

rehydrate(snapshot): void

Defined in: me.ts:273

Parameters

snapshot
encryptedBranches?

Record<string, `0x${string}` | Record<string, `0x${string}`>>

localNoises?

Record<string, string>

localSecrets?

Record<string, string>

memories?

Memory[]

operators?

Record<string, { kind: string; }>

Returns

void


replayMemories()

replayMemories(memories): void

Defined in: me.ts:325

Parameters

memories

Memory[]

Returns

void


setRecomputeMode()

setRecomputeMode(mode): this

Defined in: me.ts:141

Parameters

mode

"eager" | "lazy"

Returns

this