intentumdiff-python 0.0.1__py3-none-win_amd64.whl → 0.0.3b1__py3-none-win_amd64.whl

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.
Files changed (150) hide show
  1. intentumdiff/__init__.py +9 -0
  2. intentumdiff/__main__.py +12 -0
  3. intentumdiff/_differ_gate.py +0 -136
  4. intentumdiff/_differ_presentation.py +17 -735
  5. intentumdiff/_differ_runtime.py +13 -64
  6. intentumdiff/analysis/compile_commands.py +26 -141
  7. intentumdiff/analysis/cross_file.py +23 -25
  8. intentumdiff/analysis/diagnostics.py +1 -164
  9. intentumdiff/analysis/guardrail_reports.py +31 -33
  10. intentumdiff/analysis/guardrails.py +111 -188
  11. intentumdiff/analysis/schema_resolver.py +72 -360
  12. intentumdiff/analysis/user_schemas.py +57 -254
  13. intentumdiff/api.py +21 -0
  14. intentumdiff/cache/sqlite_store.py +5 -23
  15. intentumdiff/cli/__init__.py +59 -0
  16. intentumdiff/cli/_commands.py +243 -137
  17. intentumdiff/cli/_parser.py +51 -56
  18. intentumdiff/cli/_shared.py +151 -116
  19. intentumdiff/content_type.py +13 -30
  20. intentumdiff/core/commit_differ.py +137 -286
  21. intentumdiff/core/diffignore.py +28 -34
  22. intentumdiff/core/index.py +16 -18
  23. intentumdiff/core/indexer.py +148 -169
  24. intentumdiff/core/models.py +279 -83
  25. intentumdiff/differ.py +366 -1000
  26. intentumdiff/github_app.py +40 -27
  27. intentumdiff/intentumdiff_rust_core/intentumdiff_rust_core.dll +0 -0
  28. intentumdiff/live_server.py +197 -34
  29. intentumdiff/lsp/client.py +49 -43
  30. intentumdiff/lsp/enricher.py +19 -119
  31. intentumdiff/lsp/exceptions.py +6 -7
  32. intentumdiff/lsp/servers.py +10 -11
  33. intentumdiff/lsp_server/_codelens.py +24 -57
  34. intentumdiff/lsp_server/_diagnostics.py +23 -51
  35. intentumdiff/lsp_server/_handlers.py +67 -9
  36. intentumdiff/lsp_server/server.py +28 -8
  37. intentumdiff/plugins/adapter.py +5 -0
  38. intentumdiff/plugins/builtins.py +7 -14
  39. intentumdiff/plugins/exceptions.py +28 -0
  40. intentumdiff/plugins/hub.py +39 -43
  41. intentumdiff/plugins/loader.py +229 -215
  42. intentumdiff/plugins/registry.py +259 -207
  43. intentumdiff/plugins/registry.schema.json +156 -15
  44. intentumdiff/plugins/registry_schema.py +47 -140
  45. intentumdiff/rust_core.py +623 -1326
  46. intentumdiff/serve/_app.py +26 -35
  47. intentumdiff/sources/base.py +24 -0
  48. intentumdiff/sources/file_source.py +15 -2
  49. intentumdiff/sources/git_source.py +64 -185
  50. intentumdiff/sources/live_buffer_source.py +45 -5
  51. intentumdiff/sources/patch_source.py +36 -109
  52. intentumdiff/vcs/_safe_path.py +7 -0
  53. intentumdiff/vcs/base.py +6 -0
  54. intentumdiff/vcs/git_backend.py +1 -1
  55. intentumdiff/vcs/git_cli.py +0 -27
  56. intentumdiff/vcs/hg_backend.py +1 -1
  57. intentumdiff/vcs/perforce_backend.py +7 -1
  58. intentumdiff/vcs/svn_backend.py +1 -1
  59. intentumdiff/wasm/abap_parser.wasm +0 -0
  60. intentumdiff/wasm/adf_parser.wasm +0 -0
  61. intentumdiff/wasm/asciidoc_parser.wasm +0 -0
  62. intentumdiff/wasm/asm_parser.wasm +0 -0
  63. intentumdiff/wasm/assemblyscript_parser.wasm +0 -0
  64. intentumdiff/wasm/astro_parser.wasm +0 -0
  65. intentumdiff/wasm/bash_parser.wasm +0 -0
  66. intentumdiff/wasm/clojure_parser.wasm +0 -0
  67. intentumdiff/wasm/cmake_parser.wasm +0 -0
  68. intentumdiff/wasm/cpp_parser.wasm +0 -0
  69. intentumdiff/wasm/csharp_parser.wasm +0 -0
  70. intentumdiff/wasm/css_parser.wasm +0 -0
  71. intentumdiff/wasm/dart_parser.wasm +0 -0
  72. intentumdiff/wasm/databricks_parser.wasm +0 -0
  73. intentumdiff/wasm/dax_parser.wasm +0 -0
  74. intentumdiff/wasm/delphi_parser.wasm +0 -0
  75. intentumdiff/wasm/dockerfile_parser.wasm +0 -0
  76. intentumdiff/wasm/elixir_parser.wasm +0 -0
  77. intentumdiff/wasm/freebasic_parser.wasm +0 -0
  78. intentumdiff/wasm/generic_parser.wasm +0 -0
  79. intentumdiff/wasm/gitignore_parser.wasm +0 -0
  80. intentumdiff/wasm/go_parser.wasm +0 -0
  81. intentumdiff/wasm/gomod_parser.wasm +0 -0
  82. intentumdiff/wasm/graphql_parser.wasm +0 -0
  83. intentumdiff/wasm/groovy_parser.wasm +0 -0
  84. intentumdiff/wasm/haskell_parser.wasm +0 -0
  85. intentumdiff/wasm/html_parser.wasm +0 -0
  86. intentumdiff/wasm/html_renderer.wasm +0 -0
  87. intentumdiff/wasm/ini_parser.wasm +0 -0
  88. intentumdiff/wasm/java_parser.wasm +0 -0
  89. intentumdiff/wasm/js_ts_parser.wasm +0 -0
  90. intentumdiff/wasm/json_parser.wasm +0 -0
  91. intentumdiff/wasm/kotlin_parser.wasm +0 -0
  92. intentumdiff/wasm/latex_parser.wasm +0 -0
  93. intentumdiff/wasm/llm_renderer.wasm +0 -0
  94. intentumdiff/wasm/lua_parser.wasm +0 -0
  95. intentumdiff/wasm/make_parser.wasm +0 -0
  96. intentumdiff/wasm/markdown_parser.wasm +0 -0
  97. intentumdiff/wasm/mdx_parser.wasm +0 -0
  98. intentumdiff/wasm/ocaml_parser.wasm +0 -0
  99. intentumdiff/wasm/odin_parser.wasm +0 -0
  100. intentumdiff/wasm/parser_manifest.json +81 -2
  101. intentumdiff/wasm/patch_renderer.wasm +0 -0
  102. intentumdiff/wasm/perl_parser.wasm +0 -0
  103. intentumdiff/wasm/php_parser.wasm +0 -0
  104. intentumdiff/wasm/plsql_parser.wasm +0 -0
  105. intentumdiff/wasm/po_parser.wasm +0 -0
  106. intentumdiff/wasm/postscript_parser.wasm +0 -0
  107. intentumdiff/wasm/powershell_parser.wasm +0 -0
  108. intentumdiff/wasm/proto_parser.wasm +0 -0
  109. intentumdiff/wasm/puppet_parser.wasm +0 -0
  110. intentumdiff/wasm/python_parser.wasm +0 -0
  111. intentumdiff/wasm/qsharp_parser.wasm +0 -0
  112. intentumdiff/wasm/r_parser.wasm +0 -0
  113. intentumdiff/wasm/reasonml_parser.wasm +0 -0
  114. intentumdiff/wasm/ruby_parser.wasm +0 -0
  115. intentumdiff/wasm/rust_parser.wasm +0 -0
  116. intentumdiff/wasm/sas_parser.wasm +0 -0
  117. intentumdiff/wasm/scala_parser.wasm +0 -0
  118. intentumdiff/wasm/scss_parser.wasm +0 -0
  119. intentumdiff/wasm/sql_parser.wasm +0 -0
  120. intentumdiff/wasm/squirrel_parser.wasm +0 -0
  121. intentumdiff/wasm/svelte_parser.wasm +0 -0
  122. intentumdiff/wasm/swift_parser.wasm +0 -0
  123. intentumdiff/wasm/terminal_renderer.wasm +0 -0
  124. intentumdiff/wasm/terraform_parser.wasm +0 -0
  125. intentumdiff/wasm/toml_parser.wasm +0 -0
  126. intentumdiff/wasm/tsql_parser.wasm +0 -0
  127. intentumdiff/wasm/vbnet_parser.wasm +0 -0
  128. intentumdiff/wasm/vue_parser.wasm +0 -0
  129. intentumdiff/wasm/wasm_provenance.json +884 -0
  130. intentumdiff/wasm/wat_parser.wasm +0 -0
  131. intentumdiff/wasm/xml_parser.wasm +0 -0
  132. intentumdiff/wasm/yaml_parser.wasm +0 -0
  133. intentumdiff/wasm/zig_parser.wasm +0 -0
  134. intentumdiff/watcher.py +15 -17
  135. intentumdiff_python-0.0.3b1.dist-info/METADATA +188 -0
  136. intentumdiff_python-0.0.3b1.dist-info/RECORD +164 -0
  137. {intentumdiff_python-0.0.1.dist-info → intentumdiff_python-0.0.3b1.dist-info}/WHEEL +1 -1
  138. {intentumdiff_python-0.0.1.dist-info → intentumdiff_python-0.0.3b1.dist-info}/sboms/intentumdiff-rust-core.cyclonedx.json +905 -379
  139. intentumdiff/analysis/invariances.py +0 -1207
  140. intentumdiff/analysis/keyed_profiles.py +0 -25
  141. intentumdiff/analysis/resource_profiles.py +0 -14
  142. intentumdiff/analysis/text_review.py +0 -46
  143. intentumdiff/core/cst_serializer.py +0 -101
  144. intentumdiff/invariances/__init__.py +0 -2
  145. intentumdiff/invariances/rules.schema.json +0 -283
  146. intentumdiff/invariances/rules.yaml +0 -349
  147. intentumdiff_python-0.0.1.dist-info/METADATA +0 -112
  148. intentumdiff_python-0.0.1.dist-info/RECORD +0 -165
  149. {intentumdiff_python-0.0.1.dist-info → intentumdiff_python-0.0.3b1.dist-info}/entry_points.txt +0 -0
  150. {intentumdiff_python-0.0.1.dist-info → intentumdiff_python-0.0.3b1.dist-info}/licenses/LICENSE +0 -0
