pi-readseek 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-readseek",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "description": "Pi extension for readseek-backed hash-anchored read/edit/grep, structural code maps, structural search, and file exploration",
5
5
  "type": "module",
6
6
  "exports": {
@@ -339,7 +339,7 @@ function parseSearchOutput(value: unknown): ReadseekSearchOutput {
339
339
 
340
340
  export async function readseekRead(filePath: string, startLine?: number, endLine?: number): Promise<ReadseekReadOutput> {
341
341
  const args = ["read", filePath];
342
- if (startLine !== undefined) args.push("--start", String(startLine));
342
+ if (startLine !== undefined) args.push("--offset", String(startLine));
343
343
  if (endLine !== undefined) args.push("--end", String(endLine));
344
344
  return parseReadOutput(await runReadseek(args));
345
345
  }