mirror of
https://github.com/hanzoai/sdk.git
synced 2026-10-30 15:00:56 +00:00
- Add complete multi-language SDK matrix (Python, TS, Go, Rust, PHP, Ruby, Dart, Java, Kotlin, Swift, C++, C#, Fetch, Angular, CLI) - Fix dedicated org repository links (hanzo-php/sdk, hanzo-ruby/sdk, hanzo-dart/sdk, hanzo-go/sdk, etc.) - Add OpenAPI 3.1 canonical specification (spec/openapi.json) for /v1 routes and Kai decision governance - Add wire conformance test fixtures (auth, chat, SSE streaming, tool calls, Kai decisions, embeddings, errors) - Add standalone zero-dependency Python conformance runner and local mock gateway (conformance/runner.py) - Add runnable multi-language quickstarts in examples/ - Add GitHub Actions CI workflow for conformance verification (.github/workflows/conformance.yml) Co-authored-by: Hanzo Dev <[email protected]>
16 lines
485 B
JSON
16 lines
485 B
JSON
{
|
|
"description": "Standard Hanzo SDK HTTP header contract and authentication requirements",
|
|
"required_headers": {
|
|
"Authorization": "Bearer sk-test-key-12345",
|
|
"Content-Type": "application/json"
|
|
},
|
|
"optional_headers": {
|
|
"X-Hanzo-Org": "org_enterprise_tenant_01",
|
|
"User-Agent": "hanzo-python/1.0.0 (Darwin; arm64)"
|
|
},
|
|
"user_agent_format": "^hanzo-[a-z]+/[0-9]+\\.[0-9]+\\.[0-9]+.*$",
|
|
"token_formats": [
|
|
"sk-[a-zA-Z0-9_-]+",
|
|
"pk-[a-zA-Z0-9_-]+"
|
|
]
|
|
} |