Skip to content

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

feat(settings): add memory engine option panel

Steven Enamakeldf8606f34b63
diff --git a/app/src/components/settings/panels/MemoryEngineOption.tsx b/app/src/components/settings/panels/MemoryEngineOption.tsx
index bc9d1716f5..e349261676 100644
--- a/app/src/components/settings/panels/MemoryEngineOption.tsx
+++ b/app/src/components/settings/panels/MemoryEngineOption.tsx
@@ -45,6 +45,7 @@ export default function MemoryEngineOption({
<RadioGroupItem
id={inputId}
value={engine.id}
+ data-testid={`memory-engine-radio-${engine.id}`}
disabled={disabledReason !== null}
className="mt-0.5"
/>
diff --git a/app/test/e2e/specs/memory-engine-settings.spec.ts b/app/test/e2e/specs/memory-engine-settings.spec.ts
index 0487348651..e9c9daf00d 100644
--- a/app/test/e2e/specs/memory-engine-settings.spec.ts
+++ b/app/test/e2e/specs/memory-engine-settings.spec.ts
@@ -46,10 +46,7 @@ describe('Memory engine settings panel (real UI flow)', () => {
it('gates Switch until the selected engine has what it needs', async function () {
this.timeout(60_000);
- await clickTestId('memory-engine-option-supermemory', 10_000).catch(async () => {
- // The option row is a container; click its radio through the label text.
- await waitForText('Supermemory', 5_000);
- });
+ await clickTestId('memory-engine-radio-supermemory', 10_000);
// The key field is a password input; without one the switch stays disabled.
const sw = await waitForTestId('memory-engine-switch', 10_000);
expect(await sw.isEnabled()).toBe(false);
diff --git a/vendor/tinymemory b/vendor/tinymemory
index 394d53c3a3..6436d5308c 160000
--- a/vendor/tinymemory
+++ b/vendor/tinymemory
@@ -1 +1 @@
-Subproject commit 394d53c3a3961dc977439d4d1245a6ba3206bf0c
+Subproject commit 6436d5308c65f385701f264e1eab721fc83602ba