open-agents-ai 0.187.381 → 0.187.382

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/index.js +10 -10
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -544417,6 +544417,16 @@ async function handleSlashCommand(input, ctx3) {
544417
544417
  case "color":
544418
544418
  case "colors":
544419
544419
  case "theme": {
544420
+ const colorAction = arg.toLowerCase();
544421
+ if (cmd !== "theme" && ["toggle", "on", "off", "enable", "disable"].includes(colorAction)) {
544422
+ const current = ctx3.getColors?.() ?? true;
544423
+ const next = colorAction === "on" || colorAction === "enable" ? true : colorAction === "off" || colorAction === "disable" ? false : !current;
544424
+ ctx3.setColors?.(next);
544425
+ const save2 = hasLocal ? ctx3.saveLocalSettings.bind(ctx3) : ctx3.saveSettings.bind(ctx3);
544426
+ save2({ colors: next });
544427
+ renderInfo2(`Colors ${next ? "enabled" : "disabled"}.${hasLocal ? " (project-local)" : ""}`);
544428
+ return "handled";
544429
+ }
544420
544430
  await showColorMenu(ctx3);
544421
544431
  return "handled";
544422
544432
  }
@@ -547713,16 +547723,6 @@ sleep 1
547713
547723
  renderInfo2(`Emojis ${next ? "enabled" : "disabled"}.`);
547714
547724
  return "handled";
547715
547725
  }
547716
- case "colors":
547717
- case "color": {
547718
- const current = ctx3.getColors?.() ?? true;
547719
- const next = !current;
547720
- ctx3.setColors?.(next);
547721
- const save2 = hasLocal ? ctx3.saveLocalSettings.bind(ctx3) : ctx3.saveSettings.bind(ctx3);
547722
- save2({ colors: next });
547723
- renderInfo2(`Colors ${next ? "enabled" : "disabled"}.`);
547724
- return "handled";
547725
- }
547726
547726
  case "pause": {
547727
547727
  if (!ctx3.hasActiveTask?.()) {
547728
547728
  renderWarning2("No active task to pause.");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "open-agents-ai",
3
- "version": "0.187.381",
3
+ "version": "0.187.382",
4
4
  "description": "AI coding agent powered by open-source models (Ollama/vLLM) — interactive TUI with agentic tool-calling loop",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",