renderCapturedRunDashboard (oma.ts)

open-multi-agent · ai

Renders a terminal dashboard for a captured OpenMultiAgent run.

#!/usr/bin/env node
// Source: https://github.com/open-multi-agent/open-multi-agent | License: MIT | Copyright Shenzhen YuanASI Technology Co., Ltd. and open-multi-agent contributors
// Provided via justclaw.it.com; keep this notice with the code.
/**
 * Thin shell/CI wrapper over OpenMultiAgent — no interactive session, approvals,
 * or persistence. The filesystem-tool sandbox root is configurable through the
 * orchestrator/agent JSON (`defaultCwd` / `cwd`).
 *
 * Exit codes:
 *   0 — finished; team run succeeded
 *   1 — finished; run, eval targets, or an eval gate reported failure
 *   2 — invalid usage, I/O, or JSON validation
 *   3 — unexpected runtime error (including LLM errors)
 */

import { mkdir, stat, writeFile } from 'node:fs/promises'
import { readFileSync, realpathSync } fr

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search 40K more like it.

Get a free API key