@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
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* write it — plan.ts owns the actual write/lint/seed pipeline so the flags
|
|
7
7
|
* path and the wizard path behave identically after this point.
|
|
8
8
|
*/
|
|
9
|
-
import {
|
|
9
|
+
import { loadModelSuggestions } from '../providers/model-suggestions.js';
|
|
10
10
|
import type { CliIo } from './common.js';
|
|
11
11
|
import { type MemberSpec } from './teamfile-template.js';
|
|
12
12
|
export interface PlanWizardInitial {
|
|
@@ -31,8 +31,8 @@ export interface PlanWizardOptions {
|
|
|
31
31
|
/** Preselected directory (positional arg); defaults to cwd. */
|
|
32
32
|
directory?: string;
|
|
33
33
|
initial?: PlanWizardInitial;
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
initConfigPath?: string;
|
|
35
|
+
loadModels?: typeof loadModelSuggestions;
|
|
36
36
|
/** Test seam — defaults to spawning $EDITOR synchronously on the temp file. */
|
|
37
37
|
editFile?: (path: string) => void;
|
|
38
38
|
env?: NodeJS.ProcessEnv;
|
package/dist/cli/plan.d.ts
CHANGED
|
@@ -7,12 +7,12 @@
|
|
|
7
7
|
* ids are never generated here — seeding is `lmctl seed`'s job, chained via
|
|
8
8
|
* `--seed` (lint first, refuse to seed when lint fails).
|
|
9
9
|
*/
|
|
10
|
-
import type {
|
|
10
|
+
import type { loadModelSuggestions } from '../providers/model-suggestions.js';
|
|
11
11
|
import type { CliIo } from './common.js';
|
|
12
|
-
/** Test seams — fetch for --from URLs,
|
|
12
|
+
/** Test seams — fetch for --from URLs, model suggestions + editor for the wizard. */
|
|
13
13
|
export interface PlanDeps {
|
|
14
14
|
fetchFn?: typeof fetch;
|
|
15
|
-
|
|
15
|
+
loadModels?: typeof loadModelSuggestions;
|
|
16
16
|
editFile?: (path: string) => void;
|
|
17
17
|
/** Overrides stdin TTY detection (wizard auto-trigger). */
|
|
18
18
|
stdinIsTTY?: boolean;
|