grep.ts · part 1
Full reference8 text occurrences from packages/opencode/src/tool/grep.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 regex pattern to search for in file contents
Source: packages/opencode/src/tool/grep.ts, characters 452–502, SHA-256 06940f711589986a.
Jev judged model-facing (confidence 0.84; role parameter). This is a classifier judgment, not proof of delivery.
Readable text: The regex pattern to search for in file contents
The regex pattern to search for in file contents
The directory to search in. Defaults to the current working directory.
Source: packages/opencode/src/tool/grep.ts, characters 574–646, SHA-256 1913717f28ee9b34.
Jev judged model-facing (confidence 0.8; role parameter). This is a classifier judgment, not proof of delivery.
Readable text: The directory to search in. Defaults to the current working directory.
The directory to search in. Defaults to the current working directory.
File pattern to include in the search (e.g. " .js", " .{ts,tsx}")
Source: packages/opencode/src/tool/grep.ts, characters 724–791, SHA-256 185b5d8349376e9e.
Jev judged model-facing (confidence 0.84; role parameter). This is a classifier judgment, not proof of delivery.
Readable text: File pattern to include in the search (e.g. "*.js", "*.{ts,tsx}")
File pattern to include in the search (e.g. "*.js", "*.{ts,tsx}")
No files found
Source: packages/opencode/src/tool/grep.ts, characters 1304–1320, SHA-256 70543d334df2ea0f.
Jev judged not model-facing (confidence 0.1; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: No files found
No files found
pattern is required
Source: packages/opencode/src/tool/grep.ts, characters 1395–1416, SHA-256 c72a0a0290847907.
Jev judged not model-facing (confidence 0.1; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: pattern is required
pattern is required
Found ${total} matches${hasMore ? " (more matches available)" : ""}
Source: packages/opencode/src/tool/grep.ts, characters 3265–3334, SHA-256 b85ac8e612e321bf.
Jev judged not model-facing (confidence 0.07; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Found ${total} matches${hasMore ? " (more matches available)" : ""}
Found ${total} matches${hasMore ? " (more matches available)" : ""}
Line ${match.line}: ${match.text}
Source: packages/opencode/src/tool/grep.ts, characters 3612–3649, SHA-256 c8b6251f17a43561.
Jev judged not model-facing (confidence 0.13; role code_data). This is a classifier judgment, not proof of delivery.
Readable text: Line ${match.line}: ${match.text}
Line ${match.line}: ${match.text}
(Results truncated. Consider using a more specific path or pattern.)
Source: packages/opencode/src/tool/grep.ts, characters 3743–3813, SHA-256 fc55e6d3d1b236ed.
Jev judged not model-facing (confidence 0.12; role human). This is a classifier judgment, not proof of delivery.
Readable text: (Results truncated. Consider using a more specific path or pattern.)
(Results truncated. Consider using a more specific path or pattern.)