main.js · part 129
Full reference60 text occurrences from desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, part 129. Every entry preserves the shipped literal and its saved verdict or selection reason.
File contents and all parts · All files
Shipped text
Symbol.asyncDispose is not defined.
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4229753–4229790, SHA-256 daa66daf4a2ce51d.
Jev judged not model-facing (confidence 0.03; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Symbol.asyncDispose is not defined.
Symbol.asyncDispose is not defined.
Symbol.dispose is not defined.
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4229871–4229903, SHA-256 4f970f848ba76c6c.
Jev judged not model-facing (confidence 0.03; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Symbol.dispose is not defined.
Symbol.dispose is not defined.
Object not disposable.
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4229978–4230002, SHA-256 2fc540c51c4f1811.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Object not disposable.
Object not disposable.
An error was suppressed during disposal.
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4230244–4230286, SHA-256 f5185cbeab3cd14b.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: An error was suppressed during disposal.
An error was suppressed during disposal.
The patch to apply to the file
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4230939–4230971, SHA-256 c45e5319918a8713.
Jev judged not model-facing (confidence 0.71; role parameter). This is a classifier judgment, not proof of delivery.
Readable text: The patch to apply to the file
The patch to apply to the file
Use this tool to edit files. Your patch language is a stripped-down, file-orient
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4231058–4234003, SHA-256 f491f132a2fc34ea.
Jev judged model-facing (confidence 0.93; role tool). This is a classifier judgment, not proof of delivery.
Readable text: Use this tool to edit files. Your patch language is a stripped-down, file-oriented diff format designed to be easy to parse and safe to apply. You can think of it as a high-level envelope: *** Begin Patch [ one file section ] *** End Patch…
Use this tool to edit files.
Your patch language is a stripped-down, file-oriented diff format designed to be easy to parse and safe to apply. You can think of it as a high-level envelope:
*** Begin Patch
[ one file section ]
*** End Patch
Within that envelope, you get one file operation.
You MUST include a header to specify the action you are taking.
Each operation starts with one of two headers:
*** Add File: <path> - create a new file. Every following line is a + line (the initial contents).
*** Update File: <path> - patch an existing file in place (optionally with a rename).
Then one or more "hunks", each introduced by @@ (optionally followed by a hunk header).
Within a hunk each line starts with:
For instructions on [context_before] and [context_after]:
- By default, show 3 lines of code immediately above and 3 lines immediately below each change. If a change is within 3 lines of a previous change, do NOT duplicate the first change's [context_after] lines in the second change's [context_before] lines.
- If 3 lines of context is insufficient to uniquely identify the snippet of code within the file, use the @@ operator to indicate the class or function to which the snippet belongs. For instance, we might have:
@@ class BaseClass
[3 lines of pre-context]
- [old_code]
+ [new_code]
[3 lines of post-context]
- If a code block is repeated so many times in a class or function such that even a single `@@` statement and 3 lines of context cannot uniquely identify the snippet of code, you can use multiple `@@` statements to jump to the right context. For instance:
@@ class BaseClass
@@ def method():
[3 lines of pre-context]
- [old_code]
+ [new_code]
[3 lines of post-context]
The full grammar definition is below:
Patch := Begin { FileOp } End
Begin := "*** Begin Patch" NEWLINE
End := "*** End Patch" NEWLINE
FileOp := AddFile | UpdateFile
AddFile := "*** Add File: " path NEWLINE { "+" line NEWLINE }
UpdateFile := "*** Update File: " path NEWLINE { Hunk }
Hunk := "@@" [ header ] NEWLINE { HunkLine } [ "*** End of File" NEWLINE ]
HunkLine := (" " | "-" | "+") text NEWLINE
Example for Update File:
*** Begin Patch
*** Update File: pygorithm/searching/binary_search.py
@@ class BaseClass
@@ def search():
- pass
+ raise NotImplementedError()
@@ class Subclass
@@ def search():
- pass
+ raise NotImplementedError()
*** End Patch
Example for Add File:
*** Begin Patch
*** Add File: [path/to/file]
+ [new_code]
*** End Patch
It is important to remember:
- You must only include one file per call
- You must include a header with your intended action (Add/Update)
- You must prefix new lines with ` +` even when creating a new file
All file paths must be absolute paths. Make sure to read the file before applying a patch to get the latest file content, unless you are creating a new file.
Missing Add/Update File header.
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4234468–4234505, SHA-256 21b35ca5a02270e5.
Jev judged not model-facing (confidence 0.16; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Missing *** Add/Update File header.
Missing *** Add/Update File header.
Invalid patch format. Your diff must begin with ${VRe} and end with ${KRe}.
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4235012–4235089, SHA-256 d95e1b9d628a4f5f.
Jev judged not model-facing (confidence 0.17; role human). This is a classifier judgment, not proof of delivery.
Readable text: Invalid patch format. Your diff must begin with ${VRe} and end with ${KRe}.
Invalid patch format. Your diff must begin with ${VRe} and end with ${KRe}.
Invalid patch format
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4235139–4235161, SHA-256 7e422aec490a1cc6.
Jev judged not model-facing (confidence 0.06; role human). This is a classifier judgment, not proof of delivery.
Readable text: Invalid patch format
Invalid patch format
Add File
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4235210–4235224, SHA-256 21ac218c3b2b2f8b.
Jev judged not model-facing (confidence 0.11; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: *** Add File
*** Add File
Update File
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4235248–4235265, SHA-256 51a1704c77237014.
Jev judged not model-facing (confidence 0.1; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: *** Update File
*** Update File
Add File · byte 4235285
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4235285–4235299, SHA-256 21ac218c3b2b2f8b.
Jev judged not model-facing (confidence 0.09; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: *** Add File
*** Add File
The file ${p} has been updated.
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4235614–4235647, SHA-256 614ceb297b2f0a4c.
Jev judged not model-facing (confidence 0.38; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: The file ${p} has been updated.
The file ${p} has been updated.
No changes to the file were made.
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4235648–4235683, SHA-256 c6153ee35c1f06c8.
Jev judged not model-facing (confidence 0.2; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: No changes to the file were made.
No changes to the file were made.
There was an error applying the patch, and it was NOT applied. Make sure to foll
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4235829–4235977, SHA-256 cf6c33d3cfcedb58.
Jev judged not model-facing (confidence 0.3; role human). This is a classifier judgment, not proof of delivery.
Readable text: There was an error applying the patch, and it was NOT applied. Make sure to follow the patch format and add '+' to the beginning of each line.
There was an error applying the patch, and it was NOT applied. Make sure to follow the patch format and add `+` to the beginning of each line.
There was an error applying the patch, and it was NOT applied. Read the file bef
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4235988–4236152, SHA-256 62e5c8c6614c8188.
Jev judged not model-facing (confidence 0.41; role human). This is a classifier judgment, not proof of delivery.
Readable text: There was an error applying the patch, and it was NOT applied. Read the file before trying again as the user may have changed the file since you last read it.
There was an error applying the patch, and it was NOT applied. Read the file before trying again as the user may have changed the file since you last read it.
Invalid patch provided
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4236247–4236271, SHA-256 395c6cf14be2ebd3.
Jev judged not model-facing (confidence 0.04; role human). This is a classifier judgment, not proof of delivery.
Readable text: Invalid patch provided
Invalid patch provided
Unknown error
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4236311–4236326, SHA-256 70e280a3cf0ea5f5.
Jev judged not model-facing (confidence 0.07; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Unknown error
Unknown error
Error applying patch
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4236367–4236389, SHA-256 526ce7c5505de993.
Jev judged not model-facing (confidence 0.03; role human). This is a classifier judgment, not proof of delivery.
Readable text: Error applying patch
Error applying patch
Invalid patch format. Your diff must begin with ${VRe} and end with ${KRe}. · byte 4236739
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4236739–4236816, SHA-256 d95e1b9d628a4f5f.
Jev judged not model-facing (confidence 0.1; role human). This is a classifier judgment, not proof of delivery.
Readable text: Invalid patch format. Your diff must begin with ${VRe} and end with ${KRe}.
Invalid patch format. Your diff must begin with ${VRe} and end with ${KRe}.
Invalid patch format · byte 4236893
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4236893–4236915, SHA-256 7e422aec490a1cc6.
Jev judged not model-facing (confidence 0.04; role human). This is a classifier judgment, not proof of delivery.
Readable text: Invalid patch format
Invalid patch format
Update File · byte 4236936
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4236936–4236953, SHA-256 51a1704c77237014.
Jev judged not model-facing (confidence 0.09; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: *** Update File
*** Update File
Add File · byte 4236973
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4236973–4236987, SHA-256 21ac218c3b2b2f8b.
Jev judged not model-facing (confidence 0.11; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: *** Add File
*** Add File
There was an error applying the patch, and it was NOT applied. Make sure to foll · byte 4237098
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4237098–4237246, SHA-256 cf6c33d3cfcedb58.
Jev judged not model-facing (confidence 0.08; role human). This is a classifier judgment, not proof of delivery.
Readable text: There was an error applying the patch, and it was NOT applied. Make sure to follow the patch format and add '+' to the beginning of each line.
There was an error applying the patch, and it was NOT applied. Make sure to follow the patch format and add `+` to the beginning of each line.
Invalid patch provided · byte 4237341
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4237341–4237365, SHA-256 395c6cf14be2ebd3.
Jev judged not model-facing (confidence 0.04; role human). This is a classifier judgment, not proof of delivery.
Readable text: Invalid patch provided
Invalid patch provided
There was an error applying the patch, and it was NOT applied. Make sure to foll · byte 4237449
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4237449–4237597, SHA-256 cf6c33d3cfcedb58.
Jev judged not model-facing (confidence 0.12; role human). This is a classifier judgment, not proof of delivery.
Readable text: There was an error applying the patch, and it was NOT applied. Make sure to follow the patch format and add '+' to the beginning of each line.
There was an error applying the patch, and it was NOT applied. Make sure to follow the patch format and add `+` to the beginning of each line.
Invalid patch provided · byte 4237692
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4237692–4237716, SHA-256 395c6cf14be2ebd3.
Jev judged not model-facing (confidence 0.04; role human). This is a classifier judgment, not proof of delivery.
Readable text: Invalid patch provided
Invalid patch provided
Success. Updated the following files: A ${p}
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4237868–4237915, SHA-256 a486ca7486f700bc.
Jev judged not model-facing (confidence 0.12; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Success. Updated the following files: A ${p}
Success. Updated the following files:
A ${p}
start: begin patch hunk end patch begin patch: " Begin Patch" LF end patch: "
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4239008–4239493, SHA-256 035d6fedfb9e0bb4.
Jev judged not model-facing (confidence 0.3; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: start: begin_patch hunk end_patch begin_patch: "*** Begin Patch" LF end_patch: "*** End Patch" LF? hunk: add_hunk | update_hunk add_hunk: "*** Add File: " filename LF add_line+ update_hunk: "*** Update File: " filename LF change? filename…
start: begin_patch hunk end_patch
begin_patch: "*** Begin Patch" LF
end_patch: "*** End Patch" LF?
hunk: add_hunk | update_hunk
add_hunk: "*** Add File: " filename LF add_line+
update_hunk: "*** Update File: " filename LF change?
filename: /(.+)/
add_line: "+" /(.*)/ LF -> line
change: (change_context | change_line)+ eof_line?
change_context: ("@@" | "@@ " /(.+)/) LF
change_line: ("+" | "-" | " ") /(.*)/ LF
eof_line: "*** End of File" LF
%import common.LF
Failed to parse notebook as JSON
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4240181–4240215, SHA-256 53d86c020dae51a8.
Jev judged not model-facing (confidence 0.04; role human). This is a classifier judgment, not proof of delivery.
Readable text: Failed to parse notebook as JSON
Failed to parse notebook as JSON
The notebook file is not valid JSON
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4240229–4240266, SHA-256 5d6f6b7ee3d58073.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: The notebook file is not valid JSON
The notebook file is not valid JSON
${e.path.join(".")}: ${e.message}
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4240338–4240373, SHA-256 3f2c0a22618d1610.
Jev judged not model-facing (confidence 0.06; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: ${e.path.join(".")}: ${e.message}
${e.path.join(".")}: ${e.message}
Invalid notebook structure: ${e}
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4240410–4240444, SHA-256 71cd57414bb5b88e.
Jev judged not model-facing (confidence 0.04; role human). This is a classifier judgment, not proof of delivery.
Readable text: Invalid notebook structure: ${e}
Invalid notebook structure: ${e}
The notebook file does not match the expected Jupyter notebook format: ${e}
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4240458–4240535, SHA-256 ebd9798d955592cc.
Jev judged not model-facing (confidence 0.04; role human). This is a classifier judgment, not proof of delivery.
Readable text: The notebook file does not match the expected Jupyter notebook format: ${e}
The notebook file does not match the expected Jupyter notebook format: ${e}
Object expected.
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4240821–4240839, SHA-256 d588320af15c8b9c.
Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Object expected.
Object expected.
Symbol.asyncDispose is not defined. · byte 4240899
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4240899–4240936, SHA-256 daa66daf4a2ce51d.
Jev judged not model-facing (confidence 0.03; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Symbol.asyncDispose is not defined.
Symbol.asyncDispose is not defined.
Symbol.dispose is not defined. · byte 4241017
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4241017–4241049, SHA-256 4f970f848ba76c6c.
Jev judged not model-facing (confidence 0.03; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Symbol.dispose is not defined.
Symbol.dispose is not defined.
Object not disposable. · byte 4241124
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4241124–4241148, SHA-256 2fc540c51c4f1811.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Object not disposable.
Object not disposable.
An error was suppressed during disposal. · byte 4241390
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4241390–4241432, SHA-256 f5185cbeab3cd14b.
Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: An error was suppressed during disposal.
An error was suppressed during disposal.
The path to the notebook file you want to edit. You can use either a relative pa
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4242095–4242278, SHA-256 65aff4270795e654.
Jev judged not model-facing (confidence 0.78; role parameter). This is a classifier judgment, not proof of delivery.
Readable text: The path to the notebook file you want to edit. You can use either a relative path in the workspace or an absolute path. If an absolute path is provided, it will be preserved as is.
The path to the notebook file you want to edit. You can use either a relative path in the workspace or an absolute path. If an absolute path is provided, it will be preserved as is.
The index of the cell to edit (0-based)
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4242304–4242345, SHA-256 107ddcdf5558b8c2.
Jev judged model-facing (confidence 0.83; role parameter). This is a classifier judgment, not proof of delivery.
Readable text: The index of the cell to edit (0-based)
The index of the cell to edit (0-based)
If true, a new cell will be created at the specified cell index. If false, the c
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4242374–4242503, SHA-256 ac2e07d40ab8ae4b.
Jev judged not model-facing (confidence 0.77; role parameter). This is a classifier judgment, not proof of delivery.
Readable text: If true, a new cell will be created at the specified cell index. If false, the cell at the specified cell index will be edited.
If true, a new cell will be created at the specified cell index. If false, the cell at the specified cell index will be edited.
The language of the cell to edit. Should be STRICTLY one of these: 'python', 'ma
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4242536–4242693, SHA-256 380346b8a6673f63.
Jev judged model-facing (confidence 0.8; role parameter). This is a classifier judgment, not proof of delivery.
Readable text: The language of the cell to edit. Should be STRICTLY one of these: 'python', 'markdown', 'javascript', 'typescript', 'r', 'sql', 'shell', 'raw' or 'other'.
The language of the cell to edit. Should be STRICTLY one of these: 'python', 'markdown', 'javascript', 'typescript', 'r', 'sql', 'shell', 'raw' or 'other'.
The text to replace (must be unique within the cell, and must match the cell con
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4242723–4242862, SHA-256 6158fd5880093971.
Jev judged not model-facing (confidence 0.75; role parameter). This is a classifier judgment, not proof of delivery.
Readable text: The text to replace (must be unique within the cell, and must match the cell contents exactly, including all whitespace and indentation).
The text to replace (must be unique within the cell, and must match the cell contents exactly, including all whitespace and indentation).
The edited text to replace the old string or the content for the new cell.
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4242892–4242968, SHA-256 99529568f1700a45.
Jev judged not model-facing (confidence 0.75; role parameter). This is a classifier judgment, not proof of delivery.
Readable text: The edited text to replace the old_string or the content for the new cell.
The edited text to replace the old_string or the content for the new cell.
Unhandled version: ${e}
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4243246–4243271, SHA-256 bd19ee66999226d4.
Jev judged not model-facing (confidence 0.12; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Unhandled version: ${e}
Unhandled version: ${e}
Use this tool to edit a jupyter notebook cell. Cell indices are 0-based. 'old st
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4243320–4243614, SHA-256 00269bf31c91e3fa.
Jev judged model-facing (confidence 0.93; role tool). This is a classifier judgment, not proof of delivery.
Readable text: Use this tool to edit a jupyter notebook cell. Cell indices are 0-based. 'old_string' and 'new_string' should be a valid cell content, i.e. WITHOUT any JSON syntax that notebook files use under the hood. If you need to create a new notebook…
Use this tool to edit a jupyter notebook cell.
Cell indices are 0-based. 'old_string' and 'new_string' should be a valid cell content, i.e. WITHOUT any JSON syntax that notebook files use under the hood. If you need to create a new notebook, just set 'is_new_cell' to true and cell_idx to 0.
Use this tool to edit a jupyter notebook cell. Use ONLY this tool to edit notebo
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4243615–4245546, SHA-256 5de55bc12aa35758.
Jev judged model-facing (confidence 0.95; role tool). This is a classifier judgment, not proof of delivery.
Readable text: Use this tool to edit a jupyter notebook cell. Use ONLY this tool to edit notebooks. This tool supports editing existing cells and creating new cells: - If you need to edit an existing cell, set 'is_new_cell' to false and provide the 'old…
Use this tool to edit a jupyter notebook cell. Use ONLY this tool to edit notebooks.
This tool supports editing existing cells and creating new cells:
- If you need to edit an existing cell, set 'is_new_cell' to false and provide the 'old_string' and 'new_string'.
-- The tool will replace ONE occurrence of 'old_string' with 'new_string' in the specified cell.
- If you need to create a new cell, set 'is_new_cell' to true and provide the 'new_string' (and keep 'old_string' empty).
- It's critical that you set the 'is_new_cell' flag correctly!
- This tool does NOT support cell deletion, but you can delete the content of a cell by passing an empty string as the 'new_string'.
Other requirements:
- Cell indices are 0-based.
- 'old_string' and 'new_string' should be a valid cell content, i.e. WITHOUT any JSON syntax that notebook files use under the hood.
- The old_string MUST uniquely identify the specific instance you want to change. This means:
-- Include AT LEAST 3-5 lines of context BEFORE the change point
-- Include AT LEAST 3-5 lines of context AFTER the change point
- This tool can only change ONE instance at a time. If you need to change multiple instances:
-- Make separate calls to this tool for each instance
-- Each call must uniquely identify its specific instance using extensive context
- This tool might save markdown cells as "raw" cells. Don't try to change it, it's fine. We need it to properly display the diff.
- If you need to create a new notebook, just set 'is_new_cell' to true and cell_idx to 0.
- ALWAYS generate arguments in the following order: target_notebook, cell_idx, is_new_cell, cell_language, old_string, new_string.
- Prefer editing existing cells over creating new ones!
- ALWAYS provide ALL required arguments (including BOTH old_string and new_string). NEVER call this tool without providing 'new_string'.
Invalid notebook format
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4246067–4246092, SHA-256 f516a6c019500ebe.
Jev judged not model-facing (confidence 0.04; role human). This is a classifier judgment, not proof of delivery.
Readable text: Invalid notebook format
Invalid notebook format
old string must be empty when creating a new cell
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4246222–4246273, SHA-256 4270bbc3628e1535.
Jev judged not model-facing (confidence 0.13; role human). This is a classifier judgment, not proof of delivery.
Readable text: old_string must be empty when creating a new cell
old_string must be empty when creating a new cell
Invalid arguments for creating new cell
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4246300–4246341, SHA-256 1ef4d540b5562c6a.
Jev judged not model-facing (confidence 0.04; role human). This is a classifier judgment, not proof of delivery.
Readable text: Invalid arguments for creating new cell
Invalid arguments for creating new cell
old string must be empty when is new cell is true
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4246367–4246418, SHA-256 860e0e7f934f728c.
Jev judged not model-facing (confidence 0.16; role human). This is a classifier judgment, not proof of delivery.
Readable text: old_string must be empty when is_new_cell is true
old_string must be empty when is_new_cell is true
A new ${s.cell language} cell was created at index ${s.cell idx} in notebook ${s
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4247094–4247194, SHA-256 3805afb5427965f3.
Jev judged not model-facing (confidence 0.47; role context). This is a classifier judgment, not proof of delivery.
Readable text: A new ${s.cell_language} cell was created at index ${s.cell_idx} in notebook ${s.target_notebook}.
A new ${s.cell_language} cell was created at index ${s.cell_idx} in notebook ${s.target_notebook}.
Cell index ${s.cell idx} out of range
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4247388–4247427, SHA-256 6986214b633dfe31.
Jev judged not model-facing (confidence 0.09; role human). This is a classifier judgment, not proof of delivery.
Readable text: Cell index ${s.cell_idx} out of range
Cell index ${s.cell_idx} out of range
Cell index out of range
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4247454–4247479, SHA-256 126d008da533863e.
Jev judged not model-facing (confidence 0.03; role human). This is a classifier judgment, not proof of delivery.
Readable text: Cell index out of range
Cell index out of range
Cell index ${s.cell idx} is out of range. The notebook has ${o.cells.length} cel
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4247505–4247622, SHA-256 762c5d5a5b54c71b.
Jev judged not model-facing (confidence 0.2; role human). This is a classifier judgment, not proof of delivery.
Readable text: Cell index ${s.cell_idx} is out of range. The notebook has ${o.cells.length} cells (indices 0-${o.cells.length-1}).
Cell index ${s.cell_idx} is out of range. The notebook has ${o.cells.length} cells (indices 0-${o.cells.length-1}).
Cell at index ${s.cell idx} is invalid
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4247698–4247738, SHA-256 9b9c950268bcd8dc.
Jev judged not model-facing (confidence 0.17; role human). This is a classifier judgment, not proof of delivery.
Readable text: Cell at index ${s.cell_idx} is invalid
Cell at index ${s.cell_idx} is invalid
Invalid cell
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4247765–4247779, SHA-256 3757af1875415526.
Jev judged not model-facing (confidence 0.04; role human). This is a classifier judgment, not proof of delivery.
Readable text: Invalid cell
Invalid cell
Cell at index ${s.cell idx} does not have a valid source field
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4247805–4247869, SHA-256 1e9f9cd6395736ba.
Jev judged not model-facing (confidence 0.24; role human). This is a classifier judgment, not proof of delivery.
Readable text: Cell at index ${s.cell_idx} does not have a valid source field
Cell at index ${s.cell_idx} does not have a valid source field
old string is empty but cell has content
Source: desktop/Cursor.app/Contents/Resources/app/extensions/cursor-local-agent-runtime/dist/main.js, bytes 4247971–4248013, SHA-256 3d9d32cfb9ad3d01.
Jev judged not model-facing (confidence 0.2; role human). This is a classifier judgment, not proof of delivery.
Readable text: old_string is empty but cell has content
old_string is empty but cell has content