@@ -1,126 +1,53 @@
1
- """
2
- intentumdiff.sources.patch_source
3
- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4
-
5
- Reconstruct old/new content from a unified diff patch string.
6
-
7
- Typical use-case: diffing an LLM-generated patch (e.g. GitHub Copilot output)
8
- without access to the original file.
1
+ """Thin source adapter for Rust-owned unified patch reconstruction.
9
2
 
10
- The patch must follow the unified diff format (``--- a/...`` / ``+++ b/...``).
11
- ``unidiff`` (third-party) is used for robust parsing.
3
+ With original content, every hunk is validated at its declared position. Without
4
+ it, a regular modification can only reconstruct a contiguous excerpt, which is
5
+ explicitly warned and exposed through ``is_partial``. Set ``require_complete``
6
+ to reject excerpts. Unknown prefixes/gaps and multi-file patches are rejected.
12
7
  """
13
-
14
8
  from __future__ import annotations
15
9
 
16
- import io
17
- from pathlib import PurePosixPath
18
-
19
- from unidiff import PatchSet
10
+ import json
11
+ import warnings
12
+ from typing import Any
20
13
 
21
14
  from intentumdiff.sources.base import Source
22
15
 
23
16
 
24
- def _apply_patch_to_original(original: str, patch_text: str) -> str:
25
- """
26
- Reconstruct the patched (new) content by applying hunks from a unified diff.
27
-
28
- We do a line-based apply; this is intentionally simple — we are not a full
29
- ``patch`` utility. For complex patches (binary, context mismatch) an
30
- error is raised.
31
- """
32
- patchset = PatchSet(io.StringIO(patch_text))
33
- if not patchset:
34
- return original
35
-
36
- patched_file = patchset[0] # we support single-file patches here
37
- old_lines = original.splitlines(keepends=True)
38
- new_lines: list[str] = []
39
- old_idx = 0 # 1-based line cursor
40
-
41
- for hunk in patched_file:
42
- # Copy context lines before this hunk
43
- hunk_start = hunk.source_start # 1-based
44
- while old_idx < hunk_start - 1:
45
- new_lines.append(old_lines[old_idx])
46
- old_idx += 1
47
-
48
- for line in hunk:
49
- if line.is_context:
50
- new_lines.append(old_lines[old_idx])
51
- old_idx += 1
52
- elif line.is_added:
53
- new_lines.append(line.value)
54
- elif line.is_removed:
55
- old_idx += 1 # skip removed original line
56
-
57
- # Trailing context
58
- while old_idx < len(old_lines):
59
- new_lines.append(old_lines[old_idx])
60
- old_idx += 1
61
-
62
- return "".join(new_lines)
63
-
64
-
65
- def _extract_filename(patch_text: str) -> str:
66
- """Extract the target filename from the ``+++`` header of a patch."""
67
- for line in patch_text.splitlines():
68
- if line.startswith("+++ "):
69
- raw = line[4:].strip()
70
- # Strip leading "b/" git prefix
71
- path = raw[2:] if raw.startswith("b/") else raw
72
- return path
73
- return "unknown"
17
+ class PatchExcerptWarning(UserWarning):
18
+ """The patch does not establish complete original-file content."""
74
19
 
75
20
 
76
21
  class PatchSource(Source):
77
- """
78
- Reconstruct old and new content from a unified diff patch.
22
+ """Reconstruct one text file with the shared Rust engine.
79
23
 
80
- Parameters
81
- ----------
82
- patch_text:
83
- Full unified diff string (as produced by ``git diff``, GitHub Copilot,
84
- or similar tools).
85
- original_content:
86
- The original (old) file content. If omitted, the old content is
87
- reconstructed from the patch's ``-`` lines (best-effort).
88
- language_hint:
89
- Optional language override.
90
- filename:
91
- Display filename. If omitted, extracted from the ``+++`` header.
24
+ ``original_content`` provides the complete base. Without it, creation/deletion
25
+ patches can establish complete content; regular patches yield an explicitly
26
+ labelled excerpt. ``filename`` and ``language_hint`` are optional overrides.
92
27
  """
