tripl 0.3.2__tar.gz → 0.3.3__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.
- tripl-0.3.3/Dockerfile +66 -0
- {tripl-0.3.2 → tripl-0.3.3}/PKG-INFO +26 -9
- {tripl-0.3.2 → tripl-0.3.3}/README.md +25 -8
- {tripl-0.3.2 → tripl-0.3.3}/pyproject.toml +1 -1
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/api/events.py +13 -0
- tripl-0.3.3/src/tripl_cli/check/__init__.py +22 -0
- tripl-0.3.3/src/tripl_cli/check/baseline.py +453 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/check/calls.py +9 -3
- tripl-0.3.3/src/tripl_cli/check/changes.py +666 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/check/config.py +15 -0
- tripl-0.3.3/src/tripl_cli/check/fingerprint.py +120 -0
- tripl-0.3.3/src/tripl_cli/check/gate.py +680 -0
- tripl-0.3.3/src/tripl_cli/check/inventory.py +1009 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/check/lexer.py +5 -0
- tripl-0.3.3/src/tripl_cli/check/listing.py +396 -0
- tripl-0.3.3/src/tripl_cli/check/model.py +426 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/check/payloads.py +9 -6
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/check/presets.py +28 -3
- tripl-0.3.3/src/tripl_cli/check/render.py +590 -0
- tripl-0.3.3/src/tripl_cli/check/reports.py +293 -0
- tripl-0.3.3/src/tripl_cli/check/scan.py +619 -0
- tripl-0.3.3/src/tripl_cli/check/scopes.py +789 -0
- tripl-0.3.3/src/tripl_cli/check/signatures.py +401 -0
- tripl-0.3.3/src/tripl_cli/check/suppress.py +245 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/check/symbols.py +31 -14
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/check/validate.py +23 -2
- tripl-0.3.3/src/tripl_cli/check/values.py +728 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/check/yamlish.py +58 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/cli.py +14 -6
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/commands/__init__.py +4 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/commands/_check_config.py +10 -4
- tripl-0.3.3/src/tripl_cli/commands/check.py +984 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/commands/codegen.py +7 -4
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/commands/export.py +3 -1
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/diagnostics/scan_checks.py +4 -3
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/errors.py +35 -1
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/install/files/compose.yaml +36 -2
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/install/shell.py +48 -18
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/report.py +258 -18
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/runner.py +29 -0
- tripl-0.3.3/tests/check_golden/no-marker.codequality.json +70 -0
- tripl-0.3.3/tests/check_golden/no-marker.junit.xml +6 -0
- tripl-0.3.3/tests/check_golden/no-marker.sarif.json +233 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/test_api_requests.py +1 -0
- tripl-0.3.3/tests/test_check_baseline.py +763 -0
- tripl-0.3.3/tests/test_check_changes.py +687 -0
- tripl-0.3.3/tests/test_check_cmd.py +2231 -0
- tripl-0.3.3/tests/test_check_gate.py +359 -0
- tripl-0.3.3/tests/test_check_gate_cmd.py +1656 -0
- tripl-0.3.3/tests/test_check_reports.py +610 -0
- tripl-0.3.3/tests/test_check_scan.py +2953 -0
- tripl-0.3.3/tests/test_check_suppress.py +376 -0
- tripl-0.3.3/tests/test_ci_templates.py +509 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/test_codegen_cmd.py +30 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/test_contract.py +112 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/test_output_samples.py +298 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/test_runner.py +24 -0
- {tripl-0.3.2 → tripl-0.3.3}/uv.lock +1 -1
- tripl-0.3.2/src/tripl_cli/check/__init__.py +0 -18
- tripl-0.3.2/src/tripl_cli/check/model.py +0 -121
- tripl-0.3.2/src/tripl_cli/check/render.py +0 -254
- tripl-0.3.2/src/tripl_cli/check/scan.py +0 -367
- tripl-0.3.2/src/tripl_cli/check/values.py +0 -393
- tripl-0.3.2/src/tripl_cli/commands/check.py +0 -189
- tripl-0.3.2/tests/test_check_cmd.py +0 -640
- tripl-0.3.2/tests/test_check_scan.py +0 -639
- {tripl-0.3.2 → tripl-0.3.3}/.gitignore +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/LICENSE +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/__init__.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/__main__.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/api/__init__.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/api/auth.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/api/branches.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/api/chart_annotations.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/api/data_sources.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/api/docs.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/api/endpoints.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/api/event_types.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/api/monitoring.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/api/plan_export.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/api/plan_validation.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/api/projects.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/api/request.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/api/scans.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/api/search.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/api/variables.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/client.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/codegen/__init__.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/codegen/calls.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/codegen/context.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/codegen/context_named.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/codegen/context_plan.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/codegen/files.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/codegen/generate.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/codegen/languages.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/codegen/model.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/codegen/naming.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/codegen/template.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/codegen/templates/named.kotlin.mustache +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/codegen/templates/named.swift.mustache +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/codegen/templates/named.ts.mustache +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/codegen/templates/screen_view.kotlin.mustache +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/codegen/templates/screen_view.swift.mustache +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/codegen/templates/screen_view.ts.mustache +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/codegen/templates/self_describing.kotlin.mustache +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/codegen/templates/self_describing.swift.mustache +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/codegen/templates/self_describing.ts.mustache +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/codegen/templates/structured.kotlin.mustache +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/codegen/templates/structured.swift.mustache +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/codegen/templates/structured.ts.mustache +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/codegen/templates/transport.kotlin.mustache +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/codegen/templates/transport.swift.mustache +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/codegen/templates/transport.ts.mustache +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/codegen/value_types.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/commands/_docs_files.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/commands/_plan.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/commands/_resolve.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/commands/_write.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/commands/annotate.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/commands/docs.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/commands/doctor.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/commands/drifts.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/commands/events.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/commands/install.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/commands/plan.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/commands/scans.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/commands/status.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/commands/upgrade.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/commands/watch.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/commands/whoami.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/config.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/diagnostics/__init__.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/diagnostics/checks.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/diagnostics/collect.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/diagnostics/endpoints.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/install/__init__.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/install/docker.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/install/files/rabbitmq.conf +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/install/files.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/install/health.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/install/plan.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/install/render.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/install/secrets.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/model.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/py.typed +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/render.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/watch/__init__.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/watch/collect.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/watch/diff.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/watch/loop.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/watch/model.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/src/tripl_cli/watch/render.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/__init__.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/codegen/check.yml +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/codegen/custom/check.yml +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/codegen/custom/golden/kotlin/AcmeAction.kt +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/codegen/custom/golden/kotlin/AcmeAppConstants.kt +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/codegen/custom/golden/kotlin/AcmeCategory.kt +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/codegen/custom/golden/kotlin/AcmeLabel.kt +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/codegen/custom/golden/kotlin/AcmeProperty.kt +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/codegen/custom/golden/kotlin/AcmeScreens.kt +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/codegen/custom/golden/kotlin/AcmeStructured.kt +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/codegen/custom/golden/kotlin/TriplTransport.kt +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/codegen/custom/golden/swift/AcmeAppConstants.swift +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/codegen/custom/golden/swift/AcmePlanned.swift +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/codegen/custom/golden/swift/AcmeScreens.swift +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/codegen/custom/golden/swift/AcmeStructured.swift +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/codegen/custom/golden/swift/TriplTransport.swift +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/codegen/custom/golden/ts/acmeAction.ts +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/codegen/custom/golden/ts/acmeAppConstants.ts +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/codegen/custom/golden/ts/acmeCategory.ts +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/codegen/custom/golden/ts/acmeLabel.ts +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/codegen/custom/golden/ts/acmeProperty.ts +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/codegen/custom/golden/ts/acmeScreens.ts +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/codegen/custom/golden/ts/acmeStructured.ts +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/codegen/custom/golden/ts/triplTransport.ts +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/codegen/custom/model.json +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/codegen/custom/templates/holder.kotlin.mustache +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/codegen/custom/templates/holder.ts.mustache +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/codegen/custom/templates/named.kotlin.mustache +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/codegen/custom/templates/named.swift.mustache +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/codegen/custom/templates/named.ts.mustache +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/codegen/custom/templates/planned.swift.mustache +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/codegen/custom/templates/screen.kotlin.mustache +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/codegen/custom/templates/screen.swift.mustache +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/codegen/custom/templates/screen.ts.mustache +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/codegen/custom/templates/structured.kotlin.mustache +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/codegen/custom/templates/structured.swift.mustache +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/codegen/custom/templates/structured.ts.mustache +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/codegen/golden/kotlin/AppEvents.kt +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/codegen/golden/kotlin/LegacyTracking.kt +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/codegen/golden/kotlin/ScreenTracking.kt +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/codegen/golden/kotlin/SdTracking.kt +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/codegen/golden/kotlin/TriplTransport.kt +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/codegen/golden/swift/AppEvents.swift +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/codegen/golden/swift/LegacyTracking.swift +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/codegen/golden/swift/ScreenTracking.swift +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/codegen/golden/swift/SdTracking.swift +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/codegen/golden/swift/TriplTransport.swift +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/codegen/golden/ts/appEvents.ts +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/codegen/golden/ts/legacyTracking.ts +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/codegen/golden/ts/screenTracking.ts +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/codegen/golden/ts/sdTracking.ts +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/codegen/golden/ts/triplTransport.ts +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/codegen/model.json +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/conftest.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/test_annotate_cmd.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/test_check_config_flags.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/test_checks.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/test_cli.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/test_client.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/test_client_redirects.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/test_codegen_custom.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/test_codegen_generate.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/test_codegen_naming.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/test_codegen_template.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/test_compose_env.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/test_config.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/test_docker_detect.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/test_docs_audience.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/test_docs_cmd.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/test_docs_cover_the_parser.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/test_doctor.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/test_drifts_cmd.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/test_events_cmd.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/test_install_cmd.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/test_install_files.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/test_install_version_recovery.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/test_plan_cmd.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/test_scans_cmd.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/test_status.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/test_upgrade_cmd.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/test_watch.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/test_watch_diff.py +0 -0
- {tripl-0.3.2 → tripl-0.3.3}/tests/test_whoami_cmd.py +0 -0
tripl-0.3.3/Dockerfile
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# The tripl CLI for CI jobs, published as ghcr.io/tripl-io/tripl-cli by
|
|
2
|
+
# publish-cli.yml on every cli-v* tag: Python, `tripl` on PATH, git and a shell,
|
|
3
|
+
# and no ENTRYPOINT, so GitLab CI, Bitbucket Pipelines, Jenkins, CircleCI or Azure
|
|
4
|
+
# Pipelines run a job's script in it as they would in python:3.x-slim, without
|
|
5
|
+
# installing the CLI from PyPI on every run.
|
|
6
|
+
#
|
|
7
|
+
# Build context is the REPOSITORY ROOT, not cli/, for the license-notice script
|
|
8
|
+
# under backend/scripts: `docker build -f cli/Dockerfile .`. ci.yml and
|
|
9
|
+
# publish-cli.yml both pass context `.`.
|
|
10
|
+
|
|
11
|
+
# Pinned on purpose: :latest makes the image non-reproducible. A stage of its
|
|
12
|
+
# own rather than `COPY --from=<image>` because Dependabot bumps FROM lines
|
|
13
|
+
# only. Bump it together with the uv images of the root Dockerfile,
|
|
14
|
+
# backend/Dockerfile and mcp-server/Dockerfile.
|
|
15
|
+
FROM ghcr.io/astral-sh/uv:0.13.0 AS uv
|
|
16
|
+
|
|
17
|
+
FROM python:3.14-slim-trixie AS build
|
|
18
|
+
|
|
19
|
+
COPY --from=uv /uv /usr/local/bin/uv
|
|
20
|
+
|
|
21
|
+
WORKDIR /app/cli
|
|
22
|
+
# No Python downloads: the venv must run on this stage's interpreter, which the
|
|
23
|
+
# runtime stage has at the same path. A Python uv fetched would stay behind here.
|
|
24
|
+
ENV UV_COMPILE_BYTECODE=1 UV_LINK_MODE=copy UV_PYTHON_DOWNLOADS=never
|
|
25
|
+
|
|
26
|
+
# What uv builds the package from: pyproject.toml, src/, README.md (declared as
|
|
27
|
+
# `readme`) and LICENSE.
|
|
28
|
+
COPY cli/pyproject.toml cli/uv.lock cli/README.md cli/LICENSE ./
|
|
29
|
+
COPY cli/src ./src
|
|
30
|
+
# --locked, like CI: it fails on a uv.lock that no longer describes
|
|
31
|
+
# pyproject.toml. --no-editable installs the package itself into the venv, so
|
|
32
|
+
# the runtime stage needs neither the source nor uv.
|
|
33
|
+
RUN uv sync --locked --no-dev --no-editable
|
|
34
|
+
|
|
35
|
+
FROM python:3.14-slim-trixie
|
|
36
|
+
|
|
37
|
+
COPY --from=build /app/cli/.venv /app/cli/.venv
|
|
38
|
+
# A CI log shows stdout and stderr in the order the CLI wrote them.
|
|
39
|
+
ENV PATH="/app/cli/.venv/bin:$PATH" PYTHONUNBUFFERED=1
|
|
40
|
+
|
|
41
|
+
# git, for `tripl check --new-from-rev`, which diffs the checkout against the
|
|
42
|
+
# merge request's base commit, and for the `git fetch` of that commit a job
|
|
43
|
+
# runs first. Git alone: no recommends (no ssh client, no perl, no less).
|
|
44
|
+
# Before the license notices, so git's own Debian notice is collected with the
|
|
45
|
+
# rest. A job running under a uid that does not own its checkout gets git's
|
|
46
|
+
# "dubious ownership" refusal as an exit 2 with the safe.directory command to
|
|
47
|
+
# run; nothing here sets safe.directory for it.
|
|
48
|
+
RUN apt-get update \
|
|
49
|
+
&& apt-get install -y --no-install-recommends git \
|
|
50
|
+
&& rm -rf /var/lib/apt/lists/*
|
|
51
|
+
|
|
52
|
+
# Third-party license notices for the venv and the Debian packages (git
|
|
53
|
+
# included), in /app/licenses (README.md is the index).
|
|
54
|
+
RUN --mount=type=bind,source=backend/scripts/third_party_licenses.py,target=/tmp/third_party_licenses.py \
|
|
55
|
+
/app/cli/.venv/bin/python /tmp/third_party_licenses.py --out /app/licenses
|
|
56
|
+
|
|
57
|
+
# Root, unlike the service images and like the python:3.x-slim images CI jobs
|
|
58
|
+
# use: a job writes its reports into a workspace that belongs to the runner,
|
|
59
|
+
# and a uid of this image's own could not where a runner mounts that workspace
|
|
60
|
+
# from the host and keeps the image's user (GitHub's container jobs, for one).
|
|
61
|
+
# The image serves nothing; each job runs one command in it and exits.
|
|
62
|
+
#
|
|
63
|
+
# For `docker run --rm -v "$PWD:/src" ghcr.io/tripl-io/tripl-cli tripl check`;
|
|
64
|
+
# a CI job runs in its own checkout directory instead.
|
|
65
|
+
WORKDIR /src
|
|
66
|
+
CMD ["tripl", "--help"]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: tripl
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.3
|
|
4
4
|
Summary: Command-line client for tripl: instance diagnostics and live monitoring, tracking-plan reads, code checks and codegen against the plan, team notes, and self-hosted install and upgrade
|
|
5
5
|
Project-URL: Homepage, https://docs.tripl.io/
|
|
6
6
|
Project-URL: Documentation, https://docs.tripl.io/run/cli
|
|
@@ -73,6 +73,14 @@ uvx tripl --version
|
|
|
73
73
|
pip install tripl
|
|
74
74
|
```
|
|
75
75
|
|
|
76
|
+
In a container — `ghcr.io/tripl-io/tripl-cli` is the CLI on Python, with git,
|
|
77
|
+
a shell and no entrypoint, for CI jobs that run in an image (tagged `X.Y.Z`,
|
|
78
|
+
`X.Y` and `latest` from the release after v0.3.2):
|
|
79
|
+
|
|
80
|
+
```bash
|
|
81
|
+
docker run --rm ghcr.io/tripl-io/tripl-cli:X.Y.Z tripl --version
|
|
82
|
+
```
|
|
83
|
+
|
|
76
84
|
From a local checkout, when you are working on the CLI itself:
|
|
77
85
|
|
|
78
86
|
```bash
|
|
@@ -121,8 +129,11 @@ tripl plan branches --project SLUG # plan branches and how far ahead ea
|
|
|
121
129
|
tripl plan search <query> --project SLUG # search the whole plan, ids to read next
|
|
122
130
|
tripl annotate "Deployed web 2026.09.25" --project SLUG --url URL # deploy marker on monitoring charts (WRITE)
|
|
123
131
|
tripl check # validate the tracking calls in this checkout against the plan
|
|
132
|
+
tripl check --list # what the scan reads from each call, and why a value is not read; no key, sends nothing
|
|
124
133
|
tripl check --payloads events.ndjson # validate captured events; a missing required field fails
|
|
125
134
|
tripl check --format sarif > tripl.sarif # SARIF 2.1.0 for code scanning
|
|
135
|
+
tripl check --report codequality=gl-code-quality-report.json --report junit=tripl-check.xml # a GitLab merge request's reports
|
|
136
|
+
tripl check --new-from-rev "$BASE" # fail only on findings new since the commit BASE (or --new-from-patch FILE)
|
|
126
137
|
tripl codegen # typed tracking code (Swift, Kotlin, TypeScript) from the plan
|
|
127
138
|
tripl codegen --check # CI: exit 1 when the committed generated files are out of date
|
|
128
139
|
tripl export --out plan-schemas # one JSON Schema (2020-12) per event, plus the bundle
|
|
@@ -189,7 +200,8 @@ event_types:
|
|
|
189
200
|
```
|
|
190
201
|
|
|
191
202
|
Presets: `segment_track`, `amplitude_log_event`, `snowplow_structured`,
|
|
192
|
-
`snowplow_screen_view`, `snowplow_self_describing
|
|
203
|
+
`snowplow_screen_view`, `snowplow_self_describing` (`tripl check --print-preset
|
|
204
|
+
NAME` prints one as YAML, to start your own from). Swift, Objective-C, Kotlin,
|
|
193
205
|
Java and TypeScript/JavaScript are read; enum shorthand (`.home`) and qualified
|
|
194
206
|
cases resolve through the enum files, interpolated names become plan properties
|
|
195
207
|
(`"promo_sheet_\(id)_shown"` is `promo_sheet_${id}_shown`), Kotlin/Java
|
|
@@ -399,20 +411,25 @@ not moved).
|
|
|
399
411
|
| Exit | Meaning |
|
|
400
412
|
|------|---------|
|
|
401
413
|
| 0 | Every check passed, or only warned and `--strict` was not given. `status` and `whoami`, whenever they completed. `watch`, whenever the run completed — a failed job or a new signal is still 0. The `scans`, `drifts`, `events`, `plan` and `docs` verbs and `annotate`, whenever every read arrived or the write was accepted (`--dry-run` included, and a de-duplicated `annotate` too). |
|
|
402
|
-
| 1 | The tool itself broke (doctor turns every API failure into a finding), or any other command could not complete a request — unreachable, or the API refused it. For `watch` this includes a key revoked mid-run. For `scans list` / `drifts list` it includes **any** failed read in the fan-out; for `scans run`, a job returned already `failed`; for `scans cancel` / `drifts dismiss` / `drifts reopen` / `docs push`, a declined prompt. For `install` and `upgrade`, a `docker compose` command that failed or a `/health` that did not answer in time. |
|
|
414
|
+
| 1 | The tool itself broke (doctor turns every API failure into a finding), or any other command could not complete a request — unreachable (4 instead for `check`, `codegen` and `export`), or the API refused it. For `watch` this includes a key revoked mid-run. For `scans list` / `drifts list` it includes **any** failed read in the fan-out; for `scans run`, a job returned already `failed`; for `scans cancel` / `drifts dismiss` / `drifts reopen` / `docs push`, a declined prompt. For `install` and `upgrade`, a `docker compose` command that failed or a `/health` that did not answer in time. |
|
|
403
415
|
| 2 | Usage or configuration error. For `doctor` and `status` that is resolved before any socket opens; `watch` also refuses after reading the listings, when `--scan` matches nothing or more than 24 scan configs are selected. The object verbs add a bare group, a missing or repeated `--project`, an unresolved or ambiguous selector, and a prompting write on a non-TTY without `--yes`; `annotate` adds a `--url` that is not http(s), an `--at` that is not RFC 3339, and half a scope; `upgrade` adds a refused downgrade and an unorderable pair without `--allow-unordered-tag`. Either way **no JSON is emitted** and no write is sent. |
|
|
404
416
|
| 3 | `doctor` only: at least one check failed, or `--strict` and at least one warning. Nothing else ever exits 3. |
|
|
417
|
+
| 4 | `check`, `codegen` and `export` only: the instance was unavailable — unreachable, timed out, `429` or a `5xx` — so nothing was decided and nothing was written. A refused key stays 1, because a retry does not fix it. A CI pipeline can let 4 pass (GitLab: `allow_failure: exit_codes: [4]`) while findings and drift still block. |
|
|
405
418
|
| 130 | Interrupted (SIGINT). For `watch` this is the **normal** ending — a run without `--duration` has no other way to stop. |
|
|
406
419
|
|
|
407
|
-
`check` uses 0, 1 and
|
|
408
|
-
`--strict`, a warning),
|
|
409
|
-
|
|
410
|
-
|
|
420
|
+
`check` uses 0, 1, 2 and 4: 1 when any call site or event has an error (or,
|
|
421
|
+
with `--strict`, a warning), 2 for a bad check config or payload file, or a
|
|
422
|
+
config that matches no call (unless `--allow-empty`), and 4 for an unavailable
|
|
423
|
+
instance. `codegen` uses them too: 1 for drift under `--check` (or a plan
|
|
424
|
+
without a configured event type), 2 for a bad check config or template, 4 for
|
|
425
|
+
an unavailable instance; `export` uses 4 the same way.
|
|
411
426
|
|
|
412
427
|
An unreachable instance therefore exits **3** out of `doctor`, not 1 — it
|
|
413
428
|
becomes a finding like everything else doctor reads, which is what makes an exit
|
|
414
|
-
1 out of `doctor` a meaningful bug signal.
|
|
415
|
-
|
|
429
|
+
1 out of `doctor` a meaningful bug signal. `check`, `codegen` and `export` exit
|
|
430
|
+
**4**, so a pipeline can tell an outage from a finding. **Every other command
|
|
431
|
+
exits 1** on an unreachable instance, because none of them turns a failed read
|
|
432
|
+
into a verdict.
|
|
416
433
|
|
|
417
434
|
`doctor` and `status` put exactly one JSON document on stdout, and so does every
|
|
418
435
|
other command except `watch` — but only when the command completes: a write the API
|
|
@@ -45,6 +45,14 @@ uvx tripl --version
|
|
|
45
45
|
pip install tripl
|
|
46
46
|
```
|
|
47
47
|
|
|
48
|
+
In a container — `ghcr.io/tripl-io/tripl-cli` is the CLI on Python, with git,
|
|
49
|
+
a shell and no entrypoint, for CI jobs that run in an image (tagged `X.Y.Z`,
|
|
50
|
+
`X.Y` and `latest` from the release after v0.3.2):
|
|
51
|
+
|
|
52
|
+
```bash
|
|
53
|
+
docker run --rm ghcr.io/tripl-io/tripl-cli:X.Y.Z tripl --version
|
|
54
|
+
```
|
|
55
|
+
|
|
48
56
|
From a local checkout, when you are working on the CLI itself:
|
|
49
57
|
|
|
50
58
|
```bash
|
|
@@ -93,8 +101,11 @@ tripl plan branches --project SLUG # plan branches and how far ahead ea
|
|
|
93
101
|
tripl plan search <query> --project SLUG # search the whole plan, ids to read next
|
|
94
102
|
tripl annotate "Deployed web 2026.09.25" --project SLUG --url URL # deploy marker on monitoring charts (WRITE)
|
|
95
103
|
tripl check # validate the tracking calls in this checkout against the plan
|
|
104
|
+
tripl check --list # what the scan reads from each call, and why a value is not read; no key, sends nothing
|
|
96
105
|
tripl check --payloads events.ndjson # validate captured events; a missing required field fails
|
|
97
106
|
tripl check --format sarif > tripl.sarif # SARIF 2.1.0 for code scanning
|
|
107
|
+
tripl check --report codequality=gl-code-quality-report.json --report junit=tripl-check.xml # a GitLab merge request's reports
|
|
108
|
+
tripl check --new-from-rev "$BASE" # fail only on findings new since the commit BASE (or --new-from-patch FILE)
|
|
98
109
|
tripl codegen # typed tracking code (Swift, Kotlin, TypeScript) from the plan
|
|
99
110
|
tripl codegen --check # CI: exit 1 when the committed generated files are out of date
|
|
100
111
|
tripl export --out plan-schemas # one JSON Schema (2020-12) per event, plus the bundle
|
|
@@ -161,7 +172,8 @@ event_types:
|
|
|
161
172
|
```
|
|
162
173
|
|
|
163
174
|
Presets: `segment_track`, `amplitude_log_event`, `snowplow_structured`,
|
|
164
|
-
`snowplow_screen_view`, `snowplow_self_describing
|
|
175
|
+
`snowplow_screen_view`, `snowplow_self_describing` (`tripl check --print-preset
|
|
176
|
+
NAME` prints one as YAML, to start your own from). Swift, Objective-C, Kotlin,
|
|
165
177
|
Java and TypeScript/JavaScript are read; enum shorthand (`.home`) and qualified
|
|
166
178
|
cases resolve through the enum files, interpolated names become plan properties
|
|
167
179
|
(`"promo_sheet_\(id)_shown"` is `promo_sheet_${id}_shown`), Kotlin/Java
|
|
@@ -371,20 +383,25 @@ not moved).
|
|
|
371
383
|
| Exit | Meaning |
|
|
372
384
|
|------|---------|
|
|
373
385
|
| 0 | Every check passed, or only warned and `--strict` was not given. `status` and `whoami`, whenever they completed. `watch`, whenever the run completed — a failed job or a new signal is still 0. The `scans`, `drifts`, `events`, `plan` and `docs` verbs and `annotate`, whenever every read arrived or the write was accepted (`--dry-run` included, and a de-duplicated `annotate` too). |
|
|
374
|
-
| 1 | The tool itself broke (doctor turns every API failure into a finding), or any other command could not complete a request — unreachable, or the API refused it. For `watch` this includes a key revoked mid-run. For `scans list` / `drifts list` it includes **any** failed read in the fan-out; for `scans run`, a job returned already `failed`; for `scans cancel` / `drifts dismiss` / `drifts reopen` / `docs push`, a declined prompt. For `install` and `upgrade`, a `docker compose` command that failed or a `/health` that did not answer in time. |
|
|
386
|
+
| 1 | The tool itself broke (doctor turns every API failure into a finding), or any other command could not complete a request — unreachable (4 instead for `check`, `codegen` and `export`), or the API refused it. For `watch` this includes a key revoked mid-run. For `scans list` / `drifts list` it includes **any** failed read in the fan-out; for `scans run`, a job returned already `failed`; for `scans cancel` / `drifts dismiss` / `drifts reopen` / `docs push`, a declined prompt. For `install` and `upgrade`, a `docker compose` command that failed or a `/health` that did not answer in time. |
|
|
375
387
|
| 2 | Usage or configuration error. For `doctor` and `status` that is resolved before any socket opens; `watch` also refuses after reading the listings, when `--scan` matches nothing or more than 24 scan configs are selected. The object verbs add a bare group, a missing or repeated `--project`, an unresolved or ambiguous selector, and a prompting write on a non-TTY without `--yes`; `annotate` adds a `--url` that is not http(s), an `--at` that is not RFC 3339, and half a scope; `upgrade` adds a refused downgrade and an unorderable pair without `--allow-unordered-tag`. Either way **no JSON is emitted** and no write is sent. |
|
|
376
388
|
| 3 | `doctor` only: at least one check failed, or `--strict` and at least one warning. Nothing else ever exits 3. |
|
|
389
|
+
| 4 | `check`, `codegen` and `export` only: the instance was unavailable — unreachable, timed out, `429` or a `5xx` — so nothing was decided and nothing was written. A refused key stays 1, because a retry does not fix it. A CI pipeline can let 4 pass (GitLab: `allow_failure: exit_codes: [4]`) while findings and drift still block. |
|
|
377
390
|
| 130 | Interrupted (SIGINT). For `watch` this is the **normal** ending — a run without `--duration` has no other way to stop. |
|
|
378
391
|
|
|
379
|
-
`check` uses 0, 1 and
|
|
380
|
-
`--strict`, a warning),
|
|
381
|
-
|
|
382
|
-
|
|
392
|
+
`check` uses 0, 1, 2 and 4: 1 when any call site or event has an error (or,
|
|
393
|
+
with `--strict`, a warning), 2 for a bad check config or payload file, or a
|
|
394
|
+
config that matches no call (unless `--allow-empty`), and 4 for an unavailable
|
|
395
|
+
instance. `codegen` uses them too: 1 for drift under `--check` (or a plan
|
|
396
|
+
without a configured event type), 2 for a bad check config or template, 4 for
|
|
397
|
+
an unavailable instance; `export` uses 4 the same way.
|
|
383
398
|
|
|
384
399
|
An unreachable instance therefore exits **3** out of `doctor`, not 1 — it
|
|
385
400
|
becomes a finding like everything else doctor reads, which is what makes an exit
|
|
386
|
-
1 out of `doctor` a meaningful bug signal.
|
|
387
|
-
|
|
401
|
+
1 out of `doctor` a meaningful bug signal. `check`, `codegen` and `export` exit
|
|
402
|
+
**4**, so a pipeline can tell an outage from a finding. **Every other command
|
|
403
|
+
exits 1** on an unreachable instance, because none of them turns a failed read
|
|
404
|
+
into a verdict.
|
|
388
405
|
|
|
389
406
|
`doctor` and `status` put exactly one JSON document on stdout, and so does every
|
|
390
407
|
other command except `watch` — but only when the command completes: a write the API
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "tripl"
|
|
3
3
|
# One version for the service, this CLI and tripl-mcp; bin/release.sh writes it.
|
|
4
|
-
version = "0.3.
|
|
4
|
+
version = "0.3.3"
|
|
5
5
|
description = "Command-line client for tripl: instance diagnostics and live monitoring, tracking-plan reads, code checks and codegen against the plan, team notes, and self-hosted install and upgrade"
|
|
6
6
|
readme = "README.md"
|
|
7
7
|
requires-python = ">=3.12"
|
|
@@ -17,6 +17,7 @@ from tripl_cli.api.request import ApiRequest
|
|
|
17
17
|
LIST = "/projects/{slug}/events"
|
|
18
18
|
DETAIL = "/projects/{slug}/events/{event_id}"
|
|
19
19
|
PROPERTIES = "/projects/{slug}/events/{event_id}/properties"
|
|
20
|
+
WAREHOUSE_SQL = "/projects/{slug}/events/{event_id}/warehouse-sql"
|
|
20
21
|
|
|
21
22
|
ENDPOINTS: tuple[tuple[str, str], ...] = (
|
|
22
23
|
("get", LIST),
|
|
@@ -24,6 +25,7 @@ ENDPOINTS: tuple[tuple[str, str], ...] = (
|
|
|
24
25
|
("post", LIST),
|
|
25
26
|
("patch", DETAIL),
|
|
26
27
|
("get", PROPERTIES),
|
|
28
|
+
("get", WAREHOUSE_SQL),
|
|
27
29
|
)
|
|
28
30
|
|
|
29
31
|
# EventStatus, verbatim from the OpenAPI document. Spelled here rather than in
|
|
@@ -134,6 +136,17 @@ def get_event_properties(slug: str, event_id: str, *, branch: str | None = None)
|
|
|
134
136
|
)
|
|
135
137
|
|
|
136
138
|
|
|
139
|
+
def get_warehouse_sql(slug: str, event_id: str, *, branch: str | None = None) -> ApiRequest:
|
|
140
|
+
"""A query selecting the event's rows from the warehouse, derived from its scan.
|
|
141
|
+
|
|
142
|
+
``{sql, dialect, scan_config_id, scan_config_name, exact, notes, reason}``;
|
|
143
|
+
built on request and never run.
|
|
144
|
+
"""
|
|
145
|
+
return ApiRequest(
|
|
146
|
+
"GET", WAREHOUSE_SQL.format(slug=slug, event_id=event_id), params={"branch": branch}
|
|
147
|
+
)
|
|
148
|
+
|
|
149
|
+
|
|
137
150
|
def create_event(slug: str, body: Any, *, branch: str | None = None) -> ApiRequest:
|
|
138
151
|
return ApiRequest("POST", LIST.format(slug=slug), params={"branch": branch}, json_body=body)
|
|
139
152
|
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"""``tripl check``: static and payload validation against the tracking plan (#261).
|
|
2
|
+
|
|
3
|
+
Layers, each importable without the ones after it:
|
|
4
|
+
|
|
5
|
+
``yamlish`` the YAML subset ``.tripl/check.yml`` is read with (no dependency).
|
|
6
|
+
``config`` the config model: per event type, how its calls look.
|
|
7
|
+
``presets`` Segment, Amplitude and Snowplow call specs, in the config's own vocabulary.
|
|
8
|
+
``lexer`` one tokenizer per language family (strings, interpolation, comments).
|
|
9
|
+
``calls`` call sites and Objective-C message sends out of a token stream.
|
|
10
|
+
``symbols`` enum raw values, string constants, string-returning functions.
|
|
11
|
+
``signatures`` a declaration's parameters, and whether one with no body declares.
|
|
12
|
+
``scopes`` named functions, their parameters and bodies (``--list``'s hints).
|
|
13
|
+
``values`` an argument's tokens -> a known string, a choice, a dict, or dynamic.
|
|
14
|
+
``scan`` files -> call sites -> validation items (static mode).
|
|
15
|
+
``inventory`` the same scan, kept in full for ``--list``: what was read, and why not.
|
|
16
|
+
``payloads`` captured events -> validation items (payload mode).
|
|
17
|
+
``validate`` batching to ``POST /plan/validate`` and mapping verdicts back.
|
|
18
|
+
``render`` the human listing and SARIF 2.1.0; ``--json`` lives in ``tripl_cli.report``.
|
|
19
|
+
``listing`` ``--list``'s text: what each call read, why a value was not, what to configure.
|
|
20
|
+
|
|
21
|
+
Nothing before ``validate`` touches the network.
|
|
22
|
+
"""
|