sourcecode 1.17.0__tar.gz → 1.18.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.
- {sourcecode-1.17.0 → sourcecode-1.18.0}/PKG-INFO +3 -3
- {sourcecode-1.17.0 → sourcecode-1.18.0}/README.md +2 -2
- {sourcecode-1.17.0 → sourcecode-1.18.0}/pyproject.toml +1 -1
- {sourcecode-1.17.0 → sourcecode-1.18.0}/src/sourcecode/__init__.py +1 -1
- {sourcecode-1.17.0 → sourcecode-1.18.0}/src/sourcecode/prepare_context.py +25 -1
- {sourcecode-1.17.0 → sourcecode-1.18.0}/src/sourcecode/serializer.py +93 -13
- {sourcecode-1.17.0 → sourcecode-1.18.0}/.agents/skills/source-command-gsd-join-discord/SKILL.md +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/.agents/skills/source-command-gsd-review-backlog/SKILL.md +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/.agents/skills/source-command-gsd-workstreams/SKILL.md +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/.continue-here.md +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/.github/workflows/build-windows.yml +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/.gitignore +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/.ruff.toml +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/CONTRIBUTING.md +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/LICENSE +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/SECURITY.md +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/docs/privacy.md +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/docs/schema.md +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/raw +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/run_cli.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/src/sourcecode/adaptive_scanner.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/src/sourcecode/architecture_analyzer.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/src/sourcecode/architecture_summary.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/src/sourcecode/ast_extractor.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/src/sourcecode/classifier.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/src/sourcecode/cli.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/src/sourcecode/code_notes_analyzer.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/src/sourcecode/confidence_analyzer.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/src/sourcecode/context_scorer.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/src/sourcecode/context_summarizer.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/src/sourcecode/contract_model.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/src/sourcecode/contract_pipeline.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/src/sourcecode/coverage_parser.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/src/sourcecode/dependency_analyzer.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/src/sourcecode/detectors/__init__.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/src/sourcecode/detectors/base.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/src/sourcecode/detectors/csproj_parser.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/src/sourcecode/detectors/dart.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/src/sourcecode/detectors/dotnet.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/src/sourcecode/detectors/elixir.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/src/sourcecode/detectors/go.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/src/sourcecode/detectors/heuristic.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/src/sourcecode/detectors/hybrid.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/src/sourcecode/detectors/java.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/src/sourcecode/detectors/jvm_ext.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/src/sourcecode/detectors/nodejs.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/src/sourcecode/detectors/parsers.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/src/sourcecode/detectors/php.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/src/sourcecode/detectors/project.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/src/sourcecode/detectors/python.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/src/sourcecode/detectors/ruby.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/src/sourcecode/detectors/rust.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/src/sourcecode/detectors/systems.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/src/sourcecode/detectors/terraform.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/src/sourcecode/detectors/tooling.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/src/sourcecode/doc_analyzer.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/src/sourcecode/entrypoint_classifier.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/src/sourcecode/env_analyzer.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/src/sourcecode/file_classifier.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/src/sourcecode/git_analyzer.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/src/sourcecode/graph_analyzer.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/src/sourcecode/metrics_analyzer.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/src/sourcecode/progress.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/src/sourcecode/ranking_engine.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/src/sourcecode/redactor.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/src/sourcecode/relevance_scorer.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/src/sourcecode/repo_classifier.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/src/sourcecode/runtime_classifier.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/src/sourcecode/scanner.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/src/sourcecode/schema.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/src/sourcecode/semantic_analyzer.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/src/sourcecode/summarizer.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/src/sourcecode/telemetry/__init__.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/src/sourcecode/telemetry/config.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/src/sourcecode/telemetry/consent.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/src/sourcecode/telemetry/events.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/src/sourcecode/telemetry/filters.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/src/sourcecode/telemetry/transport.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/src/sourcecode/tree_utils.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/src/sourcecode/workspace.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/__init__.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/conftest.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/fixtures/coverage.xml +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/fixtures/fastapi_app/pyproject.toml +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/fixtures/fastapi_app/src/main.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/fixtures/go_service/cmd/api/main.go +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/fixtures/go_service/go.mod +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/fixtures/jacoco.xml +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/fixtures/latin1_sample.java +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/fixtures/latin1_sample_iso.java +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/fixtures/lcov.info +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/fixtures/nextjs_app/app/page.tsx +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/fixtures/nextjs_app/package.json +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/fixtures/nextjs_app/pnpm-lock.yaml +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/fixtures/pnpm_monorepo/apps/web/app/page.tsx +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/fixtures/pnpm_monorepo/apps/web/package.json +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/fixtures/pnpm_monorepo/packages/api/main.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/fixtures/pnpm_monorepo/packages/api/pyproject.toml +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/fixtures/pnpm_monorepo/pnpm-workspace.yaml +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/fixtures/spring_boot_minimal/pom.xml +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/fixtures/spring_boot_minimal/src/main/java/com/example/ddd/ausente/application/service/FindAusenteService.java +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/fixtures/spring_boot_minimal/src/main/java/com/example/ddd/ausente/domain/entities/Ausente.java +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/fixtures/spring_boot_minimal/src/main/java/com/example/ddd/ausente/infrastructure/rest/AusenteRestController.java +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/fixtures/spring_boot_minimal/src/main/java/com/example/ddd/autocoberturas/application/service/FindAutocoberturasService.java +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/fixtures/spring_boot_minimal/src/main/java/com/example/ddd/autocoberturas/domain/entities/Autocoberturas.java +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/fixtures/spring_boot_minimal/src/main/java/com/example/ddd/autocoberturas/infrastructure/rest/AutocoberturasRestController.java +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/fixtures/spring_boot_minimal/src/main/java/com/example/ddd/calendarioTrabajador/application/service/FindCalendarioTrabajadorService.java +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/fixtures/spring_boot_minimal/src/main/java/com/example/ddd/calendarioTrabajador/domain/entities/CalendarioTrabajador.java +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/fixtures/spring_boot_minimal/src/main/java/com/example/ddd/calendarioTrabajador/infrastructure/rest/CalendarioTrabajadorRestController.java +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/fixtures/spring_boot_minimal/src/main/java/com/example/ddd/departamento/application/service/FindDepartamentoService.java +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/fixtures/spring_boot_minimal/src/main/java/com/example/ddd/departamento/domain/entities/Departamento.java +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/fixtures/spring_boot_minimal/src/main/java/com/example/ddd/departamento/infrastructure/rest/DepartamentoRestController.java +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/fixtures/spring_boot_minimal/src/main/java/com/example/ddd/empleado/application/service/FindEmpleadoService.java +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/fixtures/spring_boot_minimal/src/main/java/com/example/ddd/empleado/domain/entities/Empleado.java +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/fixtures/spring_boot_minimal/src/main/java/com/example/ddd/empleado/infrastructure/rest/EmpleadoRestController.java +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/fixtures/spring_boot_minimal/src/main/java/com/example/demo/DemoApplication.java +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/fixtures/spring_boot_minimal/src/main/java/com/example/demo/config/FilterConfig.java +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/fixtures/spring_boot_minimal/src/main/java/com/example/demo/domain/Health.java +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/fixtures/spring_boot_minimal/src/main/java/com/example/demo/mapper/HealthMapper.java +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/fixtures/spring_boot_minimal/src/main/java/com/example/demo/repository/HealthRepository.java +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/fixtures/spring_boot_minimal/src/main/java/com/example/demo/service/HealthService.java +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/fixtures/spring_boot_minimal/src/main/java/com/example/demo/web/HealthRestController.java +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/fixtures/spring_boot_minimal/src/main/java/com/example/demo/web/NominaRestController.java +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/fixtures/spring_boot_minimal/src/main/resources/application-dev.yml +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/fixtures/spring_boot_minimal/src/main/resources/application.yml +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/fixtures/spring_boot_minimal/src/main/resources/mapper/HealthMapper.xml +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/test_architecture_analyzer.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/test_architecture_summary.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/test_ast_extractor.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/test_block1_reliability.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/test_block2_coverage.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/test_block5_quality.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/test_bug_fixes_v16.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/test_classifier.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/test_cli.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/test_code_notes_analyzer.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/test_context_scorer.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/test_contract_pipeline.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/test_coverage_parser.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/test_cross_consistency.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/test_dependency_analyzer_node_python.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/test_dependency_analyzer_polyglot.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/test_dependency_schema.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/test_detector_dotnet.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/test_detector_go_rust_java.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/test_detector_nodejs.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/test_detector_php_ruby_dart.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/test_detector_python.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/test_detector_universal_managed.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/test_detector_universal_systems.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/test_detectors_base.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/test_doc_analyzer_jsdom.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/test_doc_analyzer_python.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/test_encoding_regression.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/test_graph_analyzer_polyglot.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/test_graph_analyzer_python_node.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/test_graph_schema.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/test_hybrid_inference.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/test_integration.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/test_integration_dependencies.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/test_integration_detection.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/test_integration_docs.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/test_integration_graph_modules.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/test_integration_lqn.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/test_integration_metrics.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/test_integration_multistack.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/test_integration_semantics.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/test_integration_universal.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/test_java_spring_integration.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/test_metrics_analyzer.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/test_packaging.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/test_phase1_improvements.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/test_pipeline_integrity.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/test_real_projects.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/test_redactor.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/test_scanner.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/test_schema.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/test_schema_normalization.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/test_semantic_analyzer_node.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/test_semantic_analyzer_python.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/test_semantic_import_resolution.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/test_semantic_schema.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/test_signal_hierarchy.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/test_summarizer.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/test_surface_honesty.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/test_task_differentiation.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/test_telemetry.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/test_v1_10_regressions.py +0 -0
- {sourcecode-1.17.0 → sourcecode-1.18.0}/tests/test_workspace_analyzer.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: sourcecode
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.18.0
|
|
4
4
|
Summary: Deterministic codebase context for AI coding agents
|
|
5
5
|
License: Apache License
|
|
6
6
|
Version 2.0, January 2004
|
|
@@ -221,7 +221,7 @@ Description-Content-Type: text/markdown
|
|
|
221
221
|
|
|
222
222
|
**Compressed AI-ready context for Java/Spring enterprise codebases.**
|
|
223
223
|
|
|
224
|
-

