feat: add bash mode for running local shell commands (#344)

Co-authored-by: Letta <noreply@letta.com>
This commit is contained in:
Charles Packer
2025-12-22 10:12:39 -08:00
committed by GitHub
parent e9a8054aba
commit 7c7daae4fd
8 changed files with 323 additions and 11 deletions

View File

@@ -59,8 +59,9 @@ function getShellConfig(): {
/**
* Execute a command using spawn with explicit shell.
* This avoids the double-shell parsing that exec() does.
* Exported for use by bash mode in the CLI.
*/
function spawnCommand(
export function spawnCommand(
command: string,
options: {
cwd: string;