Repository navigation
Releases: Gaia-Desk/gaiadesk-python
Releases · Gaia-Desk/gaiadesk-python
Release list
v0.1.2
- Administrator work is not available over any API. The hosted API and
a desk's local and LAN APIs refuse it with reasonadmin_not_via_api
(kindrefused): an exec asking to run as administrator is answered exit
254 with that error, and minting a token with theadminscope is a 403.
This SDK never had anadminexec option;create_token(scopes=[..., "admin"])on theapi,localandlantransports is now a
UsageError(reasonadmin_not_via_api) raised before anything is sent
— breaking for code that minted admin tokens through the API, which now
refuses them anyway. Administrator work runs only throughgaiadesk-cli exec --admin; the CLI transport still mintsadmin-scoped tokens. New
constantADMIN_NOT_VIA_API; both refusals surface asRefusedError
with that reason. - Windows:
response_timeoutnow ends the wait at its limit (a socket
shutdown does not wake a blocked receive there; the SDK also closes the
socket's handle, where it used to wait for a 5-second backstop), and
kill()stops a stream still waiting for its answer. The local
transport's named pipe also cancels a blocked synchronous read
(CancelSynchronousIo), soidle_timeoutholds there. - Tests: Windows fixes (no Unix socket server,
\nline ends from the fake
CLI, refused-connect timing), a flaky local-socket test, and a real
named-pipe timeout test.