justbash

package
v0.2.19 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 31, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package justbash runs the shell commands of agents that set shell: emulated in just-bash (https://github.com/vercel-labs/just-bash), through wrapper.ts run by Node.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Install

func Install(dir string) error

Install writes the wrapper into dir and installs its pinned just-bash with npm unless that version is already there.

func Shell

func Shell(frontmatter map[string]any, workspace, runtimeDir, dir string) (harness.CustomShell, error)

Shell returns the customShell of an agent whose frontmatter sets shell: emulated, running from dir, the install directory inside runtimeDir. It returns a zero CustomShell for other agents.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL