agentflow-runtime 1.4.0__tar.gz → 1.6.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.
- agentflow_runtime-1.6.0/.gitignore +153 -0
- agentflow_runtime-1.6.0/CHANGELOG.md +1590 -0
- agentflow_runtime-1.6.0/PKG-INFO +280 -0
- agentflow_runtime-1.6.0/README.md +219 -0
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/pyproject.toml +85 -20
- agentflow_runtime-1.6.0/requirements.txt +15 -0
- agentflow_runtime-1.6.0/src/constants.py +11 -0
- agentflow_runtime-1.6.0/src/db_concurrency.py +24 -0
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/ingestion/cdc/normalizer.py +1 -1
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/ingestion/connectors/mysql_cdc.py +22 -2
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/ingestion/connectors/postgres_cdc.py +4 -1
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/ingestion/producers/event_producer.py +5 -4
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/ingestion/schemas/events.py +2 -2
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/orchestration/dags/daily_batch.py +17 -12
- agentflow_runtime-1.6.0/src/processing/clickhouse_sink.py +210 -0
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/processing/event_replayer.py +31 -23
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/processing/flink_jobs/Dockerfile +4 -30
- agentflow_runtime-1.6.0/src/processing/flink_jobs/checkpointing.py +49 -0
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/processing/flink_jobs/session_aggregation.py +19 -12
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/processing/flink_jobs/session_aggregator.py +10 -7
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/processing/flink_jobs/stream_processor.py +42 -20
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/processing/iceberg_sink.py +24 -3
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/processing/local_pipeline.py +62 -9
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/processing/outbox.py +90 -22
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/quality/monitors/freshness_monitor.py +15 -4
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/quality/monitors/metrics_collector.py +1 -1
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/quality/validators/schema_validator.py +1 -1
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/quality/validators/semantic_validator.py +202 -202
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/serving/api/alert_dispatcher.py +7 -9
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/serving/api/alerts/dispatcher.py +24 -24
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/serving/api/alerts/escalation.py +84 -24
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/serving/api/alerts/evaluator.py +19 -4
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/serving/api/alerts/history.py +30 -26
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/serving/api/analytics.py +47 -17
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/serving/api/auth/key_rotation.py +12 -3
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/serving/api/auth/manager.py +118 -8
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/serving/api/auth/middleware.py +26 -130
- agentflow_runtime-1.6.0/src/serving/api/auth/usage_table.py +158 -0
- agentflow_runtime-1.6.0/src/serving/api/egress_guard.py +89 -0
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/serving/api/main.py +35 -23
- agentflow_runtime-1.6.0/src/serving/api/metrics.py +28 -0
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/serving/api/middleware/logging.py +3 -1
- agentflow_runtime-1.6.0/src/serving/api/middleware/metrics.py +48 -0
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/serving/api/rate_limiter.py +25 -13
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/serving/api/routers/admin.py +28 -24
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/serving/api/routers/admin_ui.py +6 -4
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/serving/api/routers/agent_query.py +186 -257
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/serving/api/routers/alerts.py +39 -12
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/serving/api/routers/batch.py +30 -84
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/serving/api/routers/contracts.py +8 -8
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/serving/api/routers/deadletter.py +174 -129
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/serving/api/routers/lineage.py +54 -43
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/serving/api/routers/search.py +2 -2
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/serving/api/routers/slo.py +33 -12
- agentflow_runtime-1.6.0/src/serving/api/routers/stream.py +104 -0
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/serving/api/routers/webhooks.py +32 -9
- agentflow_runtime-1.6.0/src/serving/api/security.py +168 -0
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/serving/api/templates/admin.html +1 -1
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/serving/api/versioning.py +7 -1
- agentflow_runtime-1.6.0/src/serving/api/webhook_dispatcher.py +682 -0
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/serving/audit_publisher.py +13 -1
- agentflow_runtime-1.6.0/src/serving/backends/clickhouse_backend.py +559 -0
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/serving/backends/duckdb_backend.py +37 -3
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/serving/cache.py +17 -9
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/serving/semantic_layer/catalog.py +53 -9
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/serving/semantic_layer/contract_registry.py +18 -1
- agentflow_runtime-1.6.0/src/serving/semantic_layer/nl_engine.py +208 -0
- agentflow_runtime-1.6.0/src/serving/semantic_layer/nl_sql_engine/__init__.py +69 -0
- agentflow_runtime-1.6.0/src/serving/semantic_layer/nl_sql_engine/_sql_envelope.py +89 -0
- agentflow_runtime-1.6.0/src/serving/semantic_layer/nl_sql_engine/context.py +162 -0
- agentflow_runtime-1.6.0/src/serving/semantic_layer/nl_sql_engine/engine.py +85 -0
- agentflow_runtime-1.6.0/src/serving/semantic_layer/nl_sql_engine/graph.py +180 -0
- agentflow_runtime-1.6.0/src/serving/semantic_layer/nl_sql_engine/guards.py +210 -0
- agentflow_runtime-1.6.0/src/serving/semantic_layer/nl_sql_engine/nodes.py +200 -0
- agentflow_runtime-1.6.0/src/serving/semantic_layer/nl_sql_engine/parsing.py +98 -0
- agentflow_runtime-1.6.0/src/serving/semantic_layer/nl_sql_engine/prompts/__init__.py +26 -0
- agentflow_runtime-1.6.0/src/serving/semantic_layer/nl_sql_engine/prompts/generate_sql.txt +63 -0
- agentflow_runtime-1.6.0/src/serving/semantic_layer/nl_sql_engine/prompts/repair_sql.txt +34 -0
- agentflow_runtime-1.6.0/src/serving/semantic_layer/nl_sql_engine/provider.py +128 -0
- agentflow_runtime-1.6.0/src/serving/semantic_layer/nl_sql_engine/state.py +96 -0
- agentflow_runtime-1.6.0/src/serving/semantic_layer/query/engine.py +215 -0
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/serving/semantic_layer/query/entity_queries.py +6 -3
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/serving/semantic_layer/query/nl_queries.py +28 -11
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/serving/semantic_layer/query/sql_builder.py +56 -25
- agentflow_runtime-1.6.0/src/serving/semantic_layer/query/sql_guard.py +6 -0
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/serving/semantic_layer/search_index.py +8 -2
- agentflow_runtime-1.6.0/src/serving/semantic_layer/sql_guard.py +118 -0
- agentflow_runtime-1.4.0/.gitignore +0 -92
- agentflow_runtime-1.4.0/CHANGELOG.md +0 -722
- agentflow_runtime-1.4.0/PKG-INFO +0 -290
- agentflow_runtime-1.4.0/README.md +0 -231
- agentflow_runtime-1.4.0/requirements.txt +0 -4
- agentflow_runtime-1.4.0/src/constants.py +0 -3
- agentflow_runtime-1.4.0/src/processing/flink_jobs/checkpointing.py +0 -32
- agentflow_runtime-1.4.0/src/serving/api/routers/stream.py +0 -144
- agentflow_runtime-1.4.0/src/serving/api/security.py +0 -94
- agentflow_runtime-1.4.0/src/serving/api/webhook_dispatcher.py +0 -423
- agentflow_runtime-1.4.0/src/serving/backends/clickhouse_backend.py +0 -310
- agentflow_runtime-1.4.0/src/serving/masking.py +0 -122
- agentflow_runtime-1.4.0/src/serving/semantic_layer/nl_engine.py +0 -189
- agentflow_runtime-1.4.0/src/serving/semantic_layer/query/engine.py +0 -82
- agentflow_runtime-1.4.0/src/serving/semantic_layer/query/sql_guard.py +0 -3
- agentflow_runtime-1.4.0/src/serving/semantic_layer/sql_guard.py +0 -81
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/LICENSE +0 -0
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/__init__.py +0 -0
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/ingestion/__init__.py +0 -0
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/ingestion/cdc/__init__.py +0 -0
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/ingestion/connectors/__init__.py +0 -0
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/ingestion/producers/__init__.py +0 -0
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/ingestion/schemas/__init__.py +0 -0
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/ingestion/tenant_router.py +0 -0
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/logger.py +0 -0
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/orchestration/__init__.py +0 -0
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/orchestration/dags/__init__.py +0 -0
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/processing/__init__.py +0 -0
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/processing/flink_jobs/__init__.py +0 -0
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/processing/tracing.py +0 -0
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/processing/transformations/__init__.py +0 -0
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/processing/transformations/enrichment.py +0 -0
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/quality/__init__.py +0 -0
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/quality/monitors/__init__.py +0 -0
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/quality/validators/__init__.py +0 -0
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/serving/__init__.py +0 -0
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/serving/api/__init__.py +0 -0
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/serving/api/alerts/__init__.py +0 -0
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/serving/api/auth/__init__.py +0 -0
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/serving/api/middleware/tracing.py +0 -0
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/serving/api/routers/__init__.py +0 -0
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/serving/api/telemetry.py +0 -0
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/serving/backends/__init__.py +0 -0
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/serving/db_pool.py +0 -0
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/serving/duckdb_connection.py +0 -0
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/serving/semantic_layer/__init__.py +0 -0
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/serving/semantic_layer/entity_type_registry.py +0 -0
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/serving/semantic_layer/query/__init__.py +0 -0
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/serving/semantic_layer/query/contracts.py +0 -0
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/serving/semantic_layer/query/metric_queries.py +0 -0
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/serving/semantic_layer/query_engine.py +0 -0
- {agentflow_runtime-1.4.0 → agentflow_runtime-1.6.0}/src/serving/semantic_layer/schema_evolution.py +0 -0
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
__pycache__/
|
|
2
|
+
*.py[cod]
|
|
3
|
+
*$py.class
|
|
4
|
+
*.egg-info/
|
|
5
|
+
dist/
|
|
6
|
+
build/
|
|
7
|
+
.eggs/
|
|
8
|
+
|
|
9
|
+
.env
|
|
10
|
+
.env.local
|
|
11
|
+
*.pem
|
|
12
|
+
*.key
|
|
13
|
+
|
|
14
|
+
# Local secrets — copy from .example and fill with real values
|
|
15
|
+
docker/kafka-connect/secrets/postgres.properties
|
|
16
|
+
docker/kafka-connect/secrets/mysql.properties
|
|
17
|
+
|
|
18
|
+
.venv/
|
|
19
|
+
venv/
|
|
20
|
+
env/
|
|
21
|
+
|
|
22
|
+
.idea/
|
|
23
|
+
.vscode/
|
|
24
|
+
*.swp
|
|
25
|
+
*.swo
|
|
26
|
+
|
|
27
|
+
*.log
|
|
28
|
+
logs/
|
|
29
|
+
|
|
30
|
+
.terraform/
|
|
31
|
+
*.tfstate
|
|
32
|
+
*.tfstate.backup
|
|
33
|
+
.terraform.lock.hcl
|
|
34
|
+
|
|
35
|
+
data/
|
|
36
|
+
checkpoints/
|
|
37
|
+
*.parquet
|
|
38
|
+
*.avro
|
|
39
|
+
|
|
40
|
+
.pytest_cache/
|
|
41
|
+
htmlcov/
|
|
42
|
+
.coverage
|
|
43
|
+
coverage.xml
|
|
44
|
+
|
|
45
|
+
docker-compose.override.yml
|
|
46
|
+
|
|
47
|
+
# runtime artifacts
|
|
48
|
+
*.duckdb
|
|
49
|
+
*.duckdb.wal
|
|
50
|
+
.artifacts/
|
|
51
|
+
.hypothesis/
|
|
52
|
+
.iceberg/
|
|
53
|
+
.tmp/
|
|
54
|
+
# Local Windows test/build temp directories can contain locked pytest artifacts.
|
|
55
|
+
/.manual-build-tmp/
|
|
56
|
+
/.pytest-basetemp-sdk/
|
|
57
|
+
/.pytest-temp/
|
|
58
|
+
/.pytest_tmp/
|
|
59
|
+
/.sdk-build-tmp/
|
|
60
|
+
/pytest_temp2/
|
|
61
|
+
/pytest_temp_root/
|
|
62
|
+
.dora/
|
|
63
|
+
.bandit-baseline.json
|
|
64
|
+
!.bandit-baseline.json
|
|
65
|
+
|
|
66
|
+
# DuckDB runtime state
|
|
67
|
+
*.duckdb.tmp/
|
|
68
|
+
|
|
69
|
+
# Node
|
|
70
|
+
node_modules/
|
|
71
|
+
|
|
72
|
+
# Mutation testing output
|
|
73
|
+
mutants/
|
|
74
|
+
|
|
75
|
+
# Local working notes (root-level temp .md created during dev sessions).
|
|
76
|
+
# NOTE: BCG_audit.md was removed from this list on 2026-04-19 -
|
|
77
|
+
# it was a release artifact, not a session note.
|
|
78
|
+
/codex_res.md
|
|
79
|
+
/res_co.md
|
|
80
|
+
/rep.md
|
|
81
|
+
/more_help.md
|
|
82
|
+
/About_DE_project.md
|
|
83
|
+
/audit_*.md
|
|
84
|
+
/RELEASING.md
|
|
85
|
+
sdk/agentflow/**/__pycache__/
|
|
86
|
+
sdk/agentflow/**/*.py[cod]
|
|
87
|
+
integrations/agentflow_integrations/**/__pycache__/
|
|
88
|
+
integrations/agentflow_integrations/**/*.py[cod]
|
|
89
|
+
# Local Iceberg warehouse/runtime state (intentionally untracked).
|
|
90
|
+
/warehouse/agentflow/
|
|
91
|
+
# Root API usage DuckDB runtime state (intentionally untracked).
|
|
92
|
+
/agentflow_api.duckdb
|
|
93
|
+
agentflow_bench_debug*.duckdb*
|
|
94
|
+
agentflow_demo_api.duckdb*
|
|
95
|
+
|
|
96
|
+
# Local autopilot tooling + runtime state (kept locally, not published).
|
|
97
|
+
.autopilot/
|
|
98
|
+
/scripts/autopilot.ps1
|
|
99
|
+
/scripts/install-autopilot-task.ps1
|
|
100
|
+
/tests/unit/test_autopilot_runner.py
|
|
101
|
+
|
|
102
|
+
# Local scratch notes at the repo root (audit prompts/results). Ignored so
|
|
103
|
+
# the clean-tree gate and git status stay quiet without touching the files.
|
|
104
|
+
/p[0-9].md
|
|
105
|
+
/p[0-9]_res*.md
|
|
106
|
+
/p_res*.md
|
|
107
|
+
/Cl_cop/
|
|
108
|
+
|
|
109
|
+
# Security scan workdir (generated by .github/workflows/security.yml safety job)
|
|
110
|
+
.tmp-security/
|
|
111
|
+
|
|
112
|
+
# Internal working notes / autonomous-session artifacts — kept locally, not published.
|
|
113
|
+
# These are process/handoff/scratch docs, not product or engineering documentation.
|
|
114
|
+
/AGENT_STATE.md
|
|
115
|
+
/AUTOPILOT.md
|
|
116
|
+
/BACKLOG.md
|
|
117
|
+
/help.md
|
|
118
|
+
/res.md
|
|
119
|
+
/all-open-questions-closure-plan.md
|
|
120
|
+
/close-gaps-plan.md
|
|
121
|
+
/road-to-9.8.md
|
|
122
|
+
/desc_for_julia.md
|
|
123
|
+
/fable_*.md
|
|
124
|
+
/next-session-*.md
|
|
125
|
+
/second-opinion-*.md
|
|
126
|
+
/.pi/
|
|
127
|
+
/.workflow/
|
|
128
|
+
/res/
|
|
129
|
+
docs/dv2-multi-branch/kimi_*.md
|
|
130
|
+
docs/dv2-multi-branch/RECORDING_DAY.md
|
|
131
|
+
docs/dv2-multi-branch/pitch.md
|
|
132
|
+
docs/dv2-multi-branch/brief.md
|
|
133
|
+
docs/operations/local-verification-matrix.md
|
|
134
|
+
docs/release-readiness-archive/
|
|
135
|
+
docs/codex-tasks/
|
|
136
|
+
docs/plans/codex-archive/
|
|
137
|
+
docs/lessons/
|
|
138
|
+
docs/audits/
|
|
139
|
+
docs/exploration/
|
|
140
|
+
docs/audit-history.md
|
|
141
|
+
docs/SESSION_HANDOFF.md
|
|
142
|
+
docs/dv2-multi-branch/SESSION_HANDOFF*.md
|
|
143
|
+
docs/customer-discovery-*.md
|
|
144
|
+
docs/pricing-validation-plan.md
|
|
145
|
+
docs/v1-1-interview-prep.md
|
|
146
|
+
docs/v1-1-research.md
|
|
147
|
+
docs/operations/autonomous-compact-safe-process.md
|
|
148
|
+
docs/operations/external-gate-evidence-intake.md
|
|
149
|
+
docs/operations/external-pen-test-attestation-handoff.md
|
|
150
|
+
docs/operations/generated-external-gate-pack-*.md
|
|
151
|
+
docs/operations/guarded-autopilot-*.md
|
|
152
|
+
docs/operations/immutable-retention-evidence-handoff.md
|
|
153
|
+
docs/operations/security-evidence-template.md
|