@moxt-ai/mobius 0.0.310 → 0.0.311

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
@@ -2086,7 +2086,7 @@ var init_package = __esm({
2086
2086
  "package.json"() {
2087
2087
  package_default = {
2088
2088
  name: "@moxt-ai/mobius",
2089
- version: "0.0.310",
2089
+ version: "0.0.311",
2090
2090
  description: "Mobius CLI for pairing and running local AI agent services.",
2091
2091
  type: "module",
2092
2092
  bin: {
@@ -95159,12 +95159,14 @@ var init_session_manager = __esm({
95159
95159
  const prepared = runtime.prepared();
95160
95160
  const discoveredModelEffort = runtime.agentSettingsModelEffort();
95161
95161
  const model = options2.model;
95162
- const configOptions = model === void 0 ? prepared.configOptions : await runtime.configure({
95162
+ const modelOption2 = prepared.configOptions.find(
95163
+ (option) => option.id === "model" || option.category === "model"
95164
+ );
95165
+ const modelIsFixed = modelOption2?.type === "select" && modelOption2.values.length < 2 && modelOption2.currentValue === model;
95166
+ const configOptions = model === void 0 || modelIsFixed ? prepared.configOptions : await runtime.configure({
95163
95167
  ...options2,
95164
95168
  booleanValue: false,
95165
- configId: prepared.configOptions.find(
95166
- (option) => option.id === "model" || option.category === "model"
95167
- )?.id ?? "model",
95169
+ configId: modelOption2?.id ?? "model",
95168
95170
  requestId: "agent-settings-model",
95169
95171
  sessionId: `agent-settings-${crypto.randomUUID()}`,
95170
95172
  value: model,