@kervnet/opencode-kiro-auth 1.6.5 → 1.6.6

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.
@@ -5,5 +5,6 @@ export declare class KiroCliAuthMethod {
5
5
  constructor(config: any, repository: AccountRepository);
6
6
  authorize(): Promise<{
7
7
  success: boolean;
8
+ apiKey?: string;
8
9
  }>;
9
10
  }
@@ -14,6 +14,6 @@ export class KiroCliAuthMethod {
14
14
  if (accounts.length === 0) {
15
15
  throw new Error('No accounts found. Please run: kiro-cli login');
16
16
  }
17
- return { success: true };
17
+ return { success: true, apiKey: 'kiro-cli-session' };
18
18
  }
19
19
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kervnet/opencode-kiro-auth",
3
- "version": "1.6.5",
3
+ "version": "1.6.6",
4
4
  "description": "OpenCode plugin for AWS Kiro (CodeWhisperer) providing access to Claude models with IAM auth support",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",