"Douanier" is the internal codename for the audio sub-API; it shouldn't be what
a consumer imports. Renamed the client-facing surface to the platform brand
(NechAPI), keeping "Douanier" only as the internal service/repo name.
- clients/nech.ts (was douanier.ts) — ONE umbrella `NechAPI` client, namespaced
per sub-API: `new NechAPI({token}).audio.emotion(clip)`. Future sub-APIs add
`nech.geo.…` with no import change. Also exports the standalone `NechAudio`
sub-client for the smaller-bundle path. DouanierError→NechError,
DouanierOptions→NechOptions. Typechecks clean under tsc --strict.
- response header X-Douanier-Cache → X-Nech-Cache (app.py + all tests + client +
docs). Verified live end-to-end: miss→hit, old header gone.
- clients/README + onboarding.html (the Shipow PDF source) updated to NechAPI /
nech.audio. PDF re-rendered.
Built + redeployed douanier:latest to erable; 67 tests green. NOTE (next
iteration): OpenAPI info.title and /healthz `service` still say "douanier" — a
cosmetic /docs leak, scrub on the next redeploy.
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| __init__.py | Loading commit data... | |
| conftest.py | Loading commit data... | |
| test_auth.py | Loading commit data... | |
| test_cache.py | Loading commit data... | |
| test_ears_light.py | Loading commit data... | |
| test_extra.py | Loading commit data... | |
| test_feats.py | Loading commit data... | |
| test_grade_endpoint.py | Loading commit data... | |
| test_openapi_snapshot.py | Loading commit data... | |
| test_scopes.py | Loading commit data... | |
| test_signal.py | Loading commit data... | |
| test_smoke.py | Loading commit data... |