@kervnet/opencode-kiro-auth 1.5.1 → 1.5.2

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.
@@ -9,19 +9,7 @@ export class AuthHandler {
9
9
  }
10
10
  async initialize() {
11
11
  const { syncFromKiroCli } = await import('../../plugin/sync/kiro-cli.js');
12
- const { syncFromAwsSso } = await import('../../plugin/sync/aws-sso.js');
13
- if (this.config.auto_sync_kiro_cli) {
14
- await syncFromKiroCli();
15
- }
16
- if (this.config.auto_sync_aws_sso !== false) {
17
- const ssoAccounts = await syncFromAwsSso();
18
- if (ssoAccounts.length > 0 && this.accountManager) {
19
- for (const acc of ssoAccounts) {
20
- this.accountManager.addAccount(acc);
21
- }
22
- await this.accountManager.saveToDisk();
23
- }
24
- }
12
+ await syncFromKiroCli();
25
13
  }
26
14
  setAccountManager(am) {
27
15
  this.accountManager = am;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kervnet/opencode-kiro-auth",
3
- "version": "1.5.1",
3
+ "version": "1.5.2",
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",