cortexcode 0.2.1__tar.gz → 0.2.3__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.1 → cortexcode-0.2.3}/PKG-INFO +38 -2
- {cortexcode-0.2.1 → cortexcode-0.2.3}/README.md +36 -0
- {cortexcode-0.2.1 → cortexcode-0.2.3}/cortexcode.egg-info/PKG-INFO +38 -2
- {cortexcode-0.2.1 → cortexcode-0.2.3}/pyproject.toml +2 -2
- {cortexcode-0.2.1 → cortexcode-0.2.3}/LICENSE +0 -0
- {cortexcode-0.2.1 → cortexcode-0.2.3}/cortexcode/__init__.py +0 -0
- {cortexcode-0.2.1 → cortexcode-0.2.3}/cortexcode/analysis.py +0 -0
- {cortexcode-0.2.1 → cortexcode-0.2.3}/cortexcode/cli.py +0 -0
- {cortexcode-0.2.1 → cortexcode-0.2.3}/cortexcode/context.py +0 -0
- {cortexcode-0.2.1 → cortexcode-0.2.3}/cortexcode/dashboard.py +0 -0
- {cortexcode-0.2.1 → cortexcode-0.2.3}/cortexcode/docs.py +0 -0
- {cortexcode-0.2.1 → cortexcode-0.2.3}/cortexcode/git_diff.py +0 -0
- {cortexcode-0.2.1 → cortexcode-0.2.3}/cortexcode/indexer.py +0 -0
- {cortexcode-0.2.1 → cortexcode-0.2.3}/cortexcode/lsp_server.py +0 -0
- {cortexcode-0.2.1 → cortexcode-0.2.3}/cortexcode/mcp_server.py +0 -0
- {cortexcode-0.2.1 → cortexcode-0.2.3}/cortexcode/plugins.py +0 -0
- {cortexcode-0.2.1 → cortexcode-0.2.3}/cortexcode/semantic_search.py +0 -0
- {cortexcode-0.2.1 → cortexcode-0.2.3}/cortexcode/vuln_scan.py +0 -0
- {cortexcode-0.2.1 → cortexcode-0.2.3}/cortexcode/watcher.py +0 -0
- {cortexcode-0.2.1 → cortexcode-0.2.3}/cortexcode/workspace.py +0 -0
- {cortexcode-0.2.1 → cortexcode-0.2.3}/cortexcode.egg-info/SOURCES.txt +0 -0
- {cortexcode-0.2.1 → cortexcode-0.2.3}/cortexcode.egg-info/dependency_links.txt +0 -0
- {cortexcode-0.2.1 → cortexcode-0.2.3}/cortexcode.egg-info/entry_points.txt +0 -0
- {cortexcode-0.2.1 → cortexcode-0.2.3}/cortexcode.egg-info/requires.txt +0 -0
- {cortexcode-0.2.1 → cortexcode-0.2.3}/cortexcode.egg-info/top_level.txt +0 -0
- {cortexcode-0.2.1 → cortexcode-0.2.3}/setup.cfg +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cortexcode
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.3
|
|
4
4
|
Summary: Lightweight code indexing for AI assistants — save 90%+ tokens with structured context
|
|
5
|
-
Author-email:
|
|
5
|
+
Author-email: Naveen <naveen_joshi07@outlook.com>
|
|
6
6
|
License: MIT
|
|
7
7
|
Project-URL: Homepage, https://github.com/naveen-joshi/cortexcode
|
|
8
8
|
Project-URL: Repository, https://github.com/naveen-joshi/cortexcode
|
|
@@ -228,6 +228,42 @@ npm install && npm run compile
|
|
|
228
228
|
|
|
229
229
|
## How AI Agents Use This
|
|
230
230
|
|
|
231
|
+
### Windsurf / Cursor Configuration
|
|
232
|
+
|
|
233
|
+
To make AI agents in Windsurf or Cursor automatically use CortexCode:
|
|
234
|
+
|
|
235
|
+
**Option 1: Auto-detect prompt file**
|
|
236
|
+
|
|
237
|
+
Create `.cortexcode/prompt.md` in your project root. AI agents will automatically read this file and use the CortexCode index for code understanding.
|
|
238
|
+
|
|
239
|
+
**Option 2: Add to agent rules**
|
|
240
|
+
|
|
241
|
+
Add to your project's `.windsurf/rules.md` or Cursor rules:
|
|
242
|
+
|
|
243
|
+
```
|
|
244
|
+
Always use CortexCode index (.cortexcode/index.json) to understand the codebase before making changes. Use:
|
|
245
|
+
- cortexcode search <symbol> to find symbols
|
|
246
|
+
- cortexcode impact <symbol> to see what uses a function
|
|
247
|
+
- cortexcode context <query> to get relevant code context
|
|
248
|
+
|
|
249
|
+
Run 'cortexcode index' first if the index doesn't exist.
|
|
250
|
+
```
|
|
251
|
+
|
|
252
|
+
**Option 3: Configure MCP in Windsurf**
|
|
253
|
+
|
|
254
|
+
Add to `~/.windsurf/config.json`:
|
|
255
|
+
|
|
256
|
+
```json
|
|
257
|
+
{
|
|
258
|
+
"mcpServers": {
|
|
259
|
+
"cortexcode": {
|
|
260
|
+
"command": "cortexcode",
|
|
261
|
+
"args": ["mcp"]
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
```
|
|
266
|
+
|
|
231
267
|
### 1. Context Command (simplest)
|
|
232
268
|
|
|
233
269
|
```bash
|
|
@@ -181,6 +181,42 @@ npm install && npm run compile
|
|
|
181
181
|
|
|
182
182
|
## How AI Agents Use This
|
|
183
183
|
|
|
184
|
+
### Windsurf / Cursor Configuration
|
|
185
|
+
|
|
186
|
+
To make AI agents in Windsurf or Cursor automatically use CortexCode:
|
|
187
|
+
|
|
188
|
+
**Option 1: Auto-detect prompt file**
|
|
189
|
+
|
|
190
|
+
Create `.cortexcode/prompt.md` in your project root. AI agents will automatically read this file and use the CortexCode index for code understanding.
|
|
191
|
+
|
|
192
|
+
**Option 2: Add to agent rules**
|
|
193
|
+
|
|
194
|
+
Add to your project's `.windsurf/rules.md` or Cursor rules:
|
|
195
|
+
|
|
196
|
+
```
|
|
197
|
+
Always use CortexCode index (.cortexcode/index.json) to understand the codebase before making changes. Use:
|
|
198
|
+
- cortexcode search <symbol> to find symbols
|
|
199
|
+
- cortexcode impact <symbol> to see what uses a function
|
|
200
|
+
- cortexcode context <query> to get relevant code context
|
|
201
|
+
|
|
202
|
+
Run 'cortexcode index' first if the index doesn't exist.
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
**Option 3: Configure MCP in Windsurf**
|
|
206
|
+
|
|
207
|
+
Add to `~/.windsurf/config.json`:
|
|
208
|
+
|
|
209
|
+
```json
|
|
210
|
+
{
|
|
211
|
+
"mcpServers": {
|
|
212
|
+
"cortexcode": {
|
|
213
|
+
"command": "cortexcode",
|
|
214
|
+
"args": ["mcp"]
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
```
|
|
219
|
+
|
|
184
220
|
### 1. Context Command (simplest)
|
|
185
221
|
|
|
186
222
|
```bash
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cortexcode
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.3
|
|
4
4
|
Summary: Lightweight code indexing for AI assistants — save 90%+ tokens with structured context
|
|
5
|
-
Author-email:
|
|
5
|
+
Author-email: Naveen <naveen_joshi07@outlook.com>
|
|
6
6
|
License: MIT
|
|
7
7
|
Project-URL: Homepage, https://github.com/naveen-joshi/cortexcode
|
|
8
8
|
Project-URL: Repository, https://github.com/naveen-joshi/cortexcode
|
|
@@ -228,6 +228,42 @@ npm install && npm run compile
|
|
|
228
228
|
|
|
229
229
|
## How AI Agents Use This
|
|
230
230
|
|
|
231
|
+
### Windsurf / Cursor Configuration
|
|
232
|
+
|
|
233
|
+
To make AI agents in Windsurf or Cursor automatically use CortexCode:
|
|
234
|
+
|
|
235
|
+
**Option 1: Auto-detect prompt file**
|
|
236
|
+
|
|
237
|
+
Create `.cortexcode/prompt.md` in your project root. AI agents will automatically read this file and use the CortexCode index for code understanding.
|
|
238
|
+
|
|
239
|
+
**Option 2: Add to agent rules**
|
|
240
|
+
|
|
241
|
+
Add to your project's `.windsurf/rules.md` or Cursor rules:
|
|
242
|
+
|
|
243
|
+
```
|
|
244
|
+
Always use CortexCode index (.cortexcode/index.json) to understand the codebase before making changes. Use:
|
|
245
|
+
- cortexcode search <symbol> to find symbols
|
|
246
|
+
- cortexcode impact <symbol> to see what uses a function
|
|
247
|
+
- cortexcode context <query> to get relevant code context
|
|
248
|
+
|
|
249
|
+
Run 'cortexcode index' first if the index doesn't exist.
|
|
250
|
+
```
|
|
251
|
+
|
|
252
|
+
**Option 3: Configure MCP in Windsurf**
|
|
253
|
+
|
|
254
|
+
Add to `~/.windsurf/config.json`:
|
|
255
|
+
|
|
256
|
+
```json
|
|
257
|
+
{
|
|
258
|
+
"mcpServers": {
|
|
259
|
+
"cortexcode": {
|
|
260
|
+
"command": "cortexcode",
|
|
261
|
+
"args": ["mcp"]
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
```
|
|
266
|
+
|
|
231
267
|
### 1. Context Command (simplest)
|
|
232
268
|
|
|
233
269
|
```bash
|
|
@@ -4,13 +4,13 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "cortexcode"
|
|
7
|
-
version = "0.2.
|
|
7
|
+
version = "0.2.3"
|
|
8
8
|
description = "Lightweight code indexing for AI assistants — save 90%+ tokens with structured context"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
11
11
|
license = {text = "MIT"}
|
|
12
12
|
authors = [
|
|
13
|
-
{name = "
|
|
13
|
+
{name = "Naveen", email = "naveen_joshi07@outlook.com"}
|
|
14
14
|
]
|
|
15
15
|
keywords = ["code-index", "ast", "copilot", "cursor", "rag", "ai-assistant", "tree-sitter", "code-analysis", "token-savings", "context-provider"]
|
|
16
16
|
classifiers = [
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|