@lmctl-ai/lmctl 0.2.22 → 0.2.24
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/dist/cli/index.js +430 -419
- package/dist/cli/plan-wizard.d.ts +3 -3
- package/dist/cli/plan.d.ts +3 -3
- package/dist/cli/script.js +200 -197
- package/dist/providers/config/model-selection-lint.d.ts +36 -0
- package/dist/providers/model-suggestions.d.ts +4 -0
- package/dist/script/adapter.d.ts +3 -0
- package/dist/script/lmbee-module.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,20 +1,49 @@
|
|
|
1
1
|
import { type CatalogSnapshot } from "../pricing.js";
|
|
2
2
|
import type { MemberConfig, TeamValidationError } from "./team-config.js";
|
|
3
|
+
/**
|
|
4
|
+
* dsh's real model catalog — the static DEFAULT_MODELS list baked into the
|
|
5
|
+
* shipped `@deepseek-ai/dsh-llm-deepseek` package (verified against dsh
|
|
6
|
+
* 0.1.1-rc.2; see backlog/DESIGN-add-dsh-provider.md). Hardcoded by
|
|
7
|
+
* deliberate choice: dsh has no kimi-style user-editable model config file
|
|
8
|
+
* to read live, and shelling out to `dsh --dump-config` would add a process
|
|
9
|
+
* spawn to every lint run only to report these same baked-in defaults. The
|
|
10
|
+
* catalog is patchable via dsh profile overlays, so a user-extended model
|
|
11
|
+
* will warn here even though it may resolve — the warning text says so.
|
|
12
|
+
*/
|
|
13
|
+
export declare const DSH_MODELS: string[];
|
|
14
|
+
/**
|
|
15
|
+
* Server-side resolving aliases: DeepSeek resolves these to whatever its
|
|
16
|
+
* CURRENT flash/pro model is (operator, 2026-09-16: "dsh have the default
|
|
17
|
+
* that I set as deepseek-flash, which deepseek link to the latest deepseek
|
|
18
|
+
* version: deepseek-4.1-flash. (server side resolve, not client side
|
|
19
|
+
* resolve)"). NOT pinned versions -- do not fold into DSH_MODELS above or
|
|
20
|
+
* present alongside it as an equivalent "valid model," because pinning to
|
|
21
|
+
* e.g. `deepseek-v4-flash` instead is an ACTIVE DOWNGRADE once DeepSeek
|
|
22
|
+
* moves the alias forward, not a safer choice. Real incident: this lint's
|
|
23
|
+
* old "Valid models: <pinned list>" wording steered an operator into doing
|
|
24
|
+
* exactly that once already, before being corrected. Six teams (math,
|
|
25
|
+
* memperf, backup, dsh_creator, localwebqa, and growing -- dsh is now a
|
|
26
|
+
* primary execution provider fleet-wide) use `deepseek-flash` deliberately.
|
|
27
|
+
*/
|
|
28
|
+
export declare const DSH_SERVER_RESOLVED_ALIASES: string[];
|
|
3
29
|
export interface AgyModelsRunResult {
|
|
4
30
|
status: number | null;
|
|
5
31
|
stdout: string;
|
|
6
32
|
error?: Error;
|
|
7
33
|
}
|
|
34
|
+
export declare function loadAgyModels(runner?: () => AgyModelsRunResult): OpenCodeModelResult;
|
|
8
35
|
export interface CodexModelsRunResult {
|
|
9
36
|
status: number | null;
|
|
10
37
|
stdout: string;
|
|
11
38
|
error?: Error;
|
|
12
39
|
}
|
|
40
|
+
export declare function loadCodexModels(runner?: () => CodexModelsRunResult): OpenCodeModelResult;
|
|
13
41
|
export interface OpencodeModelsRunResult {
|
|
14
42
|
status: number | null;
|
|
15
43
|
stdout: string;
|
|
16
44
|
error?: Error;
|
|
17
45
|
}
|
|
46
|
+
export declare function loadOpencodeLiveModels(provider: string, runner?: (provider: string) => OpencodeModelsRunResult): OpenCodeModelResult;
|
|
18
47
|
export declare function modelSelectionWarnings(members: MemberConfig[], opts?: {
|
|
19
48
|
opencodeConfigPath?: string;
|
|
20
49
|
kimiConfigPath?: string;
|
|
@@ -32,3 +61,10 @@ export declare function catalogModelWarnings(members: MemberConfig[], opts?: {
|
|
|
32
61
|
export declare function catalogModelErrors(members: MemberConfig[], opts?: {
|
|
33
62
|
snapshot?: CatalogSnapshot;
|
|
34
63
|
}): Promise<TeamValidationError[]>;
|
|
64
|
+
interface OpenCodeModelResult {
|
|
65
|
+
available: boolean;
|
|
66
|
+
models: string[];
|
|
67
|
+
reason?: string;
|
|
68
|
+
}
|
|
69
|
+
export declare function loadKimiModels(configPath?: string): OpenCodeModelResult;
|
|
70
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { type CatalogDataLike } from './model-catalog.js';
|
|
2
|
+
export declare function isAggregatorProvider(provider: string): boolean;
|
|
3
|
+
export declare function catalogModelSuggestions(provider: string, catalog: CatalogDataLike): string[];
|
|
4
|
+
export declare function loadModelSuggestions(provider: string): Promise<string[]>;
|
package/dist/script/adapter.d.ts
CHANGED
|
@@ -40,6 +40,7 @@ interface AgentBatchHandle {
|
|
|
40
40
|
type ManagedBatchHandle = BatchHandle | AgentBatchHandle;
|
|
41
41
|
export declare class ResourceRegistry {
|
|
42
42
|
private batchHandles;
|
|
43
|
+
private temporaryDirectories;
|
|
43
44
|
private loggedErrors;
|
|
44
45
|
registerBatch(handle: ManagedBatchHandle): void;
|
|
45
46
|
getBatch(id: string): ManagedBatchHandle | undefined;
|
|
@@ -47,6 +48,8 @@ export declare class ResourceRegistry {
|
|
|
47
48
|
recordError(msg: string): void;
|
|
48
49
|
getErrors(): string[];
|
|
49
50
|
hasErrors(): boolean;
|
|
51
|
+
registerTemporaryDirectory(path: string): void;
|
|
52
|
+
removeTemporaryDirectories(): void;
|
|
50
53
|
forceCloseAll(io: CliIo): Promise<void>;
|
|
51
54
|
}
|
|
52
55
|
export declare function bundleAvailable(member: ResolvedMember): Promise<boolean>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { ScriptModule } from './lmscript.js';
|
|
2
|
-
export declare function createLmbeeModule(env: NodeJS.ProcessEnv): ScriptModule;
|
|
2
|
+
export declare function createLmbeeModule(env: NodeJS.ProcessEnv, registerTemporaryDirectory?: (path: string) => void): ScriptModule;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lmctl-ai/lmctl",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.24",
|
|
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",
|