Skip to content

Commit 0977718

Browse files
committed
style: Rename index to cell_index in search_cells results
1 parent 98e3b27 commit 0977718

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

notebook_mcp/dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18127,7 +18127,7 @@ async function searchCells(notebookPath, query, caseSensitive = false) {
1812718127
});
1812818128
if (matchingLines.length > 0) {
1812918129
matches.push({
18130-
index,
18130+
cell_index: index,
1813118131
type: cell.cell_type,
1813218132
matches: matchingLines
1813318133
});

notebook_mcp/tools/search_cells.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export async function searchCells(
4343

4444
if (matchingLines.length > 0) {
4545
matches.push({
46-
index,
46+
cell_index: index,
4747
type: cell.cell_type,
4848
matches: matchingLines,
4949
});

0 commit comments

Comments
 (0)