@kervnet/opencode-kiro-auth 1.7.3 → 1.7.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -35,6 +35,11 @@ export class TokenRefresher {
35
35
  const stillAcc = accounts.find((a) => a.id === account.id);
36
36
  if (stillAcc &&
37
37
  !accessTokenExpired(this.accountManager.toAuthDetails(stillAcc), this.config.token_expiry_buffer_ms)) {
38
+ // Reset health status since we have fresh credentials
39
+ stillAcc.isHealthy = true;
40
+ stillAcc.failCount = 0;
41
+ stillAcc.unhealthyReason = undefined;
42
+ await this.repository.batchSave([stillAcc]);
38
43
  showToast('Credentials recovered from Kiro CLI sync.', 'info');
39
44
  return { account: stillAcc, shouldContinue: true };
40
45
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kervnet/opencode-kiro-auth",
3
- "version": "1.7.3",
3
+ "version": "1.7.4",
4
4
  "description": "OpenCode plugin for AWS Kiro (CodeWhisperer) with IAM Identity Center profile support",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",