vcode-analysis 0.7.0__tar.gz → 0.7.1__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.
- {vcode_analysis-0.7.0/vcode_analysis.egg-info → vcode_analysis-0.7.1}/PKG-INFO +2 -2
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/cli.py +8 -2
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/pyproject.toml +2 -2
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1/vcode_analysis.egg-info}/PKG-INFO +2 -2
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/vcode_analysis.egg-info/requires.txt +1 -1
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/LICENSE +0 -0
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/MANIFEST.in +0 -0
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/README.md +0 -0
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/analyzers/__init__.py +0 -0
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/analyzers/architecture.py +0 -0
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/analyzers/code_review.py +0 -0
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/analyzers/context_builder.py +0 -0
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/analyzers/directory.py +0 -0
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/analyzers/documentation.py +0 -0
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/analyzers/knowledge_graph.py +0 -0
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/analyzers/security.py +0 -0
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/core/__init__.py +0 -0
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/core/analyzer.py +0 -0
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/core/batch_analyzer.py +0 -0
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/core/batch_planner.py +0 -0
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/core/cache_manager.py +0 -0
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/core/config.py +0 -0
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/core/git_handler.py +0 -0
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/core/ignore.py +0 -0
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/core/json_utils.py +0 -0
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/core/llm_client.py +0 -0
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/core/report_generator.py +0 -0
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/core/token_estimator.py +0 -0
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/docs/PPT/345/244/247/347/272/262-VCode_Analysis_/346/231/272/350/203/275/344/273/243/347/240/201/345/210/206/346/236/220/345/267/245/345/205/267/345/210/206/344/272/253.md" +0 -0
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/docs/PPT/347/224/237/346/210/220/346/217/220/347/244/272/350/257/215-VCode_Analysis/345/210/206/344/272/253.md" +0 -0
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/docs/USER_MANUAL.md +0 -0
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/docs/design/batch-cache-optimization.md +0 -0
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/docs/design/c-parser-design.md +0 -0
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/docs/design/code-knowledge-graph.md +0 -0
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/docs/design/kotlin-parser-design.md +0 -0
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/docs/design/three-year-roadmap.md +0 -0
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/docs/design/vcode-analysis-tool.md +0 -0
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/docs/review-scenarios.md +0 -0
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/docs/security-sharing-article.md +0 -0
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/parsers/__init__.py +0 -0
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/parsers/c/__init__.py +0 -0
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/parsers/c/ast_parser.py +0 -0
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/parsers/c/models.py +0 -0
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/parsers/c/patterns.py +0 -0
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/parsers/c/regex_parser.py +0 -0
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/parsers/c_parser.py +0 -0
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/parsers/java_parser.py +0 -0
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/parsers/javascript_parser.py +0 -0
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/parsers/kotlin/__init__.py +0 -0
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/parsers/kotlin/ast_parser.py +0 -0
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/parsers/kotlin/models.py +0 -0
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/parsers/kotlin/patterns.py +0 -0
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/parsers/kotlin/regex_parser.py +0 -0
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/parsers/kotlin_parser.py +0 -0
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/parsers/python_parser.py +0 -0
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/parsers/typescript_parser.py +0 -0
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/requirements.txt +0 -0
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/setup.cfg +0 -0
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/tests/test_batch_operations.py +0 -0
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/tests/test_c_parser.py +0 -0
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/tests/test_kotlin_parser.py +0 -0
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/tests/test_report_generator.py +0 -0
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/tests/test_security_rules.py +0 -0
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/vcode_analysis.egg-info/SOURCES.txt +0 -0
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/vcode_analysis.egg-info/dependency_links.txt +0 -0
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/vcode_analysis.egg-info/entry_points.txt +0 -0
- {vcode_analysis-0.7.0 → vcode_analysis-0.7.1}/vcode_analysis.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: vcode-analysis
|
|
3
|
-
Version: 0.7.
|
|
3
|
+
Version: 0.7.1
|
|
4
4
|
Summary: 基于大模型的智能代码分析工具,支持代码审查、文档生成、架构分析和安全扫描
|
|
5
5
|
Author-email: Wellchang <2483808264@qq.com>
|
|
6
6
|
License: MIT
|
|
@@ -25,7 +25,7 @@ Requires-Python: >=3.10
|
|
|
25
25
|
Description-Content-Type: text/markdown
|
|
26
26
|
License-File: LICENSE
|
|
27
27
|
Requires-Dist: httpx>=0.25.0
|
|
28
|
-
Requires-Dist: docopt>=0.
|
|
28
|
+
Requires-Dist: docopt-ng>=0.9.0
|
|
29
29
|
Requires-Dist: pyyaml>=6.0
|
|
30
30
|
Provides-Extra: dev
|
|
31
31
|
Requires-Dist: pytest>=7.0.0; extra == "dev"
|
|
@@ -69,7 +69,7 @@ try:
|
|
|
69
69
|
from docopt import docopt
|
|
70
70
|
except ImportError:
|
|
71
71
|
print("错误: 缺少必要的依赖")
|
|
72
|
-
print("请运行: pip install docopt httpx pyyaml")
|
|
72
|
+
print("请运行: pip install docopt-ng httpx pyyaml")
|
|
73
73
|
sys.exit(1)
|
|
74
74
|
|
|
75
75
|
try:
|
|
@@ -1639,6 +1639,9 @@ def main():
|
|
|
1639
1639
|
try:
|
|
1640
1640
|
args = docopt(__doc__, version=f"code-analysis {__version__}")
|
|
1641
1641
|
except SystemExit as e:
|
|
1642
|
+
# --version / --help 正常退出(exit code 0 或 None),直接放行
|
|
1643
|
+
if e.code in (0, None):
|
|
1644
|
+
return 0
|
|
1642
1645
|
# docopt 解析失败时,尝试给出友好的参数提示
|
|
1643
1646
|
known_options = _collect_known_options()
|
|
1644
1647
|
unknown_args = [a for a in sys.argv[1:] if a.startswith('-') and a not in known_options]
|
|
@@ -1673,7 +1676,10 @@ def main():
|
|
|
1673
1676
|
print(f" 提示: 你是不是想用 {matched_opts[0]} ?")
|
|
1674
1677
|
print()
|
|
1675
1678
|
|
|
1676
|
-
if args.get("
|
|
1679
|
+
if args.get("--version"):
|
|
1680
|
+
print(f"code-analysis {__version__}")
|
|
1681
|
+
return 0
|
|
1682
|
+
elif args.get("review"):
|
|
1677
1683
|
return cmd_review(args)
|
|
1678
1684
|
elif args.get("review-commit"):
|
|
1679
1685
|
return cmd_review_commit(args)
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "vcode-analysis"
|
|
7
|
-
version = "0.7.
|
|
7
|
+
version = "0.7.1"
|
|
8
8
|
description = "基于大模型的智能代码分析工具,支持代码审查、文档生成、架构分析和安全扫描"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
@@ -27,7 +27,7 @@ classifiers = [
|
|
|
27
27
|
]
|
|
28
28
|
dependencies = [
|
|
29
29
|
"httpx>=0.25.0",
|
|
30
|
-
"docopt>=0.
|
|
30
|
+
"docopt-ng>=0.9.0",
|
|
31
31
|
"pyyaml>=6.0",
|
|
32
32
|
]
|
|
33
33
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: vcode-analysis
|
|
3
|
-
Version: 0.7.
|
|
3
|
+
Version: 0.7.1
|
|
4
4
|
Summary: 基于大模型的智能代码分析工具,支持代码审查、文档生成、架构分析和安全扫描
|
|
5
5
|
Author-email: Wellchang <2483808264@qq.com>
|
|
6
6
|
License: MIT
|
|
@@ -25,7 +25,7 @@ Requires-Python: >=3.10
|
|
|
25
25
|
Description-Content-Type: text/markdown
|
|
26
26
|
License-File: LICENSE
|
|
27
27
|
Requires-Dist: httpx>=0.25.0
|
|
28
|
-
Requires-Dist: docopt>=0.
|
|
28
|
+
Requires-Dist: docopt-ng>=0.9.0
|
|
29
29
|
Requires-Dist: pyyaml>=6.0
|
|
30
30
|
Provides-Extra: dev
|
|
31
31
|
Requires-Dist: pytest>=7.0.0; extra == "dev"
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|