skydeckai-code 0.1.33__tar.gz → 0.1.35__tar.gz

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.
Files changed (31) hide show
  1. {skydeckai_code-0.1.33 → skydeckai_code-0.1.35}/PKG-INFO +22 -142
  2. {skydeckai_code-0.1.33 → skydeckai_code-0.1.35}/README.md +20 -139
  3. {skydeckai_code-0.1.33 → skydeckai_code-0.1.35}/pyproject.toml +5 -11
  4. skydeckai_code-0.1.35/src/__init__.py +0 -0
  5. {skydeckai_code-0.1.33 → skydeckai_code-0.1.35}/src/aidd/tools/__init__.py +2 -60
  6. {skydeckai_code-0.1.33 → skydeckai_code-0.1.35}/src/aidd/tools/code_execution.py +5 -0
  7. {skydeckai_code-0.1.33 → skydeckai_code-0.1.35}/src/aidd/tools/code_tools.py +63 -23
  8. {skydeckai_code-0.1.33 → skydeckai_code-0.1.35}/src/aidd/tools/file_tools.py +2 -1
  9. skydeckai_code-0.1.33/src/aidd/tools/git_tools.py +0 -774
  10. skydeckai_code-0.1.33/src/aidd/tools/lint_tools.py +0 -590
  11. {skydeckai_code-0.1.33 → skydeckai_code-0.1.35}/.gitignore +0 -0
  12. {skydeckai_code-0.1.33 → skydeckai_code-0.1.35}/Dockerfile +0 -0
  13. {skydeckai_code-0.1.33 → skydeckai_code-0.1.35}/LICENSE +0 -0
  14. {skydeckai_code-0.1.33 → skydeckai_code-0.1.35}/screenshots/skydeck_ai_helper.png +0 -0
  15. {skydeckai_code-0.1.33 → skydeckai_code-0.1.35}/smithery.yaml +0 -0
  16. {skydeckai_code-0.1.33 → skydeckai_code-0.1.35}/src/aidd/__init__.py +0 -0
  17. {skydeckai_code-0.1.33 → skydeckai_code-0.1.35}/src/aidd/cli.py +0 -0
  18. {skydeckai_code-0.1.33 → skydeckai_code-0.1.35}/src/aidd/server.py +0 -0
  19. {skydeckai_code-0.1.33 → skydeckai_code-0.1.35}/src/aidd/tools/base.py +0 -0
  20. {skydeckai_code-0.1.33 → skydeckai_code-0.1.35}/src/aidd/tools/code_analysis.py +0 -0
  21. {skydeckai_code-0.1.33 → skydeckai_code-0.1.35}/src/aidd/tools/directory_tools.py +0 -0
  22. {skydeckai_code-0.1.33 → skydeckai_code-0.1.35}/src/aidd/tools/get_active_apps_tool.py +0 -0
  23. {skydeckai_code-0.1.33 → skydeckai_code-0.1.35}/src/aidd/tools/get_available_windows_tool.py +0 -0
  24. {skydeckai_code-0.1.33 → skydeckai_code-0.1.35}/src/aidd/tools/image_tools.py +0 -0
  25. {skydeckai_code-0.1.33 → skydeckai_code-0.1.35}/src/aidd/tools/other_tools.py +0 -0
  26. {skydeckai_code-0.1.33 → skydeckai_code-0.1.35}/src/aidd/tools/path_tools.py +0 -0
  27. {skydeckai_code-0.1.33 → skydeckai_code-0.1.35}/src/aidd/tools/screenshot_tool.py +0 -0
  28. {skydeckai_code-0.1.33 → skydeckai_code-0.1.35}/src/aidd/tools/state.py +0 -0
  29. {skydeckai_code-0.1.33 → skydeckai_code-0.1.35}/src/aidd/tools/system_tools.py +0 -0
  30. {skydeckai_code-0.1.33 → skydeckai_code-0.1.35}/src/aidd/tools/web_tools.py +0 -0
  31. {skydeckai_code-0.1.33 → skydeckai_code-0.1.35}/uv.lock +0 -0
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: skydeckai-code
3
- Version: 0.1.33
4
- Summary: This MCP server provides a comprehensive set of tools for AI-driven Development workflows including file operations, code analysis, code linting, multi-language execution, Git operations, web content fetching with HTML-to-markdown conversion, multi-engine web search, code content searching, and system information retrieval.
3
+ Version: 0.1.35
4
+ Summary: This MCP server provides a comprehensive set of tools for AI-driven Development workflows including file operations, code analysis, multi-language execution, web content fetching with HTML-to-markdown conversion, multi-engine web search, code content searching, and system information retrieval.
5
5
  Project-URL: Homepage, https://github.com/skydeckai/skydeckai-code
