motifcode 0.4.2 → 0.4.3
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/build-info.json +2 -2
- package/dist/motif.js +5 -4
- package/package.json +1 -1
package/dist/build-info.json
CHANGED
package/dist/motif.js
CHANGED
|
@@ -48914,12 +48914,13 @@ var LoopGuard = class _LoopGuard {
|
|
|
48914
48914
|
return actions.map((a) => `${a.name}(${JSON.stringify(a.arguments)})`).join("|");
|
|
48915
48915
|
}
|
|
48916
48916
|
observe(signature, output) {
|
|
48917
|
-
|
|
48917
|
+
const sameOutput = output === this.lastOutput;
|
|
48918
|
+
if (signature !== "" && signature === this.lastSignature && sameOutput) this.repeats++;
|
|
48918
48919
|
else {
|
|
48919
48920
|
this.lastSignature = signature;
|
|
48920
48921
|
this.repeats = 1;
|
|
48921
48922
|
}
|
|
48922
|
-
if (
|
|
48923
|
+
if (sameOutput && output !== "") this.stalls++;
|
|
48923
48924
|
else {
|
|
48924
48925
|
this.lastOutput = output;
|
|
48925
48926
|
this.stalls = 0;
|
|
@@ -58554,7 +58555,7 @@ var Chat = class {
|
|
|
58554
58555
|
break;
|
|
58555
58556
|
}
|
|
58556
58557
|
if (key.type !== "ctrl" || key.key !== "c") this.ctrlCArmedAt = 0;
|
|
58557
|
-
this.refresh();
|
|
58558
|
+
if (!this.quitting) this.refresh();
|
|
58558
58559
|
}
|
|
58559
58560
|
onControl(letter) {
|
|
58560
58561
|
switch (letter) {
|
|
@@ -62663,7 +62664,7 @@ function pluginConnectionUi(signal) {
|
|
|
62663
62664
|
}
|
|
62664
62665
|
|
|
62665
62666
|
// packages/cli/src/main.ts
|
|
62666
|
-
var VERSION = "0.4.
|
|
62667
|
+
var VERSION = "0.4.3";
|
|
62667
62668
|
var SHORT_FLAGS = { p: "print", c: "continue", i: "interactive", v: "verbose", h: "help" };
|
|
62668
62669
|
var BOOLEAN_FLAGS = /* @__PURE__ */ new Set([
|
|
62669
62670
|
"print",
|