char-slop/berry

multipurpose self-modifiable agentic harness

git clone https://git.t4t.associates/char-slop/berry

Charlotte Somadd !command and !!command8664a3f

main
459 B16 linesraw
1import type { JsonValue } from "./mod.ts";
2
3/** A user-run shell command, shown independently of assistant tool calls. */
4export type ShellExecution = {
5  taskId: number;
6  command: string;
7  excludeFromContext: boolean;
8  status: "running" | "ok" | "error" | "cancelled";
9  result: JsonValue | null;
10  details: JsonValue | null;
11  error: string | null;
12  startedAt: number;
13  durationMs: number | null;
14};
15
16export type ShellState = { run?: ShellExecution };