6
6
  Project-URL: Repository, https://github.com/skydeckai/skydeckai-code
7
7
  Project-URL: Documentation, https://github.com/skydeckai/skydeckai-code/blob/main/README.md
@@ -11,7 +11,6 @@ License-File: LICENSE
11
11
  Keywords: ai,aidd,code,code-analysis,development,mcp
12
12
  Requires-Python: >=3.11
13
13
  Requires-Dist: beautifulsoup4>=4.13.3
14
- Requires-Dist: gitpython>=3.1.44
15
14
  Requires-Dist: html2text>=2025.4.15
16
15
  Requires-Dist: mcp>=1.6.0
17
16
  Requires-Dist: mss>=10.0.0
@@ -36,7 +35,7 @@ Description-Content-Type: text/markdown
36
35
 
37
36
  # SkyDeckAI Code
38
37
 
39
- An MCP server that provides a comprehensive set of tools for AI-driven development workflows. Features include file system operations, code analysis using tree-sitter for multiple programming languages, Git operations, code execution, web content fetching with HTML-to-markdown conversion, multi-engine web search, code content searching, linting detection, and system information retrieval. Designed to enhance AI's capability to assist in software development tasks by providing direct access to both local and remote resources.
38
+ An MCP server that provides a comprehensive set of tools for AI-driven development workflows. Features include file system operations, code analysis using tree-sitter for multiple programming languages, code execution, web content fetching with HTML-to-markdown conversion, multi-engine web search, code content searching, and system information retrieval. Designed to enhance AI's capability to assist in software development tasks by providing direct access to both local and remote resources.
40
39
 
41
40
  # Formerly Known As MCP-Server-AIDD
42
41
 
@@ -80,7 +79,6 @@ If you're using SkyDeck AI Helper app, you can search for "SkyDeckAI Code" and i
80
79
  - Code linting and issue detection for Python and JavaScript/TypeScript
81
80
  - Code content searching with regex pattern matching
82
81
  - Multi-language code execution with safety measures
83
- - Git operations (status, diff, commit, branch management, cloning)
84
82
  - Web content fetching from APIs and websites with HTML-to-markdown conversion
85
83
  - Multi-engine web search with reliable fallback mechanisms
86
84
  - Batch operations for parallel and serial tool execution
@@ -183,69 +181,6 @@ skydeckai-code-cli --tool list_directory --args '{"path": "."}'
183
181
  skydeckai-code-cli --tool search_files --args '{"pattern": ".py", "path": "src"}'
