code2llm 0.5.105__tar.gz → 0.5.107__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.
Files changed (128) hide show
  1. {code2llm-0.5.105 → code2llm-0.5.107}/PKG-INFO +46 -2
  2. {code2llm-0.5.105 → code2llm-0.5.107}/README.md +45 -1
  3. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/__init__.py +1 -1
  4. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/cli_parser.py +18 -0
  5. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/nlp/__init__.py +1 -1
  6. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm.egg-info/PKG-INFO +46 -2
  7. {code2llm-0.5.105 → code2llm-0.5.107}/pyproject.toml +1 -1
  8. {code2llm-0.5.105 → code2llm-0.5.107}/setup.py +1 -1
  9. {code2llm-0.5.105 → code2llm-0.5.107}/tests/test_prompt_engine.py +2 -1
  10. {code2llm-0.5.105 → code2llm-0.5.107}/LICENSE +0 -0
  11. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/__main__.py +0 -0
  12. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/analysis/__init__.py +0 -0
  13. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/analysis/call_graph.py +0 -0
  14. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/analysis/cfg.py +0 -0
  15. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/analysis/coupling.py +0 -0
  16. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/analysis/data_analysis.py +0 -0
  17. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/analysis/dfg.py +0 -0
  18. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/analysis/pipeline_detector.py +0 -0
  19. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/analysis/side_effects.py +0 -0
  20. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/analysis/smells.py +0 -0
  21. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/analysis/type_inference.py +0 -0
  22. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/analysis/utils/__init__.py +0 -0
  23. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/analysis/utils/ast_helpers.py +0 -0
  24. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/api.py +0 -0
  25. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/cli.py +0 -0
  26. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/cli_analysis.py +0 -0
  27. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/cli_commands.py +0 -0
  28. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/cli_exports/__init__.py +0 -0
  29. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/cli_exports/code2logic.py +0 -0
  30. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/cli_exports/formats.py +0 -0
  31. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/cli_exports/orchestrator.py +0 -0
  32. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/cli_exports/prompt.py +0 -0
  33. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/core/__init__.py +0 -0
  34. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/core/analyzer.py +0 -0
  35. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/core/ast_registry.py +0 -0
  36. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/core/config.py +0 -0
  37. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/core/export_pipeline.py +0 -0
  38. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/core/file_analyzer.py +0 -0
  39. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/core/file_cache.py +0 -0
  40. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/core/file_filter.py +0 -0
  41. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/core/gitignore.py +0 -0
  42. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/core/incremental.py +0 -0
  43. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/core/lang/__init__.py +0 -0
  44. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/core/lang/base.py +0 -0
  45. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/core/lang/cpp.py +0 -0
  46. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/core/lang/csharp.py +0 -0
  47. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/core/lang/generic.py +0 -0
  48. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/core/lang/go_lang.py +0 -0
  49. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/core/lang/java.py +0 -0
  50. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/core/lang/php.py +0 -0
  51. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/core/lang/ruby.py +0 -0
  52. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/core/lang/rust.py +0 -0
  53. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/core/lang/ts_extractors.py +0 -0
  54. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/core/lang/ts_parser.py +0 -0
  55. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/core/lang/typescript.py +0 -0
  56. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/core/large_repo.py +0 -0
  57. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/core/models.py +0 -0
  58. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/core/refactoring.py +0 -0
  59. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/core/repo_files.py +0 -0
  60. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/core/streaming/__init__.py +0 -0
  61. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/core/streaming/cache.py +0 -0
  62. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/core/streaming/incremental.py +0 -0
  63. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/core/streaming/prioritizer.py +0 -0
  64. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/core/streaming/scanner.py +0 -0
  65. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/core/streaming/strategies.py +0 -0
  66. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/core/streaming_analyzer.py +0 -0
  67. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/core/toon_size_manager.py +0 -0
  68. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/exporters/__init__.py +0 -0
  69. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/exporters/article_view.py +0 -0
  70. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/exporters/base.py +0 -0
  71. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/exporters/context_exporter.py +0 -0
  72. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/exporters/context_view.py +0 -0
  73. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/exporters/evolution_exporter.py +0 -0
  74. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/exporters/flow_constants.py +0 -0
  75. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/exporters/flow_exporter.py +0 -0
  76. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/exporters/flow_renderer.py +0 -0
  77. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/exporters/html_dashboard.py +0 -0
  78. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/exporters/index_generator.py +0 -0
  79. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/exporters/json_exporter.py +0 -0
  80. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/exporters/llm_exporter.py +0 -0
  81. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/exporters/map_exporter.py +0 -0
  82. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/exporters/mermaid_exporter.py +0 -0
  83. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/exporters/mermaid_flow_helpers.py +0 -0
  84. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/exporters/project_yaml_exporter.py +0 -0
  85. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/exporters/readme_exporter.py +0 -0
  86. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/exporters/report_generators.py +0 -0
  87. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/exporters/toon/__init__.py +0 -0
  88. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/exporters/toon/helpers.py +0 -0
  89. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/exporters/toon/metrics.py +0 -0
  90. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/exporters/toon/module_detail.py +0 -0
  91. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/exporters/toon/renderer.py +0 -0
  92. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/exporters/toon.py +0 -0
  93. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/exporters/toon_view.py +0 -0
  94. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/exporters/validate_project.py +0 -0
  95. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/exporters/yaml_exporter.py +0 -0
  96. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/generators/__init__.py +0 -0
  97. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/generators/llm_flow.py +0 -0
  98. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/generators/llm_task.py +0 -0
  99. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/generators/mermaid.py +0 -0
  100. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/nlp/config.py +0 -0
  101. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/nlp/entity_resolution.py +0 -0
  102. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/nlp/intent_matching.py +0 -0
  103. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/nlp/normalization.py +0 -0
  104. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/nlp/pipeline.py +0 -0
  105. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/patterns/__init__.py +0 -0
  106. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/patterns/detector.py +0 -0
  107. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/refactor/__init__.py +0 -0
  108. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm/refactor/prompt_engine.py +0 -0
  109. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm.egg-info/SOURCES.txt +0 -0
  110. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm.egg-info/dependency_links.txt +0 -0
  111. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm.egg-info/entry_points.txt +0 -0
  112. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm.egg-info/requires.txt +0 -0
  113. {code2llm-0.5.105 → code2llm-0.5.107}/code2llm.egg-info/top_level.txt +0 -0
  114. {code2llm-0.5.105 → code2llm-0.5.107}/setup.cfg +0 -0
  115. {code2llm-0.5.105 → code2llm-0.5.107}/tests/test_advanced_analysis.py +0 -0
  116. {code2llm-0.5.105 → code2llm-0.5.107}/tests/test_analyzer.py +0 -0
  117. {code2llm-0.5.105 → code2llm-0.5.107}/tests/test_deep_analysis.py +0 -0
  118. {code2llm-0.5.105 → code2llm-0.5.107}/tests/test_edge_cases.py +0 -0
  119. {code2llm-0.5.105 → code2llm-0.5.107}/tests/test_flow_exporter.py +0 -0
  120. {code2llm-0.5.105 → code2llm-0.5.107}/tests/test_format_quality.py +0 -0
  121. {code2llm-0.5.105 → code2llm-0.5.107}/tests/test_multilanguage_e2e.py +0 -0
  122. {code2llm-0.5.105 → code2llm-0.5.107}/tests/test_nlp_pipeline.py +0 -0
  123. {code2llm-0.5.105 → code2llm-0.5.107}/tests/test_nonpython_cc_calls.py +0 -0
  124. {code2llm-0.5.105 → code2llm-0.5.107}/tests/test_pipeline_detector.py +0 -0
  125. {code2llm-0.5.105 → code2llm-0.5.107}/tests/test_project_toon_export.py +0 -0
  126. {code2llm-0.5.105 → code2llm-0.5.107}/tests/test_prompt_txt.py +0 -0
  127. {code2llm-0.5.105 → code2llm-0.5.107}/tests/test_refactoring_engine.py +0 -0
  128. {code2llm-0.5.105 → code2llm-0.5.107}/tests/test_toon_v2.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: code2llm
