Skip to content

v0.122.0

Choose a tag to compare

@davidfarah-dev davidfarah-dev released this 29 Oct 07:58
f9ecd35

Install or update: npm i -g cotal-ai@0.122.0

Changes in this release

  • cotal manager start and restart on a user-auth space now confirm the cached sign-in with its IdP before they save or launch anything. A sign-in the IdP rejects because it expired or was revoked is refused AUTH_REQUIRED (exit 2) with cotal login --idp <base> as the next step, as no sign-in is. Before, a participant's start launched the manager, which failed OPERATION_FAILED, and a hosting folder's start left the manager running behind an OPERATION_UNKNOWN. A space registered from another host now gets the signed-out refusal too. Any other failure of the check, such as an IdP that does not answer, is left to the start as before.

    Breaking for custom auth providers: AuthProvider gains confirmLogin, which the stock provider implements with one IdP proof and no mint. manager start and restart on a user-auth space refuse UNSUPPORTED when the installed provider does not implement it.

  • Use PidfileState directly for folder pidfile state in cotal status and remove the redundant Proc type alias.

What's Changed

  • fix(cli): use PidfileState directly in status and drop Proc alias by @davidfarah2003 in #5216
  • fix(cli)!: refuse manager start when the IdP rejects the cached sign-in by @davidfarah2003 in #5219
  • chore(release): version packages by @davidfarah2003 in #5218

Full Changelog: v0.121.7...v0.122.0