184
182
  ```
185
183
 
186
- ### Git Operations
187
-
188
- | Tool | Parameters | Returns |
189
- | ----------------- | ------------------------------------------------- | -------------------------------- |
190
- | git_init | path: string, initial_branch?: string | Repository initialization status |
191
- | git_status | repo_path: string | Working directory status |
192
- | git_add | repo_path: string, files: string[] | Staging confirmation |
193
- | git_reset | repo_path: string | Unstaging confirmation |
194
- | git_checkout | repo_path: string, branch_name: string | Branch switch confirmation |
195
- | git_create_branch | repo_path: string, branch_name: string | Branch creation confirmation |
196
- | git_clone | url: string, target_path: string, branch?: string | Clone confirmation |
197
- | git_diff_unstaged | repo_path: string | Unstaged changes diff |
198
- | git_diff_staged | repo_path: string | Staged changes diff |
199
- | git_show | repo_path: string, commit_hash: string | Details of a specific commit |
200
-
201
- #### Complex Git Operations
202
-
203
- ##### git_commit
204
-
205
- ```json
206
- {
207
- "repo_path": ".",
208
- "message": "feat: add new feature"
209
- }
210
- ```
211
-
212
- Returns: Commit hash and confirmation.
213
-
214
- ##### git_diff
215
-
216
- ```json
217
- {
218
- "repo_path": ".",
219
- "target": "main"
220
- }
221
- ```
222
-
223
- Returns: Detailed diff output showing all changes between the current branch and the specified target branch or commit.
224
-
225
- ##### git_log
226
-
227
- ```json
228
- {
229
- "repo_path": ".",
230
- "max_count": 10
231
- }
232
- ```
233
-
234
- Returns: Array of commit entries with hash, author, date, and message.
235
-
236
- Common usage:
237
-
238
- ```bash
239
- # Check status
240
- skydeckai-code-cli --tool git_status --args '{"repo_path": "."}'
241
-
242
- # Clone a repository
243
- skydeckai-code-cli --tool git_clone --args '{"url": "https://github.com/username/repo.git", "target_path": "repo"}'
244
-
245
- # Create and switch to new branch
246
- skydeckai-code-cli --tool git_create_branch --args '{"repo_path": ".", "branch_name": "feature/new-branch"}'
247
- ```
248
-
249
184
  ### Code Analysis
250
185
 
251
186
  #### codebase_mapper
@@ -269,8 +204,8 @@ Returns:
269
204
  Supported Languages:
270
205
 
271
206
  - Python (.py)
272
- - JavaScript (.js, .jsx, .mjs, .cjs)
273
- - TypeScript (.ts, .tsx)
207
+ - JavaScript (.js/.jsx, .mjs, .cjs)
208
+ - TypeScript (.ts/.tsx)
274
209
  - Java (.java)
275
210
  - C++ (.cpp, .hpp, .cc)
276
211
  - Ruby (.rb, .rake)
@@ -280,71 +215,17 @@ Supported Languages:
280
215
  - C# (.cs)
281
216
  - Kotlin (.kt, .kts)
282
217
 
283
- #### check_lint
284
-
285
- Check for linting issues in your codebase using native linting tools:
286
-
287
- ```json
288
- {
289
- "path": "src",
290
- "languages": ["python", "javascript"],
291
- "linters": {
292
- "pylint": "--disable=C0111",
293
- "flake8": true,
294
- "eslint": "--fix"
295
- },
296
- "max_issues": 100
297
- }
298
- ```
299
-
300
- **Parameters:**
301
- | Parameter | Type | Required | Description |
302
- |-----------|------|----------|-------------|
303
- | path | string | No | Directory or file to lint (default: ".") |
304
- | languages | array | No | List of languages to lint (auto-detects if empty) |
305
- | linters | object | No | Configuration for specific linters - can use booleans or CLI arguments |
306
- | max_issues | integer | No | Maximum number of issues to return (default: 100, 0 for unlimited) |
307
-
308
- **Returns:**
309
- A detailed report of linting issues found in the codebase, including file paths, line numbers, issue descriptions, and severity levels. Issues are grouped by file and sorted by severity.
310
-
311
- **Supported Languages and Linters:**
312
-
313
- - Python: pylint, flake8 (automatically uses what's available)
314
- - JavaScript/TypeScript: ESLint
315
- - Dart/Flutter: dart_analyze (also reports compilation errors)
316
-
317
218
  **Example Usage:**
318
219
 
319
220
  ```bash
320
- # Check entire codebase with default settings
321
- skydeckai-code-cli --tool check_lint
322
-
323
- # Check specific directory with custom pylint flags
324
- skydeckai-code-cli --tool check_lint --args '{
325
- "path": "src",
326
- "linters": {
327
- "pylint": "--disable=missing-docstring,invalid-name"
328
- }
329
- }'
221
+ # Map the entire codebase structure
222
+ skydeckai-code-cli --tool codebase_mapper --args '{"path": "."}'
330
223
 
331
- # Check only Python files and disable flake8
332
- skydeckai-code-cli --tool check_lint --args '{
333
- "path": "src",
334
- "languages": ["python"],
335
- "linters": {
336
- "flake8": false
337
- }
338
- }'
224
+ # Map only the source directory
225
+ skydeckai-code-cli --tool codebase_mapper --args '{"path": "src"}'
339
226
 
340
- # Check Dart/Flutter files for linting and compilation errors
341
- skydeckai-code-cli --tool check_lint --args '{
342
- "path": "lib",
343
- "languages": ["dart"],
344
- "linters": {
345
- "dart_analyze": "--fatal-infos"
346
- }
347
- }'
227
+ # Map a specific component or module
228
+ skydeckai-code-cli --tool codebase_mapper --args '{"path": "src/components"}'
348
229
  ```
349
230
 
350
231
  #### search_code
@@ -353,7 +234,7 @@ Fast content search tool using regular expressions:
353
234
 
354
235
  ```json
