intentumdiff-python 0.0.1__py3-none-win_arm64.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.
- intentumdiff/__init__.py +134 -0
- intentumdiff/_differ_gate.py +210 -0
- intentumdiff/_differ_presentation.py +786 -0
- intentumdiff/_differ_runtime.py +320 -0
- intentumdiff/analysis/__init__.py +1 -0
- intentumdiff/analysis/compile_commands.py +151 -0
- intentumdiff/analysis/cross_file.py +71 -0
- intentumdiff/analysis/diagnostics.py +309 -0
- intentumdiff/analysis/guardrail_reports.py +254 -0
- intentumdiff/analysis/guardrails.py +318 -0
- intentumdiff/analysis/invariances.py +1207 -0
- intentumdiff/analysis/keyed_profiles.py +25 -0
- intentumdiff/analysis/resource_profiles.py +14 -0
- intentumdiff/analysis/schema_resolver.py +816 -0
- intentumdiff/analysis/text_review.py +46 -0
- intentumdiff/analysis/user_schemas.py +430 -0
- intentumdiff/assets.py +45 -0
- intentumdiff/cache/__init__.py +37 -0
- intentumdiff/cache/duckdb_store.py +98 -0
- intentumdiff/cache/sqlite_store.py +149 -0
- intentumdiff/cache/store.py +190 -0
- intentumdiff/cli/__init__.py +199 -0
- intentumdiff/cli/_commands.py +2141 -0
- intentumdiff/cli/_parser.py +1061 -0
- intentumdiff/cli/_shared.py +644 -0
- intentumdiff/content_type.py +59 -0
- intentumdiff/core/__init__.py +1 -0
- intentumdiff/core/commit_differ.py +599 -0
- intentumdiff/core/config.py +51 -0
- intentumdiff/core/cst_serializer.py +101 -0
- intentumdiff/core/diffignore.py +87 -0
- intentumdiff/core/index.py +189 -0
- intentumdiff/core/indexer.py +792 -0
- intentumdiff/core/models.py +837 -0
- intentumdiff/differ.py +2195 -0
- intentumdiff/github_app.py +287 -0
- intentumdiff/intentumdiff_rust_core/__init__.py +7 -0
- intentumdiff/intentumdiff_rust_core/ffi.py +8 -0
- intentumdiff/intentumdiff_rust_core/intentumdiff_rust_core.dll +0 -0
- intentumdiff/invariances/__init__.py +2 -0
- intentumdiff/invariances/rules.schema.json +283 -0
- intentumdiff/invariances/rules.yaml +349 -0
- intentumdiff/live_server.py +1314 -0
- intentumdiff/lsp/__init__.py +67 -0
- intentumdiff/lsp/client.py +544 -0
- intentumdiff/lsp/config.py +96 -0
- intentumdiff/lsp/enricher.py +227 -0
- intentumdiff/lsp/exceptions.py +27 -0
- intentumdiff/lsp/launcher.py +273 -0
- intentumdiff/lsp/servers.py +356 -0
- intentumdiff/lsp_server/__init__.py +14 -0
- intentumdiff/lsp_server/_codelens.py +67 -0
- intentumdiff/lsp_server/_diagnostics.py +62 -0
- intentumdiff/lsp_server/_handlers.py +175 -0
- intentumdiff/lsp_server/server.py +205 -0
- intentumdiff/plugins/__init__.py +1 -0
- intentumdiff/plugins/adapter.py +397 -0
- intentumdiff/plugins/builtins.py +323 -0
- intentumdiff/plugins/exceptions.py +93 -0
- intentumdiff/plugins/hub.py +1155 -0
- intentumdiff/plugins/language_metadata.py +250 -0
- intentumdiff/plugins/loader.py +1252 -0
- intentumdiff/plugins/registry.py +1079 -0
- intentumdiff/plugins/registry.schema.json +99 -0
- intentumdiff/plugins/registry_schema.py +280 -0
- intentumdiff/plugins/wit/plugin.wit +351 -0
- intentumdiff/rust_core.py +2370 -0
- intentumdiff/serve/__init__.py +19 -0
- intentumdiff/serve/_app.py +485 -0
- intentumdiff/serve/_static/index.html +326 -0
- intentumdiff/serve/_static/playground.js +567 -0
- intentumdiff/sources/__init__.py +1 -0
- intentumdiff/sources/base.py +28 -0
- intentumdiff/sources/file_source.py +48 -0
- intentumdiff/sources/git_source.py +375 -0
- intentumdiff/sources/live_buffer_source.py +113 -0
- intentumdiff/sources/patch_source.py +126 -0
- intentumdiff/sources/string_source.py +44 -0
- intentumdiff/testing.py +165 -0
- intentumdiff/vcs/__init__.py +37 -0
- intentumdiff/vcs/_safe_path.py +50 -0
- intentumdiff/vcs/base.py +136 -0
- intentumdiff/vcs/git_backend.py +97 -0
- intentumdiff/vcs/git_cli.py +100 -0
- intentumdiff/vcs/hg_backend.py +94 -0
- intentumdiff/vcs/perforce_backend.py +109 -0
- intentumdiff/vcs/svn_backend.py +105 -0
- intentumdiff/wasm/.gitkeep +2 -0
- intentumdiff/wasm/abap_parser.wasm +0 -0
- intentumdiff/wasm/adf_parser.wasm +0 -0
- intentumdiff/wasm/asciidoc_parser.wasm +0 -0
- intentumdiff/wasm/asm_parser.wasm +0 -0
- intentumdiff/wasm/assemblyscript_parser.wasm +0 -0
- intentumdiff/wasm/astro_parser.wasm +0 -0
- intentumdiff/wasm/bash_parser.wasm +0 -0
- intentumdiff/wasm/clojure_parser.wasm +0 -0
- intentumdiff/wasm/cmake_parser.wasm +0 -0
- intentumdiff/wasm/cpp_parser.wasm +0 -0
- intentumdiff/wasm/csharp_parser.wasm +0 -0
- intentumdiff/wasm/css_parser.wasm +0 -0
- intentumdiff/wasm/dart_parser.wasm +0 -0
- intentumdiff/wasm/databricks_parser.wasm +0 -0
- intentumdiff/wasm/dax_parser.wasm +0 -0
- intentumdiff/wasm/delphi_parser.wasm +0 -0
- intentumdiff/wasm/dockerfile_parser.wasm +0 -0
- intentumdiff/wasm/elixir_parser.wasm +0 -0
- intentumdiff/wasm/freebasic_parser.wasm +0 -0
- intentumdiff/wasm/generic_parser.wasm +0 -0
- intentumdiff/wasm/gitignore_parser.wasm +0 -0
- intentumdiff/wasm/go_parser.wasm +0 -0
- intentumdiff/wasm/gomod_parser.wasm +0 -0
- intentumdiff/wasm/graphql_parser.wasm +0 -0
- intentumdiff/wasm/groovy_parser.wasm +0 -0
- intentumdiff/wasm/haskell_parser.wasm +0 -0
- intentumdiff/wasm/html_parser.wasm +0 -0
- intentumdiff/wasm/ini_parser.wasm +0 -0
- intentumdiff/wasm/java_parser.wasm +0 -0
- intentumdiff/wasm/js_ts_parser.wasm +0 -0
- intentumdiff/wasm/json_parser.wasm +0 -0
- intentumdiff/wasm/kotlin_parser.wasm +0 -0
- intentumdiff/wasm/latex_parser.wasm +0 -0
- intentumdiff/wasm/lua_parser.wasm +0 -0
- intentumdiff/wasm/make_parser.wasm +0 -0
- intentumdiff/wasm/markdown_parser.wasm +0 -0
- intentumdiff/wasm/mdx_parser.wasm +0 -0
- intentumdiff/wasm/ocaml_parser.wasm +0 -0
- intentumdiff/wasm/odin_parser.wasm +0 -0
- intentumdiff/wasm/parser_manifest.json +590 -0
- intentumdiff/wasm/perl_parser.wasm +0 -0
- intentumdiff/wasm/php_parser.wasm +0 -0
- intentumdiff/wasm/plsql_parser.wasm +0 -0
- intentumdiff/wasm/po_parser.wasm +0 -0
- intentumdiff/wasm/postscript_parser.wasm +0 -0
- intentumdiff/wasm/powershell_parser.wasm +0 -0
- intentumdiff/wasm/proto_parser.wasm +0 -0
- intentumdiff/wasm/puppet_parser.wasm +0 -0
- intentumdiff/wasm/python_parser.wasm +0 -0
- intentumdiff/wasm/qsharp_parser.wasm +0 -0
- intentumdiff/wasm/r_parser.wasm +0 -0
- intentumdiff/wasm/reasonml_parser.wasm +0 -0
- intentumdiff/wasm/ruby_parser.wasm +0 -0
- intentumdiff/wasm/rust_parser.wasm +0 -0
- intentumdiff/wasm/sas_parser.wasm +0 -0
- intentumdiff/wasm/scala_parser.wasm +0 -0
- intentumdiff/wasm/scss_parser.wasm +0 -0
- intentumdiff/wasm/sql_parser.wasm +0 -0
- intentumdiff/wasm/squirrel_parser.wasm +0 -0
- intentumdiff/wasm/svelte_parser.wasm +0 -0
- intentumdiff/wasm/swift_parser.wasm +0 -0
- intentumdiff/wasm/terraform_parser.wasm +0 -0
- intentumdiff/wasm/toml_parser.wasm +0 -0
- intentumdiff/wasm/tsql_parser.wasm +0 -0
- intentumdiff/wasm/vbnet_parser.wasm +0 -0
- intentumdiff/wasm/vue_parser.wasm +0 -0
- intentumdiff/wasm/wat_parser.wasm +0 -0
- intentumdiff/wasm/xml_parser.wasm +0 -0
- intentumdiff/wasm/yaml_parser.wasm +0 -0
- intentumdiff/wasm/zig_parser.wasm +0 -0
- intentumdiff/watcher.py +259 -0
- intentumdiff_python-0.0.1.dist-info/METADATA +112 -0
- intentumdiff_python-0.0.1.dist-info/RECORD +165 -0
- intentumdiff_python-0.0.1.dist-info/WHEEL +4 -0
- intentumdiff_python-0.0.1.dist-info/entry_points.txt +80 -0
- intentumdiff_python-0.0.1.dist-info/licenses/LICENSE +21 -0
- intentumdiff_python-0.0.1.dist-info/sboms/intentumdiff-rust-core.cyclonedx.json +10968 -0
intentumdiff/watcher.py
ADDED
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
"""intentumdiff.watcher
|
|
2
|
+
~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
3
|
+
|
|
4
|
+
File-system watcher for ``intentumdiff watch``. Watches a set of files/directories
|
|
5
|
+
for modifications, debounces rapid editor saves, and runs a semantic diff
|
|
6
|
+
against the current HEAD for every changed file.
|
|
7
|
+
|
|
8
|
+
Requires the ``watchdog`` package, which is a core IntentumDiff dependency.
|
|
9
|
+
"""
|
|
10
|
+
|
|
11
|
+
from __future__ import annotations
|
|
12
|
+
|
|
13
|
+
import threading
|
|
14
|
+
import datetime
|
|
15
|
+
from pathlib import Path
|
|
16
|
+
from typing import TYPE_CHECKING, Callable, Any
|
|
17
|
+
|
|
18
|
+
from watchdog.events import FileSystemEvent, FileSystemEventHandler
|
|
19
|
+
from watchdog.observers import Observer
|
|
20
|
+
|
|
21
|
+
from intentumdiff.plugins.exceptions import PluginNotFoundError
|
|
22
|
+
from intentumdiff.sources.git_source import WorkingTreeSource
|
|
23
|
+
from intentumdiff.vcs.git_cli import NotAGitRepositoryError, resolve_repo_root
|
|
24
|
+
|
|
25
|
+
if TYPE_CHECKING:
|
|
26
|
+
from intentumdiff.core.models import SemanticDiff
|
|
27
|
+
from intentumdiff.differ import SemanticDiffer
|
|
28
|
+
from rich.console import Console as RichConsole
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
# ---------------------------------------------------------------------------
|
|
32
|
+
# Temp-file filter
|
|
33
|
+
# ---------------------------------------------------------------------------
|
|
34
|
+
|
|
35
|
+
_IGNORED_SUFFIXES = frozenset({".swp", ".swx", ".tmp", ".bak", ".orig", ".pyc"})
|
|
36
|
+
_IGNORED_BASENAME_SUFFIXES = ("~",)
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
def _is_temp_file(path: str) -> bool:
|
|
40
|
+
"""Return True for editor swap/backup/temp files that should not trigger a diff."""
|
|
41
|
+
p = Path(path)
|
|
42
|
+
if p.suffix.lower() in _IGNORED_SUFFIXES:
|
|
43
|
+
return True
|
|
44
|
+
if p.name.endswith(_IGNORED_BASENAME_SUFFIXES):
|
|
45
|
+
return True
|
|
46
|
+
return False
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
# ---------------------------------------------------------------------------
|
|
50
|
+
# Watchdog event handler
|
|
51
|
+
# ---------------------------------------------------------------------------
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
class _WatchEventHandler(FileSystemEventHandler):
|
|
55
|
+
"""Filters transient files and dispatches modified/created paths to FileWatcher."""
|
|
56
|
+
|
|
57
|
+
def __init__(self, watcher: FileWatcher) -> None:
|
|
58
|
+
super().__init__()
|
|
59
|
+
self._watcher = watcher
|
|
60
|
+
|
|
61
|
+
def on_modified(self, event: FileSystemEvent) -> None:
|
|
62
|
+
if event.is_directory:
|
|
63
|
+
return
|
|
64
|
+
path = str(event.src_path)
|
|
65
|
+
if _is_temp_file(path):
|
|
66
|
+
return
|
|
67
|
+
self._watcher._schedule_diff(path)
|
|
68
|
+
|
|
69
|
+
def on_created(self, event: FileSystemEvent) -> None:
|
|
70
|
+
"""Handles atomic-rename saves (VS Code on Windows, vim 'writebackup')."""
|
|
71
|
+
if event.is_directory:
|
|
72
|
+
return
|
|
73
|
+
path = str(event.src_path)
|
|
74
|
+
if _is_temp_file(path):
|
|
75
|
+
return
|
|
76
|
+
self._watcher._schedule_diff(path)
|
|
77
|
+
|
|
78
|
+
def on_moved(self, event: FileSystemEvent) -> None:
|
|
79
|
+
"""Handles rename-into-place saves (common on Windows with ReadDirectoryChangesW)."""
|
|
80
|
+
if event.is_directory:
|
|
81
|
+
return
|
|
82
|
+
dest = str(event.dest_path)
|
|
83
|
+
if not _is_temp_file(dest):
|
|
84
|
+
self._watcher._schedule_diff(dest)
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
# ---------------------------------------------------------------------------
|
|
88
|
+
# FileWatcher
|
|
89
|
+
# ---------------------------------------------------------------------------
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
class FileWatcher:
|
|
93
|
+
"""Watch files/directories and emit semantic diffs when they are saved.
|
|
94
|
+
|
|
95
|
+
Parameters
|
|
96
|
+
----------
|
|
97
|
+
paths:
|
|
98
|
+
Files or directories to watch. Directories are watched recursively.
|
|
99
|
+
differ:
|
|
100
|
+
A configured :class:`~intentumdiff.differ.SemanticDiffer` instance
|
|
101
|
+
that is reused for every diff.
|
|
102
|
+
render_fn:
|
|
103
|
+
Callable that receives a :class:`~intentumdiff.core.models.SemanticDiff`
|
|
104
|
+
and renders it to the user. Called from a background thread — the
|
|
105
|
+
callable must be thread-safe (Rich Console satisfies this).
|
|
106
|
+
ref:
|
|
107
|
+
Git ref to compare the working tree against (default: ``"HEAD"``).
|
|
108
|
+
debounce:
|
|
109
|
+
Seconds to wait after the last file-system event before running the diff
|
|
110
|
+
(default: 0.3 s). Coalesces rapid editor saves for the same file.
|
|
111
|
+
console:
|
|
112
|
+
Rich ``Console`` used for status and warning messages. Defaults to a
|
|
113
|
+
new stderr console if not provided.
|
|
114
|
+
"""
|
|
115
|
+
|
|
116
|
+
def __init__(
|
|
117
|
+
self,
|
|
118
|
+
paths: list[str | Path],
|
|
119
|
+
differ: SemanticDiffer,
|
|
120
|
+
*,
|
|
121
|
+
render_fn: Callable[[SemanticDiff], None],
|
|
122
|
+
ref: str = "HEAD",
|
|
123
|
+
debounce: float = 0.3,
|
|
124
|
+
console: RichConsole | None = None,
|
|
125
|
+
) -> None:
|
|
126
|
+
from rich.console import Console
|
|
127
|
+
|
|
128
|
+
self._paths = [Path(p).resolve() for p in paths]
|
|
129
|
+
self._differ = differ
|
|
130
|
+
self._render_fn = render_fn
|
|
131
|
+
self._ref = ref
|
|
132
|
+
self._debounce = debounce
|
|
133
|
+
# _warn goes to stderr; _out goes to stdout for diff output
|
|
134
|
+
self._warn: RichConsole = console or Console(stderr=True, highlight=False)
|
|
135
|
+
self._out: RichConsole = Console()
|
|
136
|
+
self._observer: Observer = Observer()
|
|
137
|
+
self._handler = _WatchEventHandler(self)
|
|
138
|
+
self._timers: dict[str, threading.Timer] = {}
|
|
139
|
+
self._lock = threading.Lock()
|
|
140
|
+
|
|
141
|
+
# ------------------------------------------------------------------
|
|
142
|
+
# Public lifecycle
|
|
143
|
+
# ------------------------------------------------------------------
|
|
144
|
+
|
|
145
|
+
def start(self) -> None:
|
|
146
|
+
"""Register watches and start the observer thread."""
|
|
147
|
+
watch_count = 0
|
|
148
|
+
for p in self._paths:
|
|
149
|
+
if not p.exists():
|
|
150
|
+
self._warn.print(
|
|
151
|
+
f"[yellow]Warning: path does not exist and will be skipped: {p}[/yellow]"
|
|
152
|
+
)
|
|
153
|
+
continue
|
|
154
|
+
recursive = p.is_dir()
|
|
155
|
+
self._observer.schedule(self._handler, str(p), recursive=recursive)
|
|
156
|
+
watch_count += 1
|
|
157
|
+
|
|
158
|
+
if watch_count == 0:
|
|
159
|
+
raise ValueError("No valid paths to watch — all supplied paths were missing.")
|
|
160
|
+
|
|
161
|
+
self._observer.start()
|
|
162
|
+
|
|
163
|
+
def stop(self) -> None:
|
|
164
|
+
"""Cancel all pending debounce timers and stop the observer thread."""
|
|
165
|
+
with self._lock:
|
|
166
|
+
for t in self._timers.values():
|
|
167
|
+
t.cancel()
|
|
168
|
+
self._timers.clear()
|
|
169
|
+
self._observer.stop()
|
|
170
|
+
self._observer.join()
|
|
171
|
+
|
|
172
|
+
def wait(self) -> None:
|
|
173
|
+
"""Block the calling thread until the observer stops (or KeyboardInterrupt)."""
|
|
174
|
+
self._observer.join()
|
|
175
|
+
|
|
176
|
+
# ------------------------------------------------------------------
|
|
177
|
+
# Internal: debounce scheduling
|
|
178
|
+
# ------------------------------------------------------------------
|
|
179
|
+
|
|
180
|
+
def _schedule_diff(self, path: str) -> None:
|
|
181
|
+
"""Schedule a diff for *path*, cancelling any existing pending timer first."""
|
|
182
|
+
with self._lock:
|
|
183
|
+
existing = self._timers.pop(path, None)
|
|
184
|
+
if existing is not None:
|
|
185
|
+
existing.cancel()
|
|
186
|
+
t = threading.Timer(self._debounce, self._run_diff, args=(path,))
|
|
187
|
+
self._timers[path] = t
|
|
188
|
+
t.start()
|
|
189
|
+
|
|
190
|
+
# ------------------------------------------------------------------
|
|
191
|
+
# Internal: diff execution
|
|
192
|
+
# ------------------------------------------------------------------
|
|
193
|
+
|
|
194
|
+
def _run_diff(self, path: str) -> None:
|
|
195
|
+
"""Resolve the git repo context, run the diff, and render the result."""
|
|
196
|
+
# Clean up our own timer entry
|
|
197
|
+
with self._lock:
|
|
198
|
+
self._timers.pop(path, None)
|
|
199
|
+
|
|
200
|
+
abs_path = Path(path).resolve()
|
|
201
|
+
|
|
202
|
+
# ── Resolve git repo ──────────────────────────────────────────────
|
|
203
|
+
try:
|
|
204
|
+
repo_root = Path(resolve_repo_root(abs_path.parent)).resolve()
|
|
205
|
+
except NotAGitRepositoryError:
|
|
206
|
+
self._warn.print(
|
|
207
|
+
f"[yellow]Warning: {path!r} is not inside a git repository — skipping[/yellow]"
|
|
208
|
+
)
|
|
209
|
+
return
|
|
210
|
+
try:
|
|
211
|
+
rel_path = abs_path.relative_to(repo_root)
|
|
212
|
+
except ValueError:
|
|
213
|
+
self._warn.print(
|
|
214
|
+
f"[yellow]Warning: cannot resolve {abs_path} relative to "
|
|
215
|
+
f"repo root {repo_root} — skipping[/yellow]"
|
|
216
|
+
)
|
|
217
|
+
return
|
|
218
|
+
|
|
219
|
+
rel_path_str = str(rel_path)
|
|
220
|
+
|
|
221
|
+
# ── Run the diff ──────────────────────────────────────────────────
|
|
222
|
+
try:
|
|
223
|
+
source = WorkingTreeSource(
|
|
224
|
+
repo_path=str(repo_root),
|
|
225
|
+
file_path=rel_path_str,
|
|
226
|
+
ref=self._ref,
|
|
227
|
+
)
|
|
228
|
+
diff = self._differ.diff(source)
|
|
229
|
+
except KeyError:
|
|
230
|
+
# File not in the tree at self._ref — new/untracked file
|
|
231
|
+
self._warn.print(
|
|
232
|
+
f"[yellow]{rel_path_str}[/yellow] "
|
|
233
|
+
f"[dim]— untracked (no version at {self._ref!r})[/dim]"
|
|
234
|
+
)
|
|
235
|
+
return
|
|
236
|
+
except FileNotFoundError:
|
|
237
|
+
# File was deleted between the event firing and the diff running
|
|
238
|
+
return
|
|
239
|
+
except PluginNotFoundError:
|
|
240
|
+
# No parser registered for this file extension — silently ignore
|
|
241
|
+
return
|
|
242
|
+
except Exception as exc:
|
|
243
|
+
self._warn.print(f"[red]Error diffing {rel_path_str!r}:[/red] {exc}")
|
|
244
|
+
return
|
|
245
|
+
|
|
246
|
+
# ── Render ────────────────────────────────────────────────────────
|
|
247
|
+
from rich.rule import Rule
|
|
248
|
+
|
|
249
|
+
ts = datetime.datetime.now().strftime("%H:%M:%S")
|
|
250
|
+
self._out.print(Rule(title=f"[cyan]{rel_path_str}[/cyan] [dim]{ts}[/dim]"))
|
|
251
|
+
|
|
252
|
+
if not diff.changes:
|
|
253
|
+
self._out.print(f"[dim]{rel_path_str} — no changes[/dim]")
|
|
254
|
+
return
|
|
255
|
+
if diff.is_style_only:
|
|
256
|
+
self._out.print(f"[dim]{rel_path_str} — style changes only[/dim]")
|
|
257
|
+
return
|
|
258
|
+
|
|
259
|
+
self._render_fn(diff)
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: intentumdiff-python
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Requires-Dist: click>=8.1
|
|
5
|
+
Requires-Dist: pydantic>=2.7
|
|
6
|
+
Requires-Dist: rich>=13.0
|
|
7
|
+
Requires-Dist: rich-click>=1.8
|
|
8
|
+
Requires-Dist: unidiff>=0.7
|
|
9
|
+
Requires-Dist: pygments>=2.17
|
|
10
|
+
Requires-Dist: pyyaml>=6.0
|
|
11
|
+
Requires-Dist: wasmtime>=47.0.1
|
|
12
|
+
Requires-Dist: defusedxml>=0.7
|
|
13
|
+
Requires-Dist: pathspec>=0.12
|
|
14
|
+
Requires-Dist: watchdog>=3.0
|
|
15
|
+
Requires-Dist: duckdb>=0.10 ; extra == 'analytics'
|
|
16
|
+
Requires-Dist: numpy>=1.26 ; extra == 'analytics'
|
|
17
|
+
Requires-Dist: pandas>=2.0 ; extra == 'analytics'
|
|
18
|
+
Requires-Dist: pytest>=8.0 ; extra == 'dev'
|
|
19
|
+
Requires-Dist: pytest-snapshot ; extra == 'dev'
|
|
20
|
+
Requires-Dist: pytest-benchmark>=4.0 ; extra == 'dev'
|
|
21
|
+
Requires-Dist: pytest-timeout>=2.3 ; extra == 'dev'
|
|
22
|
+
Requires-Dist: coverage>=7.0 ; extra == 'dev'
|
|
23
|
+
Requires-Dist: ruff>=0.4 ; extra == 'dev'
|
|
24
|
+
Requires-Dist: mypy>=1.10 ; extra == 'dev'
|
|
25
|
+
Requires-Dist: pre-commit>=4.0 ; extra == 'dev'
|
|
26
|
+
Requires-Dist: hypothesis>=6.100 ; extra == 'dev'
|
|
27
|
+
Requires-Dist: pydantic[mypy] ; extra == 'dev'
|
|
28
|
+
Requires-Dist: httpx>=0.27 ; extra == 'dev'
|
|
29
|
+
Requires-Dist: gitpython>=3.1.57 ; extra == 'dev'
|
|
30
|
+
Requires-Dist: lsprotocol>=2023.0 ; extra == 'dev'
|
|
31
|
+
Requires-Dist: pygls>=1.3 ; extra == 'dev'
|
|
32
|
+
Requires-Dist: duckdb>=0.10 ; extra == 'dev'
|
|
33
|
+
Requires-Dist: numpy>=1.26 ; extra == 'dev'
|
|
34
|
+
Requires-Dist: pandas>=2.0 ; extra == 'dev'
|
|
35
|
+
Requires-Dist: lsprotocol>=2023.0 ; extra == 'lsp'
|
|
36
|
+
Requires-Dist: pygls>=1.3 ; extra == 'lsp-server'
|
|
37
|
+
Requires-Dist: fastapi>=0.110 ; extra == 'serve'
|
|
38
|
+
Requires-Dist: starlette>=1.3.1 ; extra == 'serve'
|
|
39
|
+
Requires-Dist: uvicorn[standard]>=0.29 ; extra == 'serve'
|
|
40
|
+
Provides-Extra: analytics
|
|
41
|
+
Provides-Extra: dev
|
|
42
|
+
Provides-Extra: hg
|
|
43
|
+
Provides-Extra: lsp
|
|
44
|
+
Provides-Extra: lsp-server
|
|
45
|
+
Provides-Extra: perforce
|
|
46
|
+
Provides-Extra: serve
|
|
47
|
+
License-File: LICENSE
|
|
48
|
+
Summary: Semantic code review: detect intent, moves, refactorings, and style changes
|
|
49
|
+
Keywords: diff,semantic,ast,refactoring,code-analysis
|
|
50
|
+
Author: BuchochelliQ Labs
|
|
51
|
+
Maintainer: BuchochelliQ Labs
|
|
52
|
+
License: MIT
|
|
53
|
+
Requires-Python: >=3.12
|
|
54
|
+
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
|
|
55
|
+
Project-URL: Documentation, https://github.com/buchochelliq-labs/intentumdiff/tree/main/docs
|
|
56
|
+
Project-URL: Homepage, https://github.com/buchochelliq-labs/intentumdiff
|
|
57
|
+
Project-URL: Issues, https://github.com/buchochelliq-labs/intentumdiff/issues
|
|
58
|
+
Project-URL: Repository, https://github.com/buchochelliq-labs/intentumdiff
|
|
59
|
+
|
|
60
|
+
# intentumdiff (Python)
|
|
61
|
+
|
|
62
|
+
[](https://github.com/buchochelliq-labs/intentumdiff-python/actions/workflows/ci.yml)
|
|
63
|
+
[](LICENSE)
|
|
64
|
+
[](https://www.python.org/downloads/)
|
|
65
|
+
|
|
66
|
+
The **Python binding and `intentumdiff` PyPI package** — a thin shell over the IntentumDiff
|
|
67
|
+
engine. Semantic code review: detect intent, moves, refactorings, and style changes.
|
|
68
|
+
|
|
69
|
+
All diffing, matching, classification, guardrails, and presentation live in the engine
|
|
70
|
+
([intentumdiff-core](https://github.com/buchochelliq-labs/intentumdiff-core), Rust). This
|
|
71
|
+
package is the public Python API, CLI, and VCS/config orchestration: it loads the
|
|
72
|
+
engine's cdylib via ctypes and drives the stable C ABI (`intentumdiff_call`). The binding
|
|
73
|
+
does zero functional work.
|
|
74
|
+
|
|
75
|
+
```python
|
|
76
|
+
from intentumdiff import SemanticDiffer
|
|
77
|
+
|
|
78
|
+
diff = SemanticDiffer().diff_strings(old, new, "example.py")
|
|
79
|
+
for change in diff.changes:
|
|
80
|
+
print(change.change_type, change.description)
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
## Building from source
|
|
84
|
+
|
|
85
|
+
The wheel bundles two provisioned build inputs — the engine and the parser components:
|
|
86
|
+
|
|
87
|
+
```bash
|
|
88
|
+
python scripts/provision_build_inputs.py \
|
|
89
|
+
--core-dir /path/to/intentumdiff-core \ # or let it clone the repo
|
|
90
|
+
--wasm-dir /path/to/built/components # built by the parser repos
|
|
91
|
+
pip install -e .[dev]
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
Released wheels on PyPI are pre-built per platform — installing from source is a
|
|
95
|
+
development workflow, not the user path.
|
|
96
|
+
|
|
97
|
+
## Tests
|
|
98
|
+
|
|
99
|
+
```bash
|
|
100
|
+
python -m pytest tests/unit -q
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
The suite runs entirely over the ctypes path (there is no other path — the engine has
|
|
104
|
+
no Python dependency and this package has no engine).
|
|
105
|
+
|
|
106
|
+
## Provenance
|
|
107
|
+
|
|
108
|
+
Migrated files-only (no history) from the IntentumDiff monorepo
|
|
109
|
+
(`buchochelliq-labs/intentumdiff`), which remains the archive of record.
|
|
110
|
+
|
|
111
|
+
License: MIT.
|
|
112
|
+
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
intentumdiff/__init__.py,sha256=KVWCVCiv-zMGNknWqi943wILbfzkD9_OAVYxqNebc1g,3823
|
|
2
|
+
intentumdiff/_differ_gate.py,sha256=7RooL_pxybvbmjk4qr6SDzYIIxl6DTkiSNM1BRh1t2o,12379
|
|
3
|
+
intentumdiff/_differ_presentation.py,sha256=7nw0wvqkWyyehH8dzGcT3nZ4F5e4Ta-2dsuZUnsNM4s,30835
|
|
4
|
+
intentumdiff/_differ_runtime.py,sha256=hY9vQzCuvUnOCNWWk7CuYuJsNwD7odkRGQDkm9-evBA,12200
|
|
5
|
+
intentumdiff/analysis/__init__.py,sha256=2A8p7W2BaclTBxOOpv1BBk9Gp5ycx4uH63O1q-lWZJ8,25
|
|
6
|
+
intentumdiff/analysis/compile_commands.py,sha256=kaEmKH0bfUOBzxCwSiNYsw6iRxyC7ZT_jOREcRmNNWc,5044
|
|
7
|
+
intentumdiff/analysis/cross_file.py,sha256=hBRSCvCwrbcIHSbqcwd4dVlvZVAlgV_H393VDDy3-1s,2792
|
|
8
|
+
intentumdiff/analysis/diagnostics.py,sha256=BTVEVOQEWHJ2EGmjldohg4_ez7Wr1vbiPcT9s2WEFMU,10120
|
|
9
|
+
intentumdiff/analysis/guardrail_reports.py,sha256=BfWhQR9UKpG0LC-oMlJT1xUjXtEshFN5yhLcx8mwQAQ,8214
|
|
10
|
+
intentumdiff/analysis/guardrails.py,sha256=YM3QqalQENNLh8q-uxd8ssaCQmoJUtjkd_JLKh_Uqlk,11266
|
|
11
|
+
intentumdiff/analysis/invariances.py,sha256=vRfRDDkFe4NOrjc5aiLUkewN6pEor9QQCNvlO1sCeIE,38542
|
|
12
|
+
intentumdiff/analysis/keyed_profiles.py,sha256=4yUIqJymRcMC74vmf6ocJyOlb9NyimQ2sVfjD-wy3XE,859
|
|
13
|
+
intentumdiff/analysis/resource_profiles.py,sha256=hpqXX6e8tGe9-i4onj79LUM11SKemVyQyd-EVA-aLr4,677
|
|
14
|
+
intentumdiff/analysis/schema_resolver.py,sha256=NScvpXg80zLXMRp8b3huncEJaFepF2GSuFeGNLqavxY,28146
|
|
15
|
+
intentumdiff/analysis/text_review.py,sha256=WGrzulL4vv809WysZKgHsDeqNiuo9Bumy9BOoo_DNJc,1865
|
|
16
|
+
intentumdiff/analysis/user_schemas.py,sha256=hsU3fKGykQ6ZsL91wlaLshFpvSICsgdtOQku8WOWYZQ,17065
|
|
17
|
+
intentumdiff/assets.py,sha256=ekLSJlJzD1Ans2L9Ji8JLeqJ-36HVKwcIXApw6Ujn5M,1110
|
|
18
|
+
intentumdiff/cache/__init__.py,sha256=JAA2FV3i2zIz1XyL9cAgeH1Ll6CUx3aDmm39g-jzLH4,1141
|
|
19
|
+
intentumdiff/cache/duckdb_store.py,sha256=TyiJ-vmdHy5c9Wq1kTqS26TrEJL5XK5x43g7_CjG69w,3905
|
|
20
|
+
intentumdiff/cache/sqlite_store.py,sha256=EPFp4Fzd98Ed0sZRzZCqHfnyUG-tj8dMeEZj-KId1jk,5967
|
|
21
|
+
intentumdiff/cache/store.py,sha256=D1z_WHL42J0b6HnZib_VCZwvXCZjdHz0z1Q_XkiKH8s,6944
|
|
22
|
+
intentumdiff/cli/__init__.py,sha256=yNkWiXn6POwUhoHE4iP_aWaQfblDM7nECln2ZN0g8VY,5002
|
|
23
|
+
intentumdiff/cli/_commands.py,sha256=hou2XyQWmNAC4wYBlNiwvss2dDy_18D1mW6Y8-mLuNs,78323
|
|
24
|
+
intentumdiff/cli/_parser.py,sha256=6M6WYT1wSQB7TyIVUYFOGymo26kQHuUrr5nZoJZlIXQ,41175
|
|
25
|
+
intentumdiff/cli/_shared.py,sha256=47KpuqtuI_qHHxKRA-oRh6uN-cmcQ-h9WaLtd_pRcnY,21777
|
|
26
|
+
intentumdiff/content_type.py,sha256=cwN5qDNVQ-bQxP1V4wlssHoUYtEaOR3l4pP1sqVwM8s,2086
|
|
27
|
+
intentumdiff/core/__init__.py,sha256=7B-dE9Y5OFpm01nVCPo7M5kN2diA5z7pOHzb5GAFf54,21
|
|
28
|
+
intentumdiff/core/commit_differ.py,sha256=lqmX2H61FIpsmjyoDzSeAA8CB0mArft4CUpqpHEObNw,24384
|
|
29
|
+
intentumdiff/core/config.py,sha256=W0Ltd6iDahBoEjOTsG-iBXrztiTXu0Bn1QzitHUzw7A,1948
|
|
30
|
+
intentumdiff/core/cst_serializer.py,sha256=a0S2wc45R2u6Fs8yxk1FIVrnca-wgBrBKkJA7eNnxC0,3591
|
|
31
|
+
intentumdiff/core/diffignore.py,sha256=kT-Bg9zeAPaZQ5RUl27luuoN3iJlMFss-WBlQFILTyI,2653
|
|
32
|
+
intentumdiff/core/index.py,sha256=ZJ1w7SFfXoW2C9L4U8f8MmRI-S52ugnaHjY5fWHP4Gk,7929
|
|
33
|
+
intentumdiff/core/indexer.py,sha256=AICGwYEBXeOVip7dPSvceoNy0Z6PI9v1jd6d7bKKdpM,31153
|
|
34
|
+
intentumdiff/core/models.py,sha256=F75Y3It4PpQCtq_ODknSZ6-0821hDbuJ2PuJPSrT96I,33669
|
|
35
|
+
intentumdiff/differ.py,sha256=jImLm_qbAkZxVonQpFCpDiiieWwn0Nn2fpXmLgVD_1Y,101206
|
|
36
|
+
intentumdiff/github_app.py,sha256=meYNzhn7YUOEWKUgP0IBUog8mexNr60x40_Be-6uJQg,10462
|
|
37
|
+
intentumdiff/intentumdiff_rust_core/__init__.py,sha256=B2Ay4R2SMS_V2LeaC6Cz7YrMlIvfdpGfm_jHRHYK70I,153
|
|
38
|
+
intentumdiff/intentumdiff_rust_core/ffi.py,sha256=Yk2PZ6AViYBJnGlRtzZlFdsaoXJp-yVJrb9pIr3i7XI,366
|
|
39
|
+
intentumdiff/intentumdiff_rust_core/intentumdiff_rust_core.dll,sha256=szuQLq96i3LZXU_kA3mNxunYMKFYT2WlebdlELF-EqU,22223872
|
|
40
|
+
intentumdiff/invariances/__init__.py,sha256=4yCzwg0mdWK9WZNT6Pw3eMbMp_IQLGNHuO3ONDTG8AQ,48
|
|
41
|
+
intentumdiff/invariances/rules.schema.json,sha256=6JdaC-T8c4uQaCxIc2vp6L3HpcY4UBenE85THeCzk2o,6193
|
|
42
|
+
intentumdiff/invariances/rules.yaml,sha256=iKbI4vKsxs4v1ecQJfXphDqPlekmVDLLNg4aNIXD1IA,11699
|
|
43
|
+
intentumdiff/live_server.py,sha256=co19la8q-VANC4_8cdl0OhBMo6I6qfnWsPqThVGwGvw,51944
|
|
44
|
+
intentumdiff/lsp/__init__.py,sha256=A1OgDGEOtCG2pv1CY0HmVQO2_emIHP23C_Us_WcBcsM,2197
|
|
45
|
+
intentumdiff/lsp/client.py,sha256=v3R-ycTcdKM7af6R6BlKenacn8mh1skRH3qm4zyCJjE,22635
|
|
46
|
+
intentumdiff/lsp/config.py,sha256=XAhn1MXgfQnRu6zxF1eWsW43lM74zqkvcIg3Hd1CLqs,3308
|
|
47
|
+
intentumdiff/lsp/enricher.py,sha256=f0NurxcZRDH-Me0eDVBoXoK8uUoZT75szka8svY1rWU,8430
|
|
48
|
+
intentumdiff/lsp/exceptions.py,sha256=Lxgwc1FN7Aa1zfMgHuswGtDiG6s8CdvmLm0UaGfwchY,862
|
|
49
|
+
intentumdiff/lsp/launcher.py,sha256=3GETQ18nIr5VLuKZKpplLJMVx78UgQqCDLwYDNCw7ro,10464
|
|
50
|
+
intentumdiff/lsp/servers.py,sha256=gjdpJeS9eQ_YktH3-sSke3jwyR6egWpETuLnGEHu0kY,13394
|
|
51
|
+
intentumdiff/lsp_server/__init__.py,sha256=R11YIZ4iIQYF_GBjOly4c2GBgIjfFTadf-btpnFuheQ,323
|
|
52
|
+
intentumdiff/lsp_server/_codelens.py,sha256=VxzVkIS93srJqZAxi_-IkjHZosDmyfmI78fFEY5Ppv8,2253
|
|
53
|
+
intentumdiff/lsp_server/_diagnostics.py,sha256=EirhJv7Jjk5VuJd_UHYPk0ICEv0xlfAbXf0bCt0feqw,2161
|
|
54
|
+
intentumdiff/lsp_server/_handlers.py,sha256=YOuRip41XR9PVC0G1k3qdyRWqG3xyQEPJbBBlyyCF8o,6253
|
|
55
|
+
intentumdiff/lsp_server/server.py,sha256=3g1IbE2C4rpmjIpl6vgpzl6oCqd4ayR86NuMDjUSg1M,7991
|
|
56
|
+
intentumdiff/plugins/__init__.py,sha256=s2XapvTxOyryKHwH4xrJbkMs_7DeuK5j8C65lJYpImU,24
|
|
57
|
+
intentumdiff/plugins/adapter.py,sha256=qOY96i8FdQN5OGBEe__eeNuSnYo2cYeC3qOsPMmy2wU,13775
|
|
58
|
+
intentumdiff/plugins/builtins.py,sha256=hzQeS9y47wkBx4FWb2guop66s9wc6z5fYCuTQMsdK5s,6826
|
|
59
|
+
intentumdiff/plugins/exceptions.py,sha256=jEFGPwv-v7hKYaSUpnd0Lla5SL8xIOe5XK-dwjoka2g,3009
|
|
60
|
+
intentumdiff/plugins/hub.py,sha256=CLMUAlF9WbJjQzh9qFw6dSyVZ9uY_7LkXnjOmYeZzGw,46376
|
|
61
|
+
intentumdiff/plugins/language_metadata.py,sha256=FudCrjFP3y2fRUzgKVJOA5_GVzIMALWvPe1_UuRA_YA,7380
|
|
62
|
+
intentumdiff/plugins/loader.py,sha256=HqaFk-svSf4mUz3u8nKJ-_k4OC00t6HxLh0ym_DIIxg,49762
|
|
63
|
+
intentumdiff/plugins/registry.py,sha256=8RBidgYZ_2uOyQbCtCEa2mYiAbwxvkRhQaQ5afTNs5o,44603
|
|
64
|
+
intentumdiff/plugins/registry.schema.json,sha256=Uzg2z5Sh5HZ4X05y5j5VxwhCb7CoKAbYvQobP2deP4Q,5159
|
|
65
|
+
intentumdiff/plugins/registry_schema.py,sha256=Sj0lVKhUx79x-_nYNj9GlH_OYSr0WFd4VPFO248dObo,11654
|
|
66
|
+
intentumdiff/plugins/wit/plugin.wit,sha256=1eSWmS6RBrmI6jcHgzAotC13ABFVfCdODXNlWNabPbE,15341
|
|
67
|
+
intentumdiff/rust_core.py,sha256=LwYxfHkGmSaWaXHX8BzME42UnFpq6Z1-i4o9e-k9CyY,99462
|
|
68
|
+
intentumdiff/serve/__init__.py,sha256=mi4xS8bJuAmZ9HD07BvRgBT4b7yseXM_JUCt1ZH1DIk,421
|
|
69
|
+
intentumdiff/serve/_app.py,sha256=DSJ9IgjNJ1zEuXpa3WjPBktEgLVNRBs-_9b7qz6b4-w,18590
|
|
70
|
+
intentumdiff/serve/_static/index.html,sha256=jBt17htVkvY-QgvgBxwUPPMBTOFZDTNtFblDLLiEYpk,9516
|
|
71
|
+
intentumdiff/serve/_static/playground.js,sha256=LDcIKQY-DoQRSjIIxbPMYpxeZH_n_YZS9eIkseALK-U,17864
|
|
72
|
+
intentumdiff/sources/__init__.py,sha256=sw1VHFuQtdxrDX4DD54CMDGukHTf0Vgu8XJckAuyIeg,24
|
|
73
|
+
intentumdiff/sources/base.py,sha256=D75LnNp_w24mZiz9Hj3u2FfLITyYEnJ56YY37IljNyQ,776
|
|
74
|
+
intentumdiff/sources/file_source.py,sha256=-jbJlLx2KbDlofEVxaBXjUuYcY6qnwekW6zn82m8BPQ,1394
|
|
75
|
+
intentumdiff/sources/git_source.py,sha256=_GmZAyrBAYV1cBCbeQyQRjPmZFcsbywDqq8o0cMYNxQ,14185
|
|
76
|
+
intentumdiff/sources/live_buffer_source.py,sha256=XUr9DULXvrm3m3oGxSbK3Ihafd3C0W9_wB_YPXaby6A,4399
|
|
77
|
+
intentumdiff/sources/patch_source.py,sha256=cNv85i05fJmuvNlLS21sJ6d1rS1IpU0eE6Mt3pCig2o,4305
|
|
78
|
+
intentumdiff/sources/string_source.py,sha256=qxGTZzV91qVeuew3t2b2BJc1-IXy1Dh4I3c2fnla_gk,1193
|
|
79
|
+
intentumdiff/testing.py,sha256=WUEqvHtXb3APiiFC0CSVz0pO_z_slXT9ceaJfFAZDS0,6264
|
|
80
|
+
intentumdiff/vcs/__init__.py,sha256=GA8GDSPqBHoxneTkl7pW0Is6bCg0z_sGweJYKhY0fwQ,1311
|
|
81
|
+
intentumdiff/vcs/_safe_path.py,sha256=X_I23NMx8eyQn_FGj5QCQ_vOaRFCVSpVgHMPQeJ7MnY,1664
|
|
82
|
+
intentumdiff/vcs/base.py,sha256=TBZzInQ_yjEgbpVLIeb7EkvirqhzOsO9en7tnV9unlo,4969
|
|
83
|
+
intentumdiff/vcs/git_backend.py,sha256=apWbAcyos9AjwmtNJ3BX9rXr9sXqJqt8_5D9wK5As1s,3594
|
|
84
|
+
intentumdiff/vcs/git_cli.py,sha256=9dVwqWSN2hAcw0cIIGZeMPneqUhDCt7sgZj9WXg3cFg,3875
|
|
85
|
+
intentumdiff/vcs/hg_backend.py,sha256=QrnZtZZQhey2D6QbhiLx9wNvjjc132w2xz-Ofpx2z7c,3667
|
|
86
|
+
intentumdiff/vcs/perforce_backend.py,sha256=em8_H8B-mNaHGGGHsUjus8uBGMc9DPRmi0jKHnZbisU,4449
|
|
87
|
+
intentumdiff/vcs/svn_backend.py,sha256=7F8zXK5uKxNOOY_8Wy7olT8OeDzPfTh0o62GNCoMnCg,4172
|
|
88
|
+
intentumdiff/wasm/.gitkeep,sha256=TLEtgVRPDFnMuHzV7_4lGNOW6dptqkbMYYQ9vhMpOIs,119
|
|
89
|
+
intentumdiff/wasm/abap_parser.wasm,sha256=FTUTB2F3vl4ZKaeo7azwcUd_yx9ZjIk6fcgRh6xjzS0,678305
|
|
90
|
+
intentumdiff/wasm/adf_parser.wasm,sha256=EJ08AVZXoqH6GEGLaXzq1ZoHbVaXxTF0IIxXnW2d4yA,169534
|
|
91
|
+
intentumdiff/wasm/asciidoc_parser.wasm,sha256=sMjOPghv2PvZs5ShUW7aswhtzC0hMD9-q5HYPIMiGLg,135619
|
|
92
|
+
intentumdiff/wasm/asm_parser.wasm,sha256=YLkRfoiweP-Bc54xfxB8QdU-wPtrTQTOKZ5Emy3SzCA,275926
|
|
93
|
+
intentumdiff/wasm/assemblyscript_parser.wasm,sha256=O02JNRnAGouQmNt_CfSUnNn0-RLsygPqhqanWTD40w4,1684317
|
|
94
|
+
intentumdiff/wasm/astro_parser.wasm,sha256=7UHMTrZjwo2pa6VkPU6kYmyGWMLH0qxjEFK_BphUCAE,137170
|
|
95
|
+
intentumdiff/wasm/bash_parser.wasm,sha256=G9P_HQ9-sxQ8oY8TGkaJ_4VkKaFVeFapwuQQQKicLUg,1770099
|
|
96
|
+
intentumdiff/wasm/clojure_parser.wasm,sha256=wTmFpFXeZxP62kN4hOu1WXKc0RQ6EaSQWCB8XfJwPNY,354161
|
|
97
|
+
intentumdiff/wasm/cmake_parser.wasm,sha256=jdqGUmanEQ-7rT3T9wz74ims1sfVtYJ6yIGsRdZyKlU,332220
|
|
98
|
+
intentumdiff/wasm/cpp_parser.wasm,sha256=zA_Y8C_1m_PNEjA1zl8-qT-mGhUkDznnzG-6BcpAlgM,4482244
|
|
99
|
+
intentumdiff/wasm/csharp_parser.wasm,sha256=zeF_tWmC3nbmbsLuDZwmxN7dNb0-1Nrt6kyQG_zTbL8,5641498
|
|
100
|
+
intentumdiff/wasm/css_parser.wasm,sha256=7gMlUVdbD72tVePMgQUAkeDBrBh9ghQ5hpdMqya6ovQ,447782
|
|
101
|
+
intentumdiff/wasm/dart_parser.wasm,sha256=ELbPEi_ov2oxL-yx2drofnaw-6REEOtLf_K3Ibcm4Ro,1506257
|
|
102
|
+
intentumdiff/wasm/databricks_parser.wasm,sha256=CKvQGKARhdmV8FqgK1pXgNu8vkkQ-hGuHMrYirhpUDU,292607
|
|
103
|
+
intentumdiff/wasm/dax_parser.wasm,sha256=ADTcR9V-UToCFaYRtGjvp_KBSrBrdvf3BqMWmmqnQ2o,141701
|
|
104
|
+
intentumdiff/wasm/delphi_parser.wasm,sha256=5xdZji2w9qFRpE2xd1QP84j_SuPI9Q0Rips0Q3SXUWc,1278585
|
|
105
|
+
intentumdiff/wasm/dockerfile_parser.wasm,sha256=IN6Bw4ISWHrUKe2fWz29Kin8LqK_PJDVGtol4pGuxpI,510625
|
|
106
|
+
intentumdiff/wasm/elixir_parser.wasm,sha256=y-YxVaZsDiLQrBBgywS1-M1_GSFg3SuI6yDaIMqo7Go,1745654
|
|
107
|
+
intentumdiff/wasm/freebasic_parser.wasm,sha256=iEzmVDdv1Xu_WZbQB7yE4CX8JhYJnq5kv2Qc5BGBVgQ,137289
|
|
108
|
+
intentumdiff/wasm/generic_parser.wasm,sha256=RmjWov51AK-Oqg0cIbujvYvj9LQHjSvTVjtZpIzyhH0,117300
|
|
109
|
+
intentumdiff/wasm/gitignore_parser.wasm,sha256=wyXI9Oa3Yaf1RC6kcC8R2CQorfmPeNvkJDjp9OWbOYI,125972
|
|
110
|
+
intentumdiff/wasm/go_parser.wasm,sha256=g8Y7gICKa5yRHT27FGA6Rl-Y8DWKYuR3RRFBJe9xdr0,461140
|
|
111
|
+
intentumdiff/wasm/gomod_parser.wasm,sha256=7Fp2uIiPcD3K1EcHJZJ9naqQjDs-nzw4CVjrnj923j8,253805
|
|
112
|
+
intentumdiff/wasm/graphql_parser.wasm,sha256=XkZ1VxzYI-NuMCsywE201dUNBoc5hMaYjhwOTNCDW7M,134245
|
|
113
|
+
intentumdiff/wasm/groovy_parser.wasm,sha256=w4A2EqBI7pOr_nnvFNRD1JPPu48OKWqtPRn5OimH90g,1266995
|
|
114
|
+
intentumdiff/wasm/haskell_parser.wasm,sha256=EWT90S3CsvB8a5e6lCIazzTOkD-sWI8BE8D5k8YyKCo,4086637
|
|
115
|
+
intentumdiff/wasm/html_parser.wasm,sha256=EYc9Ge3L932ePlgxH8FdVrlEngA416S7xH5ldWl8PFI,286196
|
|
116
|
+
intentumdiff/wasm/ini_parser.wasm,sha256=-z3j3s-RGl15qkYRVR1TKJokjLk-7oetgzL4hiOobaQ,256522
|
|
117
|
+
intentumdiff/wasm/java_parser.wasm,sha256=M1B6x8wE7aY4Od8KensoJ9XtgCWj09qA47gft-aV5Ys,663506
|
|
118
|
+
intentumdiff/wasm/js_ts_parser.wasm,sha256=5FIXMdJgT9RgNjhs7K1xGuwk8-7zc9EJ560xWzUI1ho,3539420
|
|
119
|
+
intentumdiff/wasm/json_parser.wasm,sha256=BFxzfU0GZpMQzN7DPiFylgSOQ7O73CEouH8M2TLa3uI,255766
|
|
120
|
+
intentumdiff/wasm/kotlin_parser.wasm,sha256=H_531m8diIb_vEJItg7Xc4S9tPEq6XqK2S-DfqYced4,133198
|
|
121
|
+
intentumdiff/wasm/latex_parser.wasm,sha256=f7Mfz-NrMvxKVl2TGE6-4PGpicBpDjv66dFmP_BIq9Y,134655
|
|
122
|
+
intentumdiff/wasm/lua_parser.wasm,sha256=L0zPcAPfJDHC6_MSZwMpJo4UF2Mc9X3h7QdHWj8XBJ4,310965
|
|
123
|
+
intentumdiff/wasm/make_parser.wasm,sha256=orROGh8NIGD3YEb1G4aRO4yFHYeApgSWNXeV2_Hcq1E,420877
|
|
124
|
+
intentumdiff/wasm/markdown_parser.wasm,sha256=wSpxuVr8E_ZYmD1pvt_X2mwM05WJzbeKakv9MRfc3KI,748534
|
|
125
|
+
intentumdiff/wasm/mdx_parser.wasm,sha256=-sX_LRIHvGwuXT_MobfR12kFJY_Xau36xebdzIPXj9k,138167
|
|
126
|
+
intentumdiff/wasm/ocaml_parser.wasm,sha256=GPzrP502gVat9tkJXhw7bsUT0RRvp3Q3qWZ1tNIE4ts,133161
|
|
127
|
+
intentumdiff/wasm/odin_parser.wasm,sha256=RoNDuvBLJc-4UskKup8JYaQWsGRYEorfl7AIktR5_q4,2483904
|
|
128
|
+
intentumdiff/wasm/parser_manifest.json,sha256=nxur_vHoSiaWGX_FuKd52QHdK0DWfL0ZZqg-9vWXzwc,11954
|
|
129
|
+
intentumdiff/wasm/perl_parser.wasm,sha256=fyYHMl4fY2NwwfZ8TFHW16yM-_DCAEE5XCQj0rj8j_I,5072463
|
|
130
|
+
intentumdiff/wasm/php_parser.wasm,sha256=HtToIgtopzWAh6gw895h5oWm9QBIdostQZAnTgqhYZo,1344578
|
|
131
|
+
intentumdiff/wasm/plsql_parser.wasm,sha256=XVn2PzFb_JEGQPf5VLIbYJryN7yLOh8yCPdgC1hm1nM,134258
|
|
132
|
+
intentumdiff/wasm/po_parser.wasm,sha256=8s3qkP5xE9D8Psg2JhH0N0iyE7COPUiuy2-3nOhY5pE,132847
|
|
133
|
+
intentumdiff/wasm/postscript_parser.wasm,sha256=ScVhIbsM0vYAJMXmhZtajytq8tarej17SVo471LgU8A,131270
|
|
134
|
+
intentumdiff/wasm/powershell_parser.wasm,sha256=85wo8-dCqsyGzrwknMGKtjTfm2eDjhfMmRo1wd6Usxk,1520141
|
|
135
|
+
intentumdiff/wasm/proto_parser.wasm,sha256=nlF0s_RyHehqZOs-VIu0wUkOcGMeCFL1damRZzT5p8E,369350
|
|
136
|
+
intentumdiff/wasm/puppet_parser.wasm,sha256=7NDGE3bzFI6svWmW6VHzy9ChveGsRkrLxf23AwFqllA,417883
|
|
137
|
+
intentumdiff/wasm/python_parser.wasm,sha256=wOPB0NBySsbwf8CpJlVWfR5dgBoH4sY7CDeiqTjBI5M,697445
|
|
138
|
+
intentumdiff/wasm/qsharp_parser.wasm,sha256=Xgu2z-YFhJjnTJvRcrAfvhdkmQrzLPNW3afq3pE_wac,132813
|
|
139
|
+
intentumdiff/wasm/r_parser.wasm,sha256=qAoegPN91kFQ0sRlanRzSxbrX8ALBQ9uX28YCfFhkzo,735757
|
|
140
|
+
intentumdiff/wasm/reasonml_parser.wasm,sha256=SKLQ5ERnnNjg4GWGlMopOH8qDlhIuNO6buT23QcqJJY,134227
|
|
141
|
+
intentumdiff/wasm/ruby_parser.wasm,sha256=wZNnLxLKv2NLXwAGRDZ5cl8cP4m9rr5T3E_Ba6lyNdg,2424781
|
|
142
|
+
intentumdiff/wasm/rust_parser.wasm,sha256=CaeLlldO_T7hSuGgiTQJioxmex5l2XhnEhsWpdFw_AQ,1366647
|
|
143
|
+
intentumdiff/wasm/sas_parser.wasm,sha256=tuNSwbVRpoSldVnOyMGx4hsLIrovgk_gjBIA4fx-ar0,131742
|
|
144
|
+
intentumdiff/wasm/scala_parser.wasm,sha256=iiOsMqQ50gI1ZIOFc5TVsgng3-h30fLlvFnzBRpXAxU,5257734
|
|
145
|
+
intentumdiff/wasm/scss_parser.wasm,sha256=C-7K2jZfG4JIRiz0eyNliSghTQ_l-GXVEvVH3bMrelA,477397
|
|
146
|
+
intentumdiff/wasm/sql_parser.wasm,sha256=ge6morpQ_joUPF-dT2na_WOy_7QmbxWjVkIybjlqWf8,2761343
|
|
147
|
+
intentumdiff/wasm/squirrel_parser.wasm,sha256=p8PdOUxZoMyCR92VacepWMeqNED0uU8MKi5CYnUpe1M,745143
|
|
148
|
+
intentumdiff/wasm/svelte_parser.wasm,sha256=13Iei-fNZanhsJzyRx5qyz99r2UHS7bXGy6qsQM6Lxw,149818
|
|
149
|
+
intentumdiff/wasm/swift_parser.wasm,sha256=uvapV1oZfOFN9Q8lnLXbEQf0FjAILrNxToYR0ox0_g8,131878
|
|
150
|
+
intentumdiff/wasm/terraform_parser.wasm,sha256=R4h4Ck7k2nRtFjboxoDG1wiqrJElX-_8qimLERDt2iU,369907
|
|
151
|
+
intentumdiff/wasm/toml_parser.wasm,sha256=EIYuh7yMNf8hXOBvId0G6lM9y7KgSyJHKyq2sBMsOto,280627
|
|
152
|
+
intentumdiff/wasm/tsql_parser.wasm,sha256=lgBrFrYywcZCRWCOzP__oPUHvTM2auEe_ptHo7-Y-c8,137998
|
|
153
|
+
intentumdiff/wasm/vbnet_parser.wasm,sha256=FGH1VH4SP9QYK9hshJfAAcIVkLvqafy5acP20Mz0Ov0,134699
|
|
154
|
+
intentumdiff/wasm/vue_parser.wasm,sha256=IFiUqnsPerY0Jq4EmwwkpDyd1WGVAQ-PHZHT1xTYE0U,144456
|
|
155
|
+
intentumdiff/wasm/wat_parser.wasm,sha256=xJixf5p_MK7dRXZgfvgsl_uhSr-uNMpUWn9BY7KXHF0,133276
|
|
156
|
+
intentumdiff/wasm/xml_parser.wasm,sha256=mujJHKvVyr7HnKomhwr-nCrHXNNc5ZZNi2ssMLmT33Y,332001
|
|
157
|
+
intentumdiff/wasm/yaml_parser.wasm,sha256=bKZdJ5wXbpbSDZp6fJp-AqaTturhiZfMDuH15WlI9d8,444249
|
|
158
|
+
intentumdiff/wasm/zig_parser.wasm,sha256=oKVCbZcgAyC93DjAE8zu3IqMM8f2x5zYHwKspN5A9EI,953304
|
|
159
|
+
intentumdiff/watcher.py,sha256=06FSlWGKrWRIsZ90fg4roe34lroBpvQRiDCkyApF5Dk,10037
|
|
160
|
+
intentumdiff_python-0.0.1.dist-info/METADATA,sha256=UtJY94AeARRv3PLAYBHAF5WzPGTtc8dqlBafWWsnLcI,4423
|
|
161
|
+
intentumdiff_python-0.0.1.dist-info/WHEEL,sha256=HFYih4WXcC5rmYTuselhEbrQhijkWBtMrfSegtgvPSA,94
|
|
162
|
+
intentumdiff_python-0.0.1.dist-info/entry_points.txt,sha256=LdXADFEs1_IzSdasqWp__kb9PjtGU0HoDI2dcyISGyI,4310
|
|
163
|
+
intentumdiff_python-0.0.1.dist-info/licenses/LICENSE,sha256=hJSJ840dZT-zhZgwY8R_QOzoWG_XTTzKJyMup5T4qi8,1103
|
|
164
|
+
intentumdiff_python-0.0.1.dist-info/sboms/intentumdiff-rust-core.cyclonedx.json,sha256=LHr3tv0dQY51fRRBLXElUke_Jf47mRy9JXyfZTTxszI,365031
|
|
165
|
+
intentumdiff_python-0.0.1.dist-info/RECORD,,
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
[console_scripts]
|
|
2
|
+
intentumdiff=intentumdiff.cli:main
|
|
3
|
+
[intentumdiff.parsers]
|
|
4
|
+
abap=intentumdiff.plugins.builtins:abap_parser_entry
|
|
5
|
+
adf=intentumdiff.plugins.builtins:adf_parser_entry
|
|
6
|
+
asciidoc=intentumdiff.plugins.builtins:asciidoc_parser_entry
|
|
7
|
+
asm=intentumdiff.plugins.builtins:asm_parser_entry
|
|
8
|
+
assemblyscript=intentumdiff.plugins.builtins:assemblyscript_parser_entry
|
|
9
|
+
astro=intentumdiff.plugins.builtins:astro_parser_entry
|
|
10
|
+
bash=intentumdiff.plugins.builtins:bash_parser_entry
|
|
11
|
+
c=intentumdiff.plugins.builtins:cpp_parser_entry
|
|
12
|
+
clojure=intentumdiff.plugins.builtins:clojure_parser_entry
|
|
13
|
+
cmake=intentumdiff.plugins.builtins:cmake_parser_entry
|
|
14
|
+
cpp=intentumdiff.plugins.builtins:cpp_parser_entry
|
|
15
|
+
csharp=intentumdiff.plugins.builtins:csharp_parser_entry
|
|
16
|
+
css=intentumdiff.plugins.builtins:css_parser_entry
|
|
17
|
+
dart=intentumdiff.plugins.builtins:dart_parser_entry
|
|
18
|
+
databricks-workflow=intentumdiff.plugins.builtins:databricks_parser_entry
|
|
19
|
+
dax=intentumdiff.plugins.builtins:dax_parser_entry
|
|
20
|
+
delphi=intentumdiff.plugins.builtins:delphi_parser_entry
|
|
21
|
+
dockerfile=intentumdiff.plugins.builtins:dockerfile_parser_entry
|
|
22
|
+
elixir=intentumdiff.plugins.builtins:elixir_parser_entry
|
|
23
|
+
generic=intentumdiff.plugins.builtins:generic_parser_entry
|
|
24
|
+
gitignore=intentumdiff.plugins.builtins:gitignore_parser_entry
|
|
25
|
+
go=intentumdiff.plugins.builtins:go_parser_entry
|
|
26
|
+
gomod=intentumdiff.plugins.builtins:gomod_parser_entry
|
|
27
|
+
graphql=intentumdiff.plugins.builtins:graphql_parser_entry
|
|
28
|
+
groovy=intentumdiff.plugins.builtins:groovy_parser_entry
|
|
29
|
+
haskell=intentumdiff.plugins.builtins:haskell_parser_entry
|
|
30
|
+
hcl=intentumdiff.plugins.builtins:terraform_parser_entry
|
|
31
|
+
html=intentumdiff.plugins.builtins:html_parser_entry
|
|
32
|
+
ini=intentumdiff.plugins.builtins:ini_parser_entry
|
|
33
|
+
java=intentumdiff.plugins.builtins:java_parser_entry
|
|
34
|
+
javascript=intentumdiff.plugins.builtins:js_ts_parser_entry
|
|
35
|
+
json=intentumdiff.plugins.builtins:json_parser_entry
|
|
36
|
+
kotlin=intentumdiff.plugins.builtins:kotlin_parser_entry
|
|
37
|
+
latex=intentumdiff.plugins.builtins:latex_parser_entry
|
|
38
|
+
lua=intentumdiff.plugins.builtins:lua_parser_entry
|
|
39
|
+
m=intentumdiff.plugins.builtins:dax_parser_entry
|
|
40
|
+
make=intentumdiff.plugins.builtins:make_parser_entry
|
|
41
|
+
markdown=intentumdiff.plugins.builtins:markdown_parser_entry
|
|
42
|
+
mdx=intentumdiff.plugins.builtins:mdx_parser_entry
|
|
43
|
+
ocaml=intentumdiff.plugins.builtins:ocaml_parser_entry
|
|
44
|
+
odin=intentumdiff.plugins.builtins:odin_parser_entry
|
|
45
|
+
perl=intentumdiff.plugins.builtins:perl_parser_entry
|
|
46
|
+
php=intentumdiff.plugins.builtins:php_parser_entry
|
|
47
|
+
plsql=intentumdiff.plugins.builtins:plsql_parser_entry
|
|
48
|
+
po=intentumdiff.plugins.builtins:po_parser_entry
|
|
49
|
+
postscript=intentumdiff.plugins.builtins:postscript_parser_entry
|
|
50
|
+
powershell=intentumdiff.plugins.builtins:powershell_parser_entry
|
|
51
|
+
proto=intentumdiff.plugins.builtins:proto_parser_entry
|
|
52
|
+
puppet=intentumdiff.plugins.builtins:puppet_parser_entry
|
|
53
|
+
python=intentumdiff.plugins.builtins:python_parser_entry
|
|
54
|
+
qsharp=intentumdiff.plugins.builtins:qsharp_parser_entry
|
|
55
|
+
r=intentumdiff.plugins.builtins:r_parser_entry
|
|
56
|
+
reasonml=intentumdiff.plugins.builtins:reasonml_parser_entry
|
|
57
|
+
ruby=intentumdiff.plugins.builtins:ruby_parser_entry
|
|
58
|
+
rust=intentumdiff.plugins.builtins:rust_parser_entry
|
|
59
|
+
sas=intentumdiff.plugins.builtins:sas_parser_entry
|
|
60
|
+
scala=intentumdiff.plugins.builtins:scala_parser_entry
|
|
61
|
+
scss=intentumdiff.plugins.builtins:scss_parser_entry
|
|
62
|
+
sql=intentumdiff.plugins.builtins:sql_parser_entry
|
|
63
|
+
squirrel=intentumdiff.plugins.builtins:squirrel_parser_entry
|
|
64
|
+
svelte=intentumdiff.plugins.builtins:svelte_parser_entry
|
|
65
|
+
swift=intentumdiff.plugins.builtins:swift_parser_entry
|
|
66
|
+
toml=intentumdiff.plugins.builtins:toml_parser_entry
|
|
67
|
+
tsql=intentumdiff.plugins.builtins:tsql_parser_entry
|
|
68
|
+
tsx=intentumdiff.plugins.builtins:js_ts_parser_entry
|
|
69
|
+
typescript=intentumdiff.plugins.builtins:js_ts_parser_entry
|
|
70
|
+
vbnet=intentumdiff.plugins.builtins:vbnet_parser_entry
|
|
71
|
+
vue=intentumdiff.plugins.builtins:vue_parser_entry
|
|
72
|
+
wat=intentumdiff.plugins.builtins:wat_parser_entry
|
|
73
|
+
xml=intentumdiff.plugins.builtins:xml_parser_entry
|
|
74
|
+
yaml=intentumdiff.plugins.builtins:yaml_parser_entry
|
|
75
|
+
zig=intentumdiff.plugins.builtins:zig_parser_entry
|
|
76
|
+
[intentumdiff.renderers]
|
|
77
|
+
html=intentumdiff.plugins.builtins:html_renderer_entry
|
|
78
|
+
llm=intentumdiff.plugins.builtins:llm_renderer_entry
|
|
79
|
+
patch=intentumdiff.plugins.builtins:patch_renderer_entry
|
|
80
|
+
terminal=intentumdiff.plugins.builtins:terminal_renderer_entry
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 IntentumDiff contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|