(f: (typeof data.files)[0], indent: string)
| 220 | } |
| 221 | } |
| 222 | const fileLine = (f: (typeof data.files)[0], indent: string) => { |
| 223 | const vfsPath = canonicalWorkspaceFilePath({ folderPath: f.folderPath, name: f.name }) |
| 224 | return `${indent}- **${f.name}** (${f.id}) — ${f.type}, ${formatSize(f.size)} — \`${vfsPath}\`` |
| 225 | } |
| 226 | const lines: string[] = [ |
| 227 | 'Read or edit a file by the exact VFS path shown in backticks below — copy it verbatim (it is already percent-encoded) and append `/content` to read the contents. Do not retype the display name or re-encode the path.', |
| 228 | ] |
no test coverage detected