3
- Version: 0.5.105
3
+ Version: 0.5.107
4
4
  Summary: High-performance Python code flow analysis with optimized TOON format - CFG, DFG, call graphs, and intelligent code queries
5
5
  Home-page: https://github.com/wronai/stts
6
6
  Author: STTS Project
@@ -66,7 +66,7 @@ Dynamic: requires-python
66
66
 
67
67
  ## AI Cost Tracking
68
68
 
69
- ![PyPI](https://img.shields.io/badge/pypi-costs-blue) ![Version](https://img.shields.io/badge/version-0.5.105-blue) ![Python](https://img.shields.io/badge/python-3.9+-blue) ![License](https://img.shields.io/badge/license-Apache--2.0-green)
69
+ ![PyPI](https://img.shields.io/badge/pypi-costs-blue) ![Version](https://img.shields.io/badge/version-0.5.107-blue) ![Python](https://img.shields.io/badge/python-3.9+-blue) ![License](https://img.shields.io/badge/license-Apache--2.0-green)
70
70
  ![AI Cost](https://img.shields.io/badge/AI%20Cost-$7.50-orange) ![Human Time](https://img.shields.io/badge/Human%20Time-53.7h-blue) ![Model](https://img.shields.io/badge/Model-openrouter%2Fqwen%2Fqwen3--coder--next-lightgrey)
71
71
 
72
72
  - 🤖 **LLM usage:** $7.5000 (154 commits)
@@ -111,6 +111,43 @@ code2llm ./ -f all
111
111
  code2llm ./ -f context
112
112
  ```
113
113
 
114
+ ### Generating Individual Files
115
+
116
+ ```bash
117
+ # Health diagnostics only
118
+ code2llm ./ -f toon
119
+
120
+ # Structural map only
121
+ code2llm ./ -f map
122
+
123
+ # Refactoring queue only
124
+ code2llm ./ -f evolution
125
+
126
+ # LLM narrative only
127
+ code2llm ./ -f context
128
+
129
+ # Call graph (mermaid + YAML)
130
+ code2llm ./ -f mermaid
131
+
132
+ # Call graph YAML only (no visualization)
133
+ code2llm ./ -f calls
134
+
135
+ # Flow diagrams only
136
+ code2llm ./ -f flow
137
+
138
+ # Standard YAML export
139
+ code2llm ./ -f yaml
140
+
141
+ # JSON export
142
+ code2llm ./ -f json
143
+
144
+ # Combined formats
145
+ code2llm ./ -f toon,map,evolution,context
146
+
147
+ # All core formats
148
+ code2llm ./ -f all
149
+ ```
150
+
114
151
  ### Performance Options
115
152
  ```bash
116
153
  # Fast analysis for large projects
@@ -262,6 +299,7 @@ cat context.md | xclip -sel clip # Linux
262
299
  - `flow.mmd` - Detailed control flow with complexity colors
263
300
  - `calls.mmd` - Simple call graph
264
301
  - `compact_flow.mmd` - High-level module view
302
+ - `calls.yaml` - Structured call graph data (YAML format)
265
303
  - `*.png` - Pre-rendered images
266
304
 
267
305
  **Example usage**:
@@ -272,6 +310,12 @@ xdg-open flow.png # Linux
272
310
 
273
311
  # Edit in Mermaid Live Editor
274
312
  # Copy content of .mmd files to https://mermaid.live
313
+
314
+ # Generate only call graph files (mermaid + YAML)
315
+ code2llm ./ -f mermaid
316
+
317
+ # Generate calls.yaml standalone (no visualization files)
318
+ code2llm ./ -f calls
275
319
  ```
276
320
 
277
321
  ## 🔍 Common Analysis Patterns
@@ -3,7 +3,7 @@
3
3
 
4
4
  ## AI Cost Tracking
5
5
 
6
- ![PyPI](https://img.shields.io/badge/pypi-costs-blue) ![Version](https://img.shields.io/badge/version-0.5.105-blue) ![Python](https://img.shields.io/badge/python-3.9+-blue) ![License](https://img.shields.io/badge/license-Apache--2.0-green)
6
+ ![PyPI](https://img.shields.io/badge/pypi-costs-blue) ![Version](https://img.shields.io/badge/version-0.5.107-blue) ![Python](https://img.shields.io/badge/python-3.9+-blue) ![License](https://img.shields.io/badge/license-Apache--2.0-green)
7
7
  ![AI Cost](https://img.shields.io/badge/AI%20Cost-$7.50-orange) ![Human Time](https://img.shields.io/badge/Human%20Time-53.7h-blue) ![Model](https://img.shields.io/badge/Model-openrouter%2Fqwen%2Fqwen3--coder--next-lightgrey)
8
8
 
9
9
  - 🤖 **LLM usage:** $7.5000 (154 commits)
@@ -48,6 +48,43 @@ code2llm ./ -f all
48
48
  code2llm ./ -f context
49
49
  ```
50
50
 
51
+ ### Generating Individual Files
52
+
53
+ ```bash
54
+ # Health diagnostics only
55
+ code2llm ./ -f toon
56
+
57
+ # Structural map only
58
+ code2llm ./ -f map
59
+
60
+ # Refactoring queue only
61
+ code2llm ./ -f evolution
62
+
63
+ # LLM narrative only
64
+ code2llm ./ -f context
65
+
66
+ # Call graph (mermaid + YAML)
67
+ code2llm ./ -f mermaid
68
+
69
+ # Call graph YAML only (no visualization)
70
+ code2llm ./ -f calls
71
+
72
+ # Flow diagrams only
73
+ code2llm ./ -f flow
74
+
75
+ # Standard YAML export
76
+ code2llm ./ -f yaml
77
+
78
+ # JSON export
79
+ code2llm ./ -f json
80
+
81
+ # Combined formats
82
+ code2llm ./ -f toon,map,evolution,context
83
+
84
+ # All core formats
85
+ code2llm ./ -f all
86
+ ```
87
+
51
88
  ### Performance Options
52
89
  ```bash
53
90
  # Fast analysis for large projects
@@ -199,6 +236,7 @@ cat context.md | xclip -sel clip # Linux
199
236
  - `flow.mmd` - Detailed control flow with complexity colors
200
237
  - `calls.mmd` - Simple call graph
201
238
  - `compact_flow.mmd` - High-level module view
239
+ - `calls.yaml` - Structured call graph data (YAML format)
202
240
  - `*.png` - Pre-rendered images
203
241
 
204
242
  **Example usage**:
@@ -209,6 +247,12 @@ xdg-open flow.png # Linux
209
247
 
210
248
  # Edit in Mermaid Live Editor
211
249
  # Copy content of .mmd files to https://mermaid.live
250
+
251
+ # Generate only call graph files (mermaid + YAML)
252
+ code2llm ./ -f mermaid
253
+
254
+ # Generate calls.yaml standalone (no visualization files)
255
+ code2llm ./ -f calls
212
256
  ```
213
257
 
214
258
  ## 🔍 Common Analysis Patterns
@@ -8,7 +8,7 @@ Includes NLP Processing Pipeline for query normalization, intent matching,
8
8
  and entity resolution with multilingual support.
9
9
  """
10
10
 
11
- __version__ = "0.5.105"
11
+ __version__ = "0.5.107"
12
12
  __author__ = "STTS Project"
13
13
 
14
14
  # Core analysis components (lightweight, always needed)
@@ -1,10 +1,21 @@
1
1
  """CLI argument parser for code2llm."""
2
2
 
3
3
  import argparse
4
+ import os
4
5
 
5
6
  from .core.config import ANALYSIS_MODES
6
7
 
7
8
 
9
+ def get_version() -> str:
10
+ """Read version from VERSION file."""
11
+ version_file = os.path.join(os.path.dirname(os.path.dirname(__file__)), 'VERSION')
12
+ try:
13
+ with open(version_file, 'r') as f:
14
+ return f.read().strip()
15
+ except Exception:
16
+ return 'unknown'
17
+
18
+
8
19
  def create_parser() -> argparse.ArgumentParser:
9
20
  """Create CLI argument parser."""
10
21
  parser = argparse.ArgumentParser(
@@ -52,6 +63,13 @@ Strategy Options (--strategy):
52
63
  '''
53
64
  )
54
65
 
66
+ # Add version argument
67
+ parser.add_argument(
68
+ '--version', '-V',
69
+ action='version',
70
+ version=f'%(prog)s {get_version()}'
71
+ )
72
+
55
73
  # Add backward compatibility source argument first
56
74
  parser.add_argument(
57
75
  'source',
@@ -4,7 +4,7 @@ Provides query normalization, intent matching, and entity resolution
4
4
  with multilingual support and fuzzy matching.
5
5
  """
6
6
 
7
- __version__ = "0.5.105"
7
+ __version__ = "0.5.107"
8
8
 
9
9
  from .pipeline import NLPPipeline
10
10
  from .normalization import QueryNormalizer
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: code2llm
3
- Version: 0.5.105
3
+ Version: 0.5.107
4
4
  Summary: High-performance Python code flow analysis with optimized TOON format - CFG, DFG, call graphs, and intelligent code queries
5
5
  Home-page: https://github.com/wronai/stts
6
6
  Author: STTS Project
@@ -66,7 +66,7 @@ Dynamic: requires-python
66
66
 
67
67
  ## AI Cost Tracking
68
68
 
69
- ![PyPI](https://img.shields.io/badge/pypi-costs-blue) ![Version](https://img.shields.io/badge/version-0.5.105-blue) ![Python](https://img.shields.io/badge/python-3.9+-blue) ![License](https://img.shields.io/badge/license-Apache--2.0-green)
69
+ ![PyPI](https://img.shields.io/badge/pypi-costs-blue) ![Version](https://img.shields.io/badge/version-0.5.107-blue) ![Python](https://img.shields.io/badge/python-3.9+-blue) ![License](https://img.shields.io/badge/license-Apache--2.0-green)
70
70
  ![AI Cost](https://img.shields.io/badge/AI%20Cost-$7.50-orange) ![Human Time](https://img.shields.io/badge/Human%20Time-53.7h-blue) ![Model](https://img.shields.io/badge/Model-openrouter%2Fqwen%2Fqwen3--coder--next-lightgrey)
71
71
 
72
72
  - 🤖 **LLM usage:** $7.5000 (154 commits)
@@ -111,6 +111,43 @@ code2llm ./ -f all
111
111
  code2llm ./ -f context
112
112
  ```
113
113
 
114
+ ### Generating Individual Files
115
+
116
+ ```bash
117
+ # Health diagnostics only
118
+ code2llm ./ -f toon
119
+
120
+ # Structural map only
121
+ code2llm ./ -f map
122
+
123
+ # Refactoring queue only
124
+ code2llm ./ -f evolution
125
+
126
+ # LLM narrative only
127
+ code2llm ./ -f context
128
+
129
+ # Call graph (mermaid + YAML)
130
+ code2llm ./ -f mermaid
131
+
132
+ # Call graph YAML only (no visualization)
133
+ code2llm ./ -f calls
134
+
135
+ # Flow diagrams only
136
+ code2llm ./ -f flow
137
+
138
+ # Standard YAML export
139
+ code2llm ./ -f yaml
140
+
141
+ # JSON export
142
+ code2llm ./ -f json
143
+
144
+ # Combined formats
145
+ code2llm ./ -f toon,map,evolution,context
146
+
147
+ # All core formats
148
+ code2llm ./ -f all
149
+ ```
150
+
114
151
  ### Performance Options
115
152
  ```bash
116
153
  # Fast analysis for large projects
@@ -262,6 +299,7 @@ cat context.md | xclip -sel clip # Linux
262
299
  - `flow.mmd` - Detailed control flow with complexity colors
263
300
  - `calls.mmd` - Simple call graph
264
301
  - `compact_flow.mmd` - High-level module view
302
+ - `calls.yaml` - Structured call graph data (YAML format)
265
303
  - `*.png` - Pre-rendered images
266
304
 
267
305
  **Example usage**:
@@ -272,6 +310,12 @@ xdg-open flow.png # Linux
272
310
 
273
311
  # Edit in Mermaid Live Editor
274
312
  # Copy content of .mmd files to https://mermaid.live
313
+
314
+ # Generate only call graph files (mermaid + YAML)
315
+ code2llm ./ -f mermaid
316
+
317
+ # Generate calls.yaml standalone (no visualization files)
318
+ code2llm ./ -f calls
275
319
  ```
276
320
 
277
321
  ## 🔍 Common Analysis Patterns
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "code2llm"
7
- version = "0.5.105"
7
+ version = "0.5.107"
8
8
  description = "High-performance Python code flow analysis with optimized TOON format - CFG, DFG, call graphs, and intelligent code queries"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.8"
@@ -4,7 +4,7 @@ from setuptools import setup, find_packages
4
4
  import os
5
5
 
6
6
  # Read version
7
- version = "0.5.104"
7
+ version = "0.5.106"
8
8
 
9
9
  # Read long description
10
10
  def read_readme():
@@ -67,7 +67,8 @@ def test_template_rendering_with_metrics():
67
67
  assert "complexity" in prompt_content
68
68
  assert "fan_out" in prompt_content
69
69
  assert "reachable" in prompt_content
70
- assert "Wyekstrahuj mniejsze, spójne metody" in prompt_content
70
+ # Instruction is rendered from _get_instruction_for_smell
71
+ assert "Wyekstrahuj" in prompt_content or "Wyodrębnienie" in prompt_content
71
72
 
72
73
  def test_tree_sitter_init():
73
74
  result = AnalysisResult()
File without changes
File without changes
File without changes
File without changes