93
-
94
- def __init__(
95
- self,
96
- patch_text: str,
97
- original_content: str | None = None,
98
- language_hint: str | None = None,
99
- filename: str | None = None,
100
- ) -> None:
101
- self._patch_text = patch_text
102
- self._original = original_content
28
+ def __init__(self, patch_text: str, original_content: str | None = None,
29
+ language_hint: str | None = None, filename: str | None = None,
30
+ *, require_complete: bool = False) -> None:
31
+ self._request = {"patch_text": patch_text, "original_content": original_content,
32
+ "filename": filename, "require_complete": require_complete}
103
33
  self._language_hint = language_hint
104
- self._filename = filename or _extract_filename(patch_text)
34
+ self._result: dict[str, Any] | None = None
35
+ self._warned = False
105
36
 
106
- def get_content(self) -> tuple[str, str, str, str | None]:
107
- if self._original is not None:
108
- old_content = self._original
109
- else:
110
- old_content = self._reconstruct_original()
37
+ def _content(self) -> dict[str, Any]:
38
+ if self._result is None:
39
+ from intentumdiff.rust_core import _c_abi_call
40
+ self._result = _c_abi_call("reconstruct_patch", json.dumps(self._request))
41
+ return self._result
111
42
 
112
- new_content = _apply_patch_to_original(old_content, self._patch_text)
113
- return old_content, new_content, self._filename, self._language_hint
43
+ @property
44
+ def is_partial(self) -> bool:
45
+ """Whether Rust identified the reconstructed content as an excerpt."""
46
+ return self._content()["scope"] == "excerpt"
114
47
 
