feat: Add full Kotlin language support#8
Closed
mduenas wants to merge 9 commits into
Closed
Conversation
This PR upgrades Kotlin from "Basic support" to "Full support" by adding: - Object declarations (singletons) extraction - Companion object extraction - Data classes, sealed classes, abstract classes detection - Interface extraction (properly distinguishes from classes) - Enum extraction with enum members - Properties (val/var) extraction - Type alias extraction - Inheritance/implementation extraction (extends/implements edges) - Enhanced function body parsing for call tracking Also improves getChildByField() to fall back to node type matching, which fixes issues with tree-sitter grammars that don't define field names (like tree-sitter-kotlin). Added 15+ new comprehensive Kotlin tests covering all constructs. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add HTTP/JSON-RPC transport to MCP server enabling integration with GitHub Copilot and other HTTP-based MCP clients. The stdio transport remains the default for Claude Code. - Extract ITransport interface for pluggable transport mechanisms - Add HttpTransport class with CORS support and graceful error handling - Refactor MCPServer to accept transport configuration - Add CLI flags: --http, --port, --host Usage: codegraph serve --mcp --http --port 3000 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Installer now asks which AI assistant the user plans to use: - Claude Code (stdio transport, default) - GitHub Copilot (HTTP transport) - Both Shows appropriate configuration instructions and next steps for each option. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Copilot uses stdio transport like Claude Code, not HTTP. Updated
installer and CLI to show correct mcp-config.json format:
{
"mcpServers": {
"codegraph": {
"type": "stdio",
"command": "codegraph",
"args": ["serve", "--mcp"],
"tools": ["*"]
}
}
}
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Remove tree-sitter-liquid (uses regex extraction, not tree-sitter) - Add overrides for tree-sitter to suppress peer dependency warnings Fixes install failures due to node-gyp-build issues with GitHub deps. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
When GitHub Copilot is selected, installer now writes CodeGraph tool usage instructions to .github/copilot-instructions.md Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The DEFAULT_CONFIG.include was missing *.kt, *.kts, and *.swift patterns, causing these files to be skipped during indexing even though the grammars were properly configured. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Batch fetch node info upfront instead of per-reference queries - Add progress reporting during resolution phase - Add --skip-resolve flag to skip resolution for faster indexing - Resolution now shows actual progress instead of stuck at 0% Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
6 tasks
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
getChildByField()with fallback for tree-sitter grammars without field definitionsTest plan
🤖 Generated with Claude Code