@lmctl-ai/lmctl 0.2.27 → 0.2.29
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.
- package/data/price-data.json +1 -1
- package/dist/cli/chat.d.ts +0 -9
- package/dist/cli/common.d.ts +3 -0
- package/dist/cli/hello.d.ts +1 -0
- package/dist/cli/index.d.ts +1 -1
- package/dist/cli/index.js +625 -719
- package/dist/cli/intent-input.d.ts +1 -1
- package/dist/cli/intent-match.d.ts +4 -0
- package/dist/cli/intent-team.d.ts +9 -1
- package/dist/cli/intent.d.ts +0 -2
- package/dist/cli/quickrun.d.ts +1 -1
- package/dist/cli/script.js +184 -185
- package/dist/providers/ratelimit/claude-auth.d.ts +13 -0
- package/package.json +1 -1
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const CLAUDE_EXPIRY_BUFFER_MS = 300000;
|
|
2
|
+
type OAuth = Record<string, unknown>;
|
|
3
|
+
export interface ClaudeCredentials {
|
|
4
|
+
oauth?: OAuth;
|
|
5
|
+
path?: string;
|
|
6
|
+
error?: string;
|
|
7
|
+
}
|
|
8
|
+
export declare function claudeCredentialPath(env: NodeJS.ProcessEnv): string;
|
|
9
|
+
export declare function loadClaudeCredentials(env: NodeJS.ProcessEnv): ClaudeCredentials;
|
|
10
|
+
export declare function claudeTokenExpiresSoon(oauth: OAuth): boolean;
|
|
11
|
+
/** Refresh only file-owned OAuth credentials. Never print tokens or response bodies. */
|
|
12
|
+
export declare function refreshClaudeCredentials(loaded: ClaudeCredentials, signal: AbortSignal): Promise<OAuth>;
|
|
13
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lmctl-ai/lmctl",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.29",
|
|
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",
|