Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

feat(memory): add memory chips component

Steven Enamakel0588b339c526
diff --git a/app/src/components/memory/memoryChips.ts b/app/src/components/memory/memoryChips.ts
index 51acf276d2..3ae551be98 100644
--- a/app/src/components/memory/memoryChips.ts
+++ b/app/src/components/memory/memoryChips.ts
@@ -3,43 +3,33 @@
* deep links working. Shared by the page and the `/brain` redirect.
*/
-export type MemoryChip =
- | 'engine'
- | 'migration'
- | 'ask'
- | 'explorer'
- | 'learnings'
- | 'conversations'
- | 'brain'
- | 'background'
- | 'settings';
+export type MemoryChip = 'engine' | 'conversations' | 'brain';
-export const MEMORY_CHIPS: readonly MemoryChip[] = [
- 'engine',
- 'migration',
- 'ask',
- 'explorer',
- 'learnings',
- 'conversations',
- 'brain',
- 'background',
- 'settings',
-];
+export const MEMORY_CHIPS: readonly MemoryChip[] = ['engine', 'conversations', 'brain'];
/**
- * Retired chips → their current home. v1's graph and goals were ways of
- * asking what memory knows, and so was the context.md brief (its successor,
- * the memory pack, is previewed on Ask); v1's sources, sync and history and
- * v2's Documents chip all became the shared Brain.
+ * Retired chips → their current home. The page keeps three tabs: Provider
+ * (`engine`), Conversations and Files (`brain`). Importing and migrating old
+ * memory (`migration`) and every way of managing documents (`documents`,
+ * `sources`, `sync`, `history`) live on Files; every other retired chip
+ * (ask, explorer, learnings, background, settings, v1's graph, goals and
+ * context) lands on Conversations, the closest surviving view of what memory
+ * holds and how it is filled.
*/
const LEGACY_CHIPS: Record<string, MemoryChip> = {
- graph: 'ask',
- goals: 'ask',
- context: 'ask',
+ migration: 'brain',
documents: 'brain',
sources: 'brain',
sync: 'brain',
history: 'brain',
+ ask: 'conversations',
+ explorer: 'conversations',
+ learnings: 'conversations',
+ background: 'conversations',
+ settings: 'conversations',
+ graph: 'conversations',
+ goals: 'conversations',
+ context: 'conversations',
};
/** Resolve a raw `?brain=` value to a chip, or `null` when it names none. */
diff --git a/vendor/tinydocs b/vendor/tinydocs
index a0517852c3..7bec4165d9 160000
--- a/vendor/tinydocs
+++ b/vendor/tinydocs
@@ -1 +1 @@
-Subproject commit a0517852c39f6dfb090840c26236d4c2dad869d7
+Subproject commit 7bec4165d9838550b7c21ded7943f7aff7d53817