agentflow-runtime 1.3.0__tar.gz → 1.5.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.
Files changed (112) hide show
  1. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/.gitignore +16 -0
  2. agentflow_runtime-1.5.0/CHANGELOG.md +1374 -0
  3. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/PKG-INFO +85 -41
  4. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/README.md +73 -33
  5. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/pyproject.toml +34 -19
  6. agentflow_runtime-1.5.0/src/constants.py +11 -0
  7. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/ingestion/connectors/mysql_cdc.py +22 -2
  8. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/ingestion/connectors/postgres_cdc.py +4 -1
  9. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/ingestion/producers/event_producer.py +5 -4
  10. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/ingestion/schemas/events.py +2 -2
  11. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/ingestion/tenant_router.py +2 -2
  12. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/orchestration/dags/daily_batch.py +15 -11
  13. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/processing/event_replayer.py +5 -4
  14. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/processing/flink_jobs/Dockerfile +3 -2
  15. agentflow_runtime-1.5.0/src/processing/flink_jobs/checkpointing.py +49 -0
  16. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/processing/flink_jobs/session_aggregation.py +19 -12
  17. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/processing/flink_jobs/session_aggregator.py +7 -5
  18. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/processing/flink_jobs/stream_processor.py +25 -12
  19. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/processing/iceberg_sink.py +1 -1
  20. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/processing/local_pipeline.py +6 -6
  21. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/processing/outbox.py +28 -19
  22. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/quality/monitors/freshness_monitor.py +15 -4
  23. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/quality/monitors/metrics_collector.py +2 -2
  24. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/quality/validators/schema_validator.py +1 -1
  25. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/quality/validators/semantic_validator.py +202 -202
  26. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/serving/api/alerts/dispatcher.py +10 -7
  27. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/serving/api/analytics.py +6 -1
  28. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/serving/api/auth/key_rotation.py +12 -3
  29. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/serving/api/auth/manager.py +106 -8
  30. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/serving/api/auth/middleware.py +19 -127
  31. agentflow_runtime-1.5.0/src/serving/api/auth/usage_table.py +158 -0
  32. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/serving/api/main.py +31 -14
  33. agentflow_runtime-1.5.0/src/serving/api/metrics.py +28 -0
  34. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/serving/api/middleware/logging.py +3 -1
  35. agentflow_runtime-1.5.0/src/serving/api/middleware/metrics.py +48 -0
  36. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/serving/api/rate_limiter.py +5 -3
  37. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/serving/api/routers/admin.py +28 -24
  38. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/serving/api/routers/admin_ui.py +6 -4
  39. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/serving/api/routers/agent_query.py +164 -195
  40. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/serving/api/routers/alerts.py +13 -9
  41. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/serving/api/routers/batch.py +2 -2
  42. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/serving/api/routers/contracts.py +8 -8
  43. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/serving/api/routers/deadletter.py +11 -8
  44. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/serving/api/routers/lineage.py +1 -1
  45. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/serving/api/routers/search.py +1 -1
  46. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/serving/api/routers/slo.py +5 -5
  47. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/serving/api/routers/stream.py +4 -3
  48. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/serving/api/routers/webhooks.py +12 -7
  49. agentflow_runtime-1.5.0/src/serving/api/security.py +168 -0
  50. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/serving/api/versioning.py +9 -3
  51. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/serving/api/webhook_dispatcher.py +5 -4
  52. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/serving/backends/__init__.py +2 -2
  53. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/serving/backends/clickhouse_backend.py +98 -43
  54. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/serving/backends/duckdb_backend.py +35 -3
  55. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/serving/cache.py +3 -3
  56. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/serving/masking.py +2 -2
  57. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/serving/semantic_layer/catalog.py +3 -3
  58. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/serving/semantic_layer/contract_registry.py +2 -2
  59. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/serving/semantic_layer/entity_type_registry.py +1 -1
  60. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/serving/semantic_layer/query/nl_queries.py +2 -2
  61. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/serving/semantic_layer/schema_evolution.py +1 -1
  62. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/serving/semantic_layer/sql_guard.py +12 -2
  63. agentflow_runtime-1.3.0/CHANGELOG.md +0 -550
  64. agentflow_runtime-1.3.0/src/constants.py +0 -3
  65. agentflow_runtime-1.3.0/src/processing/flink_jobs/checkpointing.py +0 -32
  66. agentflow_runtime-1.3.0/src/serving/api/security.py +0 -94
  67. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/LICENSE +0 -0
  68. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/requirements.txt +0 -0
  69. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/__init__.py +0 -0
  70. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/ingestion/__init__.py +0 -0
  71. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/ingestion/cdc/__init__.py +0 -0
  72. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/ingestion/cdc/normalizer.py +0 -0
  73. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/ingestion/connectors/__init__.py +0 -0
  74. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/ingestion/producers/__init__.py +0 -0
  75. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/ingestion/schemas/__init__.py +0 -0
  76. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/logger.py +0 -0
  77. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/orchestration/__init__.py +0 -0
  78. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/orchestration/dags/__init__.py +0 -0
  79. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/processing/__init__.py +0 -0
  80. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/processing/flink_jobs/__init__.py +0 -0
  81. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/processing/tracing.py +0 -0
  82. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/processing/transformations/__init__.py +0 -0
  83. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/processing/transformations/enrichment.py +0 -0
  84. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/quality/__init__.py +0 -0
  85. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/quality/monitors/__init__.py +0 -0
  86. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/quality/validators/__init__.py +0 -0
  87. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/serving/__init__.py +0 -0
  88. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/serving/api/__init__.py +0 -0
  89. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/serving/api/alert_dispatcher.py +0 -0
  90. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/serving/api/alerts/__init__.py +0 -0
  91. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/serving/api/alerts/escalation.py +0 -0
  92. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/serving/api/alerts/evaluator.py +0 -0
  93. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/serving/api/alerts/history.py +0 -0
  94. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/serving/api/auth/__init__.py +0 -0
  95. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/serving/api/middleware/tracing.py +0 -0
  96. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/serving/api/routers/__init__.py +0 -0
  97. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/serving/api/telemetry.py +0 -0
  98. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/serving/api/templates/admin.html +0 -0
  99. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/serving/audit_publisher.py +0 -0
  100. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/serving/db_pool.py +0 -0
  101. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/serving/duckdb_connection.py +0 -0
  102. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/serving/semantic_layer/__init__.py +0 -0
  103. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/serving/semantic_layer/nl_engine.py +0 -0
  104. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/serving/semantic_layer/query/__init__.py +0 -0
  105. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/serving/semantic_layer/query/contracts.py +0 -0
  106. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/serving/semantic_layer/query/engine.py +0 -0
  107. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/serving/semantic_layer/query/entity_queries.py +0 -0
  108. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/serving/semantic_layer/query/metric_queries.py +0 -0
  109. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/serving/semantic_layer/query/sql_builder.py +0 -0
  110. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/serving/semantic_layer/query/sql_guard.py +0 -0
  111. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/serving/semantic_layer/query_engine.py +0 -0
  112. {agentflow_runtime-1.3.0 → agentflow_runtime-1.5.0}/src/serving/semantic_layer/search_index.py +0 -0
@@ -51,6 +51,14 @@ docker-compose.override.yml
51
51
  .hypothesis/
52
52
  .iceberg/
53
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/
54
62
  .dora/
55
63
  .bandit-baseline.json
56
64
  !.bandit-baseline.json
@@ -88,5 +96,13 @@ agentflow_demo_api.duckdb*
88
96
  # Local autopilot runtime state.
89
97
  .autopilot/
90
98
 
99
+ # Operator scratch notes at the repo root (user-owned audit prompts/results;
100
+ # codex audit F-6). Ignored so the autopilot clean-tree gate and git status
101
+ # stay quiet without touching the files themselves.
102
+ /p[0-9].md
103
+ /p[0-9]_res*.md
104
+ /p_res*.md
105
+ /Cl_cop/
106
+
91
107
  # Security scan workdir (generated by .github/workflows/security.yml safety job)
92
108
  .tmp-security/