treemapper 2.1.0__tar.gz → 2.2.0__tar.gz
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.
- {treemapper-2.1.0 → treemapper-2.2.0}/CHANGELOG.md +11 -1
- {treemapper-2.1.0 → treemapper-2.2.0}/PKG-INFO +12 -7
- {treemapper-2.1.0 → treemapper-2.2.0}/README.md +7 -1
- {treemapper-2.1.0 → treemapper-2.2.0}/pyproject.toml +4 -5
- treemapper-2.2.0/src/treemapper/version.py +1 -0
- treemapper-2.1.0/src/treemapper/version.py +0 -1
- {treemapper-2.1.0 → treemapper-2.2.0}/.gitignore +0 -0
- {treemapper-2.1.0 → treemapper-2.2.0}/LICENSE +0 -0
- {treemapper-2.1.0 → treemapper-2.2.0}/src/treemapper/__init__.py +0 -0
- {treemapper-2.1.0 → treemapper-2.2.0}/src/treemapper/__main__.py +0 -0
- {treemapper-2.1.0 → treemapper-2.2.0}/src/treemapper/cli.py +0 -0
- {treemapper-2.1.0 → treemapper-2.2.0}/src/treemapper/mcp_main.py +0 -0
- {treemapper-2.1.0 → treemapper-2.2.0}/tests/__init__.py +0 -0
- {treemapper-2.1.0 → treemapper-2.2.0}/tests/conftest.py +0 -0
- {treemapper-2.1.0 → treemapper-2.2.0}/tests/test_api.py +0 -0
- {treemapper-2.1.0 → treemapper-2.2.0}/tests/test_cli.py +0 -0
|
@@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [2.2.0] - 2026-06-20
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
|
|
14
|
+
- Bumped the dependency floor to `diffctx>=1.10.0,<2.0`. This pulls in the
|
|
15
|
+
diffctx 1.10 engine: the calibrated default `--tau` of 0.12 (tighter
|
|
16
|
+
diff-context selection by default), the 256 KB MCP file cap, and the
|
|
17
|
+
document/import edge correctness fixes. No treemapper API changes.
|
|
18
|
+
|
|
10
19
|
## [2.1.0] - 2026-06-14
|
|
11
20
|
|
|
12
21
|
### Changed
|
|
@@ -49,6 +58,7 @@ Releases `1.0.0` through `1.6.1` shipped TreeMapper as a self-contained package;
|
|
|
49
58
|
that lineage was renamed to `diffctx` at `diffctx` `1.7.0`. TreeMapper `2.0.0`
|
|
50
59
|
re-establishes the `treemapper` name as the product layer on top of that engine.
|
|
51
60
|
|
|
52
|
-
[Unreleased]: https://github.com/nikolay-e/treemapper/compare/v2.
|
|
61
|
+
[Unreleased]: https://github.com/nikolay-e/treemapper/compare/v2.2.0...HEAD
|
|
62
|
+
[2.2.0]: https://github.com/nikolay-e/treemapper/compare/v2.1.0...v2.2.0
|
|
53
63
|
[2.1.0]: https://github.com/nikolay-e/treemapper/compare/v2.0.0...v2.1.0
|
|
54
64
|
[2.0.0]: https://github.com/nikolay-e/treemapper/releases/tag/v2.0.0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: treemapper
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.2.0
|
|
4
4
|
Summary: Map a codebase to YAML/JSON/Markdown/text and select smart git-diff context for LLMs
|
|
5
5
|
Project-URL: Changelog, https://github.com/nikolay-e/treemapper/releases
|
|
6
6
|
Project-URL: Homepage, https://github.com/nikolay-e/treemapper
|
|
@@ -25,9 +25,8 @@ Classifier: Topic :: Software Development :: Version Control :: Git
|
|
|
25
25
|
Classifier: Topic :: Utilities
|
|
26
26
|
Classifier: Typing :: Typed
|
|
27
27
|
Requires-Python: >=3.10
|
|
28
|
-
Requires-Dist: diffctx<2.0,>=1.
|
|
28
|
+
Requires-Dist: diffctx<2.0,>=1.10.0
|
|
29
29
|
Provides-Extra: dev
|
|
30
|
-
Requires-Dist: diffctx[tree-sitter]<2.0,>=1.9.1; extra == 'dev'
|
|
31
30
|
Requires-Dist: mypy<3.0,>=2.1.0; extra == 'dev'
|
|
32
31
|
Requires-Dist: pre-commit<5.0,>=3.0; extra == 'dev'
|
|
33
32
|
Requires-Dist: pytest-timeout<3.0,>=2.4.0; extra == 'dev'
|
|
@@ -36,11 +35,11 @@ Requires-Dist: pyyaml<8.0,>=6.0.2; extra == 'dev'
|
|
|
36
35
|
Requires-Dist: ruff<1.0,>=0.4; extra == 'dev'
|
|
37
36
|
Requires-Dist: types-pyyaml<7.0,>=6.0.12.20260518; extra == 'dev'
|
|
38
37
|
Provides-Extra: full
|
|
39
|
-
Requires-Dist: diffctx[full]<2.0,>=1.
|
|
38
|
+
Requires-Dist: diffctx[full]<2.0,>=1.10.0; extra == 'full'
|
|
40
39
|
Provides-Extra: mcp
|
|
41
|
-
Requires-Dist: diffctx[mcp]<2.0,>=1.
|
|
40
|
+
Requires-Dist: diffctx[mcp]<2.0,>=1.10.0; extra == 'mcp'
|
|
42
41
|
Provides-Extra: tree-sitter
|
|
43
|
-
Requires-Dist: diffctx[tree-sitter]<2.0,>=1.
|
|
42
|
+
Requires-Dist: diffctx[tree-sitter]<2.0,>=1.10.0; extra == 'tree-sitter'
|
|
44
43
|
Description-Content-Type: text/markdown
|
|
45
44
|
|
|
46
45
|
# TreeMapper
|
|
@@ -102,12 +101,18 @@ tree = treemapper.map_directory(".", no_content=False)
|
|
|
102
101
|
print(treemapper.to_yaml(tree))
|
|
103
102
|
|
|
104
103
|
context = treemapper.build_diff_context(root_dir=".", diff_range="HEAD~1")
|
|
104
|
+
|
|
105
|
+
# treemapper.run drives the full branded CLI from Python (same surface as the command)
|
|
106
|
+
treemapper.run(["graph", "."], prog="treemapper", version=treemapper.__version__)
|
|
105
107
|
```
|
|
106
108
|
|
|
109
|
+
Every run reports an **exact `tiktoken` token count** (not a `chars / 4`
|
|
110
|
+
estimate), so you know the real context cost before you paste.
|
|
111
|
+
|
|
107
112
|
## Relationship to diffctx
|
|
108
113
|
|
|
109
114
|
TreeMapper is the user-facing distribution; `diffctx` is the reusable engine.
|
|
110
|
-
Pin compatibility is `diffctx>=1.
|
|
115
|
+
Pin compatibility is `diffctx>=1.10.0,<2.0`. If you are embedding the engine in
|
|
111
116
|
your own tool, depend on `diffctx` directly.
|
|
112
117
|
|
|
113
118
|
## License
|
|
@@ -57,12 +57,18 @@ tree = treemapper.map_directory(".", no_content=False)
|
|
|
57
57
|
print(treemapper.to_yaml(tree))
|
|
58
58
|
|
|
59
59
|
context = treemapper.build_diff_context(root_dir=".", diff_range="HEAD~1")
|
|
60
|
+
|
|
61
|
+
# treemapper.run drives the full branded CLI from Python (same surface as the command)
|
|
62
|
+
treemapper.run(["graph", "."], prog="treemapper", version=treemapper.__version__)
|
|
60
63
|
```
|
|
61
64
|
|
|
65
|
+
Every run reports an **exact `tiktoken` token count** (not a `chars / 4`
|
|
66
|
+
estimate), so you know the real context cost before you paste.
|
|
67
|
+
|
|
62
68
|
## Relationship to diffctx
|
|
63
69
|
|
|
64
70
|
TreeMapper is the user-facing distribution; `diffctx` is the reusable engine.
|
|
65
|
-
Pin compatibility is `diffctx>=1.
|
|
71
|
+
Pin compatibility is `diffctx>=1.10.0,<2.0`. If you are embedding the engine in
|
|
66
72
|
your own tool, depend on `diffctx` directly.
|
|
67
73
|
|
|
68
74
|
## License
|
|
@@ -44,7 +44,7 @@ classifiers = [
|
|
|
44
44
|
"Typing :: Typed",
|
|
45
45
|
]
|
|
46
46
|
dependencies = [
|
|
47
|
-
"diffctx>=1.
|
|
47
|
+
"diffctx>=1.10.0,<2.0",
|
|
48
48
|
]
|
|
49
49
|
optional-dependencies.dev = [
|
|
50
50
|
"mypy>=2.1.0,<3.0",
|
|
@@ -53,17 +53,16 @@ optional-dependencies.dev = [
|
|
|
53
53
|
"pytest-timeout>=2.4.0,<3.0",
|
|
54
54
|
"pyyaml>=6.0.2,<8.0",
|
|
55
55
|
"ruff>=0.4,<1.0",
|
|
56
|
-
"treemapper[tree-sitter]",
|
|
57
56
|
"types-pyyaml>=6.0.12.20260518,<7.0",
|
|
58
57
|
]
|
|
59
58
|
optional-dependencies.full = [
|
|
60
|
-
"diffctx[full]>=1.
|
|
59
|
+
"diffctx[full]>=1.10.0,<2.0",
|
|
61
60
|
]
|
|
62
61
|
optional-dependencies.mcp = [
|
|
63
|
-
"diffctx[mcp]>=1.
|
|
62
|
+
"diffctx[mcp]>=1.10.0,<2.0",
|
|
64
63
|
]
|
|
65
64
|
optional-dependencies.tree-sitter = [
|
|
66
|
-
"diffctx[tree-sitter]>=1.
|
|
65
|
+
"diffctx[tree-sitter]>=1.10.0,<2.0",
|
|
67
66
|
]
|
|
68
67
|
urls.Changelog = "https://github.com/nikolay-e/treemapper/releases"
|
|
69
68
|
urls.Homepage = "https://github.com/nikolay-e/treemapper"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "2.2.0"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
__version__ = "2.1.0"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|