@agiflowai/aicode-toolkit 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,65 @@
1
+
2
+ //#region src/constants/mcp.ts
3
+ /**
4
+ * MCP (Model Context Protocol) Server Constants
5
+ *
6
+ * DESIGN PATTERNS:
7
+ * - Centralized constants for MCP server configuration
8
+ * - Enum pattern for type-safe MCP server selection
9
+ *
10
+ * CODING STANDARDS:
11
+ * - Use UPPER_CASE for constant values
12
+ * - Document each constant with JSDoc comments
13
+ */
14
+ /**
15
+ * Available MCP servers
16
+ */
17
+ let MCPServer = /* @__PURE__ */ function(MCPServer$1) {
18
+ MCPServer$1["ARCHITECT"] = "architect-mcp";
19
+ MCPServer$1["SCAFFOLD"] = "scaffold-mcp";
20
+ return MCPServer$1;
21
+ }({});
22
+ /**
23
+ * MCP server configuration files
24
+ * Maps each MCP server to its specific configuration files
25
+ *
26
+ * - architect-mcp: Only needs RULES.yaml and architect.yaml
27
+ * - scaffold-mcp: Needs all other template files (excluding architect files)
28
+ */
29
+ const MCP_CONFIG_FILES = {
30
+ [MCPServer.ARCHITECT]: ["RULES.yaml", "architect.yaml"],
31
+ [MCPServer.SCAFFOLD]: []
32
+ };
33
+ /**
34
+ * MCP server display names and descriptions for user prompts
35
+ */
36
+ const MCP_SERVER_INFO = {
37
+ [MCPServer.ARCHITECT]: {
38
+ name: "Architect MCP",
39
+ description: "Code review, design patterns, and coding standards enforcement"
40
+ },
41
+ [MCPServer.SCAFFOLD]: {
42
+ name: "Scaffold MCP",
43
+ description: "Project scaffolding, boilerplates, and feature generation"
44
+ }
45
+ };
46
+
47
+ //#endregion
48
+ Object.defineProperty(exports, 'MCPServer', {
49
+ enumerable: true,
50
+ get: function () {
51
+ return MCPServer;
52
+ }
53
+ });
54
+ Object.defineProperty(exports, 'MCP_CONFIG_FILES', {
55
+ enumerable: true,
56
+ get: function () {
57
+ return MCP_CONFIG_FILES;
58
+ }
59
+ });
60
+ Object.defineProperty(exports, 'MCP_SERVER_INFO', {
61
+ enumerable: true,
62
+ get: function () {
63
+ return MCP_SERVER_INFO;
64
+ }
65
+ });