Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
TypeScript aiai-agentsai-memoryanthropicartificial-intelligencechromadbclaudeclaude-agent-sdkclaude-agentsclaude-codeclaude-code-pluginclaude-skillsembeddingslong-term-memorymem0memory-engineopenmemoryragsqlitesupermemory
import { expect, it } from 'bun:test';
import { planAllowsSyncSetup } from '../../src/shared/cloud-sync-plans.js';
it('lets every plan with a Cloud Sync connection of its own set up a workspace, a TeamBrain seat included', () => {
for (const plan of ['cloud_sync', 'pro', 'trial', 'teambrain_seat', ' teambrain_seat ']) expect(planAllowsSyncSetup(plan)).toBe(true);
});
it('refuses an account with no sync access', () => {
for (const plan of ['none', '', undefined, 'TEAMBRAIN_SEAT', 'enterprise']) expect(planAllowsSyncSetup(plan)).toBe(false);
});