"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const AgentTeam_1 = require("./orchestrator/AgentTeam");
const SkillNetwork_1 = require("./orchestrator/SkillNetwork");
const teams = new AgentTeam_1.AgentTeamRegistry();
teams.upsert({ id: 't1', domain: 'sales', description: 'Sales team', members: [] });
const rt = teams.resolveByDomain('sales');
if (!rt || rt.id !== 't1')
    throw new Error('TEAM_RESOLUTION_FAILED');
const nets = new SkillNetwork_1.SkillNetworkRegistry();
nets.upsert({ id: 'n1', domain: 'social', nodes: [{ id: 's1', capabilities: ['content', 'calendar'] }] });
const caps = nets.resolveCapabilities('social', 'criar content calendar mensal');
if (!caps.includes('content'))
    throw new Error('SKILL_NETWORK_RESOLUTION_FAILED');
console.log('TEST_AGENT_TEAM_SKILL_NETWORK_OK');
