@openeryc/pi-coding-agent 0.75.38 → 0.75.40

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.
@@ -1968,6 +1968,8 @@ export class InteractiveMode {
1968
1968
  text = text.trim();
1969
1969
  if (!text)
1970
1970
  return;
1971
+ // Add to history before handling (so up/down can recall commands too)
1972
+ this.editor.addToHistory?.(text);
1971
1973
  // Handle commands
1972
1974
  if (text === "/settings") {
1973
1975
  this.showSettingsSelector();
@@ -3210,6 +3212,7 @@ export class InteractiveMode {
3210
3212
  this.editorContainer.clear();
3211
3213
  this.editorContainer.addChild(this.editor);
3212
3214
  this.ui.setFocus(this.editor);
3215
+ this.ui.requestRender();
3213
3216
  };
3214
3217
  const { component, focus } = create(done);
3215
3218
  this.editorContainer.clear();