-
Notifications
You must be signed in to change notification settings - Fork 2
Initialization #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
3c93143
Fix: auto-applied test failure resolutions
a-25 5ec1163
Fixed warning
3bf5f55
Fixed errors
a-25 1d87978
Added mcp server wrapper
a-25 8c0a227
Revised gitignore file
a-25 ed5c651
Fix: auto-applied test failure resolutions
a-25 d48b946
Fix: auto-applied test failure resolutions
a-25 bb402fd
Fix: auto-applied test failure resolutions
a-25 04902e5
Fix: auto-applied test failure resolutions
a-25 c31732f
Fix: auto-applied test failure resolutions
a-25 5fe8385
Fix: auto-applied test failure resolutions
a-25 e7a3f4b
Fix: auto-applied test failure resolutions
a-25 da27644
Fix: auto-applied test failure resolutions
a-25 ae4d23d
Fix: auto-applied test failure resolutions
a-25 7bb53f2
Fix: auto-applied test failure resolutions
a-25 17d216b
Fix: auto-applied test failure resolutions
a-25 b3bffdb
Fix: auto-applied test failure resolutions
a-25 4f842f8
Fix: auto-applied test failure resolutions
a-25 5ef2758
Fix: auto-applied test failure resolutions
a-25 3f54621
Fix: auto-applied test failure resolutions
a-25 40e2440
Fixed parsing test errors
a-25 21bd61d
Fix: auto-applied test failure resolutions
a-25 6351457
Fix: auto-applied test failure resolutions
a-25 e6aad25
Fix: auto-applied test failure resolutions
a-25 1fe39ce
Fix: auto-applied test failure resolutions
a-25 99e08f2
Extracted separate version for copilot suggestions
a-25 27b955d
Added MCP support, draft
a-25 8d27f17
Fixed MCP mode, working
a-25 5ed316e
Added errors output
a-25 3e7515b
Fix: auto-applied test failure resolutions
a-25 ceb8445
Added ability to fix build errors for tests
a-25 ee3592a
Added tests support
a-25 a2c0682
Fix: auto-applied SwiftLint corrections
a-25 0d5ff07
Fix: auto-applied SwiftLint corrections
a-25 a178377
Fix: auto-applied SwiftLint corrections
a-25 df9c60a
Fix: auto-applied SwiftLint corrections
a-25 e5b59d4
Fixed build
a-25 60706eb
Fixed tests
a-25 14984e2
Fix: auto-applied test failure resolutions
a-25 a315b6e
Fixed test error handling, added gitignore for artifacts
a-25 c019646
Fix: auto-applied test failure resolutions
a-25 049c07a
Fix: auto-applied test failure resolutions
a-25 1c365c5
Put all generated artifacts to separate folders
a-25 3bc808c
cleanup
a-25 fa4abe8
cleanup
a-25 102a3f0
Removed unneeded files, migrated all generic objects to interfaces
a-25 f24bb45
Cleaned test data
a-25 e825bc8
Removed dead code and extra packages
a-25 1257fcb
Addressed review comments
a-25 e6b58eb
cleanup
a-25 7c9e110
Update src/utils/spawnAndCollectOutput.ts
a-25 86c57b6
Update package.json
a-25 0801288
Update src/core/testRunner.ts
a-25 0f68009
Addressed code review comments
a-25 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1,38 @@ | ||
| # ios-mcp-code-quality-server | ||
| # ios-mcp-code-quality-server | ||
|
|
||
| # MCP Server for iOS Code Quality (Local Deployment) | ||
|
|
||
| ## Local Setup Instructions | ||
|
|
||
| 1. **Install dependencies:** | ||
| ```sh | ||
| npm install | ||
| ``` | ||
|
|
||
| 2. **Start the server:** | ||
| ```sh | ||
| npm start | ||
| # or | ||
| node dist/index.js | ||
| ``` | ||
|
|
||
| 3. **Configure your agent (e.g., Copilot):** | ||
| - Set the MCP server endpoint to `http://localhost:3000` in the agent's settings. | ||
|
|
||
| 4. **Run the agent as usual.** | ||
| - The agent will delegate supported functions to your MCP server. | ||
|
|
||
| ## Notes | ||
| - No cloud hosting required; all data stays on your machine. | ||
| - Make sure your MCP server is running before starting the agent. | ||
| - For troubleshooting, check logs in the terminal and ensure all required environment variables are set. | ||
|
|
||
| ## Security | ||
| - Do not share your local MCP server endpoint or credentials. | ||
|
|
||
| ## Supported Endpoints | ||
| - `/run-task` (POST): Run a code quality or test automation task. | ||
| - `/status` (GET): Check server status. | ||
|
|
||
| ## Error Handling | ||
| - The server will log and return clear error messages for missing environment variables or failed requests. |
Empty file.
Empty file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| import presets from 'ts-jest/presets/index.js'; | ||
| const { defaultsESM } = presets; | ||
|
|
||
| export default { | ||
| ...defaultsESM, | ||
| preset: 'ts-jest/presets/default-esm', | ||
| testEnvironment: 'node', | ||
| extensionsToTreatAsEsm: ['.ts', '.mts'], | ||
| globals: { | ||
| 'ts-jest': { | ||
| useESM: true | ||
| } | ||
| }, | ||
| moduleNameMapper: { | ||
| '^(\.{1,2}/.*)\\.js$': '$1' | ||
| }, | ||
| transform: {}, | ||
| testMatch: ['**/__tests__/**/*.test.ts', '**/__tests__/**/*.test.mts'], | ||
| transformIgnorePatterns: [ | ||
| '/node_modules/(?!(p-queue|eventemitter3)/)' | ||
| ], | ||
| }; | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This Jest configuration file exists but the project uses Vitest as indicated by vitest.config.ts and package.json scripts. Consider removing this file to avoid confusion.