115
- def _reconstruct_original(self) -> str:
116
- """Build the original content from ``-`` and context lines in the patch."""
117
- lines: list[str] = []
118
- for line in self._patch_text.splitlines(keepends=True):
119
- if line.startswith("---") or line.startswith("+++") or line.startswith("@@"):
120
- continue
121
- if line.startswith("-"):
122
- lines.append(line[1:])
123
- elif line.startswith(" "):
124
- lines.append(line[1:])
125
- # Lines starting with '+' are new — skip them
126
- return "".join(lines)
48
+ def get_content(self) -> tuple[str, str, str, str | None]:
49
+ result = self._content()
50
+ if result["warning"] and not self._warned:
51
+ warnings.warn(result["warning"], PatchExcerptWarning, stacklevel=2)
52
+ self._warned = True
53
+ return result["old_content"], result["new_content"], result["filename"], self._language_hint
@@ -48,3 +48,10 @@ def safe_working_tree_path(root: str | Path, file_path: str) -> Path:
48
48
  f"Unsafe file path: {file_path!r} - resolved path escapes {root_path!s}."
49
49
  ) from None
50
50
  return candidate
51
+
52
+
53
+ def safe_policy_path(root: str | Path, file_path: str) -> str:
54
+ """Locate policy context for a repository blob without following its live leaf."""
55
+ relative = Path(safe_relative_path(file_path))
56
+ parent = safe_working_tree_path(root, str(relative.parent))
57
+ return str(parent / relative.name)
intentumdiff/vcs/base.py CHANGED
@@ -115,6 +115,12 @@ class VcsBackend(ABC):
115
115
  # Future: semantic-merge hooks (non-abstract stubs)
