We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/henryhawke/mcp-titan'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
import { HopeMemoryModel } from '../model.js';
describe('HopeMemoryModel auxiliary state', () => {
let model: HopeMemoryModel;
beforeEach(async () => {
model = new HopeMemoryModel();
await model.initialize();
});
afterEach(() => {
model.dispose();
});
it('exports auxiliary state with pending updates array', () => {
const auxiliary = model.exportAuxiliaryState();
expect(auxiliary).toHaveProperty('config');
expect(auxiliary).toHaveProperty('pendingUpdates');
});
it('hydrates memory state for serialization round-trip', () => {
const state = model.createInitialState();
model.hydrateMemoryState(state);
const updated = model.createInitialState();
expect(updated.shortTerm.shape[0]).toBe(0);
});
});