@lmctl-ai/lmctl 0.2.24 → 0.2.25
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/README.md +1 -1
- package/dist/cli/index.js +375 -348
- package/dist/cli/model.d.ts +15 -0
- package/package.json +1 -1
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type CliIo } from './common.js';
|
|
2
|
+
import { type CatalogSnapshot } from '../providers/pricing.js';
|
|
3
|
+
export declare const MODEL_PROVIDERS: readonly ["codex", "agy", "claude", "kimi"];
|
|
4
|
+
type ModelProvider = typeof MODEL_PROVIDERS[number];
|
|
5
|
+
interface ModelList {
|
|
6
|
+
available: boolean;
|
|
7
|
+
models: string[];
|
|
8
|
+
reason?: string;
|
|
9
|
+
}
|
|
10
|
+
interface ModelDeps {
|
|
11
|
+
loadSnapshot?: () => Promise<CatalogSnapshot>;
|
|
12
|
+
loadModels?: (provider: ModelProvider, snapshot: CatalogSnapshot) => ModelList | Promise<ModelList>;
|
|
13
|
+
}
|
|
14
|
+
export declare function runModel(args: string[], io: CliIo, deps?: ModelDeps): Promise<number>;
|
|
15
|
+
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.25",
|
|
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",
|