mobbdev 1.3.3 → 1.3.5

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.
@@ -2851,10 +2851,27 @@ var init_gitBlameTypes = __esm({
2851
2851
  // Array of commit SHAs in order
2852
2852
  });
2853
2853
  BlameLineEntryZ = z19.object({
2854
+ /** Current file path in the PR head (what git blame was invoked on). */
2854
2855
  file: z19.string(),
2856
+ /** Current line number in the PR head. */
2855
2857
  line: z19.number(),
2858
+ /** SHA of the commit that originally authored this line. */
2856
2859
  originalCommitSha: z19.string(),
2857
- originalLineNumber: z19.number()
2860
+ /** Line number as it was in `originalCommitSha`. */
2861
+ originalLineNumber: z19.number(),
2862
+ /**
2863
+ * File path as it was in `originalCommitSha` at the time that commit
2864
+ * authored this line. When a file has been renamed since, this differs
2865
+ * from `file`. Used as the primary lookup key against attribution
2866
+ * records (which are stored at the path-as-of-original-commit).
2867
+ *
2868
+ * Defaults to `''` to preserve backward compatibility with
2869
+ * BlameLinesData records persisted in S3 before this field existed —
2870
+ * those records deserialize with `originalFile === ''` and callers
2871
+ * must treat empty as "fall back to `file`" (see enrichDiffLines,
2872
+ * targetedBlame).
2873
+ */
2874
+ originalFile: z19.string().default("")
2858
2875
  });
2859
2876
  BlameLinesDataZ = z19.object({
2860
2877
  lines: z19.array(BlameLineEntryZ)
package/dist/index.mjs CHANGED
@@ -2903,10 +2903,27 @@ var init_gitBlameTypes = __esm({
2903
2903
  // Array of commit SHAs in order
2904
2904
  });
2905
2905
  BlameLineEntryZ = z18.object({
2906
+ /** Current file path in the PR head (what git blame was invoked on). */
2906
2907
  file: z18.string(),
2908
+ /** Current line number in the PR head. */
2907
2909
  line: z18.number(),
2910
+ /** SHA of the commit that originally authored this line. */
2908
2911
  originalCommitSha: z18.string(),
2909
- originalLineNumber: z18.number()
2912
+ /** Line number as it was in `originalCommitSha`. */
2913
+ originalLineNumber: z18.number(),
2914
+ /**
2915
+ * File path as it was in `originalCommitSha` at the time that commit
2916
+ * authored this line. When a file has been renamed since, this differs
2917
+ * from `file`. Used as the primary lookup key against attribution
2918
+ * records (which are stored at the path-as-of-original-commit).
2919
+ *
2920
+ * Defaults to `''` to preserve backward compatibility with
2921
+ * BlameLinesData records persisted in S3 before this field existed —
2922
+ * those records deserialize with `originalFile === ''` and callers
2923
+ * must treat empty as "fall back to `file`" (see enrichDiffLines,
2924
+ * targetedBlame).
2925
+ */
2926
+ originalFile: z18.string().default("")
2910
2927
  });
2911
2928
  BlameLinesDataZ = z18.object({
2912
2929
  lines: z18.array(BlameLineEntryZ)
@@ -17400,7 +17417,7 @@ function createLogger(config2) {
17400
17417
 
17401
17418
  // src/features/claude_code/hook_logger.ts
17402
17419
  var DD_RUM_TOKEN = true ? "pubf59c0182545bfb4c299175119f1abf9b" : "";
17403
- var CLI_VERSION = true ? "1.3.3" : "unknown";
17420
+ var CLI_VERSION = true ? "1.3.5" : "unknown";
17404
17421
  var NAMESPACE = "mobbdev-claude-code-hook-logs";
17405
17422
  var claudeCodeVersion;
17406
17423
  function buildDdTags() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mobbdev",
3
- "version": "1.3.3",
3
+ "version": "1.3.5",
4
4
  "description": "Automated secure code remediation tool",
5
5
  "repository": "git+https://github.com/mobb-dev/bugsy.git",
6
6
  "main": "dist/index.mjs",