micro-models-agent 0.24.9 → 0.24.10

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/dist/main.js +3 -4
  2. package/package.json +1 -1
package/dist/main.js CHANGED
@@ -26260,9 +26260,8 @@ class Repl {
26260
26260
  this.running = false;
26261
26261
  });
26262
26262
  if (process.stdin.isTTY) {
26263
- readline2.emitKeypressEvents(process.stdin);
26264
- process.stdin.on("keypress", (str, key) => {
26265
- if (key && key.name === "escape") {
26263
+ process.stdin.on("data", (chunk) => {
26264
+ if (chunk.length === 1 && chunk[0] === 27) {
26266
26265
  const now = Date.now();
26267
26266
  if (now - this.lastEscTime < this.doubleEscDelay) {
26268
26267
  if (this.agentRunning) {
@@ -26276,7 +26275,7 @@ ${t("repl.interrupt")}
26276
26275
  }
26277
26276
  this.lastEscTime = now;
26278
26277
  }
26279
- if (key && key.ctrl && key.name === "v" && !this.agentRunning) {
26278
+ if (chunk.length === 1 && chunk[0] === 22 && !this.agentRunning) {
26280
26279
  this.handlePasteImage();
26281
26280
  }
26282
26281
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "micro-models-agent",
3
- "version": "0.24.9",
3
+ "version": "0.24.10",
4
4
  "description": "Micro Models Agent (MMA) — LLM agent harness for small models (Qwen3.5-9B, 32K-64K context)",
5
5
  "type": "module",
6
6
  "bin": {