just-bash 1.5.4 → 2.1.0
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/README.md +11 -9
- package/dist/AGENTS.md +139 -76
- package/dist/bin/chunks/chunk-WEONT2KP.js +6 -0
- package/dist/bin/chunks/jq-DT3MD2GZ.js +16 -0
- package/dist/bin/chunks/yq-XRJR6BNP.js +304 -0
- package/dist/bin/just-bash.js +38 -38
- package/dist/bin/shell/chunks/chunk-WEONT2KP.js +6 -0
- package/dist/bin/shell/chunks/jq-DT3MD2GZ.js +16 -0
- package/dist/bin/shell/chunks/yq-XRJR6BNP.js +304 -0
- package/dist/bin/shell/shell.js +54 -54
- package/dist/browser.d.ts +22 -0
- package/dist/bundle/{ai/index.js → browser.js} +310 -314
- package/dist/bundle/chunks/chunk-OQ2MSNPG.js +5 -0
- package/dist/bundle/chunks/jq-NZZAXGBX.js +15 -0
- package/dist/bundle/chunks/yq-63LJU3AR.js +303 -0
- package/dist/bundle/index.js +35 -35
- package/dist/commands/query-engine/evaluator.d.ts +25 -0
- package/dist/commands/query-engine/index.d.ts +8 -0
- package/dist/commands/{jq → query-engine}/parser.d.ts +3 -2
- package/dist/commands/registry.d.ts +1 -1
- package/dist/commands/yq/formats.d.ts +64 -0
- package/dist/commands/yq/yq.d.ts +11 -0
- package/package.json +16 -23
- package/dist/ai/index.d.ts +0 -66
- package/dist/bin/chunks/jq-TRAUXD47.js +0 -19
- package/dist/bin/shell/chunks/jq-TRAUXD47.js +0 -19
- package/dist/bundle/chunks/jq-PO3DWIV2.js +0 -18
- package/dist/commands/jq/evaluator.d.ts +0 -18
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Browser-compatible entry point for just-bash.
|
|
3
|
+
*
|
|
4
|
+
* Excludes Node.js-specific modules:
|
|
5
|
+
* - OverlayFs (requires node:fs)
|
|
6
|
+
* - ReadWriteFs (requires node:fs)
|
|
7
|
+
* - Sandbox (uses OverlayFs)
|
|
8
|
+
*
|
|
9
|
+
* Note: The gzip/gunzip/zcat commands will fail at runtime in browsers
|
|
10
|
+
* since they use node:zlib. All other commands work.
|
|
11
|
+
*/
|
|
12
|
+
export type { BashLogger, BashOptions, ExecOptions } from "./Bash.js";
|
|
13
|
+
export { Bash } from "./Bash.js";
|
|
14
|
+
export type { AllCommandName, CommandName, NetworkCommandName, } from "./commands/registry.js";
|
|
15
|
+
export { getCommandNames, getNetworkCommandNames, } from "./commands/registry.js";
|
|
16
|
+
export type { CustomCommand, LazyCommand } from "./custom-commands.js";
|
|
17
|
+
export { defineCommand } from "./custom-commands.js";
|
|
18
|
+
export { InMemoryFs } from "./fs/in-memory-fs/index.js";
|
|
19
|
+
export type { BufferEncoding, CpOptions, DirectoryEntry, FileContent, FileEntry, FileInit, FileSystemFactory, FsEntry, FsStat, InitialFiles, MkdirOptions, RmOptions, SymlinkEntry, } from "./fs/interface.js";
|
|
20
|
+
export type { NetworkConfig } from "./network/index.js";
|
|
21
|
+
export { NetworkAccessDeniedError, RedirectNotAllowedError, TooManyRedirectsError, } from "./network/index.js";
|
|
22
|
+
export type { BashExecResult, Command, CommandContext, ExecResult, IFileSystem, } from "./types.js";
|