355
236
  {
356
- "pattern": "function\\s+\\w+",
237
+ "patterns": ["function\\s+\\w+", "class\\s+\\w+"],
357
238
  "include": "*.js",
358
239
  "exclude": "node_modules/**",
359
240
  "max_results": 50,
@@ -365,10 +246,10 @@ Fast content search tool using regular expressions:
365
246
  **Parameters:**
366
247
  | Parameter | Type | Required | Description |
367
248
  |-----------|------|----------|-------------|
368
- | pattern | string | Yes | Regular expression pattern to search in file contents |
249
+ | patterns | array of strings | Yes | List of regular expression patterns to search for in file contents |
369
250
  | include | string | No | File pattern to include (glob syntax, default: "\*") |
370
251
  | exclude | string | No | File pattern to exclude (glob syntax, default: "") |
371
- | max_results | integer | No | Maximum results to return (default: 100) |
252
+ | max_results | integer | No | Maximum results to return per pattern (default: 100) |
372
253
  | case_sensitive | boolean | No | Whether search is case-sensitive (default: false) |
373
254
  | path | string | No | Base directory to search from (default: ".") |
374
255
 
@@ -380,21 +261,21 @@ This tool uses ripgrep when available for optimal performance, with a Python fal
380
261
  **Example Usage:**
381
262
 
382
263
  ```bash
383
- # Find function declarations in JavaScript files
264
+ # Find function and class declarations in JavaScript files
384
265
  skydeckai-code-cli --tool search_code --args '{
385
- "pattern": "function\\s+\\w+",
266
+ "patterns": ["function\\s+\\w+", "class\\s+\\w+"],
386
267
  "include": "*.js"
387
268
  }'
388
269
 
389
- # Find all console.log statements with errors
270
+ # Find all console.log statements with errors or warnings
390
271
  skydeckai-code-cli --tool search_code --args '{
391
- "pattern": "console\\.log.*[eE]rror",
272
+ "patterns": ["console\\.log.*[eE]rror", "console\\.log.*[wW]arning"],
392
273
  "path": "src"
393
274
  }'
394
275
 
395
- # Find import statements in TypeScript files
276
+ # Find import and export statements in TypeScript files
396
277
  skydeckai-code-cli --tool search_code --args '{
397
- "pattern": "import.*from",
278
+ "patterns": ["import.*from", "export.*"],
398
279
  "include": "*.{ts,tsx}",
399
280
  "exclude": "node_modules/**"
400
281
  }'
@@ -692,10 +573,9 @@ Execute multiple tool invocations in a single request with parallel execution wh
692
573
  }
693
574
  },
694
575
  {
695
- "tool": "git_init",
576
+ "tool": "execute_shell_script",
696
577
  "arguments": {
697
- "path": ".",
698
- "initial_branch": "main"
578
+ "script": "git init"
699
579
  }
700
580
  }
701
581
  ]
@@ -1,6 +1,6 @@
1
1
  # SkyDeckAI Code
2
2
 
3
- An MCP server that provides a comprehensive set of tools for AI-driven development workflows. Features include file system operations, code analysis using tree-sitter for multiple programming languages, Git operations, code execution, web content fetching with HTML-to-markdown conversion, multi-engine web search, code content searching, linting detection, and system information retrieval. Designed to enhance AI's capability to assist in software development tasks by providing direct access to both local and remote resources.
3
+ An MCP server that provides a comprehensive set of tools for AI-driven development workflows. Features include file system operations, code analysis using tree-sitter for multiple programming languages, code execution, web content fetching with HTML-to-markdown conversion, multi-engine web search, code content searching, and system information retrieval. Designed to enhance AI's capability to assist in software development tasks by providing direct access to both local and remote resources.
4
4
 
5
5
  # Formerly Known As MCP-Server-AIDD
6
6
 
@@ -44,7 +44,6 @@ If you're using SkyDeck AI Helper app, you can search for "SkyDeckAI Code" and i
44
44
  - Code linting and issue detection for Python and JavaScript/TypeScript
45
45
  - Code content searching with regex pattern matching
46
46
  - Multi-language code execution with safety measures
47
- - Git operations (status, diff, commit, branch management, cloning)
48
47
  - Web content fetching from APIs and websites with HTML-to-markdown conversion
49
48
  - Multi-engine web search with reliable fallback mechanisms
50
49
  - Batch operations for parallel and serial tool execution
@@ -147,69 +146,6 @@ skydeckai-code-cli --tool list_directory --args '{"path": "."}'
147
146
  skydeckai-code-cli --tool search_files --args '{"pattern": ".py", "path": "src"}'
148
147
  ```
149
148
 
150
- ### Git Operations
151
-
152
- | Tool | Parameters | Returns |
153
- | ----------------- | ------------------------------------------------- | -------------------------------- |
154
- | git_init | path: string, initial_branch?: string | Repository initialization status |
155
- | git_status | repo_path: string | Working directory status |
156
- | git_add | repo_path: string, files: string[] | Staging confirmation |
157
- | git_reset | repo_path: string | Unstaging confirmation |
158
- | git_checkout | repo_path: string, branch_name: string | Branch switch confirmation |
159
- | git_create_branch | repo_path: string, branch_name: string | Branch creation confirmation |
160
- | git_clone | url: string, target_path: string, branch?: string | Clone confirmation |
161
- | git_diff_unstaged | repo_path: string | Unstaged changes diff |
162
- | git_diff_staged | repo_path: string | Staged changes diff |
163
- | git_show | repo_path: string, commit_hash: string | Details of a specific commit |
164
-
165
- #### Complex Git Operations
166
-
167
- ##### git_commit
168
-
169
- ```json
170
- {
171
- "repo_path": ".",
172
- "message": "feat: add new feature"
173
- }
174
- ```
175
-
176
- Returns: Commit hash and confirmation.
177
-
178
- ##### git_diff
179
-
180
- ```json
181
- {
182
- "repo_path": ".",
183
- "target": "main"
184
- }
185
- ```
186
-
187
- Returns: Detailed diff output showing all changes between the current branch and the specified target branch or commit.
188
-
189
- ##### git_log
190
-
191
- ```json
192
- {
193
- "repo_path": ".",
194
- "max_count": 10
195
- }
196
- ```
197
-
198
- Returns: Array of commit entries with hash, author, date, and message.
199
-
200
- Common usage:
201
-
202
- ```bash
203
- # Check status
204
- skydeckai-code-cli --tool git_status --args '{"repo_path": "."}'
205
-
206
- # Clone a repository
207
- skydeckai-code-cli --tool git_clone --args '{"url": "https://github.com/username/repo.git", "target_path": "repo"}'
208
-
209
- # Create and switch to new branch
210
- skydeckai-code-cli --tool git_create_branch --args '{"repo_path": ".", "branch_name": "feature/new-branch"}'
211
- ```
212
-
213
149
  ### Code Analysis
214
150
 
215
151
  #### codebase_mapper
@@ -233,8 +169,8 @@ Returns:
233
169
  Supported Languages:
234
170
 
235
171
  - Python (.py)
236
- - JavaScript (.js, .jsx, .mjs, .cjs)
237
- - TypeScript (.ts, .tsx)
172
+ - JavaScript (.js/.jsx, .mjs, .cjs)
173
+ - TypeScript (.ts/.tsx)
238
174
  - Java (.java)
239
175
  - C++ (.cpp, .hpp, .cc)
240
176
  - Ruby (.rb, .rake)
@@ -244,71 +180,17 @@ Supported Languages:
244
180
  - C# (.cs)
245
181
  - Kotlin (.kt, .kts)
246
182
 
247
- #### check_lint
248
-
249
- Check for linting issues in your codebase using native linting tools:
250
-
251
- ```json
252
- {
253
- "path": "src",
254
- "languages": ["python", "javascript"],
255
- "linters": {
256
- "pylint": "--disable=C0111",
257
- "flake8": true,
258
- "eslint": "--fix"
259
- },
260
- "max_issues": 100
261
- }
262
- ```
263
-
264
- **Parameters:**
265
- | Parameter | Type | Required | Description |
266
- |-----------|------|----------|-------------|
267
- | path | string | No | Directory or file to lint (default: ".") |
268
- | languages | array | No | List of languages to lint (auto-detects if empty) |
269
- | linters | object | No | Configuration for specific linters - can use booleans or CLI arguments |
270
- | max_issues | integer | No | Maximum number of issues to return (default: 100, 0 for unlimited) |
271
-
272
- **Returns:**
273
- A detailed report of linting issues found in the codebase, including file paths, line numbers, issue descriptions, and severity levels. Issues are grouped by file and sorted by severity.
274
-
275
- **Supported Languages and Linters:**
276
-
277
- - Python: pylint, flake8 (automatically uses what's available)
278
- - JavaScript/TypeScript: ESLint
279
- - Dart/Flutter: dart_analyze (also reports compilation errors)
280
-
281
183
  **Example Usage:**
282
184
 
283
185
  ```bash
284
- # Check entire codebase with default settings
285
- skydeckai-code-cli --tool check_lint
286
-
287
- # Check specific directory with custom pylint flags
288
- skydeckai-code-cli --tool check_lint --args '{
289
- "path": "src",
290
- "linters": {
291
- "pylint": "--disable=missing-docstring,invalid-name"
292
- }
293
- }'
186
+ # Map the entire codebase structure
187
+ skydeckai-code-cli --tool codebase_mapper --args '{"path": "."}'
294
188
 
295
- # Check only Python files and disable flake8
296
- skydeckai-code-cli --tool check_lint --args '{
297
- "path": "src",
298
- "languages": ["python"],
299
- "linters": {
300
- "flake8": false
301
- }
302
- }'
189
+ # Map only the source directory
190
+ skydeckai-code-cli --tool codebase_mapper --args '{"path": "src"}'
303
191
 
304
- # Check Dart/Flutter files for linting and compilation errors
305
- skydeckai-code-cli --tool check_lint --args '{
306
- "path": "lib",
307
- "languages": ["dart"],
308
- "linters": {
309
- "dart_analyze": "--fatal-infos"
310
- }
311
- }'
192
+ # Map a specific component or module
193
+ skydeckai-code-cli --tool codebase_mapper --args '{"path": "src/components"}'
312
194
  ```
313
195
 
314
196
  #### search_code
@@ -317,7 +199,7 @@ Fast content search tool using regular expressions:
317
199
 
318
200
  ```json
319
201
  {
320
- "pattern": "function\\s+\\w+",
202
+ "patterns": ["function\\s+\\w+", "class\\s+\\w+"],
321
203
  "include": "*.js",
322
204
  "exclude": "node_modules/**",
323
205
  "max_results": 50,
@@ -329,10 +211,10 @@ Fast content search tool using regular expressions:
329
211
  **Parameters:**
330
212
  | Parameter | Type | Required | Description |
331
213
  |-----------|------|----------|-------------|
332
- | pattern | string | Yes | Regular expression pattern to search in file contents |
214
+ | patterns | array of strings | Yes | List of regular expression patterns to search for in file contents |
333
215
  | include | string | No | File pattern to include (glob syntax, default: "\*") |
334
216
  | exclude | string | No | File pattern to exclude (glob syntax, default: "") |
335
- | max_results | integer | No | Maximum results to return (default: 100) |
217
+ | max_results | integer | No | Maximum results to return per pattern (default: 100) |
336
218
  | case_sensitive | boolean | No | Whether search is case-sensitive (default: false) |
337
219
  | path | string | No | Base directory to search from (default: ".") |
338
220
 
@@ -344,21 +226,21 @@ This tool uses ripgrep when available for optimal performance, with a Python fal
344
226
  **Example Usage:**
345
227
 
346
228
  ```bash
347
- # Find function declarations in JavaScript files
229
+ # Find function and class declarations in JavaScript files
348
230
  skydeckai-code-cli --tool search_code --args '{
349
- "pattern": "function\\s+\\w+",
231
+ "patterns": ["function\\s+\\w+", "class\\s+\\w+"],
350
232
  "include": "*.js"
351
233
  }'
352
234
 
353
- # Find all console.log statements with errors
235
+ # Find all console.log statements with errors or warnings
354
236
  skydeckai-code-cli --tool search_code --args '{
355
- "pattern": "console\\.log.*[eE]rror",
237
+ "patterns": ["console\\.log.*[eE]rror", "console\\.log.*[wW]arning"],
356
238
  "path": "src"
357
239
  }'