|
|
225
225
|

|
|
226
226
|
|
|
227
227
|
---
|
|
@@ -255,7 +255,7 @@ pipx install sourcecode
|
|
|
255
255
|
|
|
256
256
|
```bash
|
|
257
257
|
sourcecode version
|
|
258
|
-
# sourcecode 1.
|
|
258
|
+
# sourcecode 1.18.0
|
|
259
259
|
```
|
|
260
260
|
|
|
261
261
|
---
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
**Compressed AI-ready context for Java/Spring enterprise codebases.**
|
|
4
4
|
|
|
5
|
-

|
|
6
6
|

|
|
7
7
|
|
|
8
8
|
---
|
|
@@ -36,7 +36,7 @@ pipx install sourcecode
|
|
|
36
36
|
|
|
37
37
|
```bash
|
|
38
38
|
sourcecode version
|
|
39
|
-
# sourcecode 1.
|
|
39
|
+
# sourcecode 1.18.0
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
---
|
|
@@ -652,7 +652,31 @@ class TaskContextBuilder:
|
|
|
652
652
|
"line": getattr(_n, "line", None),
|
|
653
653
|
"text": getattr(_n, "text", ""),
|
|
654
654
|
})
|
|
655
|
-
#
|
|
655
|
+
# Secondary pass: inject files whose path matches symptom keywords
|
|
656
|
+
# but weren't in the candidate pool (no structural/git signals).
|
|
657
|
+
_existing_paths = {rf.path for rf in relevant_files}
|
|
658
|
+
for _p in all_paths:
|
|
659
|
+
if _p in _existing_paths:
|
|
660
|
+
continue
|
|
661
|
+
if Path(_p).suffix.lower() not in _ALL_EXTENSIONS:
|
|
662
|
+
continue
|
|
663
|
+
_p_lower = _p.lower()
|
|
664
|
+
_matching_kws = [kw for kw in symptom_keywords if kw in _p_lower]
|
|
665
|
+
if not _matching_kws:
|
|
666
|
+
continue
|
|
667
|
+
_boost = 0.2 * len(_matching_kws)
|
|
668
|
+
_injected_score = round(min(0.5 + _boost, 1.0), 2)
|
|
669
|
+
_first_kw = _matching_kws[0]
|
|
670
|
+
relevant_files.append(RelevantFile(
|
|
671
|
+
path=_p,
|
|
672
|
+
role="symptom_match",
|
|
673
|
+
score=_injected_score,
|
|
674
|
+
reason=f"path matches symptom keyword: {_first_kw}",
|
|
675
|
+
why=f"symptom injection: {', '.join(_matching_kws)}",
|
|
676
|
+
))
|
|
677
|
+
_existing_paths.add(_p)
|
|
678
|
+
|
|
679
|
+
# Re-rank all relevant_files: boost files whose path matches keywords
|
|
656
680
|
def _symptom_score(rf: "RelevantFile") -> float:
|
|
657
681
|
path_lower = rf.path.lower()
|
|
658
682
|
return rf.score + 0.2 * sum(1.0 for kw in symptom_keywords if kw in path_lower)
|
|
@@ -383,16 +383,27 @@ def _spring_profiles_context(sm: "SourceMap") -> "Optional[dict[str, Any]]":
|
|
|
383
383
|
if not profiles:
|
|
384
384
|
return None
|
|
385
385
|
|
|
386
|
-
# Per-profile variants: Java files whose
|
|
386
|
+
# Per-profile variants: Java/XML files whose stem or path contains the profile name.
|
|
387
|
+
# Portal profiles (e.g. "ingesa-portal") use dash in directory/resource names but
|
|
388
|
+
# never in Java class names — match on full path instead of stem only.
|
|
387
389
|
per_profile: dict[str, list[str]] = {}
|
|
388
390
|
for profile in profiles:
|
|
389
391
|
pfx = profile.lower()
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
392
|
+
is_portal = "-" in profile
|
|
393
|
+
if is_portal:
|
|
394
|
+
matches = [
|
|
395
|
+
p for p in sm.file_paths
|
|
396
|
+
if pfx in p.lower() and (p.endswith(".java") or p.endswith(".xml"))
|
|
397
|
+
]
|
|
398
|
+
else:
|
|
399
|
+
matches = [
|
|
400
|
+
p for p in sm.file_paths
|
|
401
|
+
if pfx in Path(p).stem.lower() and p.endswith(".java")
|
|
402
|
+
]
|
|
394
403
|
if matches:
|
|
395
404
|
per_profile[profile] = [Path(p).name for p in matches[:5]]
|
|
405
|
+
elif is_portal:
|
|
406
|
+
per_profile[profile] = []
|
|
396
407
|
|
|
397
408
|
result: dict[str, Any] = {"detected": profiles}
|
|
398
409
|
if per_profile:
|
|
@@ -420,16 +431,53 @@ def _transactional_summary(sm: "SourceMap", *, full: bool = False) -> "Optional[
|
|
|
420
431
|
if total > 10 and not full:
|
|
421
432
|
result["classes"] = classes[:10]
|
|
422
433
|
result["truncated"] = True
|
|
423
|
-
result["note"] = f"showing 10 of {total}; use --full
|
|
434
|
+
result["note"] = f"showing 10 of {total}; use --full to see all {total}"
|
|
424
435
|
return result
|
|
425
436
|
return None
|
|
426
437
|
|
|
427
438
|
|
|
428
|
-
def
|
|
439
|
+
def _resolve_java_constant(symbol: str, root: "Optional[Path]", file_paths: "Optional[list[str]]") -> str:
|
|
440
|
+
"""Resolve a Java constant reference like ClassName.FIELD_NAME to its string value."""
|
|
441
|
+
import re as _re
|
|
442
|
+
if not root or not file_paths or "." not in symbol:
|
|
443
|
+
return symbol
|
|
444
|
+
parts = symbol.rsplit(".", 1)
|
|
445
|
+
if len(parts) != 2:
|
|
446
|
+
return symbol
|
|
447
|
+
class_name, field_name = parts
|
|
448
|
+
if not class_name or not field_name or not field_name.isupper():
|
|
449
|
+
return symbol
|
|
450
|
+
target_file = f"{class_name}.java"
|
|
451
|
+
candidates = [p for p in file_paths if Path(p).name == target_file]
|
|
452
|
+
if not candidates:
|
|
453
|
+
return symbol
|
|
454
|
+
_CONST_RE = _re.compile(
|
|
455
|
+
r'\b' + _re.escape(field_name) + r'\s*=\s*"([^"]+)"'
|
|
456
|
+
)
|
|
457
|
+
for rel_path in candidates:
|
|
458
|
+
try:
|
|
459
|
+
abs_path = root / rel_path
|
|
460
|
+
content = abs_path.read_text(encoding="utf-8", errors="replace")
|
|
461
|
+
m = _CONST_RE.search(content)
|
|
462
|
+
if m:
|
|
463
|
+
return m.group(1)
|
|
464
|
+
except OSError:
|
|
465
|
+
continue
|
|
466
|
+
return symbol
|
|
467
|
+
|
|
468
|
+
|
|
469
|
+
def _security_surface_from_eps(
|
|
470
|
+
eps: list,
|
|
471
|
+
*,
|
|
472
|
+
root: "Optional[Path]" = None,
|
|
473
|
+
file_paths: "Optional[list[str]]" = None,
|
|
474
|
+
) -> "Optional[dict[str, Any]]":
|
|
429
475
|
"""Extract @M3FiltroSeguridad resource names from entry point evidence strings."""
|
|
430
476
|
import re as _re
|
|
431
477
|
_NOMBRE_RE = _re.compile(r"nombreRecurso=[\"']([^\"']+)[\"']")
|
|
478
|
+
_CONST_SYMBOL_RE = _re.compile(r'^[\w]+\.[\w]+$')
|
|
432
479
|
resource_names: list[str] = []
|
|
480
|
+
unresolved: list[str] = []
|
|
433
481
|
seen: set[str] = set()
|
|
434
482
|
for ep in eps:
|
|
435
483
|
evidence = getattr(ep, "evidence", None)
|
|
@@ -437,18 +485,30 @@ def _security_surface_from_eps(eps: list) -> "Optional[dict[str, Any]]":
|
|
|
437
485
|
continue
|
|
438
486
|
for m in _NOMBRE_RE.finditer(evidence):
|
|
439
487
|
nm = m.group(1)
|
|
440
|
-
if nm
|
|
441
|
-
|
|
488
|
+
if not nm or nm in seen:
|
|
489
|
+
continue
|
|
490
|
+
seen.add(nm)
|
|
491
|
+
if _CONST_SYMBOL_RE.match(nm):
|
|
492
|
+
resolved = _resolve_java_constant(nm, root, file_paths)
|
|
493
|
+
if resolved != nm:
|
|
494
|
+
resource_names.append(resolved)
|
|
495
|
+
else:
|
|
496
|
+
resource_names.append(nm)
|
|
497
|
+
unresolved.append(nm)
|
|
498
|
+
else:
|
|
442
499
|
resource_names.append(nm)
|
|
443
500
|
if not resource_names:
|
|
444
501
|
return None
|
|
445
|
-
|
|
502
|
+
result: dict[str, Any] = {
|
|
446
503
|
"schema": (
|
|
447
504
|
"Values used in @M3FiltroSeguridad(nombreRecurso=VALUE) on REST controller "
|
|
448
505
|
"methods. Each value names a permission resource checked at runtime."
|
|
449
506
|
),
|
|
450
507
|
"resource_names": resource_names,
|
|
451
508
|
}
|
|
509
|
+
if unresolved:
|
|
510
|
+
result["resource_names_unresolved"] = unresolved
|
|
511
|
+
return result
|
|
452
512
|
|
|
453
513
|
|
|
454
514
|
def _bootstrap_structured(eps: list) -> "Optional[dict[str, Any]]":
|
|
@@ -712,6 +772,7 @@ def _file_relevance(sm: SourceMap, *, limit: int = _FILE_RELEVANCE_LIMIT) -> lis
|
|
|
712
772
|
"category": file_class.category if file_class else "source",
|
|
713
773
|
"confidence": file_class.confidence if file_class else "low",
|
|
714
774
|
"relevance": relevance_val,
|
|
775
|
+
"score": relevance_val,
|
|
715
776
|
"reason": file_class.reason if file_class else (fs.reasons[0] if fs.reasons else "source file"),
|
|
716
777
|
"evidence": file_class.evidence if file_class else [],
|
|
717
778
|
}
|
|
@@ -722,6 +783,18 @@ def _file_relevance(sm: SourceMap, *, limit: int = _FILE_RELEVANCE_LIMIT) -> lis
|
|
|
722
783
|
if ranking_reasons:
|
|
723
784
|
item["ranking_reasons"] = ranking_reasons
|
|
724
785
|
|
|
786
|
+
# Override metadata for known M3 base controller classes
|
|
787
|
+
if any(k in stem for k in ("GenericRestController", "GenericCRUDRestController")):
|
|
788
|
+
item["category"] = "runtime_core"
|
|
789
|
+
item["relevance"] = 0.95
|
|
790
|
+
item["score"] = 0.95
|
|
791
|
+
item["reason"] = (
|
|
792
|
+
"base class for all REST controllers — extends this to get "
|
|
793
|
+
"centralized exception handling via handlerException()"
|
|
794
|
+
)
|
|
795
|
+
item["evidence"] = ["base_rest_controller"]
|
|
796
|
+
item["ranking_reasons"] = ["universal base class", "exception handling contract"]
|
|
797
|
+
|
|
725
798
|
scored.append((combined, item))
|
|
726
799
|
|
|
727
800
|
# Deterministic sort: score desc, then path asc
|
|
@@ -970,7 +1043,12 @@ def compact_view(sm: SourceMap, *, no_tree: bool = False, full: bool = False) ->
|
|
|
970
1043
|
conf_dict: Any = None
|
|
971
1044
|
if sm.confidence_summary is not None:
|
|
972
1045
|
cs = sm.confidence_summary
|
|
973
|
-
conf_dict = {
|
|
1046
|
+
conf_dict = {
|
|
1047
|
+
"overall": cs.overall,
|
|
1048
|
+
"stack": cs.stack_confidence,
|
|
1049
|
+
"entry_points": cs.entry_point_confidence,
|
|
1050
|
+
"sections": _section_confidence(sm),
|
|
1051
|
+
}
|
|
974
1052
|
if cs.anomalies:
|
|
975
1053
|
conf_dict["anomalies"] = cs.anomalies
|
|
976
1054
|
|
|
@@ -997,7 +1075,8 @@ def compact_view(sm: SourceMap, *, no_tree: bool = False, full: bool = False) ->
|
|
|
997
1075
|
if _app_server:
|
|
998
1076
|
_deployment["app_server_hint"] = _app_server
|
|
999
1077
|
_deploy_risks = _project_deployment_risks(sm)
|
|
1000
|
-
|
|
1078
|
+
_sec_root = Path(sm.metadata.analyzed_path) if sm.metadata.analyzed_path else None
|
|
1079
|
+
_security_surface = _security_surface_from_eps(sm.entry_points, root=_sec_root, file_paths=sm.file_paths)
|
|
1001
1080
|
_mybatis = _mybatis_pairing(sm, full=full)
|
|
1002
1081
|
_transactional = _transactional_summary(sm, full=full)
|
|
1003
1082
|
_git_ctx = _compact_git_context(sm)
|
|
@@ -1515,7 +1594,8 @@ def agent_view(sm: SourceMap, *, full: bool = False) -> dict[str, Any]:
|
|
|
1515
1594
|
signals["semantic_graph"] = sem_info
|
|
1516
1595
|
|
|
1517
1596
|
# Java/Spring: security surface, ORM structure, transactional boundaries
|
|
1518
|
-
|
|
1597
|
+
_av_root = Path(sm.metadata.analyzed_path) if sm.metadata.analyzed_path else None
|
|
1598
|
+
_sec_surf = _security_surface_from_eps(sm.entry_points, root=_av_root, file_paths=sm.file_paths)
|
|
1519
1599
|
if _sec_surf:
|
|
1520
1600
|
signals["security_surface"] = _sec_surf
|
|
1521
1601
|
_mb = _mybatis_pairing(sm, full=full)
|
{sourcecode-1.17.0 → sourcecode-1.18.0}/.agents/skills/source-command-gsd-join-discord/SKILL.md
RENAMED
|
File without changes
|
{sourcecode-1.17.0 → sourcecode-1.18.0}/.agents/skills/source-command-gsd-review-backlog/SKILL.md
RENAMED
|
File without changes
|
{sourcecode-1.17.0 → sourcecode-1.18.0}/.agents/skills/source-command-gsd-workstreams/SKILL.md
RENAMED
|
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
|
|
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
|
{sourcecode-1.17.0 → sourcecode-1.18.0}/tests/fixtures/pnpm_monorepo/packages/api/pyproject.toml
RENAMED
|
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
|
|
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
|