🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
import { expect, it } from 'vitest';
import { normalizeTaskInput } from './normalize';
it('strips retired fields from old inputs and preserves the supported instruction', () => {
const task = normalizeTaskInput({ instruction: 'Launch', legacyProjectAlias: 'OLD' });
expect(task).not.toHaveProperty('legacyProjectAlias');
expect(task.instruction).toBe('Launch');
});