agnes-the-ai-analyst/cli/commands
ZdenekSrotyr 2ad8828f8c fix: stdin register_bq parsing, separate BQ SQL validation
- cli/commands/query.py: --stdin mode now reads register_bq from the
  JSON payload and merges it into the register_bq option list, matching
  the documented {"register_bq": {...}, "sql": "..."} contract.
- src/remote_query.py: add _validate_bq_sql() with a narrower blocklist
  (writes only); register_bq() now calls _validate_bq_sql() so legitimate
  BQ operations like INFORMATION_SCHEMA, CALL, IMPORT are not blocked.
  The final DuckDB execute() path still uses the full _validate_sql().
- tests/test_remote_query.py: add TestValidateBqSql covering allowed
  INFORMATION_SCHEMA queries and blocked write operations.
2026-04-11 19:31:39 +02:00
..
__init__.py feat: add Docker, CLI tool, scheduler, and agent skills 2026-03-27 15:30:03 +01:00
admin.py feat: add da admin metadata-show and metadata-apply commands 2026-04-10 19:42:47 +02:00
analyst.py fix: address Devin review — partial download cleanup, category validation, path escaping, docs 2026-04-11 09:41:29 +02:00
auth.py feat: add Docker, CLI tool, scheduler, and agent skills 2026-03-27 15:30:03 +01:00
diagnose.py feat: add Docker, CLI tool, scheduler, and agent skills 2026-03-27 15:30:03 +01:00
explore.py feat: complete system — web UI, all API endpoints, governance, admin, CLI commands 2026-03-27 16:52:22 +01:00
metrics.py feat: add da metrics CLI subcommand (list, show, import, export, validate) 2026-04-10 19:28:51 +02:00
query.py fix: stdin register_bq parsing, separate BQ SQL validation 2026-04-11 19:31:39 +02:00
server.py feat: complete system — web UI, all API endpoints, governance, admin, CLI commands 2026-03-27 16:52:22 +01:00
setup.py feat: add bootstrap endpoint + deploy skill for AI agents 2026-03-30 14:01:01 +02:00
skills.py feat: add Docker, CLI tool, scheduler, and agent skills 2026-03-27 15:30:03 +01:00
status.py feat: add Docker, CLI tool, scheduler, and agent skills 2026-03-27 15:30:03 +01:00
sync.py fix: CLI sync downloads tables with empty hash (not yet computed) 2026-03-31 13:30:10 +02:00