codex-lens 0.1.32 → 0.1.33

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.
@@ -51,8 +51,9 @@ class GitManager {
51
51
  if (!line || line.length < 3) continue;
52
52
  const indexStatus = line[0];
53
53
  const workTreeStatus = line[1];
54
- const path = line.slice(3).trim();
55
- const fileInfo = { path, indexStatus, workTreeStatus };
54
+ const relativePath = line.slice(3).trim();
55
+ const absolutePath = join(this.projectRoot, relativePath);
56
+ const fileInfo = { path: absolutePath, relativePath, indexStatus, workTreeStatus };
56
57
  if (indexStatus !== " " && indexStatus !== "?") {
57
58
  result.staged.push(fileInfo);
58
59
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "codex-lens",
3
- "version": "0.1.32",
3
+ "version": "0.1.33",
4
4
  "description": "A visualization tool for Codex that monitors API requests and file system changes",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -57,9 +57,11 @@ class GitManager {
57
57
 
58
58
  const indexStatus = line[0];
59
59
  const workTreeStatus = line[1];
60
- const path = line.slice(3).trim();
60
+ // git returns relative path, convert to absolute path
61
+ const relativePath = line.slice(3).trim();
62
+ const absolutePath = join(this.projectRoot, relativePath);
61
63
 
62
- const fileInfo = { path, indexStatus, workTreeStatus };
64
+ const fileInfo = { path: absolutePath, relativePath, indexStatus, workTreeStatus };
63
65
 
64
66
  // Staged changes (index)
65
67
  if (indexStatus !== ' ' && indexStatus !== '?') {