| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| clients | ||
| engines | ||
| tests | ||
| .dockerignore | ||
| .gitignore | ||
| DEPLOY.md | ||
| Dockerfile | ||
| README.md | ||
| SRE.md | ||
| app.py | ||
| auth.py | ||
| cache.py | ||
| config.py | ||
| db.py | ||
| douanier.py | ||
| requirements-deploy.txt | ||
| requirements.txt | ||
| scopes.py |
"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 |
|---|---|---|
| .. | ||
| clients | Loading commit data... | |
| engines | Loading commit data... | |
| tests | Loading commit data... | |
| .dockerignore | Loading commit data... | |
| .gitignore | Loading commit data... | |
| DEPLOY.md | Loading commit data... | |
| Dockerfile | Loading commit data... | |
| README.md | Loading commit data... | |
| SRE.md | Loading commit data... | |
| app.py | Loading commit data... | |
| auth.py | Loading commit data... | |
| cache.py | Loading commit data... | |
| config.py | Loading commit data... | |
| db.py | Loading commit data... | |
| douanier.py | Loading commit data... | |
| requirements-deploy.txt | Loading commit data... | |
| requirements.txt | Loading commit data... | |
| scopes.py | Loading commit data... |