genesis-ai-cli 7.4.7 → 7.4.8
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.
- package/dist/src/cli/dispatcher.js +74 -4
- package/dist/src/mcp/index.js +21 -6
- package/package.json +1 -1
|
@@ -29,38 +29,108 @@ const LOCAL_TOOLS = [
|
|
|
29
29
|
'git_branch', 'git_checkout',
|
|
30
30
|
];
|
|
31
31
|
const MCP_TOOL_MAP = {
|
|
32
|
-
// Knowledge
|
|
32
|
+
// Knowledge - ArXiv
|
|
33
33
|
'search_arxiv': 'arxiv',
|
|
34
34
|
'parse_paper_content': 'arxiv',
|
|
35
35
|
'get_recent_ai_papers': 'arxiv',
|
|
36
|
+
'get_arxiv_pdf_url': 'arxiv',
|
|
37
|
+
// Knowledge - Semantic Scholar
|
|
36
38
|
'search_semantic_scholar': 'semantic-scholar',
|
|
37
39
|
'get_semantic_scholar_paper': 'semantic-scholar',
|
|
40
|
+
'get_paper_citations': 'semantic-scholar',
|
|
41
|
+
'semantic_scholar_to_bibtex': 'semantic-scholar',
|
|
42
|
+
// Knowledge - Context7
|
|
38
43
|
'resolve-library-id': 'context7',
|
|
39
44
|
'query-docs': 'context7',
|
|
45
|
+
// Knowledge - Wolfram
|
|
40
46
|
'wolfram_query': 'wolfram',
|
|
41
|
-
// Research
|
|
47
|
+
// Research - Gemini
|
|
42
48
|
'web_search': 'gemini',
|
|
49
|
+
'web_search_batch': 'gemini',
|
|
50
|
+
'health_check': 'gemini',
|
|
51
|
+
// Research - Brave Search (ALL tools)
|
|
43
52
|
'brave_web_search': 'brave-search',
|
|
53
|
+
'brave_local_search': 'brave-search',
|
|
54
|
+
'brave_news_search': 'brave-search',
|
|
55
|
+
'brave_image_search': 'brave-search',
|
|
56
|
+
'brave_video_search': 'brave-search',
|
|
57
|
+
'brave_summarizer': 'brave-search',
|
|
58
|
+
// Research - EXA
|
|
44
59
|
'web_search_exa': 'exa',
|
|
60
|
+
'get_code_context_exa': 'exa',
|
|
61
|
+
// Research - Firecrawl (ALL tools)
|
|
45
62
|
'firecrawl_scrape': 'firecrawl',
|
|
46
63
|
'firecrawl_search': 'firecrawl',
|
|
47
|
-
|
|
64
|
+
'firecrawl_map': 'firecrawl',
|
|
65
|
+
'firecrawl_crawl': 'firecrawl',
|
|
66
|
+
'firecrawl_check_crawl_status': 'firecrawl',
|
|
67
|
+
'firecrawl_extract': 'firecrawl',
|
|
68
|
+
'firecrawl_agent': 'firecrawl',
|
|
69
|
+
'firecrawl_agent_status': 'firecrawl',
|
|
70
|
+
// Creation - OpenAI
|
|
48
71
|
'openai_chat': 'openai',
|
|
72
|
+
// Creation - GitHub (ALL tools)
|
|
49
73
|
'create_repository': 'github',
|
|
74
|
+
'search_repositories': 'github',
|
|
50
75
|
'create_issue': 'github',
|
|
76
|
+
'list_issues': 'github',
|
|
77
|
+
'get_issue': 'github',
|
|
78
|
+
'update_issue': 'github',
|
|
79
|
+
'add_issue_comment': 'github',
|
|
51
80
|
'create_pull_request': 'github',
|
|
81
|
+
'get_pull_request': 'github',
|
|
82
|
+
'list_pull_requests': 'github',
|
|
83
|
+
'merge_pull_request': 'github',
|
|
84
|
+
'get_pull_request_files': 'github',
|
|
85
|
+
'create_pull_request_review': 'github',
|
|
86
|
+
'get_file_contents': 'github',
|
|
87
|
+
'create_or_update_file': 'github',
|
|
88
|
+
'push_files': 'github',
|
|
89
|
+
'create_branch': 'github',
|
|
90
|
+
'list_commits': 'github',
|
|
91
|
+
'fork_repository': 'github',
|
|
92
|
+
'search_code': 'github',
|
|
93
|
+
'search_issues': 'github',
|
|
94
|
+
'search_users': 'github',
|
|
52
95
|
// Storage - Memory (knowledge graph)
|
|
53
96
|
'create_entities': 'memory',
|
|
54
97
|
'create_relations': 'memory',
|
|
55
98
|
'add_observations': 'memory',
|
|
99
|
+
'delete_entities': 'memory',
|
|
100
|
+
'delete_relations': 'memory',
|
|
101
|
+
'delete_observations': 'memory',
|
|
56
102
|
'search_nodes': 'memory',
|
|
103
|
+
'open_nodes': 'memory',
|
|
57
104
|
'read_graph': 'memory',
|
|
105
|
+
// Storage - Filesystem (ALL tools)
|
|
58
106
|
'read_file': 'filesystem',
|
|
107
|
+
'read_text_file': 'filesystem',
|
|
108
|
+
'read_media_file': 'filesystem',
|
|
109
|
+
'read_multiple_files': 'filesystem',
|
|
59
110
|
'write_file': 'filesystem',
|
|
111
|
+
'edit_file': 'filesystem',
|
|
112
|
+
'create_directory': 'filesystem',
|
|
60
113
|
'list_directory': 'filesystem',
|
|
61
|
-
|
|
114
|
+
'list_directory_with_sizes': 'filesystem',
|
|
115
|
+
'directory_tree': 'filesystem',
|
|
116
|
+
'move_file': 'filesystem',
|
|
117
|
+
'search_files': 'filesystem',
|
|
118
|
+
'get_file_info': 'filesystem',
|
|
119
|
+
'list_allowed_directories': 'filesystem',
|
|
120
|
+
// Visual - Stability AI (ALL tools)
|
|
62
121
|
'stability-ai-generate-image': 'stability-ai',
|
|
63
122
|
'stability-ai-generate-image-sd35': 'stability-ai',
|
|
123
|
+
'stability-ai-remove-background': 'stability-ai',
|
|
124
|
+
'stability-ai-outpaint': 'stability-ai',
|
|
125
|
+
'stability-ai-search-and-replace': 'stability-ai',
|
|
126
|
+
'stability-ai-upscale-fast': 'stability-ai',
|
|
127
|
+
'stability-ai-upscale-creative': 'stability-ai',
|
|
128
|
+
'stability-ai-control-sketch': 'stability-ai',
|
|
129
|
+
'stability-ai-0-list-resources': 'stability-ai',
|
|
130
|
+
'stability-ai-search-and-recolor': 'stability-ai',
|
|
131
|
+
'stability-ai-replace-background-and-relight': 'stability-ai',
|
|
132
|
+
'stability-ai-control-style': 'stability-ai',
|
|
133
|
+
'stability-ai-control-structure': 'stability-ai',
|
|
64
134
|
};
|
|
65
135
|
// ============================================================================
|
|
66
136
|
// v7.3: Static Tool Schemas (fallback when MCP discovery fails)
|
package/dist/src/mcp/index.js
CHANGED
|
@@ -77,7 +77,7 @@ const MCP_SERVER_REGISTRY = {
|
|
|
77
77
|
'brave-search': {
|
|
78
78
|
command: 'npx',
|
|
79
79
|
args: () => ['-y', '@brave/brave-search-mcp-server', '--brave-api-key', process.env.BRAVE_API_KEY || ''],
|
|
80
|
-
tools: ['brave_web_search', 'brave_local_search', 'brave_news_search', 'brave_image_search', 'brave_video_search'],
|
|
80
|
+
tools: ['brave_web_search', 'brave_local_search', 'brave_news_search', 'brave_image_search', 'brave_video_search', 'brave_summarizer'],
|
|
81
81
|
},
|
|
82
82
|
'exa': {
|
|
83
83
|
command: 'npx',
|
|
@@ -89,7 +89,7 @@ const MCP_SERVER_REGISTRY = {
|
|
|
89
89
|
command: 'npx',
|
|
90
90
|
args: ['-y', 'firecrawl-mcp'],
|
|
91
91
|
envVars: () => ({ FIRECRAWL_API_KEY: process.env.FIRECRAWL_API_KEY || '' }),
|
|
92
|
-
tools: ['firecrawl_scrape', 'firecrawl_search', 'firecrawl_map', 'firecrawl_crawl', 'firecrawl_extract'],
|
|
92
|
+
tools: ['firecrawl_scrape', 'firecrawl_search', 'firecrawl_map', 'firecrawl_crawl', 'firecrawl_check_crawl_status', 'firecrawl_extract', 'firecrawl_agent', 'firecrawl_agent_status'],
|
|
93
93
|
},
|
|
94
94
|
// CREATION
|
|
95
95
|
'openai': {
|
|
@@ -105,25 +105,40 @@ const MCP_SERVER_REGISTRY = {
|
|
|
105
105
|
envVars: () => ({
|
|
106
106
|
GITHUB_PERSONAL_ACCESS_TOKEN: process.env.GITHUB_PERSONAL_ACCESS_TOKEN || process.env.GITHUB_TOKEN || ''
|
|
107
107
|
}),
|
|
108
|
-
tools: [
|
|
108
|
+
tools: [
|
|
109
|
+
'create_repository', 'search_repositories', 'create_issue', 'list_issues', 'get_issue', 'update_issue',
|
|
110
|
+
'add_issue_comment', 'create_pull_request', 'get_pull_request', 'list_pull_requests', 'merge_pull_request',
|
|
111
|
+
'get_pull_request_files', 'create_pull_request_review', 'get_file_contents', 'create_or_update_file',
|
|
112
|
+
'push_files', 'create_branch', 'list_commits', 'fork_repository', 'search_code', 'search_issues', 'search_users'
|
|
113
|
+
],
|
|
109
114
|
},
|
|
110
115
|
// VISUAL
|
|
111
116
|
'stability-ai': {
|
|
112
117
|
command: 'npx',
|
|
113
118
|
args: ['-y', 'mcp-server-stability-ai'],
|
|
114
119
|
envVars: () => ({ STABILITY_AI_API_KEY: process.env.STABILITY_AI_API_KEY || '' }),
|
|
115
|
-
tools: [
|
|
120
|
+
tools: [
|
|
121
|
+
'stability-ai-generate-image', 'stability-ai-generate-image-sd35', 'stability-ai-remove-background',
|
|
122
|
+
'stability-ai-outpaint', 'stability-ai-search-and-replace', 'stability-ai-upscale-fast',
|
|
123
|
+
'stability-ai-upscale-creative', 'stability-ai-control-sketch', 'stability-ai-0-list-resources',
|
|
124
|
+
'stability-ai-search-and-recolor', 'stability-ai-replace-background-and-relight',
|
|
125
|
+
'stability-ai-control-style', 'stability-ai-control-structure'
|
|
126
|
+
],
|
|
116
127
|
},
|
|
117
128
|
// STORAGE
|
|
118
129
|
'memory': {
|
|
119
130
|
command: 'npx',
|
|
120
131
|
args: ['-y', '@modelcontextprotocol/server-memory'],
|
|
121
|
-
tools: ['create_entities', 'create_relations', 'search_nodes', '
|
|
132
|
+
tools: ['create_entities', 'create_relations', 'add_observations', 'delete_entities', 'delete_relations', 'delete_observations', 'search_nodes', 'open_nodes', 'read_graph'],
|
|
122
133
|
},
|
|
123
134
|
'filesystem': {
|
|
124
135
|
command: 'npx',
|
|
125
136
|
args: () => ['-y', '@modelcontextprotocol/server-filesystem', process.env.HOME || '/tmp'],
|
|
126
|
-
tools: [
|
|
137
|
+
tools: [
|
|
138
|
+
'read_file', 'read_text_file', 'read_media_file', 'read_multiple_files', 'write_file', 'edit_file',
|
|
139
|
+
'create_directory', 'list_directory', 'list_directory_with_sizes', 'directory_tree',
|
|
140
|
+
'move_file', 'search_files', 'get_file_info', 'list_allowed_directories'
|
|
141
|
+
],
|
|
127
142
|
},
|
|
128
143
|
};
|
|
129
144
|
exports.MCP_SERVER_REGISTRY = MCP_SERVER_REGISTRY;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "genesis-ai-cli",
|
|
3
|
-
"version": "7.4.
|
|
3
|
+
"version": "7.4.8",
|
|
4
4
|
"description": "Autonomous AI System Creator - Brain ON by default, Active Inference integrated, Curiosity-driven, Φ monitoring in every response",
|
|
5
5
|
"main": "dist/src/index.js",
|
|
6
6
|
"types": "dist/src/index.d.ts",
|