cortexcode 0.2.2__py3-none-any.whl → 0.2.3__py3-none-any.whl

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: cortexcode
3
- Version: 0.2.2
3
+ Version: 0.2.3
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
@@ -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
@@ -13,9 +13,9 @@ cortexcode/semantic_search.py,sha256=PO1FjbQhKf6EGfwtwHcdqVXL5W_xMr4e7GxuctdrFzM
13
13
  cortexcode/vuln_scan.py,sha256=edU6viXXPLxHdlwDons05g9tLrGuLdPvrNDY-QcqPlU,8539
14
14
  cortexcode/watcher.py,sha256=PdY54UzzA70Ff3og2Vv6jE-hzppJRZKpxE4tK8iDVNo,3672
15
15
  cortexcode/workspace.py,sha256=ewm5UW_9NQJ0EgjPm46zHMIpZft5UMAlBuX7tt8LWbA,6463
16
- cortexcode-0.2.2.dist-info/licenses/LICENSE,sha256=DWE8vkHgP2ChQTJHFWtrutLbuHQUBsU_InyfesP4neo,1067
17
- cortexcode-0.2.2.dist-info/METADATA,sha256=cXcPQVqeo2r2KFUHEoe-juyVWL11iLR_WUxJMuDxOL0,15139
18
- cortexcode-0.2.2.dist-info/WHEEL,sha256=YCfwYGOYMi5Jhw2fU4yNgwErybb2IX5PEwBKV4ZbdBo,91
19
- cortexcode-0.2.2.dist-info/entry_points.txt,sha256=ZqCHJQMwlffLmdD1m6nyemXlk0M4GWntSH2QORXfNJo,51
20
- cortexcode-0.2.2.dist-info/top_level.txt,sha256=r8FxzjLfKhRXXcORnECtGo7i2zKYXlV7v1XnIJ0SOc0,11
21
- cortexcode-0.2.2.dist-info/RECORD,,
16
+ cortexcode-0.2.3.dist-info/licenses/LICENSE,sha256=DWE8vkHgP2ChQTJHFWtrutLbuHQUBsU_InyfesP4neo,1067
17
+ cortexcode-0.2.3.dist-info/METADATA,sha256=qzdCC21uxWHmJusMNVzEVCrR973TdBLoFR9PVyG8U7k,16097
18
+ cortexcode-0.2.3.dist-info/WHEEL,sha256=YCfwYGOYMi5Jhw2fU4yNgwErybb2IX5PEwBKV4ZbdBo,91
19
+ cortexcode-0.2.3.dist-info/entry_points.txt,sha256=ZqCHJQMwlffLmdD1m6nyemXlk0M4GWntSH2QORXfNJo,51
20
+ cortexcode-0.2.3.dist-info/top_level.txt,sha256=r8FxzjLfKhRXXcORnECtGo7i2zKYXlV7v1XnIJ0SOc0,11
21
+ cortexcode-0.2.3.dist-info/RECORD,,