@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.
@@ -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 { type ProviderBinaryCheck } from '../providers/binary-check.js';
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
- /** Test seam — defaults to probing PATH via checkProviderBinaries. */
35
- checkProviders?: () => ProviderBinaryCheck[];
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;
@@ -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 { ProviderBinaryCheck } from '../providers/binary-check.js';
10
+ import type { loadModelSuggestions } from '../providers/model-suggestions.js';
11
11
  import type { CliIo } from './common.js';
12
- /** Test seams — fetch for --from URLs, provider probe + editor for the wizard. */
12
+ /** Test seams — fetch for --from URLs, model suggestions + editor for the wizard. */
13
13
  export interface PlanDeps {
14
14
  fetchFn?: typeof fetch;
15
- checkProviders?: () => ProviderBinaryCheck[];
15
+ loadModels?: typeof loadModelSuggestions;
16
16
  editFile?: (path: string) => void;
17
17
  /** Overrides stdin TTY detection (wizard auto-trigger). */
18
18
  stdinIsTTY?: boolean;