refactor(skills): add skill-adapter and refactor SkillMarket
- Add skill-adapter.ts to bridge configStore and UI skill formats - Refactor SkillMarket to use new skill-adapter instead of skill-discovery - Add health check state to connectionStore - Update multiple components with improved typing - Clean up test artifacts and add new test results - Update README and add skill-market-mvp plan Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -746,6 +746,17 @@ export async function mockAgentMessageResponse(page: Page, response: string): Pr
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a mock agent message response object
|
||||
*/
|
||||
function createAgentMessageResponse(content: string): object {
|
||||
return {
|
||||
response: content,
|
||||
input_tokens: 100,
|
||||
output_tokens: content.length,
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* Mock 错误响应
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user