This document lists the default settings applied when no custom configuration is provided. Values come from DEFAULT_CONFIG in src/utils/config.ts and are merged with any user-provided configuration at startup.
maxOutputLines: 20enableTruncation: truetruncationMessage:[Output truncated: Showing last {returnedLines} of {totalLines} lines]maxStoredLogs: 50maxLogSize: 1,048,576 bytes (1 MB)maxTotalStorageSize: 52,428,800 bytes (50 MB in-memory buffer)enableLogResources: truelogRetentionMinutes: 1,440 minutes (24 hours)cleanupIntervalMinutes: 5 minuteslogDirectory: undefined (in-memory only unless set)logRetentionDays: not set by default (minutes-based retention remains active)maxTotalLogSize: 104,857,600 bytes (100 MB on-disk limit)maxReturnLines: 500maxReturnBytes: 1,048,576 bytes (1 MB retrieval cap)exposeFullPath: false--debugflag: if provided at startup andlogDirectoryis unset, logs are written to<temp>/wcli0-debug-logs
maxCommandLength: 2000 characterscommandTimeout: 30 secondsenableInjectionProtection: truerestrictWorkingDirectory: true
blockedCommands:format,shutdown,restart,reg,regedit,net,netsh,takeown,icaclsblockedArguments:--exec,-e,/c,-enc,-encodedcommand,-command,--interactive,-i,--login,--systemblockedOperators:&,|,;,`
allowedPaths: [] (empty list)initialDir: undefined
-
PowerShell
- Enabled: true
- Command:
powershell.exe - Args:
-NoProfile,-NonInteractive,-Command - Path validation: Windows drive paths (
^[a-zA-Z]:\\)
-
CMD
- Enabled: true
- Command:
cmd.exe - Args:
/c - Path validation: Windows drive paths (
^[a-zA-Z]:\\) - Overrides: blocks
del,rd,rmdir
-
Git Bash
- Enabled: true
- Command:
C:\\Program Files\\Git\\bin\\bash.exe - Args:
-c - Path validation: Windows drives or
/c/style (^([a-zA-Z]:\\|/[a-z]/)) paths - Overrides: blocks
rm
-
Bash
- Enabled: true
- Command:
bash - Args:
-c - Path validation:
/mnt/<drive>/or POSIX root paths - WSL config: mount point
/mnt/, inherits global allowed paths
-
WSL
- Enabled: true
- Command:
wsl.exe - Args:
-e - Path validation:
/mnt/<drive>/or POSIX root paths - WSL config: mount point
/mnt/, inherits global allowed paths