cortexcode 0.2.3__tar.gz → 0.4.0__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.
- {cortexcode-0.2.3 → cortexcode-0.4.0}/PKG-INFO +44 -4
- {cortexcode-0.2.3 → cortexcode-0.4.0}/README.md +43 -3
- cortexcode-0.4.0/cortexcode/advanced_analysis.py +816 -0
- cortexcode-0.4.0/cortexcode/docs/__init__.py +19 -0
- cortexcode-0.4.0/cortexcode/docs/generator.py +573 -0
- cortexcode-0.4.0/cortexcode/docs/html_generators.py +114 -0
- cortexcode-0.4.0/cortexcode/docs/javascript.py +373 -0
- cortexcode-0.4.0/cortexcode/docs/templates.py +174 -0
- cortexcode-0.4.0/cortexcode/docs.py +38 -0
- {cortexcode-0.2.3 → cortexcode-0.4.0}/cortexcode/indexer.py +28 -4
- {cortexcode-0.2.3 → cortexcode-0.4.0}/cortexcode/mcp_server.py +142 -0
- {cortexcode-0.2.3 → cortexcode-0.4.0}/cortexcode.egg-info/PKG-INFO +44 -4
- {cortexcode-0.2.3 → cortexcode-0.4.0}/cortexcode.egg-info/SOURCES.txt +7 -1
- {cortexcode-0.2.3 → cortexcode-0.4.0}/pyproject.toml +1 -1
- cortexcode-0.2.3/cortexcode/docs.py +0 -1266
- {cortexcode-0.2.3 → cortexcode-0.4.0}/LICENSE +0 -0
- {cortexcode-0.2.3 → cortexcode-0.4.0}/cortexcode/__init__.py +0 -0
- {cortexcode-0.2.3 → cortexcode-0.4.0}/cortexcode/analysis.py +0 -0
- {cortexcode-0.2.3 → cortexcode-0.4.0}/cortexcode/cli.py +0 -0
- {cortexcode-0.2.3 → cortexcode-0.4.0}/cortexcode/context.py +0 -0
- {cortexcode-0.2.3 → cortexcode-0.4.0}/cortexcode/dashboard.py +0 -0
- {cortexcode-0.2.3 → cortexcode-0.4.0}/cortexcode/git_diff.py +0 -0
- {cortexcode-0.2.3 → cortexcode-0.4.0}/cortexcode/lsp_server.py +0 -0
- {cortexcode-0.2.3 → cortexcode-0.4.0}/cortexcode/plugins.py +0 -0
- {cortexcode-0.2.3 → cortexcode-0.4.0}/cortexcode/semantic_search.py +0 -0
- {cortexcode-0.2.3 → cortexcode-0.4.0}/cortexcode/vuln_scan.py +0 -0
- {cortexcode-0.2.3 → cortexcode-0.4.0}/cortexcode/watcher.py +0 -0
- {cortexcode-0.2.3 → cortexcode-0.4.0}/cortexcode/workspace.py +0 -0
- {cortexcode-0.2.3 → cortexcode-0.4.0}/cortexcode.egg-info/dependency_links.txt +0 -0
- {cortexcode-0.2.3 → cortexcode-0.4.0}/cortexcode.egg-info/entry_points.txt +0 -0
- {cortexcode-0.2.3 → cortexcode-0.4.0}/cortexcode.egg-info/requires.txt +0 -0
- {cortexcode-0.2.3 → cortexcode-0.4.0}/cortexcode.egg-info/top_level.txt +0 -0
- {cortexcode-0.2.3 → cortexcode-0.4.0}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cortexcode
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.4.0
|
|
4
4
|
Summary: Lightweight code indexing for AI assistants — save 90%+ tokens with structured context
|
|
5
5
|
Author-email: Naveen <naveen_joshi07@outlook.com>
|
|
6
6
|
License: MIT
|
|
@@ -332,16 +332,31 @@ cortexcode mcp
|
|
|
332
332
|
}
|
|
333
333
|
```
|
|
334
334
|
|
|
335
|
-
Available MCP tools:
|
|
335
|
+
Available MCP tools (17 tools):
|
|
336
|
+
|
|
337
|
+
**Search & Navigation:**
|
|
336
338
|
- **`cortexcode_search`** — Search symbols by name
|
|
339
|
+
- **`cortexcode_fuzzy_search`** — Fuzzy/approximate search (handles typos)
|
|
340
|
+
- **`cortexcode_regex_search`** — Regex pattern search (e.g. `^get.*`)
|
|
337
341
|
- **`cortexcode_context`** — Get rich context with callers/callees
|
|
338
342
|
- **`cortexcode_file_symbols`** — List all symbols in a file
|
|
339
343
|
- **`cortexcode_call_graph`** — Trace call graph for a symbol
|
|
340
|
-
|
|
341
|
-
|
|
344
|
+
|
|
345
|
+
**Analysis:**
|
|
342
346
|
- **`cortexcode_deadcode`** — Find potentially unused symbols
|
|
343
347
|
- **`cortexcode_complexity`** — Find most complex functions
|
|
344
348
|
- **`cortexcode_impact`** — Analyze change impact of a symbol
|
|
349
|
+
- **`cortexcode_duplicates`** — Detect duplicate/copy-paste code
|
|
350
|
+
- **`cortexcode_circular_deps`** — Find circular dependencies
|
|
351
|
+
|
|
352
|
+
**Security & Quality:**
|
|
353
|
+
- **`cortexcode_security_scan`** — Scan for hardcoded secrets, SQL injection, XSS
|
|
354
|
+
- **`cortexcode_endpoints`** — Extract API endpoints (Express, Flask, Django, Next.js, etc.)
|
|
355
|
+
- **`cortexcode_api_docs`** — Auto-generate API docs from signatures
|
|
356
|
+
|
|
357
|
+
**Project Info:**
|
|
358
|
+
- **`cortexcode_stats`** — Get project statistics
|
|
359
|
+
- **`cortexcode_diff`** — Get changed symbols since last commit
|
|
345
360
|
- **`cortexcode_file_deps`** — Get file dependency graph
|
|
346
361
|
|
|
347
362
|
### 4. LSP Server
|
|
@@ -467,6 +482,31 @@ CortexCode respects `.gitignore` files (including nested ones) and has built-in
|
|
|
467
482
|
- [x] Django / Flask framework detection
|
|
468
483
|
- [x] VS Code Marketplace publishing
|
|
469
484
|
|
|
485
|
+
### Future Improvements
|
|
486
|
+
|
|
487
|
+
#### Features
|
|
488
|
+
- [ ] More language support (Ruby, PHP, C++)
|
|
489
|
+
- [ ] Cloud index for team sharing
|
|
490
|
+
- [ ] Graph visualization for call chains
|
|
491
|
+
- [ ] Auto-indexing on git push
|
|
492
|
+
- [ ] Index versioning (compare across commits)
|
|
493
|
+
- [ ] Config file (`.cortexcode.yaml`) for project settings
|
|
494
|
+
|
|
495
|
+
#### Integrations
|
|
496
|
+
- [ ] JetBrains IDEs plugin (IntelliJ, PyCharm)
|
|
497
|
+
- [ ] GitHub Copilot native integration
|
|
498
|
+
- [ ] Claude Code integration
|
|
499
|
+
|
|
500
|
+
#### AI/Search
|
|
501
|
+
- [ ] Semantic embeddings for meaning-based search
|
|
502
|
+
- [ ] AI-powered code review
|
|
503
|
+
- [ ] Bug detection (pattern matching)
|
|
504
|
+
|
|
505
|
+
#### Performance
|
|
506
|
+
- [ ] Compressed index format
|
|
507
|
+
- [ ] Faster search with caching
|
|
508
|
+
- [ ] Parallel multi-threaded indexing
|
|
509
|
+
|
|
470
510
|
## Contributing
|
|
471
511
|
|
|
472
512
|
See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.
|
|
@@ -285,16 +285,31 @@ cortexcode mcp
|
|
|
285
285
|
}
|
|
286
286
|
```
|
|
287
287
|
|
|
288
|
-
Available MCP tools:
|
|
288
|
+
Available MCP tools (17 tools):
|
|
289
|
+
|
|
290
|
+
**Search & Navigation:**
|
|
289
291
|
- **`cortexcode_search`** — Search symbols by name
|
|
292
|
+
- **`cortexcode_fuzzy_search`** — Fuzzy/approximate search (handles typos)
|
|
293
|
+
- **`cortexcode_regex_search`** — Regex pattern search (e.g. `^get.*`)
|
|
290
294
|
- **`cortexcode_context`** — Get rich context with callers/callees
|
|
291
295
|
- **`cortexcode_file_symbols`** — List all symbols in a file
|
|
292
296
|
- **`cortexcode_call_graph`** — Trace call graph for a symbol
|
|
293
|
-
|
|
294
|
-
|
|
297
|
+
|
|
298
|
+
**Analysis:**
|
|
295
299
|
- **`cortexcode_deadcode`** — Find potentially unused symbols
|
|
296
300
|
- **`cortexcode_complexity`** — Find most complex functions
|
|
297
301
|
- **`cortexcode_impact`** — Analyze change impact of a symbol
|
|
302
|
+
- **`cortexcode_duplicates`** — Detect duplicate/copy-paste code
|
|
303
|
+
- **`cortexcode_circular_deps`** — Find circular dependencies
|
|
304
|
+
|
|
305
|
+
**Security & Quality:**
|
|
306
|
+
- **`cortexcode_security_scan`** — Scan for hardcoded secrets, SQL injection, XSS
|
|
307
|
+
- **`cortexcode_endpoints`** — Extract API endpoints (Express, Flask, Django, Next.js, etc.)
|
|
308
|
+
- **`cortexcode_api_docs`** — Auto-generate API docs from signatures
|
|
309
|
+
|
|
310
|
+
**Project Info:**
|
|
311
|
+
- **`cortexcode_stats`** — Get project statistics
|
|
312
|
+
- **`cortexcode_diff`** — Get changed symbols since last commit
|
|
298
313
|
- **`cortexcode_file_deps`** — Get file dependency graph
|
|
299
314
|
|
|
300
315
|
### 4. LSP Server
|
|
@@ -420,6 +435,31 @@ CortexCode respects `.gitignore` files (including nested ones) and has built-in
|
|
|
420
435
|
- [x] Django / Flask framework detection
|
|
421
436
|
- [x] VS Code Marketplace publishing
|
|
422
437
|
|
|
438
|
+
### Future Improvements
|
|
439
|
+
|
|
440
|
+
#### Features
|
|
441
|
+
- [ ] More language support (Ruby, PHP, C++)
|
|
442
|
+
- [ ] Cloud index for team sharing
|
|
443
|
+
- [ ] Graph visualization for call chains
|
|
444
|
+
- [ ] Auto-indexing on git push
|
|
445
|
+
- [ ] Index versioning (compare across commits)
|
|
446
|
+
- [ ] Config file (`.cortexcode.yaml`) for project settings
|
|
447
|
+
|
|
448
|
+
#### Integrations
|
|
449
|
+
- [ ] JetBrains IDEs plugin (IntelliJ, PyCharm)
|
|
450
|
+
- [ ] GitHub Copilot native integration
|
|
451
|
+
- [ ] Claude Code integration
|
|
452
|
+
|
|
453
|
+
#### AI/Search
|
|
454
|
+
- [ ] Semantic embeddings for meaning-based search
|
|
455
|
+
- [ ] AI-powered code review
|
|
456
|
+
- [ ] Bug detection (pattern matching)
|
|
457
|
+
|
|
458
|
+
#### Performance
|
|
459
|
+
- [ ] Compressed index format
|
|
460
|
+
- [ ] Faster search with caching
|
|
461
|
+
- [ ] Parallel multi-threaded indexing
|
|
462
|
+
|
|
423
463
|
## Contributing
|
|
424
464
|
|
|
425
465
|
See [CONTRIBUTING.md](CONTRIBUTING.md) for guidelines.
|