The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.
Rust agent-orchestrationai-agentsai-assistantdesktopllmlocal-firstmcppersonal-aiprivacyrustsecond-braintauri
import { describe, expect, it, vi } from 'vitest';
import { callCoreRpc } from '../../../services/coreRpcClient';
import { openhumanMigrateHermes } from '../core';
vi.mock('../../../services/coreRpcClient', () => ({
callCoreRpc: vi.fn(),
clearCoreRpcTokenCache: vi.fn(),
}));
describe('openhumanMigrateHermes', () => {
it('calls core RPC without requiring the Tauri shell', async () => {
vi.mocked(callCoreRpc).mockResolvedValueOnce({ result: {}, logs: [] } as never);
await openhumanMigrateHermes();
expect(callCoreRpc).toHaveBeenCalledWith(
expect.objectContaining({ method: expect.stringContaining('hermes') })
);
});
});