@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.
- package/CHANGELOG.md +4 -0
- package/dist/modes/interactive/interactive-mode.d.ts.map +1 -1
- package/dist/modes/interactive/interactive-mode.js +3 -0
- package/dist/modes/interactive/interactive-mode.js.map +1 -1
- package/examples/extensions/custom-provider-anthropic/package-lock.json +2 -2
- package/examples/extensions/custom-provider-anthropic/package.json +1 -1
- package/examples/extensions/custom-provider-gitlab-duo/package.json +1 -1
- package/examples/extensions/sandbox/package-lock.json +2 -2
- package/examples/extensions/sandbox/package.json +1 -1
- package/examples/extensions/with-deps/package-lock.json +2 -2
- package/examples/extensions/with-deps/package.json +1 -1
- package/npm-shrinkwrap.json +12 -12
- package/package.json +4 -4
|
@@ -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();
|