358
240
 
359
- # Find import statements in TypeScript files
241
+ # Find import and export statements in TypeScript files
360
242
  skydeckai-code-cli --tool search_code --args '{
361
- "pattern": "import.*from",
243
+ "patterns": ["import.*from", "export.*"],
362
244
  "include": "*.{ts,tsx}",
363
245
  "exclude": "node_modules/**"
364
246
  }'
@@ -656,10 +538,9 @@ Execute multiple tool invocations in a single request with parallel execution wh
656
538
  }
657
539
  },
658
540
  {
659
- "tool": "git_init",
541
+ "tool": "execute_shell_script",
660
542
  "arguments": {
661
- "path": ".",
662
- "initial_branch": "main"
543
+ "script": "git init"
663
544
  }
664
545
  }
665
546
  ]
@@ -1,7 +1,7 @@
1
1
  [project]
2
2
  name = "skydeckai-code"
3
- version = "0.1.33"
4
- description = "This MCP server provides a comprehensive set of tools for AI-driven Development workflows including file operations, code analysis, code linting, multi-language execution, Git operations, web content fetching with HTML-to-markdown conversion, multi-engine web search, code content searching, and system information retrieval."
3
+ version = "0.1.35"
4
+ description = "This MCP server provides a comprehensive set of tools for AI-driven Development workflows including file operations, code analysis, multi-language execution, web content fetching with HTML-to-markdown conversion, multi-engine web search, code content searching, and system information retrieval."
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.11"
7
7
  authors = [{name = "SkyDeck.ai", email = "support@skydeck.ai"}]
