@poe-platform/safe-bash 0.1.787 → 0.1.788
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/safe-bash/command-chunks/{chunk-WVWWRMFD.js → chunk-3KROFHBT.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-IFUNAM4D.js → chunk-5L62A5RO.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-NSEUBSOD.js → chunk-CXMOCPPH.js} +2 -2
- package/dist/safe-bash/command-chunks/{chunk-3JS4FOLB.js → chunk-HETU7MYN.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-Z47EO74H.js → chunk-MYKK3Q5G.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-GZOUGVVV.js → chunk-OYZ534IK.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-BUKYQBXO.js → chunk-RTOJNFFL.js} +8 -8
- package/dist/safe-bash/command-chunks/{chunk-TFZEYNMX.js → chunk-VQLFJCG7.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-BIXN77VL.js → chunk-VUG324ER.js} +10 -0
- package/dist/safe-bash/command-chunks/{chunk-DREUDEQG.js → chunk-YNT4ZJHW.js} +1 -1
- package/dist/safe-bash-mcp/index.browser.d.ts +875 -0
- package/dist/safe-bash-mcp/index.browser.js +8740 -0
- package/dist/safe-bash-mcp/index.js +32 -31
- package/dist/safe-bash-query-engine/capture.js +3 -3
- package/dist/safe-bash-query-engine/delpaths.js +3 -3
- package/dist/safe-bash-query-engine/formats.js +2 -2
- package/dist/safe-bash-query-engine/index.js +10 -10
- package/dist/safe-bash-query-engine/indices.js +3 -3
- package/dist/safe-bash-query-engine/input.js +1 -1
- package/dist/safe-bash-query-engine/interpreter.js +9 -9
- package/dist/safe-bash-query-engine/query-core.js +10 -10
- package/dist/safe-bash-query-engine/regex.js +3 -3
- package/dist/safe-bash-query-engine/splits.js +4 -4
- package/dist/safe-bash-query-engine/values.js +2 -2
- package/package.json +9 -3
|
@@ -3,23 +3,23 @@ import {
|
|
|
3
3
|
} from "./chunk-5PM5TEPM.js";
|
|
4
4
|
import {
|
|
5
5
|
splitRegex
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-CXMOCPPH.js";
|
|
7
7
|
import {
|
|
8
8
|
scanRegex,
|
|
9
9
|
substituteRegex
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-3KROFHBT.js";
|
|
11
11
|
import {
|
|
12
12
|
delpaths
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-VQLFJCG7.js";
|
|
14
14
|
import {
|
|
15
15
|
formatValue
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-HETU7MYN.js";
|
|
17
17
|
import {
|
|
18
18
|
indices
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-MYKK3Q5G.js";
|
|
20
20
|
import {
|
|
21
21
|
capture
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-OYZ534IK.js";
|
|
23
23
|
import {
|
|
24
24
|
binary,
|
|
25
25
|
compare,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
sortedKeys,
|
|
34
34
|
stableSort,
|
|
35
35
|
type
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-5L62A5RO.js";
|
|
37
37
|
import {
|
|
38
38
|
splitString
|
|
39
39
|
} from "./chunk-NYUMOVF2.js";
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
measureValue,
|
|
43
43
|
parseJson,
|
|
44
44
|
stringify
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-VUG324ER.js";
|
|
46
46
|
import {
|
|
47
47
|
fromDateIso8601,
|
|
48
48
|
toDateIso8601
|
|
@@ -791,6 +791,11 @@ async function* readChunks(source, budget) {
|
|
|
791
791
|
if (_p)
|
|
792
792
|
await _p;
|
|
793
793
|
}
|
|
794
|
+
if (chunk.byteLength === 0) {
|
|
795
|
+
const pending = budget.ensureFreshWindow();
|
|
796
|
+
if (pending)
|
|
797
|
+
await pending;
|
|
798
|
+
}
|
|
794
799
|
budget.inputBytes += chunk.byteLength;
|
|
795
800
|
if (budget.inputBytes > budget.limits.maxInputBytes)
|
|
796
801
|
throw new JqLimitError("maxInputBytes");
|
|
@@ -1211,6 +1216,11 @@ async function* jsonValues(source, budget, options = {}) {
|
|
|
1211
1216
|
break;
|
|
1212
1217
|
}
|
|
1213
1218
|
const rawChunk = res.value;
|
|
1219
|
+
if (rawChunk.byteLength === 0) {
|
|
1220
|
+
const pending = budget.ensureFreshWindow();
|
|
1221
|
+
if (pending)
|
|
1222
|
+
await pending;
|
|
1223
|
+
}
|
|
1214
1224
|
const pt = budget.tickSync();
|
|
1215
1225
|
if (pt)
|
|
1216
1226
|
await pt;
|