openmates 0.27.0-alpha.30 → 0.27.0-alpha.31
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/{chunk-FRFIWC3S.js → chunk-DOBXL5VD.js} +21 -7
- package/dist/cli.js +1 -1
- package/dist/index.js +1 -1
- package/fixtures/privacy-runtime/linux-arm64/libggml-base.so +0 -0
- package/fixtures/privacy-runtime/linux-arm64/libggml-base.so.0 +0 -0
- package/fixtures/privacy-runtime/linux-arm64/libggml-base.so.0.15.1 +0 -0
- package/fixtures/privacy-runtime/linux-arm64/libggml-cpu.so +0 -0
- package/fixtures/privacy-runtime/linux-arm64/libggml-cpu.so.0 +0 -0
- package/fixtures/privacy-runtime/linux-arm64/libggml-cpu.so.0.15.1 +0 -0
- package/fixtures/privacy-runtime/linux-arm64/libggml.so +0 -0
- package/fixtures/privacy-runtime/linux-arm64/libggml.so.0 +0 -0
- package/fixtures/privacy-runtime/linux-arm64/libggml.so.0.15.1 +0 -0
- package/fixtures/privacy-runtime/linux-arm64/manifest.json +9 -9
- package/package.json +1 -1
|
@@ -92620,18 +92620,32 @@ async function runTui(client2, terminal = new TuiTerminal(), startupServices) {
|
|
|
92620
92620
|
});
|
|
92621
92621
|
terminal.enter();
|
|
92622
92622
|
terminal.onResize(render);
|
|
92623
|
+
let keyQueue = Promise.resolve();
|
|
92624
|
+
let inputEpoch = 0;
|
|
92625
|
+
const keyError = (error) => {
|
|
92626
|
+
state.status = error instanceof Error ? error.message : String(error);
|
|
92627
|
+
render();
|
|
92628
|
+
};
|
|
92629
|
+
const dispatchKey = async (chunk, key, epoch) => {
|
|
92630
|
+
if (closed || epoch !== inputEpoch) return;
|
|
92631
|
+
if (await startup.handleKey(chunk, key)) return;
|
|
92632
|
+
const action = handleKey({ chunk, key, state, client: client2, terminal, render, finish });
|
|
92633
|
+
if (key.name === "return" && !key.meta) void action.catch(keyError);
|
|
92634
|
+
else await action;
|
|
92635
|
+
};
|
|
92623
92636
|
terminal.onKey((chunk, key) => {
|
|
92624
92637
|
if (key.ctrl && key.name === "c") {
|
|
92625
92638
|
finish({ action: "exit" });
|
|
92626
92639
|
return;
|
|
92627
92640
|
}
|
|
92628
|
-
|
|
92629
|
-
|
|
92630
|
-
|
|
92631
|
-
|
|
92632
|
-
|
|
92633
|
-
|
|
92634
|
-
|
|
92641
|
+
if (key.name === "escape") {
|
|
92642
|
+
++inputEpoch;
|
|
92643
|
+
keyQueue = Promise.resolve();
|
|
92644
|
+
void dispatchKey(chunk, key, inputEpoch).catch(keyError);
|
|
92645
|
+
return;
|
|
92646
|
+
}
|
|
92647
|
+
const epoch = inputEpoch;
|
|
92648
|
+
keyQueue = keyQueue.then(() => dispatchKey(chunk, key, epoch)).catch(keyError);
|
|
92635
92649
|
});
|
|
92636
92650
|
void startup.start();
|
|
92637
92651
|
return result;
|
package/dist/cli.js
CHANGED
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
shouldRequireTrustedAccountGuard,
|
|
22
22
|
waitForSafeE2ETotpWindow,
|
|
23
23
|
waitForWorkflowRun
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-DOBXL5VD.js";
|
|
25
25
|
import "./chunk-USORGU2X.js";
|
|
26
26
|
import "./chunk-IWKP55ZB.js";
|
|
27
27
|
import "./chunk-4IRYB3YN.js";
|
package/dist/index.js
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -17,47 +17,47 @@
|
|
|
17
17
|
{
|
|
18
18
|
"name": "libggml-base.so",
|
|
19
19
|
"bytes": 1110088,
|
|
20
|
-
"sha256": "
|
|
20
|
+
"sha256": "4e08a362dae9a5a30a3721116b607e79aa4859212794d73d537f91a3cef85aec"
|
|
21
21
|
},
|
|
22
22
|
{
|
|
23
23
|
"name": "libggml-base.so.0",
|
|
24
24
|
"bytes": 1110088,
|
|
25
|
-
"sha256": "
|
|
25
|
+
"sha256": "4e08a362dae9a5a30a3721116b607e79aa4859212794d73d537f91a3cef85aec"
|
|
26
26
|
},
|
|
27
27
|
{
|
|
28
28
|
"name": "libggml-base.so.0.15.1",
|
|
29
29
|
"bytes": 1110088,
|
|
30
|
-
"sha256": "
|
|
30
|
+
"sha256": "4e08a362dae9a5a30a3721116b607e79aa4859212794d73d537f91a3cef85aec"
|
|
31
31
|
},
|
|
32
32
|
{
|
|
33
33
|
"name": "libggml-cpu.so",
|
|
34
34
|
"bytes": 869800,
|
|
35
|
-
"sha256": "
|
|
35
|
+
"sha256": "da19d06e71879901263012ff28be1f75672d4948857d2e18a1f7bd0ade14bf47"
|
|
36
36
|
},
|
|
37
37
|
{
|
|
38
38
|
"name": "libggml-cpu.so.0",
|
|
39
39
|
"bytes": 869800,
|
|
40
|
-
"sha256": "
|
|
40
|
+
"sha256": "da19d06e71879901263012ff28be1f75672d4948857d2e18a1f7bd0ade14bf47"
|
|
41
41
|
},
|
|
42
42
|
{
|
|
43
43
|
"name": "libggml-cpu.so.0.15.1",
|
|
44
44
|
"bytes": 869800,
|
|
45
|
-
"sha256": "
|
|
45
|
+
"sha256": "da19d06e71879901263012ff28be1f75672d4948857d2e18a1f7bd0ade14bf47"
|
|
46
46
|
},
|
|
47
47
|
{
|
|
48
48
|
"name": "libggml.so",
|
|
49
49
|
"bytes": 1899104,
|
|
50
|
-
"sha256": "
|
|
50
|
+
"sha256": "cd380e037175e0fbffb205070fa3a243df610e76939dbd4e4f9c277ae4c5d112"
|
|
51
51
|
},
|
|
52
52
|
{
|
|
53
53
|
"name": "libggml.so.0",
|
|
54
54
|
"bytes": 1899104,
|
|
55
|
-
"sha256": "
|
|
55
|
+
"sha256": "cd380e037175e0fbffb205070fa3a243df610e76939dbd4e4f9c277ae4c5d112"
|
|
56
56
|
},
|
|
57
57
|
{
|
|
58
58
|
"name": "libggml.so.0.15.1",
|
|
59
59
|
"bytes": 1899104,
|
|
60
|
-
"sha256": "
|
|
60
|
+
"sha256": "cd380e037175e0fbffb205070fa3a243df610e76939dbd4e4f9c277ae4c5d112"
|
|
61
61
|
},
|
|
62
62
|
{
|
|
63
63
|
"name": "openmates-pii-worker",
|