@wrongstack/cli 0.305.1 → 0.306.0

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.
@@ -1,3 +1,6 @@
1
+ import {
2
+ discoverAndMergeProviders
3
+ } from "./chunk-52C7PD2H.js";
1
4
  import {
2
5
  mutateConfigProviders,
3
6
  normalizeKeys,
@@ -6,9 +9,6 @@ import {
6
9
  import {
7
10
  activeProfileConfigPath
8
11
  } from "./chunk-YMXXOOFN.js";
9
- import {
10
- discoverAndMergeProviders
11
- } from "./chunk-52C7PD2H.js";
12
12
  import "./chunk-7OCVIDC7.js";
13
13
 
14
14
  // src/subcommands/handlers/modeldiag.ts
@@ -1292,4 +1292,4 @@ ${color2.dim('Enter numbers or provider IDs (comma-separated, or "all"):')}
1292
1292
  export {
1293
1293
  modeldiagCmd
1294
1294
  };
1295
- //# sourceMappingURL=modeldiag-SIVUOX2Y.js.map
1295
+ //# sourceMappingURL=modeldiag-6VS5KDP5.js.map
@@ -17,7 +17,14 @@ export interface RegisterCliManagementToolsDeps {
17
17
  * starts null and is filled once wiring completes.
18
18
  */
19
19
  getHookRunner?: (() => PluginManagerHookRunner | null) | undefined;
20
+ /**
21
+ * Late-bound live provider/model switch for leader_model_set. Like the hook
22
+ * runner, cli-main creates switchProviderAndModel AFTER the management tools
23
+ * register (it needs the provider runtime), so it passes a ref-backed getter
24
+ * that starts null and is filled once provider wiring completes.
25
+ */
26
+ getSwitchProviderAndModel?: (() => ((providerId: string, modelId: string) => Promise<string | null>) | null) | undefined;
20
27
  }
21
- export declare function registerCliManagementTools({ toolRegistry, configStore, profileConfigPath, stdinInteractive, getHookRunner, }: RegisterCliManagementToolsDeps): void;
28
+ export declare function registerCliManagementTools({ toolRegistry, configStore, profileConfigPath, stdinInteractive, getHookRunner, getSwitchProviderAndModel, }: RegisterCliManagementToolsDeps): void;
22
29
  export {};
23
30
  //# sourceMappingURL=management-tools.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wrongstack/cli",
3
- "version": "0.305.1",
3
+ "version": "0.306.0",
4
4
  "license": "MIT",
5
5
  "description": "WrongStack CLI — terminal AI coding agent with provider catalog from models.dev. Provides `wrongstack` and `wstack` binaries.",
6
6
  "keywords": [
@@ -42,31 +42,31 @@
42
42
  ],
43
43
  "dependencies": {
44
44
  "ws": "^8.21.1",
45
- "@wrongstack/core": "0.305.1",
46
- "@wrongstack/mcp": "0.305.1",
47
- "@wrongstack/acp": "0.305.1",
48
- "@wrongstack/bench": "0.305.1",
49
- "@wrongstack/persistence": "0.305.1",
50
- "@wrongstack/kanban": "0.305.1",
51
- "@wrongstack/plugins": "0.305.1",
52
- "@wrongstack/providers": "0.305.1",
53
- "@wrongstack/plug-lsp": "0.305.1",
54
- "@wrongstack/sage": "0.305.1",
55
- "@wrongstack/runtime": "0.305.1",
56
- "@wrongstack/requirement-intake": "0.305.1",
57
- "@wrongstack/simpleui": "0.305.1",
58
- "@wrongstack/sdd": "0.305.1",
59
- "@wrongstack/security-scanner": "0.305.1",
60
- "@wrongstack/telegram": "0.305.1",
61
- "@wrongstack/techstack": "0.305.1",
62
- "@wrongstack/tools": "0.305.1",
63
- "@wrongstack/tui": "0.305.1",
64
- "@wrongstack/webui-hq": "0.305.1",
65
- "@wrongstack/webui": "0.305.1",
66
- "@wrongstack/webui-server": "0.305.1"
45
+ "@wrongstack/bench": "0.306.0",
46
+ "@wrongstack/acp": "0.306.0",
47
+ "@wrongstack/mcp": "0.306.0",
48
+ "@wrongstack/core": "0.306.0",
49
+ "@wrongstack/plugins": "0.306.0",
50
+ "@wrongstack/providers": "0.306.0",
51
+ "@wrongstack/persistence": "0.306.0",
52
+ "@wrongstack/plug-lsp": "0.306.0",
53
+ "@wrongstack/requirement-intake": "0.306.0",
54
+ "@wrongstack/kanban": "0.306.0",
55
+ "@wrongstack/runtime": "0.306.0",
56
+ "@wrongstack/simpleui": "0.306.0",
57
+ "@wrongstack/sage": "0.306.0",
58
+ "@wrongstack/security-scanner": "0.306.0",
59
+ "@wrongstack/tools": "0.306.0",
60
+ "@wrongstack/sdd": "0.306.0",
61
+ "@wrongstack/webui": "0.306.0",
62
+ "@wrongstack/techstack": "0.306.0",
63
+ "@wrongstack/webui-server": "0.306.0",
64
+ "@wrongstack/telegram": "0.306.0",
65
+ "@wrongstack/tui": "0.306.0",
66
+ "@wrongstack/webui-hq": "0.306.0"
67
67
  },
68
68
  "optionalDependencies": {
69
- "@wrongstack/desktop": "0.305.1"
69
+ "@wrongstack/desktop": "0.306.0"
70
70
  },
71
71
  "devDependencies": {
72
72
  "@types/node": "^26.1.2",