Evidence and archive

edit.ts · part 1

Full reference
Topics
Status
Showing all 17

17 text occurrences from packages/opencode/src/tool/edit.ts, part 1. Every entry preserves the shipped literal and its saved verdict or selection reason.

File contents and all parts · All files

Shipped text

The absolute path to the file to modify

Source: packages/opencode/src/tool/edit.ts, characters 1764–1805, SHA-256 22a276b70cb1509e.

Jev judged model-facing (confidence 0.81; role parameter). This is a classifier judgment, not proof of delivery.

Readable text: The absolute path to the file to modify

The absolute path to the file to modify

The text to replace

Source: packages/opencode/src/tool/edit.ts, characters 1861–1882, SHA-256 66cc222e5499ffd8.

Jev judged not model-facing (confidence 0.7; role parameter). This is a classifier judgment, not proof of delivery.

Readable text: The text to replace

The text to replace

The text to replace it with (must be different from oldString)

Source: packages/opencode/src/tool/edit.ts, characters 1942–2006, SHA-256 048da5e34f73dbcc.

Jev judged model-facing (confidence 0.8; role parameter). This is a classifier judgment, not proof of delivery.

Readable text: The text to replace it with (must be different from oldString)

The text to replace it with (must be different from oldString)

Replace all occurrences of oldString (default false)

Source: packages/opencode/src/tool/edit.ts, characters 2088–2142, SHA-256 ed7822065fecda53.

Jev judged not model-facing (confidence 0.79; role parameter). This is a classifier judgment, not proof of delivery.

Readable text: Replace all occurrences of oldString (default false)

Replace all occurrences of oldString (default false)

filePath is required

Source: packages/opencode/src/tool/edit.ts, characters 2648–2670, SHA-256 f55f770a72b0d837.

Jev judged not model-facing (confidence 0.06; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: filePath is required

filePath is required

No changes to apply: oldString and newString are identical.

Source: packages/opencode/src/tool/edit.ts, characters 2768–2829, SHA-256 740b26e9670a1ef7.

Jev judged not model-facing (confidence 0.07; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: No changes to apply: oldString and newString are identical.

No changes to apply: oldString and newString are identical.

oldString cannot be empty when editing an existing file. Provide the exact text

Source: packages/opencode/src/tool/edit.ts, characters 3479–3627, SHA-256 8b92651f62291925.

Jev judged not model-facing (confidence 0.21; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: oldString cannot be empty when editing an existing file. Provide the exact text to replace, or use write for an intentional full-file replacement.

oldString cannot be empty when editing an existing file. Provide the exact text to replace, or use write for an intentional full-file replacement.

File ${filePath} not found

Source: packages/opencode/src/tool/edit.ts, characters 4900–4928, SHA-256 4c81094046bb393b.

Jev judged not model-facing (confidence 0.04; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: File ${filePath} not found

File ${filePath} not found

Path is a directory, not a file: ${filePath}

Source: packages/opencode/src/tool/edit.ts, characters 4991–5037, SHA-256 953f9bbfa3d215bf.

Jev judged not model-facing (confidence 0.06; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: Path is a directory, not a file: ${filePath}

Path is a directory, not a file: ${filePath}

Edit applied successfully.

Source: packages/opencode/src/tool/edit.ts, characters 7510–7538, SHA-256 3b12079eaaccd1b0.

Jev judged not model-facing (confidence 0.07; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: Edit applied successfully.

Edit applied successfully.

n nLSP errors detected in this file, please fix: n${block}

Source: packages/opencode/src/tool/edit.ts, characters 7841–7902, SHA-256 6150efbdec0db792.

Jev judged not model-facing (confidence 0.73; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: \n\nLSP errors detected in this file, please fix:\n${block}

\n\nLSP errors detected in this file, please fix:\n${block}

${path.relative(instance.worktree, filePath)}

Source: packages/opencode/src/tool/edit.ts, characters 8052–8099, SHA-256 1fcb3860e75c2e8a.

Jev judged not model-facing (confidence 0.07; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: ${path.relative(instance.worktree, filePath)}

${path.relative(instance.worktree, filePath)}

No changes to apply: oldString and newString are identical. · character 22559

Source: packages/opencode/src/tool/edit.ts, characters 22559–22620, SHA-256 740b26e9670a1ef7.

Jev judged not model-facing (confidence 0.05; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: No changes to apply: oldString and newString are identical.

No changes to apply: oldString and newString are identical.

oldString cannot be empty when editing an existing file. Provide the exact text · character 22679

Source: packages/opencode/src/tool/edit.ts, characters 22679–22827, SHA-256 8b92651f62291925.

Jev judged not model-facing (confidence 0.19; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: oldString cannot be empty when editing an existing file. Provide the exact text to replace, or use write for an intentional full-file replacement.

oldString cannot be empty when editing an existing file. Provide the exact text to replace, or use write for an intentional full-file replacement.

Refusing replacement because the matched span is much larger than oldString. Re-

Source: packages/opencode/src/tool/edit.ts, characters 23396–23558, SHA-256 1dba8fbaef4da9ca.

Jev judged not model-facing (confidence 0.27; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: Refusing replacement because the matched span is much larger than oldString. Re-read the file and provide the full exact oldString for the intended replacement.

Refusing replacement because the matched span is much larger than oldString. Re-read the file and provide the full exact oldString for the intended replacement.

Could not find oldString in the file. It must match exactly, including whitespac

Source: packages/opencode/src/tool/edit.ts, characters 23907–24022, SHA-256 3bc673ff72430678.

Jev judged not model-facing (confidence 0.12; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: Could not find oldString in the file. It must match exactly, including whitespace, indentation, and line endings.

Could not find oldString in the file. It must match exactly, including whitespace, indentation, and line endings.

Found multiple matches for oldString. Provide more surrounding context to make t

Source: packages/opencode/src/tool/edit.ts, characters 24052–24150, SHA-256 2f2ad597147cabaf.

Jev judged not model-facing (confidence 0.16; role code_data). This is a classifier judgment, not proof of delivery.

Readable text: Found multiple matches for oldString. Provide more surrounding context to make the match unique.

Found multiple matches for oldString. Provide more surrounding context to make the match unique.