Skip to content

Commit 4b59541

Browse files
hyperpolymathclaude
andcommitted
feat(clients): add Zig client SDK with C ABI
New Zig HTTP client for verisim-api with thin C ABI wrapper so other languages (including hypatia's Rust data layer) can depend on a single FFI surface instead of each rolling their own HTTP client. - src/root.zig — native Zig client (create/get/update/delete octad, health, vql_execute) - src/c_abi.zig — extern "C" wrappers: verisimdb_health, verisimdb_create_octad, …, verisimdb_free - include/verisimdb_client.h — hand-authored C header for downstream consumers - tests/test_client.zig — 9 integration tests against live verisim-api - build.zig + build.zig.zon — produces libverisimdb_zig.{a,so} Aligns with the hyperpolymath ABI/FFI standard (Idris2 ABI + Zig FFI). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 94f356b commit 4b59541

29 files changed

Lines changed: 4358 additions & 0 deletions

connectors/clients/zig/.zig-cache/h/0eb8f8ba6f6d956aa057eddb97787b35.txt

Lines changed: 538 additions & 0 deletions
Large diffs are not rendered by default.

connectors/clients/zig/.zig-cache/h/209fc637672e1f5a7c399603068edcc0.txt

Lines changed: 839 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
0
2+
12906210 581576083 1775352475727854220 382da8a66ccc26b5d63840fea8e17e60 1 .zig-cache/o/98407ddee78528e9d3ed2f64d89f4624/test
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
0
2+
12906210 581576083 1775352475727854220 382da8a66ccc26b5d63840fea8e17e60 1 .zig-cache/o/98407ddee78528e9d3ed2f64d89f4624/test

connectors/clients/zig/.zig-cache/h/8133506ef48c0c79c432af75fa6a8a04.txt

Lines changed: 838 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
0
2+
12906210 581576083 1775352475727854220 382da8a66ccc26b5d63840fea8e17e60 1 .zig-cache/o/98407ddee78528e9d3ed2f64d89f4624/test

connectors/clients/zig/.zig-cache/h/a429212b5cbb08e6ec1982bb389a4e00.txt

Lines changed: 838 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
0
2+
12906210 581576083 1775352475727854220 382da8a66ccc26b5d63840fea8e17e60 1 .zig-cache/o/98407ddee78528e9d3ed2f64d89f4624/test

connectors/clients/zig/.zig-cache/h/timestamp

Whitespace-only changes.
Binary file not shown.

0 commit comments

Comments
 (0)