@@ -22,7 +22,6 @@ dependencies = [
22
22
  "tree-sitter-ruby>=0.23.1",
23
23
  "tree-sitter-rust==0.23.2",
24
24
  "tree-sitter-typescript>=0.23.2",
25
- "GitPython>=3.1.44",
26
25
  "psutil>=7.0.0",
27
26
  "mss>=10.0.0",
28
27
  "pygetwindow>=0.0.9",
@@ -34,7 +33,7 @@ dependencies = [
34
33
  ]
35
34
 
36
35
  [tool.hatch.build.targets.wheel]
37
- packages = ["src/aidd"]
36
+ packages = ["src"]
38
37
 
39
38
  [tool.hatch.envs.default]
40
39
  dependencies = [
@@ -62,12 +61,7 @@ Documentation = "https://github.com/skydeckai/skydeckai-code/blob/main/README.md
62
61
  requires = [ "hatchling",]
63
62
  build-backend = "hatchling.build"
64
63
 
65
- # Configures the src-layout package discovery
66
- [tool.hatch.packages.find]
67
- where = ["src"]
68
- namespaces = false
69
-
70
64
  [project.scripts]
71
- skydeckai-code = "aidd:main"
72
- skydeckai-code-cli = "aidd.cli:main"
65
+ skydeckai-code = "src.aidd:main"
66
+ skydeckai-code-cli = "src.aidd.cli:main"
73
67
 
File without changes
@@ -36,36 +36,7 @@ from .file_tools import (
36
36
  )
37
37
  from .get_active_apps_tool import get_active_apps_tool, handle_get_active_apps
38
38
  from .get_available_windows_tool import get_available_windows_tool, handle_get_available_windows
39
- from .git_tools import (
40
- git_add_tool,
41
- git_checkout_tool,
42
- git_clone_tool,
43
- git_commit_tool,
44
- git_create_branch_tool,
45
- git_diff_staged_tool,
46
- git_diff_tool,
47
- git_diff_unstaged_tool,
48
- git_init_tool,
49
- git_log_tool,
50
- git_reset_tool,
51
- git_show_tool,
52
- git_status_tool,
53
- handle_git_add,
54
- handle_git_checkout,
55
- handle_git_clone,
56
- handle_git_commit,
57
- handle_git_create_branch,
58
- handle_git_diff,
59
- handle_git_diff_staged,
60
- handle_git_diff_unstaged,
61
- handle_git_init,
62
- handle_git_log,
63
- handle_git_reset,
64
- handle_git_show,
65
- handle_git_status,
66
- )
67
39
  from .image_tools import read_image_file_tool, handle_read_image_file
68
- from .lint_tools import check_lint_tool, handle_check_lint
69
40
  from .other_tools import batch_tools_tool, handle_batch_tools, think_tool, handle_think
70
41
  from .path_tools import (
71
42
  get_allowed_directory_tool,
@@ -100,24 +71,8 @@ TOOL_DEFINITIONS = [
100
71
  execute_shell_script_tool(),
101
72
  codebase_mapper_tool(),
102
73
  search_code_tool(),
103
- check_lint_tool(),
104
74
  batch_tools_tool(),
105
75
  think_tool(),
106
- # Git tools
107
- git_init_tool(),
108
- git_status_tool(),
109
- git_diff_unstaged_tool(),
110
- git_diff_staged_tool(),
111
- git_diff_tool(),
112
- git_commit_tool(),
113
- git_add_tool(),
114
- git_reset_tool(),
115
- git_log_tool(),
116
- git_create_branch_tool(),
117
- git_checkout_tool(),
118
- git_clone_tool(),
119
- git_show_tool(),
120
- get_system_info_tool(),
121
76
  # Screenshot tools
122
77
  capture_screenshot_tool(),
123
78
  # System context tools
@@ -128,6 +83,8 @@ TOOL_DEFINITIONS = [
128
83
  # Web tools
129
84
  web_fetch_tool(),
130
85
  web_search_tool(),
86
+ # System tools
87
+ get_system_info_tool(),
131
88
  ]
132
89
 
133
90
  # Export all handlers
@@ -144,7 +101,6 @@ TOOL_HANDLERS = {
144
101
  "copy_file": handle_copy_file,
145
102
  "search_files": handle_search_files,
146
103
  "search_code": handle_search_code,
147
- "check_lint": handle_check_lint,
148
104
  "delete_file": handle_delete_file,
149
105
  "get_file_info": handle_get_file_info,
150
106
  "directory_tree": handle_directory_tree,
@@ -153,20 +109,6 @@ TOOL_HANDLERS = {
153
109
  "codebase_mapper": handle_codebase_mapper,
154
110
  "batch_tools": handle_batch_tools,
155
111
  "think": handle_think,
156
- # Git handlers
157
- "git_init": handle_git_init,
158
- "git_status": handle_git_status,
159
- "git_diff_unstaged": handle_git_diff_unstaged,
160
- "git_diff_staged": handle_git_diff_staged,
161
- "git_diff": handle_git_diff,
162
- "git_commit": handle_git_commit,
163
- "git_add": handle_git_add,
164
- "git_reset": handle_git_reset,
165
- "git_log": handle_git_log,
166
- "git_create_branch": handle_git_create_branch,
167
- "git_checkout": handle_git_checkout,
168
- "git_clone": handle_git_clone,
169
- "git_show": handle_git_show,
170
112
  "get_system_info": handle_get_system_info,
171
113
  # Screenshot handlers
172
114
  "capture_screenshot": handle_capture_screenshot,
@@ -100,6 +100,9 @@ def execute_shell_script_tool() -> Dict[str, Any]:
100
100
  "Execute a shell script (bash/sh) on the user's local machine within the current working directory. "
101
101
  "WHEN TO USE: When you need to automate system tasks, run shell commands, interact with the operating system, or perform operations "
102
102
  "that are best expressed as shell commands. Useful for file system operations, system configuration, or running system utilities. "
103
+ "Also ideal when you need to run code linters to check for style issues or potential bugs in the codebase, "
104
+ "or when you need to perform version control operations such as initializing git repositories, checking status, "
105
+ "committing changes, cloning repositories, and other git commands without dedicated tools. "
103
106
  "WHEN NOT TO USE: When you need more structured programming (use execute_code instead), when you need to execute potentially "
104
107
  "dangerous system operations, or when you want to run commands outside the allowed directory. "
105
108
  "RETURNS: Text output including stdout, stderr, and exit code of the execution. The output sections are clearly labeled with "
@@ -110,6 +113,8 @@ def execute_shell_script_tool() -> Dict[str, Any]:
110
113
  "Examples: "
111
114
  "- script='echo \"Current directory:\" && pwd'. "
112
115
  "- script='for i in {1..5}; do echo $i; done'. "
116
+ "- script='eslint src/ --format stylish' (for linting). "
117
+ "- script='git init && git add . && git commit -m \"Initial commit\"' (for git operations)."
113
118
  ),
114
119
  "inputSchema": {
115
120
  "type": "object",