@poe-platform/safe-bash 0.1.801 → 0.1.802
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/image-ast/index.browser.js +3 -1
- package/dist/image-ast/index.js +3 -1
- package/dist/safe-bash/chunks/chunk-3HQU4OJO.js +13 -0
- package/dist/safe-bash/chunks/{chunk-SZH7EJLD.js → chunk-44ALJ4QG.js} +5461 -6495
- package/dist/safe-bash/chunks/chunk-4BSJLKNM.js +14 -0
- package/dist/safe-bash/chunks/chunk-4D4N7IU2.js +47 -0
- package/dist/safe-bash/chunks/chunk-55YJASTN.js +14 -0
- package/dist/safe-bash/chunks/chunk-7ZBU7KYV.js +14 -0
- package/dist/safe-bash/chunks/chunk-DQP3VHSB.js +15 -0
- package/dist/safe-bash/chunks/chunk-FZE4HW6G.js +11 -0
- package/dist/safe-bash/chunks/chunk-GEG3BWGE.js +14 -0
- package/dist/safe-bash/chunks/{chunk-45PK3NWI.js → chunk-GETUOD5D.js} +1 -1
- package/dist/safe-bash/chunks/chunk-HBCN24ZA.js +50 -0
- package/dist/safe-bash/chunks/chunk-HZ7BWKQ3.js +13 -0
- package/dist/safe-bash/chunks/{chunk-ICFDYV64.js → chunk-HZAMGT5I.js} +2 -2
- package/dist/safe-bash/chunks/chunk-KDNSPLII.js +83 -0
- package/dist/safe-bash/chunks/{chunk-PQRAK7HU.js → chunk-NQCM3TYR.js} +238 -462
- package/dist/safe-bash/chunks/{chunk-IVRQ4BXL.js → chunk-PH63PLPZ.js} +7 -7
- package/dist/safe-bash/chunks/chunk-QGUV42T5.js +44 -0
- package/dist/safe-bash/chunks/chunk-R3NAKOED.js +51 -0
- package/dist/safe-bash/chunks/chunk-RRR7AQ24.js +38 -0
- package/dist/safe-bash/chunks/{chunk-FNDNHAGE.js → chunk-RSTHLAF3.js} +1 -1
- package/dist/safe-bash/chunks/{chunk-7VNF5BFF.js → chunk-SHEMU2Z7.js} +83 -416
- package/dist/safe-bash/chunks/{chunk-NR3EM4LS.js → chunk-VKNVHEX3.js} +1 -6
- package/dist/safe-bash/chunks/chunk-VSAJ4OTM.js +962 -0
- package/dist/safe-bash/chunks/{chunk-VQDD3G76.js → chunk-WDLGKIHD.js} +19 -19
- package/dist/safe-bash/chunks/chunk-XAQMU6OY.js +14 -0
- package/dist/safe-bash/chunks/chunk-ZVD5IS4V.js +49 -0
- package/dist/safe-bash/command-chunks/{chunk-PCEFOYA3.js → chunk-6GWJUQAV.js} +3 -3
- package/dist/safe-bash/command-chunks/{chunk-EFANWIHL.js → chunk-GY3BWK7K.js} +1 -0
- package/dist/safe-bash/command-chunks/{chunk-WBNZ4PRE.js → chunk-NGG2XL56.js} +7 -4
- package/dist/safe-bash/command-chunks/{chunk-GLOZX57Y.js → chunk-OQKC5ZU2.js} +23 -114
- package/dist/safe-bash/command-chunks/{chunk-CZ7EN3JG.js → chunk-VT6MJBEI.js} +1 -1
- package/dist/safe-bash/command-chunks/{chunk-F6OYH562.js → chunk-X54L3DBL.js} +4 -9
- package/dist/safe-bash/command-chunks/{chunk-TNOA7FCQ.js → chunk-YVNGTIJO.js} +1 -1
- package/dist/safe-bash/commands/apply-patch/index.browser.js +14 -0
- package/dist/safe-bash/commands/archive/index.browser.js +36 -0
- package/dist/safe-bash/commands/column/index.browser.js +12 -0
- package/dist/safe-bash/commands/du/index.browser.js +14 -0
- package/dist/safe-bash/commands/expr/index.browser.js +12 -0
- package/dist/safe-bash/commands/file/index.browser.js +14 -0
- package/dist/safe-bash/commands/filesystem.js +9 -2
- package/dist/safe-bash/commands/grep-aliases/index.browser.js +14 -0
- package/dist/safe-bash/commands/html-to-markdown/index.browser.js +16 -0
- package/dist/safe-bash/commands/metadata/index.browser.js +21 -0
- package/dist/safe-bash/commands/network/index.browser.js +1 -1
- package/dist/safe-bash/commands/node/index.browser.js +3 -3
- package/dist/safe-bash/commands/python/index.browser.js +8 -8
- package/dist/safe-bash/commands/regex-execution/public.browser.js +5 -3
- package/dist/safe-bash/commands/split/index.browser.js +14 -0
- package/dist/safe-bash/commands/stream-format/index.browser.js +11 -0
- package/dist/safe-bash/commands/stream-inspection/index.browser.js +11 -0
- package/dist/safe-bash/commands/streams.js +5 -5
- package/dist/safe-bash/commands/table-text/index.browser.js +11 -0
- package/dist/safe-bash/commands/text.js +2 -133
- package/dist/safe-bash/commands/time-env/index.browser.js +15 -0
- package/dist/safe-bash/commands/tree/index.browser.js +14 -0
- package/dist/safe-bash/full-core.browser.js +227 -218
- package/dist/safe-bash/jobs.browser.js +2 -2
- package/dist/safe-bash/optional-host.browser.js +8 -8
- package/dist/safe-bash/plugins/index.browser.js +23 -9
- package/dist/safe-bash/registry-entry.browser.js +23 -9
- package/dist/safe-bash/search.browser.js +48 -0
- package/dist/safe-bash/shell/runtime.d.ts +0 -9
- package/dist/safe-bash/shell/runtime.js +43 -308
- package/dist/safe-bash/shell/shell.js +0 -23
- package/dist/safe-bash/shell-entry.browser.js +19 -10
- package/dist/safe-bash-command-nl/index.js +1 -1
- package/dist/safe-bash-command-nl/nl.js +1 -1
- package/dist/safe-bash-command-rg/index.js +1 -1
- package/dist/safe-bash-command-rg/rg-command.d.ts +0 -1
- package/dist/safe-bash-command-rg/rg-command.js +3 -5
- package/dist/safe-bash-command-unexpand/index.js +1 -1
- package/dist/safe-bash-command-unexpand/unexpand.js +1 -1
- package/dist/safe-bash-mcp/index.js +3 -1
- package/dist/safe-bash-regex-engine/index.js +4 -4
- package/dist/safe-bash-regex-engine/text/budget.d.ts +0 -1
- package/dist/safe-bash-regex-engine/text/budget.js +1 -1
- package/dist/safe-bash-regex-engine/text/regex.js +4 -4
- package/dist/safe-bash-regex-engine/text/replacement-buffer.js +2 -2
- package/dist/safe-bash-regex-engine/text/rust-syntax.js +2 -2
- package/package.json +65 -10
- package/dist/safe-bash/chunks/{chunk-A7XEHALN.js → chunk-BJA5XNP6.js} +3 -3
|
@@ -59579,6 +59579,7 @@ var MemoryFileSystem = class _MemoryFileSystem {
|
|
|
59579
59579
|
}
|
|
59580
59580
|
replaceData(node, allocation, length = allocation.data.byteLength) {
|
|
59581
59581
|
const previous = node.allocation;
|
|
59582
|
+
node.sourceRef = void 0;
|
|
59582
59583
|
this.totalBytes += length - node.byteLength;
|
|
59583
59584
|
node.byteLength = length;
|
|
59584
59585
|
node.view = length === allocation.data.byteLength ? allocation.data : void 0;
|
|
@@ -60203,6 +60204,7 @@ var MemoryFileSystem = class _MemoryFileSystem {
|
|
|
60203
60204
|
node.byteLength = length;
|
|
60204
60205
|
node.view = length === allocation.data.byteLength ? allocation.data : void 0;
|
|
60205
60206
|
}
|
|
60207
|
+
node.sourceRef = void 0;
|
|
60206
60208
|
this.changed(node, now);
|
|
60207
60209
|
}
|
|
60208
60210
|
writeMemoryFileFast(path, data, append, mode) {
|
|
@@ -60415,6 +60417,7 @@ var MemoryFileSystem = class _MemoryFileSystem {
|
|
|
60415
60417
|
const entries2 = parent.entries;
|
|
60416
60418
|
const existing = nameHash !== void 0 ? entries2.getForWriteWithHash(name, nameHash) : entries2.getForWrite(name);
|
|
60417
60419
|
if (existing === void 0 && entries2._next < entries2._keys.length) {
|
|
60420
|
+
this.ledger.reserve(name.length * 2, 2, "writeFile", name);
|
|
60418
60421
|
const now = fastWriteCachedNow;
|
|
60419
60422
|
const length = data.byteLength;
|
|
60420
60423
|
const node = sharedFileNodePool[--sharedFileNodePoolLen];
|
|
@@ -60441,7 +60444,6 @@ var MemoryFileSystem = class _MemoryFileSystem {
|
|
|
60441
60444
|
entries2._vals[entryIdx] = node;
|
|
60442
60445
|
entries2.size++;
|
|
60443
60446
|
entries2._missKey = "";
|
|
60444
|
-
this.ledger.reserve(name.length * 2, 2, "writeFile", name);
|
|
60445
60447
|
this.totalBytes += length;
|
|
60446
60448
|
this.mutationTick = this.mutationTick + 1 | 0;
|
|
60447
60449
|
parent.revision = parent.revision < 1073741823 ? parent.revision + 1 | 0 : Math.min(Number.MAX_SAFE_INTEGER + 1, parent.revision + 1);
|
package/dist/image-ast/index.js
CHANGED
|
@@ -59579,6 +59579,7 @@ var MemoryFileSystem = class _MemoryFileSystem {
|
|
|
59579
59579
|
}
|
|
59580
59580
|
replaceData(node, allocation, length = allocation.data.byteLength) {
|
|
59581
59581
|
const previous = node.allocation;
|
|
59582
|
+
node.sourceRef = void 0;
|
|
59582
59583
|
this.totalBytes += length - node.byteLength;
|
|
59583
59584
|
node.byteLength = length;
|
|
59584
59585
|
node.view = length === allocation.data.byteLength ? allocation.data : void 0;
|
|
@@ -60203,6 +60204,7 @@ var MemoryFileSystem = class _MemoryFileSystem {
|
|
|
60203
60204
|
node.byteLength = length;
|
|
60204
60205
|
node.view = length === allocation.data.byteLength ? allocation.data : void 0;
|
|
60205
60206
|
}
|
|
60207
|
+
node.sourceRef = void 0;
|
|
60206
60208
|
this.changed(node, now);
|
|
60207
60209
|
}
|
|
60208
60210
|
writeMemoryFileFast(path, data, append, mode) {
|
|
@@ -60415,6 +60417,7 @@ var MemoryFileSystem = class _MemoryFileSystem {
|
|
|
60415
60417
|
const entries2 = parent.entries;
|
|
60416
60418
|
const existing = nameHash !== void 0 ? entries2.getForWriteWithHash(name, nameHash) : entries2.getForWrite(name);
|
|
60417
60419
|
if (existing === void 0 && entries2._next < entries2._keys.length) {
|
|
60420
|
+
this.ledger.reserve(name.length * 2, 2, "writeFile", name);
|
|
60418
60421
|
const now = fastWriteCachedNow;
|
|
60419
60422
|
const length = data.byteLength;
|
|
60420
60423
|
const node = sharedFileNodePool[--sharedFileNodePoolLen];
|
|
@@ -60441,7 +60444,6 @@ var MemoryFileSystem = class _MemoryFileSystem {
|
|
|
60441
60444
|
entries2._vals[entryIdx] = node;
|
|
60442
60445
|
entries2.size++;
|
|
60443
60446
|
entries2._missKey = "";
|
|
60444
|
-
this.ledger.reserve(name.length * 2, 2, "writeFile", name);
|
|
60445
60447
|
this.totalBytes += length;
|
|
60446
60448
|
this.mutationTick = this.mutationTick + 1 | 0;
|
|
60447
60449
|
parent.revision = parent.revision < 1073741823 ? parent.revision + 1 | 0 : Math.min(Number.MAX_SAFE_INTEGER + 1, parent.revision + 1);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import {
|
|
2
|
+
init_platform
|
|
3
|
+
} from "./chunk-B7TAL7S5.js";
|
|
4
|
+
|
|
5
|
+
// packages/safe-bash/src/commands/column/index.ts
|
|
6
|
+
init_platform();
|
|
7
|
+
import { columnCommands, createColumnCommand, createColumnCommands } from "../../safe-bash-command-column/index.js";
|
|
8
|
+
|
|
9
|
+
export {
|
|
10
|
+
columnCommands,
|
|
11
|
+
createColumnCommand,
|
|
12
|
+
createColumnCommands
|
|
13
|
+
};
|