@dreb/coding-agent 2.3.0 → 2.4.1

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.
@@ -341,8 +341,12 @@ export class InteractiveMode {
341
341
  hint("app.suspend", "to suspend"),
342
342
  keyHint("tui.editor.deleteToLineEnd", "to delete to end"),
343
343
  hint("app.thinking.cycle", "to cycle thinking level"),
344
- rawKeyHint(`${keyText("app.model.cycleForward")}/${keyText("app.model.cycleBackward")}`, "to cycle models"),
345
- hint("app.model.select", "to select model"),
344
+ ...(keyText("app.model.cycleForward") || keyText("app.model.cycleBackward")
345
+ ? [
346
+ rawKeyHint(`${keyText("app.model.cycleForward")}/${keyText("app.model.cycleBackward")}`, "to cycle models"),
347
+ ]
348
+ : []),
349
+ ...(keyText("app.model.select") ? [hint("app.model.select", "to select model")] : []),
346
350
  hint("app.tools.expand", "to expand tools"),
347
351
  hint("app.thinking.toggle", "to expand thinking"),
348
352
  hint("app.editor.external", "for external editor"),
@@ -3704,9 +3708,7 @@ export class InteractiveMode {
3704
3708
  | \`${exit}\` | Exit (when editor is empty) |
3705
3709
  | \`${suspend}\` | Suspend to background |
3706
3710
  | \`${cycleThinkingLevel}\` | Cycle thinking level |
3707
- | \`${cycleModelForward}\` / \`${cycleModelBackward}\` | Cycle models |
3708
- | \`${selectModel}\` | Open model selector |
3709
- | \`${expandTools}\` | Toggle tool output expansion |
3711
+ ${cycleModelForward || cycleModelBackward ? `| \`${cycleModelForward}\` / \`${cycleModelBackward}\` | Cycle models |\n` : ""}${selectModel ? `| \`${selectModel}\` | Open model selector |\n` : ""}| \`${expandTools}\` | Toggle tool output expansion |
3710
3712
  | \`${toggleThinking}\` | Toggle thinking block visibility |
3711
3713
  | \`${externalEditor}\` | Edit message in external editor |
3712
3714
  | \`${followUp}\` | Queue follow-up message |