116
116
  # ------------------------------------------------------------------
117
117
 
118
+ def guardrail_policy_path(self, path: str) -> str:
119
+ """Physical policy context for a backend-relative historical file."""
120
+ from intentumdiff.vcs._safe_path import safe_policy_path
121
+
122
+ return safe_policy_path(self.resolve_root(), path)
123
+
118
124
  def get_merge_base(self, ref_a: str, ref_b: str) -> str: # pragma: no cover
119
125
  """Return the common ancestor revision of *ref_a* and *ref_b*.
120
126
 
@@ -71,7 +71,7 @@ class GitVcsBackend(VcsBackend):
71
71
  """Return the on-disk content of *path* in the working tree."""
72
72
  full_path = safe_working_tree_path(self._root, _safe_path(path))
73
73
  try:
74
- return full_path.read_text(encoding="utf-8", errors="replace")
74
+ return full_path.read_text(encoding="utf-8", errors="strict")
75
75
  except FileNotFoundError:
76
76
  return ""
77
77
 
@@ -71,30 +71,3 @@ def run_git_bytes(
71
71
  return proc.stdout
72
72
 
73
73
 
74
- def parse_name_status_z(data: bytes) -> "list[tuple[str, str, str]]":
75
- """Parse ``git diff --name-status -z`` output into ``(code, old_path, new_path)``.
76
-
77
- For Add/Delete/Modify a single path follows the status; for Rename/Copy two
78
- paths follow (old then new). Paths are NUL-separated (``-z``).
79
- """
80
- tokens = [t for t in data.split(b"\0") if t]
81
- entries: list[tuple[str, str, str]] = []
82
- idx = 0
83
- while idx < len(tokens):
84
- status = tokens[idx].decode("ascii", errors="replace")
85
- idx += 1
86
- code = status[:1]
87
- if code in {"R", "C"}:
88
- if idx + 1 >= len(tokens):
89
- break
90
- old_path = tokens[idx].decode("utf-8", errors="replace")
91
- new_path = tokens[idx + 1].decode("utf-8", errors="replace")
92
- idx += 2
93
- else:
94
- if idx >= len(tokens):
95
- break
96
- old_path = tokens[idx].decode("utf-8", errors="replace")
97
- new_path = old_path
98
- idx += 1
99
- entries.append((code, old_path, new_path))
100
- return entries
@@ -70,7 +70,7 @@ class HgVcsBackend(VcsBackend):
70
70
  """Return on-disk content of *path* in the Mercurial working directory."""
71
71
  full_path = safe_working_tree_path(self._root, path)
72
72
  try:
73
- return full_path.read_text(encoding="utf-8", errors="replace")
73
+ return full_path.read_text(encoding="utf-8", errors="strict")
74
74
  except FileNotFoundError:
75
75
  return ""
76
76
 
@@ -89,7 +89,7 @@ class PerforceVcsBackend(VcsBackend):
89
89
  """Return on-disk content of *path* (relative to the workspace root)."""
90
90
  full_path = safe_working_tree_path(self._root, path)
91
91
  try:
92
- return full_path.read_text(encoding="utf-8", errors="replace")
92
+ return full_path.read_text(encoding="utf-8", errors="strict")
93
93
  except FileNotFoundError:
94
94
  return ""
95
95
 
@@ -107,3 +107,9 @@ class PerforceVcsBackend(VcsBackend):
107
107
  def resolve_root(self) -> Path:
108
108
  """Return the Perforce workspace (client) root path."""
109
109
  return Path(self._root)
110
+
111
+ def guardrail_policy_path(self, path: str) -> str:
112
+ """Use Rust's authoritative client-view mapping for a depot identity."""
113
+ from intentumdiff import rust_core
114
+
115
+ return rust_core.p4_policy_path(self._root, path)
@@ -79,7 +79,7 @@ class SvnVcsBackend(VcsBackend):
79
79
  """Return on-disk content of *path* in the SVN working copy."""
