Repository navigation
v0.9.1
Prebuilt pure Microsoft Teams binary (teams / teams.exe) — CLI, TUI, HTTP API, and MCP server.
Changes
- Uploads: small-file uploads now use
conflictBehavior=rename, like large uploads, so sending a second file with the same name no longer replaces the first. - Write retries: POST requests are retried only on 429/503. A 502/504 is reported instead of replayed, so a message is no longer posted twice.
teams serve: a loopback server without--tokengenerates a random bearer token per session and prints it once to stderr (--allow-keylessopts out). Requests must name the loopback host, and anOriginis accepted only from the API itself or an exact--cors-originvalue.- Sync and cache: a throttled or failed
$batchchat stays dirty and is fetched again. A deleted channel (404) leaves the background rotation without stalling the batch. Teams and channels that Graph no longer lists are removed from the cache. Chat list cursors re-read the page they stopped in. Local pins survive a refresh. - History: the TUI no longer reports "all older messages loaded" while older cached rows remain. A plain
teams readno longer resets a deeper history cursor. Jumping to a search hit loads the history down to it. The thread drawer leaves the loading state when a refresh fails. - Profiles and daemon: each
TEAMS_CONFIG_DIRprofile has its own keyring entry.logoutstops the daemon, andloginreplaces a daemon signed in as another account. A one-offTEAMS_*environment override is no longer written intoconfig.toml. - Corporate proxies: the OS certificate store is now trusted alongside the bundled roots. Extra PEM roots can be added with
TEAMS_EXTRA_CA_PEM,SSL_CERT_FILEorNODE_EXTRA_CA_CERTS. An untrusted-certificate failure reportstls_untrusted_certificatewith a recovery hint, andteams doctorlists the extra CA sources. Seedocs/ENTERPRISE.md. - Hardening: Graph credentials are sent only to the configured Graph origin, so a foreign
@odata.nextLinkfails. Chat creation works for addresses with a quote and for guest UPNs. The TUI opens onlyhttp,httpsandmailtolinks. - MCP: the descriptions of request-heavy tools state their Graph request cost.
Compatibility
teams serve(breaking): a tokenless request with a non-loopbackHostor a foreignOrigingets 403. Clients that reach the port through a reverse proxy or a custom hostname must use--token. Non-loopback binds always require--token, andTEAMS_ALLOW_INSECURE_SERVEno longer overrides this. Without a token, anout_diroutside the download directory gets 400 (TEAMS_SERVE_ALLOW_ANY_OUT_DIR=1restores the old behaviour). Attachment download and message delete with a body needContent-Type: application/json(415 otherwise). Wildcard CORS is gone: pass--cors-originfor each browser origin.error.code:permission_deniedis now decided by the HTTP status, so some errors previously reported aspermission_deniednow reportnot_foundorerror.export --include-threadsexits non-zero when reply fetches fail. The partial export is still written, and the failed threads are listed inincomplete_threads(JSON) and on stderr.- A custom-directory profile that stored its token in the shared keyring slot reads its
credentials.jsoncopy on first run, so no new login is expected. The default profile is unchanged. - Environment overrides already saved into
config.tomlby earlier versions are not removed. Edit the file to remove them.
Full Changelog: v0.9.0...v0.9.1