pum-agent 0.2.32-beta.1 → 0.2.33-beta.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/app.tsx +4 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pum-agent",
3
- "version": "0.2.32-beta.1",
3
+ "version": "0.2.33-beta.1",
4
4
  "description": "A compact terminal coding agent powered by pi and OpenTUI.",
5
5
  "license": "MIT",
6
6
  "type": "module",
package/src/app.tsx CHANGED
@@ -5686,6 +5686,10 @@ export function App({
5686
5686
  key.stopPropagation();
5687
5687
  const index = Math.min(commandCursorRef.current, visibleArgumentMatches.length - 1);
5688
5688
  const completed = applyPathCompletion(inputValue, visibleArgumentMatches[index]!);
5689
+ if (closedSetMatches.length > 0) {
5690
+ submitPrompt(completed.value);
5691
+ return;
5692
+ }
5689
5693
  setEditorText(completed.value, completed.cursorOffset, true);
5690
5694
  pathCompletionCycle.current = {
5691
5695
  sourceValue: inputValue,