@oh-my-pi/pi-coding-agent 12.11.1 → 12.11.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oh-my-pi/pi-coding-agent",
3
- "version": "12.11.1",
3
+ "version": "12.11.2",
4
4
  "description": "Coding agent CLI with read, bash, edit, write tools and session management",
5
5
  "type": "module",
6
6
  "bin": {
@@ -84,12 +84,12 @@
84
84
  },
85
85
  "dependencies": {
86
86
  "@mozilla/readability": "0.6.0",
87
- "@oh-my-pi/omp-stats": "12.11.1",
88
- "@oh-my-pi/pi-agent-core": "12.11.1",
89
- "@oh-my-pi/pi-ai": "12.11.1",
90
- "@oh-my-pi/pi-natives": "12.11.1",
91
- "@oh-my-pi/pi-tui": "12.11.1",
92
- "@oh-my-pi/pi-utils": "12.11.1",
87
+ "@oh-my-pi/omp-stats": "12.11.2",
88
+ "@oh-my-pi/pi-agent-core": "12.11.2",
89
+ "@oh-my-pi/pi-ai": "12.11.2",
90
+ "@oh-my-pi/pi-natives": "12.11.2",
91
+ "@oh-my-pi/pi-tui": "12.11.2",
92
+ "@oh-my-pi/pi-utils": "12.11.2",
93
93
  "@sinclair/typebox": "^0.34.48",
94
94
  "@xterm/headless": "^6.0.0",
95
95
  "ajv": "^8.18.0",
@@ -60,6 +60,12 @@ export class HookEditorComponent extends Container {
60
60
  return;
61
61
  }
62
62
 
63
+ // Plain Enter inserts a new line in hook editor
64
+ if (matchesKey(keyData, "enter") || matchesKey(keyData, "return") || keyData === "\n") {
65
+ this.#editor.handleInput("\n");
66
+ return;
67
+ }
68
+
63
69
  // Escape to cancel
64
70
  if (matchesKey(keyData, "escape") || matchesKey(keyData, "esc")) {
65
71
  this.#onCancelCallback();