@moxt-ai/mobius 0.0.56 → 0.0.57

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.js CHANGED
@@ -11,7 +11,7 @@ import { mkdir as mkdir5 } from "node:fs/promises";
11
11
  // package.json
12
12
  var package_default = {
13
13
  name: "@moxt-ai/mobius",
14
- version: "0.0.56",
14
+ version: "0.0.57",
15
15
  description: "Mobius CLI for pairing and running local AI agent services.",
16
16
  type: "module",
17
17
  bin: {
@@ -40449,8 +40449,19 @@ async function discoverModelEffort(command, agent, resolution, initialOptions, s
40449
40449
  }
40450
40450
  const selectedEffort2 = effortOption(selectedOptions);
40451
40451
  valuesByModel[command.model] = selectedEffort2?.type === "select" ? selectedEffort2.values : [];
40452
+ return {
40453
+ effortSettingId: selectedEffort2?.id ?? "",
40454
+ modelSettingId: model.id,
40455
+ resolution: "on_model_selection",
40456
+ valuesByModel
40457
+ };
40458
+ }
40459
+ const defaultModel = model.type === "select" ? model.currentValue : "";
40460
+ const reportedEffort = effortOption(selectedOptions);
40461
+ const selectedEffort = defaultModel.length > 0 && reportedEffort === void 0 ? effortOption(await inspectModel(defaultModel)) : reportedEffort;
40462
+ if (defaultModel.length > 0) {
40463
+ valuesByModel[defaultModel] = selectedEffort?.type === "select" ? selectedEffort.values : [];
40452
40464
  }
40453
- const selectedEffort = effortOption(selectedOptions);
40454
40465
  return {
40455
40466
  effortSettingId: selectedEffort?.id ?? "",
40456
40467
  modelSettingId: model.id,