PsBash.psd1

#
# Module manifest for module 'PsBash'
#
# Generated by: Andy Brummer
#
# Generated on: 04/02/2026
#

@{

# Script module or binary module file associated with this manifest.
RootModule = 'PsBash.psm1'

# Version number of this module.
ModuleVersion = '0.10.16'


# ID used to uniquely identify this module
GUID = 'a1b2c3d4-e5f6-7890-abcd-ef1234567890'

# Author of this module
Author = 'Andy Brummer'

# Company or vendor of this module
CompanyName = 'Unknown'

# Copyright statement for this module
Copyright = '(c) Andy Brummer. All rights reserved.'

# Description of the functionality provided by this module
Description = 'Real bash commands for PowerShell with typed objects. 76 commands (ls, grep, sort, awk, sed, jq, find, ps, du, tar, etc.) that accept real bash flags and return structured PowerShell objects while producing identical text output. Pipeline bridge pattern preserves typed objects through grep, sort, head, tail.'

# Supported PSEditions
CompatiblePSEditions = 'Core'

# Minimum version of the PowerShell engine required by this module
PowerShellVersion = '7.0'

# Name of the PowerShell host required by this module
# PowerShellHostName = ''

# Minimum version of the PowerShell host required by this module
# PowerShellHostVersion = ''

# Minimum version of Microsoft .NET Framework required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
# DotNetFrameworkVersion = ''

# Minimum version of the common language runtime (CLR) required by this module. This prerequisite is valid for the PowerShell Desktop edition only.
# ClrVersion = ''

# Processor architecture (None, X86, Amd64) required by this module
# ProcessorArchitecture = ''

# Modules that must be imported into the global environment prior to importing this module
# RequiredModules = @()

# Assemblies that must be loaded prior to importing this module
# RequiredAssemblies = @()

# Script files (.ps1) that are run in the caller's environment prior to importing this module.
# ScriptsToProcess = @()

# Type files (.ps1xml) to be loaded when importing this module
# TypesToProcess = @()

# Format files (.ps1xml) to be loaded when importing this module
FormatsToProcess = 'PsBash.Format.ps1xml'

# Modules to import as nested modules of the module specified in RootModule/ModuleToProcess
# NestedModules = @()

# Functions to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no functions to export.
FunctionsToExport = @(
    'Compare-Version',
    'Complete-BashBgJob',
    'ConvertFrom-BashArgs',
    'ConvertFrom-HumanNumeric',
    'ConvertFrom-MonthName',
    'ConvertFrom-SimpleYaml',
    'ConvertFrom-YamlValue',
    'ConvertTo-BrowseRow',
    'ConvertTo-JqJson',
    'ConvertTo-PermissionString',
    'ConvertTo-SimpleYaml',
    'Disable-BashHookPrompt',
    'Emit-BashLine',
    'Enable-BashHookPrompt',
    'Expand-EscapeSequences',
    'Find-JqBranchKeyword',
    'Find-JqKeyword',
    'Find-JqTopLevelChar',
    'Find-JqTopLevelStr',
    'Format-BashDate',
    'Format-BashSize',
    'Format-LsGrid',
    'Format-LsLine',
    'Format-PsAuxLine',
    'Format-PsCustomLine',
    'Get-BashBgRunspacePool',
    'Get-BashFileInfo',
    'Get-BashItem',
    'Get-BashLsProviderEntries',
    'Get-BashPlatform',
    'Get-BashText',
    'Get-BrowseDisplayProperties',
    'Get-BrowseTargetText',
    'Get-DotNetProcEntry',
    'Get-JqMatchingBracket',
    'Get-LinuxProcEntry',
    'Get-LsDisplayName',
    'Get-LsEntryFromFsi',
    'Get-LsEntryFromPsItem',
    'Initialize-BrowseAdapters',
    'Invoke-BashBackground',
    'Invoke-BashBg',
    'Invoke-BashEcho',
    'Invoke-BashFg',
    'Invoke-BashJobs',
    'Invoke-BashKill',
    'Invoke-BashRedirect',
    # Wrapper: normalizes 'sed -e A -e B' to '-e @(A,B)' so the underlying
    # binary cmdlet's array Expression parameter accepts repeated -e.
    'Invoke-BashSed',
    'Invoke-BashWait',
    'Invoke-BrowseAction',
    'Invoke-BrowseCommand',
    'Invoke-BrowseInteractive',
    'Invoke-JqFilter',
    'Invoke-JqIf',
    'Invoke-JqRecurse',
    'Invoke-JqSelect',
    'Invoke-ProcessSub',
    'Invoke-ProcessSubPipeline',
    'Invoke-ProcessSubString',
    'New-BashObject',
    'New-BrowseAction',
    'New-BrowseAdapter',
    'New-BrowseBinding',
    'New-BrowseSafetyPreview',
    'Register-BrowseAdapter',
    'Get-BrowseAdapter',
    'Unregister-BrowseAdapter',
    'New-FlagDefs',
    'Open-BashFileReader',
    'Read-BashFileBytes',
    'Read-BashFileLines',
    'Read-BashFileRaw',
    'Read-BashFileStreaming',
    'Register-BashCompletions',
    'Register-BashLsProvider',
    'Resolve-BashGlob',
    'Resolve-BrowseAdapter',
    'Resolve-JqDotPath',
    'Resolve-JqStringInterpolation',
    'Set-BashDisplayProperty',
    'Set-BashErrorMode',
    'Show-BashHelp',
    'Split-JqComma',
    'Split-JqPipe',
    'Test-BashCondition',
    'Test-BashHelpFlag',
    'Test-BrowseCommandRequiresConfirmation',
    'Write-BashError',
    'Write-BashFileRaw',
    'Write-BashFileText',
    'Write-BashHostStderr'
)


# Cmdlets to export from this module. The psm1 imports PsBash.Cmdlets.dll
# via -Global; its exported cmdlets propagate to this module's session state
# and need to be re-exported through this entry to be Get-Command-resolvable.
# Wildcard form keeps the manifest in sync with the binary surface without a
# per-cmdlet list duplicating PsBash.Cmdlets.psd1.
CmdletsToExport = '*'

# Variables to export from this module
# VariablesToExport = @()

# Aliases to export from this module, for best performance, do not use wildcards and do not delete the entry, use an empty array if there are no aliases to export.
AliasesToExport = 'echo', 'printf', 'ls', 'cat', 'grep', 'sort', 'head', 'tail', 'wc', 'find', 'stat',
               'cp', 'mv', 'rm', 'mkdir', 'rmdir', 'touch', 'ln', 'ps', 'sed', 'awk',
               'cut', 'tr', 'uniq', 'rev', 'nl',
               'diff', 'comm', 'column', 'join', 'paste',
               'tee', 'xargs', 'jq',
               'date', 'seq', 'expr',
               'du', 'tree',
               'env', 'printenv', 'basename', 'dirname', 'pwd', 'hostname', 'whoami', 'uname',
               'fold', 'expand', 'unexpand', 'strings', 'split', 'tac',
               'base64', 'md5sum', 'sha1sum', 'sha256sum', 'file',
               'rg',
               'gzip', 'gunzip', 'zcat', 'tar',
               'yq', 'xan',
                'sleep', 'time', 'which', 'unalias',
                  'readlink', 'mktemp', 'type', 'bash',
                'wait', 'jobs', 'fg', 'bg',
                'shift', 'realpath', 'command', 'source', 'unset',
                'pushd', 'popd', 'dirs',
                'yes', 'tput', 'shopt',
                # NB: the '[' alias (the bash `test` builtin) is intentionally NOT
                # listed here. A bare '[' is an invalid wildcard pattern that breaks
                # Test-ModuleManifest and Publish-Module ("wildcard character pattern
                # is not valid: ["). The psm1 registers '[' via a global AllScope
                # Set-Alias on import, so the command is still available to users.
                'kill', 'test', 'let', 'id', 'shuf', 'balias',
                'install', 'browse', 'more', 'less',
                'trap', 'alias', 'mapfile', 'readarray',
                'ping', 'tracert', 'traceroute'

# DSC resources to export from this module
# DscResourcesToExport = @()

# List of all modules packaged with this module
# ModuleList = @()

# List of all files packaged with this module
# FileList = @()

# Private data to pass to the module specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional module metadata used by PowerShell.
PrivateData = @{

    PSData = @{

        Tags = @('bash', 'linux', 'cross-platform', 'cli', 'grep', 'awk', 'sed', 'jq',
                 'pipeline', 'typed-objects', 'powershell-module', 'devops', 'unix',
                 'shell', 'commands', 'windows', 'macos', 'PSEdition_Core')

        LicenseUri = 'https://github.com/standardbeagle/ps-bash/blob/main/LICENSE'

        ProjectUri = 'https://github.com/standardbeagle/ps-bash'

        # ReleaseNotes of this module
        ReleaseNotes = 'v0.10.16: Transpiler & host robustness — ${VAR:-WORD} recursively transpiles its WORD argument, the Claude Code rg-shim startup snapshot parses to valid PowerShell, the AOT /warnaserror build is null-guarded, the host no longer crashes on a sidecar write race, the IPC connect/command/exit path is streamlined under heavy load, plus Register-BrowseAdapter and a ps-aux error-spam fix. v0.10.15: bash-semantics parity — faithful Int64 $(( )) / (( )) evaluator, printf %c/%f and trailing-newline fixes, ${!arr[@]} indices/keys (no empty-array crash), quoted "${arr[@]}" per-element for-in, read -ra / IFS, test bare-literal quoting, GNU xargs whitespace split. v0.10.14: coreutils flag-coverage — full gzip/tar flags within .NET limits (refuses bzip2/xz/zstd/compress, even bundled), unsupported-flag classifier for find + cp/mv/rm/mkdir/rmdir, tee --append, many long-form aliases, sort -g, du --exclude=GLOB. v0.10.13: tar/gzip/sed/jq engine hardening — tar path-traversal (Zip-Slip) refused, tar --exclude is an fnmatch glob, sed occurrence/=/Q/negation/step-address support, jq // streaming and Cartesian object construction. v0.10.12: per-session host daemon fixes multi-agent contention stalls; command-position path tokens (./script, ~/x) do filename completion. v0.10.11: jq operator set (sort/unique/group_by/@csv/…) and arithmetic; printf format-recycling publish fix. v0.10.10: flag-coverage sweep across ~25 commands plus destructive-behavior fixes (kill -0 probe, cut open ranges, env NAME=VAL cmd, cp -p). v0.10.9: interactive shell — cd -, history expansion (!!/!n/!str/^old^new), ln -sf safety, awk file operands, kill named signals, recompiled-host replaces stale daemon. v0.10.8: robustness + interactive perf — async keystroke prediction, transpile cache, if/while test exit-code, while-read piping, read-only attribute clearing, grep --include/--exclude. Full version history with complete per-release detail: CHANGELOG.md in the repo and https://github.com/standardbeagle/ps-bash/releases'

    } # End of PSData hashtable

} # End of PrivateData hashtable

# HelpInfo URI of this module
# HelpInfoURI = ''

# Default prefix for commands exported from this module. Override the default prefix using Import-Module -Prefix.
# DefaultCommandPrefix = ''

}