@hasna/assistants 1.1.43 → 1.1.44

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/dist/index.js CHANGED
@@ -87223,7 +87223,7 @@ Not a git repository or git not available.
87223
87223
  context.setProjectContext(projectContext);
87224
87224
  }
87225
87225
  }
87226
- var VERSION2 = "1.1.43";
87226
+ var VERSION2 = "1.1.44";
87227
87227
  var init_builtin = __esm(async () => {
87228
87228
  init_src2();
87229
87229
  init_store();
@@ -234214,7 +234214,7 @@ var Input = import_react28.default.forwardRef(function Input2({
234214
234214
  color: actualIndex === selectedIndex ? "cyan" : undefined,
234215
234215
  children: [
234216
234216
  actualIndex === selectedIndex ? "\u25B8 " : " ",
234217
- cmd.name.padEnd(14)
234217
+ cmd.name.padEnd(18)
234218
234218
  ]
234219
234219
  }, undefined, true, undefined, this),
234220
234220
  /* @__PURE__ */ jsx_dev_runtime.jsxDEV(Text3, {
@@ -264500,6 +264500,10 @@ function App2({ cwd: cwd2, version: version4 }) {
264500
264500
  resetTurnState();
264501
264501
  }
264502
264502
  });
264503
+ if (active) {
264504
+ setInlinePending((prev) => prev.filter((msg) => msg.sessionId !== active.id));
264505
+ pendingSendsRef.current = pendingSendsRef.current.filter((entry) => entry.sessionId !== active.id);
264506
+ }
264503
264507
  setQueueFlushTrigger((prev) => prev + 1);
264504
264508
  const activeSession2 = registry2.getActiveSession();
264505
264509
  if (activeSession2) {
@@ -264520,6 +264524,8 @@ function App2({ cwd: cwd2, version: version4 }) {
264520
264524
  const active = registryRef.current.getActiveSession();
264521
264525
  if (active) {
264522
264526
  registryRef.current.setProcessing(active.id, false);
264527
+ setInlinePending((prev) => prev.filter((msg) => msg.sessionId !== active.id));
264528
+ pendingSendsRef.current = pendingSendsRef.current.filter((entry) => entry.sessionId !== active.id);
264523
264529
  }
264524
264530
  resetTurnState();
264525
264531
  }
@@ -268080,7 +268086,7 @@ Interactive Mode:
268080
268086
  // packages/terminal/src/index.tsx
268081
268087
  var jsx_dev_runtime51 = __toESM(require_jsx_dev_runtime(), 1);
268082
268088
  setRuntime(bunRuntime);
268083
- var VERSION4 = "1.1.43";
268089
+ var VERSION4 = "1.1.44";
268084
268090
  var SYNC_START = "\x1B[?2026h";
268085
268091
  var SYNC_END = "\x1B[?2026l";
268086
268092
  function enableSynchronizedOutput() {
@@ -268199,4 +268205,4 @@ export {
268199
268205
  main
268200
268206
  };
268201
268207
 
268202
- //# debugId=D98E43D5A174BDCD64756E2164756E21
268208
+ //# debugId=EBB230D37184444F64756E2164756E21