release: v2.37.0
This commit is contained in:
@@ -97,7 +97,27 @@ describe('local project path preflight', () => {
|
||||
expect(modeContext).toContain('Confirmed implementation facts');
|
||||
expect(modeContext).toContain('Guard should be an always-on policy/context layer');
|
||||
expect(modeContext).toContain('MA should be an optional execution strategy');
|
||||
expect(modeContext).toContain('bypass richer context assembly');
|
||||
expect(modeContext).toContain('richer context assembly');
|
||||
});
|
||||
|
||||
it('keeps Guard and MA out of the visible sidebar controls', () => {
|
||||
const sidebarSource = fs.readFileSync(path.join(__dirname, '..', 'src', 'sidebarProvider.ts'), 'utf8');
|
||||
|
||||
expect(sidebarSource).not.toContain('id="designerGuardBtn"');
|
||||
expect(sidebarSource).not.toContain('id="multiAgentBtn"');
|
||||
});
|
||||
|
||||
it('routes multi-agent automatically for report-style tasks but not local project preflight', () => {
|
||||
const context: any = {
|
||||
globalStorageUri: { fsPath: path.join(root, '.storage') },
|
||||
workspaceState: stateStore(),
|
||||
globalState: stateStore()
|
||||
};
|
||||
const agent = new AgentExecutor(context) as any;
|
||||
|
||||
expect(agent.shouldUseMultiAgentWorkflow('시장 조사 기반으로 긴 보고서를 작성해줘', false)).toBe(true);
|
||||
expect(agent.shouldUseMultiAgentWorkflow('프로젝트 경로는 /Volumes/Data/project/Antigravity/ConnectAI 이야. 아키텍처 봐줘', false)).toBe(false);
|
||||
expect(agent.shouldUseMultiAgentWorkflow('guard 모드와 MA 모드를 분리하는게 좋을까?', true)).toBe(false);
|
||||
});
|
||||
|
||||
it('removes file-structure requests when knowledge creation path access already succeeded', () => {
|
||||
|
||||
Reference in New Issue
Block a user