- Added new workspace commands for type checking, building, and testing across multiple packages. - Updated CI workflow to include paths for new packages and utilize workspace commands. - Refactored MCP server to integrate with the agent-teams-controller, enhancing task management capabilities. - Improved task boundary detection and logging for MCP tools, ensuring better tracking of task states. - Updated documentation and prompts to reflect new MCP tool usage, replacing previous teamctl.js references.
13 lines
539 B
JavaScript
13 lines
539 B
JavaScript
const { readLegacyTeamctlCliSource } = require('../src/index.js');
|
|
|
|
describe('agent-teams-controller legacy teamctl source', () => {
|
|
it('exposes the extracted CLI source', () => {
|
|
const source = readLegacyTeamctlCliSource();
|
|
|
|
expect(source.startsWith('#!/usr/bin/env node')).toBe(true);
|
|
expect(source).toContain("if (domain === 'task')");
|
|
expect(source).toContain("if (domain === 'process')");
|
|
expect(source).toContain('task comment-attach');
|
|
expect(source).toContain('process unregister --id <uuid>');
|
|
});
|
|
});
|