prodex 1.4.8 → 1.4.9

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.
@@ -75,10 +75,9 @@ function parseCliInput(argv = process.argv) {
75
75
  }
76
76
  function registerFlags(program) {
77
77
  for (const [key, meta] of Object.entries(flags_1.FLAG_MAP)) {
78
- //@ts-ignore
79
- const alias = meta.alias ? `-${meta.alias},` : "";
80
- //@ts-ignore
81
- program.option(`${alias}--${key}`, meta.desc);
78
+ const short = meta.short ? `-${meta.short},` : "";
79
+ const defaultVal = meta.type === "boolean" ? false : undefined;
80
+ program.option(`${short}--${key}`, meta.description, defaultVal);
82
81
  }
83
82
  }
84
83
  function normalizeFlags(flags, warnings, errors) {
@@ -62,6 +62,8 @@ function buildToc(opts) {
62
62
  const tocHead = [
63
63
  `# Index ${withRanges ? rangeText(listingStart, listingEnd) : ""} `,
64
64
  "",
65
+ "> Note for LLMs: `Lx-Ly` ranges refer to lines in this Prodex trace file, not the original source files.",
66
+ "",
65
67
  constants_1.MD_HEADER,
66
68
  "",
67
69
  `Included Source Files: ${count}`,
@@ -77,7 +79,7 @@ function buildToc(opts) {
77
79
  return [...tocHead, ...items, ...tocTail].join("\n");
78
80
  }
79
81
  /**
80
- * Analyze the already-generated markdown to compute:
82
+ * Analyze the already-generated Markdown to compute:
81
83
  * - listing start/end lines
82
84
  * - each section start/end line (per file index)
83
85
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "prodex",
3
- "version": "1.4.8",
3
+ "version": "1.4.9",
4
4
  "description": "Unified Project Indexer & Dependency Extractor for Laravel + React + Node stacks.",
5
5
  "type": "commonjs",
6
6
  "bin": {