Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
5e08ccf
chore(deps): add hotdata sdk, tokio, async-trait
zfarrell Jun 4, 2026
69e4ff4
refactor(http): add slim raw-http helper
zfarrell Jun 4, 2026
e312fe7
feat(sdk): add sync wrapper and CliTokenProvider
zfarrell Jun 4, 2026
f2b427d
refactor(workspace): use sdk workspaces handle
zfarrell Jun 4, 2026
54b583f
refactor(jobs): use sdk jobs handle
zfarrell Jun 4, 2026
155abff
refactor(tables): use sdk information_schema
zfarrell Jun 4, 2026
705ad1a
refactor(queries): use sdk query_runs handle
zfarrell Jun 4, 2026
556e765
refactor(results): use sdk results handle
zfarrell Jun 4, 2026
a62d9a6
refactor(embeddings): use sdk providers handle
zfarrell Jun 4, 2026
fa4bc4a
refactor(context): use sdk database_context
zfarrell Jun 4, 2026
cc1e3b7
refactor(datasets): use sdk datasets handle
zfarrell Jun 4, 2026
3a0fccf
refactor(connections): migrate connections_new
zfarrell Jun 4, 2026
261778f
refactor(connections): use sdk connections handle
zfarrell Jun 4, 2026
d3cf4c6
refactor(sandbox): use sdk sandboxes handle
zfarrell Jun 4, 2026
e39ffae
refactor(indexes): use sdk indexes handle
zfarrell Jun 4, 2026
3885c7d
refactor(query): poll+arrow via sdk handles
zfarrell Jun 4, 2026
d12321f
refactor(databases): use sdk databases handle
zfarrell Jun 4, 2026
96ab76c
refactor(api): remove legacy ApiClient
zfarrell Jun 4, 2026
b959425
fix(sdk): avoid double /v1 and scope by database
zfarrell Jun 4, 2026
7f36d94
style: clear clippy lints in migrated modules
zfarrell Jun 4, 2026
9f60025
fix(sdk): restore sandbox scope, guard, timeout
zfarrell Jun 4, 2026
e2edf07
fix(sdk): guard negative numeric casts
zfarrell Jun 4, 2026
4513ad6
fix(sdk): set hotdata-cli user-agent header
zfarrell Jun 4, 2026
56ab333
chore(deps): pin hotdata sdk to merged rev
zfarrell Jun 4, 2026
43ea33f
fix(sdk): drop dead X-Sandbox-Id header
zfarrell Jun 4, 2026
f382573
refactor(query): submit via sdk submit_query
zfarrell Jun 4, 2026
d5aeaca
refactor(sdk): extract apply_seam_headers helper
zfarrell Jun 5, 2026
a81196e
refactor(sdk): drop stale dead_code allows
zfarrell Jun 5, 2026
1f25031
chore(deps): consolidate CLI on reqwest 0.13
zfarrell Jun 5, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
723 changes: 673 additions & 50 deletions Cargo.lock

Large diffs are not rendered by default.

15 changes: 14 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,23 @@ name = "hotdata"
path = "src/main.rs"

[dependencies]
# Hotdata Rust SDK. The CLI's sync wrapper (src/sdk.rs) drives this async SDK
# behind a shared multi-thread tokio runtime. Pinned to the rev that adds the
# CLI-consumption surface (attribution client_id, async submit_query, streaming
# upload_stream) — merged via hotdata-dev/sdk-rust#32.
hotdata = { git = "https://github.com/hotdata-dev/sdk-rust", rev = "8d4018fb899ba52228db44eaffa6caa0eb5b603f", features = ["arrow"] }
# Shared multi-thread runtime for the sync wrapper; block_on is called
# concurrently from rayon worker threads (see src/indexes.rs).
tokio = { version = "1", features = ["rt-multi-thread"] }
# CliTokenProvider implements the SDK's #[async_trait] BearerTokenProvider.
async-trait = "0.1"
anstyle = "1.0.13"
clap = { version = "4", features = ["derive"] }
directories = "6"
reqwest = { version = "0.12", features = ["blocking", "json"] }
# Matches the SDK's reqwest 0.13 so the sdk seam can name the `reqwest::Client`
# type backing `Configuration.client`; `blocking` serves the CLI's own
# synchronous paths (PKCE/token mints in jwt.rs + the streaming /files upload).
reqwest = { version = "0.13", features = ["blocking", "json"] }
rayon = "1.10"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
Expand Down
Loading
Loading