80
80
  full_path = safe_working_tree_path(self._root, path)
81
81
  try:
82
- return full_path.read_text(encoding="utf-8", errors="replace")
82
+ return full_path.read_text(encoding="utf-8", errors="strict")
83
83
  except FileNotFoundError:
84
84
  return ""
85
85
 
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -8,8 +8,11 @@
8
8
  ".asm": "asm",
9
9
  ".astro": "astro",
10
10
  ".c": "c",
11
+ ".cfg": "ini",
11
12
  ".cjs": "javascript",
12
13
  ".clj": "clojure",
14
+ ".cmake": "cmake",
15
+ ".conf": "ini",
13
16
  ".cpp": "cpp",
14
17
  ".cs": "csharp",
15
18
  ".css": "css",
@@ -20,9 +23,11 @@
20
23
  ".ddl": "sql",
21
24
  ".dml": "sql",
22
25
  ".dockerignore": "gitignore",
26
+ ".editorconfig": "ini",
23
27
  ".eslintignore": "gitignore",
24
28
  ".ex": "elixir",
25
29
  ".gcloudignore": "gitignore",
30
+ ".gitconfig": "ini",
26
31
  ".gitignore": "gitignore",
27
32
  ".go": "go",
28
33
  ".gql": "graphql",
@@ -33,6 +38,7 @@
33
38
  ".hs": "haskell",
34
39
  ".htm": "html",
35
40
  ".html": "html",
41
+ ".ini": "ini",
36
42
  ".java": "java",
37
43
  ".js": "javascript",
38
44
  ".json": "json",
@@ -41,11 +47,13 @@
41
47
  ".latex": "latex",
42
48
  ".lua": "lua",
43
49
  ".m": "m",
50
+ ".make": "make",
44
51
  ".markdown": "markdown",
45
52
  ".md": "markdown",
46
53
  ".mdown": "markdown",
47
54
  ".mdx": "mdx",
48
55
  ".mjs": "javascript",
56
+ ".mk": "make",
49
57
  ".mkd": "markdown",
50
58
  ".mkdn": "markdown",
51
59
  ".ml": "ocaml",
@@ -61,6 +69,7 @@
61
69
  ".pot": "po",
62
70
  ".pp": "puppet",
63
71
  ".prettierignore": "gitignore",
72
+ ".proto": "proto",
64
73
  ".ps": "postscript",
65
74
  ".ps1": "powershell",
66
75
  ".py": "python",
@@ -79,6 +88,8 @@
79
88
  ".svelte": "svelte",
80
89
  ".swift": "swift",
81
90
  ".tex": "latex",
91
+ ".tf": "hcl",
92
+ ".toml": "toml",
82
93
  ".ts": "typescript",
83
94
  ".tsql": "tsql",
84
95
  ".tsx": "tsx",
@@ -86,12 +97,17 @@
86
97
  ".vb": "vbnet",
87
98
  ".vscodeignore": "gitignore",
88
99
  ".vue": "vue",
100
+ ".wast": "wast",
89
101
  ".wat": "wat",
90
102
  ".xml": "xml",
91
103
  ".yaml": "yaml",
92
104
  ".yml": "yaml",
93
105
  ".zig": "zig",
94
- "Dockerfile": "dockerfile"
106
+ "CMakeLists.txt": "cmake",
107
+ "Dockerfile": "dockerfile",
108
+ "GNUmakefile": "make",
109
+ "Makefile": "make",
110
+ "go.mod": "gomod"
95
111
  },
