zenox 1.1.2 → 1.1.3

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.
Files changed (2) hide show
  1. package/dist/cli/index.js +11 -11
  2. package/package.json +1 -1
package/dist/cli/index.js CHANGED
@@ -3760,19 +3760,19 @@ async function runConfig() {
3760
3760
  finalModels[agent] = model;
3761
3761
  }
3762
3762
  }
3763
- if (Object.keys(finalModels).length > 0) {
3764
- const spinner = Y2();
3765
- spinner.start("Saving model configuration");
3766
- try {
3767
- await updateAgentModels(finalModels);
3763
+ const spinner = Y2();
3764
+ spinner.start("Saving model configuration");
3765
+ try {
3766
+ await updateAgentModels(finalModels);
3767
+ if (Object.keys(finalModels).length > 0) {
3768
3768
  spinner.stop(`Updated ${getZenoxConfigPath()}`);
3769
- } catch (err) {
3770
- spinner.stop("Failed to save config");
3771
- M2.error(err instanceof Error ? err.message : "Unknown error");
3772
- process.exit(1);
3769
+ } else {
3770
+ spinner.stop("All agents using default models");
3773
3771
  }
3774
- } else {
3775
- M2.info("All agents using default models - zenox.json not needed");
3772
+ } catch (err) {
3773
+ spinner.stop("Failed to save config");
3774
+ M2.error(err instanceof Error ? err.message : "Unknown error");
3775
+ process.exit(1);
3776
3776
  }
3777
3777
  Se(import_picocolors6.default.green("Configuration updated!"));
3778
3778
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zenox",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "OpenCode plugin with specialized agents (explorer, librarian, oracle, ui-planner), background tasks for parallel execution, and smart orchestration",
5
5
  "author": "Ayush",
6
6
  "license": "MIT",