Files
MCPletA2A/dev/build.md
2026-03-30 17:39:13 +09:00

19 lines
1.7 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

实现Platform.png的MCPletA2A平台Agent Profile及Flow.png的参考实现。
## 参考:
1. MCPlet规范/Users/qingjie.du/HDD/my-prjs/MCPlet/about/MCPlet-spec-v202603-03.md
2. 餐厅预订参考实现属于WebUI Profile不是Agent Profile所以只需要参考其可用部分/Users/qingjie.du/HDD/my-prjs/MCPlet/reference_impl_restaurant_reservations
## 注意事项
- 平台实现及参考实现的代码要明确分开且要有清晰的目录结构。平台实现主要负责MCPletA2A平台的搭建和维护而参考实现则是基于该平台的具体应用示例。
- 在实现过程中要严格遵守MCPlet规范确保平台和参考实现的兼容性和可扩展性。
- 参考实现的代码要尽量简洁明了,注释清晰,以便其他开发者能够快速理解和使用。
- 在开发过程中可以参考MCPlet规范中的示例代码和最佳实践但要根据实际需求进行调整和优化。
- 在完成平台和参考实现后,要进行充分的测试,确保其功能的正确性和稳定性。可以编写单元测试和集成测试来验证各个模块的功能。
- 编码及架构选择要考虑企业级应用的需求,如性能、可维护性、安全性等方面。可以采用分层架构、模块化设计等方式来提高系统的可扩展性和可维护性。
- 最后要编写详细的文档说明平台和参考实现的架构设计、使用方法、API接口等以便其他开发者能够快速上手和使用。文档可以包括代码注释、使用指南、API文档等内容。
- 代码的输出路径:
- 平台实现:/Users/qingjie.du/HDD/my-prjs/MCPlet/MCPletA2A/platform_impl
- 参考实现:/Users/qingjie.du/HDD/my-prjs/MCPlet/MCPletA2A/reference_impl