UNPKG

@sema-agent/core

Version:

Stateless, task-oriented AI agent core

8 lines (7 loc) • 247 B
import { SHELL_LEX_DIALECT } from "../shell/lex.js"; export function startedShellOfCall(req) { return req.face?.startedShell ?? SHELL_LEX_DIALECT; } export function runsOnBash(req) { return startedShellOfCall(req) === SHELL_LEX_DIALECT; }