96
112
  "parsers": {
97
113
  "abap": {
@@ -159,6 +175,14 @@
159
175
  "plugin_id": "clojure",
160
176
  "wasm": "clojure_parser.wasm"
161
177
  },
178
+ "cmake": {
179
+ "extensions": [
180
+ "CMakeLists.txt",
181
+ ".cmake"
182
+ ],
183
+ "plugin_id": "cmake",
184
+ "wasm": "cmake_parser.wasm"
185
+ },
162
186
  "cpp": {
163
187
  "extensions": [
164
188
  ".cpp"
@@ -187,6 +211,11 @@
187
211
  "plugin_id": "dart",
188
212
  "wasm": "dart_parser.wasm"
189
213
  },
214
+ "databricks": {
215
+ "extensions": [],
216
+ "plugin_id": "databricks-workflow",
217
+ "wasm": "databricks_parser.wasm"
218
+ },
190
219
  "databricks-workflow": {
191
220
  "extensions": [
192
221
  ".yml"
@@ -251,6 +280,13 @@
251
280
  "plugin_id": "go",
252
281
  "wasm": "go_parser.wasm"
253
282
  },
283
+ "gomod": {
284
+ "extensions": [
285
+ "go.mod"
286
+ ],
287
+ "plugin_id": "gomod",
288
+ "wasm": "gomod_parser.wasm"
289
+ },
254
290
  "graphql": {
255
291
  "extensions": [
256
292
  ".gql",
@@ -275,7 +311,8 @@
275
311
  },
276
312
  "hcl": {
277
313
  "extensions": [
278
- ".hcl"
314
+ ".hcl",
315
+ ".tf"
279
316
  ],
280
317
  "plugin_id": "hcl",
281
318
  "wasm": "terraform_parser.wasm"
@@ -288,6 +325,17 @@
288
325
  "plugin_id": "html",
289
326
  "wasm": "html_parser.wasm"
290
327
  },
328
+ "ini": {
329
+ "extensions": [
330
+ ".ini",
331
+ ".cfg",
332
+ ".conf",
333
+ ".editorconfig",
334
+ ".gitconfig"
335
+ ],
336
+ "plugin_id": "ini",
337
+ "wasm": "ini_parser.wasm"
338
+ },
291
339
  "java": {
292
340
  "extensions": [
293
341
  ".java"
@@ -341,6 +389,16 @@
341
389
  "plugin_id": "m",
342
390
  "wasm": "dax_parser.wasm"
343
391
  },
392
+ "make": {
393
+ "extensions": [
394
+ "Makefile",
395
+ "GNUmakefile",
396
+ ".mk",
397
+ ".make"
398
+ ],
399
+ "plugin_id": "make",
400
+ "wasm": "make_parser.wasm"
401
+ },
344
402
  "markdown": {
345
403
  "extensions": [
346
404
  ".markdown",
@@ -417,6 +475,13 @@
417
475
  "plugin_id": "powershell",
418
476
  "wasm": "powershell_parser.wasm"
419
477
  },
478
+ "proto": {
479
+ "extensions": [
480
+ ".proto"
481
+ ],
482
+ "plugin_id": "proto",
483
+ "wasm": "proto_parser.wasm"
484
+ },
420
485
  "puppet": {
421
486
  "extensions": [
422
487
  ".pp"
@@ -519,6 +584,13 @@
519
584
  "plugin_id": "swift",
520
585
  "wasm": "swift_parser.wasm"
521
586
  },
587
+ "toml": {
588
+ "extensions": [
589
+ ".toml"
590
+ ],
591
+ "plugin_id": "toml",
592
+ "wasm": "toml_parser.wasm"
593
+ },
522
594
  "tsql": {
523
595
  "extensions": [
524
596
  ".tsql"
@@ -556,6 +628,13 @@
556
628
  "plugin_id": "vue",
557
629
  "wasm": "vue_parser.wasm"
558
630
  },
631
+ "wast": {
632
+ "extensions": [
633
+ ".wast"
634
+ ],
635
+ "plugin_id": "wat",
636
+ "wasm": "wat_parser.wasm"
637
+ },
559
638
  "wat": {
560
639
  "extensions": [
561
640
  ".wat"
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file