Version 2.55.0 Release: Rebranding to Astra

This commit is contained in:
g1nation
2026-05-03 20:40:40 +09:00
parent d8ae0b5964
commit a5f3e383d4
19 changed files with 140 additions and 67 deletions
+19 -2
View File
@@ -83,6 +83,23 @@ describe('local project path preflight', () => {
expect(agent.isThinkingPartnerRequest(prompt)).toBe(true);
});
it('adds concrete Astra mode architecture context for Guard and MA design questions', () => {
const context: any = {
globalStorageUri: { fsPath: path.join(root, '.storage') },
workspaceState: stateStore(),
globalState: stateStore()
};
const agent = new AgentExecutor(context) as any;
const prompt = '지금 우리는 guard 모드가 있고 MA 모드가 있는데 굳이 이렇게 모드를 분리해서 사용하는게 좋을까?';
expect(agent.isAstraModeArchitectureQuestion(prompt)).toBe(true);
const modeContext = agent.buildAstraModeArchitectureContext(prompt);
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');
});
it('removes file-structure requests when knowledge creation path access already succeeded', () => {
const context: any = {
globalStorageUri: { fsPath: path.join(root, '.storage') },
@@ -123,7 +140,7 @@ describe('local project path preflight', () => {
expect(agent.isBlockingProjectKnowledgeAnswer(answer)).toBe(true);
const fallback = agent.buildProjectKnowledgeFallbackAnswer(localPathContext);
expect(fallback).toContain('추가 질문으로 멈출 필요 없이');
expect(fallback).toContain('ConnectAI Project Knowledge Overview');
expect(fallback).toContain('Astra Project Knowledge Overview');
expect(fallback).not.toContain('어떤 기능 영역을 가장 먼저');
});
@@ -261,7 +278,7 @@ describe('local project path preflight', () => {
'[RECENT LOCAL PROJECT KNOWLEDGE]',
`Use this recently generated project knowledge record as project evidence: ${recordPath}`,
'',
'# ConnectAI Project Knowledge Overview',
'# Astra Project Knowledge Overview',
'',
'## Evidence Files',
'- `package.json`',