@lmctl-ai/lmctl 0.2.34 → 0.2.36

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.
@@ -0,0 +1,15 @@
1
+ type Token = Record<string, unknown> & {
2
+ access_token: string;
3
+ };
4
+ export interface KimiAccount {
5
+ home: string;
6
+ path: string;
7
+ lockTarget: string;
8
+ baseUrl: string;
9
+ oauthHost: string;
10
+ token: Token;
11
+ }
12
+ export declare function loadKimiAccount(env: NodeJS.ProcessEnv): KimiAccount;
13
+ export declare function kimiTokenExpiresSoon(token: Token): boolean;
14
+ export declare function refreshKimiAccount(account: KimiAccount, signal: AbortSignal): Promise<Token>;
15
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lmctl-ai/lmctl",
3
- "version": "0.2.34",
3
+ "version": "0.2.36",
4
4
  "description": "A provider-agnostic control plane for teams of AI coding agents — across providers, with independent review and durable memory.",
5
5
  "type": "module",
6
6
  "homepage": "https://lmctl.com",