Skip to content

Add hosted warehouse query commands#3

Merged
alexskatell merged 1 commit into
mainfrom
feat/query-api-cli
May 13, 2026
Merged

Add hosted warehouse query commands#3
alexskatell merged 1 commit into
mainfrom
feat/query-api-cli

Conversation

@alexskatell
Copy link
Copy Markdown
Contributor

Summary

  • add topline query schema|catalog|explain|sql commands backed by the hosted os-mcp /query/api/* SQL surface
  • require a connection-bound TOPLINE_QUERY_TOKEN and explicitly reject raw PITs for SQL
  • document Streamlined-style warehouse analytics and add query command regression tests

Tests

  • go test ./...
  • go build -o /tmp/topline-query ./cmd/topline
  • topline query help
  • raw-PIT guard smoke: TOPLINE_QUERY_TOKEN=pit-example-token topline query schema fails before network with connection-bound token guidance

@alexskatell alexskatell merged commit f54e32d into main May 13, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant