Skip to content

feat: add npx oma-forge CLI and simplify workflow authoring#9

Merged
ibrahimkzmv merged 1 commit into
mainfrom
feat/oma-forge-cli
Jun 6, 2026
Merged

feat: add npx oma-forge CLI and simplify workflow authoring#9
ibrahimkzmv merged 1 commit into
mainfrom
feat/oma-forge-cli

Conversation

@ibrahimkzmv

Copy link
Copy Markdown
Member

What

Adds the oma-forge CLI (npx oma-forge <workflow.ts>) to start the Forge API and UI against any workflow file, and simplifies workflow authoring: default-export functions, forgeHooks() / forgeAbortSignal(), and a reporter run-workflow shim instead of bootstrapForgeWorkflow + ForgeRunContext.

packages/cli — spawns server + Vite, sets FORGE_WORKFLOW_PATH / FORGE_PROJECT_ROOT, opens browser
Server — resolveProjectRoot(), workflow runner uses @oma-forge/reporter/run-workflow
Reporter — forgeHooks(), runForgeWorkflow, deprecated bootstrapForgeWorkflow
README — npx oma-forge docs + updated workflow example

Why

Developers should point Forge at their workflow and debug in the UI without cloning the monorepo or hand-wiring bootstrap boilerplate. Workflows should keep using OpenMultiAgent directly with minimal Forge-specific surface area.

Checklist

  • npm run lint passes
  • npm test passes
  • Added/updated tests for changed behavior (workflow-paths.test.ts, CLI parse-args tests)
  • No new runtime dependencies (or justified in the PR description) — CLI depends on existing workspace packages only; no new third-party runtime deps

Signed-off-by: Ibrahim Kazimov <74775400+ibrahimkzmv@users.noreply.github.com>
@ibrahimkzmv ibrahimkzmv merged commit a742323 into main Jun 6, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant