Memory · Beaver

Memory

{#if tree} {count} files {/if}
{#if failure} {:else if notConfigured}

No memory root. Point ApiFrontend(memory_root=…) at the agent's zone of the vault.

{:else if !tree}

Loading…

{:else if tree.tree.length === 0}

The zone is empty.

{:else} {@render nodes(tree.tree, 0)} {/if}
{#if !selected}

The agent's own zone: state, handouts, observations, prompts, skills. Pick a file on the left, or search for a line with ⌘K.

{:else if fileError}
open(selected ?? "")} />
{:else if !file}

Opening…

{:else}

{file.path.split("/").at(-1)?.replace(MD_SUFFIX, "")}

{#if file.path.includes("/")} {file.path.split("/").slice(0, -1).join(" / ")} {/if} {fmtBytes(file.size)} {fmtRelative(file.mtime)} {#if isMarkdown} {/if}
{#if isMarkdown && !raw} {:else}
{file.content}
{/if}
{/if}
{#snippet nodes(list: MemoryNode[], depth: number)} {/snippet}